GMOperatorsInterfaces CATICGMTopSewSkin

Usage: you must use this class as is. You should never derive it.


public class CATICGMTopSewSkin

Interface representing the operator to sew a skin onto a body (solid or skin).
Sewing is a boolean operation combining a surface with a body. This capability adds or removes material by modifying the input body. You can sew all types of surfaces onto bodies as long as there is no gap greater than the tolerance (default value 0.1) between the bording edges of the surface to be sewn and the initial body. Either the borders of the surface must lay on the body (gaps <= tolerance), or the surface must fully cross the body. To use this operator:


Constructor and Destructor Index


o CATICGMTopSewSkin()
Constructor

Method Index


o GetEdgesAndGaps(CATLISTP(CATEdge)&,CATListOfDouble&)
Retrieves the gaps between the bording edges of the skin to be sewn and the input body.
o GetResult(CATCGMJournalList*)
Returns the body resulting from the sewing operation.
o GetSelectionSide()
o LogDeletionOnImmersedEdges(CATBoolean)
To be used only when sewing a skin on a skin.
o ResultIsClosed()
Checks whether a sewing operation onto a skin (skin/skin operation) results in a closed skin.
o Run()
Runs the operator.
o SetEdgeMapping(CATEdge*,CATCell*)
To be used to map a free edge of the skin onto a cell of the body (edge or face), to avoid unnecessary calculations.
o SetLiveMode(CATBoolean)
To be used to specify the operator if it is called in CATIA LiveShape Environment, to deal with the simlpification of LiveGroups.
o SetSelectionSide(CATBoolean)
To be used to indicate the side where the material is to be added or kept.
o SetSimplificationMode(CATBoolean)
To be used to specify whether the simplification mode is to be applied.
o SetTolerance(double)
To be used to set a tolerance for the Sewing.

Constructor and Destructor


o CATICGMTopSewSkin
public CATICGMTopSewSkin()
Constructor

Methods


o GetEdgesAndGaps
public virtual GetEdgesAndGaps( ioEdges,
ioGaps)
Retrieves the gaps between the bording edges of the skin to be sewn and the input body.
Parameters:
ioEdges
The list of edges.
ioGaps
The associated list of gaps.
o GetResult
public virtual GetResult( ioJournal)
Returns the body resulting from the sewing operation.
Parameters:
ioJournal
The topological journal.
Returns:
The resulting body.
o GetSelectionSide
public virtual GetSelectionSide()
Returns:
The selection side.
o LogDeletionOnImmersedEdges
public virtual LogDeletionOnImmersedEdges( iLogDeletion= FALSE)
To be used only when sewing a skin on a skin. If set to FALSE, enable to follow the boundary of the skin to sew through the report.
o ResultIsClosed
public virtual ResultIsClosed()
Checks whether a sewing operation onto a skin (skin/skin operation) results in a closed skin.
Returns:
TRUE if the result is a closed shell, otherwise returns FALSE. Always returns TRUE when applied to a solid/skin operation.
o Run
public virtual Run()
Runs the operator.
o SetEdgeMapping
public virtual SetEdgeMapping( iMappedFreeEdge,
iTargetCell)
To be used to map a free edge of the skin onto a cell of the body (edge or face), to avoid unnecessary calculations.
Parameters:
iMappedFreeEdge
The free edge of the skin body that is mapped.
iTargetCell
The cell of the trimming body on which the edge is mapped. It can be a edge or a face.
o SetLiveMode
public virtual SetLiveMode( iLiveMode)
To be used to specify the operator if it is called in CATIA LiveShape Environment, to deal with the simlpification of LiveGroups.
Parameters:
iLiveMode
The mode to specify
o SetSelectionSide
public virtual SetSelectionSide( iSameSkinSide)
To be used to indicate the side where the material is to be added or kept. Note that if the side is not properly specified, the sewing operation onto a solid may produce an exception.
o SetSimplificationMode
public virtual SetSimplificationMode( iSimplifMode)
To be used to specify whether the simplification mode is to be applied. Using this option (TRUE), if in the resulting solid there are connected faces defined on the same geometric support (faces separated by smooth edges), these faces will be merged into one single face
o SetTolerance
public virtual SetTolerance( iTolerance)
To be used to set a tolerance for the Sewing.
Parameters:
iTolerance
The input tolerance.

This object is included in the file: CATICGMTopSewSkin.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.