All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GSOInterfaces Interface CATIGSOFactory

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIGSOFactory
 

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


interface CATIGSOFactory

Factory of all geometrical elements of Generative Shape Optimizer workshop.
Role: Creation of all Generative Shape Optimizer feature. All methods described here work on CATISpecObject (for geometrical elements) and CATICkeParm (for data such as lengths, angles, ratios...).

Note: If the creation fails, the methods return NULL_var.

This factory never agregates the created feature. You need to agregate your object in a GSMTool feature to see it in 3D and Graph. GSMTool feature can be either HybridBody(Body), Geometrical Set (GS) or Ordered Geometrical Set (OGS).
You can use :

Once aggregated the feature has to be updated.

If feature is inserted in Body or OGS, you have to call CATMmrLinearBodyServices::Insert() This method checks the linearity of the Parent/Children relationship and ,if needed, performed re-arrangement(Replace) to makes sure that created feature depends logically of just previouly created feature

LICENCING INFORMATION
This interface concern GSO/DL1/ABT(partly) features creation
Use of the creation methods requires to have granted license configuration for feature creation


if License are not granted creation fails.

See also:
CATIGSMProceduralView, CATIMechanicalRootFactory, CATIGSMTool, CATISpecObject, CATICkeParm, CATICkeParmFactory


Method Index


o CreateBump(CATISpecObject_var)
Creates a new surface with a bump type deformation.
o CreateBump(CATISpecObject_var,CATISpecObject_var,CATISpecObject_var,CATISpecObject_var,CATISpecObject_var,CATICkeParm_var,CATICkeParm_var,CATGSMContinuity)
Creates a new surface with a bump type deformation.
o CreateDevelop(CATGSMDevelopMethod,CATISpecObject_var,CATISpecObject_var,boolean)
Creates a developed curve.
o CreateUnfold()
Creates a Unfold operation.
o CreateWrapCurve()
Creates a wrapcurve surface deformation feature.
o CreateWrapCurve(CATListValCATISpecObject_var&,CATListValCATISpecObject_var&,CATGSOWrapCurveSurfaceCst,CATGSOWrapCurveSurfaceCst)
Creates a wrapcurve surface deformation feature.
o CreateWrapSurface(CATISpecObject_var)
Creates a wrapsurface deformation feature.
o CreateWrapSurface(CATISpecObject_var,CATISpecObject_var,CATISpecObject_var)
Creates a wrapsurface deformation feature.

Methods


o CreateBump
public virtual CATIGSOBump_var CreateBump( const CATISpecObject_var iElemToBump)= 0
Creates a new surface with a bump type deformation.
Note: require GSO license.
Parameters:
iElemToBump
Element to be modified by a bump deformation.
Returns:
CATIGSOBump_var created surface
See also:
CATIGSOBump, CATICkeParm
o CreateBump
public virtual CATIGSOBump_var CreateBump( const CATISpecObject_var iElemToBump,
const CATISpecObject_var iLimitCurve,
const CATISpecObject_var iDeformationCenter,
const CATISpecObject_var iProjectionDir,
const CATISpecObject_var iDeformationDir,
const CATICkeParm_var iDeformationDistance,
const CATICkeParm_var iDeviationUser=NULL_var ,
CATGSMContinuity iContinuity=CATGSMContinuity_Curvature )= 0
Creates a new surface with a bump type deformation.
Note: require GSO license.
Parameters:
iElemToBump
Element to be modified by a bump deformation.
iLimitCurve
Curve limit of the deformation area.
iDeformationCenter
Center of the bump deformation.
iProjectionDir
Projection Direction.
iDeformationDir
Direction of the bump deformation.
iDeformationDistance
Distance of the bump deformation.
iDeviationUser
G0 deviation fixed by the user.
iContinuity
Continuity type .
Returns:
CATIGSOBump_var created surface
See also:
CATIGSOBump, CATICkeParm
o CreateDevelop
public virtual CATIGSMDevelop_var CreateDevelop(CATGSMDevelopMethod Mode,
const CATISpecObject_var iToDevelop,
const CATISpecObject_var iSupport,
const boolean ibInstanciateTransfo= TRUE) = 0
Creates a developed curve.
Note: require either DL1 or GSO license.
Parameters:
Mode
Develop-Develop or Develop-Project
iToDevelop
iCurve to be developed.
iSupport
Revolution surface for develop.
ibInstanciateTransfo
Flag indicating whether :
- the user has not done anything (yet) for wire positioning : ibInstanciateTransfo = TRUE (default ivalue if not specified)
- the user has already instanciated a positioning transformation of his own, and then will have to use SetPositionedWire() to store it : ibInstanciateTransfo = FALSE
Returns:
CATIGSMDevelop_var created develop.
See also:
CATIGSMDevelop, CATGSMDevelopMethod
o CreateUnfold
public virtual CATIGSMUnfold_var CreateUnfold()= 0
Creates a Unfold operation.
Note: require DL1 license.
Returns:
CATIGSMUnfold_var created feature.
See also:
CATIGSMUnfold
o CreateWrapCurve
public virtual CATIGSOWrapCurve_var CreateWrapCurve()= 0
Creates a wrapcurve surface deformation feature.
Note: require GSO license.
Returns:
CATIGSOWrapCurve_var created WrapCurve, @see CATIGSOWrapCurve
o CreateWrapCurve
public virtual CATIGSOWrapCurve_var CreateWrapCurve( const CATListValCATISpecObject_var& iReferenceCurves,
const CATListValCATISpecObject_var& iTargetCurves,
const CATGSOWrapCurveSurfaceCst iFirstCurvesCst= CATGSOWrapCurveSameCurvature ,
const CATGSOWrapCurveSurfaceCst iLastCurvesCst= CATGSOWrapCurveSameCurvature )= 0
Creates a wrapcurve surface deformation feature.
Note: require GSO license.
Parameters:
iReferenceCurves
The list of reference curves.
iTargetCurves
The list of target curves. The first curve in oTargetCurves is the target curve of the first curve in oReferenceCurves, The second curve in oTargetCurves is the target curve of the second curve in oReferenceCurves...
iFirstCurvesCst
The constraint to first curves
See also:
CATGSOWrapCurveSurfaceCst
iLastCurvesCst
The constraint to last curves
See also:
CATGSOWrapCurveSurfaceCst
Returns:
CATIGSOWrapCurve_var created WrapCurve, @see CATIGSOWrapCurve
o CreateWrapSurface
public virtual CATIGSOWrapSurface_var CreateWrapSurface( const CATISpecObject_var iElemToDeform)= 0
Creates a wrapsurface deformation feature.
Note: require GSO license.
Parameters:
iElemToDeform
Element to be modified by a wrap surface deformation.
Returns:
CATIGSOWrapSurface_var created WrapSurface, @see CATIGSOWrapSurface
o CreateWrapSurface
public virtual CATIGSOWrapSurface_var CreateWrapSurface( const CATISpecObject_var iElemToDeform,
const CATISpecObject_var iReferenceSurface,
const CATISpecObject_var iTargetSurface)= 0
Creates a wrapsurface deformation feature.
Note: require GSO license.
Parameters:
iElemToDeform
Element to be modified by a wrap surface deformation.
iReferenceSurface
Reference Element to define a wrap surface deformation.
iTargetSurface
Target Element to define a wrap surface deformation.
Returns:
CATIGSOWrapSurface_var created WrapSurface, @see CATIGSOWrapSurface

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

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