CATCompositesUseItf Interface CATICciCutPiece

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATICciCutPiece

Interface to CutPiece.
Role: Allows to manage a Composites Cut Piece feature.

See also:


Method Index


o CreateFlatten(CATCciFlattenMode,CATIMmiMechanicalFeature_var&)
Creates the flatten.
o CreateHighlightShell(CATIMmiMechanicalFeature_var&)
Creates cut-piece's shell corresponding to the highlight area.
o GetCompositesGeometry(CATICciCompositesGeometry_var&)
Gets cut-piece's composites geometry.
o GetExplodedSurface(CATIMmiMechanicalFeature_var&)
Gets CutPiece's exploded geometry.
o GetFlattenedGeometries(CATLISTV(CATIMmiMechanicalFeature_var)&)
Gets the CutPiece's flattened geometries.
o GetFlattenedRosette(CATMathPoint&,CATMathVector&,CATMathVector&)
Gets the flattened rosette of the CutPiece.
o GetGeometry(CATIMmiMechanicalFeature_var&)
Gets the CutPiece's geometry i.
o GetHighlightShell(CATIMmiMechanicalFeature_var&)
Gets ply's shell corresponding to the highlight area.
o GetReferenceShell(CATIMmiMechanicalFeature_var&,CATBoolean&)
Gets the reference shell and draping direction of the CutPiece.
o RemoveHighlightShell()
Removes previously created cut-piece's shell corresponding to the highlight area.
o SetFlattenedGeometry(CATIMmiMechanicalFeature_var)
Sets the flatten geometry of the ply.

Methods


o CreateFlatten
public virtual CreateFlatten( imode,
ohIFlatBU)
Creates the flatten.
Parameters:
imode
CATCciStandard or CATCciUnfold Created flatten.
o CreateHighlightShell
public virtual CreateHighlightShell( oShell)
Creates cut-piece's shell corresponding to the highlight area.
WARNING: this method modifies the part document.
Parameters:
oShell
The created highlight shell.
o GetCompositesGeometry
public virtual GetCompositesGeometry( oGeometry)
Gets cut-piece's composites geometry.
Parameters:
oGeometry
The cut-piece's composites geometry.
o GetExplodedSurface
public virtual GetExplodedSurface( oGeometry)
Gets CutPiece's exploded geometry.
Parameters:
oGeometry
The exploded geometry. Gets NULL if the geometry is not available.
o GetFlattenedGeometries
public virtual GetFlattenedGeometries( oListOfContours)
Gets the CutPiece's flattened geometries.
Parameters:
oListOfContours
The list of flatten geometries.
  • If the flatten shape of the CutPiece corresponds to a composites flatten feature in a FlattenBody, the list will contain to the last version (if modified by a smooth feature for example) of each flatten contour.
  • If the flatten shape of the CutPiece corresponds to a user geometry defined by the user (e.g. a join) the list will only contain one element with n domains corresponding to the n flatten contours.
o GetFlattenedRosette
public virtual GetFlattenedRosette( oOrigin,
oXAxis,
oYAxis)
Gets the flattened rosette of the CutPiece.
Note: if the user has defined his own flatten geometry via GSD type features he should have added a domain with two curves to define the flatten rosette. If not return code will be E_FAIL.
Parameters:
oOrigin
Origin of the flattened rosette
oXAxis
X axis of the flattened rosette
oYAxis
Y axis of the flattened rosette
o GetGeometry
public virtual GetGeometry( oGeometry)
Gets the CutPiece's geometry i.e. its 3D contour(s).
Parameters:
oGeometry
The 3D geometry.
o GetHighlightShell
public virtual GetHighlightShell( oShell)
Gets ply's shell corresponding to the highlight area.
Parameters:
oShell
The highlight shell. Gets NULL if the shell is not stored i.e. not computed or removed by user.
o GetReferenceShell
public virtual GetReferenceShell( oRefShell,
oDrapingDirection)
Gets the reference shell and draping direction of the CutPiece.
Parameters:
oRefShell
The specObject corresponding to the reference shell.
oDrapingDirection
The draping direction as boolean.
  • FALSE when draping direction is opposite to the normal of the shell.
  • TRUE when draping direction is equal to the normal of the shell.
o RemoveHighlightShell
public virtual RemoveHighlightShell()
Removes previously created cut-piece's shell corresponding to the highlight area.
WARNING: this method modifies the part document.
o SetFlattenedGeometry
public virtual SetFlattenedGeometry( ihIFlatGeom)
Sets the flatten geometry of the ply.
Parameters:
ihIFlatGeom
The flatten geometry.

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

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