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.

73 lines
2.2 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-2023 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 <kicommon.h>
  23. #include <wx/string.h>
  24. #include "job.h"
  25. class KICOMMON_API JOB_EXPORT_PCB_3D : public JOB
  26. {
  27. public:
  28. JOB_EXPORT_PCB_3D( bool aIsCli );
  29. enum class FORMAT
  30. {
  31. UNKNOWN, // defefer to arg
  32. STEP,
  33. BREP,
  34. GLB,
  35. VRML
  36. };
  37. enum class VRML_UNITS
  38. {
  39. INCHES,
  40. MILLIMETERS,
  41. METERS,
  42. TENTHS // inches
  43. };
  44. bool m_overwrite;
  45. bool m_useGridOrigin;
  46. bool m_useDrillOrigin;
  47. bool m_hasUserOrigin;
  48. bool m_boardOnly;
  49. bool m_includeUnspecified;
  50. bool m_includeDNP;
  51. bool m_substModels;
  52. bool m_optimizeStep;
  53. wxString m_filename;
  54. wxString m_outputFile;
  55. double m_xOrigin;
  56. double m_yOrigin;
  57. double m_BoardOutlinesChainingEpsilon;
  58. bool m_exportTracks;
  59. bool m_exportZones;
  60. JOB_EXPORT_PCB_3D::FORMAT m_format;
  61. VRML_UNITS m_vrmlUnits;
  62. wxString m_vrmlModelDir;
  63. bool m_vrmlRelativePaths;
  64. };
  65. #endif