CATCompositesUseItf Interface CATICciPly
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICciPly
Interface to Ply.
Role: Allows to manage a Composites ply feature.
Method Index
- o
AddFlattenContour(CATIMmiMechanicalFeature_var&)
- Adds the new contour(ihContour) as flatten contour to the flatten feature.
- o
CreateFlatten(CATCciFlattenMode,CATIMmiMechanicalFeature_var&)
- Creates the flatten.
- o
CreateHighlightShell(CATIMmiMechanicalFeature_var&)
- Creates (or retrieves)ply's shell corresponding to the highlight area.
- o
DeleteFlattenContour(CATIMmiMechanicalFeature_var&)
- Deletes the existing contour(ihContour) of the flatten feature.
- o
GetCompositesGeometry(CATICciCompositesGeometry_var&)
- Gets ply's composites geometry.
- o
GetCutPiecesGroup(CATICciCutPiecesGroup_var&)
- Gets the cut-piece group under the ply.
- o
GetExplodedSurface(CATIMmiMechanicalFeature_var&)
- Gets ply's exploded surface (result of the ply exploder).
- o
GetFlattenedGeometries(CATLISTV(CATIMmiMechanicalFeature_var)&)
- Gets the ply's flattened geometries.
- o
GetFlattenedRosette(CATMathPoint&,CATMathVector&,CATMathVector&)
- Gets the flattened rosette of the ply.
- o
GetGeometry(CATIMmiMechanicalFeature_var&)
- Gets the ply's geometry i.
- o
GetHighlightShell(CATIMmiMechanicalFeature_var&)
- Retrieves ply's shell corresponding to the highlight area.
- o
GetReferenceShell(CATIMmiMechanicalFeature_var&,CATBoolean&)
- Gets the reference shell and draping direction of the ply.
- o
RemoveContours()
- Removes all eng.
- o
RemoveHighlightShell()
- Removes previous ply's shell corresponding to the highlight area.
- o
ReplaceFlattenContour(CATIMmiMechanicalFeature_var,CATIMmiMechanicalFeature_var)
- Replaces the existing contour(ihOldContour) of flatten feature with new contour(ihNewContour).
- o
ReplaceFlattenRosette(CATIMmiMechanicalFeature_var)
- Replaces the existing rosette of the flatten feature with the input rosette(ihRosette).
- o
SetDrapingDirection(CATBoolean)
- Sets draping direction on the ply.
- o
SetFlattenedGeometry(CATIMmiMechanicalFeature_var)
- Sets the flatten geometry of the ply.
Methods
o AddFlattenContour
public virtual AddFlattenContour( | const | ihContour) |
-
Adds the new contour(ihContour) as flatten contour to the flatten feature.
If multiple contours need to be added, the method has to be called multiple times
o CreateFlatten
public virtual CreateFlatten( | | imode, |
| | ohIFlatBU) |
-
Creates the flatten.
- Parameters:
-
- imode
- CATCciStandard or CATCciUnfold Created flatten.
o CreateHighlightShell
public virtual CreateHighlightShell( | | oShell) |
-
Creates (or retrieves)ply's shell corresponding to the highlight area.
WARNING: This method modifies the part document.
- Parameters:
-
- oShell
- The created or retrieved highlight shell.
o DeleteFlattenContour
public virtual DeleteFlattenContour( | const | ihContour) |
-
Deletes the existing contour(ihContour) of the flatten feature.
If multiple contours need to be deleted, the method has to be called multiple times
o GetCompositesGeometry
public virtual GetCompositesGeometry( | | oGeometry) |
-
Gets ply's composites geometry.
- Parameters:
-
- oGeometry
- The ply's composites geometry.
o GetCutPiecesGroup
public virtual GetCutPiecesGroup( | | oCutPiecesGroup) |
-
Gets the cut-piece group under the ply.
- Parameters:
-
- oTapeGroup
- The tape group.
o GetExplodedSurface
public virtual GetExplodedSurface( | | oGeometry) |
-
Gets ply's exploded surface (result of the ply exploder).
- Parameters:
-
- oGeometry
- The exploded surface.
Gets NULL if the shell is not available
o GetFlattenedGeometries
public virtual GetFlattenedGeometries( | | oListOfContours) |
-
Gets the ply's flattened geometries.
- Parameters:
-
- oListOfContours
- The list of flatten geometries.
- If the flatten shape of the Ply 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 Ply 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 ply.
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 ply's geometry i.e. its 3D contour(s).
- Parameters:
-
- oGeometry
- The 3D geometry.
o GetHighlightShell
public virtual GetHighlightShell( | | oShell) |
-
Retrieves 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 ply.
- 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 RemoveContours
public virtual RemoveContours( | ) |
-
Removes all eng. or man. contours of the ply.
(i.e. all contours under current composites geometry node)
o RemoveHighlightShell
public virtual RemoveHighlightShell( | ) |
-
Removes previous ply's shell corresponding to the highlight area.
WARNING: this method modifies the part document.
o ReplaceFlattenContour
public virtual ReplaceFlattenContour( | const | ihOldContour, |
| const | ihNewContour) |
-
Replaces the existing contour(ihOldContour) of flatten feature with new contour(ihNewContour).
ihOldContour will be identified among the contours of flatten feature and will be deleted.
Then ihNewContour will be added flatten contour of the feature.
o ReplaceFlattenRosette
public virtual ReplaceFlattenRosette( | const | ihRosette) |
-
Replaces the existing rosette of the flatten feature with the input rosette(ihRosette).
Previously existing rosette will be removed (not deleted) from the feature.
o SetDrapingDirection
public virtual SetDrapingDirection( | | iDrapingDirection) |
-
Sets draping direction on the ply.
- Parameters:
-
- iDrapingDirection
- draping direction
S_OK drapping direction setting OK
E_INVALIDARG drapping direction could not be setted because it is lock from PliesGroup father
E_FAIL error
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: CATICciPly.h
If needed, your Imakefile.mk should include the module: CATCompositesUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.