GMOperatorsInterfaces Interface CATICGMDynAdvancedChamfer
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMDynAdvancedChamfer
Class defining the operator to chamfer edges of a 3D body or a skin body.
This operator offers more capabilities that CATICGMDynChamfer and
generates a result in cases where CATICGMDynChamfer fails.
Several chamfering operations (called ribbons, CATDynChamferRibbon)
can be defined in the same operator.
By default, a ribbon is automatically propagated by following the tangential
continuity of its support, but this propagation can be switched off.
The CATICGMDynAdvancedChamfer operator follows the global frame of the topological
operators and satisfies the smart mechanism:
the input bodies are not modified. A new resulting body is created,
possibly sharing data with the input bodies.
- A CATICGMDynAdvancedChamfer operator is created with the CATCGMCreateDynAdvancedChamfer global function:
It must be directly released with the Release method after use. It is not streamable.
- Options can be precised (such as the faces or edges to chamfer) with the appropriate methods, before
asking for the computation with the Run method.
- The result is accessed with the GetResult method. If you do not want
to keep the resulting body, use the method to remove it from the geometric factory.
Method Index
- o
SetApproxChamferMode()
- Sets the approx mode - The chamfer distances will not be respected.
- o
SetBadShapeTreatmentOn()
- Turns on the mode for the treatment of bad shapes, if encountered.
- o
SetContinuityLevel(CATFrFContinuity,CATPositiveLength)
- Sets internal continuity level of chamfer ribbon
- o
SetCornerCap()
- Activates "cap" shape of chamfer corners
- o
SetKeepFeature(CATBoolean)
- To keep features that are entirely engulfed by the result of a chamfer operation the method SetKeepFeature should be used.
Methods
o SetApproxChamferMode
public virtual SetApproxChamferMode( | ) |
-
Sets the approx mode - The chamfer distances will not be respected.
Useful to avoid twists and bad shapes.
Only D1D2 type chamfer supported currently.
o SetBadShapeTreatmentOn
public virtual SetBadShapeTreatmentOn( | ) |
-
Turns on the mode for the treatment of bad shapes, if encountered.
It is recommended that you always call this method after creating this chamfer operator.
o SetContinuityLevel
public virtual SetContinuityLevel( | const | iContinuityLevel, |
| const | iTolerance | = 0.) |
-
Sets internal continuity level of chamfer ribbon
- Parameters:
-
- iContinuityLevel
- Continuity level requested. Use either CATFrFPointCont or CATFrFTangentCont. Default is CATFrFPointCont.
- iTolerance
- Maximum deformation allowed to achieve the continuity. Not used as of now.
o SetCornerCap
public virtual SetCornerCap( | ) |
-
Activates "cap" shape of chamfer corners
o SetKeepFeature
public virtual SetKeepFeature( | | iKeepFeature) |
-
To keep features that are entirely engulfed by the result of a chamfer operation the method SetKeepFeature should be used.
- Parameters:
-
- iKeepFeature
- Keep feature option: CATTrue – feature kept; CATFalse – feature not kept.
By default a chamfer operation does not keep any feature that isn’t interfering with the boundary of the chamfer.
This object is included in the file: CATICGMDynAdvancedChamfer.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.