pycatia.fitting_interfaces.track¶
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.fitting_interfaces.track.Track(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectFittingInterfaces.SampledTrackThe interface to access a CATIATrack.Role: A CATIATrack (or track) object is an object to define motion to variousitems (such as a product or a shuttle). These tracks can be simulated whichresults in them to move along the defined trajectory (with a setspeed).- get_matrix_all(o_matrix_all: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetMatrixAll(CATSafeArrayVariant oMatrixAll)GetMatrixAll Gets the base location of the track. The sum of severalinternal transforms.Parameters:oMatrixAllAn array of 12 doubles. A 3 by 3 rotation matrix followed by aposition (x/y/z) vector, in millimeters.Returns:S_OK if everything was succcessfull
- Parameters:
o_matrix_all (tuple) –
- Return type:
None
- mirror(i_point: tuple, i_normal: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Mirror(CATSafeArrayVariant iPoint,CATSafeArrayVariant iNormal)Produces a “mirror image” of the track. Role: Determines the “mirror image”of a track. The “mirror” is a 3d plane specified by a point on the plane andthe normal to the surface of the plane. The mirror calculation involves goingthrough each shot and projecting it in the space on the other side of themirror plane. The projection “reflects” the point perpendicularly to theplane.Parameters:iPointA point on the plane that will be used to define the mirror.iNormalA normal to the plane that will be used to define themirror.
- Parameters:
i_point (tuple) –
i_normal (tuple) –
- Return type:
None
- move(i_transform: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Move(CATSafeArrayVariant iTransfo)Moves the track a certain position.Parameters:iTransfoSpecifies a relative amount to move the track.
- Parameters:
i_transform (tuple) –
- Return type:
None
- property move_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property MoveMode() As DMUTrackMoveModeReturns or sets the track’s movement mode. Can be speed or time based. InSpeed mode, the total time is calculated based on the time need to travel thedistance of the track at the given speed. In Time mode, the movement speed tocalculated so that the end of the track is reached by the end of the totaltime. Uses enum DMUTrackMoveMode, which defined is in this interface.
- Returns:
enum dmu_track_move_mode
- Return type:
int
- property speed: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Speed() As doubleReturns or sets the track speed. Please note that the value of the speedshould be greater than zero.ExampleThis example sets the track speed to 17.54.myTrack.Speed = 17.54
- Return type:
float