MachiningToolPathUseItf Interface DELIMfgTPSynchro
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface DELIMfgTPSynchro
Interface on the tool path to give an index value to each entity of the tool path.
Depending on options, each index value can indicate a linear motion, a circular motion
or a object to describe a machining cycle.
Method Index
- o
AddCircleArcInLastMultipleMotion(CATUnicodeString&,CATUnicodeString&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATMathVector&,CATMathPoint&,double,CATListOfInt&)
- Add a subtraject describing a "Circle Arc" (circular motion) in the last MfgMultipleMotion object of the tool path.
- o
AddHelixInLastMultipleMotion(CATUnicodeString&,CATUnicodeString&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATMathVector&,CATMathPoint&,double,CATMathVector&,double,CATListOfInt&)
- Add a subtraject describing a "Helix" (helical motion) in the last MfgMultipleMotion object of the tool path.
- o
AddPPCommandInLastMultipleMotion(CATUnicodeString&,int,CATListOfInt&)
- Adds a subtraject describing a "PP command" in the last MfgMultipleMotion object of the tool path.
- o
AddPolylineInLastMultipleMotion(CATUnicodeString&,CATUnicodeString&,CATListOfDouble&,CATListOfDouble&,CATListOfDouble&,CATListOfInt&)
- Adds a subtraject describing a "Polyline" (set of linear motions) in the last MfgMultipleMotion object of the tool path.
- o
AddUserSyntaxInLastMultipleMotion(CATUnicodeString&,CATListOfInt&)
- Adds a subtraject describing a "user syntax" in the last MfgMultipleMotion object of the tool path.
- o
CloseSynchroSession()
- Closes the working session.
- o
GetIndexFromToolPathData(CATBaseUnknown_var&,int,int,int&)
- Retrieves an index value from data on the tool path.
- o
GetNumberOfMotions(int&)
- Returns the total number of index values.
- o
GetToolPathDataFromIndex(int,CATBaseUnknown_var&,int&,int&)
- Retrieves data on the tool path from an index value.
- o
OpenSynchroSession()
- Opens the working session.
- o
SetCircleMode(DELIMfgTPSynchro::CircleMode&)
- Sets the management mode for circle.
- o
SetCycleMode(DELIMfgTPSynchro::CycleMode&)
- Sets the management mode for cycle.
- o
SetHelixMode(DELIMfgTPSynchro::HelixMode&)
- Sets the management mode for helical.
Enumerated Type Index
- o
CircleMode
- Mode of management for circle.
- o
CycleMode
- Mode of management for cycle.
- o
HelixMode
- Mode of management for helical.
Methods
o AddCircleArcInLastMultipleMotion
public virtual AddCircleArcInLastMultipleMotion( | const | iTrajectType, |
| const | iFeedrateType, |
| const | iX, |
| const | iY, |
| const | iZ, |
| const | iNormal, |
| const | iCenter, |
| | iRadius, |
| | oIndex) |
-
Add a subtraject describing a "Circle Arc" (circular motion) in the last MfgMultipleMotion object of the tool path.
- Parameters:
-
- iTrajectType
- The type of traject
Legal values:
- "TPApproachTraject" : approach traject
- "TPMachiningTraject" : machining traject
- "TPRetractTraject" : retract traject
- "TPLinkingTraject" : linking traject
- "TPBetweenPathTraject" : traject between path
- iFeedrateType
- The type of feedrate
Legal values:
- "TPApproachFeedrate" : approach feedrate
- "TPMachiningFeedrate": machining feedrate
- "TPRetractFeedrate" : retract feedrate
- "TPRapidFeedrate" : rapid feedrate
- "TPFinishingFeedrate" : finishing feedrate
- "TPChamferingFeedrate" : chamfering feedrate
- "TPPlungeFeedrate" : plunge feedrate
- iX,iY,iZ
- The coordinates of tip points (discretization of the circle arc)
- iNormale
- The oriented normal to the plane containing the circle arc
- iCenter
- The center of the circle arc
- iRadius
- The radius of the circle arc
- oIndex
- The list of index values (depending on management mode for circle, an index value for each point of discretization of the circle
or only one index value for the circle)
o AddHelixInLastMultipleMotion
public virtual AddHelixInLastMultipleMotion( | const | iTrajectType, |
| const | iFeedrateType, |
| const | iX, |
| const | iY, |
| const | iZ, |
| const | iAxis, |
| const | iCenter, |
| | iRadius, |
| const | iStartTangent, |
| | iPitch, |
| | oIndex) |
-
Add a subtraject describing a "Helix" (helical motion) in the last MfgMultipleMotion object of the tool path.
- Parameters:
-
- iTrajectType
- The type of traject
Legal values:
- "TPApproachTraject" : approach traject
- "TPMachiningTraject" : machining traject
- "TPRetractTraject" : retract traject
- "TPLinkingTraject" : linking traject
- "TPBetweenPathTraject" : traject between path
- "TPApproachTrajectAlongSection" : approach traject along section< /li>
- "TPLinkingTrajectAlongSection" : linking traject along section
- "TPRetractTrajectAlongSection" : retract traject along section
- iFeedrateType
- The type of feedrate
Legal values:
- "TPApproachFeedrate" : approach feedrate
- "TPMachiningFeedrate": machining feedrate
- "TPRetractFeedrate" : retract feedrate
- "TPRapidFeedrate" : rapid feedrate
- "TPFinishingFeedrate" : finishing feedrate
- "TPChamferingFeedrate" : chamfering feedrate
- "TPPlungeFeedrate" : plunge feedrate
- "TPAirCuttingFeedrate" : air cutting feedrate
- iX
- The X coordinate of tip points (discretization of the helix)
- iY
- The Y coordinate of tip points (discretization of the helix)
- iZ
- The Z coordinates of tip points (discretization of the helix)
- iAxis
- The oriented axis of the helix
- iCenter
- The center of the helix
- iRadius
- The radius of the helix
- iStartTangent
- The oriented tangent to the helix at the start point
- iPitch
- The pitch of the helix
- oIndex
- The list of index values (depending on management mode for helix, an index value for each point of discretization of the helix
or only one index value for the helix)
o AddPPCommandInLastMultipleMotion
public virtual AddPPCommandInLastMultipleMotion( | const | iPPCommand, |
| | iSequenceNumber, |
| | oIndex) |
-
Adds a subtraject describing a "PP command" in the last MfgMultipleMotion object of the tool path.
A PP Syntax is a "NC Command" described in PP Table and evaluated from it during generation of APT file.
- Parameters:
-
- iPPCommand
- The name of "NC Command"
- iSequenceNumber
- The number of sequence in the PP Table
- oIndex
- The list of index values (one value for the "PP command")
o AddPolylineInLastMultipleMotion
public virtual AddPolylineInLastMultipleMotion( | const | iTrajectType, |
| const | iFeedrateType, |
| const | iX, |
| const | iY, |
| const | iZ, |
| | oIndex) |
-
Adds a subtraject describing a "Polyline" (set of linear motions) in the last MfgMultipleMotion object of the tool path.
- Parameters:
-
- iTrajectType
- The type of traject
Legal values:
- "TPApproachTraject" : approach traject
- "TPMachiningTraject" : machining traject
- "TPRetractTraject" : retract traject
- "TPLinkingTraject" : linking traject
- "TPBetweenPathTraject" : traject between path
- iFeedrateType
- The type of feedrate
Legal values:
- "TPApproachFeedrate" : approach feedrate
- "TPMachiningFeedrate": machining feedrate
- "TPRetractFeedrate" : retract feedrate
- "TPRapidFeedrate" : rapid feedrate
- "TPFinishingFeedrate" : finishing feedrate
- "TPChamferingFeedrate" : chamfering feedrate
- "TPPlungeFeedrate" : plunge feedrate
- iX,iY,iZ
- The coordinates of tip points
- oIndex
- The list of index values (an index value for each tip point)
o AddUserSyntaxInLastMultipleMotion
public virtual AddUserSyntaxInLastMultipleMotion( | const | iUserSyntax, |
| | oIndex) |
-
Adds a subtraject describing a "user syntax" in the last MfgMultipleMotion object of the tool path.
A user syntax is a string generated as it is in APT file.
- Parameters:
-
- iUserSyntax
- The user syntax
- oIndex
- The list of index values (one value for the "user syntax")
o CloseSynchroSession
public virtual CloseSynchroSession( | ) |
-
Closes the working session.
Last method to call when using this interface.
o GetIndexFromToolPathData
public virtual GetIndexFromToolPathData( | const | ispToolPathData, |
| | iTipPointRank, |
| | iSubTrajectRank, |
| | oIndex) |
-
Retrieves an index value from data on the tool path.
- Parameters:
-
- ispToolPathData
- The interface on the tool path objet (see
,
,
)
- iTipPointRank
- The number of tip point (in case of a linear motion on an
object)
- iSubTrajectRank
- The number of sub-motion (in case of an
object)
- oIndex
- The value of index
o GetNumberOfMotions
public virtual GetNumberOfMotions( | | oSubMotion) |
-
Returns the total number of index values.
- Parameters:
-
- oSubMotion
- The number of index values
o GetToolPathDataFromIndex
public virtual GetToolPathDataFromIndex( | | iIndex, |
| | ospToolPathData, |
| | oTipPointRank, |
| | oSubTrajectRank) |
-
Retrieves data on the tool path from an index value.
- Parameters:
-
- iIndex
- The value of index
- ospToolPathData
- The interface on the tool path objet (see
,
,
)
- oTipPointRank
- The number of tip point (in case of a linear motion on an
object)
- oSubTrajectRank
- The number of sub-motion (in case of an
object)
o OpenSynchroSession
public virtual OpenSynchroSession( | ) |
-
Opens the working session.
First method to call when using this interface.
o SetCircleMode
public virtual SetCircleMode( | const | iCircleMode) |
-
Sets the management mode for circle.
- Parameters:
-
- iCircleMode
- The mode of management for circle
o SetCycleMode
public virtual SetCycleMode( | const | iCycleMode) |
-
Sets the management mode for cycle.
- Parameters:
-
- iCycleMode
- The mode of management for cycle
o SetHelixMode
public virtual SetHelixMode( | const | iHelix) |
-
Sets the management mode for helical.
- Parameters:
-
- iHelixMode
- The mode of management for helix
Enumerated Types
o CircleMode
-
enum CircleMode {
Circle_OFF,
Circle_ON
}
Mode of management for circle.
Legal values:
- Circle_OFF : each circle is seen as a set of linear motions and each point
of discretization of the circle has an index value
- Circle_ON : only one index value for the circle
o CycleMode
-
enum CycleMode {
Cycle_OFF,
Cycle_ON
}
Mode of management for cycle.
Legal values:
- Cycle_OFF : each cycle is seen as a set of motions (linear, circular,..) or PP instructions and
each one has an index value
- Cycle_ON : only one index value for the
object which describes the machining cycle.
o HelixMode
-
enum HelixMode {
Helix_OFF,
Helix_ON
}
Mode of management for helical.
Legal values:
- Helix_OFF : each helix is seen as a set of linear motions and each point
of discretization of the helix has an index value
- Helix_ON : only one index value for the helix
This object is included in the file: DELIMfgTPSynchro.h
If needed, your Imakefile.mk should include the module: MachiningToolPathUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.