Class to manage machining machine. More...
Inherits GO2SMachining.
Public Member Functions | |
| GO2SMachine () | |
| Defaut constructor. | |
| GO2SMachine (String dir, String name) | |
| Create a machine object. | |
| GO2SMachine (String dir, String name, String ppPath, String ppStdFolder) | |
| String | GetCompatibleExtension () |
| void | GetExistingMachine () |
| String | GetName () |
| String | GetPP () |
| String | GetPPStdFolder () |
| Boolean | IsLoaded () |
| void | LoadFromFile (String dir, String name) |
| GO2SEnum::GO2SError | RunPP (String dir, String name, Boolean forceQuiet=true, Boolean noParamWindow=false) |
| void | SetPP (String ppPath) |
| void | SetPPStdFolder (String path) |
Class to manage machining machine.
|
inline |
Create a machine object.
| [in] | dir | Machine file directory. If empty, the GO2cam machine directory will be used |
| [in] | name | Machine file name |
|
inline |
Create a machine object with a custom post processor and ppstd directory applied immediately.
| [in] | dir | Machine file directory. If empty, the GO2cam machine directory will be used |
| [in] | name | Machine file name |
| [in] | ppPath | Full path to the PP file (e.g. 'C:/my_pps/custom.dpp'). Empty to use the PP defined in the machine file. |
| [in] | ppStdFolder | Full path to the ppstd directory. Empty to use the default. |
| String GO2SMachine::GetCompatibleExtension | ( | ) |
| void GO2SMachine::GetExistingMachine | ( | ) |
Read the existing machine in the current file If no machine is loaded, try to load the default machine
| String GO2SMachine::GetName | ( | ) |
|
inline |
|
inline |
|
inline |
| void GO2SMachine::LoadFromFile | ( | String | dir, |
| String | name ) |
Load a machine file on the current part
| [in] | dir | Machine file directory. If empty, the GO2cam machine directory will be used |
| [in] | name | Machine file name |
| GO2SEnum::GO2SError GO2SMachine::RunPP | ( | String | dir, |
| String | name, | ||
| Boolean | forceQuiet = true, | ||
| Boolean | noParamWindow = false ) |
Starts the execution of the post processor defined in the machine file. If SetPP() and/or SetPPStdFolder() were called, those overrides are applied temporarily for the duration of this call.
| [in] | dir | ISO file destination directory. If empty, the GO2cam iso directory will be used |
| [in] | name | Iso file name |
| [in] | forceQuiet | Version 6.12.204 : whether to display warnings and the end result |
| [in] | noParamWindow | Version 6.13 : whether to display post probuilder and name choice |
|
inline |
Override the post processor file used by RunPP(). Both the directory and the PP name are extracted from the given path and applied temporarily during RunPP(). Calling with an empty string resets to the PP defined in the machine file.
| [in] | ppPath | Full path to the PP file (e.g. 'C:/my_pps/custom.dpp'). Empty to reset. |
|
inline |
Override the standard PP library directory used by RunPP(). Calling with an empty string resets to the default ppstd directory.
| [in] | path | Full path to the ppstd directory. Empty to reset. |