mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 10:57:49 +00:00
Fixed bug for x, y, z calculation
This commit is contained in:
committed by
Bruno Perdigão
parent
eb0ed7fe6b
commit
2d7866570e
@@ -517,6 +517,7 @@ class PolylineDecorator:
|
||||
|
||||
rot_mat = Matrix.Rotation(angle_rad, 3, rot_axis)
|
||||
|
||||
ref_vec.normalize()
|
||||
coords = ((ref_vec @ rot_mat) * distance) + last_point
|
||||
|
||||
x = coords[0]
|
||||
|
||||
Reference in New Issue
Block a user