altium monkey v2026.11.26 · gobblerito

Examples Showcase

Runnable Python workflows indexed from examples/manifest.toml (121 total examples).

Featured Showcase

Generate a complete variant-aware PCB fab release package

Open Hydroscope.PrjPcb, build variant-scoped Fab sessions, emit Gerber X2/X1, NC Drill, IPC-2581, PnP, and BOM for Variant A (J6 DNP), and compare bare-board SVGs plus No Variant, Variant A (dnp_mode='omit' and 'crossout'), and Variant B virtual overlays.

fabpcbdocsvgSVG

Bake FabView virtual layers onto Altium mechanical layers

Bake all 9 top FabView virtual layers (CUTOUTS, PIN1_TOP, DIODES_TOP, CAPACITORS_TOP, INDUCTORS_TOP, RESISTORS_TOP, ASSEMBLY_OUTLINES_TOP, ASSEMBLY_DESIGNATORS_TOP, PAD_LABELS_TOP) onto Mechanical 11–19 on virtual_fab_layers.PcbDoc via bake_virtual_layers_to_pcbdoc(), verify save/reload persistence, and render an unclipped colour-coded SVG preview.

fabpcbdocsvgSVG

Render Schematic Paint IR, editor views, outlined text, Skia PNG, and PrjPcb variants

Extract sch-paint-ir:a0 commands from Hydroscope schematics, render static/editor/outlined-text SVGs and 150 DPI Skia PNGs, and compare Variant A (J6 Not Fitted) vs. Variant B through AltiumDesign.

schdocdesignsvgSVG

Query C0 compiled design, net explanations, and paint bindings

Compile Hydroscope.PrjPcb with AltiumCompilation, inspect AltiumCompiledView net explanations, source tracing, and field impacts, and render a schematic page paired with paint_bindings.c0.

designschdocsvgSVG

Author and render 1D and 2D PCB barcodes

Place CODE_39, CODE_128, QR_CODE, and DATA_MATRIX barcodes on a generated PcbDoc, verify binary save/reload round-trip, and flatten to Gerber X2 and SVG through Fab.

pcbdocfabsvgSVG

Author a 1x4 HydroScope tab-rout panel with NPTH mouse bites

Build a 1x4 HydroScope Mainboard panel using add_embedded_board_array with distinct board outlines and rout channels, copper-free NPTH tooling holes and 4-side mouse bites, IPC-7351 circular fiducials, panel PnP, and top/bottom SVGs.

pcbdocfabsvgSVG

Author a 1x4 HydroScope V-groove (V-score) panel

Build a 0-gap 1x4 HydroScope Mainboard V-groove panel with top and bottom breakaway rails, full-width V-score lines, copper-free NPTH corner tooling holes, IPC-7351 circular fiducials, panel PnP, and top/bottom SVGs.

pcbdocfabsvgSVG

Inspect a multi-board system netlist and C0 system compilation

Synthesize a two-board, three-module system with a repeated sensor board, inspect AltiumPrjMbd and AltiumMbsDoc, build a V1 cross-board system netlist, render Paper and Dark system topology SVGs, and trace repeated-instance impacts and graphics via AltiumSystem.

multiboarddesignsvgSVG

Render PcbDoc layers to SVG

Load the RT Super C1 project with AltiumDesign, open its PcbDoc, and write one SVG per visible PCB layer plus a separate board-outline SVG.

pcbdocsvgdesignSVG

Render project schematics to SVG (standalone or PrjPcb variant)

Open Hydroscope.PrjPcb and render every schematic sheet to SVG with project parameters, or pass --variant A to compile through AltiumDesign and render variant-aware physical pages.

schdocsvgprjpcbSVG

All Examples

121 / 121 shown

Create a SchDoc hello world

Generate a SchDoc programmatically, place text, and insert a monkey image.

schdoc

Render vertical pin text in SchDoc SVG

Generate pins with default and custom pin-text orientation settings, render SchDoc SVG, and write a manifest proving vertical pin names/designators keep expected rotate transforms.

schdocsvgSVG

Add an embedded image to an existing SchDoc

Load a blank schematic, create one detached embedded image, add it to the document, and save the modified SchDoc.

schdocmutation

Add a bus and bus entries to an existing SchDoc

