kovacsv / Online3DViewer

A solution to visualize and explore 3D models in your browser.
https://3dviewer.net
MIT License
2.32k stars 515 forks source link

Sharing link with customized settings #363

Open ghost opened 1 year ago

ghost commented 1 year ago

Describe the solution you'd like

Add option to generate sharing link with preserving current settings (without embed):

Actually sharing URL include only link to file:

URL inside emded URL (https://3dviewer.net/embed.html*) already support such settings:

<iframe width="640" height="480" style="border:1px solid #eeeeee;" src="https://3dviewer.net/embed.html#model=https://raw.githubusercontent.com/FreeCAD/FreeCAD-library/master/Industrial%20Design/Chairs/IkeaLikeChair.fcstd$edgesettings=on,0,0,0,47"></iframe>

But if add custom settings options (i.e. $edgesettings=on,0,0,0,47) to sharing URL, its ignored:

inddigital-xtech commented 9 months ago

I have the same problem, could you solve it? It would be very useful to be able to use it in iframe but without embed