Grasshopper

algorithmic modeling for Rhino

Hi,

I need to divide a curve multiple times, lets say, by length of 1cm each segment, then by 2cm each segment, and have multiple lists of points.

I ve been working on a definition that connects dots with lines along an arc. So as I increase the length of the divide, the group of lines becomes steeper. I need to be able to vary the amount of group of lines in my definition.

Something like this:

Right now the divide length component is dividing the lines the last value, instead of the 5 I inputted form the series.

I guess I could just copy paste the whole def and vary the division number. I was wondering if there was a better way to do this.

Thanks in advance for any help.

Views: 1505

Attachments:

Replies to This Discussion

Hi ShynnSup, have a look at the attached, using the slightly different approach of evaluating the curve at a parameter instead of dividing it. Does this work for you?

I forgot to attach the file!

Attachments:

Hey thanks for taking the time, thats a really smart way of doing it. Unfortunately, I kinda lose the control over the points separation.

Before I could increase the angle slider and so all lines would go

Slider at 1 -> 1°, 2°, 3°. 

Slider at 2 -> 2°, 4°, 6°

Slider at 3, etc.

And when the angle was too much that it surpassed 90 before connecting the 20 points, that line was not created. Maybe using a series instead of a range...mmm

Everything helps, thanks

Ok, this one takes a minimum and a maximum angle variation, removing values above 90.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service