Get transformation of ON_Object


#1

Hi,
I’m making standalone 3DM to STL convertor. Current version renders each object at origin point (0, 0, 0) with no transformation has been applied. I’m trying to figure out where transofrmation object is stored for specific ON_Object class instance.


(Dale Fugier) #2

Other than ON_InstanceRef objects, ON_Geometry-derived objects to not have a transformation matrix. Their geometric properties identify their real world location.

Does this help?


(Dale Fugier) #3

I should also add that the standalone openNURBS toolkit will not mesh NURBS surfaces. So, unless the 3DM file contains cached render meshes, you are going to have to figure out how to generate them (in order to write them to an STL file).

http://wiki.mcneel.com/developer/opennurbs/limitations


#4

I will take that into account. Thank you for helpfull information.