Usage ¶
setCurveKnots(session
: hapi.Session, node_id
: int
, part_id
: int
, knots_array
: list
of float
, start
: int
, length
: int
) → bool
Set the knots of the curves in this part.
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.
node_id
The node id.
part_id
Currently unused. Input asset geos are assumed to have only one part.
knots_array
The knots of each curve.
start
The index of the first curve.
length
The number of curves' knots to set. The length of all the knots on a single curve is the order of that curve plus the number of vertices (see hapi.setCurveOrders and hapi.setCurveCounts.