generative modeling for Rhino
I had an initial workflow in Rhino of taking 5 curves, lofting them, then flowing the loft along a curve (Flow) to get my final result. I was able to recreate the final model in Grasshopper by distributing the profiles along the curve and then lofting that, but I'd really like to be able to use flow along curve (Flow) so I can place the profiles in a non regular fashion. The method I ended up with utilizes PFrames which only allows regular divisions. I'd much rather be allowed to "weight" the profiles by moving them along the curve by hand (or integer value).
Thank you very much for your help. That is a huge step in the right direction. Unfortunately when I applied that workflow to my geometry, one of three things happens.
1. I cannot use a value of 100% of the curve length to place my final section. I need to make it 99.99% of the length or the script breaks.
2. If I attempt to simplify the curve (there are two in the below project, one with 58 control points, this is the one that will not work if simplified) the script breaks.
3. If I redraw the curve or draw another curve (the second curve with fewer control points in the attached file for example) I cannot get the profile to loft along the entire curve even though the values that are being generated seem to be correct.
I feel as if I am missing something simple. could you please take a look at my script?
Thank you very much.
I was assuming that perp frames were being placed along the curve according to a length parameter, not the domain parameter. This is problematic because if I rebuild the curve or select a new curve, the domain value changes and therefore my sliders no longer give me valies that relate to the length of my curve.
I am thinking I can either extract the domain value and use that to multiply by sliders of values 0-1 (percentages) or I can find a way to do the perp frames based on length and not domain.
I don't know how to do either of those things.
Ok, I figured it out. I used the domain component tool to extract the domain value, then multiplied it by value sliders from 0-1.
Thanks for the help again, Chris.