Grasshopper

algorithmic modeling for Rhino

Hi all!

I'm trying to orient geometry so that its A and B corner points are oriented along a given curve that gets divided into a number of points to which the corner points orient to, but I can't seem to do it correctly.

I would appreciate some help on this.

Thanks,

Ali

Views: 26886

Attachments:

Replies to This Discussion

I sort of fixed it. But one thing that bothers me is the fact that its tangent to the input curve. I wonder if there is a way so that the two corner points orient to points ON the curve. I posted the definition and a couple of screenshots.

Attachments:
You could move one corner to a point on the curve and then measure the angle between the other corner and another point on the curve, then rotate the geometry that amount.

If you want to be precise you could draw circles originating at the first corner that touches the curve with a radius equal to the width of the geometry (so that it would intersect with the unattached corner). Then you could intersect that circle with your input curve to find the exact point to measure the angle to. Then use two vector 2 point components to create your vectors and measure between them. Then rotate.

Hi Ali, I like Brians' idea with the circles (moreso since I already shattered the curve), but for now I did this:

Attachments:

Attachments:

update (i deleted the cull index and add a extend curve instead).

 

Your definition is good except one point..

 

I think there is no need for guide..

 

You can use t values (curve parameters) for finding correct intersection rather than distances to guides..

 

Anyway, extending curve is a good idea..

 

 

 

 

 

Attachments:

Hi, i have seen this screenshot but i can not find this component (please see a pic) in my grasshopper program. What is the name of component ?

Attachments:

Thank you Brian, Pieter, Manuel, and Jissi for your helpful inputs. I'm going to look up close to the definitions posted and respond soon.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service