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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement