Go to: Attributes.
For a NURBS curve, the i-th point constraint 'pc[i]' is specified by a 3D point in space ('pc[i].ppx', 'pc[i].ppy', 'pc[i].ppz'), a parameter space location 'pc[i].pcu' on the curve and a weight 'pc[i].wt'.
For any given point constraint, only the control vertices on the curve which have a influence at the parameter space location are modified. The weight of the constraint determines how strong an influence the point constraint is. So, for two point constraints defined at the same parameter space location, the one with a greater weight will have more of an influence on the curve.
The user may chooses to apply a transformation on the computed result using the attribute 'wto'.
caution: In general, the curve cannot be modified always to passes through all the positions.
Node name | Parents | Classification | MFn type | Compatible function sets |
---|---|---|---|---|
leastSquaresModifier | abstractBaseCreate | math | kLeastSquares | kBase kNamedObject kDependencyNode kLeastSquares |
attributeCollection, inputCache, inputNurbsObject, objectModifier, outputNurbsObject, pointConstraint, pointConstraintU, pointConstraintUVW, pointConstraintV, pointConstraintW, pointPositionX, pointPositionXYZ, pointPositionY, pointPositionZ, pointSymbolicIndex, pointWeight, resetModifier, updatePointModifier, worldSpaceToObjectSpace
Long name (short name) | Type | Default | Flags | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
inputCache
(ipc )
| Generic | n/a | ![]() ![]() | ||||||||||||||
attributeCollection
(ac )
| compound | n/a | ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
objectModifier
(om )
| lsqModifier | NULL | ![]() ![]() | ||||||||||||||
pointSymbolicIndex
(psi )
| compound | NULL | ![]() ![]() | ||||||||||||||
resetModifier
(rm )
| bool | true | ![]() ![]() | ||||||||||||||
updatePointModifier
(upm )
| bool | true | ![]() ![]() | ||||||||||||||