You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.8 KiB

  1. /*
  2. * This program source code file is part of KiCad, a free EDA CAD application.
  3. *
  4. * Copyright (C) 2022 Mark Roszko <mark.roszko@gmail.com>
  5. * Copyright (C) 1992-2022 KiCad Developers, see AUTHORS.txt for contributors.
  6. *
  7. * This program is free software: you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation, either version 3 of the License, or (at your
  10. * option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License along
  18. * with this program. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. #ifndef JOB_EXPORT_STEP_H
  21. #define JOB_EXPORT_STEP_H
  22. #include <wx/string.h>
  23. #include "job.h"
  24. class JOB_EXPORT_PCB_STEP : public JOB
  25. {
  26. public:
  27. JOB_EXPORT_PCB_STEP( bool aIsCli ) :
  28. JOB( "step", aIsCli ),
  29. m_overwrite( false ),
  30. m_useGridOrigin( false ),
  31. m_useDrillOrigin( false ),
  32. m_boardOnly( false ),
  33. m_includeExcludedBom( false ),
  34. m_substModels( false ),
  35. m_filename(),
  36. m_outputFile(),
  37. m_xOrigin( 0.0 ),
  38. m_yOrigin( 0.0 ),
  39. m_minDistance( 0.01 ) // 0.01 mm is a good value to connect 2 items of the board outlines
  40. {
  41. }
  42. bool m_overwrite;
  43. bool m_useGridOrigin;
  44. bool m_useDrillOrigin;
  45. bool m_boardOnly;
  46. bool m_includeExcludedBom;
  47. bool m_substModels;
  48. wxString m_filename;
  49. wxString m_outputFile;
  50. double m_xOrigin;
  51. double m_yOrigin;
  52. double m_minDistance;
  53. };
  54. #endif