algorithmic modeling for Rhino
Hi all!
Having some problems pointing my surfaces normal in one uniform direction. I'm trying to generate an inner surface for this folded geometry (similar to a 'shell' operation) to eventually be left with separate panels. I'm starting with the intersection points at each of the surfaces corners. I'm thinking if i can find the 'average' vector direction at each intersection point I can use this to generate the intersection points for the inner surface (or outer)...
The problem is once I start to evaluate the surfaces that share each intersection point, their normal's appear to be pointing in different directions.. I have been through many discussions on the forum which have raised similar issues (including flipping curves and surfaces using guides) but having no luck resolving the problem. I have attached a definition showing my approach... Is there another way? can anyone help?
Thanks
Dean
Tags:
Dim srfl As New list(Of surface)
For i As Integer = 0 To x.Faces.Count - 1
If x.Faces(i).OrientationIsReversed Then
srfl.add(x.Faces(i).Reverse(0))
Else
srfl.add(x.Faces(i))
End If
Next
a = srfl
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