geometor.elementarium.plates

Mark I Primer plate catalog and 1:1 50mm reticle SVG mask exporter.

Attributes

PRIMER_PLATES

Classes

PrimerPlate

Metadata for a single zero-context optical plate in the Mark I prototype.

PlatesMixin

Mixin for Elementarium class providing Primer plate lookup and SVG export.

Functions

render_keystone_svg() → str

Render a 1:1 50 mm x 50 mm SVG reticle mask for Plate 0 (Vesica Keystone).

export_plate_svg(output_path) → pathlib.Path

Write the 1:1 50 mm x 50 mm Plate 0 SVG reticle mask to disk.

Module Contents

class geometor.elementarium.plates.PrimerPlate

Metadata for a single zero-context optical plate in the Mark I prototype.

plate_id: str
tier_id: str
title: str
substrate: str
optical_encoding: str
bootstrap_concept: str
geometor.elementarium.plates.PRIMER_PLATES: tuple[PrimerPlate, ...]
geometor.elementarium.plates.render_keystone_svg() → str

Render a 1:1 50 mm x 50 mm SVG reticle mask for Plate 0 (Vesica Keystone).

Evaluates exact SymPy algebraic coordinates from build_keystone_plate_model() strictly at the SVG serialization boundary, mapping unit chord |AB| = 1 to unit_chord_mm = 20 mm centered on a 50 mm x 50 mm quartz reticle.

Returns:

Complete SVG document string with physical mm dimensions and .euclid-graphic styling.

geometor.elementarium.plates.export_plate_svg(output_path: pathlib.Path) → pathlib.Path

Write the 1:1 50 mm x 50 mm Plate 0 SVG reticle mask to disk.

Parameters:

output_path – Destination file path for the generated SVG.

Returns:

Resolved path to the written SVG file.

class geometor.elementarium.plates.PlatesMixin

Mixin for Elementarium class providing Primer plate lookup and SVG export.

property plates: tuple[PrimerPlate, ...]

Return the ordered Mark I Primer plate catalog.

get_plate(plate_id: str) → PrimerPlate

Look up a Primer plate by identifier (e.g., 'P0').

Parameters:

plate_id – Case-insensitive plate identifier P0..``P5``.

Returns:

Matching PrimerPlate.

Raises:

KeyError – If plate_id is not present in PRIMER_PLATES.

export_keystone_svg(output_path: pathlib.Path) → pathlib.Path

Export Plate 0 (Vesica Keystone) 1:1 SVG reticle mask to output_path.