JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. gilboonet
    3. Topics
    • Profile
    • Following 0
    • Followers 2
    • Topics 69
    • Posts 283
    • Best 21
    • Controversial 0
    • Groups 0

    Topics created by gilboonet

    • gilboonet

      Starting reusing JSCAD for unfolding projects
      Design Discussions • • gilboonet

      2
      1
      Votes
      2
      Posts
      423
      Views

      hrgdavor

      @gilboonet cool, combining it into single app would be awesome one day

    • gilboonet

      Use case issues
      Design Discussions • • gilboonet

      2
      0
      Votes
      2
      Posts
      420
      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

      Getting values from a geometry
      Design Discussions • • gilboonet

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

      export colored model to .obj
      Design Discussions • • gilboonet

      6
      0
      Votes
      6
      Posts
      750
      Views

      hrgdavor

      @gilboonet vool 🙂 . Nice to see it working

    • gilboonet

      How to use vec2/3 classes
      Design Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      417
      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
      Design Discussions • • gilboonet

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

    • gilboonet

      import/export of .obj file
      Development Discussions • • gilboonet

      8
      0
      Votes
      8
      Posts
      1156
      Views

      gilboonet

      @platypii Thank you for this investigation. I remember that I tried to get JSCAD to union those groups but then it loses colors. I use Wings 3d to colorize my models, and it does not split them into separate objects (on my screenshot I have only one geometry), only materials are separated into groups.
      Capture d’écran du 2022-06-14 10-11-33.png

      Capture d’écran du 2022-06-14 10-29-42.png

      I splitted the model into 3 geometries and then exported it to .obj and the difference is that it contains 3 lines starting with "o " that defines start of an object. Maybe for the moment JSCAD translate lines starting with "g " like "o ".

    • gilboonet

      Build a specialized graphical editor
      Design Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      604
      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 ?
      Design Discussions • • gilboonet

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

    • gilboonet

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

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

    • gilboonet

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

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

      Union on multi-color imported obj file lose colors
      Development Discussions • • gilboonet

      7
      0
      Votes
      7
      Posts
      533
      Views

      gilboonet

      @z3dev Sadly, lines already have a color (red for cuts, maroon for mountain fold and green for valley fold).
      Capture d’écran de 2022-01-23 10-07-15.png

    • gilboonet

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

      10
      0
      Votes
      10
      Posts
      973
      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

      on file version of the V2 unfolder
      Design Discussions • • gilboonet

      1
      0
      Votes
      1
      Posts
      198
      Views

      No one has replied

    • gilboonet

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

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

      Unfolder script for V2
      Comments & Feedback • • gilboonet

      1
      0
      Votes
      1
      Posts
      394
      Views

      No one has replied

    • gilboonet

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

      10
      0
      Votes
      10
      Posts
      1125
      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

      dynamic parameters caption works oddly
      Development Discussions • • gilboonet

      3
      0
      Votes
      3
      Posts
      320
      Views

      hrgdavor

      @gilboonet it is nice to see a multilingual script 🙂

    • gilboonet

      script using parameters doesn't render after some time
      Comments & Feedback • • gilboonet

      4
      0
      Votes
      4
      Posts
      658
      Views

      gilboonet

      @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.

    • gilboonet

      Start of V2 version of my unfolder
      Design Discussions • • gilboonet

      7
      0
      Votes
      7
      Posts
      555
      Views

      gilboonet

      @z3dev the .json