but as one would imagine after 6 or so 'animals' it gets so large that the machine starts to crawl :/
88% of the resources come from the permutation script, my guess is that if the permutation were calculated on the fly with the counter(the engine) it wont have to pre-compile the list which would be much faster...
If anyone has an idea im all ears....
I attached the file (re-written in C#) …
You could explode the brep into individual breps:
Dim crvlist As New list(Of curve)For Each bf As brepface In x.facescrvlist.addrange(curve.JoinCurves(bf.tobrep.GetWireframe(-1)))Nexta = crvlist
behave like this:{a1;b2;c3;d1;e2;f3;g1;h2}
The ping pong matching would behave like this:
{a1;b2;c3;d2;e1;f2;g3;h2}
with a boolean option it could repeat the first and last like this:
{a1;b2;c3;d3;e2;f1;g1;h2}
If this already exist please let me know
Thanks
bye…
Added by Frane Zilic at 10:15pm on August 19, 2012
rom two surface offsets. I did a merge list to create a pattern from an wavy surface. I obtained several surfaces made of two toggle boolean.
Capture%20d%E2%80%99e%CC%81cran%202016-05-18%20a%CC%80%2016.26.16.png
How can i simplify those surfaces (made of two surfaces)?
Capture%20d%E2%80%99e%CC%81cran%202016-05-18%20a%CC%80%2016.26.38.png
Also, how can i link the two offset surfaces in a closed volume?
Thank you guys!
Best,
Rémy…
) function if you've already got a boolean value.
This expression:
x < 12
results in exactly the same things as this expression:
If( x < 12, True, False )
If() is only really useful when you want to return non-boolean data, like so:
If( x < 12, x, 100-x )
In this case, the expression will return either x, or 100-x if x is larger than or equal to 12:
x result
1 1
2 2
10 10
11 11
12 88
13 87
14 86
18 82
70 30
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 7:22am on August 10, 2011