Grasshopper

algorithmic modeling for Rhino

Is there a simple way to convert curves to arcs like the function in Rhino?

Thanks
Vern

Views: 4325

Replies to This Discussion

Hi Vern,

if the curve is arc-shaped just plugging it into an Arc parameter will convert it. If not, then there's no component that fits arcs to freeform curves.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

David,

I have always wanted a method to fit arcs to freeform curves. It would be great if one could control the 'resolution', i.e. number of arcs used to divide, while seeing the resulting maximum deviation and at the same time also set the continuity (G0, G1, G2) as a parameter. 

I know that this can only be solved through an iterative process. I have delibrated stepping into the world of Galapagos with this problem. Do you think it would be a good problem to explore using Galapagos? I have never used it before but would love to use this as an excuse.

There was a discussion on this a while back...

http://www.grasshopper3d.com/forum/topics/convert-nurbs-curve-to-arcs

Thanks Taz. 

Funny, it was exactly one year ago!

I am not good at coding which is why I havent attempted this myself. But I have always wondered if this was a good problem for Galapagos. 

The Rhino _Convert command will already do this, I suppose it would be easiest to use that algorithm somehow, but I don't know whether its publicly available.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Okay, I guess for now I can just use the Function in Rhino until there is a solution for this in Grasshopper. Thanks for the input guys.

Vern

Hello David,

Is there any chance to get more information about the algorithm inside the _Convert command ? (name ? author ? code ? paper ?)

I would like to know if the function gives an optimal or optimized result and if others algorithms could give better results.

Thanks,

Lionel

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service