rebuildCurve is undoable, queryable, and editable.
This command rebuilds a curve by modifying its parameterization.
In some cases the shape may also change. The rebuildType (-rt)
determines how the curve is to be rebuilt.
| Long name (short name) |
[argument types] |
Properties |
fitRebuild(fr)
|
boolean
|

|
|
If true use the least squares fit rebuild.
Otherwise use the convert method.
Default: true
In query mode, this flag needs a value.
|
|
rebuildType(rt)
|
int
|

|
|
How to rebuild the input curve.
0 - uniform,
1 - reduce spans,
2 - match knots,
3 - remove multiple knots,
4 - curvature
5 - rebuild ends
6 - clean
Default: 0
In query mode, this flag needs a value.
|
|
spans(s)
|
int
|

|
|
The number of spans in resulting curve
Used only if rebuildType is uniform.
Default: 4
In query mode, this flag needs a value.
|
|
degree(d)
|
int
|

|
|
The degree of the resulting curve
1 - linear,
2 - quadratic,
3 - cubic,
5 - quintic,
7 - heptic
Default: 3
In query mode, this flag needs a value.
|
|
tolerance(tol)
|
linear
|

|
|
The tolerance with which to rebuild.
Default: 0.01
In query mode, this flag needs a value.
|
|
endKnots(end)
|
int
|

|
|
End conditions for the curve
0 - uniform end knots,
1 - multiple end knots,
Default: 0
In query mode, this flag needs a value.
|
|
keepRange(kr)
|
int
|

|
|
Determine the parameterization for the resulting curve.
0 - reparameterize the resulting curve from 0 to 1,
1 - keep the original curve parameterization,
2 - reparameterize the result from 0 to number of spans
Default: 1
In query mode, this flag needs a value.
|
|
keepEndPoints(kep)
|
boolean
|

|
|
If true, keep the endpoints the same.
Default: true
In query mode, this flag needs a value.
|
|
keepTangents(kt)
|
boolean
|

|
|
If true, keep the end tangents the same.
Default: true
In query mode, this flag needs a value.
|
|
keepControlPoints(kcp)
|
boolean
|

|
|
If true, the CVs will remain the same.
This forces uniform parameterization unless rebuildType is matchKnots.
Default: false
In query mode, this flag needs a value.
|
|
smartSurfaceCurveRebuild(scr)
|
boolean
|

|
|
If true, curve on surface is rebuild in 3D and 2D info is kept
Default: false
In query mode, this flag needs a value.
|
|
name(n)
|
string
|
|
|
Name the resulting object
|
|
constructionHistory(ch)
|
boolean
|
|
|
Turn the construction history on or off (not available in all commands)
|
|
object(o)
|
boolean
|
|
|
Create the result, or just the dependency node (not available in all commands)
|
|
replaceOriginal(rpo)
|
boolean
|
|
|
Create "in place" (i.e., replace) (not available in all commands)
|
|
curveOnSurface(cos)
|
boolean
|
|
|
If possible, create 2D curve as a result (not available in all commands)
|
|
polygon(po)
|
int
|
|
|
The value of this argument controls the type of the object
created by this operation (not available in all commands)
- 0: nurbs surface
- 1: polygon (use nurbsToPolygonsPref to set the parameters for the conversion)
- 2: subdivision surface (use nurbsToSubdivPref to set the parameters for the conversion)
- 3: Bezier surface
- 4: subdivision surface solid (use nurbsToSubdivPref to set the
parameters for the conversion)
|
|
range(rn)
|
boolean
|
|
|
Force a curve range on complete input curve (not available in all commands)
|
|
rebuild(rb)
|
boolean
|
|
|
Rebuild the input curve(s) before using them in the operation. Use nurbsCurveRebuildPref to set the parameters for the conversion. (not available in all commands)
|
|