Group Details Private

Archive Posters

Those who can post to Achives.

Member List

  • RE: Auto-reload and external editor workflows

    @rich-27 Welcome!

    It seems that you hit the bug as mentioned here.

    There’s an issue with Lerna on Windows. Luckily, there’s a work around mentioned at the end of the issue.

    posted in General Discussions
  • RE: Porting V1 code to V2 or rewrite it ?

    @gilboonet thanks.

    This design seems to be composed of both functional API (Old OpenSCAD API) and object API (CSG / CAG objects).

    This is one of the reasons that V2 has changed. It just became too UGLY for users. And unmaintainable.

    I have a couple of suggestions...

    First, you can run through the code and change the signatures of function calls to match V2. This may take some time, as you need to align shapes appropriately.

    Second, you can implement helper functions for this design. For example, ‘cube’. Your ‘cube’ function can provide the same functionality as the old OpenSCAD API, and place the cube to align the corner at 0,0,0.

    Hope that helps.

    posted in Comments & Feedback
  • RE: I built a OpenJSCAD Gallery

    We have been posting to this thread.

    You can find some really interesting projects by following the Used By links on the right side of the Github project.

    posted in Comments & Feedback
  • RE: I built a OpenJSCAD Gallery

    @receter Very Cool! I hope there will be several versions of galleries / part libraries, so please search around.

    FYI, there’s another REACT based component for V1 JSCAD at

    I believe @aeksco will be porting to V2 in the near future. Maybe you can collaborate with him.

    posted in Comments & Feedback
  • V2 Release or Not Release?

    V2 JSCAD is solidifying nicely now, and all objectives of V2 have been reached, and more. Thanks to everyone for the feedback on the last year or more.

    It's now time to think about the release of V2 JSCAD. There are some ramifications of making a major release, and everyone must be prepared.

    If a NPM based project is using V1 JSCAD then please make sure to use a specific version number for the packages. The latest versions can be found at NPM @jscad.

    Warning: NPM projects using the 'latest' version in configurations will break!!!

    Another subject is the two websites; and

    Support for V1 JSCAD at has already been stopped. However, there are still lots of folks using V1 JSCAD so this website will continue to exist.

    But for how long?

    Also, there's some feature creep happening now, so releasing V2 JSCAD will help everyone to make the jump forward. Then incremental releases can start, which should be very rapid going forward.

    posted in Development Discussions
  • RE: Shape generator

    @Dinther Excellent! I didn’t know about constraints as well. Interesting...

    But the example is horrid to read, and even worse to understand. 😲

    Maybe that’s why SVG has adopted a more simple approach to defining paths. Simple is best and even better if it actually makes sense to ordinary people.

    Having said that... the underlying implementation could use a constraints based object, and there could be a simple API above that. For example, users don’t use mat4 (matrix) but the transforms create matrices for all operations on geometry.

    posted in Development Discussions
  • V2 Update 2021 Feb 07

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

    modeling: adding new class of operations to modeling; modifiers
    modeling: enhanced options to extrudeFromSlices

    Bug Fixes:
    core: changed serializeSolids to apply transforms before serializing, correcting issues with mirroring
    web: corrected remote fetching of binary formats ([#764])
    web: corrected theme names ([#764])

    Successfully published:

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

    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!

    posted in Development Discussions
  • RE: Shape generator

    Really nice start. Thanks, @Dinther

    One of the best libraries in this space is Makerjs by @danmarshall

    You could take some hints from here.

    posted in Development Discussions
  • RE: V2 Update 2021 Jan 02

    @Dinther said in V2 Update 2021 Jan 02:

    @z3dev Thanks for that. I have a few thoughts penned down myself and I see gilboonet posted his ideas too.

    Would it be prudent if I start a new topic called "Sketcher" on the forum?

    Please. Looking forward to the discussion and ideas.

    posted in Development Discussions
  • RE: Beginner Questions

    @wildjerry said in Beginner Questions:

    In errors, what is the blob url? Going to them just yields a 404.

    Probably a different topic would be better but... I think you mean these error messages.

    TypeError: cag._toCSGWall is not a function
    Line: 10713,col: 0

    Deep down in the JavaScript engine of the browser, an error occured. However, the browser doesn't have a 'real' URL as the source code has been tweaked and anonymous. So, it reports the error as originating in the anonymous (blob) object.

    posted in General Discussions