On This Page (16)
- Highlights
- Breaking Changes & Migration
- Schematic Rendering (GOTIR Removed → Paint IR A0)
- PCB & Footprint SVG (PcbSvgRenderer Removed → Fab)
- Other Python API Breaking Changes & Deprecations
- AltiumDesign, Compiled Design C0 & Compiler Changes
- altium-cruncher (acr) CLI & Config Breaking Changes
- New Features
- Virtual Fab Layers & Mechanical-Layer Baking
- Unified Fab, FabView & PCB Fonts
- PCB Layers (PcbLayerContext), Authoring, Barcodes & Panelization
- Schematic Paint IR A0 & Compiled Design C0
- Altium Cruncher CLI (acr)
- Multi-Board Systems (Experimental, Read-Only)
- Bug Fixes & Public Issue Resolutions
- Dependencies & Supported Environments
altium-monkey 2026.11.26 Release Notes
Package version: 2026.11.26
Release codename: gobblerito
This release marks the first major subsystem overhaul of altium-monkey and its companion CLI altium-cruncher (acr), replacing the legacy schematic GOTIR and PCB SVG pipelines with Schematic Paint IR A0 and the unified Fab / FabView manufacturing architecture, adding all 17 Virtual Fab Layers (cutouts, Pin 1/polarity, diodes/LEDs, capacitors, inductors, resistors, 3D STEP HLR outlines, designators, and pad labels) plus mechanical-layer baking (acr vdoc), introducing a pure-Python Micro-STEP engine, Monkey Change Orders (acr mco), Checked Compilation C0, PcbLayerContext, and experimental read-only Multi-Board Systems support.
Highlights
- 17 Virtual Fab Layers & Mechanical-Layer Baking (
acr vdoc): Added board-derived virtual fabrication and assembly artwork across Gerber X2, IPC-2581B, PCB &.PcbLibfootprint SVGs, and native Altium mechanical-layer baking — spanning Cutouts (auto-unioned overlapping cutouts with hatching and labels), Pin 1 & Polarity (dot/square/pad/pin_label+ geometric knockout + 2-pin crystal exclusion), Diodes & LEDs (color-coded LEDs, SchottkyS-bar, Zener, TVS), Capacitors, Inductors, Resistors (zigzag & box), 3D STEP HLR Assembly Outlines, Assembly Designators, and Pad Designator Labels (PAD_LABELS_TOP/BOTTOM, stroke/TrueType + counter-preserving geometric knockout +pad/orthogonal/uprightorientation), with assembly-variant DNP awareness (dnp_mode="omit"default or"crossout"dimmed dashed outline + redX), backed bybake_virtual_layers_to_pcbdoc,bake_virtual_layers_to_pcblib,detect_mechanical_layer_collisions, and turnkeyacr vdoc(vdoc.jsonc, safeMECHANICAL35..51defaults). See Virtual Fab Layers. - Schematic Paint IR A0 & 14–16× Graphics Acceleration: All
.SchDoc,.SchLib, physical-page, and record rendering now lowers throughSchPaintIR(altium_monkey.sch_paint_ir.a0), adding direct PNG rasterization (to_paint_png,SchPaintPngRenderer), explicit static vs. editor views (SchPaintView), automatic junction styling (SchJunctionColors,auto_junctions_on_top), Never-Stop resilience, and 14–16× faster schematic graphics preparation on real multi-sheet designs. See Schematic Rendering & Paint IR. - Unified Fab & FabView Manufacturing Layer:
board.fab(...)andFabViewnormalize a.PcbDoconce and lower it to Gerber X2/X1 (to_gerbers), NC drill (to_nc_drill), IPC-2581B (to_ipc2581), Pick and Place (to_pnp), PCB BOM (to_bom), and board/layer/footprint SVGs (to_svg,to_layer_svgs) in memory viaFabOutput, backed by the Altium Output Differences (AOD) register. See Fab & FabView. - Canonical PCB Layer Context (
pcbdoc.layers()): AddedPcbLayerContext(pcbdoc.layers(),pcblib.layers(),footprint.layers()) andboard_stack_declaration_evidence()unifying V6/V7/V8/V9/StackupX layers, rigid-flex regions, nanometre Z envelopes, drill pairs, and via spans (withResolvedLayerStacknow deprecated). See PCB Layers & Stackups. - Pure-Python Micro-STEP AP242/AP214 Engine (
acr pcb-layer-step&acr mate): Replaced heavy 3D B-rep boolean paths inpcb-layer-stepandmatewith a pure-Python analytic Micro-STEP AP242/AP214 writer emitting exact arcs, circles, and annuli with STEP assembly instancing, fast 2D drill cutting, and optional region fusion — eliminating OCCT timeouts on dense boards. - Dedicated Monkey Change Orders (
acr mco, 38 Typed Operations): Added JSONC CAD automation across 38 TypeSpec-validated operations (file.*,mco.*,project.*,schdoc.*,schlib.*,pcbdoc.*,pcblib.*) with run-scoped document caching,--dry-runpreflight,on_failcontrol flow, and JSON execution reports (--json/--json-output). See Monkey Change Orders. - Unified CLI Experience, Multi-Board
acr dr&acr jlcLCSC Check: Standardized colorized console tables, spinners, and summary banners acrossaltium-cruncher, added a categorized command help overview on unknown subcommands, updated BOM defaults, added a colorized missing-JLCPCB-Part-# terminal table toacr jlc, and expandedacr dr(design-review) with full multi-board.PrjMbdreview bundles. See CLI Guides. - Checked Compilation C0 & Compiled Schematic Graph B0: New top-level
AltiumCompilation(altium_monkey.compilation.c0) andAltiumCompiledView(altium_monkey.compiled_view.c0) surfaces introduce recursive electrical membership (structural_graph.c0with Net Tienet_bridges/bridged_groups),compiled_schematic_graph.b0, authored field-impact tracing, and live Paint IR occurrence bindings (paint_bindings.c0), while keeping existingAltiumDesign.to_json()(design.b0+compiled_schematic_graph.a0) schema-stable. See AltiumDesign & Compiled Design. - Embedded Board Arrays, 1D/2D Barcodes & PCB Font Reports: Added typed
EmbeddedBoards6parsing and mil-based panel authoring (add_embedded_board_array), end-to-endQR_CODE/DATA_MATRIX/ Code 39 (AOD-011) / Code 128 fabrication rendering, and cross-platform PCB TrueType font resolution viaboard.fab(fonts={...})andfab.view().fonts(). See Fonts. - Altium Multi-Board Systems (Experimental, Read-Only): Added read-only support across 5 new submodules (
AltiumPrjMbd,AltiumMbsDoc,AltiumMultiboardProject,MbsSystemNetlist, andAltiumSystem) for.PrjMbdmanifests,.MbsDocv1/v2 graphs, cross-board system netlists, and unified C0 system compilation. See Multi-Board Systems. - Documentation & Release Notes Overhaul: Release notes are now split per version under
docs/releases/, andtools/build_docs.pybuilds a dependency-free static HTML docs site with Amber and Light themes, Altium Stroke webfonts, an interactive Examples Showcase, a vector pan/zoom SVG viewer, per-command CLI docs (39 commands), an auto-generated Python API Reference, and a filterable AOD register.
Breaking Changes & Migration
Schematic Rendering (GOTIR Removed → Paint IR A0)
The legacy schematic Geometry Operation Tree IR (GOTIR) producer, renderer, schemas, context options, and transitional *_to_paint_svg methods have been removed with no compatibility aliases:
Removed (2026.9.22) | Replacement (2026.11.26) |
|---|---|
AltiumSchDoc.to_ir(...) / .to_geometry(...) | AltiumSchDoc.to_paint_ir(...) |
AltiumSchLib.symbol_to_ir(...) | AltiumSchLib.symbol_to_paint_ir(...) |
AltiumDesign.to_physical_ir(page_ref) | AltiumDesign.to_physical_paint_ir(page_ref) |
*.to_paint_svg(...) (SchDoc, SchLib, Design, records) | to_svg(...) / symbol_to_svg(...) / to_physical_svg(...) |
Record .to_geometry(...) | Record .to_paint_ir(SchPaintContext) |
Record .to_svg(...) returning fragment list | Record .to_svg(ctx, svg_options=...) returning SVG str |
SchSvgRenderOptions / SchSvgRenderContext | SchPaintSvgOptions / SchPaintView / SchPaintContext |
SchJunctionZOrder | SchPaintView(..., auto_junctions_on_top=True) |
SchPaintColorMode / SchCompileMaskRenderMode | Removed |
SCH_GEOMETRY_IR_SCHEMASCH_GEOMETRY_ORACLE_SCHEMAvalidate_sch_geometry_ir_payload | SchPaintIR (altium_monkey.sch_paint_ir.a0) |
symbol_to_svg(..., pin_text_follows_orientation=...) | Parameter removed |
Behavioral changes to note when upgrading:
embed_bundled_fallback_fonts=Trueis unsupported: PassingSchPaintSvgOptions(embed_bundled_fallback_fonts=True)raisesSchPaintRenderError. UseSchPaintSvgOptions(text_mode="paths")when you need a self-contained SVG that renders identically without host fonts.scale=1.0required on SchDoc and physical SVG:AltiumSchDoc.to_svgandAltiumDesign.to_physical_svgcurrently requirescale=1.0.- Conflicting
wrap_componentsrejected: Passingwrap_components=Truealongside an explicitoptions=SchPaintSvgOptions(wrap_components=False)now raisesValueError. - SVG DOM metadata: Default Paint IR SVG omits legacy root
data-doc-id/data-doc-verwrapper attributes. UseSchPaintSvgOptions(include_group_metadata=True, wrap_components=True)and correlate semantic identity through the Design/Compilation JSON sidecar.
# Before (2026.9.22)
from altium_monkey import AltiumSchDoc, SchSvgRenderOptions
svg = AltiumSchDoc("sheet.SchDoc").to_svg(
options=SchSvgRenderOptions(embed_bundled_fallback_fonts=True)
)
# After (2026.11.26)
from altium_monkey import AltiumSchDoc, SchPaintSvgOptions
svg = AltiumSchDoc("sheet.SchDoc").to_svg(
options=SchPaintSvgOptions(text_mode="paths")
)PCB & Footprint SVG (PcbSvgRenderer Removed → Fab)
PcbSvgRenderer, PcbSvgRenderOptions, PcbSvgRenderContext, AltiumPcbDoc.to_board_outline_svg(...), AltiumPcbDoc.to_surface_svg(...), the altium_pcb_surface helpers (PCB_SurfaceSide, PCB_SurfaceRole, pcb_surface_layer, pcb_surface_layers, DEFAULT_PCB_SURFACE_ROLES), per-record PCB primitive .to_svg(...) methods (across AltiumPcbArc, Fill, Pad, Polygon, Region, ShapeBasedRegion, Text, Track, Via), and the legacy standalone IPC-2581 / Fab probe helpers (export_ipc2581, write_ipc2581, PcbFabOutputContext, PcbFabOutputProfile, PcbFabView) have been removed. Board and footprint SVG methods now lower from FabView and return a FabOutput mapping:
Removed / Changed (2026.9.22) | Replacement (2026.11.26) |
|---|---|
board.to_svg(options=PcbSvgRenderOptions(...)) → str | board.to_svg(**options) → FabOutput (SVG text via ["board.svg"].text) |
board.to_layer_svgs(options=...) → dict[str, str] | board.to_layer_svgs(**options) → FabOutput (<KEY>.svg, DRILLS.svg) |
board.to_board_outline_svg(...) | board.to_svg(layers=["PROFILE"])or board.to_layer_svgs(layers=["PROFILE"]) |
board.to_surface_svg(side, ...) | board.to_svg(layers=(...), mirror=...) |
footprint.to_svg(...) → str | footprint.to_svg(**options) → FabOutput (SVG text via ["board.svg"].text) |
footprint.to_layer_svgs(...) → dict[str, str] | footprint.to_layer_svgs(**options) → FabOutput |
export_ipc2581 / write_ipc2581 | board.fab(...).to_ipc2581(...) / board.to_ipc2581(...) |
Option migration from PcbSvgRenderOptions / to_svg arguments to SvgOptions and ContextOptions keywords:
| Old field / argument | Replacement keyword |
|---|---|
visible_layers / layer_render_order | layers (ordered layer keys; "PROFILE" for outline, "DRILLS" for holes) |
layer_colors | layer_colours (dict keyed by layer key) |
all_layers_color_override / layer_svg_color_override | layer_colours={k: colour for k in ...} |
respect_component_text_visibility (True / False) | hidden_component_texts ("omit" default / "draw") |
show_board_outline / board_outline_color | "PROFILE" in layers / layer_colours["PROFILE"] |
include_metadata / include_render_layer_metadata (default True) | metadata=True (default is now False; emits data-kind/data-id/data-net/data-source) |
svg_display_scale | scale |
clip_copper_to_board_outline / clip_all_layers_to_board_outline | clip_to_outline |
clip_holes_from_copper | clip_holes |
mirror_x | mirror |
| Pad designator / origin datum overlays | annotations=[{"kind": "pad_labels"}, {"kind": "origin_marker"}] |
project_parameters (to_svg arg / PcbSvgRenderContext) | parameters |
Dropped PcbSvgRenderOptions fields with no direct SvgOptions equivalent: stage, group_mode, precision, svg_size_unit, include_view_box, include_polygon_definition_overlays, show_empty_layers, text_as_polygons, allow_text_geometry_fallback, board_cutout_color, polygon_overlay_color, drill_hole_* overlay styling fields, footprint_rule_mask_expansion_zero, and legacy pad_designator_* / origin_datum_* sub-fields.
Other Python API Breaking Changes & Deprecations
ResolvedLayerStackdeprecated (DeprecationWarning):resolved_layer_stack_from_pcbdoc(...),resolved_layer_stack_from_board(...), andAltiumLayerStackDocument.to_resolved_layer_stack(...)now emitDeprecationWarning. Migrate topcbdoc.layers(),pcblib.layers(), andfootprint.layers()returningPcbLayerContext(altium_monkey.altium_pcb_layer_context).AltiumPcbComponentvisibility properties: RemovedAltiumPcbComponent.designator_onandAltiumPcbComponent.value_on;AltiumPcbComponent.comment_onnow defaults toFalse(wasTrue) whenCOMMENTONis absent, matching Altium.- PCB text baseline parameter removed: Removed
truetype_frame_ink_baseline_centerfromrender_pcb_text(...)andframe_ink_baseline_centerfromTrueTypeTextRenderer.render(...). include_non_polarizedsuperseded byvisibility_mode: OnCapacitorLayerOptions,InductorLayerOptions, andvirtual_layersJSONC configs, prefervisibility_mode="polarized_only" | "all" | "explicit"(legacyinclude_non_polarizedremains bridged for compatibility).
AltiumDesign, Compiled Design C0 & Compiler Changes
AltiumDesign.to_json() still emits altium_monkey.design.b0 with embedded altium_monkey.compiled_schematic_graph.a0 and altium_monkey.schematic_hierarchy.a1, and all 2026.9.22 schema files remain byte-for-byte unchanged in 2026.11.26. Note that compiled_schematic_graph.b0 is a narrower C0 source-incidence sub-schema inside CompiledViewC0 (not a drop-in v2 of a0 — electrical topology lives in structural_graph.c0 and drawing links live in paint_bindings.c0).
Planned Removal Warning (
2026.12.25/ "santy claws"):AltiumDesign.to_json()(altium_monkey.design.b0) andAltiumCompiledSchematicGraph(altium_monkey.compiled_schematic_graph.a0) are retained in2026.11.26as a compatibility surface and will be removed in the next release (targeting2026.12.25, codename "santy claws"). New and migrating consumers should targetAltiumCompilation.from_file()(altium_monkey.compilation.c0) andAltiumCompiledView(altium_monkey.compiled_view.c0).
Upgraders should also note these behavioral changes:
AltiumDesign.to_physical_irremoved: UseAltiumDesign.to_physical_paint_ir(page_occurrence_ref, ...)(andAltiumDesign.to_logical_paint_ir(schdoc, ...)for project-context logical sheets).AltiumDesign.to_physical_svg(...)now renders through Paint IR and takesoptions: SchPaintSvgOptions | None.AltiumDesign.to_pnp()backed byFabView:- Embedded board panel copies are now expanded and listed under their child board designators.
- Project variant Not-Fitted filtering now matches by component
UniqueId(was by designator), and variant parameter overrides apply by designator. - Rotations format to
0.001degrees and positions derive from whole nanometres (millimetre values are unchanged; mil values on half a board unit may round differently at the 4th decimal place).
AltiumDesign.to_bom(use_pcb_data=True)backed byFabView:valueis now the component's comment Text (falling back toValue/Commentparameters),descriptionuses the component's own description under the variant, and blank-designator parts are included.- Variant fitting and parameter variations match by component
UniqueId(not designator alone) and no longer mutatefootprint. The default compiled-schematic BOM (use_pcb_data=False) is unchanged.
- Project parameters exclude variant sections:
AltiumPrjPcb.parameters,get_parameter, andAltiumDesign.get_pcb_project_parameters()no longer mix[ParameterV_N]variant sections into project parameters, read*as empty, and resolve case-insensitive duplicates with first-spelling / last-value-wins. Variantparametersnow come from[ParameterV_N]sections instead of unused inlineParameterN=keys. - Strict variant row admission: Only variation rows with all four ordered fields (
Designator=,UniqueId=,Kind=,AlternatePart=) and a non-blankUniqueIdare admitted into Design DNP and compiled variants (matching Altium). Malformed or blank-UID rows emit compile warnings (variation_row_malformed,variation_row_without_unique_id). Raw rows remain invariants[name]["variations"]; admitted rows are exposed viaadmitted_variationsandadmitted_DNP. - Canonical IDs and net counts on legacy / edge-case schematics:
- Documents follow Altium's UniqueID resolution (
DocumentUniqueId→ sheetUniqueID→ path-derived ID), and schematic objects with no stored UniqueID are keyed deterministically by file slot (slot:<stream>:<index>). Canonical component, terminal, and net IDs may change for projects whose project and sheet UniqueIDs differed. - Hidden pins with no
HiddenNetNameno longer create 1-pin nets (matching Altium); they remain terminals in no net. - Pinless nets (lone power ports, labels on lone wires, unconnected ports) now compile as 0-member nets, matching Altium.
- Documents follow Altium's UniqueID resolution (
SchematicContractLimitsdefaults uncapped: Count and byte ceilings now default to2^63 - 1(matching Altium; recursion depth stays128). Callers may still lower any limit explicitly.
altium-cruncher (acr) CLI & Config Breaking Changes
acr design/acr design-review/acr drbundle overhaul: Replaced the legacydesign_review_manifest.json+design.b0bundle with thed0review bundle (review_summary.json,compilation.json,bom.csv,notes.json, schematic SVGs +layout.json, PCB summaries + copper SVGs, and.PrjMbdmultiboard support). Removed--no-indexes; pass--include-source-docsto include raw source copies.acr sch-iroutput changed: Now emits<stem>.paint-ir.json(Paint IR A0) instead of<stem>.gotir.json(GOTIR).acr sch-svglayout & manifest updated (b0→c0): Now writescompilation.json,schematic_svg_report.json, andaltium_cruncher.schematic_svg_manifest.c0instead ofdesign.b0and theb0manifest.acr pcb-svg&pcb.svg.configchanges:- Removed
--svg-size-unit/--pcb-svg-size-unitflags andglobal.svg_size_unit. styles.assembly_hlrnow requiresprojection_algorithm: "fast"("poly"/"exact"removed) andoutline_algorithm: "fast-mesh-shadow" | "mesh-shadow"("hlr-close"removed); removed legacy keyscurve_mode,samples_per_curve,include_visible, andinclude_outline.- Layer token
"CUTOUTS"now resolves to the FabView virtual layerCUTOUTS(distinct from"BOARD_CUTOUTS", while"CUTOUT"still aliases"BOARD_CUTOUTS").
- Removed
acr bomdefault ordering: Default grouped columns changed from["mfg", "mpn", "description", "quantity", "designators"]to["quantity", "designators", "mfg", "mpn", "description"], and defaultdnp_placementchanged from"inline"to"end".acr fabdefault Gerber format: Emits Gerber X2 by default (pass--x1for Gerber X1).
New Features
Virtual Fab Layers & Mechanical-Layer Baking
All 17 canonical virtual layer keys share one geometry engine across Gerber X2 (OtherDrawing positive films), IPC-2581B (DOCUMENT / ASSEMBLY layers outside <StackupGroup>), PCB & .PcbLib footprint SVGs (shaded with contrast halos or monochrome), view.virtual_layer(key, options) (VirtualLayerResult / .to_fab_layer_items()), and mechanical-layer baking. See Virtual Fab Layers.
- Board Cutouts (
CUTOUTS,.GCU):CutoutLayerOptionswith arc-preserving outlines, automatic boolean unioning of overlapping/touching cutouts, clipped 45° vector hatching (hatch,hatch_angle_deg,hatch_pitch_mm), cleared hatch windows with fitted"CUTOUT"labels (even on concave L/T/U/C and diagonal slots), and direct.GMboard-profile overlay (on_profile=True/to_gerbers(profile_cutouts=True)). - Pin 1 & Polarity (
PIN1_TOP/PIN1_BOTTOM,.GP1T/.GP1B; aliasesPOLARITY_TOP/POLARITY_BOTTOM,PIN_1_TOP/PIN_1_BOTTOM):Pin1LayerOptions/Pin1Overridewith four styles ("dot","square","pad","pin_label"), BGA/LGAgrid_pad_fill, pure geometricknockout=True(boolean difference against the copper pad polygon preserving counter islandsA/0/8/B), diodeA/Klabels (diode_ak_labels), polarized capacitor+/-labels (cap_polarity_labels), polarized inductor dots (inductor_polarity_markers), and 2-pin crystal exclusion (exclude_two_pin_prefixes=("X", "Y")). - Diodes & LEDs (
DIODES_TOP/DIODES_BOTTOM,.GDT/.GDB):DiodeLayerOptions/DiodeOverriderendering pad-to-padnormal,led,schottky(slim openedS-bar),zener, andtvsglyphs with LED emission rays and automatic color-coded LED shading (DIODE_COLORor part metadata). - Capacitors (
CAPACITORS_TOP/CAPACITORS_BOTTOM,.GCT/.GCB):CapacitorLayerOptions/CapacitorOverriderendering pad-center-scaled polarized (flat positive / curved negative ++sign) and non-polarized parallel-plate symbols (visibility_mode="polarized_only" | "all" | "explicit"). - Inductors (
INDUCTORS_TOP/INDUCTORS_BOTTOM,.GLT/.GLB):InductorLayerOptions/InductorOverriderendering pad-center-scaled 4-lobe semicircular coils with consistent upward/rightward hump orientation and a winding-start polarity dot positioned above the polarity pin. - Resistors (
RESISTORS_TOP/RESISTORS_BOTTOM,.GRT/.GRB):ResistorLayerOptions/ResistorOverriderendering pad-center-scaled IEEE 6-peak"zigzag"and IEC rectangular"box"symbols. - 3D STEP HLR Assembly Outlines (
ASSEMBLY_OUTLINES_TOP/BOTTOM,.GAT/.GAB):AssemblyOutlineLayerOptions/AssemblyOutlineOverridepowered by Geometer Fast HLR ("simple","detail","bounding_box"), graceful STEP → extruded body → single-pad → bounding-box fallbacks, model deduplication, persistentAssemblyHlrCache, andprogresscallbacks. - Assembly Designators (
ASSEMBLY_DESIGNATORS_TOP/BOTTOM,.GADT/.GADB):AssemblyDesignatorLayerOptionsauto-fitting reference designators inside component outlines with board-cutout subtraction, optimal0°/+90°rotation, and bottom-side X mirroring. - Pad Designator Labels (
PAD_LABELS_TOP/PAD_LABELS_BOTTOM,.GPLT/.GPLB):PadLabelLayerOptionsfitting pad designators inside copper pad lands across both.PcbDocboards and.PcbLibfootprint_views, with stroke or TrueType fonts, configurableorientation("pad","orthogonal"0°/90°, or"upright"always-0°), counter-preserving geometricknockout=True, and mechanical/through-hole pad filters. - Orthogonal Visibility & Mechanical-Layer Baking:
ComponentVisibilityPolicy/ComponentVisibilityOverrideunify visibility precedence across all 8 component-scoped families (and share one"virtual_layers"JSONC sub-struct acrossfab.jsonc,vdoc.jsonc,pcb.svg.config,acr toon,acr dr, and MCO). Core baking APIsbake_virtual_layers_to_pcbdoc,bake_virtual_layers_to_pcblib, anddetect_mechanical_layer_collisions(BakeVirtualLayersOptions) write virtual artwork onto Altium mechanical layers with component ownership, idempotent clear/re-bake (clear_existing,clear_only,remove_cleared_layers),Virtual_Cutouts/Virtual_Designators_<ref>User Unions, readable layer names, and self-healing mirror pairs.
Unified Fab, FabView & PCB Fonts
board.fab(...)returningFabwith shared board draw caching acrossto_gerbers(),to_nc_drill(),to_ipc2581(),to_pnp(),to_bom(),to_svg(),to_layer_svgs(), andview(), plus one-call shortcuts onAltiumPcbDoc.FabOutput,FabFile(encoding-aware.text: UTF-8 by default,cp1252for Pick & Place / BOM CSVs), andFabOmittedin-memory results with safewrite(directory, overwrite=False)and structureddiagnostics.to_gerbers()selective film toggles (keepout,profile,pad_masters,drill_guide,drill_drawing,mechanical_layers), dual-key customextensions,virtual_layers,profile_cutouts, and strict Ucamco 2026.05 compliance.FabViewquery surface withto_json()/FabView.from_json(data)/FabView.from_file(path)round-trip support,fab_step_model_bytes,fab_model_bytes,find_board_project, and SVGannotations(pad_labels,origin_marker).- Cross-platform PCB TrueType font resolution via
board.fab(fonts={...})(policy="altium" | "embedded_first",files,folders,standard_only),fab.view().fonts()(PcbFontReport,PcbFontUse,PcbFontDiagnostic), andInstalledFonts. See Fonts.
PCB Layers (PcbLayerContext), Authoring, Barcodes & Panelization
- Canonical Layer Context:
pcbdoc.layers(),pcblib.layers(), andfootprint.layers()returnPcbLayerContextunifying V6/V7/V8/V9/StackupX layers, rigid-flexboard_regions/region_at/substack_at/surface_layers, integer-nanometreenvelope()Z stacks,drill_pairs, andvia_span/via_span_of, alongside read-onlypcbdoc.board_stack_declaration_evidence(). See PCB Layers & Stackups. - 1D & 2D PCB Barcodes:
PcbBarcodeKind.QR_CODE(2) andPcbBarcodeKind.DATA_MATRIX(3) end-to-end inAltiumPcbDoc.add_text,AltiumPcbFootprint.add_text,PcbDocBuilder.add_text,render_pcb_text, andFabView; Code 39 emits ISO/IEC 16388'H'/'h'(AOD-011); Code 128 removes the 80-character cap and fixes Code A/B switching;BY_FULL_WIDTHrounds half-to-even; andBarcodeRenderer/render_pcb_textacceptfont_policyandinstalled_fonts. - Embedded Board Arrays & Panelization: Altium-faithful
EmbeddedBoards6section loading (embedded_board_section_diagnostics,UNICODE__DOCUMENTPATH), typedPcbEmbeddedBoardSource/interpret_embedded_boards/PcbEmbeddedBoardOriginMode(0=BOARD_ORIGIN,1=BOTTOM_LEFT), mil-based authoring viaAltiumPcbDoc.add_embedded_board_array(...), and unifiedFabViewpanel flattening andStepRepeatemission across all manufacturing outputs. - Additional PCB Authoring & Structural Contracts:
PcbDocBuilder.add_component(..., component_kind=...), idempotent/self-healingset_mechanical_layer_pair, via controls (tents_by_rule=False,drill_layer_pair_type), custom pad mask shapes (PcbPadMaskShapeSlot), counterhole/countersink modeling, bend-line framing, via-pattern unions,FileVersionInfo(decode_file_version_info), placement occurrence helpers (PcbPlacedComponent,PcbPadOccurrence,PcbMemberOccurrence),AltiumLayerPairSpan,PcbUnlinkedCustomPadBody, and versioned structural JSON codecs (PCBDOC_STRUCTURAL_SCHEMA,PCBLIB_STRUCTURAL_SCHEMA).
Schematic Paint IR A0 & Compiled Design C0
- Schematic Paint IR A0:
SchPaintIR,SchPaintView(static_scene(),editor()),SchPaintContext,SchPaintSvgOptions,SchPaintSvgRenderer,SchPaintPngOptions,SchPaintPngRenderer,SchJunctionColors, Never-Stop error tolerance,CompileMaskvisual parity, and 14–16× faster schematic graphics preparation on.SchDoc,.SchLib, and compiled physical pages (to_paint_ir,to_paint_ir_report,to_paint_png,symbol_to_paint_ir,symbol_to_paint_png,to_logical_paint_ir,to_physical_paint_ir). - Compiled Design C0 & Schematic Graph B0: Public
AltiumCompilation(altium_monkey.compilation.c0) andAltiumCompiledView(altium_monkey.compiled_view.c0) with checked JSON round-tripping, shared recursiveAltiumStructuralGraph(structural_graph.c0with Net Tienet_bridges/bridged_groups),compiled_schematic_graph.b0(pages, authoredfields,source_bindings,naming_gaps,issues), live Paint IR bindings (paint_bindings.c0viaschematic_graphics/schematic_graphics_with_options), checked source/net query contracts, and 12 newly published C0/B0 JSON Schemas + TypeSpec definitions (plussch_paint_ir_a0) under JSON Schemas & TypeSpec.
Altium Cruncher CLI (acr)
- Fabrication & Virtual Baking (
acr fab,gerbz,ipc2581,vdoc): Config-drivenfab.jsoncfabrication packages (Gerber X2/X1, NC drill, IPC-2581B, all 17 virtual layers, TrueType font reports, persistent HLR cache, opt-inbake_to_pcbdoc) and turnkeyacr vdoc(vdoc.jsonc, safeMECHANICAL35..51defaults, collision protection with--force, automatic.bakbackups,--dry-run, siblingfab.jsoncinheritance, and--clear/--clear-only). See CLI Fabrication & Outputs. - Pure-Python Micro-STEP (
acr pcb-layer-step&acr mate): Analytic Micro-STEP AP242/AP214 export withCIRCLE/CYLINDRICAL_SURFACEentities, assembly instancing, fast 2D drill cutting (cut/overlay/ring), optional copper fusion, multi-outputpcb-layer-step.jsoncpresets, and test-point highlight rules. - Monkey Change Orders (
acr mco):run,init, andlistsubcommands supporting 38 typed JSONC CAD operations (includingpcbdoc.bake_virtual_layers,pcblib.bake_virtual_layers,pcbdoc.export_layer_step,schdoc.rename_source_fields, and variant management) with--dry-run,on_failcontrol flow, and JSON reports. See Monkey Change Orders. - Compilation, Inspection & Refactor (
acr compile,inspect,refactor): Checked C0 design/system compilation export (acr compile), experimental read-onlyacr inspect(projects,nets,connectors,system-endpoints,system-nets, CSV +--viewHTML matrix), and experimentalacr refactor(--applyverified schematic & cross-board net-name refactoring via MCO). - Rendering, Design Review & Assembly (
acr pcb-svg,toon,dr,bom,pnp,jlc): FabView-backedpcb-svgandtoonwith all 17 virtual layers, sharedvirtual_layersconfig (pcb.svg.config.a1), panel support, IPC-4761 plugged/filled via rendering, and--warnings/--timings; multi-board.PrjMbdsupport inacr dr; colorized missing-JLCPCB-Part-# terminal table and numberedSupplier Part Number Nlookup inacr jlc; and unified colored console presentation across all 39 public commands. See CLI Rendering & Design Review.
Multi-Board Systems (Experimental, Read-Only)
This release introduces read-only support for Altium multi-board designs across five new public submodules (77 exported symbols; imported from submodules while experimental). See the Multi-Board Systems guide.
.PrjMbdProject Manifest Reader (altium_monkey.altium_prjmbd):AltiumPrjMbd.from_file()/from_bytes()parses[DocumentN]member entries and[Design]options with Altium's INI and BOM/Windows-1252 rules, classifies member kinds (SYSTEM_DESIGN,ASSEMBLY,BOARD_PROJECT,HARNESS_PROJECT,MULTIBOARD_PROJECT,BOM,LIBRARY), tracksaltium_visiblecontiguousDocument1..Nvisibility, verifies member file existence (including case-mismatch/ambiguity detection off Windows), and cross-checks managed child project GUIDs without opening member documents..MbsDocLogical System Design Reader (altium_monkey.altium_mbsdoc):AltiumMbsDoc.from_file()/from_bytes()reads.MbsDocZIP-of-JSON archives (format versions 1 and 2) using .NETZipArchiveand Newtonsoft.Json rules, modeling the fulllogical.jsonconnectivity graph — modules, components, pins, entries, entry-to-pin maps, functional blocks, direct/wire/wire-group/cable/harness connections, physical connections, pin pairs, harness definitions, power ports, ECO conflicts, and v2 virtual modules and placeable components — with globally scopedMbsObjectRefidentities, exactjson_pointerlocators, andmated_pin()/mated_entry()lookups.- Project Facade, Module Resolution & Diagnostics (
altium_monkey.altium_multiboard):AltiumMultiboardProjectloads.PrjMbd+.MbsDoc, cross-checksDocumentUniqueIdvs.uniqueId, resolves each module occurrence deterministically (sourceProjectpath → unique project name/stem → optional caller mapping; GUID alone never resolves), and reports malformed or partial inputs through 50 typedMultiboardDiagnosticCodediagnostics and an explicitconnectivity_completeflag instead of crashing. - Cross-Board System Netlist (
altium_monkey.altium_multiboard_netlist):AltiumMultiboardProject.system_netlist()compiles each resolved child.PrjPcbonce and derives Altium per-link nets (links), exact 1-to-1 child connector/pin joins (terminals, matching bySourceId/PinUniqueIdwithchild_connector_unmarkedwarnings for stale connector markings), connected cross-boardnets(never merging by name alone), and rename-readyaliasesacross all four source kinds (MbsLinkAliasSource,MbsTerminalAliasSource,MbsChildNetAliasSource, andMbsChildContributorAliasSource), with versioned JSON export and validation (to_json(),load_system_netlist_json(),altium_monkey.multiboard.system_netlist.v1). - Unified C0 System Compilation, Impact Tracing & Scoped Schematic Graphics (
altium_monkey.altium_system):AltiumSystem.from_file("System.PrjMbd")prepares each unique child board once viaAltiumPreparedDesignand composes the entire system onto the shared C0 compiled-design stack (structural_graph,compiled_view,compilation) while retaining the native V1netlist:- Traces cross-board authored source fields and edit impact across repeated module occurrences (
endpoints,net_for_endpoint(),aliases_for_net(),fields_for_endpoint(),fields_for_net(),impacts_for_field()). - Renders retained child schematic pages via
system.schematic_graphics(realized_page_ref, instance_path=[...])withpaint_bindings.c0hit-testing scoped to a single board occurrence (no recompilation or sibling-instance confusion).
- Traces cross-board authored source fields and edit impact across repeated module occurrences (
- Read-Only Scope: Writing/editing
.PrjMbd/.MbsDoc/.MbaDoc, decoding.MbaDoc3D geometry (geometry.bin/STEP/C3D/XBF), rendering.MbsDocdrawing pages, parsing.PrjHarharness projects, and running system-level ERC remain out of scope.
from altium_monkey.altium_multiboard import AltiumMultiboardProject
from altium_monkey.altium_system import AltiumSystem
# Inspect project, resolve modules, and query cross-board system nets & aliases
netlist = AltiumMultiboardProject.from_file("System.PrjMbd").system_netlist()
for net in netlist.nets_with_alias("SPI_CLK"):
print(net.index, net.names, [(a.origin, a.name) for a in net.aliases])
# Compose full C0 compilation, trace cross-board source fields, and render scoped graphics
system = AltiumSystem.from_file("System.PrjMbd")
compilation = system.compilation
root = system.structural_graph.to_dto().definitions[0]
fields = system.fields_for_net(root.nets[0].id)Bug Fixes & Public Issue Resolutions
- IPC-2581B
<Bom>/<Avl>& Document Layers (#35,#36):Fab.to_ipc2581()now emits schema-valid<Bom>/<Avl>sections (honoring partialbom_rulesdicts for grouping,$Namefield templates,<Textual>characteristics,populate, andbom=False, while omitting<Bom>on zero-component boards) and lowers non-emptyKEEPOUT,MECHANICAL<n>, andDRILLDRAWING<n>DOCUMENTlayers controlled bydocument_layers. - Schematic Connectivity & Harnesses (
#64,#68,#73,PR#81):- Fixed hierarchical bus and harness compilation and graph resolution across nested sheet entries and repeated harness channels (
#64,#68). - Same-sheet
NetLabels placed on separateSignalHarnessstubs now merge matching harness member nets across sibling sheet entries (matching Altium'sNetLabelsTrace), and one-sided sheet-entry/port renames preserve connectivity across drawn harnesses (#73). - Direct pin, port, sheet-entry, and power-port contact on a
HarnessEntrywithout an intervening wire now resolves identically to Altium (PR#81).
- Fixed hierarchical bus and harness compilation and graph resolution across nested sheet entries and repeated harness channels (
- Schematic Authoring, Mutation & Rendering (
#70,#71,#75,#76,#77,#89,#90,#91,#92,PR#74,PR#80,PR#82):AltiumSchWire.pointssetter now converts plain(x, y)mil tuples cleanly instead of storing raw tuples (#75).AltiumSchDoc.add_object/remove_objectnow enforce Altium'sParameterownership rules (includingNoteowners) and cascade-remove owned child parameters when removingParameterSet,Port, orNoterecords (#76,#77,#89,PR#80).AltiumSchDoc.add_component_from_librarynow strips library-local pin records cleanly without corrupting component indices, andSchDoctitle block template lookup handles POSIX paths cleanly (#90).make_sch_pinandAltiumSchPinnow accept optionaldefined_functionsandselected_functionssequences (PinFunctionData) while preserving Altium-tolerant library reads (PR#74).- Preserved Unicode component descriptions on
.SchDocsave (#70) and Specific No ERCErrorKindSetToSuppresssettings (PR#82). - Improved
.SchLibcompatibility for legacy libraries (ISHIDDEN,/inSectionKeys, mode0x00, fullLibRefonsymbol.original_name,#71) and addedPinFracfractional-coordinate parsing and Altium-layout stream writing (#91,#92).
- PCB & PcbLib Parsing & Authoring (
#69,#78/PR#79,PR#85,PR#86,PR#87):- Preserved non-ASCII footprint names cleanly across
extract_pcblibandAltiumPcbLibloading (#69). - Fixed mixed-unit parsing (
mm/mil) in board properties, component standoffs, and layer stackup dielectric/copper thickness (PR#85,PR#86). - Fixed
PcbLibcustom pad shape matching when a footprint contains multiple custom-shape pads (pcblib_native_pad_index,PR#87). - Raised
PcbLibOLE stream and directory-entry safety limits to load large production libraries without false limit errors (#78/PR#79).
- Preserved non-ASCII footprint names cleanly across
- Altium Stroke Webfonts (
#84): Fixed CP437-to-Unicode cmap mapping for Latin-1 / accented characters (é,ü,ñ,º,U+00A0) and eliminated?-fallback glyph collisions across all 36 bundled.ttf/.otf/.woff/.woff2font files. - Documentation Clarifications (
#29,#57,#72): Documented non-unique scoped netaliases, multi-part physicalclassification.pin_count, andAltiumSymbol.designatorsvs.symbol.parameters.
Dependencies & Supported Environments
altium-monkey: Normal GIL-enabled CPython 3.12, 3.13, and 3.14 remain supported; updatedwn-geometerto2026.11.22and explicitly declarednumpyalongsideshapely==2.1.2,fonttools>=4.63.0, andskia-python==144.0.post2.altium-cruncher: Widened Python support from 3.14-only to CPython 3.12, 3.13, and 3.14 (>=3.12,<3.15); addedjsonschema-rs>=0.48.1,<0.49andmsgspec==0.21.1alongsidewn-geometer==2026.11.22.