algorithmic modeling for Rhino
This appears in the Common SDK as
Curve.CreateBooleanDifference Method (Curve, IEnumerable(Curve))
When I go to use it there is only the method available which uses two closed, planar curves.
What I've got:
Private Sub RunScript(ByVal rib As Curve, ByVal notch As List(Of Curve), ByRef A As Object)
Dim notched As curve
notched = curve.CreateBooleanDifference(rib, notch)
A = notched
End Sub
Obviously comes back as 'cannot convert a 1-d array of curve to curve'
What am I missing? (I'm working in rhino5, version 8.0066)
Tags:
Hi David,
which version of Grasshopper are you using?
This seems to be working here (a sample is attached).
Thanks,
- Giulio
________________
giulio@mcneel.com
Was in 8.0066! Still am but it certainly works now. Don't know why, but thanks anyway.
I thought it was an A minus B (B being a list) but it returns all of the 'pieces of difference' so to speak. Luckily the A section is returned at the start of this list and works for my purposes.
Thanks again,
David
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