Registry / data / pygel3d

pygel3d

JSON →
library0.6.1pypypi✓ verified 84d ago

PyGEL 3D provides Python bindings for the GEL (Geometry Engine Library), offering tools for polygonal mesh based geometry processing, including mesh I/O, simplification, remeshing, and boolean operations. Current version is 0.6.1. Release cadence is irregular.

pip install pygel3d
INSTALL
IMPORT
SIG · PYGEL3D
P
pygel3d
datapythonv0.6.1
Install
16.3s avg
Import
—
Disk
439MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.6.1 · 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
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 437.6MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 16.3s · import 0.000s · 429MB
439MB installed
● package 439MB
Code
Verified usage

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

IntVector
✓ from pygel3d import IntVector
✗ from pygel3d import Mesh
Vec3dVector
✓ from pygel3d import Vec3dVector
InvalidIndex
✓ from pygel3d import InvalidIndex

Creates a simple box mesh, converts to half-edge representation, and prints face count.

from pygel3d import Mesh, hmesh # Create a simple mesh (a box) box_mesh = Mesh() box_mesh.add_vertex([0,0,0]) box_mesh.add_vertex([1,0,0]) box_mesh.add_vertex([1,1,0]) box_mesh.add_vertex([0,1,0]) box_mesh.add_face([0,1,2,3]) # Convert to half-edge mesh hm = hmesh.Manifold.from_mesh(box_mesh) print("Number of faces:", hm.num_faces())
Debug
Known issues
breakingThe import path changed from 'pygel' to 'pygel3d' starting with version 0.6.0. Old code using 'import pygel' will fail.
fix
Replace 'import pygel' with 'import pygel3d' and update all submodule references accordingly.
affects: >=0.6.0
gotchaMesh simplification functions expect a hmesh.HalfedgeMesh object, not a raw Mesh. Passing a Mesh will cause AttributeError.
fix
Convert Mesh to half-edge mesh using hmesh.Manifold.from_mesh() before calling simplify functions.
affects: all
deprecatedThe 'gl_display' module relies on PyOpenGL and may be removed in future releases as the library moves to headless processing.
fix
Use external visualization libraries (e.g., trimesh, polyscope) instead of gl_display.
affects: <=0.6.1
Upgrade
Version history
0.6.1latest on PyPI · released Feb 24, 2025
Audit
Dependencies
numpyrequiredArray and matrix operations for mesh data
Agent activity
9 hits · last 30 days
node
8
Resources
pygel3d — pip install pygel3d · libregistry