JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Design Discussions
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • gilboonet

      Use case issues
      • gilboonet

      2
      0
      Votes
      2
      Posts
      20
      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
      • gilboonet

      6
      0
      Votes
      6
      Posts
      29
      Views

      hrgdavor

      @gilboonet vool 🙂 . Nice to see it working

    • gilboonet

      Getting values from a geometry
      • gilboonet

      3
      0
      Votes
      3
      Posts
      10
      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
      • gilboonet

      3
      0
      Votes
      3
      Posts
      21
      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
      • gilboonet

      12
      0
      Votes
      12
      Posts
      41
      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.

    • Antoine Guillaume

      Transform a 2D rectangle to a L shape
      • Antoine Guillaume

      8
      0
      Votes
      8
      Posts
      153
      Views

      Antoine Guillaume

      @z3dev Bonjour,
      j'ai bien réussi à créer cette forme avec les "paths / expand / offset".
      mais cela me pose beaucoup de problèmes pour la suite, à savoir, le positionnement des perçages. En effet c'est compliqué car l'angle de pliage peut varier en fonction des utilisateurs.

      J'ai trouvé une fonction OPENSCAD qui effectue exactement ce que je souhaite. Est-il possible de mettre cela en place sur JSCAD
      https://www.youtube.com/watch?v=3xTjyYKtv4A
      Je n'arrive pas bien à comprendre la logique de son code qui est "en vrac" dans la description de la vidéo.

      Je vous remercie pour le temps que vous consacrerez à ma demande.

    • Hermann-SW

      JSCAD preview faster than "same" model OpenSCAD preview
      • Hermann-SW

      2
      1
      Votes
      2
      Posts
      121
      Views

      z3dev

      @Hermann-SW Thanks for all the super insights to your designs. It has been great to see you continue and improve the designs, and finally have a great base for more designs.

      I haven't seen anyone compare JSCAD to OpenSCAD viewers. We continue to improve the viewer (and modeling library) so it's really nice to have some complements. 😃

      We have had some recent performance improvements, based on @platypii and @briansturgill changes. And we have more planned ahead.

    • Hermann-SW

      How to generate JSCAD model in browser JS and display like demo.html?
      • Hermann-SW

      7
      0
      Votes
      7
      Posts
      212
      Views

      Hermann-SW

      @hrgdavor I tried that with openjscad.xyz and it did not work. But it does work with locally hosted demo.html !
      Thanks, until now I had browser console open right, editor in middle and only half of 3D view left. After drag and drop, I can close the editor and see new graphs whenever I run node.tetra.js to produce a different x.jscad. So much easier to work now ...

    • Hermann-SW

      JSCAD for planar graph embeddings onto (unit) sphere
      • Hermann-SW

      10
      0
      Votes
      10
      Posts
      158
      Views

      Hermann-SW

      I implemented optional JSCAD output for planar graph playground "node.tetra.js", details here:
      https://forums.raspberrypi.com/viewtopic.php?p=2030546#p2030546

      Until now I played with C20 hand edited for JSCAD, this is newly created C60 fullerene with 60 vertices and 90 edges:
      https://www.openjscad.xyz/?uri=https://stamm-wilbrandt.de/en/forum/JSCAD.C60_vtype.js

      More vertices and edges than for C20, but design regeneration still done in less than 10 seconds on Intel it Linux Chrome!
      https://forums.raspberrypi.com/download/file.php?id=56198

    • Hermann-SW

      Problem with "subtract()"ing "hull()", is this a bug?
      • Hermann-SW

      4
      0
      Votes
      4
      Posts
      148
      Views

      Hermann-SW

      Forgot to post the "answer" link for viewing in browser:
      https://openjscad.xyz/?uri=https://stamm-wilbrandt.de/en/forum/A.JSCAD.vertex_edge2.sp_tria.js

    • z3dev

      polygonjs
      • z3dev

      1
      2
      Votes
      1
      Posts
      125
      Views

      No one has replied

    • ajw1970

      Using JSCAD to build meshes for BabylonJS
      • ajw1970

      10
      0
      Votes
      10
      Posts
      170
      Views

      z3dev

      @ajw1970 super!

      I'm interested in the final application. Why did you want to use Babylon for rendering? And do you further plans to create some online designs?

    • Antoine Guillaume

      Rectangle with multiple style corner
      • Antoine Guillaume

      3
      0
      Votes
      3
      Posts
      95
      Views

      Antoine Guillaume

      @z3dev ok, thank you very much for your feedback

    • gilboonet

      Build a specialized graphical editor
      • gilboonet

      3
      0
      Votes
      3
      Posts
      121
      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.

    • gilboonet

      how to create a multicolor polyhedron ?
      • gilboonet

      5
      0
      Votes
      5
      Posts
      116
      Views

      gilboonet

      I changed my obj importer code to make it work with obj without groups. Now I can start to colorize my models by code. And there's one nice thing about that : I can use that faces coloring to store a volume's unfold pattern.
      Capture d’écran de 2022-03-26 21-48-08.png

    • ajw1970

      This topic is deleted!
      • ajw1970

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • udif

      Empty object
      • udif

      2
      0
      Votes
      2
      Posts
      78
      Views

      z3dev

      @udif great question!

      There are three main objects; geom3, geom2, and path2. You can create empty versions of these…

      const a = geom3.create() const b = geom2.create() const c = path2.create()
    • gilboonet

      V2 Unfolder complete, multipage pdf creation from its 2d output
      • gilboonet

      9
      1
      Votes
      9
      Posts
      193
      Views

      hrgdavor

      @gilboonet that is definitely something worth considering either as part of jscad or an addon library. I think we will have better idea after I have some time to cooperate with you on your project. It is definitely an interesting use-case, and a real project will give much needed insight on how to proceed with it.

    • gilboonet

      on file version of the V2 unfolder
      • gilboonet

      1
      0
      Votes
      1
      Posts
      53
      Views

      No one has replied

    • gilboonet

      Start of V2 version of my unfolder
      • gilboonet

      7
      0
      Votes
      7
      Posts
      128
      Views

      gilboonet

      @z3dev the .json

    Powered by NodeBB | Contributors