auto_orient_model
Evaluates multiple 3D model rotations to find the optimal print orientation, improving bed adhesion and reducing support needs. Optionally applies the best orientation and saves a reoriented STL file.
Instructions
Find the optimal print orientation for a 3D model.
Evaluates multiple rotations of the model and scores each based
on bed adhesion, support requirements, print height, and
overhang coverage. Optionally applies the best orientation and
writes a reoriented STL file.
Args:
file_path: Path to an STL or OBJ mesh file.
candidates: Number of candidate orientations to evaluate
(default 24).
nozzle_diameter: Printer nozzle diameter in mm (default 0.4).
apply: If True, apply the best orientation and write the
reoriented STL to disk.
output_path: Output path for the reoriented STL. Only used
when ``apply`` is True. Defaults to
``<input>_oriented.stl``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| file_path | Yes | ||
| candidates | No | ||
| output_path | No | ||
| nozzle_diameter | No |