pycatia.cat_tps_interfaces.shifted_profile_tolerance¶
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.cat_tps_interfaces.shifted_profile_tolerance.ShiftedProfileTolerance(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectShiftedProfileToleranceInterface for accessing shifted tolerance zone informations of aTPS.- get_shift_direction(op_direction: tuple) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetShiftDirection(CATSafeArrayVariant opDirection)Retrieves the shift direction by two points.Parameters:opDirectionThe first 3 values of opDirection correspond to the X,Y and Zvalues of the start point respectively and the next 3 values correspond to theX, Y and Z values of the end point respectively.Example:This example gets the start and end points in a VBScriptDim oTab(6) As CATSafeArrayVariantSet shiftTol = annotation.ShiftedProfileToleranceshiftTol.GetShiftDirection(oTab)oStream.Write “ Shifted Direction Start Point : “& oTab(0) & “ “ & oTab(1) & “ “ & oTab(2) & sLFoStream.Write “ Shifted Direction End Point : “& oTab(3) & “ “ & oTab(4) & “ “ & oTab(5) & sLF
- Parameters:
op_direction (tuple) –
- Return type:
tuple
- get_shift_side(op_point: tuple) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetShiftSide(CATSafeArrayVariant opPoint)Retrieves shift side.Parameters:opPointa mathematical point located on the shift side of surface. The 3values of opPoint correspond to the X,Y and Z values of the point located onthe shift side of surface.Example:This example gets the shift side point in a VBScriptDim oShiftTab(3) As CATSafeArrayVariantSet shiftTol = annotation.ShiftedProfileToleranceshiftTol.GetShiftSide(oShiftTab)oStream.Write “ Shifted Side Point : “& oShiftTab(0) & “ “ & oShiftTab(1) & “ “ & oShiftTab(2) & sLF
- Parameters:
op_point (tuple) –
- Return type:
tuple
- property shift_value: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ShiftValue() As doubleRetrieves or sets shift value of tolerance zone (in millimeters). The shiftvalue is the distance between the toleranced surface and the median surface oftolerance zone. The value is always positive because shift side is given byGetShiftSide method.
- Return type:
float