Grasshopper

algorithmic modeling for Rhino

Question on Lines from points with relationship to distance

I have a grid of points on the XY plane in a point parameter, and I wanted to have a line from each point that's pointing to the Z direction. And there is another point (Point A) outside of my grid of points, the height of the lines from each point in the grid should relate to it's distance from Point A. Can someone help me with this problem? Can you.
Yan

Views: 222

Replies to This Discussion

Use the SDL line component to create your line. You know the start position (each Point) and the direction (Z vector). All you need to do now is set the length input as the relationship between the two points. The distance component will give you a number to plug in as a first go.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service