π’ PlaceMaker | 25% off for February including new Google Earth data imports!
Learn more
Vector transformation ... whut?
-
Scenario:
A group, rotated off axis from the global model axis.Open the group, get the edit transformation, and try to transform vector (0,0,1) with the edit transformation:
t = model.edit_transform #<Geom::Transformation:0xf5b73a4> v = Z_AXIS.transform( t ) Vector3d(0, 0, 1)
Why does that return 0,0,1? I expected a vector rotated to match the active group's axis.... ???
-
Are you in edit mode for the group?
-
Never - my brain was being silly.
Advertisement