Commit Graph
230 Commits
Author SHA1 Message Date
SoftFever 0616068e26 Run commands, tools and the plugin API through one operations layer
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.
2026-11-12 22:06:10 +08:00
SoftFever a9c73c76b2 Fix macOS issues found driving the app over MCP
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.
2026-11-12 01:39:39 +08:00
SoftFever 636367d143 Reduce script permissions to a single "run unrestricted" switch
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.
2026-11-11 22:23:28 +08:00
SoftFever 869d8a9b96 Merge branch 'main' into feature/mcp 2026-11-11 20:34:10 +08:00
Ian Chua 8f879a3700 fix: plugin permission refresh with unsaved edits (#17448)
* fix: plugin permission refresh with unsaved edits

* fix: announce permission edit status only when visible
2026-11-11 20:04:09 +08:00
SoftFever f5368b0483 Merge remote-tracking branch 'origin/main' into feature/mcp 2026-11-11 19:46:07 +08:00
SoftFever e7f7c4d1e9 Drop the old MCP names the server still read and the text that still used them
set_view's view, the print scope and window for the main window are refused
like any unknown name.
2026-11-11 19:25:09 +08:00
SoftFever 8bb18e84bf List objects by plate over MCP and call a part "part" in every tool
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.
2026-11-11 18:31:00 +08:00
SoftFever 5e426b2cb7 Point MCP name misses at the right catalog and give each argument one name
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.
2026-11-11 18:31:00 +08:00
SoftFever ef301e132d Launch MCP harness instances on a private headless desktop on Linux, falling back to Xvfb 2026-11-11 17:32:05 +08:00
SoftFever 693b018dd3 Make set_window work on Wayland and on an X server without a window manager
Also keeps a polygon drawn near an axis regular in the Design tab, and lets the Design GUI tests run on Linux.
2026-11-11 16:13:40 +08:00
SoftFever 042d6bc455 Add set_window and set_view camera target and zoom over MCP 2026-11-11 12:02:03 +08:00
TheLegendTubaGuy 6d33e58347 Fix panning and rotating from the center of mass details box (#17137)
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.
2026-11-10 20:22:43 -06:00
SoftFever 58ff1f5244 Merge remote-tracking branch 'origin/main' into feature/mcp 2026-11-11 03:35:56 +08:00
SoftFever c872776d24 Select sketch constraints by clicking their badges instead of deleting them (#17459)
* Select sketch constraints by clicking their badges instead of deleting them

* Drop a selected sketch constraint when geometry is picked or the tool changes
2026-11-11 03:19:41 +08:00
SoftFever 6e9bdca2da Refuse MCP clicks on main menu items the app would show greyed 2026-11-11 01:04:51 +08:00
SoftFever 0935d49c83 Run the Design-tab GUI tests through MCP on every platform 2026-11-11 00:27:51 +08:00
HanifKohandRodrigo Faselli 46f7b0e719 Offer the Sliced Objects as a Solid Model While Dragging the Preview (#15818)
* Offer the Sliced Objects as a Solid Model While Dragging

The G-code preview draws every toolpath segment as an instanced box, and its frame cost is
linear in the number of segments drawn. On a plate of large objects that is enough that
dragging the camera or a preview slider cannot keep up, and no amount of per-segment work
changes that; only drawing fewer segments does.

The objects themselves are cheaper: a mesh costs its triangles once, however many layers it
has, and the preview already loads the objects as shells for its translucent ghost. A new
preference, "Only render solid model when dragging" (off by default), draws those shells
opaque in their filament colours instead of the toolpaths while the user drags.

The visible layer range still holds. The shells are cut at the range's top and bottom through
the gouraud shader's z range, and libvgcode keeps a second index buffer holding just the
range's bottom and top layers, filled in the same walk as the full one, which is drawn
afterwards so that it caps the cut with what was really printed there. Switching between the
two sets is a buffer binding, never a rebuild. The prime tower is added to the shells from its
sliced mesh while the preference is on, positioned as the print placed it; it keeps its opaque
colour and so stays out of the translucent ghost. Supports have no mesh and are not shown.

Dragging is the camera, the navigator or either slider being held; a slider reports it from
ImGui's active id, since its dirty flag is raised and consumed inside one frame. A wheel step
holds the solid model for a 150 ms settle time, with the frame that restores the toolpaths
scheduled for when it runs out. The switch is decided at the top of the frame, before the
cached scene is consulted, and a frame that switches redraws the scene. A drag cut short by
focus or capture loss is ended explicitly, and a button release wakes the idle loop, since on
some platforms no idle event follows it until the next input.

With the preference off, nothing is built and the preview is unchanged.

* Release the Reduced Set When Unused and Share the Drag Check With the Scene Cache

The reduced index buffers were only re-uploaded while the preference was on, so
the last set stayed allocated until the next load once it was switched off, and
their size was missing from get_used_gpu_memory(). They are now uploaded on every
rebuild, empty when nothing was built, and counted.

The scene cache and the solid model both asked whether the user was dragging,
with different lists: the cache knew about gizmos and the rectangle selection,
the solid model about the navigator and the sliders. One is_user_interacting()
now answers both.

The tooltip says that negative volumes are not cut out of the solid model, since
load_shells() drops every non-model-part volume, and the preferences handler
keeps the dimming comment with the branch it documents.

* Let the User Choose What the Preview Draws While Dragging

The solid model is one answer to a preview that cannot keep up with a drag; a
reviewer asked for the two that keep the drag view made of toolpaths. The
checkbox is now a combobox, "Simplify preview while dragging", with Off, Solid
model, Skip layers and Outer walls, and a spin, "Draw one layer in every N",
for the toolpath modes. Off is the default, and with it nothing is built.

Skip layers keeps one layer in every N. Outer walls keeps the outer and overhang
perimeters of those layers, so the prime tower and supports, whose segments have
other roles, drop out of it. Both keep the bottom and top layers of the visible
range whole, as the solid model does, so the faces the range cuts open stay what
was printed there.

libvgcode takes the choice as EReducedDetailMode and a stride; the sets are
rebuilt when either changes, and drawing from the reduced one is still a buffer
binding. A mode change reaches the loaded preview at once, as the checkbox did.

* Add a Shell-Only Drag Mode That Keeps What Can Be Seen From Outside

A third mode of the drag preference: the reduced set keeps every role but the sparse
infill, internal solid infill, internal bridge infill and gap fill, which lie under the
skins or between the walls, on every layer. Walls, top and bottom surfaces, bridges,
supports and the prime tower are drawn whole, so from outside the print looks as it does
at rest, and the two end layers of the visible range stay whole as in every mode.

The roles come from the slicer, so the classification is exact wherever the slicer's is.
What a role cannot tell apart is the inside of the prime tower or of a support from its
outside; both are kept whole. A profile with no top or bottom shell layers exposes infill,
which this mode hides.

* Keep Only the Solid Model and Shell Modes While Dragging

The skip-layers and outer-walls modes drew one layer in every N, and every visual
complaint on the review came from the gaps that leaves at close range. The shell mode
draws every layer and looks the same from outside, and the solid model is the one mode
whose cost does not depend on the toolpaths, so the two of them cover what the stride
modes were for. The layer stride goes with them; a saved preference naming a removed
mode falls back to off.

* Hide Infill in the Shell Drag Mode Only Where the Profile Covers It

A profile with no top or bottom shell layers, or no walls, leaves the infill on the surface,
so hiding it changed the picture. The viewer now reads the print's default region settings
when it loads a print and leaves the infill in place for such a print; per-object overrides
are not consulted.

* Keep the Ghost and Cap the Cut of the Solid Model While Dragging

In the solid model mode the translucent ghost disappeared for the length of every drag, since the scene drew either it or the solid; it is now drawn in every mode, so the part above the cut stays in view.

The cut itself was open: a sparse layer on the cut showed, between its lines, whatever lay below inside the hollow shell, the first layer or the bed, which moved with the camera and read as a flickering shadow; and a face of the model in the cut layer's own plane fought that layer's toolpaths pixel by pixel. The solid now runs from the top of the range's bottom layer to the bottom of its top layer, and a stencil pass caps each cut plane, body by body, with a quad in the body's colour darkened where the cut has opened it: back faces less front faces, counted with the depth test off, which leaves a closed body at zero.

* Leave the Preview Untouched While Dragging With the Mode Off

The reduced flag was raised on every drag whatever the mode. libvgcode still drew the full set with the mode off, but the canvas reads the flag: it redrew the scene on the first and last frame of each drag, scheduled an extra frame after every wheel burst, and ended a drag that lost focus or capture. The flag is now raised only when a mode is set.

The realistic view's shadow-caster pass draws whichever set is bound, and the static shadow map's key did not say which, so a map built during a drag stayed thinned after release; the key now includes it.

* Tidy the Drag Mode: Cheaper Caps and No Leftovers

The solid model's cap quads are built once per frame and recoloured per body instead of being rebuilt for each, and the stencil count draws each body directly: going through the collection's render built the full preset config and sorted every volume once per body, per frame. A one-line settings wrapper is inlined, the function that added or removed the tower with the mode is folded into its one caller, the two libvgcode getters nobody calls are removed, and the wheel's settle time is set where the wheel is handled. The Shell only tooltip names internal bridges, which the mode hides.

* Cut the Solid Model at the Toolpaths' Heights on a Printer With a Z Offset

The cut heights took the printer's z offset out of the layer heights, which the G-code processor has already taken it out of, so on a printer with a z offset the solid was cut one offset away from the layers drawn as toolpaths: a gap under the top one and an overlap with the bottom one, and the caps sat off the solid's cut plane. The layer heights are in the shells' frame as they are.

* Test That AppConfig Keeps Only the Preview Drag Modes It Knows

A missing mode becomes off, the three modes survive, and a value from an earlier revision or an empty one falls back to off.

* Hold the Navigator's Drag for as Long as the Button Is Held

The navigator reports a drag only on a frame the mouse moved in, and the flag is written by the overlay, after the frame has chosen which toolpath set to draw. A still frame in the middle of a drag dropped the flag, so the next one drew the full set, and a release with no motion left the reduced set on screen until the next mouse event. The flag now holds while the button does, and the drag check reads the button itself.

* Keep the Toolpaths While Dragging a Print Whose Layers Do Not Rise

The solid model is cut at the heights of the layer range's two ends, one range for the whole plate. Printed object by object, the layer heights start over with each object, so those two heights do not bound the range: an earlier object was cut at a later one's height, and a range across two objects could come out empty. Such a print keeps its toolpaths while dragging, as a plate with no shells does.

* Cut the Solid Model Past a Layer With No Extrusion

A layer with no extrusion has a height of zero, and the solid model read its cut heights from the layers at the ends of the range as they were: with such a layer under the top of the range the whole solid was cut away. The nearest layer below with a height stands in for it.

* Keep the Toolpaths While Dragging a Preview Cut by the Section View

The section view cuts the toolpaths open to show their inside. The solid model was drawn with no clipping plane, so while dragging it covered the section whole and the section came back on release. A preview with a section active now keeps its toolpaths while dragging, as a print made object by object does; the shell mode draws through the same plane as the full set and is unaffected.

* Keep the Supports While Dragging in the Solid Model Mode

The solid model stands in for the sliced objects, which are the only shells the preview loads: a support has no mesh, so the moment a drag started everything under an overhang vanished and the object sat on nothing until release. The reduced set now keeps the support roles whole on every layer, as the shell mode does, and the supports draw as toolpaths beside the solid.

* Draw the Layers Down to the Nearest Infill Whole at Each End of the Range

The reduced set kept the two end layers of the visible range whole, and the solid model was cut right under the top one, as though every layer carried every role. Infill combination prints the sparse infill of a few layers in one and leaves the others walls alone, and a support layer with no object layer at its height gets a layer of its own, so a cut under such a layer capped the print where at rest the infill of the layer below shows through: a flat disc inside the walls while dragging, the infill grid on release. Each end of the range now runs to the nearest layer with sparse infill, at most eight layers deep, in both modes, and the solid is cut at the edges of those bands. The layer table is the whole plate's, so another object's solid infill on a layer does not end the band while sparse infill is within reach; a print with none in reach falls back to the nearest layer with any infill, else keeps the end layer alone. The layer table records which layers have infill when the toolpaths are loaded, and the bands are covered by tests.

* Colour the Solid Model as the View Colours the Toolpaths

The solid model and its caps wore the filament colours whatever the view, so a drag in the Line type view turned an orange-walled, red-filled print into a block of its filament colour. The solid stands in for the toolpaths, so it now takes their colours: in a view that colours by something other than the filament, the body the outer wall's, each cap the infill's of the layer it is cut under, sparse before solid, and the prime tower its own role's, each sampled from the first vertex of the role through the viewer. The filament views keep every body its own colour. The colours are resolved when a drag starts and when the view type or the end bands change.

* Close the End Bands Object by Object

The end bands of the reduced set stopped at the nearest layer with sparse infill anywhere on the plate. Two objects rarely combine their infill on the same layers, so where one object still had sparse infill on a layer the other's walls-only layer closed the band, and that object was capped right under it: a flat disc inside the cone's walls while the funnel beside it printed its last infill. The G-code labels its moves with their object, so the wrapper that feeds libvgcode now tallies walls and infill per object and layer and hands the viewer the layers whose infill closes every object printed on them; the bands stop at those. Sparse infill closes an object on a layer. Solid infill closes it only where the object has no sparse infill left in the direction the band looks from, its top shells as seen from above and its bottom shells as seen from below, since a layer whose sparse infill was combined into another still carries the solid infill under its skins and is open; an object with no sparse infill anywhere is closed by any infill. A range from the print's first layer has no bottom band, as nothing is cut under that layer. A preview built from the print, or one whose G-code labels no object, carries no such list and keeps the judgement by the roles of the whole layer.

The G-code processor read the object only from the "start printing object" line that Bambu printers add; every printer writes "printing object <name> id:<n> copy <m>", so it reads that too, and takes the id after the last "id:" so that a colon in the name does not mislead it. The printable-area check that groups extrusions by that id now sees the objects of such a print one by one, as it does for a Bambu print, instead of as one.

* Colour the Solid Model From the Grade Most of the Role Was Printed At

The solid model took each colour from the first vertex of the role in the
sampled layer. The first vertex of an outer wall is the start of its
extrusion, still on the acceleration ramp, so under Actual speed and Actual
flow the whole solid showed the slowest grade of the legend, and under Fan
speed the body colour jumped between drags with whichever layer happened to
be the top cut.

Viewer::find_extrusion_vertex() now takes a layer interval and, in a view
that grades the toolpaths by a value, returns the extrusion of the role at
the length-weighted median of that value over up to eight layers spread
across the interval; in any other view the first extrusion found, as
before. The body and the prime tower are sampled over the layers the solid
stands for, each cap in its own cut layer.

* Count Each Cap of the Solid Model Against Its Own Cut

With the bottom slider above the first layer the solid model is cut at both
ends, and the one stencil count that both caps were drawn through counted
the body with both cuts applied. An open tube counts a view ray through
both openings as closed, so the top cap had a hole through which the
infill toolpaths showed, and a ray in through a wall and out through the
bottom opening as open, so from a low angle the top cap's quad, which
spans the bounding box, was drawn in the air beside the body.

Each cap now gets its own count, with the body cut at that cap alone and
whole at its other end, which is odd exactly where the cap plane lies
inside the body from any viewpoint. The second body pass per volume only
runs when the bottom is cut.

* Let the Solid Model Cast and Take the Realistic View's Shadows

The realistic view's shadow map was built from the toolpath segments
alone, and while dragging in the solid model mode those are only the end
bands and the supports, so the solid threw no shadow at all. Its own pass
also forced the shadow intensity to zero, so it took none either.

In that mode the shells, cut at the solid's heights, are now drawn
depth-only into the same map through the flat clip shader, and the solid
samples the map back with the light the canvas passed on, so a body
shades the plate, its neighbours and the end-band toolpaths as the
toolpaths it stands in for would, and takes their shadows in turn. The
map's key also carries the drag mode, so a map built with the solid is not
kept for the shell mode.

* Keep the Reduced Set Up While a Navigator Click Turns the Camera

A click on a face or a corner of the 3D navigator makes it turn the camera
over the forty frames that follow, with no button held. Each of those
frames was drawn with the full toolpaths, since nothing counted as a drag,
and on a weak GPU the turn took seconds.

The overlay reports each of those frames as a change that is not a drag,
so the canvas holds a flag for as long as that lasts and counts it as
interacting; the frame after the last one is requested so that the full
toolpaths come back on their own.

* Let the Cut Faces of the Solid Model Cast Their Shadow

The solid model was drawn into the shadow map as the shells cut at the
same heights, open where it is cut, on the ground that from the light an
open body's far wall closes its outline. It does, but not its depth: a
ray through the opening passes the end band's sparse infill lines and
reaches the far wall, so on a flank below the light's side the solid
carried the lattice of those lines, where the toolpaths it stands in for
are in one uniform shadow under the opaque layers above.

The shells now cast through a shader of their own: a back face that a
ray reached through a cut is drawn at the depth of that cut, the nearest
of the cut planes on the way back toward the light, and a front face
keeps its own depth. A ray reaches a back face through a lit wall as
well, and the cut's depth would then shadow that wall, so the front
faces are drawn on their own first, into a depth texture of the
viewer's, for the shader to tell the two apart. The shadow map has no
stencil, so the camera pass's cap count could not be reused here.

* Hold the Solid Model's Body Colour While a Slider Drag Moves the Span

A slider drag shows the solid model like a camera drag does, and the
body took a fresh sample at every step, from eight layers spread over
the span of the moment. Where the walls' speed or fan differs from layer
to layer, each step fell on another mix of layers and the length-weighted
median flipped with it, so the body jumped between the grades of the
legend for as long as the slider moved.

The body and the tower are now sampled once, as the drag begins, and
held until it ends; the next drag samples them afresh over the span it
finds. Each cap still follows its own layer, as the toolpaths of that
layer would.

* Colour Each Body of the Solid Model From Its Own Toolpaths

The solid model took one body colour for every object on the plate,
sampled from all the walls of the layers it stands for, so an object
printed at its own speeds wore the grade of the others while its
toolpaths showed another.

The viewer's sampler now takes a rectangle of the XY plane and counts
only the extrusions that end inside it, and each shell volume samples
its body and caps within its own footprint; the tower likewise, from its
own role. Objects that overlap in XY share their samples, which is as
close as the toolpaths come to naming their object.

* Dim and Grey the Solid Model With the Layers It Stands For

With "Dim lower layers" on, the toolpaths around the inspected layers
are drawn at the preference's brightness, and with it off they go dark
grey while the moves slider is short of the top layer's end. The solid
model, which stands in for exactly those layers, was drawn at full
brightness either way.

The layers the solid stands for are never the ones a slider thumb
lights, so its bodies, caps and tower now take the same brightness or
grey the toolpath shader gives the rest of the print, decided by the
rule that shader is given.

* Cut the Solid Model by the Section View

While the section view was on, a drag kept the full toolpaths, since the
solid model would have covered what the view cuts them open to show.
That held even where the plane cut nothing, so with the view on the drag
mode gave nothing at all.

The solid now takes the section plane as the toolpaths do: the bodies
are clipped by it, the two height caps are drawn on its kept side, and
the section face gets a cap of its own, counted on the body cut by that
plane alone and drawn between the two heights, in the body's colour
darkened like the others. What the plane cuts away casts no shadow.

* Keep the Travels Between the End Layers of the Solid Model

With Travel shown in the legend, the solid model kept the travels only on the
layers at the ends of the range, so they vanished on every drag. They are kept
on every layer now, as the supports are. The rule moves into Utils so the
cases can be tested.

* Drag Belt Printer Previews With the Toolpaths Instead of the Solid Model

The solid model is cut by horizontal planes at the end layers' heights, but a
belt printer's layers are planes tilted at the belt angle, with heights in the
G-code's frame, so the cuts missed the body. On belt printers a drag keeps the
toolpaths, as it does for a print whose layer heights start over per object.

* Cast the Solid Model's Cut Faces Into the Shadow Map

A band cut at both ends let the light in through the top cut and out through
the bottom one past every wall, so only the top band's infill lines cast and
the bed showed their grid. The cut faces are now counted and drawn into the
shadow map as the visible pass draws them: in a depth and stencil target of
the viewer's, since the map has no stencil, then copied into the map. This
replaces the back-face depth rewrite of the cut caster shader, and both
passes build the caps through one helper.

* Describe the Solid Model's Cut-Face Shadows, Travels, Belt Fallback and Section Cut

* Keep Parts Above the Visible Range Out of the Solid Model's Cut-Face Shadow

The light's frustum ends at the highest visible layer, so its near plane
cut through parts above the range (a bunny's ears) during the cut-face
stencil count: only their far faces were counted, the count read them as
open and the bottom cap cast an ear-shaped shadow on the bed. Clamp depth
during the count so every face is counted.

* Say in the Drag Option That Belt Printers Keep Their Toolpaths

The solid model handles the section view, and belt printers fall back to
the toolpaths; the description said the opposite of both.

---------

Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
2026-11-10 08:23:08 +08:00
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