Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Path
- import Part
- sel = Gui.Selection.getSelectionEx()[0]
- obj = sel.Object
- shape1 = obj.Shape
- area = Path.Area(FitArcs=True, Offset=1.0)
- area.setPlane(Part.makeCircle(10))
- area.add(shape1, op=0)
- Part.show(area.getShape())
- i=0
- while True:
- shape = area.getShape(i)
- if shape.isNull():
- break
- Part.show(shape)
- i+=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement