pycatia.hybrid_shape_interfaces.hybrid_shape_curve_par¶
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_curve_par.HybridShapeCurvePar(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeCurveParRepresents the hybrid shape curve parameter object.Role: To access the data of the hybrid shape curve parameter object. This dataincludes:The face to processThe offset parameter.Use the HybridShapeFactory to create a HybridShapeCurveParobject.- property curve_offseted: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CurveOffseted() As ReferenceReturns or sets the offset curve of the curve parameterobject.Sub-element(s) supported (see Boundary object): see TriDimFeatEdge orBiDimFeatEdge.Example:This example retrieves the offset curve ofthe hybShpCurvePar in offsetCrv.Dim offsetCrv As CATIAReferenceoffsetCrv = hybShpCurvePar.CurveOffseted
- Return type:
- property curve_par_law: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CurveParLaw() As ReferenceReturns or sets the offset law.Example:This example retrieves in oLaw the offset law for the hybShpCurveParhybrid shape feature.Dim oLaw As ReferenceSet oLaw = hybShpCurvePar.CurveParLaw
- Return type:
- property curve_par_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CurveParType() As longReturns or sets the corner type.Legal values:0CATGSMCurvePar_Sharp. corner with angle.1CATGSMCurvePar_Round. round corner.Example:This example retrieves in oCurveParType the curve par type for thehybShpCurvePar hybrid shape feature.oCurveParType = hybShpCurvePar.CurveParType
- Return type:
int
- property geodesic: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Geodesic() As booleanReturns or sets Geodesic mode.Legal values: True Geodesic mode and False Euclidian mode.Example:This example sets that the geodesic mode ofthe hybShpCurvePar hybrid shape curve par feature toTrue.hybShpCurvePar.Geodesic = True
- Return type:
bool
- get_plane_normal() tuple ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetPlaneNormal(CATSafeArrayVariant oNormal)Returns the Normal of the plane created when the Support of the curve isnot specified.Parameters:oNormalPlane normal. It is returned as an array of three coordinates inSafeArrayVariantExample:This example retrieves in oNormal the normal of the hybShpCurveParplane created.Dim oNormal(2)hybShpCurvePar.GetPlaneNormal(oNormal)You can access each normal coordinate as follows:x is in oNormal(0)y is in oNormal(1)z is in oNormal(2)
- Return type:
tuple
- property invert_direction: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property InvertDirection() As booleanReturns or sets the orientation.Legal values: True True to invert this orientation and False False meansthat there is no invertion of the curve orientation (orientation is the vectorproduct of the tangent of the curve by the normal on thesupport).Example:This example sets that the orientation ofthe hybShpCurvePar hybrid shape curve par feature toTrue.hybShpCurvePar.InvertDirection = True
- Return type:
bool
- property invert_mapping_law: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property InvertMappingLaw() As booleanReturns or sets the mapping orientation of the law (if offset is specifiedby a law).Legal values: True Law is applied from the end to the beginning of thecurve (mapping is inverted). False Law is applied from the beginning to the endof the curve (mapping is not inverted).Example:This example sets that the mapping orientation ofthe hybShpCurvePar hybrid shape curve par feature toTrue.hybShpCurvePar.InvertMappingLaw = True
- Return type:
bool
- property keep_both_sides: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property KeepBothSides() As booleanReturns or sets the both sides mode of the curve parameterobject.Example:This example retrieves the both sides mode ofthe hybShpCurveParDim bothSides As BooleanbothSides = hybShpCurvePar.KeepBothSides
- Return type:
bool
- property law_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property LawType() As longReturns or sets the law type.Legal values:0CATGSMBasicLawType_None. Undefined law type.1CATGSMBasicLawType_Constant. Constant law type.2CATGSMBasicLawType_Linear. Linear law type.3CATGSMBasicLawType_SType. S law type.4CATGSMBasicLawType_Advanced. Law specified by a GSD lawfeature.Example:This example retrieves in oLawType the law type for the hybShpCurveParhybrid shape feature.oLawType = hybShpCurvePar.LawType
- Return type:
int
- property maximum_deviation_value: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property MaximumDeviationValue() As doubleSets or Gets the maximum deviation allowed for smoothingoperation.Sets in distance unit, it corresponds to the radius of a pipe around theinput curve in which the result is allowed to be. This value must be set in SIunit (m).Example: This example retrieves in DeviationValue the maximum deviationvalue for the CurvePar hybrid shape feature.Dim DeviationValue As CATIALengthSet DeviationValue = CurvePar.MaximumDeviationValue
- Return type:
float
- property offset: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Offset() As Length (Read Only)Returns the offset parameter of the curve parameterobject.Example:This example retrieves the offset parameter ofthe hybShpCurvePar in offsetParm.Dim offsetParm As CATIALengthoffsetParm = hybShpCurvePar.Offset
- Return type:
- property offset2: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Offset2() As Length (Read Only)Returns the second offset parameter of the curve parameterobject.Example:This example retrieves the second offset parameterofthe hybShpCurvePar in offsetParm.Dim offsetParm As CATIALengthoffsetParm = hybShpCurvePar.Offset2
- Return type:
- property other_side: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property OtherSide() As Reference (Read Only)Returns the other side of parallel curve if both sides mode ison.Example:This example retrieves the other side ofthe hybShpCurveParDim otherSide As CATIAReferenceSet otherSide = hybShpCurvePar.OtherSide
- Return type:
- property p_3d_smoothing: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property p3DSmoothing() As booleanReturns or sets the ‘3D Smoothing’ option. Role: To activate or not the 3D smoothing optionAvailable only for tangent or curvature smoothing type TRUE : Smoothing performed withoutspecifying support FALSE : Smoothing performed with specific supportExample: This example retrieves in 3DSmoothingOption the support for theProject hybrid shape feature.Dim 3DSmoothingOption As booleanSet 3DSmoothingOption = Project.p3DSmoothing
- Return type:
bool
- property passing_point: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property PassingPoint() As ReferenceReturns or sets the passing point of the curve parameterobject.Sub-element(s) supported (see Point object):Example:This example retrieves the offset curve ofthe hybShpCurvePar in offsetCrv.Dim PassingPoint As CATIAReferenceoffsetCrv = hybShpCurvePar.PassingPoint
- Return type:
- put_plane_normal(i_normal: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub PutPlaneNormal(CATSafeArrayVariant iNormal)Sets the Normal of the plane created when the Support of the curve is notspecified.Parameters:iNormaliNormal[0]The X Coordinate of the normal vectoriNormal[1]The Y Coordinate of the normal vectoriNormal[2]The Z Coordinate of the normal vector
- Parameters:
i_normal (tuple) –
- Return type:
None
- property smoothing_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SmoothingType() As longReturns or sets the smoothing Type.Smoothing type:: 0 -> No Smoothing: 2 -> G1 Smoothing : Enhance current continuity to tangent continuity: 3 -> G2 Smoothing : Enhance current continuity to curvature continuityExample: This example retrieves in SType the smoothing type for theCurvePar hybrid shape feature.Dim SType As longSet SType = CurvePar.SmoothingType
- Return type:
int
- property support: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Support() As ReferenceReturns or sets the support of the curve..Example:This example retrieves in oElem the support of the curve for thehybShpCurvePar hybrid shape feature.Dim oElem As ReferenceSet oElem = hybShpCurvePar.Support
- Return type: