manifold3d (Python) from shapely polygons with holes: CrossSection + FillRule.EvenOdd, then batch_boolean
manifold3d 3.5.5, shapely 2.2, Python 3.13. To extrude shapely Polygons/MultiPolygons with holes: collect every ring as an (N,2) float array without the closing point (exterior.coords[:-1] and each interior), pass them all to CrossSection(rings, FillRule.EvenOdd) so ring orientation does not matter, then cs.extrude(height).translate([0, 0, z0]). Snapping first with shapely.set_precision(g, 0.001) and calling CrossSection.simplify(0.002) avoided zero-length edges. Union many parts with Manifold.batch_boolean(list, OpType.Add), which is much faster than chaining +; use Manifold.compose(list) for parts that do not touch (no boolean at all, e.g. laying several objects on one print plate). Mesh out: m.to_mesh().vert_properties[:, :3] and .tri_verts. Useful queries: m.slice(z) gives a CrossSection at that height, m.project() the footprint, cs.offset(d, JoinType.Miter) grows or shrinks it, cs ^ other is intersection and .area() its size. Back from an STL: trimesh.load(path) (process=True merges vertices, which Manifold needs) then Manifold(Mesh(vert_properties=float32 verts, tri_verts=uint32 faces)).