Visose, That worked. You are a man of much knowledge.
Can you explain the "reparameterize" and the "domain" of the curves any further? Thanks much, Chris On Jan 15, 7:29 pm, visose <[email protected]> wrote: > Right-click on the curve component and check 'reparametrize'. It > should normalize the domain range from 0 to 1. > > On Jan 16, 1:22 am, Chris Wilkins <[email protected]> wrote: > > > > > Baldino, > > > I tried building your solution (since I hadn't used the Random > > component yet), and found a problem when there are more than 3 control > > points on the curve. I found that the domain of the curve rises when > > more control points are there, and the Evaluate Point on Curve > > component would only divide a portion of the curves. Here's a pic of > > that: > > >http://groups.google.com/group/grasshopper3d/web/RandomDivideVB1.jpg > > (I crossreferenced the input in the last component to show the five > > curves with same random values) > > > The domains are listed under each curve and you can see how the > > affected portion is shorter when the domain rises over 1. > > > I couldn't find a GH component that output the number of control > > points, so I tried out the VB component (finally). I got the domain of > > the curve that way and multiplied the random numbers by the domain to > > divide the whole length of the curve. Here's the two additional > > components: > > >http://groups.google.com/group/grasshopper3d/web/RandomDivideVB2.jpg > > (I could only make it do one curve at a time without more thought). > > > Chris > > > PS. I have no idea if changing the degree of the curve will mess this > > solution up. I had no idea what "domain" of curve was before this. > > > On Jan 15, 12:37 pm, baldino <[email protected]> wrote: > > > > this will > > > work:http://groups.google.com/group/grasshopper3d/web/divide_crv_randomlen... > > > > On Jan 15, 6:15 pm, Alvin <[email protected]> wrote: > > > > > Hi, > > > > > I'm just getting into Grasshopper and need some initial help. > > > > > I would like to divide a curve into a certain # of segments, with each > > > > segment being a random length. I cant see how to any of the functions > > > > in the curve>division section of grasshopper can do this. Little help > > > > please? > > > > > thanks much, > > > > > Alvin- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
