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

      some more progress with prototype.
      Development Discussions • • hrgdavor

      1
      0
      Votes
      1
      Posts
      8
      Views

      No one has replied

    • tjw25425

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

      3
      0
      Votes
      3
      Posts
      30
      Views

      hrgdavor

      @tjw25425 if you would go in direction uding threejs this could help with faster preview
      https://github.com/gkjohnson/three-bvh-csg

      and then for export use jscad to perform the boolean operations.

    • TerryGeng

      A project for rendering JSCAD in JupyterLab
      General Discussions • • TerryGeng

      4
      1
      Votes
      4
      Posts
      39
      Views

      hrgdavor

      It is nice to see more users and a new enviroment. @z3dev we should think about adding a section on jscad website with links to projects like this so other users that are interested in this way of interacting with jscad can find it.

      @TerryGeng there are few of jscad fans also on discord, you may share your plugin there too. https://discord.gg/AaqGskur93

    • z3dev

      Release : 2023 JAN 09
      Announcements • • z3dev

      1
      0
      Votes
      1
      Posts
      15
      Views

      No one has replied

    • Nathan Apter

      Hiring a JScad freelancer
      General Discussions • • Nathan Apter

      6
      0
      Votes
      6
      Posts
      116
      Views

      Loosetooth

      @Nathan-Apter I'm interested in doing some freelance work. I'm pretty new to the project though, but planning to build up my three.js and webgl skills anyway, so might be a good match. I'm going to send you a message.

    • hrgdavor

      Themes for all 3 engines in the prototype
      Development Discussions • • hrgdavor

      1
      0
      Votes
      1
      Posts
      21
      Views

      No one has replied

    • hrgdavor

      Reusable OrbitControls and camera gizmo
      Development Discussions • • hrgdavor

      4
      0
      Votes
      4
      Posts
      28
      Views

      hrgdavor

      default colors and transforms for babylon
      febb97cd-3c8c-425f-a7b4-703746fd89f4-image.png

    • hrgdavor

      $100 Bounty OpenCsg port proof of concept
      Development Discussions • • hrgdavor

      1
      0
      Votes
      1
      Posts
      17
      Views

      No one has replied

    • z3dev

      Release : 2022 NOV 26
      Announcements • • z3dev

      1
      0
      Votes
      1
      Posts
      29
      Views

      No one has replied

    • hrgdavor

      camera view gizmo cube
      Development Discussions • • hrgdavor

      1
      0
      Votes
      1
      Posts
      19
      Views

      No one has replied

    • Hermann-SW

      Registration broken?
      Development Discussions • • Hermann-SW

      2
      0
      Votes
      2
      Posts
      65
      Views

      settinger

      @Hermann-SW You are not alone! I had the same experience, back in March.

    • hrgdavor

      interesting new project
      Development Discussions • • hrgdavor

      2
      0
      Votes
      2
      Posts
      55
      Views

      hrgdavor

      @z3dev got my first email from this user group 🙂 and daily digest. That is great news that you got this working.

    • z3dev

      Release : 2022 SEP 23
      Announcements • • z3dev

      1
      1
      Votes
      1
      Posts
      57
      Views

      No one has replied

    • Antoine Guillaume

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

      8
      0
      Votes
      8
      Posts
      132
      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

      Are there JSCAD user callbacks?
      Development Discussions • • Hermann-SW

      3
      0
      Votes
      3
      Posts
      69
      Views

      hrgdavor

      @Hermann-SW this is one of many thing we would like to implement, but it is not implemented, or even specified as a possible future feature.

      Current 3d engine is regl, and I am working on interchangeable support for Three.js and Babylon.js.

      regl has slowed down with development but Three.js and Babylon.js are very much active
      Getting info what object is clicked or mouse over is easy in Three.js and Babylon , but for regl I am not sure (it may or may not be easy to do).

      You likely want to use jacad to generate geometries, give them some identifiers, interact with them and then upon interaction change the model with performance in mind by updating only things that changed.

      This is something we could colaborate on, but it is not something that can be simply implemented as part of jscad script runner. Because the current workflow for jscad is:

      make a script expose getParameterDefinitions - jscad can generate params form expose main method - jscad will call it with parameters and display result
      As you can see there is no concept of partial interactions or reactive changes, it is more like a commandline program that you write, and jscad calls to display it's output in 3d (and provide export option)

      there are several building blocks that make this combo getParameterDefinitions + main work, with proper separation of those building blocks users would be allow to create much more than just scripts that produce 3d geometry. But such efforts take time, and we are low on man-power.

      One such reusable block I started creating is code editor https://github.com/hrgdavor/jsx6/tree/main/libs/editor-monaco although there are nice code editors, they are not too easy to use or combine with JS projects (takes too much knowledge) so I am aiming to create more friendly wrappers. Each editor is stuck with their own cool build process and tooling that was popular at the time of the project start.

      I am also improving my skills with web workers, and babel transformations to provide building blocks for script execution with proper line numbers in stack traces and built-in browser's debugger integration.

      so, slowly something is comming along ... slowly...

    • hrgdavor

      Multipart project template others could find useful
      Development Discussions • • hrgdavor

      1
      1
      Votes
      1
      Posts
      38
      Views

      No one has replied

    • Hermann-SW

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

      2
      1
      Votes
      2
      Posts
      103
      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?
      Design Discussions • • Hermann-SW

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

    • C

      REST API or automatic loading from script
      General Discussions • • cncandi

      5
      0
      Votes
      5
      Posts
      130
      Views

      z3dev

      @cncandi It looks like you made a copy of the JSCAD website. That's really customize to support drag-n-drop, loading projects, URL options, etc. It's probably not what you really want.

      Take a look at the websites and frameworks mentioned here.

      https://openjscad.xyz/dokuwiki/doku.php?id=en:user_guide_help

      Let us know if you have any more questions.

    • z3dev

      Release : 2022 AUG 21
      Announcements • • z3dev

      1
      0
      Votes
      1
      Posts
      57
      Views

      No one has replied