pycatia.hybrid_shape_interfaces.hybrid_shape_conic¶
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_conic.HybridShapeConic(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeConicRepresents the hybrid shape conic object.Role: To access the data of the hybrid shape conic object. This dataincludes:The start point and its associated tangent contraintThe end point and its associated tangent contraintThe supporting planeThe tangent intersection pointThe conic parameter: p = 0.5 (parabola), 0<=p<=0.5 (ellipse), 0.5<= p <=1.0 (hyperbola)Use the HybridShapeFactory to create a HybridShapeConicobject.- property conic_parameter: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ConicParameter() As doubleReturns or sets the conic parameter.Example:This example retrieves in conicParm the conic parameter of the conichybConic.Dim conicParm As doubleSet conicParm = hybConic.ConicParameter
- Return type:
float
- property conic_user_tol: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ConicUserTol() As Length (Read Only)Gets or sets the conic User Tolerance.Example:This example retrieves in conicUserTol the conic user tolerance of theconic HybridShapeConic.Dim oConicUserTol As CATIALengthSet oConicUserTol = HybridShapeConic.conicUserTolSee also:Length
- Return type:
- property end_point: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property EndPoint() As ReferenceReturns or sets the conic end point.Sub-element(s) supported (see Boundary object): Vertex.Example:This example retrieves in endPt the end point of the conichybConic.Dim endPt As ReferenceSet endPt = hybConic.EndPoint
- Return type:
- property end_tangent: HybridShapeDirection¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property EndTangent() As HybridShapeDirectionReturns or sets the tangent direction at the conic endpoint.Example:This example retrieves in endTgt the tangent direction associated withthe end point of the conic hybConic.Dim endTgt As ReferenceSet endTgt = hybConic.EndTangent
- Return type:
- get_end_tangent_direction_flag(o_orientation: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetEndTangentDirectionFlag(long oOrientation)Retrieves the tangent direction orientation at the conic endpoint.Parameters:oOrientationThe direction orientation applied to the tangent direction at theconic end pointLegal values: 1 if the tangent direction is used as is, and -1 ifit is invertedExample:This example retrieves the direction orientation of the tangent atthe end point ofthe conic hybConic.Dim endPtTgtOrient As longhybConic.GetEndTangentDirectionFlag endPtTgtOrient
- Parameters:
o_orientation (int) –
- Return type:
None
- get_intermed_tangent(i_index_point: int) HybridShapeDirection ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetIntermedTangent(long iIndexPoint) AsHybridShapeDirectionRetrieves the tangent direction at one of the conic intermediate passingpoints.Parameters:iIndexPointAn index that designates the passing point toretrieveLegal values: 1 for the first passing point, and 2 for the secondoneoTgtDirThe retrieved tangent direction at the given passing pointExample:This example retrieves in tgtDir the tangent direction at pointpassingPtIdxthrough which the conic hybConic passes.Dim tgtDir As ReferencepassingPtIdx = 1Set tgtDir = hybConic.GetIntermedTangent (passingPtIdx)
- Parameters:
i_index_point (int) –
- Return type:
- get_intermediate_point(i_index_point: int, o_end_point: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetIntermediatePoint(long iIndexPoint,Reference oEndPoint)Retrieves one of the conic intermediate passing points.Parameters:iIndexPointAn index that designates the passing point toretrieveLegal values: 1 for the first passing point, 2 for the second one,and 3 for the third oneoEndPointThe retrieved passing pointExample:This example retrieves in passingPt the second point throughwhichthe conic hybConic passes.Dim passingPt As ReferencepassingPtIdx = 2hybConic.GetIntermediatePoint passingPtIdx, passingPt
- Parameters:
i_index_point (int) –
o_end_point (Reference) –
- Return type:
None
- get_intermediate_tangent_direction_flag(i_index_point: int, o_orientation: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetIntermediateTangentDirectionFlag(long iIndexPoint,long oOrientation)Retrieves the tangent direction orientation of one of the conicintermediate points.Parameters:iIndexPointAn index that designates the passing point toretrieveLegal values: 1 for the first passing point, and 2 for the secondoneoOrientationThe direction orientation applied to the tangent direction at theintermediate passing pointLegal values: 1 if the tangent direction is used as is, and -1 ifit is invertedExample:This example retrieves the direction orientation of the tangent atthe first point through whichthe conic hybConic passes.passingPtIdx = 1Dim passingPtTgtOrient As longhybConic.GetIntermediateTangentDirectionFlag passingPtIdx,passingPtTgtOrient
- Parameters:
i_index_point (int) –
o_orientation (int) –
- Return type:
None
- get_start_tangent_direction_flag(o_orientation: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetStartTangentDirectionFlag(long oOrientation)Retrieves the tangent direction orientation at the conic startpoint.Parameters:oOrientationThe direction orientation applied to the tangent direction at theconic start pointLegal values: 1 if the tangent direction is used as is, and -1 ifit is invertedExample:This example retrieves the direction orientation of the tangent atthe start point ofthe conic hybConic.Dim startPtTgtOrient As longhybConic.GetStartTangentDirectionFlagstartPtTgtOrient
- Parameters:
o_orientation (int) –
- Return type:
None
- set_end_tangent_direction_flag(i_orientation: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetEndTangentDirectionFlag(long iOrientation)Sets the tangent direction orientation at the conic endpoint.Parameters:iOrientationThe direction orientation to be applied to the tangent direction atthe conic end pointLegal values: 1 if the tangent direction is to be used as is, and-1 if it must be invertedExample:This example sets the direction orientation of the tangent at the endpoint ofthe conic hybConic to the one of the direction usedforthe tangent.endPtTgtOrient = 1hybConic.SetEndTangentDirectionFlag endPtTgtOrient
- Parameters:
i_orientation (int) –
- Return type:
None
- set_intermediate_point(i_index_point: int, i_end_point: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetIntermediatePoint(long iIndexPoint,Reference iEndPoint)Sets one of the conic intermediate passing points.Parameters:iIndexPointAn index that designates the passing point toretrieveLegal values: 1 for the first passing point, 2 for the second one,and 3 for the third oneiEndPointThe passing point to set.Sub-element(s) supported (seeBoundary object): Vertex.Example:This example sets passingPt as the first point throughwhichthe conic hybConic must pass.Dim passingPt As Reference… ‘ Value passingPtpassingPtIdx = 1hybConic.SetIntermediatePoint passingPtIdx, passingPt
- Parameters:
i_index_point (int) –
i_end_point (Reference) –
- Return type:
None
- set_intermediate_tangent(i_index_point: int, i_tgt_dir: HybridShapeDirection) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetIntermediateTangent(long iIndexPoint,HybridShapeDirection iTgtDir)Sets the tangent direction at one of the conic intermediate passingpoints.Parameters:iIndexPointAn index that designates the passing point where the tangentdirection is to be setLegal values: 1 for the first passing point, and 2 for the secondoneiTgtDirThe direction to set as the tangent direction at the given passingpointExample:This example sets tgtDir as the tangent direction at the first pointthrough whichthe conic hybConic passes.Dim tgtDir As Reference… ‘ Value tgtDirpassingPtIdx = 1hybConic.SetIntermediateTangent passingPtIdx, tgtDir
- Parameters:
i_index_point (int) –
i_tgt_dir (HybridShapeDirection) –
- Return type:
None
- set_intermediate_tangent_direction_flag(i_index_point: int, i_orientation: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetIntermediateTangentDirectionFlag(long iIndexPoint,long iOrientation)Sets the tangent direction orientation of one of the conic intermediatepoints.Parameters:iIndexPointAn index that designates the passing point toretrieveLegal values: 1 for the first passing point, and 2 for the secondoneiOrientationThe direction orientation to be applied to the tangent direction atthe intermediate passing pointLegal values: 1 if the tangent direction is to be used as is, and-1 if it must be invertedExample:This example sets the direction orientation of the tangent at thefirst point through whichthe conic hybConic passes to the inverse of the one of the directionused forthe tangent.passingPtIdx = 1passingPtTgtOrient = -1hybConic.SetIntermediateTangentDirectionFlag passingPtIdx,passingPtTgtOrient
- Parameters:
i_index_point (int) –
i_orientation (int) –
- Return type:
None
- set_start_and_end_tangents_plus_conic_parameter(i_start_tgt: HybridShapeDirection, i_end_tgt: HybridShapeDirection, i_conic_param: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetStartAndEndTangentsPlusConicParameter(HybridShapeDirectioniStartTgt,HybridShapeDirection iEndTgt,double iConicParam)Sets the tangent directions at conic start and end points, and the conicparameter.Parameters:iStartTgtThe tangent direction at the start pointiEndTgtThe tangent direction at the end pointiConicParamThe conic parameterLegal values: p = 0.5 (parabola), 0<=p<=0.5 (ellipse), 0.5<= p <=1.0 (hyperbola)Example:This example sets firstDir and secondDir as the tangent directions atthe startand end points of the conic hybConic, and conicParm as the conicparameter.hybConic.SetStartAndEndTangentsPlusConicParameter firstDir, secondDir,conicParm
- Parameters:
i_start_tgt (HybridShapeDirection) –
i_end_tgt (HybridShapeDirection) –
i_conic_param (float) –
- Return type:
None
- set_start_and_end_tangents_plus_passing_point(i_start_tgt: HybridShapeDirection, i_end_tgt: HybridShapeDirection, i_passing_pt: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetStartAndEndTangentsPlusPassingPoint(HybridShapeDirectioniStartTgt,HybridShapeDirection iEndTgt,Reference iPassingPt)Sets the tangent directions at conic start and end points, and a passingpoint.Parameters:iStartTgtThe tangent direction at the start point.Sub-element(s) supported (seeBoundary object): Vertex.iEndTgtThe tangent direction at the end pointiPassingPtA point through which the conic must pass.Legal values: This point must differ from the start and end points.Example:This example sets firstDir and secondDir as the tangent directions atthe startand end points of the conic hybConic, and passingPoint as a pointthroughwhich the conic must pass.hybConic.SetStartAndEndTangentsPlusPassingPoint firstDir, secondDir,passingPoint
- Parameters:
i_start_tgt (HybridShapeDirection) –
i_end_tgt (HybridShapeDirection) –
i_passing_pt (Reference) –
- Return type:
None
- set_start_tangent_direction_flag(i_orientation: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetStartTangentDirectionFlag(long iOrientation)Sets the tangent direction orientation at the conic startpoint.Parameters:iOrientationThe direction orientation to be applied to the tangent direction atthe conic start pointLegal values: 1 if the tangent direction is to be used as is, and-1 if it must be invertedExample:This example sets the direction orientation of the tangent at thestart point ofthe conic hybConic to the inverse of the one of the direction usedforthe tangent.startPtTgtOrient = -1hybConic.SetStartTangentDirectionFlagstartPtTgtOrient
- Parameters:
i_orientation (int) –
- Return type:
None
- set_tangent_intersect_point_plus_conic_parm(i_tgt_int: Reference, i_conic_param: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetTangentIntersectPointPlusConicParm(ReferenceiTgtInt,double iConicParam)Sets the intersection point of the conic tangents to the start and endpoints, and the conic parameter.Parameters:iTgtIntThe point intersection of the conic tangents to the start and endpoint.Sub-element(s) supported (seeBoundary object): Vertex.iConicParamThe conic parameterLegal values: p = 0.5 (parabola), 0<=p<=0.5 (ellipse), 0.5<= p <=1.0 (hyperbola)Example:This example sets tgtIntPoint as the intersection point of thetangentsto the start and end points of the conic hybConic, and conicParm asthe conic parameter.hybConic.SetTangentIntersectPointPlusConicParm tgtIntPoint,conicParm
- Parameters:
i_tgt_int (Reference) –
i_conic_param (float) –
- Return type:
None
- set_tangent_intersect_point_plus_passing_point(i_tgt_int: Reference, i_passing_pt: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetTangentIntersectPointPlusPassingPoint(ReferenceiTgtInt,Reference iPassingPt)Sets the intersection point of the conic tangents to the start and endpoints, and a passing point.Parameters:iTgtIntThe point intersection of the conic tangents to the start and endpoint.Sub-element(s) supported (seeBoundary object): Vertex.iPassingPtA point through which the conic must pass.Legal values: This point must differ from the start and endpoints.Sub-element(s) supported (see Boundary object):Vertex.Example:This example sets tgtIntPoint as the intersection point of thetangentsto the start and end points of the conic hybConic, and passingPoint asa point throughwhich the conic must pass.hybConic.SetTangentIntersectPointPlusPassingPoint tgtIntPoint,passingPoint
- set_three_intermediate_passing_points(i_pass_pt1: Reference, i_pass_pt2: Reference, i_pass_pt3: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetThreeIntermediatePassingPoints(Reference iPassPt1,Reference iPassPt2,Reference iPassPt3)Sets three conic intermediate passing points.Parameters:iPassPt1The first intermediate passing point.Sub-element(s) supported (seeBoundary object): Vertex.iPassPt2The second intermediate passing point.Sub-element(s) supported (see Boundary object):Vertex.iPassPt3The third intermediate passing point.Sub-element(s) supported (see Boundary object):Vertex.Example:This example sets passingPoint1, passingPoint2, and passingPoint3 asthethree intermediate points through which the conic hybConic mustpass.hybConic.SetThreeIntermediatePassingPoints passingPoint1,passingPoint2, passingPoint3
- set_two_intermediate_passing_points_plus_one_tangent(i_pass_pt1: Reference, i_pass_pt2: Reference, i_tgt_dir: HybridShapeDirection, i_index_point: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetTwoIntermediatePassingPointsPlusOneTangent(ReferenceiPassPt1,Reference iPassPt2,HybridShapeDirection iTgtDir,long iIndexPoint)Sets two conic intermediate passing points and a tangent at one of thepassing points.Parameters:iPassPt1The first intermediate passing point.Sub-element(s) supported (seeBoundary object): Vertex.iPassPt2The second intermediate passing point.Sub-element(s) supported (see Boundary object):Vertex.iTgtDirThe tangent direction at one of the intermediate passing pointsiIndexPointAn index indicating the passing point to which the tangent directionappliesLegal values: 1 for the first passing point, and 2 for the second oneExample:This example sets passingPoint1 and passingPoint2 astwointermediate points through which the conic hybConic mustpass,tgtDir as the tangent direction at the passing point designated bypassingPointIdx.hybConic.SetTwoIntermediatePassingPointsPlusOneTangent passingPoint1,passingPoint2, tgtDir, passingPointIdx
- Parameters:
i_pass_pt1 (Reference) –
i_pass_pt2 (Reference) –
i_tgt_dir (HybridShapeDirection) –
i_index_point (int) –
- Return type:
None
- property start_point: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property StartPoint() As ReferenceReturns or sets the conic start point.Sub-element(s) supported (see Boundary object): Vertex.Example:This example sets startPt as the start point of the conichybConic.Dim startPt As Reference… ‘ Value startPthybConic.StartPoint startPt
- Return type:
- property start_tangent: HybridShapeDirection¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property StartTangent() As HybridShapeDirectionReturns or sets the tangent direction at the conic startpoint.Example:This example sets startTgt as the tangent direction at the start pointof the conic hybConic.Dim startTgt As Reference… ‘ Value startTangenthybConic.StartTangent startTgt
- Return type:
- property support_plane: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SupportPlane() As ReferenceReturns or sets the conic supporting plane.Sub-element(s) supported (see Boundary object):PlanarFace.Example:This example retrieves in supportPln the supporting plane of the conichybConic.Dim supportPln As ReferenceSet supportPln = hybConic.SupportPlane
- Return type:
- switch_end_tangent_direction() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SwitchEndTangentDirection()Inverts the tangent direction orientation at the conic endpoint.Example:This example inverts the direction orientation of the tangent at theend point ofthe conic hybConic.hybConic.SwitchEndTangentDirection
- Return type:
None
- switch_intermediate_tangent_direction(i_index_point: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SwitchIntermediateTangentDirection(long iIndexPoint)Inverts the tangent direction orientation of one of the conic intermediatepoints.Parameters:iIndexPointAn index that designates the passing point where the tangentdirection is to be invertedLegal values: 1 for the first passing point, and 2 for the secondoneExample:This example inverts the direction orientation of the tangent at thefirst point through whichthe conic hybConic passes.passingPtIdx = 1hybConic.SwitchIntermediateTangentDirectionpassingPtIdx
- Parameters:
i_index_point (int) –
- Return type:
None
- switch_start_tangent_direction() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SwitchStartTangentDirection()Inverts the tangent direction orientation at the conic startpoint.Example:This example inverts the direction orientation of the tangent at thestart point ofthe conic hybConic.hybConic.SwitchStartTangentDirection
- Return type:
None
- property tangent_int_point: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property TangentIntPoint() As ReferenceReturns or sets the conic tangent intersection point.Sub-element(s) supported (see Boundary object): Vertex.Example:This example retrieves in tgtIntPt the tangent intersection point ofthe conic hybConic.Dim tgtIntPt As ReferenceSet tgtIntPt = hybConic.TangentIntPoint
- Return type: