All Frameworks  Object Hierarchy  This Framework  Indexes   

HybridShapeSweepCircle (Object)

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:
HybridShapeFactory

Property Index

CanonicalDetection
Returns or sets whether canonical surfaces of the swept surface are detected.
ChoiceNo
Returns or sets the choice number, which corresponds to each solution of a given circular sweep case.
Context
Returns or sets the context on Sweep feature.
FirstAngleLawInversion
Returns or sets the first angle law inversion information.
FirstAngleLaw
Returns or sets the first angle law useful in some circular sweep types.
FirstGuideCrv
Returns or sets the sweep operation first guide curve.
GuideDeviationActivity
Returns or sets information whether a deviation from guide curves is allowed or not.
GuideDeviation
Returns the deviation value (length) from guide curves allowed during a sweeping operation in order to smooth it.
Mode
Returns or sets the circular sweep mode.
RadiusLawInversion
Returns or sets the radius law inversion information.
RadiusLawType
Returns or sets the radius law type.
RadiusLaw
Returns or sets the radius law feature.
Reference
Returns or sets the reference (functional curve or guide surface).
SecondAngleLawInversion
Returns or sets the second angle law inversion information.
SecondAngleLaw
Returns or sets the second angle law useful in some circular sweep types.
SecondGuideCrv
Returns or sets the sweep operation second guide curve.
SmoothActivity
Returns or sets information whether a sweeping operation is smoothed or not.
SmoothAngleThreshold
Returns the angular threshold.
Spine
Returns or sets the sweep operation spine (optional).
ThirdGuideCrv
Returns or sets the sweep operation third guide curve.
TrimOption
Returns or sets the trim option status.

Method Index

GetAngleLawTypes
Retrieves angle law types.
GetAngle
Returns the angle values useful in some circular sweep types.
GetFirstAngleLaw
Retrieves the first angle law useful in some circular sweep types.
GetLongitudinalRelimiters
GetNbAngle
Retrieves the number of angles.
GetNbGuide
Retrieves the number of guide curves.
GetNbRadius
Retrieves the number of radii.
GetRadius
Returns the radius value useful in some circular sweep types.
GetRelimiters
Retrieves the elements relimiting the spine (or the default spine).
GetSecondAngleLaw
Retrieves the second angle law useful in some circular sweep types.
GetTangencyChoiceNo
Retrieves a sequence which identifies a solution among all possibilities of a circular profile sweep tangent to a surface.
RemoveAngle
Removes an angle.
RemoveGuide
Removes a guide curve.
RemoveRadius
Removes a radius.
SetAngleLawTypes
Sets angle law types.
SetAngle
Sets the angle values useful in some circular sweep types.
SetFirstAngleLaw
Sets the first angle law useful in some circular sweep types.
SetGuideDeviation
Sets the deviation value (length) from guide curves allowed during sweeping operation in order to smooth it.
SetLongitudinalRelimiters
SetRadius
Sets the radius value useful in some circular sweep types.
SetRelimiters
Sets the elements relimiting the spine (or the default spine).
SetSecondAngleLaw
Sets the second angle law useful in some circular sweep types.
SetSmoothAngleThreshold
Sets the angular threshold.
SetTangencyChoiceNo
Sets a sequence which identifies a solutionamong all possibilities of a circular profile sweep tangent to a surface.

Properties


o 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.
o 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.
o 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
 
o Property FirstAngleLawInversion() As
Returns or sets the first angle law inversion information.
o Property FirstAngleLaw() As
Returns or sets the first angle law useful in some circular sweep types.
o Property FirstGuideCrv() As
Returns or sets the sweep operation first guide curve.
o 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).
o Property GuideDeviation() As (Read Only)
Returns the deviation value (length) from guide curves allowed during a sweeping operation in order to smooth it.
o Property Mode() As
Returns 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 (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)
o Property RadiusLawInversion() As
Returns or sets the radius law inversion information.
o Property RadiusLawType() As
Returns or sets the radius law type.
o Property RadiusLaw() As
Returns or sets the radius law feature.
o Property Reference() As
Returns or sets the reference (functional curve or guide surface).
o Property SecondAngleLawInversion() As
Returns or sets the second angle law inversion information.
o Property SecondAngleLaw() As
Returns or sets the second angle law useful in some circular sweep types.
o Property SecondGuideCrv() As
Returns or sets the sweep operation second guide curve.
o 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).
o Property SmoothAngleThreshold() As (Read Only)
Returns the angular threshold.
o Property Spine() As
Returns or sets the sweep operation spine (optional).
o Property ThirdGuideCrv() As
Returns or sets the sweep operation third guide curve.
o 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


