merge_stl
Merge multiple STL files into a single mesh, with optional positional offsets for each part.
Instructions
Merge multiple STL files into a single mesh (supports positional offsets).
Use this when you need to position parts relative to each other.
For simple concatenation without positioning, ``merge_mesh_files`` also works.
Combines triangle data from multiple STL files into one output file.
Optionally translates each part to a specified position before merging.
:param file_paths: JSON array of STL file paths.
:param output_path: Where to write the merged STL.
:param positions: Optional JSON array of {"x", "y", "z"} offsets per file.
:returns: Dict with output_path, total_triangles, bounding_box.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positions | No | ||
| file_paths | Yes | ||
| output_path | Yes |