All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

TopologicalOperators Class CATDynDraft

Mathematics.CATCGMVirtual
  |
  +---GeometricObjects.CATCGMOperator
    |
    +---NewTopologicalObjects.CATTopOperator
      |
      +---TopologicalOperators.CATDynOperator
        |
        +---CATDynDraft
 

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


public class CATDynDraft

Class defining the operator to draft faces of a 3D body.

When working with castings and forgings, draft operations are needed to allow a part to be extracted from its mold. The parameters defining a drafting operation are:

Pulling direction
The direction in which the mold of the part is extracted
Neutral element
The intersection between the neutral element and the faces to draft defines the neutral curve, where the body remains the same. On both sides of the neutral curve, matter is either added or subtracted, or both in some cases, according to the pulling direction and the value of the angle. The neutral element does not need to split any of the selected faces. However, the underlying surfaces have to intersect. The neutral curve can also be directly defined by a reflect line computation, see CATDynDraftDomain.
Parting element
This optional element splits the faces in two sets. One must choose which set of faces to draft The parting element can be the same as the neutral element. There is at most one parting element associated with a CATDynDraft operator.
Angle
The draft angle.

A CATDynDraft operator groups in a same operator several draft operations:
By default, a ribbon is automatically propagated by following the tangential continuity of its support.
The CATDynDraft 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.
See also:
CATDynDraftDomain, CATDynDraftRibbon, CATDynDraftAngle


Constructor and Destructor Index


o ~CATDynDraft()

Method Index


o Add(CATBody*,CATOrientation,CATBoolean)
Defines the parting element associated with this drafting operator.
o Add(CATDynDraftDomain*)
Adds a domain to draft.
o Add(CATPlane*,CATOrientation,CATBoolean)
o Add(CATSurface*,CATOrientation,CATBoolean)
o SetJunctionMode(CATBoolean)
Defines whether a draft ribbon can be branched into two ribbons.
o SetPrevisualizationOnly()
Asks for the computation of the construction paths of the draft.

Constructor and Destructor


o ~CATDynDraft
public virtual ~CATDynDraft()

Methods


o Add
public virtual void Add(CATBody* iPartingElement,
CATOrientation iPartingOrientation= CATOrientationUnknown,
CATBoolean iIsPartingUntil= FALSE)
Defines the parting element associated with this drafting operator.
Parameters:
iPartingElement
The pointer to the parting body.
iPartingOrientation
The side of the parting element where the faces are drafted.
Legal values:
CATOrientationUnknown
The pulling direction defines the side.
CATOrientationNegative
The opposite of the natural orientation of the parting element.
CATOrientationPositive
The natural orientation of the parting element.
iIsPartingUntil
In case of a parting element that does not intersect the faces to draft, iIsPartingUntil defines whether the parting element is used or not. By default, it is not. To be used in case of reflect line draft only.
o Add
public virtual void Add(CATDynDraftDomain* iDraftDomain)
Adds a domain to draft.
The Add method can only be called once for a draft operation.
Parameters:
iDraftDomain
The pointer to the domain to add to the drafting operation.
o Add
public virtual void Add(CATPlane* iPartingPlane,
CATOrientation iPartingOrientation= CATOrientationUnknown,
CATBoolean iIsPartingUntil= FALSE)
Deprecated:
V5R15 Use the Add method whose first argument is a CATBody Defines the parting element associated with this drafting operator.
Parameters:
iPartingElement
The pointer to the parting plane.
iPartingOrientation
The side of the parting element where the faces are drafted.
Legal values:
CATOrientationUnknown
The pulling direction defines the side.
CATOrientationNegative
The opposite of the natural orientation of the parting element.
CATOrientationPositive
The natural orientation of the parting element.
iIsPartingUntil
In case of a parting element that does not intersect the faces to draft, iIsPartingUntil defines whether the parting element is used or not. By default, it is not. To be used in case of reflect line draft only.
o Add
public virtual void Add(CATSurface* iPartingSurface,
CATOrientation iPartingOrientation= CATOrientationUnknown,
CATBoolean iIsPartingUntil= FALSE)
Deprecated:
V5R15 Use the Add method whose first argument is a CATBody Defines the parting element associated with this drafting operator.
Parameters:
iPartingElement
The pointer to the parting surface.
iPartingOrientation
The side of the parting element where the faces are drafted.
Legal values:
CATOrientationUnknown
The pulling direction defines the side.
CATOrientationNegative
The opposite of the natural orientation of the parting element.
CATOrientationPositive
The natural orientation of the parting element.
iIsPartingUntil
In case of a parting element that does not intersect the faces to draft, iIsPartingUntil defines whether the parting element is used or not. By default, it is not. To be used in case of reflect line draft only.
o SetJunctionMode
public virtual void SetJunctionMode(CATBoolean iJunctionMode)
Defines whether a draft ribbon can be branched into two ribbons.
This may happen when the set of faces to draft is itself bifurcating.
Parameters:
iJunctionMode
The branch mode.
Legal values: TRUE if it can, FALSE otherwise.
o SetPrevisualizationOnly
public virtual void SetPrevisualizationOnly()
Asks for the computation of the construction paths of the draft.
To obtain the initial wire representing either the intersection of the neutral element with the initial body or the reflect lines.
Can be use in debug purpose, in order to understand the configuration.

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

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