pycatia.dnb_human_sim_interfaces.move_to_posture_activity¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.dnb_human_sim_interfaces.move_to_posture_activity.MoveToPostureActivity(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDMAPSInterfaces.ActivityDNBHumanSimInterfaces.WorkerActivityMoveToPostureActivityThe object that represents an MoveToPosture(MTP) Activity.MTP allows to store a target posture for a specific manikin at a specific timein the process. When a MTP is created, the current posture of the manikin alongwith any constraints (if any).- property acceleration_percent: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AccelerationPercent() As doubleReturns or Sets Acceleration Percentage
- Return type:
float
- add_constraint(pi_constraint: SWKIKConstraint) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddConstraint(SWKIKConstraint piConstraint)Adds the given constraint to MoveToPosture activityParameters:piConstraintConstraint to be added. (seeSWKIKConstraint for list of possible values)
- Parameters:
pi_constraint (SWKIKConstraint) –
- Return type:
None
- apply_posture_to_manikin() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub ApplyPostureToManikin()Set the MoveToPosture(MTP) Activity’s DegreeOfFreedom(DOF) values ontoManikin (which owns this MTP activity).
- Return type:
None
- property corner_rounding: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CornerRounding() As doubleReturns or Sets Corner Rounding
- Return type:
float
- get_constraint(i_index: int) SWKIKConstraint ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetConstraint(long iIndex) As SWKIKConstraintReturns the constraint at given indexParameters:iIndexIndex in the constraint-list to be retrievedReturns:pioConstraint Constraint at given index (see SWKIKConstraint for listof possible values)
- Parameters:
i_index (int) –
- Return type:
- get_joint_values(o_joint_vals: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetJointValues(CATSafeArrayVariant oJointVals)Gets the Manikin’s Position and Posture values in 137 doubles. (Arrayincludeds Position information - first 6 values represent X,Y,Z and R,P,Y valueof Manikin w.r.to its Father.)Parameters:oJointValsJoint Values
- Parameters:
o_joint_vals (tuple) –
- Return type:
None
- get_number_of_constraints() int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetNumberOfConstraints() As longReturns the number of constraints on the MoveToPostureactivityReturns:iNumber Number of Constraints
- Return type:
int
- get_part_relation(e_ee: int, o_product: Product, o_offset_trans: tuple) bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetPartRelation(HTSEndEffector eEE,Product oProduct,CATSafeArrayVariant oOffsetTrans) As booleanDEPRECATED. DO NOT USE
- Parameters:
e_ee (int) – enum hts_end_effector
o_product (Product) –
o_offset_trans (tuple) –
- Return type:
bool
- get_position(o_trans_matrix: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetPosition(CATSafeArrayVariant oTransMatrix)This gets the position value in 12 doublesParameters:oTransMatrixThe first nine represent succcessively the components of thex-axis, y-axis, and z-axis. The last three represent the coordinates of theorigin point.
- Parameters:
o_trans_matrix (tuple) –
- Return type:
None
- get_posture_values(o_pos_vals: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetPostureValues(CATSafeArrayVariant oPosVals)Gets the Manikin’s Posture values in 131 doubles. (This array excludesPosition information)Parameters:oPosValsPosture values
- Parameters:
o_pos_vals (tuple) –
- Return type:
None
- get_segment_values(in_seg_name: str, o_dof_vals: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetSegmentValues(CATBSTR inSegName,CATSafeArrayVariant oDofVals)Gets the DOF values of the given segment from MoveToPostureactivityParameters:inSegNameName of the SegmentoDofValsDof values of constraint, array of size 3
- Parameters:
in_seg_name (str) –
o_dof_vals (tuple) –
- Return type:
None
- has_part_relation() bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func HasPartRelation() As booleanDEPRECATED. DO NOT USE
- Return type:
bool
- property motion_basis: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property MotionBasis() As HTSMotionBasisReturns or Sets Motion-Basis (see HTSMotionBasis for list of possiblevalues)
- Returns:
enum hts_motion_basis
- Return type:
int
- property referential: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Referential() As HTSManikinReferentialReturns or Sets Manikin Referential (see HTSManikinReferential for list ofpossible values)
- Returns:
enum hts_manikin_referential
- Return type:
int
- remove_constraint(pi_constraint: SWKIKConstraint) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveConstraint(SWKIKConstraint piConstraint)Removes the given constraint from MoveToPosture activityParameters:piConstraintConstraint to be removed. (seeSWKIKConstraint for list of possible values)
- Parameters:
pi_constraint (SWKIKConstraint) –
- Return type:
None
- set_current_constraint_set() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetCurrentConstraintSet()Set the current Constraints existing on Manikin onto MoveToPosture activity
- Return type:
None
- set_joint_values(o_joint_vals: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetJointValues(CATSafeArrayVariant oJointVals)Sets the Manikin’s Position and Posture values with 137 doubles. (Arrayshould includes Position information - first 6 values represent X,Y,Z and R,P,Yvalue of Manikin w.r.to its Father.)Parameters:oJointValsJoint Values
- Parameters:
o_joint_vals (tuple) –
- Return type:
None
- set_part_relation(e_ee: int, o_product: Product) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetPartRelation(HTSEndEffector eEE,Product oProduct)DEPRECATED. DO NOT USE
- Parameters:
e_ee (int) – enum hts_end_effector
o_product (Product) –
- Return type:
None
- set_part_relation_with_offset(e_ee: int, o_product: Product, o_offset_trans: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetPartRelationWithOffset(HTSEndEffector eEE,Product oProduct,CATSafeArrayVariant oOffsetTrans)DEPRECATED. DO NOT USE
- Parameters:
e_ee (int) – enum hts_end_effector
o_product (Product) –
o_offset_trans (tuple) –
- Return type:
None
- set_position(o_trans_matrix: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetPosition(CATSafeArrayVariant oTransMatrix)Sets the Manikin’s position value in the MoveToPosture Activity. ( Pos.vals are w.r.to Manikin’s Father )Parameters:oTransMatrixThe array initialized with the components to set to the Manikin’sposition. The first nine represent succcessively the components of the x-axis,y-axis, and z-axis. The last three represent the coordinates of the originpoint.Example:This example sets the Position of ManikinoTransMatrix for MoveToPosture oMTPDim oTransMatrix( 11 )‘Rotation( 45 degrees around the Z axis) components‘ x axis componentsoTransMatrix( 0 ) = 0.707oTransMatrix( 1 ) = 0.707oTransMatrix( 2 ) = 0.0‘ y axis componentsoTransMatrix( 3 ) = -0.707oTransMatrix( 4 ) = 0.707oTransMatrix( 5 ) = 0‘ z axis componentsoTransMatrix( 6 ) = 0oTransMatrix( 7 ) = 0oTransMatrix( 8 ) = 1‘ origin point coordinatesoTransMatrix( 9 ) = 0oTransMatrix( 10 ) = 0oTransMatrix( 11 ) = 947.0oMTP.SetPosition(oTransMatrix)
- Parameters:
o_trans_matrix (tuple) –
- Return type:
None
- set_posture_values(o_pos_vals: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetPostureValues(CATSafeArrayVariant oPosVals)Sets the Manikin’s Posture values with 131 valuesParameters:oPosValsPosture values
- Parameters:
o_pos_vals (tuple) –
- Return type:
None
- set_segment_values(in_seg_name: str, o_dof_vals: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetSegmentValues(CATBSTR inSegName,CATSafeArrayVariant oDofVals)Sets the given DOF values for Segments from MoveToPostureactivityParameters:inSegNameName of the SegmentoDofValsDof values of constraint, array of size 3
- Parameters:
in_seg_name (str) –
o_dof_vals (tuple) –
- Return type:
None
- property speed_percent: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property SpeedPercent() As doubleReturns or Sets Speed Percentage
- Return type:
float