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

    V2 Offset

    Scheduled Pinned Locked Moved Development Discussions
    2 Posts 2 Posters 1.8k 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.
    • z3devZ Offline
      z3dev
      last edited by

      There's some new functionality coming with V2, which is pretty exciting. So, I thought a little preview would be nice.

      This is the new offset() function, which can calculate the offset of a path or a 2D geometry.

      Here's a photo of a line (black) being offset both positive (green) and negative (red), with rounded corners.

      0_1565853648828_offset_path_4.png

      And here's a simular image of a 2D geometry, but note that this geometry has a hole. So, offsets are applied to both inside and outside edges. In this case, the corners are only connected at the intersection of the edges.

      0_1565853755948_offset_geom2_5.png

      Hope you like this one!

      kaosat-devK 1 Reply Last reply Reply Quote 1
      • kaosat-devK Offline
        kaosat-dev @z3dev
        last edited by

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

        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