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

      A camera without gimbal lock
      Development Discussions • • settinger

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

    • Jin kim

      Java API
      General Discussions • • Jin kim

      2
      0
      Votes
      2
      Posts
      349
      Views

      z3dev

      @jin-kim Welcome!

      I don't know of anyone porting the JSCAD modeling library to Java, but it should be possible.

      A few years back, someone ported V1 to C++ but I don't have the link.

      And very recently, someone has ported the JSCAD modeling library to C# , and there will be an announcement shortly.

    • jihyelee-code

      2D union/subtract/intersect to create mesh
      General Discussions • • jihyelee-code

      3
      0
      Votes
      3
      Posts
      443
      Views

      jihyelee-code

      @gilboonet Well, actually I figured out! I was using earcut.js to create indice, and with little bit of touch with the result of CAG union/subtract/intersect it worked well. Thanks for the reply.

    • gilboonet

      Build a specialized graphical editor
      Design Discussions • • gilboonet

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

    • z3dev

      V2 JSCAD RELEASED!!!
      Announcements • • z3dev

      3
      1
      Votes
      3
      Posts
      673
      Views

      z3dev

      🎂

    • z3dev

      Release : 2022 APR 03
      Announcements • • z3dev

      1
      1
      Votes
      1
      Posts
      297
      Views

      No one has replied

    • gilboonet

      how to create a multicolor polyhedron ?
      Design Discussions • • gilboonet

      5
      0
      Votes
      5
      Posts
      556
      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

    • z3dev

      Release : 2022 MAR 13
      Announcements • • z3dev

      1
      1
      Votes
      1
      Posts
      272
      Views

      No one has replied

    • udif

      Empty object
      Design Discussions • • udif

      2
      0
      Votes
      2
      Posts
      317
      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()
    • z3dev

      Release : 2022 MAR 03
      Announcements • • z3dev

      1
      2
      Votes
      1
      Posts
      308
      Views

      No one has replied

    • samuelwang48

      an ios app that embeds jscad
      General Discussions • • samuelwang48

      9
      3
      Votes
      9
      Posts
      1016
      Views

      samuelwang48

      @z3dev hi, yes, it can be found in Apple App Store if you search for "Rukkou". Or use this link directly on a Mac OS. Do let me know your feedbacks 🙂

    • platypii

      JSCAD geometry engine project
      Development Discussions • • platypii

      2
      4
      Votes
      2
      Posts
      497
      Views

      z3dev

      For those wondering, @platypii is a new member of the development team. He’s already put together some super nice fixes. In addition, he never sleeps so things are moving along at light speed. 😎

      So, please let him know if there’s something missing from JSCAD.

    • Mark Hahn

      debug jscode cli with vscode
      General Discussions • • Mark Hahn

      5
      0
      Votes
      5
      Posts
      630
      Views

      z3dev

      @mark-hahn super thanks!

      There’s still a little wizardry going on here. But I’ll try this with VSCODE, and then ask a few more questions.

    • z3dev

      Release : 2022 FEB 19
      Announcements • • z3dev

      1
      3
      Votes
      1
      Posts
      360
      Views

      No one has replied

    • gilboonet

      Unfolder V2, stress test on FF and Chrome
      Comments & Feedback • • gilboonet

      10
      0
      Votes
      10
      Posts
      1985
      Views

      hrgdavor

      @gilboonet that is excellent, it may be possible later on to integrate that one with jscad or at least take your experience for ideas how to improve 2D use-cases in jscad.

    • hrgdavor

      new JSCAD prototype progress 2022-01
      Development Discussions • • hrgdavor

      1
      2
      Votes
      1
      Posts
      324
      Views

      No one has replied

    • gilboonet

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

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

      Is it possible to group (in 2d output) unconnected lines ?
      Development Discussions • • gilboonet

      10
      0
      Votes
      10
      Posts
      1121
      Views

      gilboonet

      @gilboonet I finally take advantage of geometries id and class preservation, and created a small js node script that creates a group for all paths having the same class, and at the same time I solve another annoyance that was the impossibility to search by numbers by creating id. That's very nice.

    • gilboonet

      Does anyone use jscad on iPhone ?
      Development Discussions • • gilboonet

      10
      0
      Votes
      10
      Posts
      971
      Views

      gilboonet

      @z3dev You can also change the model, Venus has 1000 triangles and takes 30 sec. on my laptop to unfold (ubuntu with Firefox).

    • gilboonet

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

      9
      1
      Votes
      9
      Posts
      849
      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.