JSCAD User Group

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

    V2 Offset

    Development Discussions
    2
    2
    1310
    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.
    • z3dev
      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-dev 1 Reply Last reply Reply Quote 1
      • kaosat-dev
        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
        • First post
          Last post
        Powered by NodeBB | Contributors