@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.
-
RE: applyTransforms
-
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?
-
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
-
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.
-
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.
-
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
-
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.
-
JSCAD TEXT and Object API Add-on
There are a couple of JSCAD add-on packages available from NPM now.
-
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.