for waves, that is done with a 'phase shift', add 2*pi/4 radians (for a 90 deg shift) to your sin curve, could also be done using cos instead of sin for an inherent 90 deg shift
Added by mark zirinsky at 7:37pm on November 9, 2016
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
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
...
…
Two things:
90 X 5 is wrong. There are 360 degrees in a circle so just use a constant (360), or 90 X 4.
Don't flatten the output of 'Flip' before 'IntCrv'.