Load a blank schematic, create one detached bus plus several detached bus entries, add them to the document, and save the modified SchDoc.

schdocmutation

Add wires and net labels to an existing SchDoc

Load a blank schematic, create one detached wire path plus one matching detached net label, add them to the document, and save the modified SchDoc.

schdocmutation

Add a harness connector group to an existing SchDoc

Load a blank schematic, create a connector-owned harness group plus matching port and signal harness, and save the modified SchDoc.

schdocmutationharness

Add an off-sheet connector to an existing SchDoc

Load a blank schematic, create detached left and right off-sheet connectors, add them to the document, and save the modified SchDoc.

schdocmutation

Add generic No ERC directives to an existing SchDoc

Load a blank schematic, create detached generic No ERC directives with different native symbols and orientations, add them to the document, and save the modified SchDoc.

schdocmutation

Add parameter-set directives to an existing SchDoc

Load a blank schematic, create detached parameter-set directives with child parameters through owner links, add them to the document, and save the modified SchDoc.

schdocmutation

Add differential-pair directives to an existing SchDoc

Load a blank schematic, create detached differential-pair directives with hidden child parameters through owner links, add them to the document, and save the modified SchDoc.

schdocmutation

Add blanket directives to an existing SchDoc

Load a blank schematic, create detached blanket directives with different border styles, fill states, and collapse states, add them to the document, and save the modified SchDoc.

schdocmutation

Add compile-mask directives to an existing SchDoc

Load a blank schematic, create detached compile-mask directives with different bounds, border widths, fill colors, and collapse states, add them to the document, and save the modified SchDoc.

schdocmutation

Add power ports to an existing SchDoc

Load a blank schematic, create detached built-in power-port symbols with several styles, add them to the document, and save the modified SchDoc.

schdocmutation

Add ports to an existing SchDoc

Load a blank schematic, create detached hierarchical ports with several styles and I/O types, add them to the document, and save the modified SchDoc.

schdocmutation

Add an arc and a full circle to an existing SchDoc

Load a blank schematic, create one detached arc plus one detached full circle, add them to the document, and save the modified SchDoc.

schdocmutation

Add an elliptical arc and ellipse to an existing SchDoc

Load a blank schematic, create detached ellipses plus detached elliptical arcs, add them to the document, and save the modified SchDoc.

schdocmutation

Add line segments to an existing SchDoc

Load a blank schematic, create detached plain line segments, add them to the document, and save the modified SchDoc.

schdocmutation

Add rectangles and rounded rectangles to an existing SchDoc

Load a blank schematic, create detached rectangles plus detached rounded rectangles, add them to the document, and save the modified SchDoc.

schdocmutation

Add polylines to an existing SchDoc

Load a blank schematic, create detached polylines with endpoint markers, add them to the document, and save the modified SchDoc.

schdocmutation

Add polygons to an existing SchDoc

Load a blank schematic, create detached polygons with different point counts and fill modes, add them to the document, and save the modified SchDoc.

schdocmutation

Add bezier curves to an existing SchDoc

Load a blank schematic, create detached bezier curves with single and chained segments, add them to the document, and save the modified SchDoc.

schdocmutation

Create a PcbDoc hello example

Generate a PcbDoc programmatically, create a rectangular board outline from explicit polygon vertices, place top silkscreen text, and save the board.

pcbdoc

Print PcbDoc board statistics

Load the loz-old-man project with AltiumDesign, open its PcbDoc, and print board outline, drill, slot, primitive-width, and resolved layer-stack statistics.

pcbdocdesign

Inspect a PcbDoc or stackup layer stack

Load a PcbDoc, .stackup, or .stackupx file, build the source-aware layer-stack model, and write normalized debug JSON for stack layers, substacks, layer pairs, impedance profiles, and source evidence.

pcbdoc

Create a PcbDoc layer stack

Synthesize the canonical empty-board layer stack through AltiumLayerStackDocument, save a PcbDoc, reparse it, and write a semantic comparison manifest.

pcbdoc

Create PcbDocs from stackup files

Load .stackup and .stackupx layer-stack exports, apply each to a fresh PcbDocBuilder, save native PcbDocs, and verify readback semantics.

pcbdoc

