Graphite icon indicating copy to clipboard operation
Graphite copied to clipboard

Bevel path node

Open 0HyperCube opened this issue 1 year ago • 0 comments

Add a node to bevel some vector data.

For each point in a path that is connected to exactly 2 segments:

  • If the tangent of the ends of the two segments are scalar multiples, discard.
  • Otherwise, offset by the user specified amount into both segments and insert new points.
  • Delete the original point.
  • Connect the two new points with a straight line segment.

Not in scope:

  • Cleaning up paths where bevels overlap.
  • Bevelling only particular points (possibly selected in the viewport by the user).
  • Dealing with mesh paths (beyond ignoring points with >2 segments).

0HyperCube avatar Oct 16 '24 17:10 0HyperCube