Usage ¶
getCurveKnots(session
: hapi.Session, node_id
: int
, part_id
: int
, start
: int
, length
: int
) → list
of float
Retrieve 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
The part id.
start
The index of the first curve.
length
The number of curves' knots to retrieve. The length of all the knots on a single curve is the order of that curve plus the number of vertices (see hapi.getCurveOrders and hapi.getCurveCounts.
Returns knots_array as a list
of float
.