Build a 128-signal-layer PcbDoc from StackUpX

Generate a 128-signal-layer StackUpX file, import it into PcbDocBuilder, place one track on every copper layer through PcbLayerRef, and verify save/reparse layer IDs and SVG metadata.

pcbdocSVG

Author tracks on extended mechanical layers (1-53)

Create a PcbDoc and PcbLib footprint with tracks across Mechanical1 through Mechanical53 using PcbLayerRef and custom display names, verifying save/reparse layer IDs and SVG output.

pcbdocpcblibSVG

Create a custom rigid PcbDoc layer stack

Author a custom four-layer rigid stack through explicit AltiumLayerStackDocument.from_rigid_layer_rows rows, save PcbDoc/.stackup/.stackupx outputs, and write a semantic comparison manifest.

pcbdoc

Create a JLCPCB 8-layer rigid PcbDoc stack

Programmatically author a JLCPCB JLC081211-1080 eight-layer rigid stack through semantic layer-row, material, and stackup setting objects, save PcbDoc/.stackup/.stackupx outputs, and compare all readbacks.

pcbdoc

Create an impedance-controlled rigid PcbDoc stack

Author a synthetic eight-layer rigid stack with controlled-impedance profiles, save a PcbDoc plus .stackup/.stackupx exports, and compare all readbacks.

pcbdoc

Report rigid-flex PcbDoc topology

Read the packaged rigid-flex fixture through AltiumLayerStackDocument and write JSON/text reports showing substack ids, board-region joins, region layers, bend lines, and branch topology queries.

pcbdoc

Create a flex PcbDoc with stiffeners

Author a flex-only PcbDoc with top and bottom stiffener substacks, board regions, coverlay/adhesive rows, a bend line, board cutout, mechanical region evidence, and PcbDoc readback verification.

pcbdoc

Create a Rigid-Flex 1.0 split-line PcbDoc

Recreate a fixture-derived Rigid-Flex 1.0 PcbDoc with split-line board regions, write PcbDoc/.stackup/.stackupx outputs, and verify region/bend topology after PcbDoc readback.

pcbdoc

Create a flex-in-cutout PcbDoc

Recreate a fixture-derived advanced rigid-flex PcbDoc with a flex region inside a rigid-board cutout, write PcbDoc/.stackup/.stackupx outputs, and verify region/bend topology after PcbDoc readback.

pcbdoc

Create a one-branch rigid-flex PcbDoc

Recreate a fixture-derived main-rigid to flex-extension to rigid-end PcbDoc, write PcbDoc/.stackup/.stackupx outputs, and verify branch topology after PcbDoc readback.

pcbdoc

Create a rigid-flex branch-intrusion PcbDoc

Recreate a fixture-derived advanced rigid-flex PcbDoc with branch-section-stack intrusion settings, write PcbDoc/.stackup/.stackupx outputs, and verify branch topology after PcbDoc readback.

pcbdoc

Create a two-branch rigid-flex PcbDoc

Recreate a fixture-derived advanced rigid-flex PcbDoc with east and west branch roots, write PcbDoc/.stackup/.stackupx outputs, and verify branch topology after PcbDoc readback.

pcbdoc

Create a rigid-flex impedance/backdrill PcbDoc

Recreate a fixture-derived nested rigid-flex PcbDoc with impedance profiles, transmission lines, via spans, and backdrill layer pairs, then verify PcbDoc readback.

pcbdoc

Create PcbDoc cavity placements

Create a fixture-backed rigid PcbDoc, insert the R0402_0.40MM_HD cavity footprint on top, bottom, and internal copper layers, and verify board-side cavity regions, embedded model placement, and copper component-placement policy after readback.

pcbdoc

Create a multi-branch rigid-flex PcbDoc

Recreate a fixture-derived nested multi-branch rigid-flex PcbDoc, write PcbDoc/.stackup/.stackupx outputs, and verify branch parent linkage after PcbDoc readback.

pcbdoc

Generate a BOM from PcbDoc components

Load the RT Super C1 project with AltiumDesign, iterate resolved PcbDoc components, and write all-component plus no-BOM-filtered BOM JSON.

pcbdocbomdesign

Render PcbDoc layers to SVG

