Yes, this becomes quite limiting if one has to have users download, unzip, and drag & drop. Kind of defeats the purpose of projects. Also you'd have to deal with updates.
Very cumbersome for non-tech users.
It would be nice if you could include directories or even zip files in the URL.
@platypii Thank you for this investigation. I remember that I tried to get JSCAD to union those groups but then it loses colors. I use Wings 3d to colorize my models, and it does not split them into separate objects (on my screenshot I have only one geometry), only materials are separated into groups.
Capture d’écran du 2022-06-14 10-11-33.png
Capture d’écran du 2022-06-14 10-29-42.png
I splitted the model into 3 geometries and then exported it to .obj and the difference is that it contains 3 lines starting with "o " that defines start of an object. Maybe for the moment JSCAD translate lines starting with "g " like "o ".
As a very first starting point I've implemented a new function "text" in package @jscad/modeling.text which directly creates Path2 arrays.
It is currently part of my own fork of OpenJSCAD only, as I expect multiple changes before it might get accepted and become ready for an official PR. Additionally, my tests are still almost empty (as I have to learn AVA first) and only test for an execution w/o throwing any exceptions...
I have just made another step forward: mesh support (but with some quirks ATM)
I have some lighting to fix, and also babylonjs for some weird rason uses left handed system (this adds a bit of complexity to the worker to support it properly)
Also when switching viewers, if they are different orioentation currently I need to run the script again manually to get properly oriented triangles