JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Rectangle with multiple style corner

    Scheduled Pinned Locked Moved Design Discussions
    3 Posts 2 Posters 1.1k Views 1 Watching
    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 GuillaumeA Offline
      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

      z3devZ 1 Reply Last reply Reply Quote 0
      • z3devZ Offline
        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 GuillaumeA 1 Reply Last reply Reply Quote 0
        • Antoine GuillaumeA Offline
          Antoine Guillaume @z3dev
          last edited by

          @z3dev ok, thank you very much for your feedback

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Powered by NodeBB | Contributors