Load the RT Super C1 project with AltiumDesign, open its PcbDoc, and write one SVG per visible PCB layer plus a separate board-outline SVG.

pcbdocsvgdesignSVG

Render net-class-highlighted PcbDoc SVG review pages

Load the RT Super C1 project with AltiumDesign, render routed copper layers for each PCB net class, recolor SVG primitives from embedded net-class metadata, and write inline HTML review pages.

pcbdocsvgdesignSVG

Extract PcbLib footprints from a PcbDoc

Load the RT Super C1 project with AltiumDesign, extract placed PCB footprints to a combined PcbLib, and split them into one-footprint PcbLib files.

pcbdocpcblibdesign

Extract embedded PcbDoc fonts

Load the RT Super C1 project with AltiumDesign, open its PcbDoc, and write embedded TrueType fonts to disk.

pcbdocdesign

Extract embedded PcbDoc 3D models

Load the RT Super C1 project with AltiumDesign, open its PcbDoc, and write embedded STEP model payloads to disk.

pcbdocdesign3d

Add PCB text primitives

Load a blank PcbDoc, add stroke text, TrueType text, inverted text, mirrored text, and barcode text variants, and save the board.

pcbdocmutation

Add PCB tracks

Load a blank PcbDoc, add tracks on copper, overlay, and mechanical layers with several widths and net assignments, and save the board.

pcbdocmutation

Create a PCB user union

Load a blank PcbDoc, place two PcbLib footprints plus board primitives and a STEP body, group them in a named user-defined union, save the board, and write a JSON summary.

pcbdocmutation

Add PCB arcs

Load a blank PcbDoc, add full-circle and partial arc primitives on multiple layers, and save the board.

pcbdocmutation

Add PCB pads

Load a blank PcbDoc, add SMT pads, through-hole pads, and a non-plated through hole with explicit zero mask expansions, and save the board.

pcbdocmutation

Add PCB hole tolerances

Load a blank PcbDoc, add labeled pad and via drill-hole tolerance examples plus unset controls, and save the board.

pcbdocmutation

Add IPC-4761 via variants

Load a blank PcbDoc, add a labeled matrix of vias covering IPC-4761 types, tenting, and manual solder-mask expansion variants, and save the board.

pcbdocmutation

Add PCB differential pairs

Create a PcbDoc from scratch, add differential-pair objects with routed member nets, and save the generated board plus a JSON summary.

pcbdocmutation

Report PCB differential pairs

Load the RT Super C1 project, read PcbDoc differential-pair objects and classes, print a table, and write JSON plus text reports.

pcbdocdesign

Mutate PCB vias to IPC-4761 Type7

Copy the RT Super C1 project, find all 12 mil diameter / 6 mil hole vias, set them to IPC-4761 Type7 filling and capping, and save the mutated project.

pcbdocmutationproject

Add filled PCB regions

Load a blank PcbDoc, add copper regions, a region with a hole, and a keepout region, and save the board.

pcbdocmutation

Add custom-pad region outlines

Load a blank PcbDoc, add an arc-bearing shape-based region plus a custom pad with primary and bottom-layer arc-bearing bodies, save the board, and write a JSON verification manifest.

pcbdocmutation

Create PCB mechanical layer kind assignments

Create a PcbDoc, assign standalone mechanical layer kinds at low indices and paired component kinds at high indices, save it, and write a JSON readback manifest.

pcbdocgeneration

Insert PcbLib footprints into a PcbDoc

Create a PcbDoc, place resistor footprints from an existing PcbLib, assign component parameters and pad nets, and save the board.

pcbdocpcblib

Insert footprints and route PCB nets

Create a PcbDoc, insert connector and resistor footprints from PcbLib assets, assign pad nets, and add routed tracks plus a via.

pcbdocpcblib

Add a free extruded 3D body to a PcbDoc

Create a PcbDoc and add a board-level generic extruded 3D body from a polygon projection.

pcbdoc3d

Add a free embedded STEP 3D body to a PcbDoc

Create a PcbDoc, embed a STEP model from disk, infer its projection, and add it as a free board-level 3D body.

pcbdoc3d

Create a SchLib hello example

Create a simple 4-pin IC symbol in a SchLib to demonstrate the basic mechanics of programmatic symbol generation.

schlib

