pyclipper icon indicating copy to clipboard operation
pyclipper copied to clipboard

Clipping polygons that are entirely contained in another polygon

Open GilParnon opened this issue 3 years ago • 2 comments

When I try to do this clipping, I get just the small rectangle. The orange is pc.AddPath(geometry, pyclipper.PT_SUBJECT, True) In red is pc.AddPath(rectangle, pyclipper.PT_CLIP, True) Then the result is from this. I'm not sure what exactly is causing this issue. pc.Execute(pyclipper.CT_DIFFERENCE) toClip result

GilParnon avatar Sep 30 '22 20:09 GilParnon

Isn't it what should happen?

pythonmobile avatar Nov 11 '23 18:11 pythonmobile

That's the result for intersection, the difference should look differently. @GilParnon did you find the error? Can you provide a minimal working example?

flabowski avatar Nov 13 '23 09:11 flabowski