Grasshopper

algorithmic modeling for Rhino

Hi Everyone, I'm fairly new to GH and hoping you guys can help me with what is most likely a simple problem.

I am trying to create a line between two circles of different Z positions, based on their tangents in plan.  I am able to create the tangent lines when the circles are planar, but how do I isolate those points to create a line that stays connected once I adjust the height of the circle.

Thanks for any advice!

Views: 1074

Attachments:

Replies to This Discussion

Is this what you are after?

(Transform>Affine>Project)

Thanks for the feedback!  This is not quite, I want the line to go between the two circles.  Not a projected one.

In the image below, the purple line I drew in shows what I am trying to do.  The circles have a height difference of 10 units.  

You can take the end-points of the line and project them back onto the circle to create new lines that start and end at each circle. There will no longer be actual tangents of course.

--

David Rutten

david@mcneel.com

Or, slightly simpler:

sigh.... this isn't my day. Simpler still:

David, this is great, thank you so much!!  This is extremely helpful!!

Now more complicated:

You're a master arborist! Vicente FTW.

David,

Thanks again for your help!  Perhaps you can help me with my next step, I am struggling.

Is there a way to trim/shatter the circles based on those tangent points?

I would like to remove the section highlighted in purple, any ideas?  Thanks for all your help!!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service