JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. z3dev
    3. Posts
    • Profile
    • Following 0
    • Followers 4
    • Topics 156
    • Posts 508
    • Best 73
    • Controversial 0
    • Groups 5

    Posts made by z3dev

    • RE: vec3.angle(a,b)

      @sopatt Sorry to the late reply.

      You probably already know this but an ''orientation" is required to determine the rotation, and sign of the angle.

      This is probably the best implementation out there. And if you want then this could be added to the vec3 functions.

      https://stackoverflow.com/questions/5188561/signed-angle-between-two-3d-vectors-with-same-origin-within-the-same-plane

      posted in Development Discussions
      z3dev
      z3dev
    • RE: roadmap for v3

      @Christopher-Fry OH! A V3 user! Awesome!

      The modeling library is getting there, and pretty mulch complete, functional, and tested. We expect a few bugs, and a few more API improvements. But nothing radical.

      Also. we are setting up a new website which will have a landing page, both V2 and V3 web UI applications, and more.

      There's no plan yet for the BIG switch to V3. So, expect a few more V3 beta versions.

      posted in Development Discussions
      z3dev
      z3dev
    • RE: How is the performance of JSCAD on mobile device

      @BOYUAN-SHI Welcome

      I have done some designs using my iPad, which was a little cramped for viewing. Technically, everything worked fine.

      If you are working with a project with multiple files then probably a PC would be better. You can drag and drop the whole folder to the website. And change any file.

      I think most people use a favorite editor to make changes, and drag and drop the file to the website. That works really well.

      posted in General Discussions
      z3dev
      z3dev
    • JSCAD Release V3 Alpha : 2026 APR 11

      There's a new release of JSCAD V3 Alpha, including changes from several V2 pull requests.

      NOTE: For CLI users, please see the new command line options.

      Features

      • modeling: added isConvex to geom3
      • modeling: added minkowskiSum for 3D geometries

      Performance Improvements

      • modeling: changes to optimize removal of polygons in reTesselateCoplanarPolygons
      • modeling: optimized creation of end caps in extrudeFromSlices
      • modeling: optimized mat4 creation in extrudeRotate

      SUPER BIG THANKS to @jbroll for the new Minkowski summation function.

      Successfully published:

      • @jscad/3mf-deserializer@3.0.4-alpha.0
      • @jscad/3mf-serializer@3.0.4-alpha.0
      • @jscad/array-utils@3.0.2-alpha.0
      • @jscad/cli@3.0.4-alpha.0
      • @jscad/core@3.0.4-alpha.0
      • @jscad/dxf-deserializer@3.0.4-alpha.0
      • @jscad/dxf-serializer@3.0.4-alpha.0
      • @jscad/io@3.0.4-alpha.0
      • @jscad/io-utils@3.0.4-alpha.0
      • @jscad/json-deserializer@3.0.4-alpha.0
      • @jscad/json-serializer@3.0.4-alpha.0
      • @jscad/modeling@3.0.4-alpha.0
      • @jscad/obj-deserializer@3.0.4-alpha.0
      • @jscad/obj-serializer@3.0.4-alpha.0
      • @jscad/regl-renderer@3.0.4-alpha.0
      • @jscad/stl-deserializer@3.0.4-alpha.0
      • @jscad/stl-serializer@3.0.4-alpha.0
      • @jscad/svg-deserializer@3.0.4-alpha.0
      • @jscad/svg-serializer@3.0.4-alpha.0
      • @jscad/x3d-deserializer@3.0.4-alpha.0
      • @jscad/x3d-serializer@3.0.4-alpha.0

      lerna-lite success published 21 packages

      posted in Announcements
      z3dev
      z3dev
    • V2 Release : 2026 FEB 21

      Release : 2026 FEB 21

      There's a new release of JSCAD V2, including changes from several pull requests.

      Bug Fixes

      • modeling: corrected number of step calculations in arc and appendArc

      Features

      • modeling: add Minkowski sum operation for 3D geometries

      SUPER BIG THANKS to @jbroll for the new Minkowski summation function.

      Successfully published:

      • @jscad/3mf-serializer@2.1.17
      • @jscad/amf-deserializer@2.3.13
      • @jscad/amf-serializer@2.1.23
      • @jscad/cli@2.3.8
      • @jscad/core@2.6.15
      • @jscad/dxf-deserializer@2.3.30
      • @jscad/dxf-serializer@2.1.23
      • @jscad/io@2.4.14
      • @jscad/io-utils@2.0.33
      • @jscad/json-deserializer@2.0.34
      • @jscad/json-serializer@2.0.33
      • @jscad/modeling@2.13.0
      • @jscad/obj-deserializer@2.0.33
      • @jscad/obj-serializer@2.1.23
      • @jscad/regl-renderer@2.6.15
      • @jscad/stl-deserializer@2.1.30
      • @jscad/stl-serializer@2.1.23
      • @jscad/svg-deserializer@2.5.14
      • @jscad/svg-serializer@2.3.21
      • @jscad/vtree@2.0.34
      • @jscad/web@2.6.13
      • @jscad/x3d-deserializer@2.2.13
      • @jscad/x3d-serializer@2.4.13

      lerna-lite success published 23 packages

      posted in Announcements
      z3dev
      z3dev
    • V2 Release : 2026 FEB 11

      There's a new release of JSCAD V2, including changes from several pull requests.

      Bug Fixes

      • web: corrected data-path links in examples, and changed viewer to load an initial example

      Performance Improvements

      • modeling: improve performance in flatten, splitPolygonByPlane, and extrudeFromSlices
      • obj-serializer: improved performance by using Map for unique vertices

      BIG THANKS to @jbroll for the performance improvements to modeling

      AND BIG THANKS to @ZephyrRaine for the performance improvements to the OBJ serializer.

      Successfully published:

      • @jscad/3mf-serializer@2.1.16
      • @jscad/amf-deserializer@2.3.12
      • @jscad/amf-serializer@2.1.22
      • @jscad/cli@2.3.7
      • @jscad/core@2.6.14
      • @jscad/dxf-deserializer@2.3.29
      • @jscad/dxf-serializer@2.1.22
      • @jscad/io@2.4.13
      • @jscad/io-utils@2.0.32
      • @jscad/json-deserializer@2.0.33
      • @jscad/json-serializer@2.0.32
      • @jscad/modeling@2.12.7
      • @jscad/obj-deserializer@2.0.32
      • @jscad/obj-serializer@2.1.22
      • @jscad/regl-renderer@2.6.14
      • @jscad/stl-deserializer@2.1.29
      • @jscad/stl-serializer@2.1.22
      • @jscad/svg-deserializer@2.5.13
      • @jscad/svg-serializer@2.3.20
      • @jscad/vtree@2.0.33
      • @jscad/web@2.6.12
      • @jscad/x3d-deserializer@2.2.12
      • @jscad/x3d-serializer@2.4.12

      lerna-lite success published 23 packages

      posted in Announcements
      z3dev
      z3dev
    • JSCAD Release V3 Alpha : 2026 JAN 18

      There's a new release of JSCAD V3 Alpha, including changes from several V3 pull requests.

      NOTE: For CLI users, please see the new command line options.

      Bug Fixes

      • cli: corrected the loading of modules on Windows
      • x3d-deserializer: small change in source output due to changes in geom3

      Features

      • cli: reworked command line parameter parsing to use commander
      • modeling: geom3 renamed fromVertices and toVertices
      • modeling: new geometry for 3D paths (path3)
      • modeling: removed compact binary support

      BIG Thanks to @NemoStein for the changes to the CLI in support of Windows installations.

      Successfully published:

      @jscad/3mf-deserializer@3.0.3-alpha.0
      @jscad/3mf-serializer@3.0.3-alpha.0
      @jscad/cli@3.0.3-alpha.0
      @jscad/core@3.0.3-alpha.0
      @jscad/dxf-deserializer@3.0.3-alpha.0
      @jscad/dxf-serializer@3.0.3-alpha.0
      @jscad/io@3.0.3-alpha.0
      @jscad/io-utils@3.0.3-alpha.0
      @jscad/json-deserializer@3.0.3-alpha.0
      @jscad/json-serializer@3.0.3-alpha.0
      @jscad/modeling@3.0.3-alpha.0
      @jscad/obj-deserializer@3.0.3-alpha.0
      @jscad/obj-serializer@3.0.3-alpha.0
      @jscad/regl-renderer@3.0.3-alpha.0
      @jscad/stl-deserializer@3.0.3-alpha.0
      @jscad/stl-serializer@3.0.3-alpha.0
      @jscad/svg-deserializer@3.0.3-alpha.0
      @jscad/svg-serializer@3.0.3-alpha.0
      @jscad/x3d-deserializer@3.0.3-alpha.0
      @jscad/x3d-serializer@3.0.3-alpha.0

      lerna-lite success published 20 packages

      posted in Announcements
      z3dev
      z3dev
    • RE: applyTransforms

      @sopatt @sopatt That's cool stuff. In the early versions there was a 'connector' concept but that was left behind. We really want to bring that back in V3, so I'm wondering if your efforts could contribute to a better version.

      posted in Design Discussions
      z3dev
      z3dev
    • RE: OpenSource Autocad web based funcionalities

      @patilanz Welcome,

      Sorry, I didn't see this before.

      DXF web editor. DXF is just a file format created by Autocad long long ago. There are many online websites that can read as well as create DXF files, including JSCAD.

      Does that help?

      posted in Development Discussions
      z3dev
      z3dev
    • RE: Excessively elaborate eggs etc

      The booleans are working fine but the orientation of the polygons are super important. You can check the orientation your self, but one of the easiest checks if volume().

      Hope that helps

      posted in Design Discussions
      z3dev
      z3dev
    • RE: applyTransforms

      @sopatt Welcome

      You don't have to worry about applying the transforms. That's done automatically before other operations like booleans, etc

      You just have to position the shapes properly.

      If you provide an example then we can help out. Also see some of the more complex examples.

      posted in Design Discussions
      z3dev
      z3dev
    • RE: How to render/preload an existing js file

      @Mayank-Dogra Welcome!

      There's a really simple demo in the regl-render folder. Take a look at that for an example.

      posted in General Discussions
      z3dev
      z3dev
    • Release : 2025 SEP 20

      Release : 2025 SEP 20

      There's a new release of JSCAD V2, including changes from several pull requests.

      Bug Fixes

      • svg-deserializer: svg path should return one geom2
      • modeling: corrected handling of pitch vs height in extrudeHelical

      Thanks to @platypii for the really nice fix to the SVG deserializer.
      Thanks to @hpb-htw for the documentation corrections.

      Successfully published:

      • @jscad/cli@2.3.6
      • @jscad/core@2.6.13
      • @jscad/3mf-serializer@2.1.15
      • @jscad/amf-deserializer@2.3.11
      • @jscad/amf-serializer@2.1.21
      • @jscad/dxf-deserializer@2.3.28
      • @jscad/dxf-serializer@2.1.21
      • @jscad/io-utils@2.0.31
      • @jscad/io@2.4.12
      • @jscad/json-deserializer@2.0.32
      • @jscad/json-serializer@2.0.31
      • @jscad/obj-deserializer@2.0.31
      • @jscad/obj-serializer@2.1.21
      • @jscad/stl-deserializer@2.1.28
      • @jscad/stl-serializer@2.1.21
      • @jscad/svg-deserializer@2.5.12
      • @jscad/svg-serializer@2.3.19
      • @jscad/x3d-deserializer@2.2.11
      • @jscad/x3d-serializer@2.4.11
      • @jscad/modeling@2.12.6
      • @jscad/regl-renderer@2.6.13
      • @jscad/vtree@2.0.32
      • @jscad/web@2.6.11

      lerna success published 23 packages

      posted in Announcements
      z3dev
      z3dev
    • RE: vec3.angle(a,b)

      @sopatt Thanks for the feedback.

      FYI, Most computations are based upon the glMatrix library (glmatrix.net)

      I will double check but this is probably the same functionality as glmatrix.

      posted in Development Discussions
      z3dev
      z3dev
    • 3D Fractals

      Here's my first fractal.

      https://openjscad.xyz/?uri=https://raw.githubusercontent.com/z3dev/designs/refs/heads/fractals/fractal1.js

      73467C79-ABC9-4B75-B628-2217CCE55D44.png

      posted in Design Discussions
      z3dev
      z3dev
    • JSCAD TEXT and Object API Add-on

      There are a couple of JSCAD add-on packages available from NPM now.

      https://www.npmjs.com/package/jscad-text

      https://www.npmjs.com/package/jscad-object-api

      posted in Design Discussions
      z3dev
      z3dev
    • RE: Old version of rollup

      @hpb-htw Super! You understand well.

      Each package will have a slightly different version, as Lerna determines major/minor/fix versions by changes. The main package is never released so, the version stays the same, but should be 3.0.0.

      Please take another look at utils/regl-renderer package. The demo html files are slightly different in V3.

      posted in General Discussions
      z3dev
      z3dev
    • RE: Old version of rollup

      @hpb-htw V2 uses Lerna to manage each package, including building and publishing the distributions to NPM. See the link in the main README.

      As part of the build process. Lerna calls the build step of each package. This step uses browserify.

      If you switch to the V3 branch then you will find that The build step is using rollup.

      So, be careful. Don't mix the versions.

      By the way, the CONTRIBUTING document explains how to setup, make changes, test changes, and submit changes back to GIT. Please follow the document.

      posted in General Discussions
      z3dev
      z3dev
    • RE: Using JScad just to display 3D-Object

      @hpb-htw Nice! You might be the first person using V3.

      So, V3 is currently in Alpha release. Or course, V3 is in the same GIT repository but on the V3 branch. So, you can get all the packages by checking out the branch.

      git checkout V3

      Again, take a look at the demos in regl-rendering

      posted in General Discussions
      z3dev
      z3dev
    • RE: Using JScad just to display 3D-Object

      @hpb-htw you can use V2 (commonjs/require) or you can use V3 (es6/import). Both are passing all tests.

      Do you want to try V3? It's still Alpha but works well.

      @hrgdavor What do you think?

      posted in General Discussions
      z3dev
      z3dev