Insert DBLib-style components from a SchLib symbol

Place generic resistor symbols from R_2P.Schlib, inject DB-resolved parameters and footprint implementations, and write a project containing the SchDoc and PcbLib.

schdocschlibmutation

Create a hello PcbLib

Create a real 0603 resistor footprint from scratch, add a footprint primitive parameter, and embed a STEP model from disk through the public PcbLib API.

pcblib

Create PcbLib mechanical layer kind assignments

Create a PcbLib footprint, assign standalone mechanical layer kinds at low indices and paired component kinds at high indices, save it, and write a JSON readback manifest.

pcblib

Add PcbLib IPC-4761 via variants

Create a PcbLib footprint with IPC-4761 via structure variants, explicit Type7 feature rows passed through add_via, and a footprint-level primitive parameter.

pcblib

Recreate PcbLib via feature libraries

Load synthetic PcbLib via-feature libraries, rebuild them through add_footprint/add_via and the other public primitive authoring helpers, and verify via-feature semantics after reparse.

pcblib

Add a free extruded 3D body to a PcbLib footprint

Create a PcbLib with one sample footprint, add pads and outline tracks, then add a generic extruded 3D body to the footprint.

pcblib3d

Create a PcbLib cavity definition region

Create a PcbLib footprint with pads, an embedded STEP model, a Mechanical 1 cavity definition region, and a JSON manifest verifying the native cavity metadata after reparse.

pcblib

Extract embedded PcbLib 3D models

Load an existing PcbLib and extract its embedded STEP model payloads to files.

pcblib

Render PcbLib footprints to SVG

Load an existing PcbLib, iterate its footprints, and write composed plus per-layer SVG files for each footprint.

pcblibsvgSVG

Split a multi-footprint PcbLib

Load an existing PcbLib and split it into one PcbLib file per footprint.

pcblib

Find footprints across PcbLib files

Scan a folder of PcbLib files, build a library-to-footprint index, print all discovered footprints, and demonstrate fuzzy footprint search.

pcblib

Synthesize power-resistor PcbLibs with generated STEP models

Generate SQP20 through-hole resistor footprints, synthesize value-specific STEP models with dot-matrix markings, embed the models, and save one PcbLib per part.

pcblib3d

Load an existing project with AltiumDesign

Load an existing PrjPcb, print variants and document paths, and write summary, BOM, design JSON, physical-page SVGs, compiled net-name examples, and netlist artifacts.

designprjpcbnetlistSVG

Export pick-and-place data from an Altium project

Load an existing PrjPcb with AltiumDesign, read the design JSON PNP block, and write all-placement plus no-BOM-filtered JSON files.

designpnppcbdoc

Add a note to an existing SchDoc

Load an existing schematic, create one detached note, add it to the document, and save the modified SchDoc.

schdocmutation

Add text frames to an existing SchDoc

Load a blank schematic, create several detached text frames with different alignments, border widths, and fonts, add them to the document, and save the modified SchDoc.

schdocmutation

Add text strings to an existing SchDoc

Load a blank schematic, create several detached text strings with different justifications, orientations, and fonts, add them to the document, and save the modified SchDoc.

schdocmutation

Mutate and delete existing notes in a SchDoc

Open a schematic with existing notes, change one note font in place, delete another note, and save the modified SchDoc.

schdocmutation

Move an existing note in a SchDoc

Open a schematic with one note, move it through the public bounds helper, and save the modified SchDoc.

schdocmutation

Add sheet symbols to an existing SchDoc

Load a blank schematic, create detached sheet symbols with detached entries and labels, add the top-level groups to the document, and save the modified SchDoc.

schdocmutationhierarchy

Mutate an existing harness connector group in a SchDoc

Build a baseline harness connector group, mutate entry text, colors, fonts, signal harnesses, and the type label, then save the result.

schdocmutationharness

Mutate an existing sheet symbol group in a SchDoc

Open a schematic with one existing sheet symbol group, rename and reorder entries, replace the name and file labels, add and remove entries, and save the modified SchDoc.

schdocmutationhierarchy

Clear template graphics from an existing SchDoc

Open a schematic with embedded template graphics, remove the template record and template-owned objects, clear sheet template metadata, and save the modified SchDoc.

schdocmutationtemplate

