KiCad PCB EDA Suite
Loading...
Searching...
No Matches
command_pcb_export_3d.cpp File Reference
#include "command_pcb_export_3d.h"
#include <cli/exit_codes.h>
#include <kiface_base.h>
#include <regex>
#include <string_utils.h>
#include <locale_io.h>
#include <wx/crt.h>
#include <macros.h>

Go to the source code of this file.

Macros

#define ARG_DRILL_ORIGIN   "--drill-origin"
 
#define ARG_GRID_ORIGIN   "--grid-origin"
 
#define ARG_NO_UNSPECIFIED   "--no-unspecified"
 
#define ARG_NO_DNP   "--no-dnp"
 
#define ARG_SUBST_MODELS   "--subst-models"
 
#define ARG_FORCE   "--force"
 
#define ARG_MIN_DISTANCE   "--min-distance"
 
#define ARG_USER_ORIGIN   "--user-origin"
 
#define ARG_BOARD_ONLY   "--board-only"
 
#define ARG_INCLUDE_TRACKS   "--include-tracks"
 
#define ARG_INCLUDE_ZONES   "--include-zones"
 
#define ARG_NO_OPTIMIZE_STEP   "--no-optimize-step"
 
#define ARG_FORMAT   "--format"
 
#define ARG_VRML_UNITS   "--units"
 
#define ARG_VRML_MODELS_DIR   "--models-dir"
 
#define ARG_VRML_MODELS_RELATIVE   "--models-relative"
 
#define REGEX_QUANTITY   "([\\s]*[+-]?[\\d]*[.]?[\\d]*)"
 
#define REGEX_DELIMITER   "(?:[\\s]*x)"
 
#define REGEX_UNIT   "([m]{2}|(?:in))"
 

Macro Definition Documentation

◆ ARG_BOARD_ONLY

#define ARG_BOARD_ONLY   "--board-only"

Definition at line 39 of file command_pcb_export_3d.cpp.

◆ ARG_DRILL_ORIGIN

#define ARG_DRILL_ORIGIN   "--drill-origin"

Definition at line 31 of file command_pcb_export_3d.cpp.

◆ ARG_FORCE

#define ARG_FORCE   "--force"

Definition at line 36 of file command_pcb_export_3d.cpp.

◆ ARG_FORMAT

#define ARG_FORMAT   "--format"

Definition at line 43 of file command_pcb_export_3d.cpp.

◆ ARG_GRID_ORIGIN

#define ARG_GRID_ORIGIN   "--grid-origin"

Definition at line 32 of file command_pcb_export_3d.cpp.

◆ ARG_INCLUDE_TRACKS

#define ARG_INCLUDE_TRACKS   "--include-tracks"

Definition at line 40 of file command_pcb_export_3d.cpp.

◆ ARG_INCLUDE_ZONES

#define ARG_INCLUDE_ZONES   "--include-zones"

Definition at line 41 of file command_pcb_export_3d.cpp.

◆ ARG_MIN_DISTANCE

#define ARG_MIN_DISTANCE   "--min-distance"

Definition at line 37 of file command_pcb_export_3d.cpp.

◆ ARG_NO_DNP

#define ARG_NO_DNP   "--no-dnp"

Definition at line 34 of file command_pcb_export_3d.cpp.

◆ ARG_NO_OPTIMIZE_STEP

#define ARG_NO_OPTIMIZE_STEP   "--no-optimize-step"

Definition at line 42 of file command_pcb_export_3d.cpp.

◆ ARG_NO_UNSPECIFIED

#define ARG_NO_UNSPECIFIED   "--no-unspecified"

Definition at line 33 of file command_pcb_export_3d.cpp.

◆ ARG_SUBST_MODELS

#define ARG_SUBST_MODELS   "--subst-models"

Definition at line 35 of file command_pcb_export_3d.cpp.

◆ ARG_USER_ORIGIN

#define ARG_USER_ORIGIN   "--user-origin"

Definition at line 38 of file command_pcb_export_3d.cpp.

◆ ARG_VRML_MODELS_DIR

#define ARG_VRML_MODELS_DIR   "--models-dir"

Definition at line 45 of file command_pcb_export_3d.cpp.

◆ ARG_VRML_MODELS_RELATIVE

#define ARG_VRML_MODELS_RELATIVE   "--models-relative"

Definition at line 46 of file command_pcb_export_3d.cpp.

◆ ARG_VRML_UNITS

#define ARG_VRML_UNITS   "--units"

Definition at line 44 of file command_pcb_export_3d.cpp.

◆ REGEX_DELIMITER

#define REGEX_DELIMITER   "(?:[\\s]*x)"

Definition at line 49 of file command_pcb_export_3d.cpp.

◆ REGEX_QUANTITY

#define REGEX_QUANTITY   "([\\s]*[+-]?[\\d]*[.]?[\\d]*)"

Definition at line 48 of file command_pcb_export_3d.cpp.

◆ REGEX_UNIT

#define REGEX_UNIT   "([m]{2}|(?:in))"

Definition at line 50 of file command_pcb_export_3d.cpp.