JSCAD User Group

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

      Passing multiple solids to entitiesFromSolids
      Development Discussions • • BarbourSmith

      3
      0
      Votes
      3
      Posts
      454
      Views

      BarbourSmith

      Thank you so much!

      Honestly looking at it now I don't see how I didn't understand how it worked. Union takes an array of solids so that would make the most sense. Thanks!

    • gilboonet

      V2 Feedback : require selection from parameter
      Development Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      295
      Views

      gilboonet

      @z3dev I could easily adapt to any solution allowing to feed a list parameter with files, it will be far a better UI practice than my current one that requires the user to type the file name. Or maybe the ability for a text parameter to receive a file from a drag-drop operation.

    • Alasdair McAndrew

      Camera position, V2?
      General Discussions • camera viewing • • Alasdair McAndrew

      3
      0
      Votes
      3
      Posts
      486
      Views

      Alasdair McAndrew

      Nice - thank you! Should this be listed in the various shortcuts under the settings menu?

    • J

      Question about arrays.
      General Discussions • • jarshvor

      3
      0
      Votes
      3
      Posts
      360
      Views

      z3dev

      @jarshvor another way to look at this is the return types...

      pcb() returns an object (1)
      holes1() returns an array of objects (2)
      holes2() returns an array of objects (4)

      V1 OpenJSCAD.org requires main() to return an ARRAY of objects or a single object.
      (FYI, V2 automatically flattens everything into an array.)

      @gilboonet is correct in the example provided. By using '...holes1()' syntax, an array is constructed from [ pcb(), holes1[0], holes1[1] ]

      Hang in there. You'll get it soon. 🙂

    • gilboonet

      some feedback
      General Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      294
      Views

      gilboonet

      @z3dev I just tested again in order to write the issue, but apparently there is no more problem with text parameter, it was maybe a problem of cache (I'm using web version).

    • Charlie Funk

      converting .scad to .stl
      General Discussions • • Charlie Funk

      3
      0
      Votes
      3
      Posts
      642
      Views

      z3dev

      @Charlie-Funk Welcome!

      The best option is to use OpenSCAD application.

      JSCAD V1 (www.openjscad.org) supports a subset of the OpenSCAD functionality, and you can just drag and drog the file onto the lower white space (It says "Drag and drop file here...")

      I hope that you have copy of the original .scad file. It's just a text file, so you can open and check the contents with various applications.

    • crysislinux

      Could you share some book names to learn modeling with math?
      General Discussions • • crysislinux

      3
      0
      Votes
      3
      Posts
      440
      Views

      z3dev

      @crysislinux another very good area for some nice documentation.

      Currently, the 2D curves are based on Bezier curves. And the IO libraries convert various curve definitions into bezier curve definitions.

      SVG paths can define bezier curves as well.

      You'll find lots of online tutorials on how to create bezier curves. And hopefully, you will be able to apply some of those examples within JSCAD.

      P.S. 3D bezier curves are called NURBS.

    • gilboonet

      A simple pattern generator (for cardboard Butaï)
      General Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      422
      Views

      hrgdavor

      awesome 🙂

    • gilboonet

      Porting V1 code to V2 or rewrite it ?
      Comments & Feedback • • gilboonet

      3
      0
      Votes
      3
      Posts
      476
      Views

      gilboonet

      @z3dev Thank you for your suggestions. What I did was only translating the code so it run on V2 regardless of placement. I'll try to implement helper function for cube and cuboid, then it should work.

    • WolfgangFahl

      Proposal to move to github discussions
      General Discussions • • WolfgangFahl

      3
      0
      Votes
      3
      Posts
      549
      Views

      jfo8000

      I love the idea of putting all the docs in markdown in the git repo itself.

      The original site could also be hosted in gh-pages branch. There are a bunch of tools to convert markdown to html, so they could be optionally embedded in the app.

      As a stopgap, for anyone needing V1 - there's a copy over at https://creator.buildbee.com

      JFo

    • z3dev

      V2 JSCAD RELEASED!!!
      Announcements • • z3dev

      3
      1
      Votes
      3
      Posts
      686
      Views

      z3dev

      🎂

    • Pippo LoVe

      Texture rendering
      General Discussions • • Pippo LoVe

      3
      0
      Votes
      3
      Posts
      456
      Views

      z3dev

      @Pippo-LoVe as mentioned, JSCAD focuses on designs for 3D printing, and therefore colors are essential. Colors are assigned to a geometry / shape after completing all operations.

      Colors can also be assigned to individual polygons on 3D geometries.

      Having said the above, textures may be possible. But there have not been many requests for this support.

    • z3dev

      Contributions to JSCAD
      Announcements • • z3dev

      3
      0
      Votes
      3
      Posts
      401
      Views

      z3dev

      I'm glad to announce that another new monthly contributor has joined.

      Welcome, @TargetedwebT. And thanks a lot for the support!

    • jess yan

      A questions about project()
      Development Discussions • • jess yan

      3
      0
      Votes
      3
      Posts
      478
      Views

      jess yan

      @z3dev
      Ok, I have submitted an issue on github.
      https://github.com/jscad/OpenJSCAD.org/issues/916

    • gilboonet

      function to create regular polygon
      Development Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      260
      Views

      gilboonet

      @hrgdavor Thanks a lot that's exactly what I needed,
      Capture d’écran de 2021-12-01 11-24-28.png

    • gilboonet

      dynamic parameters caption works oddly
      Development Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      326
      Views

      hrgdavor

      @gilboonet it is nice to see a multilingual script 🙂

    • B

      bitbybit.dev platform updated to include latest JSCAD
      General Discussions • • bitbybit

      3
      1
      Votes
      3
      Posts
      590
      Views

      B

      @z3dev thanks. I think it makes most sense to use the tool to model objects that require parametric flexibility. I'd love to see basic configurable things modelled that people can adapt to their needs and export to STL for 3D printing using JSCAD or STEP when using OCCT. It's definitely not meant to be used as a Sculpting tool or a "hand drawing replacement" CAD.

      I'm trying to keep general purpose nature to the tool as much as possible. Normalising various libraries to a common system. For example it helps sometimes to just have Verb NURBS curve or a surface as a backbone to place JSCAD meshes onto. Normalisation is still a bit of a challenge and my main goal, you still see way too many Draw components for different kinds of geometries. Just yesterday I coded a draw anything component that will replace all those (still need to release that) 😉

      If you browse the examples you'll see that it's also possible to tie in some time based rules into the algorithms. In the future I'm hoping that it will become easier to code some robotic behaviours as I'm using BabylonJS to draw all the shapes and after CAD operations are applied BabylonJS can take over to do things like create GPU instances of meshes, animations, collision detection or apply realistic PBR materials and shadows.

      I am also in the process of tying OCCT WASM kernel into the tool, which has a lot of potential to allow for bigger CAD models to be created. There I'm still experimenting with performance and what is possible, current OCCT API is a bit limited, but I'm working on extension 😉 My poor laptop really needs an update to push those limits.

    • gilboonet

      Unfolder V2, test on Ubuntu with Chromium
      Development Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      293
      Views

      hrgdavor

      @gilboonet yes, specification for sort functions is to

      return zero if a==b return neg or positive number depending if u want to sort ASC or DESC
    • settinger

      A camera without gimbal lock
      Development Discussions • • settinger

      3
      0
      Votes
      3
      Posts
      589
      Views

      hrgdavor

      progress of the mentioned prototype with suport for different wegl libs can be found here:
      https://github.com/jscad/OpenJSCAD.org/discussions/944

      I have just made another step forward: mesh support (but with some quirks ATM)
      I have some lighting to fix, and also babylonjs for some weird rason uses left handed system (this adds a bit of complexity to the worker to support it properly)

      Also when switching viewers, if they are different orioentation currently I need to run the script again manually to get properly oriented triangles

      https://user-images.githubusercontent.com/2480762/162638934-7a945625-420d-4041-98fc-5735fcc34c6b.mp4

    • gilboonet

      Build a specialized graphical editor
      Design Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      616
      Views

      gilboonet

      @hrgdavor Thank you, I will try from this demo.html file. I already used that file at early stage of V2 to take snapshots of a scene to create an animation, but I'm not sure I understood it all.