[Plugin] Exploded arc lines to arc

[Plugin] Exploded arc lines to arc

Postby nobnob » Thu Aug 13, 2009 9:13 am

I create a script that converts lines (exploded arc curve) to an arc curve.
It also can convert offseted arc and followmeed arc.

Special thanks to Chris Fullmer! You may take, rebuild and release this as yours.
0
Last edited by nobnob on Fri Aug 14, 2009 4:04 am, edited 1 time in total.

nobnob 
 

Re: [Plugin] Exploded Arc Centerpoint Finder

Postby Ken » Thu Aug 13, 2009 10:05 am

nobnob wrote:I create a script that converts lines (exploded arc curve) to an arc curve.
It also can convert offseted arc and followmeed arc.

Special thanks to Chris Fullmer! You may take, rebuild and release this as yours.


Don’t want to seem ungrateful, but am I being a jerk?

Shouldn’t the menu’s item name for a script have some relationship to the script’s function?

I renamed the menu item’s name to “Unexplode Arc” for this particular script, so at least I would have some hint what the menu selection was suppose to accomplish. And why is there a menu item of “ni” and a submenu item “Lines to Arc”? To me it seems unnecessary to have to make two clicks to accomplish one action.

One time I had a script that the menu item had no relationship to the script’s name, another two character menu item's name. I had no idea what the script was to do, to what script the menu selection was referring to, and could not find the script by doing a search for the menu’s items name in my list of scripts. Finally, I did come across the script and deleted the darn thing as it was no longer needed.

All and all a very useful script and thanks for your time and effort and I am very gateful, Nobnob.

Ken
0
Fight like your the third monkey on Noah's Ark gangway.
User avatar
Ken 
Premium Member
Premium Member
 

Re: [Plugin] lines2arc.rb

Postby Jim » Thu Aug 13, 2009 2:26 pm

Split into new topic.
0
Hi

Jim 
Global Moderator
 

Re: [Plugin] nilines2arc.rb

Postby nobnob » Fri Aug 14, 2009 4:02 am

Oops! I hesitate this is on top topic, since this script has many lines that 'Exploded arc centerpoint finder' Chris wrote.

I use many tiny scripts that I wrote. That's why I use submenu. It's only for me. You may change lines of this script for menu placing as Ken did.

Thanks Ken and Jim.
0

nobnob 
 

Re: [Plugin] Exploded arc lines to arc

Postby purplewind » Mon Aug 17, 2009 10:39 am

Thanks, but what’s the difference between this one and the "weld.rb"?
0

purplewind 
 

Re: [Plugin] Exploded arc lines to arc

Postby Gaieus » Mon Aug 17, 2009 11:04 am

A welded series of lines is still "just" a polyline. Arcs (and circles and polygons) are special entities in SU with a couple of special attributes and functions (like they can have centerpoints while a "simple", welded polyline cannot)
0
User avatar
Gaieus 
 

Re: [Plugin] Exploded arc lines to arc

Postby nobnob » Wed Aug 19, 2009 12:12 pm

Thanks, purplewind and Gaieus.
I often use 'Point at Center' in context menu, since I'm piping designer. That because I hardly use 'weld.rb' and I often use 'clf_arc_centerpoint_finder.rb', 'centerpoint.rb' and 'nilines2arc.rb'. If the circle function can specify its normal vector via drag as the rotate function, then I don't need 'nilines2arc.rb'.
0

nobnob 
 

Re: [Plugin] Exploded arc lines to arc

Postby mariocha » Sat Jul 09, 2011 12:46 pm

This is useful when having to send a SkUp model to a CAD soft that needs arcs such as for CNC operation.
Works fine on circles.
Pity it does not work well on offseted arcs. I often get an error message "All of edges must have the same length", which is not often the case with an arc, the first and last segment being trimed more often than not. :?
0
Mario C.
Certified SketchUp Trainer, QC CA.
Every rule has exceptions, but some.
User avatar
mariocha 
Premium Member
Premium Member
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: Majestic-12 Bot, McGordon and 8 guests

Visit our sponsors: