Grasshopper

algorithmic modeling for Rhino

Hello beautiful helpful people 

I am trying to produce a triangulate truss, but I cannot for the life of me work out the correct offset (either planar of vector based) for my tween curve. 

I have got a base catenary which has been NU scaled (I would like to keep the vertical trusses vertical at the point they come together but with a slight gap (see right viewport)) 

I am wanting to offset the points tween curve proportionally to the distance between the the two catenaries at that point, (i.e. produce a line between the control point of the base curves and then offset the points of the tween curve by a multiple between 0<1 of that length, then cull and triangulate these points to produce a truss. However offsetting it simply in the xy plane is not my desired outcome and I want each point to have the correct vector. 

In essence I am wanting to get a vector 2pt between the control points of base curves and then find the normal to these vectors (I think/hope)

Any help would be much appreciated 


J-P

Views: 770

Attachments:

Replies to This Discussion

Aha - I am getting close, I have tride to deconstruct the planes and then use the x component to construct new planes, however they do not all align,
Pronlem solved - although I can't see where to attach the updated file.

Solution -

construct plane using the tangents at the mid points of connecting lines, cross product and using length of connecting lines and vector amplitude it has done the trick

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service