bambu-printer-mcp 1.1.61 → 1.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
- package/src/index.ts +3 -1
package/README.md
CHANGED
|
@@ -1131,7 +1131,7 @@ Inspect the slicer settings embedded in a saved 3MF template or in an extracted
|
|
|
1131
1131
|
}
|
|
1132
1132
|
```
|
|
1133
1133
|
|
|
1134
|
-
This returns a compact summary of the high-signal settings such as printer preset, default print profile, filament profiles, layer height, infill density, shell counts, support mode, and bed type. It accepts either `source_path` or `template_name`. For 3MF inputs it also writes the extracted settings blob to a temp path so the result can be reused directly
|
|
1134
|
+
This returns a compact summary of the high-signal settings such as printer preset, default print profile, filament profiles, layer height, infill density, shell counts, support mode, and bed type. It accepts either `source_path` or `template_name`. For 3MF inputs it also writes the extracted settings blob to a temp path so the result can be reused directly, and returns `own_process`: true when the 3MF carries its own process (a designer's project), so `slice_stl` and `print_3mf`'s auto-slice slice it with that process unless the call names `slicer_profile`, `template_name` or `template_3mf_path`.
|
|
1135
1135
|
|
|
1136
1136
|
#### slice_with_template
|
|
1137
1137
|
|
package/dist/index.js
CHANGED
|
@@ -1632,6 +1632,8 @@ class BambuPrinterMCPServer {
|
|
|
1632
1632
|
metadata_keys: Object.keys(parsed.metadata),
|
|
1633
1633
|
summary: summarizeSliceSettings(config),
|
|
1634
1634
|
raw_key_count: Object.keys(config).length,
|
|
1635
|
+
// ownProcessTemplate itself, for a call that names no profile or template, so this can't drift from slicing.
|
|
1636
|
+
own_process: (await ownProcessTemplate({}, sourcePath, undefined)) !== undefined,
|
|
1635
1637
|
};
|
|
1636
1638
|
}
|
|
1637
1639
|
const content = fs.readFileSync(sourcePath, "utf8");
|
|
@@ -2043,7 +2045,7 @@ class BambuPrinterMCPServer {
|
|
|
2043
2045
|
},
|
|
2044
2046
|
{
|
|
2045
2047
|
name: "get_slice_settings",
|
|
2046
|
-
description: "Inspect slicer settings from a saved 3MF template or a JSON/config slicer profile without slicing anything.",
|
|
2048
|
+
description: "Inspect slicer settings from a saved 3MF template or a JSON/config slicer profile without slicing anything. For a 3MF, own_process is true when the file carries its own process (a designer's Bambu Studio or Orca project), so slice_stl and print_3mf's auto-slice slice it with that process unless the call names slicer_profile, template_name or template_3mf_path.",
|
|
2047
2049
|
inputSchema: {
|
|
2048
2050
|
type: "object",
|
|
2049
2051
|
properties: {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -2082,6 +2082,8 @@ class BambuPrinterMCPServer {
|
|
|
2082
2082
|
metadata_keys: Object.keys(parsed.metadata),
|
|
2083
2083
|
summary: summarizeSliceSettings(config),
|
|
2084
2084
|
raw_key_count: Object.keys(config).length,
|
|
2085
|
+
// ownProcessTemplate itself, for a call that names no profile or template, so this can't drift from slicing.
|
|
2086
|
+
own_process: (await ownProcessTemplate({}, sourcePath, undefined)) !== undefined,
|
|
2085
2087
|
};
|
|
2086
2088
|
}
|
|
2087
2089
|
|
|
@@ -2570,7 +2572,7 @@ class BambuPrinterMCPServer {
|
|
|
2570
2572
|
},
|
|
2571
2573
|
{
|
|
2572
2574
|
name: "get_slice_settings",
|
|
2573
|
-
description: "Inspect slicer settings from a saved 3MF template or a JSON/config slicer profile without slicing anything.",
|
|
2575
|
+
description: "Inspect slicer settings from a saved 3MF template or a JSON/config slicer profile without slicing anything. For a 3MF, own_process is true when the file carries its own process (a designer's Bambu Studio or Orca project), so slice_stl and print_3mf's auto-slice slice it with that process unless the call names slicer_profile, template_name or template_3mf_path.",
|
|
2574
2576
|
inputSchema: {
|
|
2575
2577
|
type: "object",
|
|
2576
2578
|
properties: {
|