[Plugin] Equal Segments
-
This pair of tools draws fixed length segments.
One draws a straight section and then a given radius 'arc' section each with a specified number of segments - with all segments the same length.
The other draws an 'arc' of a set sweep, segment length and number of segments - calculating the radius for you...
Place the .rb files in the Plugins folder and restart Sketchup...
You use each by entering its command in the Ruby Console + <enter>
TIG.equalsegs
and then enter values in a dialog.TIG-equalsegs.rbor
TIG.equalsegssweep
and then enter values in a dialog.TIG-equalsegssweep.rb
If you MUST have a menu item add this code between the last two 'end' lines in the scriptmenu=UI.menu("Draw").add_item("TIG-equalsegs"){TIG.equalsegs()}unless file_loaded?(File.basename(__FILE__)) file_loaded(File.basename(__FILE__))
You can change 'Draw' menu name to whatever other menu you want... and obviously you change 'equalsegs' to read 'equalsegssweep' for the other tool !
-
You're too kind, TIG!
-
and for select all segments with a length given By Chris Fullmer
Advertisement