Arch: Lowered tolerance of planar profiles for Arch structures

This commit is contained in:
Yorik van Havre
2018-12-27 12:29:03 -02:00
parent 407dc25dba
commit f3a44bed80
2 changed files with 4 additions and 4 deletions

View File

@@ -620,7 +620,7 @@ class _Structure(ArchComponent.Component):
if obj.Base.Shape.Solids:
return None
elif obj.Base.Shape.Faces:
if not DraftGeomUtils.isCoplanar(obj.Base.Shape.Faces):
if not DraftGeomUtils.isCoplanar(obj.Base.Shape.Faces,tolerance=0.01):
return None
else:
base,placement = self.rebase(obj.Base.Shape)