paya.runtime.networks.CurveUpVectorPtSampler#
- class CurveUpVectorPtSampler(*args, **kwargs)#
Inheritance
CurveUpVectorRemapSampler
CurveUpVectorSampler
System
Network
Network
DependNode
DependNode
PyNode
ProxyUnicode
Solves for parallel-transport from a single starter vector.
- classmethod create(curve, upVector, resolution=9, interpolation='Linear')#
- Parameters
curve (str,
paya.runtime.nodes.NurbsCurve
,paya.runtime.nodes.Transform
,paya.runtime.plugs.NurbsCurve
) – the curve on which to create the samplerupVector (tuple, list, str,
Vector
,Vector
) – the starter vector for the parallel-transport solutionresolution/res (int) – the number of parallel-transport solutions to generate along the curve; higher numbers improve accuracy at the expense of performance; defaults to 9
interpolation/i (int, str,
Math1D
) –a string label or integer value or plug specifying how to interpolate between the keyed pairs, namely:
0
('None'
) (you wouldn’t normally want this)1
('Linear'
) (the default)2
('Smooth'
)3
('Spline'
)
- Returns
The network system.
- Return type