Grasshopper

algorithmic modeling for Rhino

Hi, I'm new to grasshopper

I'd like to divide a curve by a fixed length, but all I'm able to do right now is divide grasshopper so that it turns out equal lengths. The way I'm looking to do it, there would be a segment that would be unequal to the rest

Views: 15591

Replies to This Discussion

There are five components that can be used to divide curves easily:

  • Divide Curve: divide a curve into a whole number of segments. The segments (as measured along the curve) are all of equal length.
  • Divide Length: divide a curve into segments with fixed length. The segments are all measured along the curve and the last segment is likely to have a different rest length.
  • Divide Distance: divide a curve into segments whose 3D distance from start to end is always the same. It's very similar to Divide Length, but instead of measuring the length along the curve the length is measured in 3D.
  • Dash Pattern: divide a curve into an alternating pattern of dash segments. Distances are -again- measured along the curve.
  • Shatter: divide a curve into custom segments by providing the splitting parameters. Bit harder to use, but very flexible.

--

David Rutten

david@mcneel.com

Hello David!

I need to divide the curve into length of 4300mm and place these rectangular blocks along the curve.

I tried to resolve it but the blocks are overlapping.

Please help.

Thanks!

Darshana.

Attachments:

Hello David!

Is there a way to contain the boxes within the 2 lines? PFA for the screenshot of the file.

Some boxes being left aligned and some being right aligned, depending on the curve.

Please help.

Best,

Darshana.

Attachments:

If you want to divide the curve into straight segments of a specific length except for the start and/or end segments, I just posted a script that sort of seems to work, here:

http://www.grasshopper3d.com/xn/detail/2985220:Comment:1049414

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service