Код: Выделить всё
box = trimesh.creation.box(bounds=[[min_x, min_y, 0], [max_x, max_y, max_z]])
cut_mesh = trimesh.intersections.slice_mesh_plane(mesh, -box.facets_normal, box.facets_origin)
Есть ли еще один простой способ сделать нарезку, включая цвета? < /p>
Подробнее здесь: https://stackoverflow.com/questions/794 ... ing-colors