Group Details Private

administrators

  • RE: Click to item for Callback/Event functionality

    @hrgdavor the focus of JSCAD is still 3D printing, but there have already been lots of innovative projects built. So, the only feedback that I can provide is... there has to be at least one UI that allows simple designs to be created via JS scripts (This includes the CLI as well.)

    If someone wants to build a fully interactive CAD application, then they have to build and maintain. I'm sure that this kind of application can be created.

    posted in Design Discussions
  • RE: Click to item for Callback/Event functionality

    @DavidLyon66 The design is assembled via a call to main(), which can accept a single dictionary of parameters (This is what happens for the parameters). The interactive parameters are converted to a dictionary.

    posted in Design Discussions
  • Release : 2024 JUN 02

    Release : 2024 JUN 02

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

    Bug Fixes

    • x3d-deserializer: correcting caching of x3d attributes in createX3DParser, allowing continuous parsing of X3D file
    • modeling: added geom3.fromPointsConvex()
    • modeling: added TS definitions for mat4.isIdentity()
    • modeling: create scission.d.ts and update index.d.ts
    • modeling: created TS definitions for splitPolygonByPlane
    • typo: fix typo in rounded error messages

    THANKS to @nmattia for the doc fixes
    THANKS to @FishOrBear, @zzh97, @hrgdavor for the Typescript fixes
    THANKS to @christopher-krause for the X3D deserializer fixes
    THANKS to @Hermann-SQ and @platypii for the fromPointsConvex() function

    Successfully published:

    • @jscad/cli@2.3.2
    • @jscad/core@2.6.9
    • @jscad/3mf-serializer@2.1.11
    • @jscad/amf-deserializer@2.3.7
    • @jscad/amf-serializer@2.1.17
    • @jscad/dxf-deserializer@2.3.24
    • @jscad/dxf-serializer@2.1.17
    • @jscad/io-utils@2.0.27
    • @jscad/io@2.4.8
    • @jscad/json-deserializer@2.0.28
    • @jscad/json-serializer@2.0.27
    • @jscad/obj-deserializer@2.0.27
    • @jscad/obj-serializer@2.1.17
    • @jscad/stl-deserializer@2.1.24
    • @jscad/stl-serializer@2.1.17
    • @jscad/svg-deserializer@2.5.8
    • @jscad/svg-serializer@2.3.15
    • @jscad/x3d-deserializer@2.2.7
    • @jscad/x3d-serializer@2.4.7
    • @jscad/modeling@2.12.2
    • @jscad/regl-renderer@2.6.9
    • @jscad/vtree@2.0.28
    • @jscad/web@2.6.7

    lerna success published 23 packages

    posted in Announcements
  • RE: Create JSCAD Designs

    This is a way too cool project to create JSCAD designs in VSCODE. But there's also a nice like webserver for those that want to use another external editor.

    posted in Design Discussions
  • Create JSCAD Designs

    An NPX starter template designed to kickstart your JsCad projects using TypeScript and Hot Reload preview. This tool simplifies the process of setting up a JsCad project, allowing you to focus on creating fully parametric CAD drawings with ease.

    https://www.npmjs.com/package/create-jscad-project

    posted in Design Discussions
  • RE: jscad examples on github

    @Peter-Birch Welcome!

    The User Guide explains how to start, and explains most of the functions as well. You might want to look this over.

    https://openjscad.xyz/dokuwiki/doku.php

    posted in General Discussions
  • RE: How do I code directly in VSCode and preview the result on my web page?

    @ucimo Welcome!

    There are several users using JSCAD with TypeScript. Hopefully, someone will provide a few tips.

    There's also an extension for VSCode to review designs. I haven't seen any updates but @crysislinux has been actively in this user group before.

    posted in General Discussions
  • Release : 2024 FEB 18

    Release : 2024 FEB 18

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

    Bug Fixes

    • svg-serializer: fix conversion of alpha colors to SVG RGBA opacity
    • x3d-deserializer: corrected to accept commas as MF value delimiters
    • modeling: added fromNoisyPoints() to plane
    • modeling: added orientation option to polygon
    • modeling: corrected geom2 mirroring transform
    • regl-renderer: define the entity type and corrected TS definitions

    THANKS to @btakita for the fix to the SVG serialier
    THANKS to @andreasplesch for the fixes to the X3D deserialier
    THANKS to @platypil for the geom2 fixes
    THANKS to @bruceborrett for the new TS definitions

    Successfully published:

    • @jscad/cli@2.3.1
    • @jscad/core@2.6.8
    • @jscad/3mf-serializer@2.1.10
    • @jscad/amf-deserializer@2.3.6
    • @jscad/amf-serializer@2.1.16
    • @jscad/dxf-deserializer@2.3.23
    • @jscad/dxf-serializer@2.1.16
    • @jscad/io-utils@2.0.26
    • @jscad/io@2.4.7
    • @jscad/json-deserializer@2.0.27
    • @jscad/json-serializer@2.0.26
    • @jscad/obj-deserializer@2.0.26
    • @jscad/obj-serializer@2.1.16
    • @jscad/stl-deserializer@2.1.23
    • @jscad/stl-serializer@2.1.16
    • @jscad/svg-deserializer@2.5.7
    • @jscad/svg-serializer@2.3.14
    • @jscad/x3d-deserializer@2.2.6
    • @jscad/x3d-serializer@2.4.6
    • @jscad/modeling@2.12.1
    • @jscad/regl-renderer@2.6.8
    • @jscad/vtree@2.0.27
    • @jscad/web@2.6.6

    lerna success published 23 packages

    posted in Announcements
  • RE: Load DXF

    @LucaNitti Welcome!

    There are a couple of ways to use DXF files. You can convert the DXF to another format, like SVG. Or you can import the DXF, and use the shapes to create different designs.

    You can convert using the JSCAD CLI command.

    If you want to use the shapes from the DXF file in designs then a project is required.

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

    posted in Development Discussions
  • RE: can not import c:/jscad/whatever.stl on windows

    @DBJDBJ Welcome!

    From the message, it seems that you are using a 'project' which contains the STL file. Is that correct?

    posted in General Discussions