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

#include <place/problem.hpp>

Public Attributes

std::array< std::vector< Shape >, 2 > cy
 < one rotation of a part, offsets from the footprint origin
std::vector< Shape > through
 drilled holes and plated-through pad copper (obstacles on both sides)
std::vector< Shape > pads
 pad copper (for the copper-to-edge clearance)
std::vector< CopperShape > copper
 pads, footprint copper graphics/text, NPTH holes (copper clearance)
Box copper_box
 bounding box of copper
Box body
 bounding box of courtyards, through obstacles and copper
std::array< std::vector< Shape >, 2 > cy_in
 Courtyards shrunk by kEdgeTolerance: what must stay inside the board outline.
Box edge_box
 bounding box of the inset courtyards and pads inflated by the edge clearance

Detailed Description

Definition at line 37 of file problem.hpp.

Member Data Documentation

◆ body

Box tmk::place::PartGeom::body

bounding box of courtyards, through obstacles and copper

Definition at line 43 of file problem.hpp.

◆ copper

std::vector<CopperShape> tmk::place::PartGeom::copper

pads, footprint copper graphics/text, NPTH holes (copper clearance)

Definition at line 41 of file problem.hpp.

◆ copper_box

Box tmk::place::PartGeom::copper_box

bounding box of copper

Definition at line 42 of file problem.hpp.

◆ cy

std::array<std::vector<Shape>, 2> tmk::place::PartGeom::cy

< one rotation of a part, offsets from the footprint origin

courtyard polygons per side (empty = no courtyard on that side)

Definition at line 38 of file problem.hpp.

◆ cy_in

std::array<std::vector<Shape>, 2> tmk::place::PartGeom::cy_in

Courtyards shrunk by kEdgeTolerance: what must stay inside the board outline.

KiCad itself only checks pad copper against the edge (copper_edge_clearance); a courtyard may reach a little past it.

Definition at line 46 of file problem.hpp.

◆ edge_box

Box tmk::place::PartGeom::edge_box

bounding box of the inset courtyards and pads inflated by the edge clearance

Definition at line 47 of file problem.hpp.

◆ pads

std::vector<Shape> tmk::place::PartGeom::pads

pad copper (for the copper-to-edge clearance)

Definition at line 40 of file problem.hpp.

◆ through

std::vector<Shape> tmk::place::PartGeom::through

drilled holes and plated-through pad copper (obstacles on both sides)

Definition at line 39 of file problem.hpp.


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