Grasshopper

algorithmic modeling for Rhino

Hi All,

I'm trying to automate making a ramp for modelling. I'm getting stuck on the need to grab the end point of an extruded curve, and the middle of it, in order to make a curve that cuts diagonally along it in order to create a ramp.

Anyone able to help?

Thanks in advance - attached.

Views: 1087

Attachments:

Replies to This Discussion

You don't need the middle point, just two corners of the surface:

Or:

Attachments:

Same code, fewer components:

Attachments:

Setting 'Reverse' on the 'Pt Y' input makes the ramp go the other direction:

Attachments:

Hi Joseph!

This is awesome thank you very much!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service