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

altium-monkey 2026.05.26 Release Notes

Package version: 2026.5.26

2026.05.26 is represented in Python package metadata as the PEP 440 canonical form 2026.5.26.

This release makes Pick-and-Place coordinate generation explicit and documented after validating Altium PNP-METRIC parity on hierarchical board fixtures.

Pick-And-Place Position Modes

AltiumDesign.to_pnp(...) now accepts position_mode. The default altium-pick-place mode matches Altium's Pick Place export by using the center of the bounding box of component-owned pad anchor points, with component-origin fallback when a component has no owned pads.

Use position_mode="component-origin" when callers need the raw footprint placement origin instead.

Design JSON now emits pnp.position_mode next to pnp.units and pnp.source_pcbdoc, and the public design.a1 schema documents the allowed mode names. center_x and center_y should be read as the selected PnP position, not as a generic geometric centroid.

Validation

The Pick-and-Place mode contract is covered by regression tests, including a fixture whose component origin differs from the Altium-compatible Pick Place position.

Existing documented APIs remain compatible. The default PnP behavior remains the Altium-compatible mode introduced by the 2026.5.26 fix; the new argument is an opt-in override for callers that intentionally need component origins.

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