3f2ac592205d2b3948e5c52a356d38dc2f9cfc94
Stefan Schuermans initial version, DXFs can b...

Stefan Schuermans authored 11 years ago

1) /* drawing (DXF) to G-code (NGC) converter
2)  * Copyright 2013 Stefan Schuermans <stefan@schuermans.info>
3)  * Copyleft: CC-BY-SA http://creativecommons.org/licenses/by-sa/3.0/
4)  */
5) 
6) #ifndef SETTINGS_H
7) #define SETTINGS_H
8) 
9) /// settings for creation of G-code
10) class Settings {
11) public:
Stefan Schuermans add support for cutting a l...

Stefan Schuermans authored 11 years ago

12)   /// layer mode
13)   enum LayerMode {
14)     LevelByLevel, ///< cut all paths at the each level (z), then next level
15)     PathByPath,   ///< cut each path all the way down, then next path
16)   };
17) 
Stefan Schuermans initial version, DXFs can b...

Stefan Schuermans authored 11 years ago

18)   /// set some reasonable/safe default settings
19)   Settings();
20) 
Stefan Schuermans add support for cutting a l...

Stefan Schuermans authored 11 years ago

21)   double    base_z;        ///< z coordinate of workpiece surface
22)   double    cut_z;         ///< z coordinate of maximum cutting
23)   double    cut_z_step;    ///< z coordinate delta to cut in one step, > 0.0
24)   double    dwell_time;    ///< dwell time before cutting each path (in sec)
25)   double    feed_drill;    ///< feed rate for drilling
26)   double    feed_mill;     ///< feed rate for milling
27)   LayerMode layer_mode;    ///< layer cutting mode (see LayerMode)
28)   double    move_z;        ///< z coordinate for moving
29)   double    offset_x;      ///< offset to add to X coordinate
30)   double    offset_y;      ///< offset to add to Y coordinate
31)   double    precision;     ///< precision, >= 1.0e-8 , <= 1.0
32)   double    tool_diameter; ///< diameter of cutting tool, >= 0.0