[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

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement
