Add missing "Part" import to Arch Fence

This commit is contained in:
furti
2019-05-14 17:22:53 +02:00
committed by Yorik van Havre
parent 281a370815
commit fa504cc612

View File

@@ -179,7 +179,7 @@ class _Fence(ArchComponent.Component):
return shapes
def clipSection(self, shape, length, clipLength):
print("length: %s, clipLength: %s" % (length, clipLength))
import Part
boundBox = shape.BoundBox
lengthToCut = length - clipLength