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

      Rotate Object
      General Discussions • • cdub

      2
      0
      Votes
      2
      Posts
      23
      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
      800
      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
      263
      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
      131
      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
      155
      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
      82
      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
      168
      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
      75
      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
      76
      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
      212
      Views

      No one has replied

    • rozek

      vectorChar vs. vectorText
      General Discussions • • rozek

      6
      0
      Votes
      6
      Posts
      259
      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
      117
      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
      83
      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.

    • tjw25425

      Default JSCAD script (index.js) for self-hosted website
      General Discussions • • tjw25425

      6
      0
      Votes
      6
      Posts
      194
      Views

      hrgdavor

      @z3dev that is exactly type of projects I want more jscad users to be able to do. It will likely be able to benefit from some of the resopnsiveness improvments I am making.

    • gilboonet

      Use case issues
      Design Discussions • • gilboonet

      2
      0
      Votes
      2
      Posts
      114
      Views

      gilboonet

      Thanks to the browser cache I was able to run the script again and it already had all values loaded and I only needed to change the slider that was badly positioned.

    • gilboonet

      export colored model to .obj
      Design Discussions • • gilboonet

      6
      0
      Votes
      6
      Posts
      129
      Views

      hrgdavor

      @gilboonet vool 🙂 . Nice to see it working

    • gilboonet

      Getting values from a geometry
      Design Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      62
      Views

      gilboonet

      @z3dev I finally resolved it by not using transforms and directly compute the center of the rectangles, that way the geometry sides were ok without any need to transform. I hope to be able to reuse that code for same kind of simple designs.
      Capture d’écran du 2023-03-05 10-58-47.png

    • gilboonet

      How to use vec2/3 classes
      Design Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      59
      Views

      z3dev

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

    • gilboonet

      Designing with text
      Design Discussions • • gilboonet

      12
      0
      Votes
      12
      Posts
      178
      Views

      gilboonet

      @hrgdavor That would be great. For the moment I'm certainly going to try to do the same thing using svg into vanilla js.

    • hrgdavor

      Realtime boolean preview using GPU image based csg!!
      Development Discussions • • hrgdavor

      1
      0
      Votes
      1
      Posts
      117
      Views

      No one has replied