JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Rectangle with multiple style corner

    Design Discussions
    2
    3
    558
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Antoine Guillaume
      Antoine Guillaume last edited by

      Hello everybody,

      can I create a rectangle with multiple style corner.
      Example :

      • 2 edge corners
      • 1 round corners
      • 1 chamfer corner

      I don't found the solution. I just possibility to create that with line + arc...

      Thanks

      z3dev 1 Reply Last reply Reply Quote 0
      • Antoine Guillaume
        Antoine Guillaume @z3dev last edited by

        @z3dev ok, thank you very much for your feedback

        1 Reply Last reply Reply Quote 0
        • z3dev
          z3dev @Antoine Guillaume last edited by

          @antoine-guillaume welcome

          You will have to assemble the special shape from lines and arcs. You can look at the code for rounded rectangle for some inspiration.

          https://github.com/jscad/OpenJSCAD.org/blob/master/packages/modeling/src/primitives/roundedRectangle.js

          Antoine Guillaume 1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors