Transformation
-
I am Working with component Instance. In that I am using the Transformation object and I am calling the method "transformation.to_a" method and it will return a 16 element array.
So I want help to identify the value returning in the array. I am not exactly understand values that is in the array.
Thank you -
There are several threads discussing Transformations - do a search on SCF.
You can already access several properties without looking into it as a matrix.
e.g. t.origin, t.zaxis etc
The rotation and scale parts of the matrix are complicated as they interact with one another...
Here are a few pointers/links etc, but search the forums for more details... -
In addition, if you are not already knowledgeable on the subject of 3D transformations, you should do some reading up on the web. SketchUp uses a conventional representation, but the math can be quite confusing...
-
You might find it useful to use the Transformation Inspector to visualize the matrix:
http://extensions.sketchup.com/en/content/transformation-inspector
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