Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| bool | allowRotation (self) |
| AffineXf3f | b2tXf (self) |
| Const_std_optional_Vector3_float | bodyNormal (self) |
| Const_std_optional_Vector3_float | bodyUpDir (self) |
| Const_std_optional_Vector3_float | center (self) |
| bool | startMeshFromBody (self) |
| std_vector_std_vector_Vector3_float | trajectoryNormals (self) |
Static Protected Attributes | |
| typing | _offsetof_allowRotation = 0 |
| typing | _offsetof_b2tXf = 64 |
| typing | _offsetof_bodyNormal = 20 |
| typing | _offsetof_bodyUpDir = 36 |
| typing | _offsetof_center = 4 |
| typing | _offsetof_startMeshFromBody = 72 |
| typing | _offsetof_trajectoryNormals = 56 |
Generated from: MR::MovementBuildBodyParams
| mrmeshpy.ConstMovementBuildBodyParams.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstMovementBuildBodyParams) -> None 2. __init__(self: meshlib.mrmeshpy.ConstMovementBuildBodyParams, arg0: meshlib.mrmeshpy.ConstMovementBuildBodyParams) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstMovementBuildBodyParams, allowRotation: bool, center: meshlib.mrmeshpy.Const_std_optional_Vector3_float, bodyNormal: meshlib.mrmeshpy.Const_std_optional_Vector3_float, bodyUpDir: meshlib.mrmeshpy.Const_std_optional_Vector3_float, trajectoryNormals: meshlib.mrmeshpy.Const_std_vector_std_vector_Vector3_float, b2tXf: meshlib.mrmeshpy.ConstAffineXf3f, startMeshFromBody: bool) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstMovementBuildBodyParams, : meshlib.mrmeshpy.ConstMovementBuildBodyParams) -> None
| bool mrmeshpy.ConstMovementBuildBodyParams.allowRotation | ( | self | ) |
if this flag is set, rotate body in trajectory vertices according to its rotation otherwise body movement will be done without any rotation
Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.
| AffineXf3f mrmeshpy.ConstMovementBuildBodyParams.b2tXf | ( | self | ) |
optional transform body space to trajectory space
Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.
| Const_std_optional_Vector3_float mrmeshpy.ConstMovementBuildBodyParams.bodyNormal | ( | self | ) |
facing direction of body, used for initial rotation (if allowRotation) if not set body accumulative normal is used
Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.
| Const_std_optional_Vector3_float mrmeshpy.ConstMovementBuildBodyParams.bodyUpDir | ( | self | ) |
up direction of body contours corresponds with `trajectoryNormals` if both are present and `allowRotation` is set
Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.
| Const_std_optional_Vector3_float mrmeshpy.ConstMovementBuildBodyParams.center | ( | self | ) |
point in body space that follows trajectory if not set body bounding box center is used
Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.
| bool mrmeshpy.ConstMovementBuildBodyParams.startMeshFromBody | ( | self | ) |
if true, then body-contours will be located exactly on resulting mesh
Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.
| std_vector_std_vector_Vector3_float mrmeshpy.ConstMovementBuildBodyParams.trajectoryNormals | ( | self | ) |
optional normal directions in each trajectory point bodyUpDir corresponds to it if both are present and `allowRotation` is set
Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |