[examples] some cleanup
This commit is contained in:
parent
43ccd8de2f
commit
395244ee83
2 changed files with 5 additions and 7 deletions
|
|
@ -1,7 +1,5 @@
|
|||
import numpy
|
||||
from pyclipper import (
|
||||
Pyclipper, PT_CLIP, PT_SUBJECT, CT_UNION, CT_INTERSECTION, PFT_NONZERO,
|
||||
scale_to_clipper, scale_from_clipper,
|
||||
Pyclipper, PT_SUBJECT, CT_UNION, PFT_NONZERO,
|
||||
)
|
||||
p = Pyclipper()
|
||||
p.AddPaths([
|
||||
|
|
@ -12,8 +10,8 @@ p.AddPaths([
|
|||
], PT_SUBJECT, closed=True)
|
||||
#p.Execute2?
|
||||
#p.Execute?
|
||||
p.Execute(PT_UNION, PT_NONZERO, PT_NONZERO)
|
||||
p.Execute(CT_UNION, PT_NONZERO, PT_NONZERO)
|
||||
p.Execute(CT_UNION, PFT_NONZERO, PFT_NONZERO)
|
||||
p.Execute(CT_UNION, PFT_NONZERO, PFT_NONZERO)
|
||||
p.Execute(CT_UNION, PFT_NONZERO, PFT_NONZERO)
|
||||
|
||||
p = Pyclipper()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue