KiCad PCB EDA Suite
c3d_model_viewer.cpp File Reference

Implements a model viewer canvas. More...

Go to the source code of this file.

Macros

#define UNITS3D_TO_UNITSPCB   (IU_PER_MM)
 Scale convertion from 3d model units to pcb units. More...
 
#define RANGE_SCALE_3D   8.0f
 

Detailed Description

Implements a model viewer canvas.

The propose of model viewer is to render 3d models that come in the original data from the files without any transformations.

Definition in file c3d_model_viewer.cpp.

Macro Definition Documentation

#define RANGE_SCALE_3D   8.0f
#define UNITS3D_TO_UNITSPCB   (IU_PER_MM)

Scale convertion from 3d model units to pcb units.

Definition at line 45 of file c3d_model_viewer.cpp.

Referenced by C3D_MODEL_VIEWER::OnPaint().