Skip to main content

geometrykit

Geometry primitives and NURBS data model: Vec, Plane, Curve, Surface, Path, and (planned) G1 constrained patches, curve/surface clipping, trim pcurves, and a tessellator — the geometry substrate for the ifckit family.

Status

Source of truth: github.com/maucworks/geometrykit — check it out anywhere; wheels are built from a checkout root (python -m build, packages.find over this layout). The package itself is unaware of check-out locations.

Releases so far (0.0.1/0.0.2) are a name claim + placeholder: the API is not yet published, and the package intentionally exports nothing beyond geometrykit.__version__. Version bumps arrive with the first real API (planned v0.1: primitives promoted from ifckit.geometry, extracted from the A320 configurator corpus with its existing test coverage as oracle spec).

Development

python3 -m venv .venv && .venv/bin/pip install -e ".[dev]"
.venv/bin/pytest tests/ -q                       # full suite (plain env)

# oracle tier: the tests that check the kernel against OCCT
conda env create -f environment.yml              # once
conda run -n geometrykit-oracle python -m pytest tests/ -q
# with coverage + the staged ladder:
conda run -n geometrykit-oracle python -m pytest tests/ --cov -q
conda run -n geometrykit-oracle python -m coverage json -o /tmp/geometrykit-cov.json
python scripts/coverage_ladder.py /tmp/geometrykit-cov.json
# corpus refresh (A320 demos → tests/fixtures/corpus/):
# where ifckit is importable (its own environment, not the oracle one):
python scripts/capture_corpus.py

Layers: tests/geometry/ (ported ifckit geometry suite), tests/test_contract.py (contract v0), tests/test_engine_probe.py + tests/test_engine_parity.py (runtime split), tests/oracle/ (OCCT goldens, skipif), tests/panel/ (panelization acceptance, M2 tripwire).

Roadmap (contract-first, per the kernel plan)

  • v0.1 — value-type primitives (Vec, Plane, Arc, Line, Path, Curve, Surface); ifckit.geometry becomes a re-export facade. Data contract: id + plain arrays ({kind, degrees, knots, cps}(m,4), homogeneous [w-mu, w-nu, w-rho, w]).
  • v0.2+ — G1 constrained filling (Gregory corners) over polygonal charts; Bezier-column clipping (plane-surface, closest-point); trims (pcurves); tessellator (curvature-driven).
  • Out of scope by design: B-rep booleans, tolerant topology (the kernel is B-rep-free on purpose; volumes are ifcopenshell/OCCT's domain).

Licensing

geometrykit is LGPL-3.0-or-later, aligned with ifckit. The kernel carries code promoted from ifckit's geometry package; the provenance of every carried module is documented in its file header.

Sibling projects

  • ifckit — elements/builders/model that bind geometrykit to IFC.
  • The associativity engine (name TBD: modelkit/stageskit) — identity, stage signatures, dirty propagation; geometry-agnostic, stdlib-only.

Metadata

Release files for geometrykit 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geometrykit 0.5.0
File Size Uploaded Provenance Actions
geometrykit-0.5.0.tar.gz 183.2 kB Without provenance Details for geometrykit-0.5.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for geometrykit 0.5.0
File Actions
geometrykit-0.5.0-py3-none-any.whl Python 3 none any Details for geometrykit-0.5.0-py3-none-any.whl
geometrykit-0.5.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for geometrykit-0.5.0-cp39-abi3-win_amd64.whl
geometrykit-0.5.0-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details for geometrykit-0.5.0-cp39-abi3-manylinux_2_28_x86_64.whl
geometrykit-0.5.0-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for geometrykit-0.5.0-cp39-abi3-manylinux_2_28_aarch64.whl
geometrykit-0.5.0-cp39-abi3-macosx_11_0_x86_64.whl CPython 3.9 abi3 macOS 11.0+ x86-64 Details for geometrykit-0.5.0-cp39-abi3-macosx_11_0_x86_64.whl
geometrykit-0.5.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for geometrykit-0.5.0-cp39-abi3-macosx_11_0_arm64.whl

Total release size: 2.5 MB

Release files / geometrykit-0.5.0.tar.gz

Download URL geometrykit-0.5.0.tar.gz
Size 183.2 kB
Tags Source
SHA-256 checksum
How to use checksums
32693c47285154f20ac9fdec9f51447623c2d5d2fe831f6efa0b283f959144a8
BLAKE2b-256 checksum
How to use checksums
7ad054632e6abec99487091685b23ba1caf4d0143a36e1ca39ef0636adb40355
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / geometrykit-0.5.0-py3-none-any.whl

Download URL geometrykit-0.5.0-py3-none-any.whl
Size 188.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f316d658d70006e8d00079fa074bb4071e63310b61e6927663b042199672e98a
BLAKE2b-256 checksum
How to use checksums
9d5eafc19ec12805afd2c93873e3cc6c626af55e908563868d1791a3fc5b0caa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / geometrykit-0.5.0-cp39-abi3-win_amd64.whl

Download URL geometrykit-0.5.0-cp39-abi3-win_amd64.whl
Size 350.1 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
1ce551852cf847ea009b609f25051a9a5dc61f6d43c1e68d3195da2e509b222e
BLAKE2b-256 checksum
How to use checksums
1590c34bfcdf13dde8634250cd556da1f27b4ba624d6eb515689fe8b0d03e618
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / geometrykit-0.5.0-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL geometrykit-0.5.0-cp39-abi3-manylinux_2_28_x86_64.whl
Size 467.0 kB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
16d3d30ef471a8cf6d062328e60436fa0a6fefb1e257739d658c769fd56fad4f
BLAKE2b-256 checksum
How to use checksums
b0dd5b825408fdf49969280725e8a21e25b011653a8015960c8c926a289e2b36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / geometrykit-0.5.0-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL geometrykit-0.5.0-cp39-abi3-manylinux_2_28_aarch64.whl
Size 461.8 kB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
0a2f443e7e9f82b49a8598e4f97162d888db23379756d105c704e51b5091e083
BLAKE2b-256 checksum
How to use checksums
462f2b2f11cff233661913ee053a7582df72f288b5f6ef89d082f2f737cee9ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / geometrykit-0.5.0-cp39-abi3-macosx_11_0_x86_64.whl

Download URL geometrykit-0.5.0-cp39-abi3-macosx_11_0_x86_64.whl
Size 447.7 kB
Tags CPython 3.9 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
358245d714175510128a39c800643fc3bc371f335a55cf68e812f348666400fb
BLAKE2b-256 checksum
How to use checksums
495c1d78ce725a8a930cfc8880b7c6d53f8418af4af2293f655fa53ea8fbbffd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / geometrykit-0.5.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL geometrykit-0.5.0-cp39-abi3-macosx_11_0_arm64.whl
Size 440.5 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
347b9fec4dd3b637e971dacf6cfb89765845e89d2ae1bba89d96fdff21b0a9a7
BLAKE2b-256 checksum
How to use checksums
6a935dea5e7f2d8d47f6b7c6f4a62cb6eb47ad54fbf5f45d67ac5d5b945e7113
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for geometrykit 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page