JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Recent
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • ucimo

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

      7
      0
      Votes
      7
      Posts
      1163
      Views

      DavidLyon66

      @danmarshall Looks great.

      I can't get it to work.

      It just reports "Error: Cannot find module 'jscad/modelling' when I run "node jscad-now" from my home directory on linux ubuntu.

      Any ideas (yes I'm a developer but not a regular Nodejs user) ?

    • z3dev

      Release : 2024 FEB 18
      Announcements • • z3dev

      1
      0
      Votes
      1
      Posts
      532
      Views

      No one has replied

    • LucaNitti

      Load DXF
      Development Discussions • • LucaNitti

      2
      0
      Votes
      2
      Posts
      453
      Views

      z3dev

      @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

    • Hermann-SW

      Can "openjscad.xyz/?uri=..." support "data" protocol in addition to "http(s)"?
      Design Discussions • • Hermann-SW

      5
      0
      Votes
      5
      Posts
      649
      Views

      Hermann-SW

      @hrgdavor Thanks, done:
      https://github.com/jscad/OpenJSCAD.org/issues/1318

    • Hermann-SW

      Small "shift+enter" bug in openjscad.xyz?
      Development Discussions • • Hermann-SW

      3
      0
      Votes
      3
      Posts
      369
      Views

      Hermann-SW

      @hrgdavor Thanks:
      https://github.com/jscad/OpenJSCAD.org/issues/1317

    • DBJDBJ

      can not import c:/jscad/whatever.stl on windows
      General Discussions • • DBJDBJ

      7
      0
      Votes
      7
      Posts
      840
      Views

      DBJDBJ

      @hrgdavor I have not tried project folder drag-and-drop into the web app. Will do.

      Thanks

    • jumpjack2

      OpenJsCAD + physics engine?
      General Discussions • • jumpjack2

      2
      0
      Votes
      2
      Posts
      383
      Views

      hrgdavor

      @jumpjack2 you can export models from openscad or jscad to .obj or .stl meshes and then it is no more question of integrating with rapier, but a question of how you import meshes to rapier.

      actual integration with jscad is much more complex problem.

    • cdub

      Rotate Object
      General Discussions • • cdub

      2
      0
      Votes
      2
      Posts
      374
      Views

      cdub

      @cdub I had overlooked the 'relativeTo' parameter of the rotate function. It makes sense now.

    • platypii

      Embedding a design in a website
      General Discussions • • platypii

      23
      0
      Votes
      23
      Posts
      4490
      Views

      cdub

      @hrgdavor and @platypii. Thank you for your contributions and for sharing the repos. The work completed here is certainly impressive. I look forward to digging into the code to learn other creative and productive ways of using the JSCAD viewer. The https://jscad.app has a fresh modern cad application feel. Especially with the addition of the orientation cube.

    • A

      fetch() in a design
      Design Discussions • • Andreas Plesch

      15
      0
      Votes
      15
      Posts
      1852
      Views

      hrgdavor

      @Andreas-Plesch jscad.app is just a new prototype, not yet part of official jscad, I did not implement /remote ... it is meant for fetching remote scripts you can report issues on jscadui git or ask on discord.

    • Jason Sprouse

      Is the cli package also included in the web version?
      Development Discussions • • Jason Sprouse

      6
      0
      Votes
      6
      Posts
      875
      Views

      z3dev

      @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.

    • RelatingData

      Interoperability with URDF / Gazebo and modelling of Robots
      General Discussions • • RelatingData

      6
      1
      Votes
      6
      Posts
      797
      Views

      z3dev

      @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

    • Jason Sprouse

      AI in JSCAD for Generative AI
      General Discussions • • Jason Sprouse

      5
      0
      Votes
      5
      Posts
      869
      Views

      z3dev

      @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.

    • Hermann-SW

      Are there JSCAD user callbacks?
      Development Discussions • • Hermann-SW

      4
      0
      Votes
      4
      Posts
      762
      Views

      Jason Sprouse

      @Hermann-SW said in Are there JSCAD user callbacks?:

      tionality?

      Wouldn't that also be displayed in the browser stack trace?

    • gilboonet

      Starting reusing JSCAD for unfolding projects
      Design Discussions • • gilboonet

      2
      1
      Votes
      2
      Posts
      431
      Views

      hrgdavor

      @gilboonet cool, combining it into single app would be awesome one day

    • z3dev

      How about a new design?
      Design Discussions • • z3dev

      2
      0
      Votes
      2
      Posts
      469
      Views

      hrgdavor

      @z3dev I periodically mention discord channel to ppl, so we could from time to time also mention this forum to users on those git tickets.

    • z3dev

      Release : 2023 JUN 27
      Announcements • • z3dev

      1
      1
      Votes
      1
      Posts
      520
      Views

      No one has replied

    • rozek

      vectorChar vs. vectorText
      General Discussions • • rozek

      6
      0
      Votes
      6
      Posts
      872
      Views

      z3dev

      @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

    • z3dev

      Release : 2023 APR 30
      Announcements • • z3dev

      2
      0
      Votes
      2
      Posts
      417
      Views

      A

      Thanks! I also send an announcement the x3d-public mailing list.

    • Richard Rouse

      updating jscad for website integration
      General Discussions • • Richard Rouse

      2
      0
      Votes
      2
      Posts
      411
      Views

      z3dev

      @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.