pycatia.hybrid_shape_interfaces.hybrid_shape_circle2_points_rad¶
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_circle2_points_rad.HybridShapeCircle2PointsRad(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeCATGSMIDLItf.HybridShapeCircleHybridShapeCircle2PointsRadRepresents the hybrid shape circle object defined using two points and aradius.Role: To access the data of the hybrid shape circle object.This data includes:The circle two passing pointsThe circle radiusThe surface that supports the circleThe circle orientationUse the CATIAHybridShapeFactory to create a HybridShapeCircle2PointsRadobject.See also:HybridShapeFactory- property diameter: pycatia.knowledge_interfaces.length.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
- Returns
Length
- 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
- Returns
bool
- Return type
bool
- is_geodesic() bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func IsGeodesic() As booleanQueries whether the circle is geodesic or not.Parameters:oGeodgeodesic type : when TRUE, the circle is geodesic.
- Returns
bool
- Return type
bool
- property orientation: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Orientation() As longReturns or sets the circle orientation.Role: The circle orientation indicates which side of the line made up usingthe two passing points is used to create the major part of the circle. It isdetermined using the cross product of the normal to the suppport and the vectormade up using the two passing points (Pt1-Pt2).Legal values: 1 to state that the major part of the circle is or should becreated on the side of the line shown by the vector resulting from this crossproduct, and -1 otherwise.Example:This example retrieves in HybShpCircleOrientation the orientation ofthe HybShpCircle hybrid shape circle.HybShpCircleOrientation = HybShpCircle.Orientation
- Returns
int
- Return type
int
- property pt1: pycatia.in_interfaces.reference.Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Pt1() As ReferenceReturns or sets the circle first passing point.Sub-element(s) supported (see Boundary object): Vertex.Example:This example retrieves the first passing point of the HybShpCirclehybrid shape circle in HybShpCircleFirstPassingPointpoint.Dim HybShpCircleFirstPassingPoint As ReferenceSet HybShpCircleFirstPassingPoint = HybShpCircle.Pt1
- Returns
Reference
- Return type
- property pt2: pycatia.in_interfaces.reference.Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Pt2() As ReferenceReturns or sets the circle second passing point.Sub-element(s) supported (see Boundary object): Vertex.Example:This example sets the second passing point of the HybShpCircle hybridshape circle as the Point12 point.HybShpCircle.Pt2 Point12
- Returns
Reference
- Return type
- property radius: pycatia.knowledge_interfaces.length.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.Parameters:RadiusThe circle radius, expressed as aLength literal. Succeeds only 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
- Returns
Length
- Return type
- set_geometry_on_support() None¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetGeometryOnSupport()Sets GeometryOnSupport of circle.It puts the circle on the surface. S_OK if OK, E_FAIL if fail
- Returns
None
- Return type
None
- property support: pycatia.in_interfaces.reference.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
- Returns
Reference
- Return type
- unset_geometry_on_support() None¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub UnsetGeometryOnSupport()Inactivates GeometryOnSupport of circle.Note: The circle becomes euclidean.
- Returns
None
- Return type
None