V2 Update 2021 Jan 02

  • Please get the latest version of JSCAD V2, as there have been some changes as well as bug fixes.

    New Features:
    web: initial implementation of the built-in editor

    Bug Fixes:
    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

    Successfully published:

    • @jscad/cli@2.0.0-alpha.12
    • @jscad/core@2.0.0-alpha.12
    • @jscad/amf-deserializer@2.0.0-alpha.9
    • @jscad/amf-serializer@2.0.0-alpha.10
    • @jscad/dxf-deserializer@2.0.0-alpha.9
    • @jscad/dxf-serializer@2.0.0-alpha.9
    • @jscad/io-utils@2.0.0-alpha.9
    • @jscad/io@2.0.0-alpha.11
    • @jscad/json-deserializer@2.0.0-alpha.9
    • @jscad/json-serializer@2.0.0-alpha.9
    • @jscad/obj-deserializer@2.0.0-alpha.9
    • @jscad/stl-deserializer@2.0.0-alpha.10
    • @jscad/stl-serializer@2.0.0-alpha.9
    • @jscad/svg-deserializer@2.0.0-alpha.9
    • @jscad/svg-serializer@2.0.0-alpha.10
    • @jscad/x3d-serializer@2.0.0-alpha.10
    • @jscad/modeling@2.0.0-alpha.9
    • @jscad/regl-renderer@2.0.0-alpha.11
    • @jscad/vtree@2.0.0-alpha.10
    • @jscad/web@2.0.0-alpha.14

    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!!!

  • 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 :
    Capture d’écran de 2021-01-03 10-55-01.png
    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.

  • @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.

  • 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)
    Capture d’écran de 2021-01-02 18-17-30.png

  • 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.

    Capture d’écran de 2021-01-02 17-48-19.png

Log in to reply