{"id":27206,"library":"opengeode-core","title":"OpenGeode-core","description":"OpenGeode is an open-source C++/Python framework for representing and manipulating geometric models, with a focus on mesh and boundary representation. Current version 16.5.1, active development with quarterly releases. Provides high-performance data structures and algorithms for geometric modeling.","status":"active","version":"16.5.1","language":"python","source_language":"en","source_url":"https://github.com/Geode-solutions/OpenGeode","tags":["geometric-modeling","mesh","boundary-representation","c++-bindings","3d"],"install":[{"cmd":"pip install opengeode-core","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"OpenGeode","correct":"import opengeode"}],"quickstart":{"code":"import opengeode\n\n# Create a 3D mesh\nmesh = opengeode.TetrahedralSolid3D()\nmesh.set_vertices([\n    (0,0,0),\n    (1,0,0),\n    (0,1,0),\n    (0,0,1)\n])\nmesh.add_tetrahedron([0,1,2,3])\nprint(f\"Vertices: {mesh.nb_vertices()}\")\nprint(f\"Tetrahedra: {mesh.nb_tetrahedra()}\")","lang":"python","description":"Create a 3D tetrahedral mesh with one tetrahedron."},"warnings":[{"fix":"Use batch operations and avoid element-wise loops in Python.","message":"OpenGeode is primarily a C++ library with Python bindings; direct Python object manipulation may have unexpected performance overhead. Many operations are optimized for C++ usage.","severity":"gotcha","affected_versions":"all"},{"fix":"Change 'import OpenGeode' to 'import opengeode'.","message":"The old 'import OpenGeode' (capital O) no longer works. Must use 'import opengeode' (lowercase).","severity":"deprecated","affected_versions":">=14.0"},{"fix":"Update imports: from opengeode.geometry to opengeode.core.geometry.","message":"In version 16.0, the geometry module was reorganized. Functions like 'compute_distance' moved from opengeode.geometry to opengeode.core.geometry.","severity":"breaking","affected_versions":">=16.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use 'import opengeode' (lowercase).","cause":"Importing with wrong capitalization (O instead of o).","error":"ModuleNotFoundError: No module named 'OpenGeode'"},{"fix":"Ensure you have installed the full package and call 'opengeode.create_tetrahedral_solid3d()' or check documentation for correct class name.","cause":"Method name changed or not imported. Modern OpenGeode uses 'TetrahedralSolid3D' but may require loading extension.","error":"AttributeError: module 'opengeode' has no attribute 'TetrahedralSolid3D'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}