altium monkey v2026.11.26 · gobblerito
On This Page (16)

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

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 listRecord .to_svg(ctx, svg_options=...) returning SVG str
SchSvgRenderOptions / SchSvgRenderContextSchPaintSvgOptions / SchPaintView / SchPaintContext
SchJunctionZOrderSchPaintView(..., auto_junctions_on_top=True)
SchPaintColorMode / SchCompileMaskRenderModeRemoved
SCH_GEOMETRY_IR_SCHEMA
SCH_GEOMETRY_ORACLE_SCHEMA
validate_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:

python
# 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(...)) → strboard.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(...) → strfootprint.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_ipc2581board.fab(...).to_ipc2581(...) / board.to_ipc2581(...)

Option migration from PcbSvgRenderOptions / to_svg arguments to SvgOptions and ContextOptions keywords:

Old field / argumentReplacement keyword
visible_layers / layer_render_orderlayers (ordered layer keys; "PROFILE" for outline, "DRILLS" for holes)
layer_colorslayer_colours (dict keyed by layer key)
all_layers_color_override / layer_svg_color_overridelayer_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_scalescale
clip_copper_to_board_outline / clip_all_layers_to_board_outlineclip_to_outline
clip_holes_from_copperclip_holes
mirror_xmirror
Pad designator / origin datum overlaysannotations=[{"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

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) and AltiumCompiledSchematicGraph (altium_monkey.compiled_schematic_graph.a0) are retained in 2026.11.26 as a compatibility surface and will be removed in the next release (targeting 2026.12.25, codename "santy claws"). New and migrating consumers should target AltiumCompilation.from_file() (altium_monkey.compilation.c0) and AltiumCompiledView (altium_monkey.compiled_view.c0).

Upgraders should also note these behavioral changes:

altium-cruncher (acr) CLI & Config Breaking Changes

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.

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)

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.

python
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

Dependencies & Supported Environments

altium-monkey v2026.11.26 · gobblerito·Docs updated 2026.11.29 17:55 UTC (0665053)