pycatia.hybrid_shape_interfaces.hybrid_shape_line_bi_tangent¶
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_line_bi_tangent.HybridShapeLineBiTangent(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeCATGSMIDLItf.LineHybridShapeLineBiTangentLine tangent to a curve.Role: To access data of the line feature created to be tangent to twoentities- 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 tangency curve lying on the supportsurface.Sub-element(s) supported (see Boundary object): TriDimFeatEdge orBiDimFeatEdge.Example:This example retrieves in oCurve the first tangency curve for theLineBiTangent hybrid shape feature.Dim oCurve As ReferenceSet oCurve = LineBiTangent.Curve1
- Return type:
- property element2: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Element2() As ReferenceReturns or Sets the second tangency element (point, curve) lying on thesupport surface.Sub-element(s) supported (see Boundary object): TriDimFeatEdge,BiDimFeatEdge or Vertex.Example:This example retrieves in oElement the second tangency Element (point,curve) for the LineBiTangent hybrid shape feature.Dim oElement As ReferenceSet oElement = LineBiTangent.Element2
- Return type:
- get_choice_no(val1: int, val2: int, val3: int, val4: int, val5: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetChoiceNo(long val1,long val2,long val3,long val4,long val5)Returns a sequence which identifies a solution among allpossibilities.val1 = Solution number (from 1 to n).val2 = oOriTgt1This orientation allows to compute just the results that are tangent to aspecific region of the first curve.It can take 3 values:+1 : the result has the same orientation as the curve,-1 : the result has the opposite orientation of the curve,0 : no orientation is specified.val3 = oOriCvt1This orientation allows to compute just the results that are tangent to aspecific side of the first curve.It can take 3 values:+1 : curvature direction of curve and cross product of support normal and result directionare in the same direction,-1 : curvature direction of curve and cross product of support normal and result directionare in opposite directions,0 : no orientation is specified.val4 = oOriTgt2In case of curve/curve bitangent line, this orientation allows to computejust the results that are tangent to a specific region of the second curve.It can take 3 values:+1 : the result has the same orientation as the curve,-1 : the result has the opposite orientation of the curve,0 : no orientation is specified.val5 = oOriCvt2In case of curve/curve bitangent line this orientation allows to computejust the results that are tangent to a specific side of the secondcurve.It can take 3 values:+1 : curvature direction of curve and cross product of support normal and result directionare in the same direction,-1 : curvature direction of curve and cross product of support normal and result directionare in opposite directions,0 : no orientation is specified.Example:This example retrieves in vakl1,val2,val3,val4,val5 parameters forsolutions for the LineBiTangent hybrid shape feature.Dim oVal1 As longDim oVal2 As longDim oVal3 As longDim oVal4 As longDim oVal5 As longLineBiTangent.GetChoiceNo(ovla1, oVal2, oVal3, oVal4, oVal5)
- Parameters:
val1 (int) –
val2 (int) –
val3 (int) –
val4 (int) –
val5 (int) –
- Return type:
None
- get_length_type() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetLengthType() As longGets the length type Default is 0.Parameters:oTypeThe length type = 0 : length - the line is limited by its extremities =1 : infinite - the line is infinite = 2 : infinite start point - the line is infinite onthe side of the start point = 3 : infinite end point - the line is infinite on the sideof the end point
- Return type:
int
- set_choice_no(val1: int, val2: int, val3: int, val4: int, val5: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetChoiceNo(long val1,long val2,long val3,long val4,long val5)Sets a sequence which identifies a solution among allpossibilities.val1 = Solution number (from 1 to n).val2 = oOriTgt1This orientation allows to compute just the results that are tangent to aspecific region of the first curve.It can take 3 values:+1 : the result has the same orientation as the curve,-1 : the result has the opposite orientation of the curve,0 : no orientation is specified.val3 = oOriCvt1This orientation allows to compute just the results that are tangent to aspecific side of the first curve.It can take 3 values:+1 : curvature direction of curve and cross product of support normal and result directionare in the same direction,-1 : curvature direction of curve and cross product of support normal and result directionare in opposite directions,0 : no orientation is specified.val4 = oOriTgt2In case of curve/curve bitangent line, this orientation allows to computejust the results that are tangent to a specific region of the second curve.It can take 3 values:+1 : the result has the same orientation as the curve,-1 : the result has the opposite orientation of the curve,0 : no orientation is specified.val5 = oOriCvt2In case of curve/curve bitangent line this orientation allows to computejust the results that are tangent to a specific side of the secondcurve.It can take 3 values:+1 : curvature direction of curve and cross product of support normal and result directionare in the same direction,-1 : curvature direction of curve and cross product of support normal and result directionare in opposite directions,0 : no orientation is specified.Example:This example retrieves in vakl1,val2,val3,val4,val5 parameters forsolutions for the LineBiTangent hybrid shape feature.Dim iVal1 As longDim iVal2 As longDim iVal3 As longDim iVal4 As longDim iVal5 As longival1 = 1ival2 = 0ival3 = 0ival4 = 0ival5 = 0LineBiTangent.SetChoiceNo(ivla1, iVal2, iVal3, iVal4, iVal5)
- Parameters:
val1 (int) –
val2 (int) –
val3 (int) –
val4 (int) –
val5 (int) –
- Return type:
None
- set_length_type(i_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetLengthType(long iType)Sets the length type Default is 0.Parameters:iTypeThe length type = 0 : length - the line is limited by its extremities =1 : infinite - the line is infinite = 2 : infinite start point - the line is infiniteon the side of the start point = 3 : infinite end point - the line is infinite on theside of the end point
- Parameters:
i_type (int) –
- 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 supporting surface.Sub-element(s) supported (see Boundary object): Face.Example:This example retrieves in oSurface the surface for the LineBiTangenthybrid shape feature.Dim oSurface As ReferenceSet oSurface = LineBiTangent.Surface
- Return type: