pycatia.hybrid_shape_interfaces.hybrid_shape_sweep_circle¶
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_sweep_circle.HybridShapeSweepCircle(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeCATGSMIDLItf.HybridShapeSweepHybridShapeSweepCircleRepresents the hybrid shape sweep circle feature object.Role: To access the data of the hybrid shape sweep circle featureobject.LICENSING INFORMATION: Creation of volume result requires GSOLicenseif GSO License is not granted , setting of Volume context has noteffectSee also:HybridShapeFactory- property canonical_detection: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property CanonicalDetection() As longReturns or sets whether canonical surfaces of the swept surface aredetected.Legal values:0 No detection of canonical surface is performed.2 Detection of canonical surfaces is performed.
- Return type:
int
- property choice_no: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ChoiceNo() As longReturns or sets the choice number, which corresponds to each solution of agiven circular sweep case.For example: a circular sweep with two guide curves and a radius leads tofour possible solutions.
- Return type:
int
- property context: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Context() As longReturns or sets the context on Sweep feature.0 This option creates Swept surface.1 This option creates Swept volume.Note: Setting volume result requires GSO License.Example:This example retrieves in oContext the context for the Sweep hybridshape feature.Dim oContextSet oContext = Sweep.Context
- Return type:
int
- property first_angle_law: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstAngleLaw() As ReferenceReturns or sets the first angle law useful in some circular sweep types.
- Return type:
- property first_angle_law_inversion: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstAngleLawInversion() As longReturns or sets the first angle law inversion information.
- Return type:
int
- property first_guide_crv: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstGuideCrv() As ReferenceReturns or sets the sweep operation first guide curve.
- Return type:
- get_angle(i_i: int) Angle ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetAngle(long iI) As AngleReturns the angle values useful in some circular sweeptypes.Parameters:iIThe angle value indexReturns:The angle value
- Parameters:
i_i (int) –
- Return type:
- get_angle_law_types(o_first_type: int, o_second_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetAngleLawTypes(long oFirstType,long oSecondType)Retrieves angle law types.Parameters:oFirstTypeThe first type of law (from CATGSMBasicLawTypeenumeration).0 Undefined law type (CATGSMBasicLawType_None)1 Constant law type (CATGSMBasicLawType_Constant)2 Linear law type (CATGSMBasicLawType_Linear)3 S law type (CATGSMBasicLawType_SType)4 Law specified by a GSD law feature(CATGSMBasicLawType_Advanced)oSecondTypeThe second type of law (from CATGSMBasicLawTypeenumeration).Same legal values as oFirstType
- Parameters:
o_first_type (int) –
o_second_type (int) –
- Return type:
None
- get_first_angle_law(o_elem1: Angle, o_elem2: Angle, ol_law_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetFirstAngleLaw(Angle oElem1,Angle oElem2,long olLawType)Retrieves the first angle law useful in some circular sweeptypes.Parameters:oElem1The angle law start valueoElem2The angle law end valueolLawTypeThe angle law type
- get_longitudinal_relimiters(op_ia_elem1: Reference, op_ia_elem2: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetLongitudinalRelimiters(Reference opIAElem1,Reference opIAElem2)Deprecated:V5R16 CATHybridShapeSweepCircle#GetRelimiters Retrieves the elementsrelimiting the spine (or the default spine).Parameters:opIAElem1The first relimiting feature (plane or point)opIAElem2The second relimiting feature (plane or point)
- get_nb_angle(o_ang: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetNbAngle(long oAng)Retrieves the number of angles.Parameters:oAngThe number of angles
- Parameters:
o_ang (int) –
- Return type:
None
- get_nb_guide(o_num: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetNbGuide(long oNum)Retrieves the number of guide curves.Parameters:oNumThe number of guide curves
- Parameters:
o_num (int) –
- Return type:
None
- get_nb_radius(o_rad: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetNbRadius(long oRad)Retrieves the number of radii.Parameters:oRadThe number of radii
- Parameters:
o_rad (int) –
- Return type:
None
- get_radius(i_i: int) Length ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetRadius(long iI) As LengthReturns the radius value useful in some circular sweeptypes.Parameters:iIThe radius value index (1: start value, 2: end value)Returns:The radius value
- Parameters:
i_i (int) –
- Return type:
- get_relimiters(op_ia_elem1: Reference, op_orient1: int, op_ia_elem2: Reference, op_orient2: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetRelimiters(Reference opIAElem1,long opOrient1,Reference opIAElem2,long opOrient2)Retrieves the elements relimiting the spine (or the defaultspine).Parameters:opIAElem1The first relimiting feature (plane or point)opOrient1Split direction for the first relimitation0 means that the beginning of the spine (considering itsorientation) is removed, 1 means that the end of the spine is removedopIAElem2The second relimiting feature (plane or point)opOrient2Split direction for the second relimitation
- get_second_angle_law(o_elem1: Angle, o_elem2: Angle, ol_law_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetSecondAngleLaw(Angle oElem1,Angle oElem2,long olLawType)Retrieves the second angle law useful in some circular sweeptypes.Parameters:oElem1The angle law start valueoElem2The angle law end valueolLawTypeThe angle law type
- get_tangency_choice_no(o_no: int, o_shell_ori: int, o_guide_ori: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetTangencyChoiceNo(long oNo,long oShellOri,long oGuideOri)Retrieves a sequence which identifies a solution among all possibilities ofa circular profile sweep tangent to a surface. (caseCATGSMCircularSweep_GuideAndTangencyAndRadius).Parameters:oNoGiven the orientations, solution number in a distance ordered list.oShellOriThis orientation allows to compute just the results that aretangent to a specific side of the shell. It can take threevalues:+1 The result is on the normal side of the shell-1 The result is on the side of the shell opposite to thenormal0 No orientation is specifiedoGuideOriThis orientation allows to compute just the results that are on the“left” or the “right” side of the shell, when looking in the guide direction.It can take three values:+1 The result is on the “left” side-1 The result is on the “right” side0 No orientation is specified
- Parameters:
o_no (int) –
o_shell_ori (int) –
o_guide_ori (int) –
- Return type:
None
- property guide_deviation: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property GuideDeviation() As Length (Read Only)Returns the deviation value (length) from guide curves allowed during asweeping operation in order to smooth it.
- Return type:
- property guide_deviation_activity: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property GuideDeviationActivity() As booleanReturns or sets information whether a deviation from guide curves isallowed or not.Gives the information on performing smoothing during sweepingoperation.TRUE if a deviation from guide curves is allowed, or FALSE otherwise (FALSEif not specified).
- Return type:
bool
- property mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Mode() As longReturns or sets the circular sweep mode.Legal mode values are:0 Undefined circular profile swept surface(CATGSMCircularSweep_None)2 Circular profile swept surface defined by three guide curves (4solutions) (CATGSMCircularSweep_ThreeGuides)3 Circular profile swept surface defined by a center curve and a referencecurve (for angles and radius)(CATGSMCircularSweep_TwoGuidesAndRadius)5 Circular profile swept surface defined by a center curve and a referencecurve (for angles and radius)(CATGSMCircularSweep_CenterAndAngleCurve)6 Circular profile swept surface defined by a center curve and a radius(CATGSMCircularSweep_CenterAndRadius)7 Circular profile swept surface defined by two guide curves with atangency condition on the second one (with reference surface)(CATGSMCircularSweep_TwoGuidesAndTangency)8 Circular profile swept surface defined by a guide curve, a radius and atangency surface(CATGSMCircularSweep_GuideAndTangencyAndRadius)
- Return type:
int
- property radius_law: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property RadiusLaw() As ReferenceReturns or sets the radius law feature.
- Return type:
- property radius_law_inversion: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property RadiusLawInversion() As longReturns or sets the radius law inversion information.
- Return type:
int
- property radius_law_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property RadiusLawType() As longReturns or sets the radius law type.
- Return type:
int
- property reference: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Reference() As ReferenceReturns or sets the reference (functional curve or guide surface).
- Return type:
- remove_angle() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveAngle()Removes an angle.
- Return type:
None
- remove_guide() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveGuide()Removes a guide curve.
- Return type:
None
- remove_radius() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveRadius()Removes a radius.
- Return type:
None
- property second_angle_law: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SecondAngleLaw() As ReferenceReturns or sets the second angle law useful in some circular sweep types.
- Return type:
- property second_angle_law_inversion: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SecondAngleLawInversion() As longReturns or sets the second angle law inversion information.
- Return type:
int
- property second_guide_crv: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SecondGuideCrv() As ReferenceReturns or sets the sweep operation second guide curve.
- Return type:
- set_angle(i_i: int, i_elem: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetAngle(long iI,double iElem)Sets the angle values useful in some circular sweep types.Parameters:iIThe angle value indexiElemThe angle value
- Parameters:
i_i (int) –
i_elem (float) –
- Return type:
None
- set_angle_law_types(i_first_type: int, i_second_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetAngleLawTypes(long iFirstType,long iSecondType)Sets angle law types.Parameters:iFirstTypeThe first type of law (from CATGSMBasicLawTypeenumeration).Legal values:0 Undefined law type (CATGSMBasicLawType_None)1 Constant law type (CATGSMBasicLawType_Constant)2 Linear law type (CATGSMBasicLawType_Linear)3 S law type (CATGSMBasicLawType_SType)4 Law specified by a GSD law feature(CATGSMBasicLawType_Advanced)iSecondTypeThe second type of law (from CATGSMBasicLawTypeenumeration).Same legal values as iFirstType
- Parameters:
i_first_type (int) –
i_second_type (int) –
- Return type:
None
- set_first_angle_law(i_elem1: float, i_elem2: float, il_law_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetFirstAngleLaw(double iElem1,double iElem2,long ilLawType)Sets the first angle law useful in some circular sweeptypes.Parameters:iElem1The angle law start valueiElem2The angle law end valueilLawTypeThe angle law type
- Parameters:
i_elem1 (float) –
i_elem2 (float) –
il_law_type (int) –
- Return type:
None
- set_guide_deviation(i_length: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetGuideDeviation(double iLength)Sets the deviation value (length) from guide curves allowed during sweepingoperation in order to smooth it.Parameters:iLengthThe deviation value
- Parameters:
i_length (float) –
- Return type:
None
- set_longitudinal_relimiters(ip_ia_elem1: Reference, ip_ia_elem2: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetLongitudinalRelimiters(Reference ipIAElem1,Reference ipIAElem2)Deprecated:V5R16 CATHybridShapeSweepCircle#SetRelimiters Sets the elementsrelimiting the spine (or the default spine).Parameters:ipIAElem1The first relimiting feature (plane or point)ipIAElem2The second relimiting feature (plane or point)
- set_radius(i_i: int, i_radius: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetRadius(long iI,double iRadius)Sets the radius value useful in some circular sweep types.Parameters:iIThe radius value index (1: start value, 2: end value)iRadiusThe radius value
- Parameters:
i_i (int) –
i_radius (float) –
- Return type:
None
- set_relimiters(ip_ia_elem1: Reference, ip_orient1: int, ip_ia_elem2: Reference, ip_orient2: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetRelimiters(Reference ipIAElem1,long ipOrient1,Reference ipIAElem2,long ipOrient2)Sets the elements relimiting the spine (or the defaultspine).Parameters:ipIAElem1The first relimiting feature (plane or point)ipOrient1Split direction for the first relimitation0 means that the beginning of the spine (considering itsorientation) is removed, 1 means that the end of the spine is removedipIAElem2The second relimiting feature (plane or point)ipOrient2Split direction for the second relimitation
- set_second_angle_law(i_elem1: float, i_elem2: float, il_law_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetSecondAngleLaw(double iElem1,double iElem2,long ilLawType)Sets the second angle law useful in some circular sweeptypes.Parameters:iElem1The angle law start valueiElem2The angle law end valueilLawTypeTha angle law type
- Parameters:
i_elem1 (float) –
i_elem2 (float) –
il_law_type (int) –
- Return type:
None
- set_smooth_angle_threshold(i_angle: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetSmoothAngleThreshold(double iAngle)Sets the angular threshold.Parameters:iAngleThe angular threshold
- Parameters:
i_angle (float) –
- Return type:
None
- set_tangency_choice_no(i_shell_ori: int, i_guide_ori: int, i_no: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetTangencyChoiceNo(long iShellOri,long iGuideOri,long iNo)Sets a sequence which identifies a solutionamong all possibilities of acircular profile sweep tangent to a surface.Parameters:iNoGiven the orientations, solution number in a distance ordered list.iShellOriThis orientation allows to compute just the results that aretangent to a specific side of the shell. It can take threevalues:+1 The result is on the normal side of the shell-1 The result is on the side of the shell opposite to thenormal0 No orientation is specifiediGuideOriThis orientation allows to compute just the results that are on the“left” or the “right” side of the shell, when looking in the guide direction.It can take three values:+1 The result is on the “left” side-1 The result is on the “right” side0 No orientation is specified
- Parameters:
i_shell_ori (int) –
i_guide_ori (int) –
i_no (int) –
- Return type:
None
- property smooth_activity: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SmoothActivity() As booleanReturns or sets information whether a sweeping operation is smoothed ornot.TRUE if the sweeping operation is smoothed, or FALSE otherwise (FALSE ifnot specified).
- Return type:
bool
- property smooth_angle_threshold: Angle¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SmoothAngleThreshold() As Angle (Read Only)Returns the angular threshold.
- Return type:
- property spine: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Spine() As ReferenceReturns or sets the sweep operation spine (optional).
- Return type:
- property third_guide_crv: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ThirdGuideCrv() As ReferenceReturns or sets the sweep operation third guide curve.
- Return type:
- property trim_option: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property TrimOption() As longReturns or sets the trim option status.The trim option status legal values are:0 No trim computed or undefined(CATGSMSweepTrimMode_None)1 Trim computed (CATGSMSweepTrimMode_On)
- Return type:
int