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

acr pcb-layer-step

Generate a STEP model for one selected Altium PCB layer. The default is a bottom-copper alignment model with drilled holes cut out and a separate board-outline body.

PropertyValue
Commandacr pcb-layer-step (or altium-cruncher pcb-layer-step)
CategoryFabrication & Manufacturing Outputs
Config Filepcb-layer-step.jsonc (altium_cruncher.pcb_layer_step.config.a0)
Workflow GuideFabrication & Outputs: acr pcb-layer-step

Usage

text
acr pcb-layer-step [-h] [-o OUTPUT] [--config CONFIG] [--init-config] [--force-config] [--doc PCBDOC] [--project-context {auto,none,schematic}] [--layer LAYER] [--thickness-mm THICKNESS_MM] [--z-mm Z_MM] [--copper-color COPPER_COLOR] [--outline-width-mm OUTLINE_WIDTH_MM] [--outline-color OUTLINE_COLOR] [--board-cutout-color BOARD_CUTOUT_COLOR] [--exclude-poured-polygons] [--outline-only] [--no-board-outline] [--no-board-cutouts] [--no-hole-cuts] [--drill-hole-mode {auto,cut,overlay,none}] [--max-boolean-drill-cuts MAX_BOOLEAN_DRILL_CUTS] [--drill-hole-color DRILL_HOLE_COLOR] [--drill-plated-hole-color DRILL_PLATED_HOLE_COLOR] [--drill-non-plated-hole-color DRILL_NON_PLATED_HOLE_COLOR] [--drill-overlay-thickness-mm DRILL_OVERLAY_THICKNESS_MM] [--drill-minimum-diameter-mm DRILL_MINIMUM_DIAMETER_MM] [--drill-hole-shape {solid,ring}] [--drill-ring-width-mm DRILL_RING_WIDTH_MM] [--drill-plated-ring-shape {annulus}] [--no-fuse] [--arc-segments ARC_SEGMENTS] [--no-color] [file]

Arguments And Options

Positional Arguments

ArgumentRequiredDescription
fileNoPcbDoc or PrjPcb file (optional if auto-detected in CWD)

Options

FlagDefaultDescription
-o, --output <OUTPUT>—output directory (default: ./output/pcb-layer-step)
--config <CONFIG>—path to pcb-layer-step JSON/JSONC config. If omitted, pcb-layer-step looks for pcb-layer-step.jsonc next to each input file; if missing, it creates a template and uses defaults.
--init-configFalsewrite a pcb-layer-step JSONC config template and exit without loading PCB data
--force-configFalsewith --init-config, overwrite an existing config template
--doc, --pcbdoc <PCBDOC>—with .PrjPcb input, select a specific PcbDoc by filename, stem, or relative path
--project-context <PROJECT_CONTEXT>'none'project-context mode. pcb-layer-step defaults to board-only loading and does not parse schematics unless 'schematic' or 'auto' is requested (choices: auto, none, schematic)
--layer <LAYER>—PCB layer selector: bottom, top, BOTTOM, TOP, layer id, or layer display name
--thickness-mm <THICKNESS_MM>—extruded layer thickness in millimeters (default: 0.035)
--z-mm <Z_MM>—bottom Z position in millimeters (default: 0)
--copper-color <COPPER_COLOR>—STEP color for selected-layer copper, #RRGGBB or #AARRGGBB (default: #B87333)
--outline-width-mm <OUTLINE_WIDTH_MM>—board-outline body width in millimeters (default: 0.2)
--outline-color <OUTLINE_COLOR>—STEP color for board outline, #RRGGBB or #AARRGGBB (default: #FFFF00)
--board-cutout-color <BOARD_CUTOUT_COLOR>—STEP color for interior board-cutout outline bodies (default: #FFFF00)
--exclude-poured-polygonsFalseexclude poured-polygon/rendered-region geometry from the selected layer
--outline-onlyFalseemit only the board outline body
--no-board-outlineFalsedo not include the board-outline body
--no-board-cutoutsFalsedo not include separate interior board-cutout outline bodies
--no-hole-cutsFalsedo not subtract or overlay pad/via drill holes in copper geometry
--drill-hole-mode <DRILL_HOLE_MODE>—drill-hole handling: auto cuts small boards and overlays dense boards, cut uses precise booleans, overlay uses fast visible disks, none omits them (choices: auto, cut, overlay, none)
--max-boolean-drill-cuts <MAX_BOOLEAN_DRILL_CUTS>—auto mode uses boolean drill cuts up to this count (default: 128)
--drill-hole-color <DRILL_HOLE_COLOR>—STEP color for drill overlays, #RRGGBB or #AARRGGBB (default: #FFFFFF)
--drill-plated-hole-color <DRILL_PLATED_HOLE_COLOR>—STEP color for plated drill overlays when plating colors are split
--drill-non-plated-hole-color <DRILL_NON_PLATED_HOLE_COLOR>—STEP color for non-plated drill overlays when plating colors are split
--drill-overlay-thickness-mm <DRILL_OVERLAY_THICKNESS_MM>—thickness for fast drill-overlay disks in millimeters (default: 0.001)
--drill-minimum-diameter-mm <DRILL_MINIMUM_DIAMETER_MM>—only render drills larger than this diameter in millimeters
--drill-hole-shape <DRILL_HOLE_SHAPE>—overlay drill shape: solid disk/capsule or annular ring (choices: solid, ring)
--drill-ring-width-mm <DRILL_RING_WIDTH_MM>—annular ring width when --drill-hole-shape ring is active
--drill-plated-ring-shape <DRILL_PLATED_RING_SHAPE>—plated drill ring source: fixed annulus (choices: annulus)
--no-fuseFalsepreserve primitive-level copper and board-outline regions instead of requesting Geometer 2D fusion
--arc-segments <ARC_SEGMENTS>—fallback sampling resolution for non-circular curves such as elliptical pads (default: 32)
--no-colorFalsedisable ANSI colors and spinners in console output

Examples

powershell
# Generate a commented starter pcb-layer-step.jsonc config
acr pcb-layer-step --init-config --config pcb-layer-step.jsonc

# Export 3D alignment STEP models using sibling pcb-layer-step.jsonc
acr pcb-layer-step board.PcbDoc -o out/step

# Emit board outline only
acr pcb-layer-step board.PcbDoc --outline-only -o out/outline
altium-monkey v2026.11.26 · gobblerito·Docs updated 2026.11.29 17:55 UTC (0665053)