algorithmic modeling for Rhino
For i As Int32 = 0 To brp.Faces.Count - 1
faces.Add(brp.Faces(i).DuplicateFace(False))
Next
I seem to be similarly confused. As an example, I have a planar surface with a trimmed hole in it. I want to extract out the edge curves for both the outside edge and the interior edge.
I'm using this simple code
Private Sub RunScript(ByVal x As Surface, ByVal y As Object, ByRef A As Object)
Dim b As brep = x.tobrep
Dim edge_list As New list (Of curve )
For Each e As brepedge In b.Edges
edge_list.add(e.duplicatecurve)
Next
a = edge_list
End Sub
and I only get the outside 4 edges. I want to get the interior circle as well.
Your "Brep Wireframe" component correctly gives the 4 outside curves and the inside circle. What RhinoCommon command are you using to provide this functionality. I've tried "Brep.GetWireFrame", "Brep.Edges" and all I keep getting is the outside square.
This seems pretty simple but I can't find the right Brep function.
Let me know.
Thanks
Kermin
Oh Ok. That makes sense now.
Thanks.
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