pycatia.hybrid_shape_interfaces.hybrid_shape_curve_smooth¶
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_smooth.HybridShapeCurveSmooth(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeCurveSmoothRepresents the hybrid shape curve smoothing operation feature.Role: To access the data of the curve smoothing operation.of the hybrid shapecurve parameter object. This data includes:The curve to smoothThe support (if exist )The tangent tolerance value (threshold)The curvature tolerance value (threshold)The info if curvature threshold is activatedThe maximum deviation acceptedThe info if maxcimum deviation is activatedThe fixed pointsThe fixed segmentsThe info if topology simplification is activatedUse the HybridShapeFactory.AddNewCurveSmooth to create a HybridShapeCurveSmoothobject.- add_frozen_curve_segment(i_curve: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddFrozenCurveSegment(Reference iCurve)Adds a frozen curve to the hybrid shape curve smooth featureobject.Parameters:iCurveThe curve to be added to the hybrid shape curve smooth featureobject.Example:The following example adds the iCurve curve to the hybShpCurveSmoothobject.hybShpCurveSmooth.AddFrozenCurveSegment iCurve
- Parameters:
i_curve (Reference) –
- Return type:
None
- add_frozen_point(i_point: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddFrozenPoint(Reference iPoint)Adds a frozen points to the hybrid shape curve smooth featureobject.Parameters:iPointThe frozen point to be added to the hybrid shape curve smoothfeature object.Example:The following example adds the iPoint frozen point to thehybShpCurveSmooth object.hybShpCurveSmooth.AddFrozenPoint iPoint
- Parameters:
i_point (Reference) –
- Return type:
None
- property correction_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CorrectionMode() As longReturns or sets the correction mode (threshold, point, tangency orcurvature) applied to the smoothed curve.Legal values:0CATGSMCSCorrectionMode_Threshold. no continuity1CATGSMCSCorrectionMode_Point. continuity in point(C0).2CATGSMCSCorrectionMode_Tangency. continuity in tangency(C1).3CATGSMCSCorrectionMode_Curvature. continuity in curvature(C2).Example:This example retrieves in oMode the correction mode for thehybShpCurveSmooth hybrid shape feature.oMode = hybShpCurveSmooth.CorrectionMode
- Return type:
int
- property curvature_threshold: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CurvatureThreshold() As doubleReturns or sets the CurvatureThreshold.Example: This example retrieves the CurvatureThreshold of thehybShpCurveSmooth in CurvatureThH.Dim CurvatureThH as doubleCurvatureThH = hybShpCurvePar.CurvatureThreshold
- Return type:
float
- property curvature_threshold_activity: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CurvatureThresholdActivity() As booleanReturns or sets the CurvatureThresholdActivity.Example: This example retrieves the CurvatureThresholdActivity of thehybShpCurveSmooth in CurvatureActivity .Dim CurvatureActivity as booleanCurvatureActivity = hybShpCurvePar.CurvatureThresholdActivity
- Return type:
bool
- property curve_to_smooth: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CurveToSmooth() As ReferenceReturns or sets the curve to smooth.Example: This example retrieves the curve to smooth object of thehybShpCurveSmooth in Curve.Dim Curve as CATIAReferenceCurve = hybShpCurvePar.CurveToSmooth
- Return type:
- property end_extremity_continuity: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property EndExtremityContinuity() As longReturns or sets the continuity condition (curvature, tangency or point)applied to the smoothed curve with regard to the input curve at the endextremity of the input curve.Legal values:0CATGSMContinuity_Point. continuity in point (C0).1CATGSMContinuity_Tangency. continuity in tangency(C1).2CATGSMContinuity_Curvature. continuity in curvature(C2).Example:This example retrieves in oContinuity the continuity at the end extremityfor the hybShpCurveSmooth hybrid shape feature.oContinuity = hybShpCurveSmooth.EndExtremityContinuity
- Return type:
int
- get_frozen_curve_segment(i_pos: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetFrozenCurveSegment(long iPos) As ReferenceRetrieves the Frozen Curve Segment at specified position in the hybridshape curve smooth object.Parameters:iPosThe position of the Frozen Curve Segment to retrieve.Example:The following example gets the oCurve Frozen Curve Segment of thehybShpCurveSmooth object at the position iPos.Dim oCurve As ReferenceSet oCurve = hybShpCurveSmooth.GetFrozenCurveSegment (iPos).
- Parameters:
i_pos (int) –
- Return type:
- get_frozen_curve_segments_size() int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetFrozenCurveSegmentsSize() As longReturns the number of frozen curve segments in the curve smoothobject.Parameters:oSizeNumber of frozen curve segments in the curvesmooth.Example:This example retrieves the number of frozen curve segments. inthe hybShpCurveSmooth hybrid shape curvesmooth.Dim oSize As longoSize = hybShpCurveSmooth.GetFrozenCurveSegmentsSize
- Return type:
int
- get_frozen_point(i_pos: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetFrozenPoint(long iPos) As ReferenceRetrieves the Frozen Point at specified position in the hybrid shape curvesmooth object.Parameters:iPosThe position of the Frozen Point to retrieve.Example:The following example gets the oPoint Frozen Point of thehybShpCurveSmooth object at the position iPos.Dim oPoint As ReferenceSet oPoint = hybShpCurveSmooth.GetFrozenPoint (iPos).
- Parameters:
i_pos (int) –
- Return type:
- get_frozen_points_size() int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetFrozenPointsSize() As longReturns the number of Frozen Points in the curve smoothobject.Parameters:oSizeNumber of Frozen Points in the curve smooth.Example:This example retrieves the number of Frozen Points. in thehybShpCurveSmooth hybrid shape curve smooth.Dim oSize As longoSize = hybShpCurveSmooth.GetFrozenPointsSize
- Return type:
int
- property maximum_deviation: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property MaximumDeviation() As Length (Read Only)Returns the MaximumDeviation.Example: This example retrieves the MaximumDeviation of thehybShpCurveSmooth in MaximumDeviationVal.Dim MaximumDeviationVal as CATIALengthMaximumDeviationVal = hybShpCurvePar.MaximumDeviation
- Return type:
- property maximum_deviation_activity: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property MaximumDeviationActivity() As booleanReturns or sets the MaximumDeviationActivity.Example: This example retrieves the MaximumDeviationActivity of thehybShpCurveSmooth in MaxActivity .Dim MaxActivity as booleanMaxActivity = hybShpCurvePar.MaximumDeviationActivity
- Return type:
bool
- remove_all_frozen_curve_segments() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveAllFrozenCurveSegments()Removes all Frozen Curve Segment of the hybrid shape curve smooth object.Example:The following example removes all Frozen Curve Segments of thehybShpCurveSmooth object.hybShpCurveSmooth.RemoveAllFrozenCurveSegments
- Return type:
None
- remove_all_frozen_points() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveAllFrozenPoints()Removes all Frozen Points of the hybrid shape curve smooth object.Example:The following example removes all Frozen Points of the hybShpCurveSmoothobject.hybShpCurveSmooth.RemoveAllFrozenPoints
- Return type:
None
- remove_frozen_curve_segment(i_curve: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveFrozenCurveSegment(Reference iCurve)Removes Frozen Curve Segment from the list of Forzen curves in hybrid shapecurve smooth object.Parameters:iCurveThe Frozen Curve Segment to remove.Example:The following example removes the Frozen Curve Segment from thehybShpCurveSmooth object.hybShpCurveSmooth.RemoveFrozenCurveSegment iCurve.
- Parameters:
i_curve (Reference) –
- Return type:
None
- remove_frozen_point(i_point: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveFrozenPoint(Reference iPoint)Removes Frozen Point from the list of frozen points in hybrid shape curvesmooth object.Parameters:iPointThe Frozen Point to remove.Example:The following example removes the Frozen Point from thehybShpCurveSmooth object.hybShpCurveSmooth.RemoveFrozenPoint iPoint.
- Parameters:
i_point (Reference) –
- Return type:
None
- set_maximum_deviation(i_max_deviation: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetMaximumDeviation(double iMaxDeviation)Sets the maximum deviation.Parameters:iMaxDeviationThe maximium deviation
- Parameters:
i_max_deviation (float) –
- Return type:
None
- set_tangency_threshold(i_tangency_threshold: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetTangencyThreshold(double iTangencyThreshold)Sets the tangency threshold.Parameters:iTangencyThresholdThe tangency threshold
- Parameters:
i_tangency_threshold (float) –
- Return type:
None
- property start_extremity_continuity: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property StartExtremityContinuity() As longReturns or sets the continuity condition (curvature, tangency or point)applied to the smoothed curve with regard to the input curve at the startextremity of the input curve.Legal values:0CATGSMContinuity_Point. continuity in point (C0).1CATGSMContinuity_Tangency. continuity in tangency(C1).2CATGSMContinuity_Curvature. continuity in curvature(C2).Example:This example retrieves in oContinuity the continuity at the start extremityfor the hybShpCurveSmooth hybrid shape feature.oContinuity = hybShpCurveSmooth.StartExtremityContinuity
- 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.if Suppport == nothing no support associated to the curveExample: This example retrieves the support of curve to smooth object ofthe hybShpCurveSmooth in Support.Dim Support as CATIAReferenceSupport = ybShpCurveSmooth.Support
- Return type:
- property tangency_threshold: Angle¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property TangencyThreshold() As Angle (Read Only)Returns the TangencyThreshold.Example: This example retrieves the curve to smooth object of thehybShpCurveSmooth in AngleThH.Dim Curve as CATIAAngleAngleThH = ybShpCurveSmooth.TangencyThreshold
- Return type:
- property topology_simplification_activity: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property TopologySimplificationActivity() As booleanReturns or sets the TopologySimplificationActivity.Example: This example retrieves the TopologySimplificationActivity of thehybShpCurveSmooth in TopSimplifyAct.Dim TopSimplifyAct as booleanTopSimplifyAct = hybShpCurvePar.TogologySimplificationActivityMethodso Sub AddFrozenCurveSegment(Reference iCurve)Adds a frozen curve to the hybrid shape curve smooth featureobject.Parameters:iCurveThe curve to be added to the hybrid shape curve smooth featureobject.Example:The following example adds the iCurve curve to the hybShpCurveSmoothobject.hybShpCurveSmooth.AddFrozenCurveSegment iCurveo Sub AddFrozenPoint(Reference iPoint)Adds a frozen points to the hybrid shape curve smooth featureobject.Parameters:iPointThe frozen point to be added to the hybrid shape curve smoothfeature object.Example:The following example adds the iPoint frozen point to thehybShpCurveSmooth object.hybShpCurveSmooth.AddFrozenPoint iPointo Func GetFrozenCurveSegment(long iPos) As ReferenceRetrieves the Frozen Curve Segment at specified position in the hybridshape curve smooth object.Parameters:iPosThe position of the Frozen Curve Segment to retrieve.Example:The following example gets the oCurve Frozen Curve Segment of thehybShpCurveSmooth object at the position iPos.Dim oCurve As ReferenceSet oCurve = hybShpCurveSmooth.GetFrozenCurveSegment (iPos).o Func GetFrozenCurveSegmentsSize() As longReturns the number of frozen curve segments in the curve smoothobject.Parameters:oSizeNumber of frozen curve segments in the curvesmooth.Example:This example retrieves the number of frozen curve segments. inthe hybShpCurveSmooth hybrid shape curvesmooth.Dim oSize As longoSize = hybShpCurveSmooth.GetFrozenCurveSegmentsSizeo Func GetFrozenPoint(long iPos) As ReferenceRetrieves the Frozen Point at specified position in the hybrid shape curvesmooth object.Parameters:iPosThe position of the Frozen Point to retrieve.Example:The following example gets the oPoint Frozen Point of thehybShpCurveSmooth object at the position iPos.Dim oPoint As ReferenceSet oPoint = hybShpCurveSmooth.GetFrozenPoint (iPos).o Func GetFrozenPointsSize() As longReturns the number of Frozen Points in the curve smoothobject.Parameters:oSizeNumber of Frozen Points in the curve smooth.Example:This example retrieves the number of Frozen Points. in thehybShpCurveSmooth hybrid shape curve smooth.Dim oSize As longoSize = hybShpCurveSmooth.GetFrozenPointsSizeo Sub RemoveAllFrozenCurveSegments()Removes all Frozen Curve Segment of the hybrid shape curve smooth object.Example:The following example removes all Frozen Curve Segments of thehybShpCurveSmooth object.hybShpCurveSmooth.RemoveAllFrozenCurveSegmentso Sub RemoveAllFrozenPoints()Removes all Frozen Points of the hybrid shape curve smooth object.Example:The following example removes all Frozen Points of the hybShpCurveSmoothobject.hybShpCurveSmooth.RemoveAllFrozenPointso Sub RemoveFrozenCurveSegment(Reference iCurve)Removes Frozen Curve Segment from the list of Forzen curves in hybrid shapecurve smooth object.Parameters:iCurveThe Frozen Curve Segment to remove.Example:The following example removes the Frozen Curve Segment from thehybShpCurveSmooth object.hybShpCurveSmooth.RemoveFrozenCurveSegment iCurve.o Sub RemoveFrozenPoint(Reference iPoint)Removes Frozen Point from the list of frozen points in hybrid shape curvesmooth object.Parameters:iPointThe Frozen Point to remove.Example:The following example removes the Frozen Point from thehybShpCurveSmooth object.hybShpCurveSmooth.RemoveFrozenPoint iPoint.o Sub SetMaximumDeviation(double iMaxDeviation)Sets the maximum deviation.Parameters:iMaxDeviationThe maximium deviationo Sub SetTangencyThreshold(double iTangencyThreshold)Sets the tangency threshold.Parameters:iTangencyThresholdThe tangency threshold
- Return type:
bool