• Release : 2022 JAN 23

    Announcements
    1
    0 Votes
    1 Posts
    546 Views
    No one has replied
  • 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.
  • on file version of the V2 unfolder

    Design Discussions
    1
    1
    0 Votes
    1 Posts
    446 Views
    No one has replied
  • 0 Votes
    3 Posts
    778 Views
    hrgdavorH
    @gilboonet it is nice to see a multilingual script
  • Unfolder script for V2

    Comments & Feedback
    1
    1
    0 Votes
    1 Posts
    960 Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    gilboonetG
    @z3dev Yes, add Memory would be great, I felt the difference when I changed from 4 Gb to 8. For the moment I'm simply starting to use my laptop as main computer.
  • About @jscad/core

    General Discussions
    5
    0 Votes
    5 Posts
    1k Views
    Sea-DH1S
    @z3dev I see that it has the function of dragging and dropping stl loading
  • If loading stl binary file

    Development Discussions
    7
    1
    0 Votes
    7 Posts
    2k Views
    Sea-DH1S
    @z3dev new issue https://github.com/jscad/OpenJSCAD.org/issues/972
  • Release : 2021 DEC 26

    Announcements
    1
    0 Votes
    1 Posts
    589 Views
    No one has replied
  • Start of V2 version of my unfolder

    Design Discussions
    7
    1
    0 Votes
    7 Posts
    1k Views
    gilboonetG
    @z3dev the .json
  • How to load the stl file of three.js

    General Discussions
    2
    0 Votes
    2 Posts
    875 Views
    z3devZ
    @sea-dh1 welcome to the user group! The modeling library creates 3D shapes into geom3 data structures. Of course, three.JS has a different data structure for ‘mesh’. So, all you have to do is… convert geom3 data to 3js data. No. JSCAD doesn’t support this. Good luck!
  • The Case of the Missing Triangles

    Development Discussions
    4
    1
    0 Votes
    4 Posts
    891 Views
    z3devZ
    @neonsnowcat Please try the latest version via www.openjscad.xyz Hopefully, those missing triangles have returned to earth.
  • Release : 2021 DEC 11

    Announcements
    1
    0 Votes
    1 Posts
    433 Views
    No one has replied
  • function to create regular polygon

    Development Discussions
    3
    0 Votes
    3 Posts
    703 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]
  • 2 Votes
    6 Posts
    2k Views
    platypiiP
    Wow very cool! Hard to imagine how that would even be possible with traditional CAD software
  • threejs integration

    General Discussions
    11
    2
    0 Votes
    11 Posts
    5k Views
    hrgdavorH
    @platypii @danmarshall I think both of will be able use your preferred engine, and get specific benefits depending on a task at hand. Actually I am planning to split the necessary code so that it becomes rather easy to use any of the 3 engines I found to be interesting (regl, threejs, babylon) regl it is the current engine and is compact CON: lack proper WEBGL2 support and there are NO plans for supporting it in the future example for extremely compact page that has jscad script and render and all under 99kb is great example why regl is still very useful by @platypii https://paradr.one/ threejs and babylon larger but can be cut down for basic rendering (I managed to get 400k version of threejs that works with jscad) support wegl2 instancing can bring performance regl just will not ever be able with webgl1 are working actively on great next thing: WebGPU WebGPU might be the future for jscad if we can come up with ways to utilize compute shaders for performance having also these big engines as an option is good for when we want build fancy stuff and ake advantage of huge knowhow of their communities you have likely already seen my instancing demo: http://3d.hrg.hr/jscad/three/threejscad2.html?uri=model.logos.js in threejs you can track progress of my new prototype that is supposed to provide the mentioned integrations of all 3 engines I found interesting. https://github.com/jscad/OpenJSCAD.org/discussions/944 ... I will post a topic as soon I have any rendering integrated .. it is still in testing of some ui concepts phase
  • 0 Votes
    1 Posts
    619 Views
    No one has replied
  • 2d line length (or perimeter)

    General Discussions
    7
    0 Votes
    7 Posts
    2k Views
    z3devZ
    You seem to be stuck in the old documentation. Please see the new website at www.openjscad.xyz, and from the help there are links to the User Guide and the API documentation.
  • Release : 2021 NOV 07

    Announcements
    1
    0 Votes
    1 Posts
    371 Views
    No one has replied
  • help: Import DXF and calculate bounding box

    General Discussions
    4
    0 Votes
    4 Posts
    2k Views
    z3devZ
    Sorry… that documentation is not complete. We will have to make some updates. There’s slightly better documentation here. Basically, your design needs to call measureBoudingBox(shape), which returns an array of points, lower and upper bounds.