Grasshopper

algorithmic modeling for Rhino

selecting 2 lines from list with combined specific distnace

Hello -

I have 2 points that are 60 inches a part. I want to set up a definition that finds a point in space such that 2 new lines added together equal 80 inches between those two points. I have divided a circle and been able to draw the two lines and cull out the correct distances but do not know how to pull out those two original lines - the one from the starting point to the circle division + the circle division to the end point.

To recap - I'm looking for a way to have 2 lines = 80" when the direct path between two points is 60". I do not want the 2 new lines to be equal in length but variable lengths.

thanks!

_patrick

 

Views: 414

Attachments:

Replies to This Discussion

Hi Patrick,

By definition, any point on an ellipse with your two points as foci and a semi-major axis of 40 will satisfy your requirements. I'm not sure if you wanted your points to lie on the circle but in any case, the intersection of the ellipse with the circle will give you two points. I employed a user object Ellipse From Two Points available here: http://www.grasshopper3d.com/forum/attachment/download?id=2985220%3...

Attachments:

Ethan - Math... right... thanks for taking the time!

_patrick

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