Registry / data / geode-explicit

geode-explicit

JSON →
library7.3.0pypypi✓ verified 84d ago

geode-explicit is the OpenGeode module from Geode-solutions for defining and manipulating explicit geometric models, such as regular grids and explicit solids, within a 3D space. It is part of a larger ecosystem of C++ and Python libraries for geometric modeling. The library is actively maintained with frequent updates and bug fixes, typically following a rapid release cadence for the Geode-solutions ecosystem, with the current version being 7.0.7.

pip install geode-explicit
INSTALL
IMPORT
SIG · GEODE-EXPLICIT
G
geode-explicit
datapythonv7.3.0
Install
4.3s avg
Import
Disk
123MB
Pass rate
4/ 10
Env Coverage4 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v7.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 4.55s
py 3.11
✕ build_error
✓ 3.95s
py 3.12
✕ build_error
✓ 3.5s
py 3.13
✕ build_error
1/2 runs
py 3.9
✕ build_error
✓ 5.25s
123MB installed
● package 123MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BRepExplicitModeler
from geode_explicit import BRepExplicitModeler
from geode_explicit import RegularGrid
GeodeExplicitBRepLibrary
from geode_explicit import GeodeExplicitBRepLibrary
build_brep_from_topography_and_curve
from geode_explicit import build_brep_from_topography_and_curve

This quickstart demonstrates how to create a 3D `RegularGrid` from a bounding box, save it to a file, and then load it back. It utilizes common utility classes like `Point3D` and `BoundingBox` from `geode-common`.

import os from geode_explicit import RegularGrid from geode_common import Point3D, BoundingBox # Define the bounding box for the grid min_point = Point3D([0.0, 0.0, 0.0]) max_point = Point3D([10.0, 10.0, 10.0]) grid_bbox = BoundingBox(min_point, max_point) # Create a 3D regular grid with 10x10x10 cells grid_dimensions = [10, 10, 10] grid = RegularGrid(grid_bbox, grid_dimensions) print(f"Created a RegularGrid with {grid.nb_cells()} cells.") print(f"Grid origin: {grid.grid_origin()}") print(f"Grid cell size: {grid.cell_size()}") # Save the grid to a file output_filename = "my_regular_grid.grd" grid.save_regular_grid(output_filename) print(f"Grid saved to {output_filename}") # Load the grid from the file loaded_grid = RegularGrid.load_regular_grid(output_filename) print(f"Loaded a RegularGrid with {loaded_grid.nb_cells()} cells.") # Clean up the created file os.remove(output_filename)
Debug
Known issues
breakingThe Geode-solutions ecosystem, including `geode-explicit`, underwent significant refactoring for version 7.x. Users migrating from 6.x should expect breaking API changes, particularly in class names, constructor arguments, and method signatures.
fix
Refer to the official Geode-solutions documentation and release notes for version 7.x for updated API details. Update import paths, class instantiations, and method calls accordingly.
affects: 6.x to 7.x
gotcha`geode-explicit` is built on top of C++ libraries. While `pip` handles most dependencies, error messages can sometimes be low-level C++ exceptions (e.g., `std::runtime_error`) which are less descriptive than typical Python errors. Debugging may require familiarity with underlying geometric concepts.
fix
When encountering cryptic errors, check the input data for validity (e.g., non-degenerate geometries, correct dimensions) and refer to the Geode-solutions C++ documentation for deeper insight into specific functions.
affects: All versions
breakingThe library has strict Python version requirements (`>=3.9, <3.13`). Attempting to install or use `geode-explicit` with unsupported Python versions will lead to installation failures or runtime errors due to pre-compiled C++ bindings.
fix
Ensure your Python environment meets the `requires_python` specification. Use a virtual environment manager like `conda` or `venv` to create an environment with a compatible Python version.
affects: All versions
gotcha`geode-explicit` relies on a large ecosystem of other `geode-*` packages (e.g., `geode-common`, `geode-model`). While `pip` manages these dependencies, ensuring all `geode-*` packages in your environment are of compatible versions is crucial. An incompatibility in one package can lead to runtime issues or crashes in `geode-explicit`.
fix
Always install `geode-explicit` in a clean virtual environment or ensure all `geode-*` packages are updated to their latest compatible versions using `pip install --upgrade geode-solutions` (which attempts to upgrade the entire ecosystem).
affects: All versions
Upgrade
Version history
7.3.0latest on PyPI · released Jun 13, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources