TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::crules::LayerGeometry Struct Reference

One copper layer's line geometry from the stackup. More...

#include <crules/impedance_rules.hpp>

Public Attributes

int copper = -1
std::string layer
bool routing = true
 false for KiCad "power" (plane) layers
imp::Structure structure = imp::Structure::Microstrip
 outer: microstrip; inner: stripline
int ref_a = -1
int ref_b = -1
 reference copper layers (microstrip: ref_a only; stripline: above, below)
std::string ref_a_note
std::string ref_b_note
 "zone GND" or "no zone: assumed plane"
Coord h1 = 0
Coord h2 = 0
 dielectric to ref_a (microstrip) / to the planes above and below (stripline)
Coord t = 0
 copper thickness of this layer
double er = 0
 dielectric permittivity (stripline: series combination of both sides)
bool ok = false
std::string why
 when !ok

Detailed Description

One copper layer's line geometry from the stackup.

Definition at line 25 of file impedance_rules.hpp.

Member Data Documentation

◆ copper

int tmk::crules::LayerGeometry::copper = -1

Definition at line 26 of file impedance_rules.hpp.

◆ er

double tmk::crules::LayerGeometry::er = 0

dielectric permittivity (stripline: series combination of both sides)

Definition at line 34 of file impedance_rules.hpp.

◆ h1

Coord tmk::crules::LayerGeometry::h1 = 0

Definition at line 32 of file impedance_rules.hpp.

◆ h2

Coord tmk::crules::LayerGeometry::h2 = 0

dielectric to ref_a (microstrip) / to the planes above and below (stripline)

Definition at line 32 of file impedance_rules.hpp.

◆ layer

std::string tmk::crules::LayerGeometry::layer

Definition at line 27 of file impedance_rules.hpp.

◆ ok

bool tmk::crules::LayerGeometry::ok = false

Definition at line 35 of file impedance_rules.hpp.

◆ ref_a

int tmk::crules::LayerGeometry::ref_a = -1

Definition at line 30 of file impedance_rules.hpp.

◆ ref_a_note

std::string tmk::crules::LayerGeometry::ref_a_note

Definition at line 31 of file impedance_rules.hpp.

◆ ref_b

int tmk::crules::LayerGeometry::ref_b = -1

reference copper layers (microstrip: ref_a only; stripline: above, below)

Definition at line 30 of file impedance_rules.hpp.

◆ ref_b_note

std::string tmk::crules::LayerGeometry::ref_b_note

"zone GND" or "no zone: assumed plane"

Definition at line 31 of file impedance_rules.hpp.

◆ routing

bool tmk::crules::LayerGeometry::routing = true

false for KiCad "power" (plane) layers

Definition at line 28 of file impedance_rules.hpp.

◆ structure

imp::Structure tmk::crules::LayerGeometry::structure = imp::Structure::Microstrip

outer: microstrip; inner: stripline

Definition at line 29 of file impedance_rules.hpp.

◆ t

Coord tmk::crules::LayerGeometry::t = 0

copper thickness of this layer

Definition at line 33 of file impedance_rules.hpp.

◆ why

std::string tmk::crules::LayerGeometry::why

when !ok

Definition at line 36 of file impedance_rules.hpp.


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