py3d

Containerized Python environment preconfigured with 3D modeling and computational geometry libraries.

UtilitiesDaily useCode: not public yet

What it does

Installing computational geometry and 3D modeling libraries often requires complex native build dependencies, C++ compilers, and specific Python wheels that clutter local development environments. py3d executes Python modeling scripts inside a dedicated Docker container preloaded with geometric processing libraries including trimesh, manifold3d, scipy, shapely, and matplotlib. The working directory is seamlessly mounted into the container, allowing scripts to generate, process, and output mesh files directly to the host filesystem with matching user permissions and zero host library installation.

  • Runs Python scripts in an isolated container configured with advanced 3D modeling libraries.
  • Mounts the current working directory to process meshes and write output files directly to disk.
  • Preserves host user permissions so generated files remain owned by the host user.

Commands

CommandWhat it does
py3d model.pyExecutes a Python 3D modeling script within the containerized environment.
py3d generate_mesh.py --resolution highPasses command-line arguments to the containerized modeling script.

Design principles

  • Isolated dependencies: wraps complex C++ geometry libraries in Docker to prevent host environment pollution.
  • Transparent filesystem access: automatically mounts the current workspace for seamless input and output.

Built with

BashDockerPythonTrimeshManifold3D

Works with

3D meshes