algorithmic modeling for Rhino
Tags:
Hi Vincente,
thanks a lot for this component, works great! I´d like to create the loft between two offsets so I´d have the BothSidesOption. Or could it also work with a domain? But I am not really into Vb.net.Can you help me?
What would I need to do?
Thanks ,
Phillip
Private Sub RunScript(ByVal S As Brep, ByVal D As Double, ByRef B As Object)
Dim tol As Double = doc.ModelAbsoluteTolerance
Dim breplist As New list(Of brep)
breplist.add(s)
breplist.add(brep.CreateTrimmedSurface(s.Faces(0), s.faces(0).Offset(d, tol)))
Dim edgelist As New list(Of curve)
For Each brp As brep In breplist
For i As Integer = 0 To brp.Edges.Count - 1
edgelist.add(brp.Edges(i).tonurbscurve)
Next
Next brp
Dim lft(0) As brep
lft = brep.CreateFromLoft(curve.JoinCurves(edgelist), Point3d.Unset, Point3d.Unset, 3, False)
breplist.add(lft(0))
b = brep.JoinBreps(breplist, tol)
ok. managed by changing lines 3 and 4. thanks anyhow.
Any chance for an updated version for 0.9?
Thx fantastic
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