generative modeling for Rhino
Hi all.
It seems to me that this is not an easy one.
I have a given spline. I would like to create a series of lines and arcs that approximates that spline. This is a baselilne of a curtain wall that I need to optimize a tad.
My constraints are.
1) I would like to limit the number of unique arcs. (five for instance)
2) Line segments should be a set lenght
I could only see this happening with something such as an evolutionary algorithm.. Any suggestions or hints to how to make one, or does anybody here have other good ideas for this type of problem.. it seems as if others would have had that problem before me...
thanks
Tags:
Permalink Reply by Giulio Piacentino on January 3, 2012 at 3:15am Hi Jes,
maybe this is not sophisticated enough, but did you see the _Convert Rhino command?
- Giulio
________________
giulio@mcneel.com
Permalink Reply by Jes Tonsgaard on January 3, 2012 at 3:18am Hi Giulio, how are you?
I did see that command which is not far off.
However, with that I have no way of controlling the amount of unique arcs. As this will eventually become curved glass panes, I think someone would like me to optimize that further or it will cost a billion to manufacture... :-)
Permalink Reply by Giulio Piacentino on January 3, 2012 at 5:44am Oh I think I understand now the '5 unique arcs' constraint, in the sense that they will be then used several times. I do not not have specific Galapagos suggestions about this, though...
- Giulio
________________
giulio@mcneel.com
Permalink Reply by Dedackelzucht on January 3, 2012 at 6:38am Hey Jes,
I have something for you. Maybe you can adapt to your problem.
Basically I changed an old costum component (I have placed it here a while ago) which turns an spline into an number of arcs. I just put some components in it to change this arcs into as much as possible equal radius and draw a new polyarc.
Have fun and ask if you do have questions!
Best Regards
DeDackel
Permalink Reply by taz on January 3, 2012 at 5:23pm Discussion that might be useful, though it may also be related to Giulio's suggestion:
http://www.grasshopper3d.com/forum/topics/convert-nurbs-curve-to-arcs
Permalink Reply by Daniel Coll i Capdevila on September 25, 2012 at 5:06am Hi all,
from DeDackel's example though does anybody have any suggestions to keep the curvature continuity?
© 2013 Created by Scott Davidson.
Powered by