paya.runtime.networks.CurveUpVectorSampler#

class CurveUpVectorSampler(*args, **kwargs)#

Inheritance

System Network Network DependNode DependNode PyNode ProxyUnicode

Abstract base class for curve up vector samplers.

classmethod create(curve)#

Not for direct use; called by the subclasses.

Parameters

curve (str, paya.runtime.nodes.NurbsCurve, paya.runtime.nodes.Transform, paya.runtime.plugs.NurbsCurve) – the curve on which to create the sampler

Returns

The network system.

Return type

CurveUpVectorSampler

remove()#

Deletes this sampler system.

getDependencies()#
Returns

All nodes, except this one, that were generated when this system was first created.

Return type

[DependNode`]

curve()#
Returns

The curve output associated with this sampler system.

Return type

NurbsCurve

setAsDefault()#

Makes this the default up vector source for the associated curve output.

Returns

self

Return type

CurveUpVectorSampler

sampleAtParam(param, plug=None)#
Parameters
  • param (float, str, Math1D) – the parameter to sample; if plug is False, this must be a value

  • plug/p (bool) – force a dynamic output, or indicate that one or more of the arguments are plugs to skip checks; defaults to None

Returns

A vector output or value for the specified parameter.

Return type

paya.runtime.data.Vector, paya.runtime.plugs.Vector