V2 Update 2021 Jan 02
z3dev last edited by
Please get the latest version of JSCAD V2, as there have been some changes as well as bug fixes.
web: initial implementation of the built-in editor
modeling: corrected calculation of plane for complex slices
modeling: re-implemented poly2.isPointInside to correct issues in expand/offset
web: fix instant update
web: corrected shortcuts for reloading scripts
core: corrected logic of applyParameterDefinitions to retain parameter values when no definition is found
BIG NOTE: The V2 website is also using this release.
There's on-line documentation as well for those needing additional information about the modeling API.
For those using a local copy of JSCAD V2, be sure to run the following commands.
git pull npm run clean (and answer Y) npm run bootstrap
Both CLI and WEB UI are usable for creating designs. In the WEB UI, it's best to drag-n-drop project folders to the window, and work with the pieces via a favorite editor. If "Enable auto reload" is checked then changes will be detected, and rendered again.
For those wanting to get hold of JSCAD V2, it's still in 'early adoption' mode. But you can get started here.
And a BIG THANKS for everyone that has provided feedback. Keep those comments coming!
Have a great and safe 2021!!!
WolfgangFahl last edited by
I have never seen or used v2 yet. It it avaiable online somewhere? It would be great if https://www.openjscad.org/ would have a v2 link and especially a simple switch to see the same code in v1/v2.
@z3dev Here is what I have with my 4K screen :
It might be useful to be able to reduce editor width, here it could easily be three times narrower, but at the same time it would be nice to be able to have a bigger font size (using navigator zoom would do that but also for parameters and render). Code folding would be a great addition, and the pinnacle that I'm looking for for a long time would be multi-column, but there's very little chance for that. There's no need for search/replace as navigator already provide them.
z3dev last edited by
@gilboonet Thanks for the nice comments on the release.
Any feedback on the editor is welcome. The editor is based on CodeMirror which has a huge number of options, themes, etc.
gilboonet last edited by gilboonet
I made a very simple 7 segments display script that uses union and if it still has holes when exported to wings 3d, it is the first time that those holes are easy to repair using only wings3d option for that (body mode, select the model, face mode, right click, select hole option, right click)
Thanks a lot, that's very nice to have this built-in editor. I was already accustomed to use my external editor, but to explain to non IT specialist users how to use jscad, it is nice to have it as simple as possible.