34 if( !j.is_array() || j.size() != 3 )
35 throw std::invalid_argument(
"JSON array size should be 3 for VECTOR3D" );
138 return _(
"Render PCB Job Settings" );
VECTOR3D m_lightBottomIntensity
VECTOR3D m_lightTopIntensity
wxString GetDefaultDescription() const override
static std::map< JOB_PCB_RENDER::FORMAT, wxString > & GetFormatNameMap()
VECTOR3D m_lightCameraIntensity
bool m_proceduralTextures
wxString GetSettingsDialogTitle() const override
bool m_useBoardStackupColors
VECTOR3D m_lightSideIntensity
std::string m_appearancePreset
std::vector< JOB_PARAM_BASE * > m_params
JOB(const std::string &aType, bool aOutputIsDirectory)
Some functions to handle hotkeys in KiCad.
std::map< JOB_PCB_RENDER::FORMAT, wxString > outputFormatNameMap
NLOHMANN_JSON_SERIALIZE_ENUM(JOB_PCB_RENDER::FORMAT, { { JOB_PCB_RENDER::FORMAT::JPEG, "jpeg" }, { JOB_PCB_RENDER::FORMAT::PNG, "png" } }) NLOHMANN_JSON_SERIALIZE_ENUM(JOB_PCB_RENDER
#define REGISTER_JOB(job_name, title, face, T)
static void to_json(json &j, const VECTOR3D &s)
static void from_json(const json &j, VECTOR3D &s)
VECTOR3< double > VECTOR3D