V3DTools
-
I have produced a very basic and simple plugin that attempts to reproduce some of AC3D's most basic features. Its functions: "Move To", "Size To", "Rotate" and "Faces from Edges". If you're interested you will find the thing in the new "Sketchup" section of my (free, of course) site http://www.tvi-sarl.com.
Beware, this is a bi-lingual site.Thierry
-
Hi there! Congrats on new plugin!
May I offer some advice:
Never ever use
.typename
to check for entity type. It's horrendously slow and I wish the API docs wouldn't be using it in their examples.
Detailed information here: http://www.thomthom.net/thoughts/2011/12/never-ever-use-typename/On a general note if you are new to SketchUp Ruby API development I recommend you have a look at these important points I wrote down: http://www.thomthom.net/thoughts/2012/01/golden-rules-of-sketchup-plugin-development/
It addresses common pitfalls - especially related to the shared environment of SketchUp Ruby plugins where all plugins share the same space. (I'd recommend you wrap all your script into a root module.) -
Thanks, Thomthom . I'll follow your advice.
Advertisement