Grasshopper

algorithmic modeling for Rhino

Hi all,

I want to write a script that creates mullions for a facade. The input is a polyline. The problem is that when the line (the segment of the input polyline) is divided by a length, the next segment can be reversed in the direction and a small segment is left. I want to test the following segment and if it is reversed in the direction, then flip it, so that polyline is flowing in one direction. Well, the image explains it better.

Thanks!

Views: 456

Attachments:

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service