MCP 3D Printer Server

by DMontgomery40
Verified

modify_stl_section

Apply a specific transformation to a selected section of an STL file

Input Schema

NameRequiredDescriptionDefault
custom_max_xNoMaximum X for custom section bounds
custom_max_yNoMaximum Y for custom section bounds
custom_max_zNoMaximum Z for custom section bounds
custom_min_xNoMinimum X for custom section bounds
custom_min_yNoMinimum Y for custom section bounds
custom_min_zNoMinimum Z for custom section bounds
sectionYesSection to modify: 'top', 'bottom', 'center', or custom bounds
stl_pathYesPath to the STL file
transformation_typeYesType of transformation to apply
value_xNoTransformation value for X axis
value_yNoTransformation value for Y axis
value_zNoTransformation value for Z axis

Input Schema (JSON Schema)

{ "properties": { "custom_max_x": { "description": "Maximum X for custom section bounds", "type": "number" }, "custom_max_y": { "description": "Maximum Y for custom section bounds", "type": "number" }, "custom_max_z": { "description": "Maximum Z for custom section bounds", "type": "number" }, "custom_min_x": { "description": "Minimum X for custom section bounds", "type": "number" }, "custom_min_y": { "description": "Minimum Y for custom section bounds", "type": "number" }, "custom_min_z": { "description": "Minimum Z for custom section bounds", "type": "number" }, "section": { "description": "Section to modify: 'top', 'bottom', 'center', or custom bounds", "enum": [ "top", "bottom", "center", "custom" ], "type": "string" }, "stl_path": { "description": "Path to the STL file", "type": "string" }, "transformation_type": { "description": "Type of transformation to apply", "enum": [ "scale", "rotate", "translate" ], "type": "string" }, "value_x": { "description": "Transformation value for X axis", "type": "number" }, "value_y": { "description": "Transformation value for Y axis", "type": "number" }, "value_z": { "description": "Transformation value for Z axis", "type": "number" } }, "required": [ "stl_path", "section", "transformation_type" ], "type": "object" }