JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • gilboonet

      Build a specialized graphical editor
      Design Discussions • • gilboonet

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

    • jihyelee-code

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

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

    • Antoine Guillaume

      Rectangle with multiple style corner
      Design Discussions • • Antoine Guillaume

      3
      0
      Votes
      3
      Posts
      691
      Views

      Antoine Guillaume

      @z3dev ok, thank you very much for your feedback

    • z3dev

      Makers Faire Tokyo
      Announcements • • z3dev

      3
      1
      Votes
      3
      Posts
      816
      Views

      z3dev

      あなたが参加する機会を得たら、知らせてください。あなたのためのチケットを持っています!

    • gilboonet

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

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

      Getting values from a geometry
      Design Discussions • • gilboonet

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

    • Hermann-SW

      Small "shift+enter" bug in openjscad.xyz?
      Development Discussions • • Hermann-SW

      3
      0
      Votes
      3
      Posts
      826
      Views

      Hermann-SW

      @hrgdavor Thanks:
      https://github.com/jscad/OpenJSCAD.org/issues/1317

    • shay cerny

      Modifying Variables From Imported Parametric model
      Development Discussions • • shay cerny

      3
      0
      Votes
      3
      Posts
      1029
      Views

      z3dev

      @shay-cerny Welcome

      This isn't exhaustive but lists some of the websites using JSCAD.

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

    • Nick Taylor

      Excessively elaborate eggs etc
      Design Discussions • • Nick Taylor

      3
      0
      Votes
      3
      Posts
      670
      Views

      z3dev

      The booleans are working fine but the orientation of the polygons are super important. You can check the orientation your self, but one of the easiest checks if volume().

      Hope that helps

    • WolfgangFahl

      Cooperation with BlocksCAD
      Development Discussions • • WolfgangFahl

      2
      0
      Votes
      2
      Posts
      2017
      Views

      z3dev

      It would be really cool to have further cooperation with BlocksCAD. That interface is really interesting, and easy to use.

      I know that several versions of CSG library have been integrated, so further cooperation should be possible.

      However, it seems BlocksCAD has not been revised since 2017. It seems that ‘yoderdan’ has not made any changes lately, so his input would be required.

    • JamesNewton

      Any ideas on measuring a section of an existing STL file?
      Comments & Feedback • • JamesNewton

      2
      0
      Votes
      2
      Posts
      1872
      Views

      z3dev

      Of course, you can use the STL design to subtract from another design. Is that not accurate enough for your needs?

      Measuring from point to point, or across a design isn’t possible. But you can always take a small slice of a design, and measure that using bounds.

    • gilboonet

      link with script + library
      Development Discussions • • gilboonet

      2
      0
      Votes
      2
      Posts
      1384
      Views

      gilboonet

      I just found that there is an issue on the repository about this concern : https://github.com/jscad/OpenJSCAD.org/issues/438. For the moment I simply copy-paste the content of the library into the script to make it work.

    • William Adams

      OpenJSCAD on the Microsoft Store
      General Discussions • • William Adams

      2
      0
      Votes
      2
      Posts
      1652
      Views

      z3dev

      @william-adams might be interested in BlocksCAD

      https://www.blockscad3d.com/editor/

      This can also be found on GitHub, but has not been updated for a few years. 😞

      https://github.com/EinsteinsWorkshop/BlocksCAD

    • T

      How to control the orientation ?
      General Discussions • webinterface orientation • • TL

      2
      0
      Votes
      2
      Posts
      1610
      Views

      WolfgangFahl

      You might want to post your question on stackoverflow https://stackoverflow.com/questions/tagged/openjscad - the audience is bigger there.

    • gilboonet

      Slicing again... simplifying code
      Comments & Feedback • • gilboonet

      2
      0
      Votes
      2
      Posts
      1507
      Views

      z3dev

      The simple solutions are always the best. Taking a super thin slice is a great idea, and maybe even the best.

      The core library will be for core functions, as we expect others (like you) to contribute some really nice high level functionality, such as slicing. If we get the core library rock solid then anything is possible.

      Projections on to arbitrary planes is on the wish list, but not there yet.

      Thanks for the awesome posts!

    • z3dev

      V2 Offset
      Development Discussions • • z3dev

      2
      1
      Votes
      2
      Posts
      1429
      Views

      kaosat-dev

      @z3dev This looks absolutely amazing !
      Lots of uses cases 🙂 (I am a sucker for 2d in 3d haha)

    • z3dev

      V2 Rotate Extrude
      Development Discussions • • z3dev

      2
      0
      Votes
      2
      Posts
      1293
      Views

      gilboonet

      That's very good job, looks promising.

    • Jorn van de beek

      Looking for the name and feedback on an imagined CSG operation/modeling workflow
      General Discussions • • Jorn van de beek

      2
      0
      Votes
      2
      Posts
      1026
      Views

      z3dev

      There have been several discussions about how to build transitions between shapes. Hull and Minkowski are good at combining shapes but don't really provide the workflow described here.

      Here's one from a while back..

      Can we extrude arbitrary and changing 2D shapes along a 2D/3D path?

      I would hope that some of the folks here could provide some tips.

    • faithhack

      Is center() broken or am I?
      General Discussions • • faithhack

      2
      0
      Votes
      2
      Posts
      840
      Views

      faithhack

      And the answer is... I'm broke 😌
      I was treating the center({axes:[true, true, false]}, object) like the old object({center:[true,true,false]}) which is not the case since primitives are now created centered at [0,0,0] by default.
      Since the primitive is created centered by default at [0,0,0], changing the axes on a new part doesn't really have an effect.
      Picking a consistent default is probably the 'right thing(tm)' to do since the old primitives where very inconsistent - round things like cylinders and sphere where centered on X/Y but not Z and cubes where created with a corner at [0,0,0].
      Hopefully new docs will have little warnings for those transitioning from V1 to V2 and maybe some helpful examples for porting old designs over.

    • faithhack

      Some thoughts on center
      Development Discussions • • faithhack

      2
      0
      Votes
      2
      Posts
      801
      Views

      z3dev

      @faithhack thanks again for the feedback.

      the 'center' option has been added back to primitives. we want to define primitives using simple mathematics, which means center is required.

      for example, a circle is a shape consisting of all points in a plane that are a given distance from a given point, the center.

      hopefully, this brightens the day of a few folks.