aedc34a40832e7bebe9ff13213d880d7acb17c63
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:
12)   /// set some reasonable/safe default settings
13)   Settings();
14) 
15)   double base_z;        ///< z coordinate of workpiece surface
16)   double cut_z;         ///< z coordinate of maximum cutting
17)   double cut_z_step;    ///< z coordinate difference to cut in one step, > 0.0
18)   double feed_drill;    ///< feed rate for drilling
19)   double feed_mill;     ///< feed rate for milling
20)   double move_z;        ///< z coordinate for moving
Stefan Schuermans add support for offset in x...

Stefan Schuermans authored 11 years ago

21)   double offset_x;      ///< offset to add to X coordinate
22)   double offset_y;      ///< offset to add to Y coordinate
Stefan Schuermans configuration of precision

Stefan Schuermans authored 11 years ago

23)   double precision;     ///< precision, >= 1.0e-8 , <= 1.0