Represents the hybrid shape sweep circle feature object. Role: To access the data of the hybrid shape sweep circle feature object.
LICENSING INFORMATION: Creation of volume result requires GSO License
if GSO License is not granted , settting of Volume context has not effect
See also:
Properties
Property CanonicalDetection() As
Returns or sets whether canonical surfaces of the swept surface are detected.
Legal values:
0
No detection of canonical surface is performed.
2
Detection of canonical surfaces is performed.
Property ChoiceNo() As
Returns or sets the choice number, which corresponds to each solution
of a given circular sweep case.
For example: a circular sweep with two guide curves and a radius leads
to four possible solutions.
Property Context() As
Returns 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 hybrid shape feature.
Dim oContext
Set oContext = Sweep.Context
Property FirstAngleLaw() As
Returns or sets the first angle law useful in some circular sweep types.
Property FirstAngleLawInversion() As
Returns or sets the first angle law inversion information.
Property FirstGuideCrv() As
Returns or sets the sweep operation first guide curve.
Property GuideDeviation() As (Read Only)
Returns the deviation value (length) from guide curves allowed during a sweeping operation in order to smooth it.
Property GuideDeviationActivity() As
Returns or sets information whether a deviation from guide curves is allowed or not.
Gives the information on performing smoothing during sweeping operation.
TRUE if a deviation from guide curves is allowed, or FALSE otherwise (FALSE if not specified).
Property Mode() As
Returns or sets the circular sweep mode.
Legal mode values are:
Circular profile swept surface defined by three guide curves (4 solutions)
(CATGSMCircularSweep_ThreeGuides)
3
Circular profile swept surface defined by a center curve and a reference curve (for angles and radius)
(CATGSMCircularSweep_TwoGuidesAndRadius)
5
Circular profile swept surface defined by a center curve and a reference curve (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 a tangency
condition on the second one (with reference surface)
(CATGSMCircularSweep_TwoGuidesAndTangency)
8
Circular profile swept surface defined by a guide curve, a radius and a tangency surface
(CATGSMCircularSweep_GuideAndTangencyAndRadius)
Property RadiusLaw() As
Returns or sets the radius law feature.
Property RadiusLawInversion() As
Returns or sets the radius law inversion information.
Property RadiusLawType() As
Returns or sets the radius law type.
Property Reference() As
Returns or sets the reference (functional curve or guide surface).
Property SecondAngleLaw() As
Returns or sets the second angle law useful in some circular sweep types.
Property SecondAngleLawInversion() As
Returns or sets the second angle law inversion information.
Property SecondGuideCrv() As
Returns or sets the sweep operation second guide curve.
Property SmoothActivity() As
Returns or sets information whether a sweeping operation is smoothed or not.
TRUE if the sweeping operation is smoothed, or FALSE otherwise (FALSE if not specified).
Property SmoothAngleThreshold() As (Read Only)
Returns the angular threshold.
Property Spine() As
Returns or sets the sweep operation spine (optional).
Property ThirdGuideCrv() As
Returns or sets the sweep operation third guide curve.
Property TrimOption() As
Returns 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)
Methods
Func GetAngle( iI) As
Returns the angle values useful in some circular sweep types.
Parameters:
iI
The angle value index
dd>
Returns:
The angle value
dd>
Sub GetAngleLawTypes( oFirstType, oSecondType)
Retrieves angle law types.
Parameters:
oFirstType
The first type of law (from CATGSMBasicLawType enumeration).
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)
dd>
oSecondType
The second type of law (from CATGSMBasicLawType enumeration).
Same legal values as oFirstType
dd>
Sub GetFirstAngleLaw( oElem1, oElem2, olLawType)
Retrieves the first angle law useful in some circular sweep types.
Parameters:
oElem1
The angle law start value
dd>
oElem2
The angle law end value
dd>
olLawType
The angle law type
dd>
Sub GetLongitudinalRelimiters( opIAElem1, opIAElem2)
Deprecated:
V5R16 CATHybridShapeSweepCircle#GetRelimiters
Retrieves the elements relimiting the spine (or the default spine).
dd>
Parameters:
opIAElem1
The first relimiting feature (plane or point)
dd>
opIAElem2
The second relimiting feature (plane or point)
dd>
Sub GetNbAngle( oAng)
Retrieves the number of angles.
Parameters:
oAng
The number of angles
dd>
Sub GetNbGuide( oNum)
Retrieves the number of guide curves.
Parameters:
oNum
The number of guide curves
dd>
Sub GetNbRadius( oRad)
Retrieves the number of radii.
Parameters:
oRad
The number of radii
dd>
Func GetRadius( iI) As
Returns the radius value useful in some circular sweep types.
Parameters:
iI
The radius value index (1: start value, 2: end value)
dd>
Returns:
The radius value
dd>
Sub GetRelimiters( opIAElem1, opOrient1, opIAElem2, opOrient2)
Retrieves the elements relimiting the spine (or the default spine).
Parameters:
opIAElem1
The first relimiting feature (plane or point)
dd>
opOrient1
Split direction for the first relimitation
0 means that the beginning of the spine (considering its orientation) is removed, 1 means that the end of the spine is removed
dd>
opIAElem2
The second relimiting feature (plane or point)
dd>
opOrient2
Split direction for the second relimitation
dd>
Sub GetSecondAngleLaw( oElem1, oElem2, olLawType)
Retrieves the second angle law useful in some circular sweep types.
Parameters:
oElem1
The angle law start value
dd>
oElem2
The angle law end value
dd>
olLawType
The angle law type
dd>
Sub GetTangencyChoiceNo( oNo, oShellOri, oGuideOri)
Retrieves a sequence which identifies a solution among all possibilities
of a circular profile sweep tangent to a surface.
(case CATGSMCircularSweep_GuideAndTangencyAndRadius).
Parameters:
oNo
Given the orientations, solution number in a distance ordered list.
dd>
oShellOri
This orientation allows to compute just the results that are tangent
to a specific side of the shell. It can take three values:
+1
The result is on the normal side of the shell
-1
The result is on the side of the shell opposite to the normal
0
No orientation is specified
dd>
oGuideOri
This 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" side
0
No orientation is specified
dd>
Sub RemoveAngle()
Removes an angle.
Sub RemoveGuide()
Removes a guide curve.
Sub RemoveRadius()
Removes a radius.
Sub SetAngle( iI, iElem)
Sets the angle values useful in some circular sweep types.
Parameters:
iI
The angle value index
dd>
iElem
The angle value
dd>
Sub SetAngleLawTypes( iFirstType, iSecondType)
Sets angle law types.
Parameters:
iFirstType
The first type of law (from CATGSMBasicLawType enumeration).
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)
dd>
iSecondType
The second type of law (from CATGSMBasicLawType enumeration).
Same legal values as iFirstType
dd>
Sub SetFirstAngleLaw( iElem1, iElem2, ilLawType)
Sets the first angle law useful in some circular sweep types.
Parameters:
iElem1
The angle law start value
dd>
iElem2
The angle law end value
dd>
ilLawType
The angle law type
dd>
Sub SetGuideDeviation( iLength)
Sets the deviation value (length) from guide curves allowed during sweeping
operation in order to smooth it.
Parameters:
iLength
The deviation value
dd>
Sub SetLongitudinalRelimiters( ipIAElem1, ipIAElem2)
Deprecated:
V5R16 CATHybridShapeSweepCircle#SetRelimiters
Sets the elements relimiting the spine (or the default spine).
dd>
Parameters:
ipIAElem1
The first relimiting feature (plane or point)
dd>
ipIAElem2
The second relimiting feature (plane or point)
dd>
Sub SetRadius( iI, iRadius)
Sets the radius value useful in some circular sweep types.
Parameters:
iI
The radius value index (1: start value, 2: end value)
dd>
iRadius
The radius value
dd>
Sub SetRelimiters( ipIAElem1, ipOrient1, ipIAElem2, ipOrient2)
Sets the elements relimiting the spine (or the default spine).
Parameters:
ipIAElem1
The first relimiting feature (plane or point)
dd>
ipOrient1
Split direction for the first relimitation
0 means that the beginning of the spine (considering its orientation) is removed, 1 means that the end of the spine is removed
dd>
ipIAElem2
The second relimiting feature (plane or point)
dd>
ipOrient2
Split direction for the second relimitation
dd>
Sub SetSecondAngleLaw( iElem1, iElem2, ilLawType)
Sets the second angle law useful in some circular sweep types.
Parameters:
iElem1
The angle law start value
dd>
iElem2
The angle law end value
dd>
ilLawType
Tha angle law type
dd>
Sub SetSmoothAngleThreshold( iAngle)
Sets the angular threshold.
Parameters:
iAngle
The angular threshold
dd>
Sub SetTangencyChoiceNo( iShellOri, iGuideOri, iNo)
Sets a sequence which identifies a solutionamong all possibilities
of a circular profile sweep tangent to a surface.
Parameters:
iNo
Given the orientations, solution number in a distance ordered list.
dd>
iShellOri
This orientation allows to compute just the results that are tangent
to a specific side of the shell. It can take three values:
+1
The result is on the normal side of the shell
-1
The result is on the side of the shell opposite to the normal
0
No orientation is specified
dd>
iGuideOri
This 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: