pycatia.hybrid_shape_interfaces.hybrid_shape_circle_ctr_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_circle_ctr_rad.HybridShapeCircleCtrRad(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeCATGSMIDLItf.HybridShapeCircleHybridShapeCircleCtrRadRepresents the hybrid shape circle object defined using a center and aradius.Role: To access the data of the hybrid shape circle object.This data includes:The circle centerThe circle radiusThe surface that supports the circleUse the CATIAHybridShapeFactory to create a HybridShapeCircleCtrRadobject.See also:HybridShapeFactory- property center: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Center() As ReferenceReturns or sets the circle center.Sub-element(s) supported (see Boundary object): Vertex.Example:This example retrieves in HybShpCircleCenter the center of theHybShpCircle hybrid shape circle.Dim HybShpCircleCenter As ReferenceHybShpCircleCenter = HybShpCircle.Center
- 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. Succeeds only if DiameterMode is setto 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 first_direction: HybridShapeDirection¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstDirection() As HybridShapeDirectionReturns or sets the first direction used to set the angles reference.Example:This example retrieves in myHybridShapeDirection the first direction of theHybShpCircle hybrid shape circle featureDim myHybridShapeDirection As CATIAHybridShapeDirectionmyHybridShapeDirection = HybShpCircle.FirstDirectionSee also:HybridShapeDirection
- Return type:
- get_second_direction(o_dir_x: float, o_dir_y: float, o_dir_z: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetSecondDirection(double oDirX,double oDirY,double oDirZ)Gets the second direction on the plane to compute the point (forstability).This direction has to be kept perpendicular to the firstdirectionParameters:oDirX,oDirY, oDirZ. second directionSee also:HybridShapeDirection
- Parameters:
o_dir_x (float) –
o_dir_y (float) –
o_dir_z (float) –
- Return type:
None
- 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.
- 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 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:
- 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.
- Return type:
None
- set_second_direction(i_dir_x: float, i_dir_y: float, i_dir_z: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetSecondDirection(double iDirX,double iDirY,double iDirZ)Sets the second direction on the plane to compute the point (forstability).This direction has to be kept perpendicular to the firstdirectionParameters:iDirX,iDirY, iDirZ. second directionSee also:HybridShapeDirection
- Parameters:
i_dir_x (float) –
i_dir_y (float) –
i_dir_z (float) –
- Return type:
None
- 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:
- 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.
- Return type:
None