Modules

geometor.divine

Tools and symbolic catalog for analyzing divine proportions in geometric models.

Key Components - Analysis Hook: register_divine_hook() automatically analyzes points as they are added to a model. - Golden Sections & Chains: Exact Rational Trigonometry discovery tools (geometor.divine.golden). - Catalog of Golden Ratio Constructions: 45 exact symbolic constructions and theorems across 7 families (geometor.divine.catalog). - Events: Listeners that trigger real-time analysis on model updates.

Usage Register the divine hook with a Model instance or build a certified catalog construction via build_construction().

Submodules

Attributes

CATALOG

FAMILIES

Functions

build_construction(identifier) → tuple[geometor.model.Model, geometor.divine.catalog.schema.GoldenCertificate]

Build and symbolically certify a cataloged construction by identifier.

get_construction(identifier) → geometor.divine.catalog.schema.ConstructionSpec

Look up a ConstructionSpec by catalog code, family/slug, or slug.

register_divine_hook(model) → None

Initialize the divine analysis by registering the listener with the model's hook.

Package Contents

geometor.divine.CATALOG: tuple[geometor.divine.catalog.schema.ConstructionSpec, ...]
geometor.divine.FAMILIES: tuple[geometor.divine.catalog.schema.FamilySpec, ...]
geometor.divine.build_construction(identifier: str) → tuple[geometor.model.Model, geometor.divine.catalog.schema.GoldenCertificate]

Build and symbolically certify a cataloged construction by identifier.

geometor.divine.get_construction(identifier: str) → geometor.divine.catalog.schema.ConstructionSpec

Look up a ConstructionSpec by catalog code, family/slug, or slug.

geometor.divine.register_divine_hook(model: geometor.model.Model) → None

Initialize the divine analysis by registering the listener with the model’s hook.

Parameters:

model – The model to attach the analysis hook to.