rface(test_brep, test_surface, 0.1, curves_list, points_list)
and I get back:
1. Error (BC30311): Value of type 'System.Collections.Generic.List(Of Rhino.Geometry.Curve)' cannot be converted to '1-dimensional array of Rhino.Geometry.Curve'. (line 97)
2. Error (BC30311): Value of type 'System.Collections.Generic.List(Of Rhino.Geometry.Point3d)' cannot be converted to '1-dimensional array of Rhino.Geometry.Point3d'. (line 97)
Could anyone tell me what I'm doing wrong?
Thanks!…
th 6 branches and 96 values per branch.
How can I find the weighted values of each branch in the tree?
For each branch, I need to take each item and subtract it from every other item in the branch. Then take the length of the branch - 1 (95) divided by the sum of each subtraction. http://upload.wikimedia.org/wikipedia/en/math/a/e/7/ae79a689e288c866e2046eef70fe030c.png
I am able to do this by grabbing 1 branch and doing the calculations, but this requires me to flatten the list at points, which obviously will not work when I try to do the computation on the entire tree and not an isolated branch.
Attached is an image of the definition I built to compute the weight values for a specific branch.
Thank you.…