Group Details Private

administrators

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