Commit Graph
272 Commits
Author SHA1 Message Date
SoftFever 4dd989a9e3 Merge remote-tracking branch 'origin/main' into feature/mcp 2026-11-10 03:03:41 +08:00
SoftFever 699f518227 Finish describing the CAD sources and checks as they are 2026-11-10 02:13:49 +08:00
SoftFever d5f6f33957 Clarify the CAD tool descriptions and examples 2026-11-10 01:45:39 +08:00
SoftFever 9bda81acf4 Keep the MCP journal's trim linear and its lock short 2026-11-10 01:30:45 +08:00
SoftFever 5bfebec540 Correct when the Design tab is created and why sketch_set_value exists 2026-11-10 01:07:31 +08:00
SoftFever 017963d5a5 Correct CAD docs and comments that disagree with the code 2026-11-10 00:54:31 +08:00
Ian Bassi b1d8c5da60 Section view: percent depth, wheel on the panel, start at 50% and Follow camera (#17338) 2026-11-09 13:37:37 -03:00
SoftFever 3b245fbc7b Remove the Design tab's Docker test setup and check its offer table in CI 2026-11-10 00:04:05 +08:00
SoftFever 45188c9956 Bound the MCP journal by the size of its calls' arguments 2026-11-09 23:42:21 +08:00
SoftFever f2eddb7b48 Add list_cad_tools and describe_cad_tool and call CAD tools by tool and args 2026-11-09 22:06:41 +08:00
SoftFever 9c1d0e20ec Reach the Design tab only through the MCP server 2026-11-09 21:02:25 +08:00
SoftFever 0b9c47be29 Move the Design tab's MCP code next to the MCP server 2026-11-09 20:42:30 +08:00
SoftFever 70ca70ceb3 Give MCP tools plain names and call recorded tool lists replays 2026-11-09 20:21:02 +08:00
Ian Bassi f55615d748 Add Quarter Cubic non-crossing multiline strategy (#17343) 2026-11-08 18:16:29 -03:00
SoftFever 70842d3165 Add an MCP tool that lists open windows with refs for screenshots and input 2026-11-09 04:23:07 +08:00
SoftFever 643319c40b Split Run Script into Action Replay and a docked Python Run Script panel 2026-11-09 03:25:25 +08:00
SoftFever d56a80515f Move the MCP server only when its port is edited in Preferences 2026-11-08 16:04:04 +08:00
SoftFever fe12c41057 Fix Windows popup capture and MCP stalls in native menus and dialogs 2026-11-08 15:39:07 +08:00
Arthur Porto 7906d7e02a Check the prime tower requirements only when a tower is printed (#16999)
A plate whose parts use one filament, with only the support on another, was refused for prime tower rules before slicing even when no part needed support and no tower would be printed.

- The layering checks run before slicing only when a tower is certain: the parts use more than one filament, custom G-code changes the tool, or wrapping detection or a smooth timelapse forces one. Otherwise they run in _make_wipe_tower() once the tool changes are known, and only if a tower is generated.
- The "No sparse layers" check before slicing still refuses objects next to the tower. Objects away from it are judged after slicing against the real tower height, and the drag preview draws the height limit plane only on objects the check before slicing refuses.
- The fake tower is reset at each slicing, and the conflict check only uses it when a tower is generated. It was read uninitialized on plates with no tool change.

Fixes #16936
2026-11-07 15:24:04 -06:00
SoftFever cd76a0ffdd Show context menus, dialogs and web views in macOS screenshots and recordings
Recording frames are also spaced as documented when capture is slow, and a drop-down that has left the screen is no longer drawn into macOS frames.
2026-11-08 01:38:33 +08:00
Rodrigo Faselli 4a01d5dda3 Outline options (#17319) 2026-11-07 11:32:51 -03:00
SoftFever 4e11be7f3f Show popups in Windows and macOS recordings and screenshots 2026-11-07 22:24:11 +08:00
SoftFever 65d5867d61 Show popups, context menus and tooltips in Wayland recordings and screenshots 2026-11-07 22:15:34 +08:00
SoftFever 3a0dc1785d Show dialogs in Wayland recordings and stop blank Wayland window captures 2026-11-07 20:02:27 +08:00
SoftFever 15ee17cf92 Start OrcaSlicer from the stdio bridge only when a tool is called 2026-11-07 16:51:11 +08:00
SoftFever be94a6a0da Report why a local plugin install failed 2026-11-07 12:42:01 +08:00
SoftFever 09aa257c76 Let install_local_plugin take a plugin file's path 2026-11-07 12:41:59 +08:00
Ian Bassi 9612260bb5 Fix multiline infill paths that start mid-line and end on themselves (#17341) 2026-11-06 17:53:29 -03:00
Rodrigo Faselli 051723ca24 Fix stale focus-mode plate thumbnails (#17320) 2026-11-06 17:11:50 -03:00
SoftFever eedd56991c Merge branch 'main' into feature/mcp 2026-11-07 02:51:37 +08:00
SoftFever 8b5bbcb7e8 Read a modal dialog's controls and values into its MCP message 2026-11-07 02:31:07 +08:00
Ian Bassi 4cfdccfe45 Fix adaptive and TPMS infill paths that start mid-line and end on themselves (#17334) 2026-11-06 15:11:58 -03:00
932b492252 feat: Add plugin permission management to the Plugins dialog (#17285)
* feat: permissions tab in plugin dialog ui draft

* feat: allow full access, make threading a boolean

* fix: clang-tidy

* feat: save changes button

* fix: clang-tidy

* fix: only allow permission editing when plugin not loaded

* fix: plugin permission drafts, target validation, and sidecar synchronization

* fix: minor html/css changes

* fix: Make plugin permission edits immediate and thread-safe

* refactor: rehaul UI

* fix: add don't show again to request permission dialog

* fix: permission request dialog ui

* fix: clean up plugin permission dialog and mutation APIs

* fix: retry Windows plugin permission file replacement

* test: extract and cover plugin permission validators

* fix: show clear denial for worker plugin file operations

* fix: clang-tidy

* docs: clarify plugin filesystem permissions and clean up declaration

* fix: handle the 3 states of install state read

* fix: match equivalent paths for exact filesystem grants

* fix: preserve unreadable plugin state and allow socket grant editing

* Recover plugins whose install-state file cannot be parsed

---------

Co-authored-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2026-11-07 00:00:18 +08:00
SoftFever 56b03d7bdf Merge branch 'main' into feature/mcp 2026-11-05 18:07:30 +08:00
anjis 3bda653448 Fix Type 1 wipe tower filament statistics for non-Bambu printers (#17199) 2026-11-04 09:31:08 -03:00
Ian Bassi 88c4c1e915 Print gap fill after the lines next to it in fills that keep their order
insert_gap_fill() put each piece of gap fill wherever it added the least
travel, which could be before the extrusions bordering it: the centre gap
of a Spiral Inset printed before the spiral that starts there, and gaps
where spirals meet printed before the later spiral. Each piece now only
goes after the last extrusion of its fill that passes within half its
widest width and a line spacing of it.
2026-11-04 08:56:28 -03:00
SoftFever 17a745e30c Merge branch 'main' into feature/mcp 2026-11-04 13:42:41 +08:00
HanifKoh 1c9f6f9318 Join Precise-Z Sliver Layers to the Prime Tower Layer Below (#17204)
* Join Precise-Z Sliver Layers to the Prime Tower Layer Below

Precise Z height ends each object at its exact top, so another object's
layers can print a few microns above these. Each sliver became its own
wipe tower layer, and a tool change on it was sized for that height: a
0.0009 mm layer asked for a 230 mm ramming band, which grew the tower
past the bed ("Prime tower is partially outside the printable area").
Once sized correctly, G-code export lost step with the tower and threw
"append_tcr was asked to do a toolchange it didn't expect".

A tower layer thinner than half the printer's minimum layer height now
joins the tower layer below: ToolOrdering records the tower layer each
layer prints on and whether it finishes it, the tower plans the joined
tool changes on that layer's z and height, and the G-code neither
advances the tower on a joined layer nor finishes the layer before it.

* Finish a Joined Prime Tower Layer on Its Last Tool Change

The joined layer always finished the tower layer, so a joined layer that
changed no tools asked for a result after the layer below had taken them
all and threw "Wipe tower generation failed". The layer that finishes is
now the last of the group that changes tools, or the last one when none
does, matching how a single layer merges its finish into a tool change.

A joined layer also reset the Type 1 tower's first print, so smooth
timelapse replayed the tower layer's wall and threw the same error.

Layers are now joined below the printer's minimum layer height instead of
half of it: precise Z height can move a layer off by up to a layer height,
and the 0.04-0.08 mm layers left on their own still grew the tower off the
bed.

* Print Joined Prime Tower Purges at the Tower Layer's Z

A joined layer printed its purges at its own nozzle height, up to just
under the minimum layer height above the tower layer, so the beads were
not pressed onto it. The emitter now descends to the tower layer's z for
a joined layer, travelling over the tower first and climbing back after,
the way it already does for a tower compacted below the objects.

Layers sliced at exactly the minimum layer height sum to gaps a hair
under it and were joined to the layer below; an EPSILON margin keeps
them apart.

* Travel Over the Prime Tower Before a Joined Layer Descends

With no change_filament_gcode and no nozzle change, the Type 1 emitter
descended to the joined tower layer's z while the head was still over the
part, then travelled to the tower at that z. It now travels over the tower
first. The tests check that every descent below the object layer happens
over the tower.
2026-11-04 13:14:01 +08:00
SoftFever 75d117f669 Explain in the MCP design doc why tools have no output schema 2026-11-04 12:28:00 +08:00
Valerii Bokhan 0b041740b1 Fix Wipe Inward retraction splitting and sandwich wall offsets (#17160) 2026-11-03 21:41:16 -03:00
Ian BassiandRodrigo Faselli 670db4b772 Faster and better outline (#17111)
Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
2026-11-03 21:26:16 -03:00
SoftFever 5e5571a99f Make the MCP tool descriptions shorter and consistent, with the UI locators described once 2026-11-04 04:03:04 +08:00
SoftFever 3050fbc6a6 Tell agents what list_objects ids are for and how paged replies continue 2026-11-04 03:22:00 +08:00
SoftFever 11ec4d8970 Show agents the selection, the Python setting and the Design tab in get_state 2026-11-04 02:06:30 +08:00
SoftFever 8f61a3a34e Let agents select hidden filaments and printers by name 2026-11-04 01:43:48 +08:00
SoftFever e4ee75e749 Ask for approval only on MCP calls that delete without undo, and mark the tools that reach outside the app 2026-11-04 01:06:55 +08:00
SoftFever ec0f3d864f Tell agents which scope a setting belongs to when they name the wrong one or none 2026-11-03 23:56:08 +08:00
SoftFever f776208c94 Document the whole orca Python API and search every catalog from api_describe 2026-11-03 23:10:10 +08:00
SoftFever ee0314dee2 Merge branch 'main' into feature/mcp 2026-11-03 16:28:57 +08:00
SoftFever cc05d87607 Run Python scripts like python file.py, with the whole plugin API 2026-11-03 16:12:04 +08:00