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.geometrybecomes 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 bindgeometrykitto IFC.- The associativity engine (name TBD:
modelkit/stageskit) — identity, stage signatures, dirty propagation; geometry-agnostic, stdlib-only.
Metadata
Release files for geometrykit 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geometrykit-0.4.0.tar.gz | 183.3 kB | Without provenance | Details for geometrykit-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geometrykit-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for geometrykit-0.4.0-py3-none-any.whl |
Total release size: 371.7 kB
Release files / geometrykit-0.4.0.tar.gz
| Download URL | geometrykit-0.4.0.tar.gz |
|---|---|
| Size | 183.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f42a46ab2db16a93c5b34fafc7db7afb3b003f473823f0f94f06a749a2037565
|
|
BLAKE2b-256 checksum How to use checksums |
98c8af8a3a92f96eb46eea3e0cdb0f4ab859626a583a74d550a1f94c48938181
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / geometrykit-0.4.0-py3-none-any.whl
| Download URL | geometrykit-0.4.0-py3-none-any.whl |
|---|---|
| Size | 188.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34a894efda9c61979969b0679f55cffeacaf49da6d541bb8b3b5bfaa00b3e7ed
|
|
BLAKE2b-256 checksum How to use checksums |
66e555aa1a568f961b25fdcb40bd9b89f618272ea824749a9724d2879c56a7fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Security for geometrykit 0.4.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.