KiCad PCB EDA Suite
MODULE_3D_SETTINGS Class Reference

#include <class_module.h>

Classes

struct  VECTOR3D
 

Public Member Functions

 MODULE_3D_SETTINGS ()
 

Public Attributes

VECTOR3D m_Scale
 3D model scaling factor (dimensionless) More...
 
VECTOR3D m_Rotation
 3D model rotation (degrees) More...
 
VECTOR3D m_Offset
 3D model offset (mm) More...
 
wxString m_Filename
 The 3D shape filename in 3D library. More...
 
bool m_Preview
 Include module in 3D preview. More...
 

Detailed Description

Definition at line 80 of file class_module.h.

Constructor & Destructor Documentation

◆ MODULE_3D_SETTINGS()

MODULE_3D_SETTINGS::MODULE_3D_SETTINGS ( )
inline

Definition at line 83 of file class_module.h.

83  :
84  // Initialize with sensible values
85  m_Scale { 1, 1, 1 },
86  m_Rotation { 0, 0, 0 },
87  m_Offset { 0, 0, 0 },
88  m_Preview( true )
89  {
90  }
bool m_Preview
Include module in 3D preview.
Definition: class_module.h:101
VECTOR3D m_Offset
3D model offset (mm)
Definition: class_module.h:99
VECTOR3D m_Rotation
3D model rotation (degrees)
Definition: class_module.h:98
VECTOR3D m_Scale
3D model scaling factor (dimensionless)
Definition: class_module.h:97

Member Data Documentation

◆ m_Filename

◆ m_Offset

◆ m_Preview

◆ m_Rotation

◆ m_Scale

VECTOR3D MODULE_3D_SETTINGS::m_Scale

The documentation for this class was generated from the following file: