Sketchfab Forum

Additional function for professional

feature-request

(Guigus60) #1

Hi Sketchfab,
I did'n find where to send some improvement suggestion so I will put it here.
I use for hobby sketchfab but as Surveyor very often I create some 3D model for clients, designer, architect... and with some extra function i 'm sure I would be able to use sketchfab as professional deliverable.
We are creating some 3D pdf for them and the big advantage is the fact they have the possibility to turn on/off the layer in the 3D pdf and extract dimensions from it. But some of our client can't open it due to software.
For example if i model the external/ internal of a building and publish it in sketchfab I would want to be able to turn off the room. Also to be able to extract some dimension of windows.
Happy to send an example to sketchfab developer team.


#2

Hi,

Turning 'layers' on and off is possible with the Viewer API. Here are a few examples:

https://help.sketchfab.com/hc/en-us/articles/201343059#configurator

We don't have any measurement tools yet, but it's a common request and something we want to add in the future. I'll add your '+1' to this feature request.

James


(Guigus60) #3

I had a look and unfortunately i'm not a developer so it might take me a bit of time to learn. I have a bit of knowledge on html & very old memory of Java...
I'm able to copy and past in a text file the code but for example I don't know how to create the nice button on a side to switch color / layer...
Please would you have some complete and very simple example where I could copy the code? (a model and a button on a side)


#4

This is a great thread to go through:

https://forum.sketchfab.com/t/viewer-api-and-javascript-development/7748

And here are some intro tutorials and more examples:

Viewer API Part 1: Introduction - Sketchfab Blog
https://blog.sketchfab.com/viewer-api-part-1-introduction/

Learn to code with the Sketchfab Viewer API. Part 2: Controlling the Camera - Sketchfab Blog
https://blog.sketchfab.com/learn-to-code-with-the-sketchfab-viewer-api-part-2-controlling-the-camera/

How Terma built their interactive website with Sketchfab - Sketchfab Blog
https://blog.sketchfab.com/how-terma-built-their-interactive-website-with-sketchfab/

Viewer API: Dodge Charger Customization Station - Sketchfab Blog
https://blog.sketchfab.com/viewer-api-wild-dodge-charger-customization-station/


(Mauricesvay) #5

Hi @guigus60 ,

we just published an experimental tool that lets you measure dimensions on your 3D models: https://labs.sketchfab.com/experiments/measurements/ .

Let me know how it works for you.