Notifications
Clear all
[Closed] Increase length of spline
Jun 25, 2009 9:42 am
Is there an easy way to increase the length of a straight spline that only has 1 segment. What i want is to be able to increase the length on both sides of a spline by, lets say 20 units.
2 Replies
Jun 25, 2009 9:42 am
just quickly without any error checking and assuming the spline is selected:
(
v1 = getKnotPoint $ 1 1
v2 = getKnotPoint $ 1 2
vec = normalize (v2-v1)
setKnotPoint $ 1 1 (v1 + 20 * -vec)
setKnotPoint $ 1 2 (v2 + 20 * vec)
)