BlinkenArea - GitList
Repositories
Blog
Wiki
dxfngc
Code
Commits
Branches
Tags
Search
Tree:
3f2ac59
Branches
Tags
master
dxfngc
src
settings.h
add support for cutting a layer path-by-path (i.e. each path all the way down, then next path)
Stefan Schuermans
commited
3f2ac59
at 2013-04-22 20:33:49
settings.h
Blame
History
Raw
/* drawing (DXF) to G-code (NGC) converter * Copyright 2013 Stefan Schuermans <stefan@schuermans.info> * Copyleft: CC-BY-SA http://creativecommons.org/licenses/by-sa/3.0/ */ #ifndef SETTINGS_H #define SETTINGS_H /// settings for creation of G-code class Settings { public: /// layer mode enum LayerMode { LevelByLevel, ///< cut all paths at the each level (z), then next level PathByPath, ///< cut each path all the way down, then next path }; /// set some reasonable/safe default settings Settings(); double base_z; ///< z coordinate of workpiece surface double cut_z; ///< z coordinate of maximum cutting double cut_z_step; ///< z coordinate delta to cut in one step, > 0.0 double dwell_time; ///< dwell time before cutting each path (in sec) double feed_drill; ///< feed rate for drilling double feed_mill; ///< feed rate for milling LayerMode layer_mode; ///< layer cutting mode (see LayerMode) double move_z; ///< z coordinate for moving double offset_x; ///< offset to add to X coordinate double offset_y; ///< offset to add to Y coordinate double precision; ///< precision, >= 1.0e-8 , <= 1.0 double tool_diameter; ///< diameter of cutting tool, >= 0.0 }; #endif // #ifndef SETTINGS_H