pycatia.hybrid_shape_interfaces.hybrid_shape_develop

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_develop.HybridShapeDevelop(com_object)

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
MecModInterfaces.HybridShape
HybridShapeDevelop

Represents the hybrid shape develop feature object.
Role: To access the data of the hybrid shape develop feature object. This data
includes:

The developing mode
The positining mode used for the 2D wire
The 2D wire to be developed
The positioning transformation
The support revolution surface on which the development is
operated
The point designated as the origin of the planar 2D wire
The direction corresponding to the first axis of the planar axis system
related to the planar 2D wire
The development origin on the support surface

Use the CATIAHybridShapeFactory to create a HybridShapeDevelop
object.

See also:
HybridShapeFactory
get_plane_axis_angle() Angle

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Func GetPlaneAxisAngle() As Angle

Retrieves the rotation angle.
Role: The rotation angle is expressed in the planar coordinate system
related to the 2D planar wire from its default position.

Returns:
The rotation value
Return type:

Angle

get_plane_axis_coord(i_coor_idx: int) Length

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Func GetPlaneAxisCoord(long iCoorIdx) As Length

Retrieves the translation coordinates.
Role: The translation coordinates are expressed with respect to the planar
coordinate system related to the 2D planar wire from its default position.
GetPlaneAxisCoord retrieves one coordinate at a time.

Parameters:

iCoorIdx
The coordinate index
Legal values
: 1 for X and 2 for Y

Returns:
The coordinate value
Parameters:

i_coor_idx (int) –

Return type:

Length

get_plane_axis_swap_axes(ii: int) int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Func GetPlaneAxisSwapAxes(long ii) As long

Retrieves the inversion axes from their previous
definitions.

Parameters:

iI
== NOT USED YET == Must always be set to 0

Returns:
The inversion value
Legal values:

CATGSMAxisInversionMode_None
No axis inverted
CATGSMAxisInversionMode_X
Only the X axis is inverted
CATGSMAxisInversionMode_Y
Only the Y axis is inverted
CATGSMAxisInversionMode_Both
Both axes are inverted
Parameters:

ii (int) –

Return type:

int

property mode: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Mode() As long

Returns or sets the developing mode.
Legal values:

CATGSMDevelopMethod_DevDev
Develop / develop algorithm
CATGSMDevelopMethod_DevProj
Develop / project algorithm
Return type:

int

property mode_pos: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property ModePos() As long

Returns or sets the positioning mode used for the 2D wire.
Legal values:

CATGSMPositionMode_NoneOrPositioned
No positioning
CATGSMPositionMode_ExplicitSweep
CATGSMPositionMode_Develop
The 2D wire is to be moved from its initial position
Return type:

int

property plane_axis_direction: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property PlaneAxisDirection() As Reference

Returns or sets the direction corresponding to the first axis of the planar
axis system related to the planar 2D wire.
Sub-element(s) supported (see Boundary object): RectilinearTriDimFeatEdge,
BiDimFeatEdge or RectilinearMonoDimFeatEdge.
Return type:

Reference

property plane_axis_origin: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property PlaneAxisOrigin() As Reference

Returns or sets the point designated as the origin of the planar 2D
wire.
Sub-element(s) supported (see Boundary object): Vertex.
Return type:

Reference

property point_on_support: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property PointOnSupport() As Reference

Returns or sets the development origin on the support
surface.
Sub-element(s) supported (see Boundary object): Vertex.
Return type:

Reference

property positioned_wire: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property PositionedWire() As Reference

Returns or sets the positioning transformation.
Role: To retrieve or set the positioning transformation associated to the
develop feature and which result corresponds to the positioned 2D wire.
Return type:

Reference

set_plane_axis_angle(i_angle: float) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub SetPlaneAxisAngle(double iAngle)

Sets the rotation angle.
Role: The rotation angle is expressed in the planar coordinate system
related to the 2D planar wire from its default position.

Parameters:

iAngle
The rotation angle value.
Parameters:

i_angle (float) –

Return type:

None

set_plane_axis_coord(i_coor_idx: int, i_coord_value: float) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub SetPlaneAxisCoord(long iCoorIdx,
double iCoordValue)

Sets the translation coordinates.
Role: The translation coordinates are expressed with respect to the planar
coordinate system related to the 2D planar wire from its default position.
SetPlaneAxisCoord sets one coordinate at a time.

Parameters:

iCoorIdx
The coordinate index
Legal values
: 1 for X and 2 for Y
iCoordValue
The coordinate value
Parameters:
  • i_coor_idx (int) –

  • i_coord_value (float) –

Return type:

None

set_plane_axis_swap_axes(i_idx: int, i_inversion_value: int) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub SetPlaneAxisSwapAxes(long iIdx,
long iInversionValue)

Sets the inversion axes from their previous definitions.

Parameters:

iIdx
== NOT USED YET == Must always be set to 0
iInversionValue
The inversion value
Legal values:

CATGSMAxisInversionMode_None
No axis inverted
CATGSMAxisInversionMode_X
Only the X axis is inverted
CATGSMAxisInversionMode_Y
Only the Y axis is inverted
CATGSMAxisInversionMode_Both
Both axes are inverted
Parameters:
  • i_idx (int) –

  • i_inversion_value (int) –

Return type:

None

property support: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Support() As Reference

Returns or sets the support revolution surface on which the development is
operated.
Sub-element(s) supported (see Boundary object): Face.
Return type:

Reference

property wire_to_develop: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property WireToDevelop() As Reference

Returns or sets the 2D wire to be developed.
Sub-element(s) supported (see Boundary object): TriDimFeatEdge or
BiDimFeatEdge.
Return type:

Reference