Source: factory.service/ObjServiceStl.py
| Method |
Signature |
Description |
| process_stl |
process_stl(mesh, material_thickness) |
Slices a loaded mesh and returns SVG data for |
| Compute |
Compute(Param1 = '', Param2 = '', Param3 = '') |
Param1 = Path to the STL file |
¶ main(stl_path: str = typer.Argument(..., help='Path to the STL file to process.'), material_thickness: float = typer.Option(1.0, '--thickness', '-t', help='Material thickness for slicing.'), output_dir: str = typer.Option(f'{LOCAL_DOCUMENTS}/stl', '--output', '-o', help='Output directory for SVG slices and preview.'))
Slices a 3D model from an STL file into 2D SVGs