o 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)
oSecondType
The second type of law (from CATGSMBasicLawType enumeration).
Same legal values as oFirstType
o Func GetAngle( iI) As
Returns the angle values useful in some circular sweep types.
Parameters:
iI
The angle value index
Returns:
The angle value
o Sub GetFirstAngleLaw( oElem1,
oElem2,
olLawType)
Retrieves the first angle law useful in some circular sweep types.
Parameters:
oElem1
The angle law start value
oElem2
The angle law end value
olLawType
The angle law type
o Sub GetLongitudinalRelimiters( opIAElem1,
opIAElem2)
Deprecated:
V5R16 CATHybridShapeSweepCircle#GetRelimiters Retrieves the elements relimiting the spine (or the default spine).
Parameters:
opIAElem1
The first relimiting feature (plane or point)
opIAElem2
The second relimiting feature (plane or point)
o Sub GetNbAngle( oAng)
Retrieves the number of angles.
Parameters:
oAng
The number of angles
o Sub GetNbGuide( oNum)
Retrieves the number of guide curves.
Parameters:
oNum
The number of guide curves
o Sub GetNbRadius( oRad)
Retrieves the number of radii.
Parameters:
oRad
The number of radii
o 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)
Returns:
The radius value
o 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)
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
opIAElem2
The second relimiting feature (plane or point)
opOrient2
Split direction for the second relimitation
o Sub GetSecondAngleLaw( oElem1,
oElem2,
olLawType)
Retrieves the second angle law useful in some circular sweep types.
Parameters:
oElem1
The angle law start value
oElem2
The angle law end value
olLawType
The angle law type
o 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.
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
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
o Sub RemoveAngle()
Removes an angle.
o Sub RemoveGuide()
Removes a guide curve.
o Sub RemoveRadius()
Removes a radius.
o 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)
iSecondType
The second type of law (from CATGSMBasicLawType enumeration).
Same legal values as iFirstType
o Sub SetAngle( iI,
iElem)
Sets the angle values useful in some circular sweep types.
Parameters:
iI
The angle value index
iElem
The angle value
o Sub SetFirstAngleLaw( iElem1,
iElem2,
ilLawType)
Sets the first angle law useful in some circular sweep types.
Parameters:
iElem1
The angle law start value
iElem2
The angle law end value
ilLawType
The angle law type
o 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
o Sub SetLongitudinalRelimiters( ipIAElem1,
ipIAElem2)
Deprecated:
V5R16 CATHybridShapeSweepCircle#SetRelimiters Sets the elements relimiting the spine (or the default spine).
Parameters:
ipIAElem1
The first relimiting feature (plane or point)
ipIAElem2
The second relimiting feature (plane or point)
o 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)
iRadius
The radius value
o 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)
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
ipIAElem2
The second relimiting feature (plane or point)
ipOrient2
Split direction for the second relimitation
o Sub SetSecondAngleLaw( iElem1,
iElem2,
ilLawType)
Sets the second angle law useful in some circular sweep types.
Parameters:
iElem1
The angle law start value
iElem2
The angle law end value
ilLawType
Tha angle law type
o Sub SetSmoothAngleThreshold( iAngle)
Sets the angular threshold.
Parameters:
iAngle
The angular threshold
o 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.
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
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:
+1 The result is on the "left" side
-1 The result is on the "right" side
0 No orientation is specified

Copyright © 2003, Dassault Systèmes. All rights reserved.