geomcore (Python bindings)
Python bindings for geomcore, a pure, standalone geometric kernel for CAD-grade curves and surfaces — parametric evaluation, rigid transformations, and analytic curve-on-surface parametrization, implemented in Rust.
from geomcore import Point, Vector
from geomcore.curves import Circle
import math
circle = Circle(Point.origin(), Vector.unit_z(), 2.0)
point = circle.eval_point(math.pi / 4)
Install
pip install geomcore
Pre-built wheels are published for Linux (x86_64, aarch64), macOS, and Windows, for Python 3.9+ (abi3 — one wheel covers all versions).
What's inside
- Evaluation of lines, circles, ellipses, parabolas, hyperbolas and
B-spline curves (rational and periodic), plus planes, cylinders, cones,
spheres, tori and B-spline surfaces, with bulk
eval_pointsin a single native call per batch. - Rigid transformations via a single
Transformtype, applied withtransformed. - Containment on every curve and surface;
project_pointandextremareturn projection objects with the parameters, the closest point and the distance. - Intersections with
a.intersect(b)between any two curves or surfaces (B-splines and trimmed curves included), in either order. The result is an object: hits with their parameters, point and multiplicity, overlaps, curves and contact points, themethodthat ran (EXACTclosed form orNUMERICsearch) and itscompleteness. Numericcurve_curve_extremareturns its distance minima and completeness. - Local properties: curve
tangent,curvatureandcurvature_center(signed in 2D); surfacenormalandcurvatures(principal, mean and Gaussian, with principal directions), eachNonewhere it degenerates. Closedness and continuity queries, 2D bounding boxes (BoundingBox2D), surface reversal, and one-sided B-spline evaluation at knots and seams (Side). - Curve-on-surface parametrization:
parametrize_on(analytic) andparametrize_numeric. - B-spline
interpolateand least-squaresapproximate. - Type stubs (PEP 561) for IDEs and type checkers.
Evaluation, transformations and curve-on-surface parametrization are validated against golden fixtures at CAD-kernel-grade tolerances (1e-7). See the repository for full documentation, the roadmap, and the Rust crate.
License
Dual-licensed under MIT or Apache-2.0, at your option.
Metadata
Release files for geomcore 0.38.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 |
|---|---|---|---|---|
| geomcore-0.38.0.tar.gz | 2.0 MB | With provenance | Details for geomcore-0.38.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| geomcore-0.38.0-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details for geomcore-0.38.0-cp39-abi3-win_amd64.whl |
| geomcore-0.38.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details for geomcore-0.38.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| geomcore-0.38.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64 | Details for geomcore-0.38.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
| geomcore-0.38.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl | CPython 3.9 | abi3 | macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64 | Details for geomcore-0.38.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
Total release size: 11.9 MB
Release files / geomcore-0.38.0.tar.gz
| Download URL | geomcore-0.38.0.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3208691632a3f9807801d6fe867a2e5af767a502a1360a791b1c9c0af4a083d
|
|
BLAKE2b-256 checksum How to use checksums |
5364f206b2313490841b7a73af72495f8fe340ab436e8f30b0335977ef443773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logRelease files / geomcore-0.38.0-cp39-abi3-win_amd64.whl
| Download URL | geomcore-0.38.0-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
31b05fb3d13434e4a73b6ea8f449debefe0e67a27771615a02d3a061938fb71b
|
|
BLAKE2b-256 checksum How to use checksums |
bab5736442872829a9f22dd8234c66fb981e6d8a7c098c5626efd29b092c91ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logRelease files / geomcore-0.38.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | geomcore-0.38.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
91ae769d9bac9e5a50e8eb41ad8ba9473261ab74e63fe6ea648e4ff41821121a
|
|
BLAKE2b-256 checksum How to use checksums |
ef541b3ad97b22da82b2309705dad74b8762fcc6c4b5b2883750d80022d6bd63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logRelease files / geomcore-0.38.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | geomcore-0.38.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
da958958b91c4c145b1af840d4c54c42745a34bd06f663419170a3c593f20fea
|
|
BLAKE2b-256 checksum How to use checksums |
3d48f6e5c31c55fb89eda62de8de1afbad94f89b68377326a446b54b80b668fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logRelease files / geomcore-0.38.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | geomcore-0.38.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.9 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
63456a89167618c5217e44b57dd67d2a76d913a96352f6cb7ec71abe9b36339c
|
|
BLAKE2b-256 checksum How to use checksums |
bdd87dba8a32ae81e5b0ab5114d92899dbdcca17da1b78d4f8e323fdafa30af0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logSecurity for geomcore 0.38.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.
Full provenance
All 5 files in this release have been uploaded with provenance metadata.
Attestation for geomcore-0.38.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logA 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.