algorithmic modeling for Rhino
Hi
I need some help. I want to use the circle packing component that urban future organisation wrote for Rhino 4 in Rhino 5. You can find that definition here: http://www.au-urbanfuture.org/blog/?p=778.
I'm just having trouble updating the code. The one line I don't know what to do with is line 158:
If (RhUtil.RhinoPointInPlanarClosedCurve(tPt, bound)) Then
Can anyone help?
The entire code is attached.
Tags:
bound.Contains(pt)
--
David Rutten
david@mcneel.com
Tirol, Austria
Hi Griffin,
I am trying the same thing and can not figure out how to reference RhinoPointInPlanarClosedCurve.
I don't seem to find this function anywhere in the SDK.
How did you update this block?
If (RhUtil.RhinoPointInPlanarClosedCurve(tPt, bound)) Then
Dim tCircle As New OnCircle(arrPoint(k), arrRadius(k))
arrCircle.Add(tCircle)
End If
Thank you,
Oliver
Hi Oliver,
If (bound.Contains(tPt) Then
arrCircle.Add(new ArcCurve(new Circle(arrPoint(k), arrRadius(k)))
End If
However if arrCircle only contains circles, I'd recommend against using ArcCurve at all. Just store the circles directly.
Thank you 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