KiCad PCB EDA Suite
eda_3d_model_viewer.cpp File Reference
#include <iostream>
#include "3d_rendering/opengl/3d_model.h"
#include "eda_3d_model_viewer.h"
#include "../3d_rendering/opengl/opengl_utils.h"
#include "../3d_cache/3d_cache.h"
#include <wx/dcclient.h>
#include <base_units.h>
#include <gl_context_mgr.h>
#include <settings/common_settings.h>
#include <pgm_base.h>
#include <gal/dpi_scaling.h>

Go to the source code of this file.

Macros

#define UNITS3D_TO_UNITSPCB   (IU_PER_MM)
 Implements a model viewer canvas. More...
 
#define RANGE_SCALE_3D   8.0f
 

Macro Definition Documentation

◆ RANGE_SCALE_3D

#define RANGE_SCALE_3D   8.0f

Definition at line 82 of file eda_3d_model_viewer.cpp.

◆ UNITS3D_TO_UNITSPCB

#define UNITS3D_TO_UNITSPCB   (IU_PER_MM)

Implements a model viewer canvas.

The purpose of the model viewer is to render 3d models that come in the original data from the files without any transformations.Scale conversion from 3d model units to pcb units

Definition at line 45 of file eda_3d_model_viewer.cpp.