slice a “subject” with a “clip” polyline #441
Closed
andrei2popa
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Clipper only allows clipping with closed paths. However if for example you have a clipping polyline that's heading up and is roughly vertical and extends both below and above your subject paths, then you could temporarily close this polyline first on the right (by adding vertices at top-right and bottom-rght corners and outside the subjects) then Intersecting with this temporarily closed path to get subjects on the right. Then to clip on the left side, extend the polyline this time top-left and bottom-left to close the polyline on the left, and performing another Intersect with your subjects. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
With regard to open paths (polylines), I would need to slice a “subject” with a “clip” polyline.
In such way, that the result is similar with the initial “subject”, split in two (or more if the case) and the resulting paths are bordering/adjacent on/at the “clip” polyline
Is it possible to use Clipper2 to achieve this outcome?
TIA
Beta Was this translation helpful? Give feedback.
All reactions