ant to find all paths where exactly two items are the same like in branch {1}. How can I solve this in VB? Is there an easy "search in list" class or do I have to iterate over all items by myself ??
Regards Alex…
hino.Geometry.Point3d pt0 = new Rhino.Geometry.Point3d(0, 0, 0); Rhino.Geometry.Point3d pt1 = new Rhino.Geometry.Point3d(10, 10, 10); Rhino.Geometry.BoundingBox box = new Rhino.Geometry.BoundingBox(pt0, pt1); Rhino.Geometry.Brep brep = box.ToBrep(); myMesh = Rhino.Geometry.Mesh.CreateFromBrep(brep); // Line 7
return myMesh;
}
Line 7 generates an error: Error 1 Cannot implicitly convert type 'Rhino.Geometry.Mesh[]' to 'Rhino.Geometry.Mesh'
Feel like I have to convert the type myself but have no idea how to do so.
Thank you…
Added by Andrey Guskov at 4:46pm on January 20, 2013
d these divided points need to be moved a multiple number of times each based on a series of values that have been produced for each point, so each branch of curve points needs to be fed into each of multiple branches of the move values that have been produced,
lets say I have 3 branches of divided curves and 4 branches of move values, each of the 3 branches of divided curves needs to apply the 4 branches of move values, to make it simpler I simplified both the branches of divided curved and the branches of move values for each point
divided curves need to each map onto all the multiple move values
Divided Curves move values
{0} N=10 (no. of division points) {0} N=10
{1} N=10 {1} N=10
{2} N=10 {2} N=10
{3} N=10
The Grasshopper file and Rhino file attached both show what Im trying to achieve but Im sure there’s a simpler way of telling the Path mapper to duplicate those branches than what I have, or perhaps I’m going about this the wrong way…I want to figure this out as I plan to base future work on this method and Im sure there are simpler ways of doing this…