Grasshopper

algorithmic modeling for Rhino

Hello there,

Is it possible to divide a curve with 2 distances arranged alternately?

For example a 100 meter curve is divided by 10m & 20m alternately.

Such that the result is 8 divisions points and 4x10m long segments & 3x20m long segments.

Attached is the image of my explanation

Regards,

Agneesh

Views: 2215

Attachments:

Replies to This Discussion

Try this for starters.

Attachments:

Champion!!!

so it was evaluate not divide

thanks very much Chris

Also have a look at Dash Pattern, it may be of help.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Dash pattern per David's suggestion.

You don't have to repeat the patter, it repeats by itself. So just using a pattern of {10,20} will do it. The short segments will end up in [S], the long ones in [E]. You can then interleave them using Weave, or indeed use zero length segments to put everything into [S], in which case your pattern looks like {10,0,20,0}

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Yes, Dash also did the same job.

thank you Chris and David.

this whole exercise was was forming a Brick Wall with Flemish bond and then play around with header courses.

This helped me to create a Desired Flemish bond.

Thank you

Hi All,

Is it possible to re-parameterize this curve or apply percentage values as opposed to the lengths (let's say they are unknown)?

i.e. 10% - 20% dash distribution of overall length?

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service