[Arch] ignore extrusion direction vector length

This commit is contained in:
hlg
2020-06-05 17:42:01 +02:00
committed by Yorik van Havre
parent 074064486c
commit a48b74d8a5
3 changed files with 4 additions and 3 deletions

View File

@@ -818,7 +818,7 @@ class _Structure(ArchComponent.Component):
extrusion = obj.Tool.Shape.copy()
else:
if obj.Normal.Length:
normal = Vector(obj.Normal)
normal = Vector(obj.Normal).normalize()
if isinstance(placement,list):
normal = placement[0].inverse().Rotation.multVec(normal)
else: