Grasshopper

algorithmic modeling for Rhino

Hello there, I need help with this:

I have an interpolated curve which is divided in X segments. In each point of the division there is a circle, orientated according the curve normal.

The problem is that I´m trying to place in the same points a set of vertical planes that, at the same time, follows the curve… But it doesn’t work. The orientation of the sequence of planes changes several times. The final idea is getting the angle between the plane of the circle and the vertical plane in each point.

Thanks in advance.

Views: 3917

Attachments:

Replies to This Discussion

Hi.

Is there any reason you shouldn't use "Perp Frames" component?

I've tried it before and is not exactly what I need, but it will be usefull nontheless. Thanks for your aswer.

You should use the [Perp Frames] component (as Hyungsoo said) because it has the option of aligning planes activated. But if you need it, you can align planes using [Align planes] with a plane as reference, or [Align plane] with a vector as guide (will be the X axis).

Attachments:

How I didn't think you could use one plane to align all the others! (it's so obvious). That will be very usefull. 

But! it is not exactly what I was looking for.

Thank you man :)

I've got a partial solution: For making a vertical plane that follows the curve, I took the tangent vector at division points and decomposed it. Then I created another vector using the X and Y values, but setting the Z value to 0. Then use [adjust plane] with the new vector and VOILÀ.

BUT... (always a catch) all the planes are rotated. 

How do I get the Y axis point up?

Thanks 

Attachments:

I took each of your perp frames, calculated the difference between the y axis of the plane and the global z axis, then using that angle to rotate the plane. I think this is what you wanted to achieve but I'm not entirely sure. 

Attachments:

Nice! Very good idea. 

Tnx :)

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