JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • z3devZ

      V2 JSCAD Packages Available!

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      3
      1 Votes
      3 Posts
      738 Views
      z3devZ
      @BarbourSmith Thanks. I noticed that as well. For now, you'll have to manually switch the version to 'alpha'.
    • BarbourSmithB

      Passing multiple solids to entitiesFromSolids

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      0 Votes
      3 Posts
      1k Views
      BarbourSmithB
      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!
    • gilboonetG

      V2 Feedback : require selection from parameter

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      1
      0 Votes
      3 Posts
      754 Views
      gilboonetG
      @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 McAndrewA

      Camera position, V2?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions camera viewing
      3
      0 Votes
      3 Posts
      1k Views
      Alasdair McAndrewA
      Nice - thank you! Should this be listed in the various shortcuts under the settings menu?
    • J

      Question about arrays.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      3
      0 Votes
      3 Posts
      755 Views
      z3devZ
      @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.
    • gilboonetG

      some feedback

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      3
      1
      0 Votes
      3 Posts
      710 Views
      gilboonetG
      @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 FunkC

      converting .scad to .stl

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      3
      0 Votes
      3 Posts
      1k Views
      z3devZ
      @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.
    • crysislinuxC

      Could you share some book names to learn modeling with math?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      3
      0 Votes
      3 Posts
      936 Views
      z3devZ
      @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.
    • gilboonetG

      A simple pattern generator (for cardboard Butaï)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      3
      1
      0 Votes
      3 Posts
      825 Views
      hrgdavorH
      awesome
    • gilboonetG

      Porting V1 code to V2 or rewrite it ?

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback
      3
      2
      0 Votes
      3 Posts
      1k Views
      gilboonetG
      @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.
    • WolfgangFahlW

      Proposal to move to github discussions

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      3
      0 Votes
      3 Posts
      1k Views
      jfo8000J
      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
    • z3devZ

      V2 JSCAD RELEASED!!!

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      3
      1
      1 Votes
      3 Posts
      1k Views
      z3devZ
    • Pippo LoVeP

      Texture rendering

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      3
      0 Votes
      3 Posts
      821 Views
      z3devZ
      @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.
    • z3devZ

      Contributions to JSCAD

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      3
      0 Votes
      3 Posts
      764 Views
      z3devZ
      I'm glad to announce that another new monthly contributor has joined. Welcome, @TargetedwebT. And thanks a lot for the support!
    • jess yanJ

      A questions about project()

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      2
      0 Votes
      3 Posts
      1k Views
      jess yanJ
      @z3dev Ok, I have submitted an issue on github. https://github.com/jscad/OpenJSCAD.org/issues/916
    • gilboonetG

      function to create regular polygon

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      0 Votes
      3 Posts
      623 Views
      gilboonetG
      @hrgdavor Thanks a lot that's exactly what I needed, [image: 1638354289644-capture-d-%C3%A9cran-de-2021-12-01-11-24-28.png]
    • gilboonetG

      dynamic parameters caption works oddly

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      1
      0 Votes
      3 Posts
      690 Views
      hrgdavorH
      @gilboonet it is nice to see a multilingual script
    • B

      bitbybit.dev platform updated to include latest JSCAD

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      3
      3
      1 Votes
      3 Posts
      1k 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.
    • gilboonetG

      Unfolder V2, test on Ubuntu with Chromium

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      1
      0 Votes
      3 Posts
      654 Views
      hrgdavorH
      @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
    • settingerS

      A camera without gimbal lock

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      0 Votes
      3 Posts
      1k Views
      hrgdavorH
      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