Fix script

This commit is contained in:
wmayer
2012-12-06 14:08:50 +01:00
parent 27ba683559
commit 98f780e5f9

View File

@@ -6,7 +6,7 @@ import Mesh,Part,MeshPart
faces = []
mesh = App.ActiveDocument.ActiveObject.Mesh
segments = mesh.getPlanes(0.00001) # use rather strict tolerance here
segments = mesh.getPlanarSegments(0.00001) # use rather strict tolerance here
for i in segments:
if len(i) > 0: