Skip to main content

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 Circle, Point, Vector
import math

circle = Circle(Point.origin(), Vector.unit_z(), 2.0)
point = circle.point_at(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 points_at in a single native call per batch.
  • Rigid transformations via a single Transform type, applied with transformed.
  • Containment on every curve and surface; project_point and extrema return 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, the method that ran (EXACT closed form or NUMERIC search) and its completeness. The numeric a.extrema(b) of two curves returns its distance minima and completeness. Each result is also a sequence of its primary items: len, iteration and indexing run over the hits, the surface–surface curves, the minima or a discretization's points, and points lists the hit points.
  • Local properties: curve tangent, curvature and curvature_center (signed in 2D); surface normal and curvatures (principal, mean and Gaussian, with principal directions), each None where 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: surface.curve_3d_to_uv(curve) (exact) and curve_3d_to_uv_within(surface, curve, max_deviation) (one B-spline within a deviation), and the inverse surface.uv_curve_to_3d(uv_curve) (exact) and uv_curve_to_3d_within(surface, uv_curve, max_deviation) (one B-spline within a deviation).
  • B-spline interpolate and least-squares approximate.
  • 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.44.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 geomcore 0.44.0
File Size Uploaded Provenance Actions
geomcore-0.44.0.tar.gz 1.5 MB With provenance Details for geomcore-0.44.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for geomcore 0.44.0
File Actions
geomcore-0.44.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for geomcore-0.44.0-cp39-abi3-win_amd64.whl
geomcore-0.44.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for geomcore-0.44.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
geomcore-0.44.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for geomcore-0.44.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
geomcore-0.44.0-cp39-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.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.44.0-cp39-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl

Total release size: 16.9 MB

Release files / geomcore-0.44.0.tar.gz

Download URL geomcore-0.44.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
af7b9a48d2ea69cc3cbc67fbeb09b3140dd96d5cc51c38427e6ecefad1adab30
BLAKE2b-256 checksum
How to use checksums
b6ca60ea24b510a2a303f10750f46703c4921515babd9a87e3c35af34f469f1b
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 Nov 6, 2026.

Transparency log

Release files / geomcore-0.44.0-cp39-abi3-win_amd64.whl

Download URL geomcore-0.44.0-cp39-abi3-win_amd64.whl
Size 3.1 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
737c1077b62dbdc1bcdb1161f81c7558f0a8e82d57b8be17098d735f77c03c04
BLAKE2b-256 checksum
How to use checksums
89ec439e7b175d14a558619ac9c54e4e07e7d6200b43b7d5a94381288c82eca0
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 Nov 6, 2026.

Transparency log

Release files / geomcore-0.44.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL geomcore-0.44.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 3.3 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
2b666d90088c9e8f7dfaecd4f5472fef579c3b77011c12cdada4fc31cb81c1a5
BLAKE2b-256 checksum
How to use checksums
9b088d70879e3f5bfc8f092ede86ff9e28f7be6d5c6fe3f9ff6a7bf8eeff372d
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 Nov 6, 2026.

Transparency log

Release files / geomcore-0.44.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL geomcore-0.44.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 3.1 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
ec840d2047bb8df341147608bdaef46c451b5bb434055d9827f347d8101df139
BLAKE2b-256 checksum
How to use checksums
58cfc5740a71dbc7b04653048c5e6154c3b2289b4a298cc2b40e598409a3de99
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 Nov 6, 2026.

Transparency log

Release files / geomcore-0.44.0-cp39-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl

Download URL geomcore-0.44.0-cp39-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl
Size 6.0 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
4f508776a324a6791c38f4fb7cef8dc1f1ffefdc716a5499c386a85bd4fd6e9d
BLAKE2b-256 checksum
How to use checksums
146cb2813f30bfd112c5851d74f8e3c0e5b55ab02f423bb3b971506e2c0e26c5
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 Nov 6, 2026.

Transparency log

Security for geomcore 0.44.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.

Select from 5 files

Attestation for geomcore-0.44.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 Nov 6, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.44.0 This release

5 release files Full provenance

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