KiCad PCB EDA Suite
Loading...
Searching...
No Matches
MODEL_ALIGN::ALIGN_SOLUTION Struct Reference

#include <3d_model_align.h>

Public Attributes

glm::dvec3 rotation { 0.0 }
 GUI degrees of Rz * Ry * Rx; negate when storing in FP_3DMODEL.
 
glm::dvec3 offset { 0.0 }
 Footprint-local millimetres, Y up.
 
unsigned int matched = 0
 
unsigned int total = 0
 
SOLUTION_KIND kind = SOLUTION_KIND::FULL
 

Detailed Description

Definition at line 59 of file 3d_model_align.h.

Member Data Documentation

◆ kind

SOLUTION_KIND MODEL_ALIGN::ALIGN_SOLUTION::kind = SOLUTION_KIND::FULL

Definition at line 65 of file 3d_model_align.h.

◆ matched

unsigned int MODEL_ALIGN::ALIGN_SOLUTION::matched = 0

Definition at line 63 of file 3d_model_align.h.

◆ offset

glm::dvec3 MODEL_ALIGN::ALIGN_SOLUTION::offset { 0.0 }

Footprint-local millimetres, Y up.

Definition at line 62 of file 3d_model_align.h.

Referenced by PANEL_PREVIEW_3D_MODEL::applyAlignment().

◆ rotation

glm::dvec3 MODEL_ALIGN::ALIGN_SOLUTION::rotation { 0.0 }

GUI degrees of Rz * Ry * Rx; negate when storing in FP_3DMODEL.

Definition at line 61 of file 3d_model_align.h.

Referenced by PANEL_PREVIEW_3D_MODEL::applyAlignment().

◆ total

unsigned int MODEL_ALIGN::ALIGN_SOLUTION::total = 0

Definition at line 64 of file 3d_model_align.h.


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