Class to manage machining machine. More...
Public Member Functions | |
GO2SMachine () | |
Defaut constructor. | |
GO2SMachine (String dir, String name) | |
Create a machine object. | |
void | GetExistingMachine () |
String | GetName () |
any | GetParam (Number key, Number noDevice=0) override |
Boolean | IsLoaded () |
void | LoadFromFile (String dir, String name) |
GO2SEnum::GO2SError | RunPP (String dir, String name) |
GO2SEnum::GO2SError | SetParam (Number key, any value, Number noDevice=0) override |
String | toString () override |
Public Member Functions inherited from GO2SMachining | |
Array< String > | GetEditableParams () |
any | GetParam (Number key, Number noDevice=0) |
Boolean | IsParamEditable (Number key) |
GO2SEnum::GO2SError | SetParam (Number key, any value, Number noDevice=0) |
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 |
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 |
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 ) |
Starts the execution of the post processor defined in the machine file
[in] | dir | ISO file destination directory. If empty, the GO2cam iso directory will be used |
[in] | name | Iso file name |
|
overridevirtual |
Implements GO2SMachining.