I’m entirely new to developing SketchUp extensions. I started developing one just today because I found out I need to do something that would take several hours to do manually - so I decided to learn how to use the Ruby API.
However right at the begining I’ve got into trouble: I want to create a tool that would convert the ordinary Cartesian (XYZ) axes into cylindrical or spherical axes. As you need to define the center first, it would be appropriate to use the internal Protractor tool / helper / input thingy.
It would look something like this:
I know FredoScale uses it so there has to be a way to use it in an extension, but I’ve been searching through the Ruby API specs for an eternity and still haven’t found it!
I’m a newbie so I’d appreciate an example with a few lines of code, thanks!