Grasshopper

algorithmic modeling for Rhino

Hi All,

A bit of a beginner questions here as I'm still getting to grips with Grasshopper;

I'm currently using Grasshopper to do my university dissertation, and I've been having some difficulty using the polyline/line functions: is there a way to divide a polyline into lines of equal lengths? - The important part being that they have to be individual lines

I've explored the possibility of using the 'divide curve' and 'shatter' components, but they give polylines/points instead of discrete lines

Any help would be greatly appreciated,

Thanks,

Amos

Views: 453

Replies to This Discussion

Say you have a polyline consisting of two segments. Say one is 3, one is 5m long. How would you divide those and get only 2m long segments?

If the exact form of the original polyline doesn't matter, you can use the component "DivideDistance". Then PLine the resulting list of Vertices, Explode to get all the exact length line segments.

Great!

This was exactly what I was looking for, you've helped solve something I tried all afternoon to do, many thanks!

Amos

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