Grasshopper

algorithmic modeling for Rhino

Hi guys,

I'm hoping someone can help. I have a series of intersecting surfaces that are the same width. What i'm trying to do is rotate each surface around its centre line axis until the edges of both surfaces intersect which will only happen when the angles are supplementary. I can rotate them manually which gets me pretty close but I have over a thousand to do so it would be great if there was a formula for it.

I have attached a rhino file that shows two intersecting surfaces as an example of what I am doing.

1 -2 is the axis of the first panel which would remain stationary.

2 -3 is the rotation axis of the second panel which I need to rotate until the two surface edges intersect at points 4 and 5.

Is it possible to snap the surface to this position or at least show when the two panels are completely intersecting?

Any help or advice would be greatly appreciated,

Thanks

Enda

Views: 645

Attachments:

Replies to This Discussion

Try this

Attachments:

Hi Bruno,

Thanks for getting back to me and for helping. I just took a look at the attachment. The problem with always having the edges intersecting is that as you adjust the parameters it alters the axis of rotation from 2-3. Rather what I need is a way of rotating the panel around a fixed axis 2-3 that will automatically rotate until it's edges intersect the other panel's edges or that will indicate when that intersection occurs. It should only be at one point of its revolution that this occurs. 

Is that possible?  

Is what you are after the intersection of a cylinder with the edge of the other surface?:

Hi Daniel,

Thanks for your response. I didn't actually realise that the intersection point would be shown by a cylinder. Thanks. What I am actually trying to do is form a surface along a curve that demonstrates the behaviour of paper (or in this case wood veneer). So I divided the curve into a number of segments and connected those points with a polyline that I then split and formed a surface through each. My plan was to rotate these to see where they intersect, which based on my understanding, would give a planar approximation of how paper would follow the curve (as in the intersection lines would provide supplementary angles that if unrolled would be a straight strip, which is where I will be starting from when I begin making the piece)

I imagine that its a rather convoluted way of going about it but i'm not sure how else to approach it.

I've attached the files of where i'm at with it.

Any help or advice you could offer would be great.

Thanks,

Enda

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service