Slicer un modèle 3D avec PrusaSlicer
slice_prusaslicerConvert STL/3MF files to G-code using PrusaSlicer CLI, with configurable slicing parameters or automatic profile generation based on print goals.
Instructions
Slice un fichier STL/3MF avec PrusaSlicer CLI et retourne le G-code + statistiques. Peut utiliser un fichier .ini existant ou générer une config depuis une intention.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"stl_path": "<stl_path>"
},
"name": "slice_prusaslicer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stl_path | Yes | Chemin absolu vers le fichier STL ou 3MF | |
| config_path | No | Chemin vers un fichier .ini PrusaSlicer existant | |
| output_gcode | No | Chemin de sortie pour le G-code | |
| goal | No | Si pas de config_path : intention pour générer un profil auto | |
| printer | No | Nom de l'imprimante (pour génération auto) | |
| nozzle | No | Diamètre de buse (pour génération auto) | |
| material | No | Matériau (pour génération auto) |