paya.runtime.networks.CurveUpVectorAimCurveSampler#
- class CurveUpVectorAimCurveSampler(*args, **kwargs)#
Inheritance
CurveUpVectorSamplerSystemNetworkNetworkDependNodeDependNodePyNodeProxyUnicodeWorks similarly to the ‘aim curve’ mode of a
curveWarpdeformer.Note
Returned vectors won’t be perpendicular to curve tangents, with the expectation that they will be perpendicularized during subsequent matrix construction.
- classmethod create(curve, aimCurve, closestPoint=True)#
- Parameters
curve (str,
paya.runtime.nodes.NurbsCurve,paya.runtime.nodes.Transform,paya.runtime.plugs.NurbsCurve) – the curve on which to create the sampleraimCurve (str,
paya.runtime.nodes.NurbsCurve,paya.runtime.nodes.Transform,paya.runtime.plugs.NurbsCurve) – the curve from which to pull per-point aiming interestsclosestPoint/cp (bool) – pull points from aimCurve by proximity rather than matched parameter; defaults to
True
- Returns
The network system.
- Return type
- classmethod _create(curve, aimCurve, closestPoint=True)#
- Parameters
curve (str,
paya.runtime.nodes.NurbsCurve,paya.runtime.nodes.Transform,paya.runtime.plugs.NurbsCurve) – the curve on which to create the sampleraimCurve (str,
paya.runtime.nodes.NurbsCurve,paya.runtime.nodes.Transform,paya.runtime.plugs.NurbsCurve) – the curve from which to pull per-point aiming interestsclosestPoint/cp (bool) – pull points from aimCurve by proximity rather than matched parameter; defaults to
True
- Returns
The network system.
- Return type
- byClosestPoint()#
- Returns
Trueif this sampler was configured to use closest-point calculations, otherwiseFalse.- Return type
- aimCurve()#
- Returns
The aim curve output connected to this system.
- Return type