Each place an agent finds commands under (Objects, Plates, View and windows and so on) now has one source file
under Mcp/Tools/, and the Design tab's commands have one file per Design heading, so a developer finds a command
where tool_list lists it and adds a new one beside its neighbours. A unit test fails when a command is added in
another place's file. No change to what agents or people see: the command catalog is byte-identical.
A new pane, opened from View > Agent Activity or the Speed Dial, lists live what an AI agent and other
automation (Action Replay, Run Script, the command line, plugins) do in OrcaSlicer while it is open: each
call with its source, what it changed, failures with their reason, the steps of a run and the dialogs a
rule answered. Opening a call shows its request and response with passwords, keys and typed text masked,
so a person can watch and check what an agent is doing to their project.
* Precise Seam: intersect modifiers with the model surface, not the perimeter centerline
A modifier acted where it crossed the centerline of the printed perimeter, which
lies about half a line width inside the model surface and deeper at corners. It
now acts where it crosses the model surface.
- The surface is reconstructed from the centerline by a shift of half the
external perimeter width less the XY compensation and a 5 um margin, clipped
against the modifier and carried back onto the centerline.
- On elephant foot layers and with Arachne the shift is measured against the
layer's islands.
- With fuzzy skin the perimeter generator keeps the centerline before texturing
(ExtrusionLoop::untextured); modifiers are evaluated on it and the points are
carried onto the noisy loop.
- Open extrusions are left out of Precise Seam.
- The "had no effect" warning no longer names the centerline.
See docs/HLSD/precise-seam.md.
* Precise Seam: fuzzy skin window per loop kind; no negative search reach
The transfer window of a fuzzy skin loop counted every region with fuzzy
skin on the layer, including those that do not texture its kind (a Hole
region for contours, an External one for holes). FuzzySkin.cpp skips such
regions, so mixed settings widened the transfer search and the weak zone
order check. The window is now computed for contours and holes separately
from the regions should_fuzzify() selects, as a function in
PreciseSeamInternal.hpp with a unit test.
The modifier prefilter of the measured shift no longer takes a negative
reach: a compensation beyond the whole wall depth leaves no shift.
* Precise Seam: shift narrow classic loops by their own line; keep the warning translations
Without thin wall detection the classic generator prints an island too narrow for
two lines with a thinner line and insets the loop by half of that width, while the
surface shift used the region's external perimeter width. The reconstructed
surface lay 0.055 x spacing - 5 um outside the model, more than the margin, so a
modifier flush against the face acted on such loops. The shift of a classic loop
now comes from the width of its own external perimeter path; Arachne loops are
measured as before.
The two "had no effect on the seam" messages lost their bracketed part, and the
catalogs dropped the old entries without getting the new ones. The entries are
back under the new msgids with the existing translations, trimmed of the
bracketed part.
* Precise Seam: keep the aligned seam inside an Enforced modifier zone
A loop with an Enforced zone in effect now has exact ends: alignment no longer
moves the seam up to 0.2 mm past a zone boundary, and Random does not sample
the edge leaving the zone.
* Precise Seam: test both ends of an Enforced zone in alignment
The regression test for the aligned seam leaving an Enforced modifier zone
ran on the right face only, where the stepping end of the zone is the last
candidate of the Enforced run. It now also runs on the left face, where the
same end is the first candidate, so both directions of the allowed arc are
checked.
The HLSD notes that a zone reduced to a single candidate holds the aligned
seam on it, so alignment cannot smooth its shift between layers.
print_start opens the dialog the Print button opens for the selected printer, for one plate or all of them, and is
refused where the button would be disabled, such as for a plate not sliced. printer_send, and the Send G-code Speed
Dial action with it, open the dialog that sends to a Bambu printer's storage where they used to refuse such a printer,
and take the plate to send. printer_test_host checks that the printer's print host answers, as the Test button of its
connection dialog does.
Mouse ear placement no longer depends on where the outline starts. The old code simplified the outline with Douglas-Peucker, which is anchored on its first vertex, so rotating a part changed which rounded corners got an ear.
make_brim_ear_points() now measures the turn at each vertex over a window of arc length on both sides, and doubles the window while the outline keeps turning. Corners with large fillets now get an ear at the default settings. A candidate whose window already reached a placed ear is dropped, so a sharp corner next to a curve gets one ear. The Brim Ears tool's Auto-generate uses the same function.
Behavior change: a smooth closed outline such as a disc gets no ears at the default 125 degree max angle. Raising the max angle to 135 or more still gives it ears.
Fixes#17119
object_paint, object_measure, object_simplify and part_boolean open their gizmo on the object, instance or part a
client names, where before a client had to know the gizmo existed and click its icon after selecting. A refused
opening says why in the gizmo's own terms, such as Mesh Boolean needing two parts, and leaves the selection and the
undo history as they were.
* Fix korean translations for left and right extruder
Updated translations for 'left extruder' and 'right extruder' to use '압출기' instead of '익스트루더'.
I showed 'extruder' and 'Extruder' has different translation in Korean. So i firstly fixed it
* Update Korean translations for extruder terms
Thanks for the review and for pointing out the remaining inconsistencies!
I've updated the eight additional strings in the same PR to use "압출기" consistently with the Korean localization.
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.
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.
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.
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.
* Regenerate the translation template and catalogs for 2.5.0
* Restore and fill translations for the strings added since 2026-11-03
* correct Chinese translations
---------
Co-authored-by: SoftFever <softfeverever@gmail.com>
* Keep original body names when importing STEP, AMF and 3MF geometry
STEP, AMF and 3MF bodies keep the names stored in the file. The three formats share one geometry import path with matching dialogs, per-format Preferences and cleanup of unsupported characters. AMF body groups load as one object, nested groups are flattened, and a CAD 3MF is imported as geometry.
* Use the app's widgets in the geometry import dialogs
Check boxes, radio buttons and the name replacement field in the STEP,
AMF/3MF and name cleanup dialogs now use the app's own controls instead
of the native ones; the name cleanup preview uses the dialogs' label font.
* Address review: AMF layout, Open Project cancel, part visibility
- AMF: the import dialog offers "Separate objects (as before)" first and
uses it by default, so files from PrusaSlicer and Slic3r, which keep a
whole plate in one constellation, load as separate objects again. The
assembly modes are opt-in.
- File > Open Project with a CAD 3MF replaces the project only after the
import dialogs were answered and the file was read with geometry to load.
A Cancel or an empty file keeps the current project, its unsaved state,
notifications and preview state; close_with_confirm() can hand back its
closing steps for this.
- The object list no longer changes the model while it checks whether a
single-object import hides its parts: ModelObject::hides_imported_parts()
is used by the list, Split to parts and its menu check, and the painting
gizmos' list update shows or hides the parts when painting changes.
Removing the part rows keeps the object a container for its instances.
- Progress: staged reading takes the first part of the bar and never goes
back within a file; the load loop takes the rest.
- A constellation id equal to an object id is logged as a warning.
- set_import_volume_order() is defined next to sort_objects().
* Address review: part rename on drag, Multi-part check for unplaced AMF
- Dragging a part of an imported object cancels a name editor that is
still open before the part rows are rebuilt. On GTK the editor opened by
pressing the selected row outlived the deleted row and wrote its name
into another part.
- The Multi-part check reads zero for objects the file does not place, as
min_z() did in Release builds, instead of their mesh height: the meshes
are already centered by then, so different heights asked the question
where main does not.
- Non-printable AMF groups skip the Multi-part question only in the
assembly modes; Separate objects asks as before.
- The first AMF load mode is "Load as separate objects".
---------
Co-authored-by: yw4z <ywsyildiz@gmail.com>
The MCP tools are listed in core, API and UI lanes. With Python scripts turned on in Preferences, agents
and people can run Python against the open app; plugins holding the tools permission can call the tools,
and plugins can offer operations of their own to agents. Calls can pin object and volume ids so a stale
index is refused, and run_script takes a script as JSON text as well as an object.
* Verify and improve AI pt_BR translations
* Fix typos and agreement left by the pt_BR term changes
Cabeçote is masculine and ponte feminine, so the switch from cabeça da ferramenta and pórtico left mismatched articles and pronouns. Also restore capitals on sentence-initial "Clique" and fix "rteservada".
---------
Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
Agents can record OrcaSlicer to video, captioned with the current tool call, and encode it to MP4.
People get Take Screenshot and Start/Stop Recording in the Speed Dial and the Help menu, with a
dialog for the recording and encoding settings.
* Update Turkish translations
* Match option names to the existing Turkish labels
* Drop the AI Translated comments from the reviewed Turkish entries
---------
Co-authored-by: yw4z <ywsyildiz@gmail.com>
# Description
Translates the 217 new strings in the Japanese catalog, so it has no
empty entry left. Most are the messages that explain why a setting is
hidden or disabled, and each one quotes the setting's existing Japanese
label or dropdown value, so users can find what to change. Where the
English says "Marlin firmware G-code flavor", the translation names the
dropdown value it refers to, Marlin 2. The rest are the plate menu's
Order By, the discrete-GPU and high-precision G-code options, and the
color picker.
21 entries carry a `# Needs human review` note. Most mention the prime
or wipe tower, a term the glossary still marks as unsettled for
Japanese. The others are three SLA strings about the pad, three that
quote the existing label エアフィルトレーションを有効化 where the glossary has 空気ろ過,
and one whose English says "wrapping detection" while the setting it
gates is "Enable clumping detection".
The Japanese glossary cells for Single Extruder Multi Material and Air
filtration are filled in OrcaSlicer/OrcaSlicer_WIKI#420.
# Screenshots/Recordings/Graphs
<!--
> Please attach relevant screenshots to showcase the UI changes.
> Please attach images that can help explain the changes.
-->
## Tests
`scripts/run_gettext.sh --full` exits 0 and leaves the catalog
unchanged, and the skill's `check` (which includes `msgfmt
--check-format`) reports no errors for ja. The strings were not checked
in the running app.
<!--
> A guide for users on how to download the artifacts from this PR.
-->
[How to Download Pull Requests Artifacts for
Testing](https://www.orcaslicer.com/wiki/how_to_download_pr_artifacts)