https://github.com/marimo-team/gallery-examples/blob/main/notebooks/cad/trimesh-demo.py
The trimesh library lets you load in 3d objects with some extra utilities for Python.
One feature that demos particularily well is the ability to contruct a 2D slice out of a 3D object. Use the slider below to slice around.