Apply a SchDot template to an existing SchDoc

Open a schematic, clear its existing template graphics, apply a SchDot template from shared assets, and save the modified SchDoc.

schdocmutationtemplate

Extract an embedded SchDoc template to SchDot

Open a schematic with an embedded template, extract the template graphics back to a standalone SchDot, and save the extracted template.

schdocmutationtemplate

Apply a generated title-block template

Build generated ANSI B and D SchDot title-block templates, apply them with visual sheet settings, and write project parameters plus variant context to PrjPcb.

schdocmutationtemplate

Create a complete PrjPcb project

Generate a D-size SchDoc from a dynamic template, synthesize a simple PcbDoc, create a schematic-PDF plus fabrication OutJob, and write a PrjPcb with project parameters and variant A.

prjpcbschdocpcbdoc

Run an Altium OutJob from Python

Stage a working copy of the RT Super C1 project, resolve its associated OutJob through prj.outjob(), and optionally launch Altium Designer to run it.

outjobprjpcbautomation

Create a Draftsman hello project

Generate a PrjPcb with one SchDoc, one PcbDoc, and one linked A3 Draftsman document containing a Comic Sans note and embedded image.

draftsmanprjpcbschdoc

Add text and an embedded image to Draftsman

Create an A3 Draftsman document, place centered embedded image bytes, and add a text item above the image.

draftsmanmutationimage

Create a multi-page Draftsman notes document

Generate a minimal project with empty SchDoc/PcbDoc files, create a linked two-page Draftsman document, place page-scoped notes, and write a lookup summary.

draftsmanprjpcbschdoc

Create a blank linked Draftsman project

Copy the RT Super C1 project into an output workspace, create a blank AD25-profile PCBDwf linked to the board, register it in the PrjPcb, and write a JSON summary.

draftsmanpcbdocproject

Generate Draftsman net-class highlight pages

Read JSON configs for Bunny Brain, RT Super C1, and loz-old-man, synthesize experimental board-assembly-view Draftsman pages with highlighted routed classes, and write per-project manifests.

draftsmanpcbdocsvg

Extract embedded images from a SchDoc

Open a schematic, find embedded IMAGE records, write each embedded payload using a detected native extension, and save a JSON extraction manifest.

schdocasset-extractionimage

Extract SchLibs from a SchDoc

Extract placed component symbols from a schematic as a combined SchLib, split DBLib-ready SchLibs with metadata/model records stripped, and split SchLibs with parameters and implementations preserved.

schdocschlibasset-extraction

Find symbols across SchLib files

Scan a folder of SchLib files, build a library-to-symbol index, print all discovered symbols, and demonstrate fuzzy symbol search.

schlib

Split a multi-symbol SchLib

Load an existing SchLib and split it into one SchLib file per symbol.

schlib

Merge SchLib files

Scan a folder of SchLib files, merge fully parseable symbols, and report any skipped legacy libraries in the manifest.

schlib

Extract source libraries from an IntLib

Open an Altium integrated library, extract its embedded SchLib and PcbLib source files, and write an extraction manifest.

intlibschlibpcblib

Create multi-source and aggregate IntLibs

Build the same realistic seven-component IC, protection, and resistor subset from ordered source libraries and from merged aggregate libraries, then verify graph equivalence, exact embedded sources, warnings, and deterministic output.

intlibschlibpcblib

Inventory embedded PCB assets

Load PcbDoc and PcbLib fixtures, write focused embedded-asset inventories, and extract one selected model/font payload by direct embedded asset index.

asset-extractionpcbdocpcblib

Inventory and extract selected assets

Load SchDoc, SchLib, PcbDoc, and PcbLib fixtures, write typed extractable-asset inventories, and extract one selected symbol, footprint, and embedded model by AltiumAssetRef.

asset-extractionschdocschlib

Clean and normalize project schematics

Open every Hydroscope schematic, iterate through components and sheet-level records, normalize fonts, colors, fills, and line widths, and save cleaned SchDoc copies.

schdocmutation

Render project schematics to SVG (standalone or PrjPcb variant)

Open Hydroscope.PrjPcb and render every schematic sheet to SVG with project parameters, or pass --variant A to compile through AltiumDesign and render variant-aware physical pages.

