code wiki / (root) / nx_pcb_drill.nx

nx_pcb_drill.nx

buildroot/runtime/nx_pcb_drill.nx

2255 B50 linesdepth 3pulls 3 transitivereach 1 importersview sourcekind librarytopic pcb
docsdependenciesstructsconstsfunctions

about

nx_pcb_drill.nx -- SOVEREIGN Excellon (NC drill) emitter: the drill half of the PCB fab package. Gerber (nx_pcb_gerber) carries copper; Excellon carries the holes -- together they are the COMPLETE manufacturable handoff a fab (or our own in-house drill/mill) needs. INTEGER-ONLY / NO-FLOAT: tool diameters + hole positions are micrometers (um), formatted to decimal mm via the SHARED g_mm6 from nx_pcb_gerber (DRY -- one formatter, one source of truth, identical rounding). Decimal coordinates are emitted explicitly so zero-suppression dialect can never corrupt a hole position. Standard structure: M48 header / FMAT,2 / METRIC / Tn C<dia> tool table / % / G90 G05 / per-tool select + X<mm>Y<mm> hits / M30. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 1 importers

nx_syscalls.nx nx_pcb_gerber.nx nx_pcb_drill.nx nx_pcb_drill_gate.nx

imports: nx_syscalls.nxnx_pcb_gerber.nx

imported by: nx_pcb_drill_gate.nx

structs

none

consts

none

functions

14func excellon_emit(
called by 1: main calls 4: sys_mmapg_putsg_putig_mm6