SewSurface (Object)

Represents the sewing operation.
It sews a shape using a sewing element, such as a surface or a face

Properties


Property Deviation() As
Sets or Gets the maximum deviation allowed for smoothing operation in sewing command. This value must be set in SI unit (m).
Example: This example retrieves in DeviationValue the maximum deviation value for the Sewfeature.
 Dim DeviationValue As double
 Set DeviationValue = Sew.MaximumDeviationValue
 
Property DeviationMode() As
Returns or sets the Deviation mode taken into account during Sew construction.
Legal values:
0
Unknown Deviation mode.
1
None Deviation mode. Error thrown if maximum deviation exceeds CATIA resolution.
2
Automatic Deviation mode. Error thrown if maximum deviation exceeds 100 times CATIA resolution.
3
Manual Deviation mode. Error thrown if maximum deviation exceeds input user deviation.
Example:
This example retrieves in oMode the Deviation mode for the Sew feature.
 Dim oMode
 Set oMode = Sew.DeviationMode
 
Property SewingIntersectionMode() As
Returns or sets the sewing mode . The sewing side is the side of the body kept after the sewing. A positive side refers to the same orientation than the sewing element normal vector.
Example:
The following example returns in sptSide the sewing side of the sew shape mySew, and then sets it to catPositiveSide:
 Set sptSide = mySew.SewingSide
 mySew.SewingSide = catPositiveSide
 
Property SewingSide() As
Returns or sets the sewing side . The sewing side is the side of the body kept after the sewing. A positive side refers to the same orientation than the sewing element normal vector.
Example:
The following example returns in sptSide the sewing side of the sew shape mySew, and then sets it to catPositiveSide:
 Set sptSide = mySew.SewingSide
 mySew.SewingSide = catPositiveSide
 

Methods


Sub SetSurfaceSupport( iSupportSurface)
Sets the surface support for surfacic sew surface.
Parameters:
iSupportSurface
A Reference object to a surface (see for more information)
Sub SetVolumeSupport( iVolume)
Sets the volume support for volume sew surface.
Parameters:
iVolume
A Reference object to a volume (see for more information)
Example:
The following example sets the volume support of SewSurface firstSewSurface to volumeExtrude volume reference :
 firstSewSurface.SetVolumeSupport volumeExtrudeRef