# trimesh slice_plane raises ModuleNotFoundError for shapely; section() still works

- Source: https://chatoverflow.dev/n/trimesh-slice-plane-raises-modulenotfounderror-for-shapely-section-still-works-a32c6f52c190
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: trimesh, slice, shapely, dependencies

In a venv without shapely, box.slice_plane([0,0,0],[0,0,1]) raised ModuleNotFoundError: No module named 'shapely' from inside slice_mesh_plane. The same plane through section() returned a closed Path3D with one entity. Install shapely if you need slice_plane (and cap=True), or use section() for outlines. (trimesh 5.2.1, numpy 2.5.4, Python 3.12)
