All Frameworks Class Hierarchy This Framework Previous Next Indexes
MecModInterfaces Interface CATIMfBRepFactory
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIMfBRepFactory
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIMfBRepFactory
Interface to create BRep features.
Role:
A BRep feature can be created from symbolic information:
the source shape feature iPrint,
a key word iKey and, if needed,
a profile element iProfileElement of a sketch.
For example, the face BRep feature associated with the lateral face of Pad.3
extruded from Line.7 is created with
iPrint=Pad.3,
iKey=MfKeyExtrudedFrom,
iProfileElement=Line.7.
Another example, the face BRep feature associated with the top face of Pad.6 is created with
iPrint=Pad.6,
iKey=MfKeyTop,
iProfileElement=NULL_var.
The edge BRep feature is specified with symbolic information related to its two adjacent faces.
The vertex BRep feature is specified with symbolic information related to all its adjacent faces.
Legal values: Key words are:
- MfKeyNone,
- MfKeyTop available for pad, pocket, rib, slot, stiffener,
- MfKeyBottom available for pad, pocket, rib, slot, stiffener,
- MfKeyExtrudedFrom available for pad, pocket, rib, slot, stiffener, shaft, groove,
- MfKeyStart available for shaft, groove,
- MfKeyEnd available for shaft, groove,
- MfKeyOutsideThickness available for shell,
- MfKeyInsideThickness available for shell.
- Example:
-
+-----------+-----------------------------------------------------------+
! Output ! Input !
+-----------+-----------------+------------------------+----------------+
! BRep type ! print ! key ! profil !
+===========+=================+========================+================+
! Face ! Pad.1 ! MfKeyTop ! NULL !
! +-----------------+------------------------+----------------+
! ! Pad.1 ! MfKeyTop ! NULL !
! +-----------------+------------------------+----------------+
! ! Pad.1 ! MfKeyExtrudedFrom ! Line.1 !
! +-----------------+------------------------+----------------+
! ! Revol.1 ! MfKeyExtrudedFrom ! Line.1 !
! +-----------------+------------------------+----------------+
! ! Revol.1 ! MfKeyEnd ! Line.1 !
! +-----------------+------------------------+----------------+
! ! Revol.1 ! MfKeyStart ! Line.1 !
! +-----------------+------------------------+----------------+
! ! Sweep.1 ! MfKeyExtrudedFrom ! Line.1 !
! ! Sweep.1 ! MfKeyExtrudedFrom ! Line.2 !
! +-----------------+------------------------+----------------+
! ! Fillet.1 ! MfKeyNone ! NULL !
! ! Edge.1 ! MfKeyNone ! NULL !
! +-----------------+------------------------+----------------+
! ! Draft.1 ! MfKeyNone ! NULL !
! ! Face.1 ! MfKeyNone ! NULL !
! +-----------------+------------------------+----------------+
! ! Fillet.1 ! MfKeyNone ! NULL !
! ! Face.1 ! MfKeyNone ! NULL !
! ! Face.2 ! MfKeyNone ! NULL !
! +-----------------+------------------------+----------------+
! ! Fillet.1 ! MfKeyNone ! NULL !
! ! Face.1 ! MfKeyNone ! NULL !
! ! Face.2 ! MfKeyNone ! NULL !
! ! FaceToRemove.3 ! MfKeyNone ! NULL !
! +-----------------+------------------------+----------------+
! ! Shell.1 ! MfKeyNone ! NULL !
! ! face.1 ! MfKeyInsideThickness ! NULL !
! +-----------------+------------------------+----------------+
! ! Shell.1 ! MfKeyNone ! NULL !
! ! face.1 ! MfKeyOutsideThickness ! NULL !
+-----------+-----------------+------------------------+----------------+
! Edge ! Pad.1 ! MfKeyTop ! NULL !
! ! Pad.1 ! MfKeyExtrudedFrom ! Line.1 !
! +-----------------+------------------------+----------------+
! ! Pad.1 ! MfKeyBottom ! NULL !
! ! Pad.2 ! MfKeyExtrudedFrom ! Line.3 !
+-----------+-----------------+------------------------+----------------+
! Vertex ! Pad.1 ! MfKeyTop ! NULL !
! ! Pad.1 ! MfKeyExtrudedFrom ! Line.3 !
! ! Pad.1 ! MfKeyExtrudedFrom ! Line.4 !
! +-----------------+------------------------+----------------+
! ! Pad.1 ! MfKeyTop ! NULL !
! ! Pad.2 ! MfKeyBottom ! NULL !
! ! Pad.3 ! MfKeyExtrudedFrom ! Line.4 !
+-----------+-----------------+------------------------+----------------+
- See also:
- CATIFeaturize
Method Index
- o
CreateMfFBRep(CATLISTV(CATISpecObject_var)&,CATListOfCATUnicodeString&,CATLISTV(CATISpecObject_var)&,CATISpecObject_var&,CATIContainer_var&)
- Creates a face, edge or vertex functional BRep feature from symbolic information.
- o
CreateMfIntersectionEdge(CATIBRepAccess_var&,CATMfFeaturizeMode,CATBaseUnknown_var&)
- Creates an intersection edge BRep Feature.
- o
CreateMfPointOnEdge(CATISpecObject_var&,CATMathPoint&,CATIContainer_var&)
- Creates a point on edge BRep feature.
- o
CreateMfPointOnEdge(CATISpecObject_var&,double,CATIContainer_var&)
- Creates a point on edge BRep feature.
- o
CreateMfRBRep(CATLISTV(CATISpecObject_var)&,CATListOfCATUnicodeString&,CATLISTV(CATISpecObject_var)&,CATISpecObject_var&,CATIContainer_var&)
- Creates a face, edge or vertex relimited BRep feature from symbolic information.
Methods
o CreateMfFBRep
-
Creates a face, edge or vertex functional BRep feature from symbolic information.
Note:The three first list must have the same size.
- Parameters:
-
- iPrint
- List of source shape features.
- iKeys
- List of key words.
Legal values:
MfKeyTop, MfKeyBottom, MfKeyStart, MfKeyEnd.
- iProfileElements
- List of profile elements.
- iSupport
- Support.
- iWorkCont
- BRep feature is created in iWorkCont container.
o CreateMfIntersectionEdge
-
Creates an intersection edge BRep Feature.
- Parameters:
-
- iSelectingObject
- The possible values are:
- NULL_var for an empty intersection edge which afterwards must be set with appropriate attributes using
CATIMfIntersectionEdge services.
- a selecting object corresponding to an edge, and this kind of creation is then equivalent to
CATIFeaturize.FeaturizeR.
- imode
- Featurization mode, which should be, at least:
- MfFeaturizeIntersection
- MfFeaturizeC1Intersection
- MfFeaturizeC1Intersection|MfFeaturizeSubElement
- isupport
- The explicit support, e.g. the feature of resolution
- Returns:
- The
CATIMfIntersectionEdge BRep Feature.
o CreateMfPointOnEdge
-
Creates a point on edge BRep feature.
- Parameters:
-
- iEdge
- Edge BRep feature.
- iPoint
- Point.
- iWorkCont
- BRep feature is created in iWorkCont container.
o CreateMfPointOnEdge
public virtual CATIMfPointOnEdge_var CreateMfPointOnEdge( | const CATISpecObject_var& | iEdge, |
| const double | iRatio, |
| const CATIContainer_var& | iWorkCont | =NULL_var) = 0 |
-
Creates a point on edge BRep feature.
- Parameters:
-
- iEdge
- Edge BRep feature.
- iRatio
- Ratio.
- iWorkCont
- BRep feature is created in iWorkCont container.
o CreateMfRBRep
-
Creates a face, edge or vertex relimited BRep feature from symbolic information.
Note:The three first list must have the same size.
- Parameters:
-
- iPrint
- List of source shape features.
- iKeys
- List of key words.
Legal values:
MfKeyTop, MfKeyBottom, MfKeyStart, MfKeyEnd.
- iElementsDeProfil
- List of profile elements.
- iSupport
- Support.
- iWorkCont
- BRep feature is created in iWorkCont container.
This object is included in the file: CATIMfBRepFactory.h
If needed, your Imakefile.mk should include the module: CATMecModInterfaces