pycatia.part_interfaces.sew_surface

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

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.part_interfaces.sew_surface.SewSurface(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
MecModInterfaces.Shape
PartInterfaces.SurfaceBasedShape
SewSurface

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

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Deviation() As double

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
Return type:

float

property deviation_mode: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property DeviationMode() As long

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
Return type:

int

set_surface_support(i_support_surface: Reference) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub SetSurfaceSupport(Reference iSupportSurface)

Sets the surface support for surfacic sew surface.

Parameters:

iSupportSurface
A Reference object to a surface (see

Reference for more information)
Parameters:

i_support_surface (Reference) –

Return type:

None

set_volume_support(i_volume: Reference) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub SetVolumeSupport(Reference iVolume)

Sets the volume support for volume sew surface.

Parameters:

iVolume
A Reference object to a volume (see

Reference for more information)

Example:
The following example sets the volume support of SewSurface
firstSewSurface to volumeExtrude volume reference
:

firstSewSurface.SetVolumeSupport volumeExtrudeRef
Parameters:

i_volume (Reference) –

Return type:

None

property sewing_intersection_mode: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property SewingIntersectionMode() As
CatSewingIntersectionMode

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

enum cat_sewing_intersection_mode

Return type:

int

property sewing_side: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property SewingSide() As CatSplitSide

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

enum cat_split_side

Return type:

int