algorithmic 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:
Hi Jes,
maybe this is not sophisticated enough, but did you see the _Convert Rhino command?
- Giulio
________________
giulio@mcneel.com
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... :-)
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
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
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
Hi all,
from DeDackel's example though does anybody have any suggestions to keep the curvature continuity?
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by