schdocsvgprjpcbSVG

Author a 1x4 HydroScope tab-rout panel with NPTH mouse bites

Build a 1x4 HydroScope Mainboard panel using add_embedded_board_array with distinct board outlines and rout channels, copper-free NPTH tooling holes and 4-side mouse bites, IPC-7351 circular fiducials, panel PnP, and top/bottom SVGs.

pcbdocfabsvgSVG

Author a 1x4 HydroScope V-groove (V-score) panel

Build a 0-gap 1x4 HydroScope Mainboard V-groove panel with top and bottom breakaway rails, full-width V-score lines, copper-free NPTH corner tooling holes, IPC-7351 circular fiducials, panel PnP, and top/bottom SVGs.

pcbdocfabsvgSVG

Extract and render SchLib symbols to SVG

Extract a combined SchLib from the RT Super C1 schematic, iterate every symbol and symbol part, render each part to SVG, and write a manifest of generated symbol artwork.

schdocschlibsvgSVG

Generate a complete variant-aware PCB fab release package

Open Hydroscope.PrjPcb, build variant-scoped Fab sessions, emit Gerber X2/X1, NC Drill, IPC-2581, PnP, and BOM for Variant A (J6 DNP), and compare bare-board SVGs plus No Variant, Variant A (dnp_mode='omit' and 'crossout'), and Variant B virtual overlays.

fabpcbdocsvgSVG

Render Schematic Paint IR, editor views, outlined text, Skia PNG, and PrjPcb variants

Extract sch-paint-ir:a0 commands from Hydroscope schematics, render static/editor/outlined-text SVGs and 150 DPI Skia PNGs, and compare Variant A (J6 Not Fitted) vs. Variant B through AltiumDesign.

schdocdesignsvgSVG

Query C0 compiled design, net explanations, and paint bindings

Compile Hydroscope.PrjPcb with AltiumCompilation, inspect AltiumCompiledView net explanations, source tracing, and field impacts, and render a schematic page paired with paint_bindings.c0.

designschdocsvgSVG

Query FabView collections, virtual layers, font policies, and annotated SVGs

Compare altium vs. embedded_first font policies on RT_SUPER_C1.PCBdoc, query FabView layers, holes, placements, nets, and virtual_layer(...) results, round-trip FabView JSON, and render annotated and virtual-layer SVGs.

fabpcbdocsvgSVG

Bake FabView virtual layers onto Altium mechanical layers

Bake all 9 top FabView virtual layers (CUTOUTS, PIN1_TOP, DIODES_TOP, CAPACITORS_TOP, INDUCTORS_TOP, RESISTORS_TOP, ASSEMBLY_OUTLINES_TOP, ASSEMBLY_DESIGNATORS_TOP, PAD_LABELS_TOP) onto Mechanical 11–19 on virtual_fab_layers.PcbDoc via bake_virtual_layers_to_pcbdoc(), verify save/reload persistence, and render an unclipped colour-coded SVG preview.

fabpcbdocsvgSVG

Author and render 1D and 2D PCB barcodes

Place CODE_39, CODE_128, QR_CODE, and DATA_MATRIX barcodes on a generated PcbDoc, verify binary save/reload round-trip, and flatten to Gerber X2 and SVG through Fab.

pcbdocfabsvgSVG

Inspect a multi-board system netlist and C0 system compilation

Synthesize a two-board, three-module system with a repeated sensor board, inspect AltiumPrjMbd and AltiumMbsDoc, build a V1 cross-board system netlist, render Paper and Dark system topology SVGs, and trace repeated-instance impacts and graphics via AltiumSystem.

multiboarddesignsvgSVG

Query PCB layer Z-heights, drill pairs, and rigid-flex regions

Query pcbdoc.layers() for substack thicknesses, outer surface layers, board regions, and drill pairs alongside board_stack_declaration_evidence() on rigid-flex and rigid boards.

pcbdocSVG

Inspect PrjPcb variants, class generation options, and variant BOMs

Read admitted assembly variants and DNP lists from RT_SUPER_C1.PrjPcb, mutate and round-trip AltiumPrjPcbClassGenerationOptions, compare variant-scoped Fab BOMs, and render a variant preview SVG.

prjpcbfabSVG