pycatia.hybrid_shape_interfaces.hybrid_shape_position_transfo¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384
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.hybrid_shape_interfaces.hybrid_shape_position_transfo.HybridShapePositionTransfo(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapePositionTransfoRepresents the hybrid shape position transformation featureobject.Role: To access the data of the hybrid shape position transformation featureobject. This data includes:The positioning modeThe profile to be positionedThe initila and target planesUse the CATIAHybridShapeFactory to create a HybridShapePositionTransfoobject.See also:HybridShapeFactory- get_nb_pos_angle() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetNbPosAngle() As longGets the number of numerical positioning parameters : first axis direction angles.Parameters:oINumber of parameters
- Return type:
int
- get_nb_pos_coord() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetNbPosCoord() As longGets the number of numerical positioning parameters : origin planar coordinates.Parameters:oINumber of parameters
- Return type:
int
- get_pos_angle(i_i: int) Angle ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetPosAngle(long iI) As AngleReturns angles of both initial and target coordinate systems from defaultpositions.Parameters:iIThe index of numerical positioning angles in initial (value 1) ortarget (value 2) axis system.oAngleThe angle value.
- Parameters:
i_i (int) –
- Return type:
- get_pos_coord(ii: int) Length ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetPosCoord(long ii) As LengthReturns translation coordinates if both initial and target coordinatesystems from default positions.Parameters:iIThe iIndex of numerical positioning coordinates in initial (value 1or 2) or target (value 3 or 4) coordinate system.oCoordinateThe coordinate value
- Parameters:
ii (int) –
- Return type:
- get_pos_point(ii: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetPosPoint(long ii) As ReferenceReturns the points designated as the origins of the initial and targetplanes.Parameters:iIThe plane index: 1 for initial one, 2 for target oneoElemThe origin point
- Parameters:
ii (int) –
- Return type:
- get_pos_swap_axes(ii: int) int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetPosSwapAxes(long ii) As longReturns axis inversion from previous definitions for both initial andtarget planes.Parameters:iIThe coordinate system index: 1 for initial one, 2 for target oneoInversionThe inversion value:CATGSMAxisInversionMode_NoneNo axis invertedCATGSMAxisInversionMode_XOnly the X axis iq invertedCATGSMAxisInversionMode_YOnly the Y axis is invertedCATGSMAxisInversionMode_BothBoth axes inverted
- Parameters:
ii (int) –
- Return type:
int
- get_position_direction(i_i: int) HybridShapeDirection ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetPositionDirection(long iI) As HybridShapeDirectionReturns the positioning directions.The positioning direction can be initial or target plane X-axisdirection.Parameters:iIThe plane index: 1 for initial one, 2 for target oneoElemThe direction element
- Parameters:
i_i (int) –
- Return type:
- property initial_direction_computation_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property InitialDirectionComputationMode() As longGets or sets the computation mode of the X axis (or direction) of theinitial axis system.Parameters:oDirCompModecomputation mode =0 : no X axis specified1 : the X axis is implicitly the tangentof the profile at the origin(the origin then HAS to be on the profile).2 : the X axis is specified by a direction by SetPositionDirection(1,UserInputDirection).
- Return type:
int
- property mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Mode() As longReturns or sets the positioning mode.Legal values:CATGSMPositionMode_NoneOrPositionedNo positioningCATGSMPositionMode_ExplicitSweepThe explicit profile is to be moved from its initial plane to the firstsweep planeCATGSMPositionMode_Develop
- Return type:
int
- property profile: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Profile() As ReferenceReturns or sets the profile to be positioned.
- Return type:
- remove_all_pos_angle() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveAllPosAngle()Removes all numerical positioning parameters : first axis direction angles.
- Return type:
None
- remove_all_pos_coord() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveAllPosCoord()Removes all numerical positioning parameters : origin planar coordinates.
- Return type:
None
- set_pos_angle(i_i: int, i_angle: Angle) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetPosAngle(long iI,Angle iAngle)Sets angles of both initial and target coordinate systems.Parameters:iIThe index of numerical positioning angles in initial (value 1) ortarget (value 2) axis system.iAngleThe angle value.
- Parameters:
i_i (int) –
i_angle (Angle) –
- Return type:
None
- set_pos_coord(i_i: int, i_coordinate: Length) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetPosCoord(long iI,Length iCoordinate)Sets translation coordinates of both initial and target coordinatesystems.Parameters:iIThe iIndex of numerical positioning coordinates in initial (value 1or 2) or target (value 3 or 4) coordinate system.iCoordinateThe coordinate value
- Parameters:
i_i (int) –
i_coordinate (Length) –
- Return type:
None
- set_pos_point(i_i: int, i_elem: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetPosPoint(long iI,Reference iElem)Sets the points designated as the origins of the initial and targetplanes.Parameters:iIThe plane index: 1 for initial one, 2 for target oneiElemThe origin point
- Parameters:
i_i (int) –
i_elem (Reference) –
- Return type:
None
- set_pos_swap_axes(ii: int, i_inversion: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetPosSwapAxes(long ii,long iInversion)Sets axis inversion from previous definitions for both initial and targetplanes.Parameters:iIThe coordinate system index: 1 for initial one, 2 for target oneiInversionThe inversion value:CATGSMAxisInversionMode_NoneNo axis invertedCATGSMAxisInversionMode_XOnly the X axis iq invertedCATGSMAxisInversionMode_YOnly the Y axis is invertedCATGSMAxisInversionMode_BothBoth axes inverted
- Parameters:
ii (int) –
i_inversion (int) –
- Return type:
None
- set_position_direction(i_i: int, i_elem: HybridShapeDirection) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetPositionDirection(long iI,HybridShapeDirection iElem)Sets the positioning directions.The positioning direction can be initial or target plane X-axisdirection.Parameters:iIThe plane index: 1 for initial one, 2 for target oneiElemThe direction element
- Parameters:
i_i (int) –
i_elem (HybridShapeDirection) –
- Return type:
None