algorithmic modeling for Rhino
I am curious if there are any new methods for finding angles between faces of a brep. Currently I am using sandbox to find adjacent faces and creating vectors from the shared curve to each face center point to determine the angle. This method takes a bit of data juggling and I think there must be a simpler way... Any ideas??? THANKS!!
Tags:
wrong post answer, sorry thought you were wondering about meshes!
best
alex
Anyway that's rather easy to do with ... er ... you know what I mean I do hope, he he.
Notify if you want the Dark thingy.
best, Peter
Old school (math)...
http://www.grasshopper3d.com/forum/topics/q-specific-pairings-from?...
XD sorry for late reply.
Take a look at this.
Some surface can have a complex shape thus the central point of the face can be misleading to the solution.
Every surfaces have perimeter/edges going counterclockwise (if you look the surface from the top, normal positive), this is useful and necessary here.
Given a location on an edge, find local (closest point) surface normal and local edge direction (tangent/vector). By doing vector cross product between those two vectors you can achieve a vector always pointing inside of the surface.
Then you can correctly find the inside/outside angle of every brep edge.
My solution take samples everywhere (in the edges) in a brep.
Indeed, a bit noisy.
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by