algorithmic modeling for Rhino
I'm mapping geometry from other software to Rhino and the other way around.
I wonder how to get from a python component the existing transformation matrix of a already created object (mesh and Brep). I mean it referenced to the world reference frame.
Thanks in advance
Tags:
Hi Peter, thanks for the quick feedback. That is a very interesting method. I will also use it later. But for using it, as well as many other methods, (as far as I understand) I need to already know the matrix(Transform) of the created geometry. (see Parameters) What I need is, after creating a Brep or a Mesh, to get its matrix in referece to the world reference frame.
Er ... hmm ... this Method RETURNS the trans matrix: hence the out.
I use this frequently when working with instance definitions ... I mean ... InstanceObject types of objects (that are placed due to some trans Matrix applied to some instance definition).
Like:
This code in particular is used in order to manage nested instance definitions (what is referenced where, with what nesting depth, who owns what blah, blah).
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by