Grasshopper

algorithmic modeling for Rhino

Nurb Curve with Variable Piping and multiple Attractors

Hello, 

I am new to this and was constructing a nurbs curve from scratch. That was managed, however, using two attractor points (that are two of the control points) I wanted to create a variable piping that grows smaller in diameter as the length of the line to the control point grows shorter. I have two lists of lines from the two control points to points on the curve.

In order to do what I need to do, I reasoned out that I need to first of all select the shorter attractor lines that correspond to one point on the curve. I have two lists of lines and need to select the shorter between no. 0 on one and 0 on the other and the same for the rest. Any ideas or alternatives? 

Thank you,

Martina

Views: 952

Attachments:

Replies to This Discussion

Hello

I propose you that I used a "larger than" to choose the min length but it is also possible to use "bounds" and deconstruct domain to get the min, it will work with whatever points you have.

I also fed the pipe with the good parameter for the curve. And I put a loft, better looking !

Hope it helps

Attachments:

Thank you very much, I will try it out!

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