Closed boytchev closed 1 year ago
Not a bug. This happens when Frenet frames are calculated and there are duplicated points on a spline. These points lead to zero vectors:
[0,0,20, 1],
[0,0,20, 25],
[0,0,20, 25],
[0,0,-20, 25],
[0,0,-20, 25],
[0,0,-20, 1],
The resolution is to make slight offset:
[0,0,20.02, 1],
[0,0,20.01, 25],
[0,0,20, 25],
[0,0,-20, 25],
[0,0,-20.01, 25],
[0,0,-20.02, 1],
A transparent spline-curved tube makes strange artifacts, especially if the end is closed with a small radius.