The command reference now describes the 13 gizmo and printing commands: which gizmo or dialog each opens, the
arguments that do the job without it, the Print button's routes for each kind of printer, and what is left to the
dialog. The server design says how the commands reach the gizmos, the print dialogs and the printer, and the test
notes name what no test reaches: the Bambu print dialogs and a physical printer.
The Action Replay window was hidden from every GUI tool, so an agent or a test that opened it could not close it,
and it stayed on screen for the rest of the run. It is now listed with a ref, its page can be read, and Escape sent
to it closes it. Its file pickers and confirmation prompts stay the person's alone.
The sweep's objects, presets, filaments, settings, project files, slicing, gizmos and GUI tools are tested by Python
tests that compare the app's state after every step with the values their entries write out, in place of the
replays, and the existing tests' checks that could not fail now can. The calls these tests found wrong now behave
as described: moving one instance no longer sinks the others, a toolpath export writes the layers shown, an
auto-answered dialog no longer reports its call blocked, and a web dialog that has just opened takes requests.
test_plates.py takes the place of the plate replays: after each add, duplicate, rename, lock, select or delete it
reads the plate list back and compares it with the state its entry writes out, and it checks what a lock keeps
Arrange and Auto-Orient from doing, a plate's own settings, the filament slots and the plate icons. Arranging a
locked plate is refused with advice that names plate_lock with the plate, instead of a needless plate_select.
The MCP commands, their catalog and the docs called a command's Speed Dial entry a "tile" and the Speed
Dial itself "the palette", words the app already uses for an entry's icon and for sets of colours. They now
say "action" and "Speed Dial", as action_search and action_run do, and the catalog's tiles, tile_group and
in_palette fields are now actions, action_group and has_own_action. Speed Dial ids, and the pins people
stored under them, are unchanged.
The MCP command descriptions, docs and code called an entry of the app's
menus a "row", the word they also use for the rows of the object list and
the app's other lists. They now say "menu item", so a row is only ever a row
of a list or table. Command names, arguments and Speed Dial tile ids are
unchanged.
The commands outside the Design tab now have a reference like the Design tab's: what each does and
takes, which menu rows call it, which calls ask in a dialog and the call that does not. Both live in
docs/HLSD/mcp-tools.md, OrcaSlicer's commands first and the Design tab's at the end.
Outside the Design tab an agent had 175 commands, 50 of them in the tool
list. There are now 118, named by what they act on (`object_`, `plate_`,
`preset_`, `filament_`, `plugin_` and so on), and 115 are listed. Each takes
its target and values in the call, acts on the selection when it names no
target and says what it acted on; an old name is refused. Printers and
system filaments install and uninstall, preferences read and write, plugins
enable, reload, uninstall and refresh, and objects reorder, with no dialog
to drive.
The Speed Dial keeps its 129 tiles under the same ids. Eight defects in the
rows these commands share with the menus are fixed. For a person: an object
row that cannot run says why instead of "Select an object first.", rows
that failed no longer claim success, Duplicate Plate can be undone, and
Refresh Plugins picked while a refresh runs now runs after it instead of
beside it.
The Design commands follow Fusion 360's names and grouping: one command per
job, with a `type` argument for its variants, so 133 commands become 88. An
old name or argument is refused. What the tab could do and no command
reached now has one: re-opening a committed sketch, selecting geometry,
confirming or cancelling an open tool, placing a body, sketch patterns and
dimensions, and text, SVG art and projected edges from arguments.
Ten defects in the Design tab's cards and sketch tools found on the way are
fixed. For a person: the Mirror tool binds a mirrored line or arc to its
source, Commit to Plate and Export STEP stop when the open card's Confirm
fails, and the Speed Dial keeps a query typed before its list arrives.
Everything that drives OrcaSlicer by command (the dispatch of the command
catalog, jobs, the journal, replays, Python scripts, recordings) lived
inside the MCP server's service class. So Action Replay, the Run Script
panel, a plugin's tool call, a person's recording and a run from the
command line each had to start "the MCP service", with all of its GUI
hooks, although none of them needs a server or an agent.
The automation runtime is now a subsystem of its own. It starts the first
time a front end asks for it and knows none of them. The MCP endpoint
(HTTP, the protocol, the token, the discovery file, the takeover of a port
another window holds) is one front end beside the others, opened and
closed without stopping what the others run. The widget inspector, menu
capture and ImGui item recording are turned on only by a front end that
drives the GUI, so a person's recording or long command does not carry
them.
The part of the runtime that needs no GUI is the library
libslic3r_automation, built without wxWidgets and tested by its own suite,
automation_tests. A wx dependency in it fails to build, and its tests no
longer link the GUI library or the embedded Python.
The command line has one option set for this: --run FILE runs a replay or
a Python script once the GUI is ready, with --outputdir for its files, and
--unrestricted-scripts and --cad turn their settings on for one run
without saving them. --mcp-run, --mcp-run-out and --mcp-token are gone;
the scripts setting is python_scripts_unrestricted and a session's output
folder is <datadir>/automation/out. get_app_state reports ready and
version at the top level, and its mcp block describes the endpoint only.
No change to slicing output.
A Design tile's command says it follows its right-click menu row and may
decline, export_config says how its rows are named, and the generated skill
reference says which commands are the person's own and how the Design tab is
turned on.
Every command takes JSON arguments and has one function for a person and for
automation: with no arguments it does what a person's pick does, and with
arguments it runs silently. The Design tab's CAD tools are commands that
call_tool runs, and they show as Speed Dial tiles on the Design tab.
* Fix missing seam markers in the preview on overhanging outer walls
An outer wall that starts on an overhang is labelled "Overhang wall" in
G-code, like the overhanging part of an inner wall, so the preview's seam
detector never opened a candidate for it.
The G-code generator now writes one comment, OUTER_OVERHANG_WALL, before
such a wall. The detector reads it and treats that wall as an outer wall
for seam detection only, so extrusion roles, legend and colours stay the
same. Markers also appear in G-code opened from a file.
* Share the outer wall check and drop the sloped seam test variant
A loop that starts on an overhang never gets a scarf seam, so the tagged
stream with a sloped start could not be generated. The outer wall check
used by the G-code generator and SeamPlacer moves to is_outer_wall(), and
the generator runs it last, after the cheap conditions.
A Speed Dial command, the MCP tool that does the same thing and the plugin
API's preset calls now run one shared operation, so every route accepts and
refuses the same states, with one wording and a code for each refusal. An
import by a command or a tool is one undo step, and import_file adds geometry
only.
The cases where two routes behaved differently now behave the same: a project
is not saved under a .gcode.3mf name, an empty project exports as .3mf but not
as STL, arrange runs from any view and with a gizmo open, a mixed-colour
filament slot is refused as one, a hidden preset is shown before it is
selected, and a layer is refused while the Preview has none.
Focus mode hid an object only when its footprint missed the current plate, and the footprint included its modifiers, negative volumes and support enforcers/blockers. A large modifier reaching over another plate kept the object drawn there. Build the footprint from the model parts only, as plate membership does.
BuildIntersectList() merge-sorts the active edges by their new x to find crossings. Most scanbeams have no crossing, so AdjustCurrXAndCopyToSEL() now reports whether the edges stayed in order and the sort is skipped when they did.
OCCT now builds only the toolkits libslic3r links, 26 with SLIC3R_CAD and 23 without, instead of whole modules. Every module is off and the list is passed in BUILD_ADDITIONAL_TOOLKITS, and OCCT adds their dependencies itself. The list must match OCCT_LIBS in src/libslic3r/CMakeLists.txt.
OCCT's own precompiled headers are on. clang-cl can break exception copies with a precompiled header (llvm/llvm-project#53486), so clang-cl Ninja builds compile OCCT with cl, as Windows ARM64 already did. With the Visual Studio generator OCCT may stay on clang-cl, so precompiled headers are off there. The .pch files are deleted after install. libslic3r clears INTERFACE_PRECOMPILE_HEADERS on the OCCT targets so OCCT's headers are not merged into its own.
The Windows x64 OCCT DLLs are now built with cl instead of clang-cl. OCCT's build time drops by about 45% on Windows and from 6m28 to 1m58 on Linux.
set_window brings a window minimized while zoomed back to normal, and its documentation covers
raising windows and native dialogs. A right-click in the Design tab picks what it points at on
Retina displays, where the Design tab GUI tests now run too, and the Text dialog opens in a plain
font. The app no longer hangs when dialogs open and close with the display asleep, and no longer
crashes when a new project or a delete removes an object that has parts.
Python scripts always run and follow the plugin permission checks; the switch in Preferences lets
them bypass the checks. Plugins call the tools and offer operations without a separate permission.
list_objects replies as the Objects panel is laid out: each plate with the
objects on it, then the objects on no plate. list_plates gives how many
objects a plate has, and every tool refuses a plate the project lacks in the
same words.
A tool, Speed Dial action or CAD tool called through the wrong tool is told
where it runs, search_actions ranks a query's words as search_tools does, and
every list replies with items.
Renamed arguments: set_view's target and view are look_at and canvas,
list_widgets' root is target, mouse_gesture's path is waypoints, the presets'
changes is preset_changes, set_height_ranges' layer_config_ranges is ranges,
and the main window is "main" for screenshot and start_recording.
The harness's launch takes --python-scripts to allow Python scripts in the
instance it starts.
A drag that starts on the center of mass details box, off its close button, now turns or pans the view like a drag over empty space. Its release no longer opens the canvas context menu. A right click off the box now closes it, the same as a left click. A click inside the box always goes to ImGui, including the click that closes a context menu.