pycatia.hybrid_shape_interfaces.hybrid_shape_corner¶
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_corner.HybridShapeCorner(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeCornerRepresents the hybrid shape corner feature.Role: To access the data of the hybrid shape corner object. This dataincludes:Two elementsTheir orientations (same or inverse than the underlyingcurve)A support for the hybrid shape corner on support featureA direction for the hybrid shape 3D corner featureA radius.Use the HybridShapeFactory to create a HybridShapeCornerobject.- property begin_of_corner: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property BeginOfCorner() As longReturn or Set the number of the beginning curve of the corner. Thisparameter is used to stabilize the resulting cornerExample:This example set the beginning wire index ofthe hybShpCorner hybrid shape cornerhybShpCorner.BeginOfCorner = 1
- Return type:
int
- property corner_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CornerType() As longReturns or sets the Corner Type.Example:This example retrieves the Corner Typethe hybShpCorner hybrid shape corner in CornerType.Dim lCornerType As longlCornerType = hybShpCorner.CornerType
- Return type:
int
- property direction: HybridShapeDirection¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Direction() As HybridShapeDirectionReturns or sets the 3D corner direction.Legal values: This can be a CATIAHybridShapeDirection.See also:HybridShapeDirectionExample:This example sets the direction ofthe hybShpCorner hybrid shape 3D corner asthe existing direction hybShpDirection.hybShpCorner.Direction = hybShpDirection
- Return type:
- property discrimination_index: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property DiscriminationIndex() As longReturns or set the discrimination index of the current corner. Severalresulting solutions produced by the operator can be same oriented regarding tothe input wire bodies. In such a case, they are sorted in order to distinguishthem. The Sequence FirstOrientation - SecondOrientation - DiscriminationIndexallows you to identify a unique one-domain solution.Example:This example set the discrimination index ofthe hybShpCorner hybrid shape cornerhybShpCorner.DiscriminationIndex = 2
- Return type:
int
- property first_elem: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstElem() As ReferenceReturns or sets the corner first reference element.Legal values: This can be a curve or a point.Sub-element(s) supported (see Boundary object): TriDimFeatEdge,BiDimFeatEdge or Vertex.Example:This example retrieves the first reference elementofthe hybShpCorner hybrid shape corner in firstElt.Dim fisrtElt As CATIAReferencefisrtElt = hybShpCorner.FirstElem
- Return type:
- property first_orientation: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstOrientation() As longReturns or sets the orientation of the corner first reference element. Theorientation specifies the corner center position. It is either the same of theinverse orientation than those of the cross product: Normal(Support) ^Tangent(FirstElem)Legal values: 1 if the orientation of the corner first reference element isthe same than the cross product: Normal(Support) ^ Tangent(FirstElem), and -1if it is the inverse.Example:This example retrieves the orientation of first reference elementofthe hybShpCorner hybrid shape corner in firstOrient.Dim firstOrient As longfirstOrient = hybShpCorner.FirstOrientation
- Return type:
int
- property first_tangent_orientation: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstTangentOrientation() As longReturns or sets the tangent orientation of the corner first referenceelement. compared to the corner itselfExample:This example retrieves the tangent orientation of first referenceelement ofthe hybShpCorner hybrid shape corner in firstOrient.Dim firstOrient As longfirstOrient = hybShpCorner.FirstTangentOrientation
- Return type:
int
- invert_first_orientation() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub InvertFirstOrientation()Inverts the first reference element orientation used to compute thecorner.Example:This example inverts the first corner reference element orientationofthe hybShpCorner.hybShpCorner.InvertFirstOrientation
- Return type:
None
- invert_second_orientation() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub InvertSecondOrientation()Inverts the second reference element orientation used to compute thecorner.Example:This example inverts the second corner reference element orientationofthe hybShpCorner.hybShpCorner.InvertSecondOrientation
- Return type:
None
- property on_vertex: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property OnVertex() As booleanReturns or sets the On Vertex mode off/on.Example:This example retrieves the OnVertexthe hybShpCorner hybrid shape corner in OnVertex.Dim bOnVertex As booleanbOnVertex = hybShpCorner.OnVertex
- Return type:
bool
- property radius: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Radius() As Length (Read Only)Returns the corner radius.Example:This example retrieves the radius ofthe hybShpCorner hybrid shape corner in radius.Dim radius As CATIALengthradius = hybShpCorner.Radius
- Return type:
- property second_elem: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SecondElem() As ReferenceReturns or sets the corner second reference element.Legal values: This is always a curve.Sub-element(s) supported (see Boundary object): TriDimFeatEdge,BiDimFeatEdge or Vertex.Example:This example retrieves the second reference elementofthe hybShpCorner hybrid shape corner in secondElt.Dim secondElt As CATIAReferencesecondElt = hybShpCorner.SecondElem
- Return type:
- property second_orientation: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SecondOrientation() As longReturns or sets the orientation of the corner second reference element. Theorientation specifies the corner center position. It is either the same of theinverse orientation than those of the cross product: Normal(Support) ^Tangent(SecondElem)Legal values: 1 if the orientation of the corner second reference elementis the same than the cross product: Normal(Support) ^ Tangent(SecondElem), and-1 if it is the inverse.Example:This example sets the orientation of second reference elementofthe hybShpCorner hybrid shape corner to the inverse of the crossporductNormal(Support) ^ Tangent(SecondElem).hybShpCorner.SecondOrientation = -1
- Return type:
int
- property second_tangent_orientation: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SecondTangentOrientation() As longReturns or sets the tangent orientation of the corner second referenceelement. compared to the corner itselfExample:This example retrieves the tangent orientation of second referenceelement ofthe hybShpCorner hybrid shape corner in secondOrient.Dim secondOrient As longfirstOrient = hybShpCorner.SecondTangentOrientation
- Return type:
int
- property support: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Support() As ReferenceReturns or sets the corner support.Legal values: This can be a plane or a surface.Sub-element(s) supported (see Boundary object): Face.Example:This example sets the support ofthe hybShpCorner hybrid shape corner asthe existing surface supportSurf.hybShpCorner.Support = supportSurf
- Return type:
- property trim: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Trim() As booleanReturns or sets whether the corner reference curves are or should betrimmed.Legal values: True if the corner reference curves are or should be trimmed,and False otherwise.Example:This example sets that the corner reference curvesofthe hybShpCorner hybrid shape corner should betrimmed.hybShpCorner.Trim = True
- Return type:
bool
- property trim_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property TrimMode() As longReturns or sets whether the corner reference curves are or should betrimmed.Legal values: 1 if the corner reference curves are or should be trimmed, 0if the corner reference curves are not or should not be trimmed, 2 if only thefirst corner reference curve is or should be trimmed, 3 if only the secondcorner reference curve is or should be trimmed,Example:This example sets that the corner reference curvesofthe hybShpCorner hybrid shape corner should betrimmed.hybShpCorner.TrimMode = 1
- Return type:
int