15 May 2021, 08:03

Hi ,

I have taken your script and added some performance improvements to enable cool user interaction with the slicer

http://3d.hrg.hr/jscad/three/threejscad.html?uri=examples/sqed/index.js

by default "model preview" is ON and you can see the slices in 3D superimposed over the selected obj model.

speed improvements mean you can move sliders and have live preview.

630abd82-3a5c-4d06-a373-3c784b6f4d92-image.png

if you uncheck the "model preview" you will get the 2d view of the parts with all the cuts for interconnecting like in the original version.

44f72e7a-dc53-4dbb-808e-b704abbdb869-image.png

I will look into making a a new type of param that is file upload/url so that way users can use your script with their model just by accessing the website and no needing to know how to tweak the script.

this version ov jscad viewer has only stl export (I was lazy and it is only one I use) ... how did you generate PDF ?