pycatia.hybrid_shape_interfaces.hybrid_shape_circle_bitangent_radius¶
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_circle_bitangent_radius.HybridShapeCircleBitangentRadius(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeCATGSMIDLItf.HybridShapeCircleHybridShapeCircleBitangentRadiusRepresents the hybrid shape circle object defined using a radius and tangent totwo curves.Role: To access the data of the hybrid shape circle object.This data includes:The circle radiusThe two curves to which the circle is tangentThe surface that supports the circleThe orientation of each curveUse the CATIAHybridShapeFactory to create a HybridShapeCircleBitangentRadiusobject.See also:HybridShapeFactory- property begin_of_circle: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property BeginOfCircle() As longReturn or Set the number of the beginning curve of the circle. Thisparameter is used to stabilize the resulting circleExample:This example set the beginning wire index ofthe hybShpcircle hybrid shape circlehybShpcircle.BeginOfCircle = 1
- Return type:
int
- property curve1: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Curve1() As ReferenceReturns or sets the first curve to which the circle is or will betangent.Sub-element(s) supported (see Boundary object): TriDimFeatEdge orBiDimFeatEdge.Example:This example retrieves in HybShpCircleFirstCurve the first curve towhich the HybShpCircle hybrid shape circle is tangent.Dim HybShpCircleFirstCurve As ReferenceHybShpCircleFirstCurve = HybShpCircle.Curve1
- Return type:
- property curve2: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Curve2() As ReferenceReturns or sets the second curve to which the circle is or will betangent.Sub-element(s) supported (see Boundary object): TriDimFeatEdge orBiDimFeatEdge.Example:This example sets the second curve to which the HybShpCircle hybridshape circle will be tangent to Crv5.HybShpCircle.Curve2 Crv5
- Return type:
- property diameter: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Diameter() As Length (Read Only)Returns the circle diameter. It is expressed as a Length literal. Succeedsonly if DiameterMode is set to True.Example:This example retrieves in HybShpCircleDiameter the diameter of theHybShpCircle hybrid shape circle featureDim HybShpCircleDiameter As LengthHybShpCircleDiameter = HybShpCircle.Diameter
- Return type:
- property diameter_mode: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property DiameterMode() As booleanReturns or sets the DiameterMode.Legal values: True implies diameter False implies radius (default). WhenDiameterMode is changed, Radius/Diameter value, which is stored will not bemodified.Example:This example sets that the DiameterMode ofthe HybShpCircle hybrid shape circle featureHybShpCircle.DiameterMode = True
- Return type:
bool
- property discrimination_index: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property DiscriminationIndex() As longReturn or set the discrimination index of the current circle. 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 hybShpcircle hybrid shape circlehybShpcircle.DiscriminationIndex = 2
- Return type:
int
- property orientation1: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Orientation1() As longReturns or sets the orientation of the first curve to which the circle istangent.Role: The orientation of the first curve determines the side of this curvetaken into account to find the point where the circle is tangent to thecurve.Legal values: To be provided by Claire (1/-1??)Example:This example sets the orientation of the first curve to which theHybShpCircle hybrid shape circle is tangent toreverse.HybShpCircle.Orientation1 -1
- Return type:
int
- property orientation2: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Orientation2() As longReturns or sets the orientation of the second curve to which the circle istangent.Role: The orientation of the second curve determines the side of this curvetaken into account to find the point where the circle is tangent to thecurve.Legal values: To be provided by Claire (1/-1??)Example:This example retrieves in HybShpCircleOrientation the orientation ofthe second curve to which the HybShpCircle hybrid shape circle istangent.HybShpCircleOrientation = HybShpCircle.Orientation2
- Return type:
int
- 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 circle radius. It is expressed as a Length literal. Succeedsonly if DiameterMode is set to False.Example:This example retrieves in HybShpCircleRadius the radius of the HybShpCirclehybrid shape circle.Dim HybShpCircleRadius As LengthHybShpCircleRadius = HybShpCircle.Radius
- Return type:
- property support: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Support() As ReferenceReturns or sets the circle support surface.Sub-element(s) supported (see Boundary object): Face.Example:This example retrieves in HybShpCircleSupportSurf the support surfaceof the HybShpCircle hybrid shape circle.Dim HybShpCircleSupportSurf As ReferenceHybShpCircleSupportSurf = HybShpCircle.Support
- Return type:
- property tangent_orientation1: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property TangentOrientation1() As longReturns or sets the tangent orientation of the circle first referenceelement. compared to the circle itselfExample:This example retrieves the tangent orientation of first referenceelement ofthe hybShpcircle hybrid shape circle in firstOrient.Dim firstOrient As longfirstOrient = hybShpcircle.FirstTangentOrientation
- Return type:
int
- property tangent_orientation2: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property TangentOrientation2() As longReturns or sets the tangent orientation of the circle second referenceelement. compared to the corner itselfExample:This example retrieves the tangent orientation of second referenceelement ofthe hybShpcircle hybrid shape circle in secondOrient.Dim secondOrient As longsecondOrient = hybShpcircle.SecondTangentOrientation
- Return type:
int
- 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 circle reference curves are or should betrimmed.Legal values: 0 if the circle reference curves are not or should not betrimmed, 1 if the circle reference curves are or should be trimmed, 2 if onlythe first circle reference curve is or should be trimmed, 3 if only the secondcircle reference curve is or should be trimmed,Example:This example sets that the corner reference curvesofthe hybShpCircle hybrid shape circle should betrimmed.hybShpCircle.TrimMode = 1
- Return type:
int