xtract A1, A2, B1, B2 as one set, A2, A3, B2, B3 as the second set, A3, A4, B3, B4...etc. as the third set and so on. How can I get about doing this?
Any help would be much appreciated!
Thanks,
Ben…
سلام آقای جان بیلی کاوه اشکوه هستم اپراتور سی ان سی از ایران وطراح دکوراسیون داخلی اگر ممکن هستش فایل اصلی میزcosinosa baram mail konid adressmail man hast
(kavehoshkooh2290@gmail.com)بسیار متشکرم
Added by kavehoshkooh at 3:25pm on September 11, 2015
nologically label them (there are currently 65 points and this is labelled as in the file i've attached). However, what i'm actually after is to reformat these points into an x and y style grid.(a1, a2, a3, a4, a5)(b1, b2, b3, b4, b5)(c1, c2, c3, c4, c5)(d1, d2, d3, d4, d5) etc.Any ideas/help how this can be made possible would be great.Thanks in advance…
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
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.
…
by its own tangent vector on the curve... and this happens to the last item. Here's the algorithm:
B0 ----> B1
B1 ----> B2
B2 ----> B3
B3 ----> B4
...
…