@hrgdavor Thank you for your code, it would be great to be able to load code and data like that then fire it. I hope it will be possible, with v1 I used gProcessor.setJJsCad() on an html/js app but here it is directly a jscad script.
@Alasdair-McAndrew I don't have any quick suggestions but will add some ideas whenever I come across something.
There is one trend for JSCAD... collaboration. There are lots of frameworks, websites, applications that can house small applets (I don't have a better term) , and making JSCAD work with some of those would be very cool. I've marked the related issues with a label called collaboration as well.
@z3dev yeah, I went 'custom' way before I found JSCAD, I began by exposing VerbNurbs library first and implemented BabylonJS rendering 🙂 but JSCAD adds so much to the project that I'm super enthusiastic about it. Vue part sounds very interesting. While I'm not very familiar with Vue, I suppose by reactive you mean Rxjs kind of reactive? Will have to analyse your project in more detail, thanks!
@z3dev I could easily adapt to any solution allowing to feed a list parameter with files, it will be far a better UI practice than my current one that requires the user to type the file name. Or maybe the ability for a text parameter to receive a file from a drag-drop operation.
@z3dev An option to show/hide slider value would be great. Long ago I made some tweaks to parameters that looked like that, but now jscad architecture is too complex for me to make such changes. On the bottom of the screenshot you can see file browser to import/export parameters that I also added and was of great help to make complex models.
Capture d’écran de 2020-10-05 10-16-38.png
I'm trying now csg on a .obj file imported (require) into V2. It works fine with an intersect, but when I try to make lots of intersect, the return statement has errors.
Capture d’écran de 2020-09-16 10-22-07.png
On my example, height is 104 units, I can return a slice every 3 units, but when I try to return a slice every 2 units (and my real process needs smaller slices) it bugs :
elapse for solid generation: 39 design.js
total time for design regeneration 7015 17 design.js
Uncaught (in promise) TypeError: a is undefined (2 times)