(A -> AB, B -> BA) -> in result you get AB BA
n=3: ABBABAAB (A->AB;B->BA;B->BA;A->AB) result: AB BA BA AB
n=4: ABBABAABBAABABBA (etc. etc.)
You can find some more details in 'The Algorithmic beauty of plants' - it is freely available as a PDF:
http://algorithmicbotany.org/papers/abop/abop.pdf
Best…
b
the results is red....it doesnot work...output is Error: Type 'OnXform' is not defined. (line 86)
i think may be it is replaced by another class....who knows it?
thank you very much!~…
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!…
didn't look at it that closely), other than to say tree data structure is helping you and hurting you.
What I did to fix the file was work backwards. Looking at only the left panel you are trying to create 11 total planar surfaces from edge curves (8 curves per surface). That means you should be generating 11 of each type of curve so that you will have 88 total curves when you attempt to join them.
Tree data was in some cases giving you 121 of each type of curve (lists matching with tree structure...) so I worked backwards from your individual curves to flatten the inputs until ending up with only 11 (the expected number) of each type of curve.
…