algorithmic modeling for Rhino
thanks taz for the reply and the info about sandbox. looks very usefull.
Actually I was looking before alot at your post here:
http://www.grasshopper3d.com/forum/topics/q-specific-pairings-from
and here:
http://www.grasshopper3d.com/forum/topics/finding-the-neighboring-c...
Your posts helped me a lot to get to the point where I'm now. But still I'm trying to fix the problem posted above. I need to know for every surface in a brep the angles to the adjecent surfaces. This works almost fine and the third vector w helped alot to decide which direction to measure. But due to the strange geometry of srf 1 the centerpoint lies very high and once the angle between uw and vw is >90° and on the other srf <90°. Therefore I got at this points both angles.
I thought about to filter this points by measuring also the angles between u and v to a reverse vetor of w (lets call the reverse w'). If I got then two different values for uw and uw' I found the positions where the angles measuring is not correct.
Or is there a smarter way to do it?
Could I ask, if you could share your old grasshopper file you created here:
http://www.grasshopper3d.com/forum/topics/q-specific-pairings-from
Thanks!
Hi Michael!
That's right! Pay attention on rounding errors e.g. for checking orthogonality use Abs(DotProduct) < Tolerance instead of DotProduct == 0.
For this problem we don't have to check vectors for parallelity. We use the scalar product to determine if an angle is sharp or obtuse (see Hannes' post). Instead of multiplying the normal vectors we have to multiply one normal vector with a vector that connects both faces.
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