V2 Offset


  • administrators

    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!


  • administrators

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