pycatia.manufacturing_interfaces.manufacturing_tool_motion¶
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.manufacturing_interfaces.manufacturing_tool_motion.ManufacturingToolMotion(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectManufacturingToolMotionA ManufacturingToolMotion for a Manufacturing Document.- get_attribute(i_attribute: str) Parameter ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetAttribute(CATBSTR iAttribut) As ParameterRetrieve by is name the attribute of a ManufacturingToolMotion.Each attribute is a CKE object.Example:The following example retreives in Diameter the attribute MfgDiameterof the Manufacturing ToolMotion firstToolmotionSet Diameter = firstToolmotion.GetAttribute(MfgDiameter)
- Parameters:
i_attribute (str) –
- Return type:
- get_feedrate(o_feedrate: float) str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetFeedrate(double oFeedrate) As CATBSTRRetrieves the Feedrate of a Manufacturing Point to pointToolMotion.If the ToolMotion is not a Manufacturing Point to point, nothing isdone.Parameters:oFeedrateTypeLegal values: oFeedrateType can be:“RAPID”“LOCAL”“NONE”oFeedrateFeedrate value. (expressed in MKS units : m/s if linear feedrate, or m/turn if angular feedrate)Feedrate value has a meaning only if oFeedrateType is “LOCAL”Example:The following example gets the feedrate type of a Manufacturing PointTo Point Toolmotion submotion1dim FeedVal as doubledim FeedType as CATBSTRFeedType=SubMotion1.GetFeedrate(FeedVal)
- Parameters:
o_feedrate (float) –
- Return type:
str
- get_goto_pt_point_coordinates() tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetGotoPtPointCoordinates(double oX,double oY,double oZ)Retrieves coordinates on the ToolMotion.If the type of the ToolMotion is not MfgSeqMotionPoint, nothing isdone.These coordinates are expressed in the current axissystem.Coordinates units are millimeters.Example:The following example gets coordinates on a Manufacturing Point ToPoint Toolmotion submotion1dim XCoord as doubledim YCoord as doubledim ZCoord as doubleCall SubMotion1.GetGotoPtPointCoordinates(XCoord, YCoord,ZCoord)
- Parameters:
o_x (float) –
o_y (float) –
o_z (float) –
- Return type:
None
- get_pp_word() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetPPWord() As CATBSTRRetrieves the content of a Manufacturing PP WordToolMotion.Example:The following example retrieves in Message the content of theManufacturing PPWord Toolmotion firstToolmotiondim Message as CATBSTRMessage = firstToolmotion.GetPPWord
- Return type:
str
- get_type() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetType() As CATBSTRRetrieves the type of a Manufacturing ToolMotion.Parameters:oTypeLegal values: oType can be:“MfgSeqMotionPoint”“MfgSeqMotionPosition”“MfgSeqMotionDelta”Example:The following example retrieves in ThisType the type of theManufacturing Toolmotion firstToolMotiondim ThisType as CATBSTRSet ThisType = firstToolMotion.GetType
- Return type:
str
- set_feedrate(i_feedrate: float, i_feedrate_type: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetFeedrate(double iFeedrate,CATBSTR iFeedrateType)Defines the feedrate of a Manufacturing Point to pointToolMotion.If the ToolMotion is not a Manufacturing Point to point, nothing isdone.Parameters:iFeedrateTypeLegal values: iFeedrateType can be:“RAPID”“LOCAL”“NONE”oFeedrateFeedrate value. (expressed in MKS units : m/s if linear feedrate, or m/turn if angular feedrate)Feedrate value is taken into account only if iFeedrateType is“LOCAL”Example:The following example sets a local feedrate on a Manufacturing Point ToPoint Toolmotion submotion1dim FeedVal as doubledim FeedType as CATBSTRFeedVal = 169.0FeedType=”LOCAL”Call SubMotion1.SetFeedrate(FeedVal, FeedType)
- Parameters:
i_feedrate (float) –
i_feedrate_type (str) –
- Return type:
None
- set_goto_pt_point_coordinates(i_x: float, i_y: float, i_z: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetGotoPtPointCoordinates(double iX,double iY,double iZ)Defines coordinates on the ToolMotion.If the type of the ToolMotion is not MfgSeqMotionPoint, nothing isdone.These coordinates are expressed in the current axissystem.Coordinates units are millimeters.Example:The following example sets coordinates on a Manufacturing Point ToPoint Toolmotion submotion1dim XCoord as doubledim YCoord as doubledim ZCoord as doubleXCoord = 10.0YCoord = 20.0ZCoord = 5.0Call SubMotion1.SetGotoPtPointCoordinates(XCoord, YCoord,ZCoord)
- Parameters:
i_x (float) –
i_y (float) –
i_z (float) –
- Return type:
None
- set_pp_word(i_message: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetPPWord(CATBSTR iMessage)Adds a line containing iMessage to a Manufacturing PP WordToolMotion.Example:The following example adds the line Message to the content of theManufacturing PPWord Toolmotion firstToolmotionfirstToolmotion.SetPPWord(“Message”)
- Parameters:
i_message (str) –
- Return type:
None