jitxlib.gerber.extract package#

Populate the Gerber format model from a captured JITX RuntimeDesign.

Everything here is millimeters and degrees counter-clockwise, the units the format layer takes; there is no unit conversion anywhere in this package.

The one rule that governs every module: read the mirror off the composed transform and nowhere else. A bottom-side Placement carries its own mirror as of jitx 4.4.0, so code that applies its own side flip on top composes two mirrors. Every bottom-side component is a mirrored placement, which makes that path main-line rather than an edge case.

Submodules#