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 <base_units.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_NO_BOARD_BODY   "--no-board-body"
 
#define ARG_NO_COMPONENTS   "--no-components"
 
#define ARG_INCLUDE_TRACKS   "--include-tracks"
 
#define ARG_INCLUDE_PADS   "--include-pads"
 
#define ARG_INCLUDE_ZONES   "--include-zones"
 
#define ARG_INCLUDE_INNER_COPPER   "--include-inner-copper"
 
#define ARG_INCLUDE_SILKSCREEN   "--include-silkscreen"
 
#define ARG_INCLUDE_SOLDERMASK   "--include-soldermask"
 
#define ARG_FUSE_SHAPES   "--fuse-shapes"
 
#define ARG_NO_OPTIMIZE_STEP   "--no-optimize-step"
 
#define ARG_NET_FILTER   "--net-filter"
 
#define ARG_FORMAT   "--format"
 
#define ARG_VRML_UNITS   "--units"
 
#define ARG_VRML_MODELS_DIR   "--models-dir"
 
#define ARG_VRML_MODELS_RELATIVE   "--models-relative"
 
#define ARG_COMPONENT_FILTER   "--component-filter"
 
#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 40 of file command_pcb_export_3d.cpp.

◆ ARG_COMPONENT_FILTER

#define ARG_COMPONENT_FILTER   "--component-filter"

Definition at line 56 of file command_pcb_export_3d.cpp.

◆ ARG_DRILL_ORIGIN

#define ARG_DRILL_ORIGIN   "--drill-origin"

Definition at line 32 of file command_pcb_export_3d.cpp.

◆ ARG_FORCE

#define ARG_FORCE   "--force"

Definition at line 37 of file command_pcb_export_3d.cpp.

◆ ARG_FORMAT

#define ARG_FORMAT   "--format"

Definition at line 52 of file command_pcb_export_3d.cpp.

◆ ARG_FUSE_SHAPES

#define ARG_FUSE_SHAPES   "--fuse-shapes"

Definition at line 49 of file command_pcb_export_3d.cpp.

◆ ARG_GRID_ORIGIN

#define ARG_GRID_ORIGIN   "--grid-origin"

Definition at line 33 of file command_pcb_export_3d.cpp.

◆ ARG_INCLUDE_INNER_COPPER

#define ARG_INCLUDE_INNER_COPPER   "--include-inner-copper"

Definition at line 46 of file command_pcb_export_3d.cpp.

◆ ARG_INCLUDE_PADS

#define ARG_INCLUDE_PADS   "--include-pads"

Definition at line 44 of file command_pcb_export_3d.cpp.

◆ ARG_INCLUDE_SILKSCREEN

#define ARG_INCLUDE_SILKSCREEN   "--include-silkscreen"

Definition at line 47 of file command_pcb_export_3d.cpp.

◆ ARG_INCLUDE_SOLDERMASK

#define ARG_INCLUDE_SOLDERMASK   "--include-soldermask"

Definition at line 48 of file command_pcb_export_3d.cpp.

◆ ARG_INCLUDE_TRACKS

#define ARG_INCLUDE_TRACKS   "--include-tracks"

Definition at line 43 of file command_pcb_export_3d.cpp.

◆ ARG_INCLUDE_ZONES

#define ARG_INCLUDE_ZONES   "--include-zones"

Definition at line 45 of file command_pcb_export_3d.cpp.

◆ ARG_MIN_DISTANCE

#define ARG_MIN_DISTANCE   "--min-distance"

Definition at line 38 of file command_pcb_export_3d.cpp.

◆ ARG_NET_FILTER

#define ARG_NET_FILTER   "--net-filter"

Definition at line 51 of file command_pcb_export_3d.cpp.

◆ ARG_NO_BOARD_BODY

#define ARG_NO_BOARD_BODY   "--no-board-body"

Definition at line 41 of file command_pcb_export_3d.cpp.

◆ ARG_NO_COMPONENTS

#define ARG_NO_COMPONENTS   "--no-components"

Definition at line 42 of file command_pcb_export_3d.cpp.

◆ ARG_NO_DNP

#define ARG_NO_DNP   "--no-dnp"

Definition at line 35 of file command_pcb_export_3d.cpp.

◆ ARG_NO_OPTIMIZE_STEP

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

Definition at line 50 of file command_pcb_export_3d.cpp.

◆ ARG_NO_UNSPECIFIED

#define ARG_NO_UNSPECIFIED   "--no-unspecified"

Definition at line 34 of file command_pcb_export_3d.cpp.

◆ ARG_SUBST_MODELS

#define ARG_SUBST_MODELS   "--subst-models"

Definition at line 36 of file command_pcb_export_3d.cpp.

◆ ARG_USER_ORIGIN

#define ARG_USER_ORIGIN   "--user-origin"

Definition at line 39 of file command_pcb_export_3d.cpp.

◆ ARG_VRML_MODELS_DIR

#define ARG_VRML_MODELS_DIR   "--models-dir"

Definition at line 54 of file command_pcb_export_3d.cpp.

◆ ARG_VRML_MODELS_RELATIVE

#define ARG_VRML_MODELS_RELATIVE   "--models-relative"

Definition at line 55 of file command_pcb_export_3d.cpp.

◆ ARG_VRML_UNITS

#define ARG_VRML_UNITS   "--units"

Definition at line 53 of file command_pcb_export_3d.cpp.

◆ REGEX_DELIMITER

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

Definition at line 59 of file command_pcb_export_3d.cpp.

◆ REGEX_QUANTITY

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

Definition at line 58 of file command_pcb_export_3d.cpp.

◆ REGEX_UNIT

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

Definition at line 60 of file command_pcb_export_3d.cpp.