All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ManufacturingInterfaces Interface CATIMfgTPSingleMotion

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---ManufacturingInterfaces.CATIMfgToolPath
        |
        +---ManufacturingInterfaces.CATIMfgTraject
          |
          +---ManufacturingInterfaces.CATIMfgElementaryTraject
            |
            +---ManufacturingInterfaces.CATIMfgToolMotion
              |
              +---CATIMfgTPSingleMotion
 

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


interface CATIMfgTPSingleMotion

Interface for objects describing single tool motions (like polyline traject object, circular traject object).
Role: This interface offers services to manage attributes on the single motion object.
PLEASE NOTE that you should use CATIMfgTPMultipleMotion interface to modelize your tool motions.
CATIMfgTPMultipleMotion interface allows to store linear motions, circular motions and PP Instructions (described by a string or by a NC_Command and a NC_Instruction described in PP Table).
It needs less memory and CPU time.
It is the recommended way to modelize tool motions.

See also:
CATIMfgTPMultipleMotion


Method Index


o GetSpecificFeedrate(CATIMfgToolPathFeedrate_var&)
Retrieves local feedrate on the single motion object.
o GetSpecificSpindle(CATIMfgToolPathSpindle_var&)
Retrieves local spindle on the single motion object.
o GetSpecificToolAxis(CATIMfgToolPathToolAxis_var&)
Retrieves local tool axis on the single motion object.
o GetSpindleRotationWay(int&)
Retrieves the way of rotation for the spindle.
o SetContactNormals(CATMathSetOfVectors&)
Sets coordinates of contact normals on the single motion.
o SetContactPoints(CATMathSetOfPoints&)
Sets coordinates of contact points on the single motion.
o SetSpecificCorrectorNumber(int)
Sets a local tool corrector number on the single motion.
o SetSpecificFeedrate(CATIMfgToolPathFeedrate_var&)
Sets a local feedrate on the single motion object.
o SetSpecificSpindle(CATIMfgToolPathSpindle_var&)
Sets a local spindle on the single motion object.
o SetSpecificToolAxis(CATIMfgToolPathToolAxis_var&)
Sets a local tool axis on the single motion object.
o SetSpindleInverseRotationWay()
Inverts the way of rotation of the spindle.
o SetSpindleNormalRotationWay()
Sets the normal way of rotation for the spindle (according to the right/left way of rotation for the tool).
o SetTipPoints(CATMathSetOfPoints&)
Sets coordinates of tip points on the single motion.
o SetToolAxisPoints(CATMathSetOfVectors&)
Sets coordinates of tool axis (for 5 axis) on the single motion.
o UnsetSpecificCorrectorNumber()
Unsets the local tool corrector number on the single motion.

Methods


o GetSpecificFeedrate
public virtual CATBoolean GetSpecificFeedrate(CATIMfgToolPathFeedrate_var& oFeedrate) =0
Retrieves local feedrate on the single motion object.
Parameters:
oFeedrate
The local feedrate
Returns:
Return code.
Legal values:
  • TRUE: a local feedrate has been found
  • FALSE: no local feedrate has been found
o GetSpecificSpindle
public virtual CATBoolean GetSpecificSpindle(CATIMfgToolPathSpindle_var& oSpindle) =0
Retrieves local spindle on the single motion object.
Parameters:
oSpindle
The local spindle
Returns:
Return code.
Legal values:
  • TRUE: a local spindle has been found
  • FALSE: no local spindle has been found
o GetSpecificToolAxis
public virtual CATBoolean GetSpecificToolAxis(CATIMfgToolPathToolAxis_var& oToolAxis) =0
Retrieves local tool axis on the single motion object.
Parameters:
oToolAxis
The local tool axis
Returns:
Return code.
Legal values:
  • TRUE: a local tool axis has been found
  • FALSE: no local tool axis has been found
o GetSpindleRotationWay
public virtual CATBoolean GetSpindleRotationWay(int& oRotationWay) =0
Retrieves the way of rotation for the spindle.
Parameters:
oRotationWay

Legal values:
  • oRotationWay = 1 : normal way of rotation of the spindle (according the right/left way of rotation for the tool)
  • oRotationWay = 2 : inverted way of rotation
o SetContactNormals
public virtual CATBoolean SetContactNormals(CATMathSetOfVectors& iContactNormals) =0
Sets coordinates of contact normals on the single motion.
Parameters:
iContactNormals
The list of contact normals
o SetContactPoints
public virtual CATBoolean SetContactPoints(CATMathSetOfPoints& iContactPoints) =0
Sets coordinates of contact points on the single motion.
Parameters:
iContactPoints
The list of contact points
o SetSpecificCorrectorNumber
public virtual CATBoolean SetSpecificCorrectorNumber( const int iCorrectorNumber) =0
Sets a local tool corrector number on the single motion.
Parameters:
iToolAxis
The tool corrector number value
o SetSpecificFeedrate
public virtual CATBoolean SetSpecificFeedrate(CATIMfgToolPathFeedrate_var& iFeedrate) =0
Sets a local feedrate on the single motion object.
Parameters:
iFeedrate
The local feedrate
o SetSpecificSpindle
public virtual CATBoolean SetSpecificSpindle(CATIMfgToolPathSpindle_var& iSpindle) =0
Sets a local spindle on the single motion object.
Parameters:
iSpindle
The local spindle
o SetSpecificToolAxis
public virtual CATBoolean SetSpecificToolAxis(CATIMfgToolPathToolAxis_var& iToolAxis) =0
Sets a local tool axis on the single motion object.
Parameters:
iToolAxis
The local tool axis
o SetSpindleInverseRotationWay
public virtual CATBoolean SetSpindleInverseRotationWay()=0
Inverts the way of rotation of the spindle.
o SetSpindleNormalRotationWay
public virtual CATBoolean SetSpindleNormalRotationWay()=0
Sets the normal way of rotation for the spindle (according to the right/left way of rotation for the tool).
o SetTipPoints
public virtual CATBoolean SetTipPoints(CATMathSetOfPoints& iTipPoints) =0
Sets coordinates of tip points on the single motion.
Parameters:
iTipPoints
The list of tip points
o SetToolAxisPoints
public virtual CATBoolean SetToolAxisPoints(CATMathSetOfVectors& iToolAxis) =0
Sets coordinates of tool axis (for 5 axis) on the single motion.
Parameters:
iToolAxis
The list of tool axis
o UnsetSpecificCorrectorNumber
public virtual CATBoolean UnsetSpecificCorrectorNumber()=0
Unsets the local tool corrector number on the single motion.

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

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