Optimize_Spline - superclass: modifier; super-superclass:MAXWrapper - 8:0 - classID: #(751410455L, 2082524464L)
Value > MAXWrapper > Modifier > Optimize_Spline |
NEW in 3ds Max 2018 Update 2: A modifier that optimizes splines by reducing the number of knots while maintaining the original spline shape .
<Optimize_Spline>.adaptive BooleanClass default: true -- Boolean
When creating a new editable spline (see the MakeSpline() method below), indicates that the new spline should have adaptive interpolation turned on.
<Optimize_Spline>.iterations Integer default: 8 -- integer
The number of iterations used to compute results. Higher numbers will produce better results, but take longer to complete.
<Optimize_Spline>.percent Integer default: 0 -- integer
When reduce_method is 0, this specifies the percent to reduce the number of knots by.
<Optimize_Spline>.reduce_method Integer default: 0 -- integer; Reduce_Type
Specifies the knot reduction method, where:
<Optimize_Spline>.reducedMaxKnots Integer default: 2 -- integer; Knots
When the reduce_method is 1, specifies the maximum number of knots to reduce to.
<Optimize_Spline>.reducedMinKnots Integer default: 2 -- integer; Percent_Min
When the reduce_method is 0, specifies the minimum number of knots to reduce to.
<Optimize_Spline>.ShowKnots BooleanClass default: false -- Boolean
Gets or sets whether to show knots in the modified spline.
<Optimize_Spline>.subsegment Integer default: 4 -- integer; Subsegments
Specifies the number of knots to add between existing knots when calculating solutions.
Interface: OptimzeSplineModifier
Properties:
Methods:
<void>MakeSpline()
Makes a new, editable spline based on the optimized spline. Adaptive interpolation is set by the adaptive property (see above).
Actions: