JSCAD User Group

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

    Posts made by 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
    • RE: Using JScad just to display 3D-Object

      @hpb-htw Welcome!

      The web package is a very complex web-application.

      You can find a very simple viewer in the packages/utils/regl-render directory. See the html files for an example.

      Let us know if you need more.

      posted in General Discussions
      z3dev
      z3dev
    • RE: Modifying Variables From Imported Parametric model

      @shay-cerny Welcome

      This isn't exhaustive but lists some of the websites using JSCAD.

      https://openjscad.xyz/dokuwiki/doku.php?id=en:user_guide_help

      posted in Development Discussions
      z3dev
      z3dev
    • Release V3 Alpha : 2025 JAN 05

      Release V3 Alpha : 2025 JAN 05

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

      Bug Fixes

      • cli: rework logic for generating blobs, both singular and multiple as parts ([f88669b](https://github.com/jscad/Op
      • io: fix io after V3 refactoring
      • x3d-deserializer: corrected to accept commas as MF value delimiters
      • x3d-deserializer: correcting caching of x3d attributes in createX3DParser, allowing continuous parsing of X3D file
      • modeling: added geom3.fromPointsConvex()
      • modeling: added new TS definitions for mat4, and adjusted doc strings
      • modeling: added orientation option to polygon
      • modeling: corrected checks of parameters to booleans
      • modeling: corrected geom2 mirroring transform
      • modeling: corrected parameter names to follow standards
      • modeling: create scission.d.ts and update index.d.ts
      • modeling: created TS definitions for splitPolygonByPlane
      • modeling: fix ts definitions and ts hints in comments
      • modeling: small fixes to comments and tests
      • modeling: use modern typescript imports
      • array-utils: corrected typescript definitions, added test:tsd script
      • regl-renderer: define the entity type and corrected TS definitions

      Features

      • 3mf-deserializer: initial version of 3MF deserializer and tests
      • cli: reworked logic to use new io package exports and functions
      • modeling: reworked exports to expose a flattened API
      • modeling: renamed poly3 toVertices and fromVerticesAndPlane
      • modeling: added Martinez library for 2D booleans, refactored 2D booleans
      • modeling: added validate to slice, as well as measurements
      • modeling: corrected vectorChar and vectorText options to align with the common API
      • modeling: enhanced poly2 into a complete geometry
      • modeling: preserve color for offset and extrude
      • modeling: remove unused mat4 functions
      • modeling: removed extrudeRectangular
      • modeling: rename expansions to offsets, and unify expand into offset
      • modeling: renamed poly3 toVertices and fromVerticesAndPlane
      • modeling: rework orthonormal formula
      • modeling: reworked exports to expose a flattened API
      • modeling: reworked vectorChar and vectorText to return segments as path2 objects
      • modeling: support nested array structures in the API
      • regl-renderer: added rollup configuration to create ES6 bundle, adjusted imports and exports

      Successfully published:

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

      lerna-lite success published 21 packages

      posted in Announcements
      z3dev
      z3dev
    • Release : 2024 DEC 29

      Release : 2024 DEC 29

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

      Thanks to @tjurkiewicz and @Sefanor for the corrections to documentation and examples.

      Successfully published:

      • @jscad/cli@2.3.5
      • @jscad/core@2.6.12
      • @jscad/3mf-serializer@2.1.14
      • @jscad/amf-deserializer@2.3.10
      • @jscad/amf-serializer@2.1.20
      • @jscad/dxf-deserializer@2.3.27
      • @jscad/dxf-serializer@2.1.20
      • @jscad/io-utils@2.0.30
      • @jscad/io@2.4.11
      • @jscad/json-deserializer@2.0.31
      • @jscad/json-serializer@2.0.30
      • @jscad/obj-deserializer@2.0.30
      • @jscad/obj-serializer@2.1.20
      • @jscad/stl-deserializer@2.1.27
      • @jscad/stl-serializer@2.1.20
      • @jscad/svg-deserializer@2.5.11
      • @jscad/svg-serializer@2.3.18
      • @jscad/x3d-deserializer@2.2.10
      • @jscad/x3d-serializer@2.4.10
      • @jscad/modeling@2.12.5
      • @jscad/regl-renderer@2.6.12
      • @jscad/vtree@2.0.31
      • @jscad/web@2.6.10

      lerna success published 23 packages

      posted in Announcements
      z3dev
      z3dev
    • Release : 2024 NOV 10

      Release : 2024 NOV 10

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

      Bug Fixes

      • fix(io-utils): added ensureString, updated io deserializers in order to accept buffers
      • fix(core): corrected registerDeserializer to read files as binary (buffers)

      BIG THANKS to @eldanb for the fixes to the IO deserializers

      Successfully published:

      • @jscad/cli@2.3.4
      • @jscad/core@2.6.11
      • @jscad/3mf-serializer@2.1.13
      • @jscad/amf-deserializer@2.3.9
      • @jscad/amf-serializer@2.1.19
      • @jscad/dxf-deserializer@2.3.26
      • @jscad/dxf-serializer@2.1.19
      • @jscad/io-utils@2.0.29
      • @jscad/io@2.4.10
      • @jscad/json-deserializer@2.0.30
      • @jscad/json-serializer@2.0.29
      • @jscad/obj-deserializer@2.0.29
      • @jscad/obj-serializer@2.1.19
      • @jscad/stl-deserializer@2.1.26
      • @jscad/stl-serializer@2.1.19
      • @jscad/svg-deserializer@2.5.10
      • @jscad/svg-serializer@2.3.17
      • @jscad/x3d-deserializer@2.2.9
      • @jscad/x3d-serializer@2.4.9
      • @jscad/modeling@2.12.4
      • @jscad/regl-renderer@2.6.11
      • @jscad/vtree@2.0.30
      • @jscad/web@2.6.9

      lerna success published 23 packages

      posted in Announcements
      z3dev
      z3dev
    • Release : 2024 OCT 06

      Release : 2024 OCT 06

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

      Bug Fixes

      • modeling: added optional plane to poly3 TS definition
      • modeling: corrected hull of single unconvex solid
      • modeling: corrected TS definition of scission
      • modeling: expose hullPoints2 and hullPoints3

      Thanks to @FishOrBear for the corrections to the TS definitions
      Thanks to @her01n for the correction to hull
      Thanks to @tscircuit for the monthly financial contributions

      Successfully published:

      • @jscad/cli@2.3.3
      • @jscad/core@2.6.10
      • @jscad/3mf-serializer@2.1.12
      • @jscad/amf-deserializer@2.3.8
      • @jscad/amf-serializer@2.1.18
      • @jscad/dxf-deserializer@2.3.25
      • @jscad/dxf-serializer@2.1.18
      • @jscad/io-utils@2.0.28
      • @jscad/io@2.4.9
      • @jscad/json-deserializer@2.0.29
      • @jscad/json-serializer@2.0.28
      • @jscad/obj-deserializer@2.0.28
      • @jscad/obj-serializer@2.1.18
      • @jscad/stl-deserializer@2.1.25
      • @jscad/stl-serializer@2.1.18
      • @jscad/svg-deserializer@2.5.9
      • @jscad/svg-serializer@2.3.16
      • @jscad/x3d-deserializer@2.2.8
      • @jscad/x3d-serializer@2.4.8
      • @jscad/modeling@2.12.3
      • @jscad/regl-renderer@2.6.10
      • @jscad/vtree@2.0.29
      • @jscad/web@2.6.8

      lerna success published 23 packages

      posted in Announcements
      z3dev
      z3dev
    • RE: quadcopter frame implemented in jscad

      As well as, can you post the design to the Discord channel? There are always interested people there.

      posted in General Discussions
      z3dev
      z3dev
    • RE: quadcopter frame implemented in jscad

      @her01n This is really cool! Amazing!

      There's a lot of hard work as well as skill in creating those designs! Superb!

      Can you add some context why you decided to use JSCAD? How many hours did you devote? Do you have future plans?

      posted in General Discussions
      z3dev
      z3dev