paya.runtime.nodes.CurveWarp#
- class CurveWarp(*args, **kwargs)#
 Inheritance
CurveWarpTHdeformerTHdeformerWeightGeometryFilterWeightGeometryFilterGeometryFilterGeometryFilterDependNodeDependNodePyNodeProxyUnicode- classmethod create(*geometryAndCurve, aimCurve=None, autoNormals=True, closestPoint=True, keepLength=True, loopClosedCurves=True, alignment='auto', samplingAccuracy=1.0, offset=0.0, name=None)#
 Initialises a curveWarp deformer.
- Parameters
 *geometryAndCurve – required; the curve and one or more meshes to bind, in no particular order
aimCurve/aic (str, None,
Transform,NurbsCurve) – a curve to use for up vector resolution; defaults to FalseautoNormals/aut (bool) – if no aimCurve is provided, set normal calculation on the node (attribute
aimMode) to ‘Auto’ rather than ‘Curve Normals’; defaults to TrueclosestPoint/cp (bool) – set this to False when the two curves are of matched domain, to cut down on extraneous closest-point calculations; defaults to True
keepLength/kl (bool) – keep the driven geometries’ lengths; defaults to True
loopClosedCurves/lcc (bool) – loop sliding on closed curves; defaults to True
alignment/ali –
an index or enum key for the
alignmentnode attribute:1: ‘Auto’ (the default)
2: ‘X’
3: ‘Y’
4: ‘Z’
samplingAccuracy/acc (float) – the curve sampling accuracy; defaults to 1.0
offset/off (float,
Math1D) – a slide offset along the curve; defaults to 0.0name/n (str) – a name for the node; defaults to
None
- Type
 str,
NurbsCurve,Mesh,Transform- Returns
 The deformer node.
- Return type