π‘ LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
Rotation of Component Axes with Ruby
-
Hi Guys,
There are quite a few threads on the forum concerning the translation of a component's axes, but I can't find any information on how to rotate them, while retaining the original orientation of the component itself. I've read through the API reference on vectors, but as a beginner I must admit to being rather flummoxed.
I have models (of cabinets) comprised of flat panel components and would like to be able to extract the co-ordinates of their face details as if each panel were flat on the X/Y plane (vector [0,0,1]) in order to generate simple GCode for CNC.
Any ideas?
Thomas
Advertisement