JSCAD User Group

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

    Posts made by z3dev

    • RE: fetch() in a design

      Correct. There are several reasons but in general any kind of fetching has security issues. Be careful what you wish for.

      If you believe that designs are secure then a fetch/evaluate could be performed. But there should be an option to 'believe'.

      For those wondering what should be allowed. Create a project (with multiple source files or external formats), and drag-n-drop to the website. In this case, you control the content 100%.

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

      posted in Design Discussions
      z3dev
      z3dev
    • RE: Is the cli package also included in the web version?

      @Jason-Sprouse hmm...

      The website doesn't have a backend service/process. Everything is handled by the browser, including loading designs.

      The only trick is for designs provided an a URL parameter. In this case, the URL is posted to a little script that reads the contents, stores the file locally, and returns the URL to the local file.

      Of course, some other backend service could be added.

      posted in Development Discussions
      z3dev
      z3dev
    • RE: Interoperability with URDF / Gazebo and modelling of Robots

      @Jason-Sprouse Not a problem. As you mentioned, the engine has to be taught first. How can we make that happen?

      FYI, if the results are saved and made available on the web, then the design can be posted to the JSCAD website. I do this for my designs at Thingiverse.

      https://www.openjscad.xyz/?uri=https://www.thingiverse.com/download:9621826

      posted in General Discussions
      z3dev
      z3dev
    • RE: AI in JSCAD for Generative AI

      @Jason-Sprouse Love the idea! There are lots of reasons to use AI, and most are for research or learning purposes.

      You might want to start with some examples. Such as "show me how to use JSCAD circles?" Or even more complex examples.

      posted in General Discussions
      z3dev
      z3dev
    • RE: Is the cli package also included in the web version?

      @Jason-Sprouse what you installed was the WHOLE project, which requires NODEJS, NPM, etc. you will find the code for the CLI and the WEBUI. Once setup, you can change the code, run tests, add new functionality, etc. The packages are linked together.

      The CLI can be installed directly from NPM. See the README for the CLI.

      https://github.com/jscad/OpenJSCAD.org/tree/master/packages/cli

      posted in Development Discussions
      z3dev
      z3dev
    • How about a new design?

      We (developers) have been pounded by new requests, improvements, and bugs. So, there must be something happening out there.

      Does anyone have a new design to share?

      posted in Design Discussions
      z3dev
      z3dev
    • Release : 2023 JUN 27

      Release : 2023 JUN 27

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

      Bug Fixes

      • modeling: add missing extrudeHelical typing definition
      • x3d-serializer: added specular highlights and conversion of shape names

      Features

      • cli: added options to output designs as individual parts, and create zip archive of parts
      • modeling: allow zero size in primitives

      Performance

      • modeling: performance improvements for retessellate as part of booleans

      BIG THANKS to @achirita for the performance improvement to the booleans
      BIG THANKS to @tsdexter for the cool improvements to the CLI (command line interface)
      THANKS to @andreasplesch for the nice improvements to the X3D serializer.
      THANKS to @Loosetooth for the TS corrections
      And of course, thanks to @platypii for the nice changes to the primitives

      Successfully published:

      • @jscad/cli@2.3.0
      • @jscad/core@2.6.7
      • @jscad/3mf-serializer@2.1.9
      • @jscad/amf-deserializer@2.3.5
      • @jscad/amf-serializer@2.1.15
      • @jscad/dxf-deserializer@2.3.22
      • @jscad/dxf-serializer@2.1.15
      • @jscad/io-utils@2.0.25
      • @jscad/io@2.4.6
      • @jscad/json-deserializer@2.0.26
      • @jscad/json-serializer@2.0.25
      • @jscad/obj-deserializer@2.0.25
      • @jscad/obj-serializer@2.1.15
      • @jscad/stl-deserializer@2.1.22
      • @jscad/stl-serializer@2.1.15
      • @jscad/svg-deserializer@2.5.6
      • @jscad/svg-serializer@2.3.13
      • @jscad/x3d-deserializer@2.2.5
      • @jscad/x3d-serializer@2.4.5
      • @jscad/modeling@2.12.0
      • @jscad/regl-renderer@2.6.7
      • @jscad/vtree@2.0.26
      • @jscad/web@2.6.5

      lerna success published 23 packages

      posted in Announcements
      z3dev
      z3dev
    • RE: vectorChar vs. vectorText

      @rozek hope that you are still using JSCAD.

      there are some changes to vectorChar and vectorText, which will become part of V3 JSCAD. if you have time then please take a look.

      https://github.com/jscad/OpenJSCAD.org/pull/1252

      posted in General Discussions
      z3dev
      z3dev
    • RE: Interoperability with URDF / Gazebo and modelling of Robots

      @RelatingData Cool stuff! I'm sure there are a few robot fans in the user group.

      And hopefully, JSCAD can help to put together some cool tools. Please let us know of anything needs to change, or if some extra functionality would be helpful

      posted in General Discussions
      z3dev
      z3dev
    • Release : 2023 APR 30

      Release : 2023 APR 30

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

      Bug Fixes

      • cli: corrected CLI help messages
      • svg-deserializer: fix conversions of quadratic bezier paths
      • x3d-serializer: corrected color and transparency conversions
      • x3d-serializer: corrected colors, orientation of scene to Y up, and added new option for smoothing
      • modeling: added length and arcLengthToT functions to bezier curves
      • modeling: export retessellate from modifiers
      • modeling: fix line2.closestPoint

      BIG THANKS to @andreasplesch for the nice improvements to the X3D serializer.
      BIG THANKS to @achirita for the nice improvements to bezier curves.
      And of course, thanks to @platypii for the fixes to CLI, modeling and SVG deserializer.

      Successfully published:

      • @jscad/cli@2.2.26
      • @jscad/core@2.6.6
      • @jscad/3mf-serializer@2.1.8
      • @jscad/amf-deserializer@2.3.4
      • @jscad/amf-serializer@2.1.14
      • @jscad/dxf-deserializer@2.3.21
      • @jscad/dxf-serializer@2.1.14
      • @jscad/io-utils@2.0.24
      • @jscad/io@2.4.5
      • @jscad/json-deserializer@2.0.25
      • @jscad/json-serializer@2.0.24
      • @jscad/obj-deserializer@2.0.24
      • @jscad/obj-serializer@2.1.14
      • @jscad/stl-deserializer@2.1.21
      • @jscad/stl-serializer@2.1.14
      • @jscad/svg-deserializer@2.5.5
      • @jscad/svg-serializer@2.3.12
      • @jscad/x3d-deserializer@2.2.4
      • @jscad/x3d-serializer@2.4.4
      • @jscad/modeling@2.11.1
      • @jscad/regl-renderer@2.6.6
      • @jscad/vtree@2.0.25
      • @jscad/web@2.6.4

      lerna success published 23 packages

      posted in Announcements
      z3dev
      z3dev
    • RE: updating jscad for website integration

      @Richard-Rouse Welcome to the user group.

      Looks like you have integrated parts of the V1 website into your custom website. It must have been a fun project.

      V1 is still available, but this version is not being maintained any more. If you really need it then check out the V1 branch.

      V2 is the currently available, and maintained version. This is totally different and you will have to start again. Sorry.

      There's a super small viewer available in the regl-renderer directory. Please see the README for additional information.

      Let us know if you have questions. There are several people who have created custom websites.

      posted in General Discussions
      z3dev
      z3dev
    • RE: Default JSCAD script (index.js) for self-hosted website

      @tjw25425 here's one of the most advanced websites. And very cool too.

      https://rcplanediy.com/

      posted in General Discussions
      z3dev
      z3dev
    • RE: Getting values from a geometry

      @gilboonet geom2.toSides() should be called to obtain the sides. however, the sides are not ordered like a path. if you need ordering then a better option is calling toOutlines() which will provide each outline as a set of ordered points.

      posted in Design Discussions
      z3dev
      z3dev
    • RE: Default JSCAD script (index.js) for self-hosted website

      @tjw25425 Welcome

      There are numerous websites using JSCAD, using the modeling library to create models, and then rendering. At this point, I haven't seen a website that interacts with the model via touch/mouse. Most websites use a custom built script to control the rendering and modeling.

      posted in General Discussions
      z3dev
      z3dev
    • RE: How to use vec2/3 classes

      @gilboonet the example looks fine. You can create, rotate, transform all the math objects..

      Now comes the fun part... curves, distances, etc. There are little tidbits of logic throughout the library. You can find some of the basic calculations in the primitives, I.e. arc, circle, sphere, etc.

      And of course, let us know if you have questions.

      posted in Design Discussions
      z3dev
      z3dev
    • RE: Designing with text

      For those looking for support for fonts, there's a little library that can be used in projects.

      https://github.com/jscad-community/jscad-text

      posted in Design Discussions
      z3dev
      z3dev
    • RE: A project for rendering JSCAD in JupyterLab

      @TerryGeng WOW! Thanks for the really nice introduce to Jupyterlab, and the new JSCAD plugin.

      Hopefully some of the members will try this out. I know there are some members using VSCode, and Jupyterlab may be a nice alternative.

      Just a question... can existing designs be imported into Jupyterlab easily?

      posted in General Discussions
      z3dev
      z3dev
    • Release : 2023 JAN 09

      Release : 2023 JAN 09

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

      Bug Fixes

      • regl-renderer: corrected rendering of overlapping transparent solid objects
      • web: add render hotkey message in editor

      Thanks to @Loosetooth and @hrgdavor for the fixes.
      As well as @ntrrgc for the document improvements.

      Successfully published:

      • @jscad/regl-renderer@2.6.5
      • @jscad/web@2.6.3

      lerna success published 2 packages

      posted in Announcements
      z3dev
      z3dev
    • Release : 2022 NOV 26

      Release : 2022 NOV 26

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

      Features

      • modeling: added extrudeHelical

      Bug Fixes

      • modeling: added TS definitions for missing measurement functions

      Thanks to @Loosetooth for the new extrudeHelical() functionality.

      Thanks to @atkinchris for the TS definition fixes.

      Thanks to @Jamesgt for some documentation improvements.

      AND THANKS TO EVERYONE FOR THE GREAT FEEDBACK AND SUPPORT. IT'S BEEN A SUPER 2022!!!

      Successfully published:

      • @jscad/cli@2.2.25
      • @jscad/core@2.6.5
      • @jscad/3mf-serializer@2.1.7
      • @jscad/amf-deserializer@2.3.3
      • @jscad/amf-serializer@2.1.13
      • @jscad/dxf-deserializer@2.3.20
      • @jscad/dxf-serializer@2.1.13
      • @jscad/io-utils@2.0.23
      • @jscad/io@2.4.4
      • @jscad/json-deserializer@2.0.24
      • @jscad/json-serializer@2.0.23
      • @jscad/obj-deserializer@2.0.23
      • @jscad/obj-serializer@2.1.13
      • @jscad/stl-deserializer@2.1.20
      • @jscad/stl-serializer@2.1.13
      • @jscad/svg-deserializer@2.5.4
      • @jscad/svg-serializer@2.3.11
      • @jscad/x3d-deserializer@2.2.3
      • @jscad/x3d-serializer@2.4.3
      • @jscad/modeling@2.11.0
      • @jscad/regl-renderer@2.6.4
      • @jscad/vtree@2.0.24
      • @jscad/web@2.6.2

      lerna success published 23 packages

      posted in Announcements
      z3dev
      z3dev
    • Release : 2022 SEP 23

      Release : 2022 SEP 23

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

      Bug Fixes

      • svg-deserializer: corrected logic to allow path start == end point

      Thanks to @hrgdavor for the nice fixes.

      Successfully published:

      • @jscad/cli@2.2.24
      • @jscad/core@2.6.4
      • @jscad/io@2.4.3
      • @jscad/svg-deserializer@2.5.3
      • @jscad/web@2.6.1

      lerna success published 5 packages

      Please note that support for Node.js 12 will be removed soon. Node.js 14, 16 and 18 are the maintained versions.

      posted in Announcements
      z3dev
      z3dev