Grasshopper

algorithmic modeling for Rhino

sort plines by x coordinate (inorder to loft them)

hey,
i got another little problem. i have a set of 100plines that i want to loft. but it doesnt work the way i want it (as u see in the pic). i think i have to sort out the curves by x-coordinate to be able to loft them correctly. picked a point on the curve, decomposed points, selected x-output. but how to arrange the curves now from -n to +n?
cause my list looks like: -90,-80,-70,10,20,30,-60,-50,-40,40...
im so sorry but i have no idea, and unfortunately no time :(

thx in advance
michael

Views: 968

Attachments:

Replies to This Discussion

Hi Michael,

The Sort component has a feature that allows you to sort a second list (or even more) based on the vales of a different list. If you decompose a point in you pLine and use the X values to sort the order of the pLines you should get better results

See also the [Sort Points] component.

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