algorithmic modeling for Rhino
Hi,
mathematically speaking, I don't know how to find a cross product between multiple lines (more than 2).
I tried using a geometric approach to go ahead:
given some triangular surfaces, i find the intersection line (blue crvs) between a sphere based in the common vertex of these triangles and the triangles itselves.
Once i have this surface I try to get the centre and connect it to the initial common vertex (violet crvs).
This line represents the most barycentrical line of this geometry.
The problems are:
1) Too heavy to calculate for hundreds of vertex, as I need to work with surfaces
2) The centre is not so precise, because of the optimisation that GH does in these super freeform surfaces.
How to get the centre using only the edges?
Thank you!
Tags:
Have faith and stay cool: the mother of all definitions (*) is under an extensive secret test program that guaranties despair and exhilaration in equal measures :
(*) only 3,56 divisions by zero, only 7,78 infinitive loops: what's not to like?
Crude but effective way to sample the triangles and extract the Centroid per surf division point:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by