CATGSOUseItf Interface CATIGSOUseFactory

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


interface CATIGSOUseFactory

Factory of all geometrical elements of Generative Shape Optimizer workshop.
Role: Creation of all Generative Shape Optimizer feature. All methods described here work on CATIMmiMechanicalFeature (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:
, , , , ,


Method Index


o CreateBump(CATIMmiMechanicalFeature_var)
Creates a new surface with a bump type deformation.
o CreateBump(CATIMmiMechanicalFeature_var,CATIMmiMechanicalFeature_var,CATIMmiMechanicalFeature_var,CATIMmiMechanicalFeature_var,CATIMmiMechanicalFeature_var,CATICkeParm_var,CATICkeParm_var,CATGSMContinuity)
Creates a new surface with a bump type deformation.
o CreateDevelop(CATGSMDevelopMethod,CATIMmiMechanicalFeature_var,CATIMmiMechanicalFeature_var,boolean)
Creates a developed curve.
o CreateTransfer(CATIMmiMechanicalFeature_var&,CATGSMTypeOfTransfer)
Creates a Transfered result.
o CreateUnfold()
Creates a Unfold operation.
o CreateWrapCurve()
Creates a wrapcurve surface deformation feature.
o CreateWrapCurve(CATListValCATIMmiMechanicalFeature_var&,CATListValCATIMmiMechanicalFeature_var&,CATGSOWrapCurveSurfaceCst,CATGSOWrapCurveSurfaceCst)
Creates a wrapcurve surface deformation feature.
o CreateWrapSurface(CATIMmiMechanicalFeature_var)
Creates a wrapsurface deformation feature.
o CreateWrapSurface(CATIMmiMechanicalFeature_var,CATIMmiMechanicalFeature_var,CATIMmiMechanicalFeature_var)
Creates a wrapsurface deformation feature.

Methods


o CreateBump
public virtual CreateBump( const iElemToBump)
Creates a new surface with a bump type deformation.
Note: require GSO license.
Parameters:
iElemToBump
Element to be modified by a bump deformation.
Returns:
CATIGSOUseBump_var created surface
See also:
,
o CreateBump
public virtual CreateBump( const iElemToBump,
const iLimitCurve,
const iDeformationCenter,
const iProjectionDir,
const iDeformationDir,
const iDeformationDistance,
const iDeviationUser=NULL_var ,
iContinuity=CATGSMContinuity_Curvature )
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:
CATIGSOUseBump_var created surface
See also:
,
o CreateDevelop
public virtual CreateDevelop( Mode,
const iToDevelop,
const iSupport,
const ibInstanciateTransfo= TRUE)
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:
CATIGSMUseDevelop_var created develop.
See also:
,
o CreateTransfer
public virtual CreateTransfer( const ihSpecObject,
const iType)
Creates a Transfered result.
Note: require either DL1 or GSO license.
Parameters:
ihSpecObject
Element to be transfered.
iType
Type of transfer
Returns:
CATIGSMUseTransfer_var created feature, @see CATIGSMUseTransfer
o CreateUnfold
public virtual CreateUnfold()
Creates a Unfold operation.
Note: require DL1 license.
Returns:
CATIGSMUseUnfold_var created feature.
See also:
o CreateWrapCurve
public virtual CreateWrapCurve()
Creates a wrapcurve surface deformation feature.
Note: require GSO license.
Returns:
CATIGSOUseWrapCurve_var created WrapCurve, @see CATIGSOUseWrapCurve
o CreateWrapCurve
public virtual CreateWrapCurve( const iReferenceCurves,
const iTargetCurves,
const iFirstCurvesCst= CATGSOWrapCurveSameCurvature ,
const iLastCurvesCst= CATGSOWrapCurveSameCurvature )
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:
iLastCurvesCst
The constraint to last curves
See also:
Returns:
CATIGSOUseWrapCurve_var created WrapCurve, @see CATIGSOUseWrapCurve
o CreateWrapSurface
public virtual CreateWrapSurface( const iElemToDeform)
Creates a wrapsurface deformation feature.
Note: require GSO license.
Parameters:
iElemToDeform
Element to be modified by a wrap surface deformation.
Returns:
CATIGSOUseWrapSurface_var created WrapSurface, @see CATIGSOUseWrapSurface
o CreateWrapSurface
public virtual CreateWrapSurface( const iElemToDeform,
const iReferenceSurface,
const iTargetSurface)
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:
CATIGSOUseWrapSurface_var created WrapSurface, @see CATIGSOUseWrapSurface

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

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