curve B
B1--------------------------B0
You define distances:
|A0 B0|
|A0 B1|
|A1 B0|
|A1 B1|
And find the smallest one. Then, based on the number of the shortest distance:
Flip A, Leave B
Flip A, Flip B
Leave A, Leave B
Leave A, Flip B
A more advanced metric would be to create all 4 blends, then pick the one that is shortest. Maybe that works better for what you want, maybe not.
--
David Rutten
david@mcneel.com…
Added by David Rutten at 8:09am on February 11, 2014
rep, ByVal C As List(Of Curve), ByRef A As Object)
Dim bf As BrepFace = B.Faces.Item(0)
A = bf.Split(C, 0.01)
End Sub
You can't pass the entire brep in one go. You're better off making a For loop to iterate through each face of the brep, doing the split and adding the result of the split to a list.…
wcase it's potential.
I will try and get the time to update this example and include it along the others, it shouldn't take too long.
Kind regards,
Theodore.…
n in the solution part says "Solution should be converged in 561 iterations with default settinbgs" after 10 minutes it's on iteration 8.Is it normal? Best regardsShahrokh…
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…