ider and a list item component to select a particular brep A or B or C, without selecting a particular breq inside each of them?
It seems the merge function will merge all the breqs inside each of the breps into one flattened list ...…
Hi
I'm trying to write a simple script to offset a curve muliptle times (using a 'for loop') but I don't know the vb dotNet syntax. I'm sure lines 84, 88 & 89 are wrong. Any ideas.
Thanks. P
Added by Paul Wintour at 8:25am on September 28, 2010
set of planar closed polylines
BB Difference: Difference of a set of planar closed polylines
BB Intersection: Intersection of a set of planar closed polylines
BB XOR: Exclusive or of a set of planar closed polylines
BB Python component dropped (use Node-in-Code instead)
minor bugfixes
Source code is now available on GitHub
Download Bowerbird…
nt B2[i] so B1[i]<=0 means no new connections allowed for point i ,so point i is deleted from B1, B2 updated accordingly.
Initialization:
B1: max number of connections x number of points
B2: all the points
B3: nothing (well null or something, need to create the branch)
Algo:
Get first point in B2, get his allowed number of connections N in B1, find N closest points in B2, create lines in B3, update B2 accordingly. Erase points with max connections (including the first point)
Next
Stop when no points available
At end of loop, B3 stores the created lines.
…