Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
Retreive world coords nested component InputPoint
-
Hi,
I want to make a tool using InputPoint. On mouse click I select a face, works ok.
But I am not able to get the worldcoordinates if the face is in a nested component. I am puzzled as how to use the transformations. A simple example would be appreciated.
Regards, Jur -
InputPoint returns the transformation, if any, for the face you clicked on. Simply apply that tranformation to the vertices of the face to get the real world coordinates.
rwc = @ip.face.vertices.map{|v| v.position.transform(@ip.transformation)}
Advertisement