Commit Graph
33062 Commits
Author SHA1 Message Date
Kris Austin e2db7e5ef1 Fix Upload and Print not starting on the Ender-3 V3 KE (#17365)
Since 2.5.0 the CrealityPrint host starts a print with a /mnt/UDISK path
on every model outside the K1 family. The Ender-3 V3 KE (F005) keeps its
gcodes under /usr/data like the K1, so the firmware ignores the start
command and the uploaded file never prints. The Ender-3 V3 series (F001),
Ender-3 V3 Plus (F002), CR-10 SE (F003) and Ender-5 Max (F004) also keep
their gcodes under /usr/data and get the same wrong path.

The K2 SE (F016) keeps its gcodes under /usr/data too, unlike the other
K2 models. OrcaSlicer sent its CFS start commands with a /mnt/UDISK path,
so the printer ignored them.

Add those models to the /usr/data list, and rename the list since it
isn't only K1-family models anymore. Every other model still uses
/mnt/UDISK.

Fixes #17363
Fixes #8735
Fixes #17078
Fixes #17364
2026-11-09 08:54:21 -06:00
TheLegendTubaGuy b4bd9c8492 Remove null checks before delete (#17375)
Deleting a null pointer already does nothing. Enable clang-tidy's readability-delete-null-pointer so new null checks around delete are caught on changed lines, drop the one in DragCanvas's destructor, and remove ParamsPanel::delete_subwindows(), whose only caller is inside #if 0.

The --fix help and summary message in the clang-tidy scripts are reworded to "apply clang-tidy's fixes", since this check has its own fix.

Closes #7847
2026-11-09 07:55:35 -06:00
Damir Galeev 80bfb59837 Fix false "Multi-part object detected" question; rotate imported layout as a whole (#17096)
Turn imported layout as one piece and keep objects in place when centering

Preferred orientation turned every imported object around its own part
origins and then centered it in X, Y and Z without moving its instance.
Objects sank by half their height before the multi-part check, which then
asked about objects standing on the bed, AMF objects shifted by the
offset of their mesh from the file origin, and multi-part objects fell
apart at non-zero angles.

Model::rotate_and_center_objects() turns the file's content as one piece,
around the placed layout's center, or around the file origin for objects
without instances, and centers every placed object with its instances
compensating the shift, so nothing moves and origin_translation keeps
recording only uncompensated centering. Unplaced objects are centered in
XY only, as before minus Z, until they are placed.

Fixes #17084
2026-11-09 20:20:18 +08:00
Lam Wei Lun 2b2bf3f5e2 Report the first layer time in the estimated-first-layer-time comment (#17328)
The comment was written from TimeMachine::prepare_time, which only
accumulates the blocks inside the start G-code's ;TYPE:Custom region, so
it reported the start G-code duration. With a start G-code that just
calls a PRINT_START macro that is close to zero.

The comment is a port of PrusaSlicer 2.6's identical one, which prints
the first layer time, and OrcaSlicer already writes the first layer time
into the .3mf plate metadata as first_layer_time, so G-code and .3mf
disagreed.

Write TimeMachine::first_layer_time instead, for both the normal and the
silent mode line and for every vendor. prepare_time is unchanged: the
preview still shows it as "Prepare time" and the Bambu-only
"; model printing time: ..." line still subtracts it.

The new test slices a cube with a slow start-G-code move and checks that
the comment carries the first layer time, which fails without the change.
2026-11-09 16:04:31 +08:00
Kuzuri d0ca537ebe By object: check each object's top above the bed, raft included (#17235)
The by-object ordering, the too-tall check and the rod check now measure an object by its top above the bed, raft and Z shrinkage included. Before, a raised object was never moved to print last, and a raft could lift objects into the rod without a warning. Belt printers keep the model's own top, as the printable-height check does.
2026-11-08 17:39:32 -06:00
Ian Bassi f55615d748 Add Quarter Cubic non-crossing multiline strategy (#17343) 2026-11-08 18:16:29 -03:00
HanifKoh e23af6d7b0 Unite Tree Support Base Areas in Groups (#17250)
* Unite Tree Support Base Areas in Groups

Uniting thousands of overlapping branch circles in one Clipper call is slow. union_overlapping_ex() sorts them by their left edge, unites them in groups of 16 and merges the groups pairwise. The result differs from a single union only by rounding.

* Describe the Grouped Union's Slivers by Width
2026-11-08 15:01:52 +08:00
Kris Austin b7cc20fd1a Keep the "wait for response" label up to date automatically (#17370)
Keep the wait for response label up to date with Waiting on Author
2026-11-07 22:22:00 -06:00
HanifKoh d8807e03db Merge Each Tree Support Overhang Once per Layer (#17248)
draw_circles() merges each overhang into each roof list once per layer instead of once per node. Adds a test that the top interface covers the whole overhang.
2026-11-07 19:12:00 -06:00
Eldenroot 0f15db8b83 Fix objects printing in the wrong place when identical objects share sliced layers (#17183)
`is_print_object_the_same` now also compares `center_offset()`. Two objects with the same transform can have different offsets, because the offset comes from each object's first instance. Before, the object that took over the other's layers printed shifted.
2026-11-07 19:09:08 -06: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
Arthur Porto 6d312b0441 Do not share slices between objects whose height ranges differ (#17279)
Copies of an object with the same mesh, transform and settings reuse one set of sliced layers. The check ignored height range modifiers, so when only one copy had a range, that range was either dropped from the copy or applied to both.

The check now compares the ranges and their settings too, so objects whose ranges differ slice on their own.
2026-11-07 15:20:26 -06:00
HanifKoh 33da2fabfd Speed Up the Tree Support Bottom Contact Search (#17249)
The bottom contact search in draw_circles() rebuilt the top and bottom surfaces of every object layer under each support layer, once per base area. The surfaces are now collected once per object, and a layer whose bounding box misses the base area is skipped. The search also stops at the gap and interface height below the layer, since a contact lower than that changes neither.
2026-11-07 14:35:54 -06:00
Lam Wei Lun 7f124c1b0a Pin expat to 2.10.0 and restore its entity-amplification guard (#17290)
A crafted AMF could freeze Orca on Windows and macOS. The bundled expat 2.5.0 was built without XML_DTD, so its entity-amplification guard was compiled out. Expat 2.10.0 is now built from the release tarball with the guard on. Linux uses the system library only if it is already 2.10.0. Files that rely on unbounded entity expansion now fail to import instead of exhausting memory. The vendored 2.5.0 and 2.2.0 copies are removed, and the old expat.lib in existing Windows deps folders is overwritten. Deps need a rebuild on every platform.
2026-11-07 14:24:08 -06:00
HanifKoh 561b84455a Drop the Tree Support Profiler's Per-Call Timers (#17253)
Tree support no longer times each get_collision(), get_avoidance() and MST line intersection call. Every call read the clock through Boost's slow local_time(), and the worker threads all wrote the same timer state, so the numbers were not reliable. The STAGE_projection_onto_ex stage, which nothing wrote to, is removed too. The per-stage timers stay.
2026-11-07 14:09:56 -06:00
yw4z 9005b64e13 Profile folder fixes / improvements (#17348)
* vivedino xplorer

* prusa

* Delete error_hull_show

* vzbot match model name case

* chuanying match model name case

* flashforge adventurer 5m pro match model name case

* correct name of magicmaker hotend model

* Update BenFab 450_cover.png

* belt cover

* goofoo

* Update IdeaFormer IR3 V2_cover.png

* babybelt

* felix printers

* elegoo neptune 4

* Update CoLiDo DIY 4.0 V2_cover.png

* bump

* use lower case extension on all stl files

* update

* update goofoo

* update felix models

* update

* Update chuanying_x1_buildplate_model.stl

* remove duplicate keys from SeeMeCNC

* fix missing or wrong assets

* fix more assets
2026-11-07 17:35:00 +03:00
Rodrigo Faselli 4a01d5dda3 Outline options (#17319) 2026-11-07 11:32:51 -03:00
Kris Austin da77fc3ee1 Bump the version to 2.6.0-dev (#17340) 2026-11-07 08:07:41 -06:00
Kiss Lorand c01ac8ff44 Validate excluded bed area (#17209) 2026-11-06 22:39:38 -03:00
Grant Harkness bac7112046 Keep the Moonraker print host's port across sessions (#17257)
A print host with a port connected once, then failed in every later session. The agent announced the bare IP, that overwrote the saved address, and the next launch went to port 80. The announce now keeps host:port. For Moonraker, Qidi, Snapmaker and CrealityPrint, connect() also takes the port from the dev_id when the saved dev_ip has none, which repairs records saved by 2.5.0.
2026-11-06 17:37:26 -06:00
HanifKoh 5250597380 Skip the Tree Support Wall Shrink Test When Walls Are Set (#17252)
The shrink test only decides whether to add one wall, so its result is thrown away when tree_support_wall_count is 1 or more.
2026-11-06 16:50:03 -06:00
HanifKoh d4e57d8606 Use Index Arrays in the Minimum Spanning Tree (#17251)
prim() kept its working state in hash maps keyed by pointer and looked them up for every remaining vertex on every step. It now uses arrays indexed by vertex, with the same tie-break, so the tree and its edge order are unchanged.
2026-11-06 16:44:11 -06: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
Kris Austin e2c2641acf Give the plugin Permissions tab its own Processes translation (#17339) 2026-11-07 02:47:11 +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
Kris AustinandSoftFever 8b9e977458 Refresh the translation catalogs for 2.5.0 (#17336)
* 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>
2026-11-07 01:55:20 +08:00
SoftFever 10c9df3578 Complete Simplified and Traditional Chinese translations (#17333) 2026-11-07 01:16:42 +08:00
SoftFever b11009123c Update translation catalogs and fix run_gettext warnings (#17332)
* update locales

* Stop marking the plugin permissions example URL for translation
2026-11-07 01:04:20 +08:00
Felix14_v2 c43c560bbe Update OrcaSlicer_ru.po (#17225)
* Update OrcaSlicer_ru.po

* Oops

* Update OrcaSlicer_ru.po

* Update OrcaSlicer_ru.po

* Update OrcaSlicer_ru.po

* Update OrcaSlicer_ru.po

* Update OrcaSlicer_ru.po
2026-11-07 00:08:49 +08:00
TheLegendTubaGuy b46bf81396 Fix Flashforge Creator 5 process list, default processes and Pro chamber heating (#17323)
* Fix Creator 5 0.32mm process nozzle and Flashforge default processes

The 0.32mm Standard @FF C5 0.8 nozzle process listed the Creator 5 and
Creator 5 Pro 0.6 nozzle printers, so it showed up for the 0.6 nozzle and
was missing for the 0.8 nozzle. It now lists the 0.8 nozzle printers, like
the other 0.8 nozzle processes.

23 Flashforge printers named a default process they cannot use: Creator 5
and 5 Pro 0.4, 0.6 and 0.8, AD5X, Guider4, Guider4 Pro, and Adventurer 3
Series 0.6, whose default process doesn't exist. Each now names its own
process at the usual layer height for its nozzle: 0.12mm for 0.25, 0.20mm
for 0.4, 0.30mm for 0.6 and 0.40mm for 0.8.

Fixes #17306

* Let Creator 5 Pro heat the chamber when chamber control is on

The Creator 5 Pro start G-code had M191 S0. Orca skips its own M191 when
the start G-code already sets the chamber temperature, so the chamber
never heated, even with chamber control on. The line is removed from all
four nozzles. Orca now writes M191 with the highest chamber temperature of
the filaments that turn chamber control on, and M141 S0 at the end.

The 0.8 nozzle had support_chamber_temp_control off, unlike the other
nozzles, which hid the chamber control setting. Fourteen C5P filaments,
ABS and ASA among them, turn it on, so it is now on for the 0.8 nozzle too.

Fixes #14353
2026-11-07 00:07:39 +08:00
6b0d50bf7c Add Recycling Fabrik and EverLoop filament profiles (#17188)
* Add Recycling Fabrik and EverLoop filament profiles

Add six filament profiles for Recycling Fabrik (Braunschweig, Germany)
and its premium sub-brand EverLoop to OrcaFilamentLibrary:

- Recycling Fabrik rPLA, rPETG, rABS
- EverLoop rPLA Premium, rPLA Premium Matte, rPETG Premium

Values are the manufacturer's own print settings; temperature ranges
and densities follow the manufacturer's technical datasheets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Reindex OrcaFilamentLibrary after merging main

main bumped OrcaFilamentLibrary to 02.04.00.25 as well, and the textual
merge of the index left it invalid JSON. Took main's index, re-ran
update-index to add the twelve new profiles and bumped the version to
02.04.00.26. No profile values changed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2026-11-07 00:02:42 +08:00
Thalis Antunes ca9204927e Sovol SV08: point the 0.4 and 0.8 nozzle printers at process profiles that exist (#17106)
"Sovol SV08 0.4 nozzle" named "0.20mm Standard @Sovol SV08" and "Sovol SV08
0.8 nozzle" named "0.20mm Standard @Sovol SV08 0.8 nozzle" as their
default_print_profile. Neither process exists in the Sovol bundle; the
processes shipped for these printers are "0.20mm Standard @Sovol SV08 0.4
nozzle" and "0.40mm Standard @Sovol SV08 0.8 nozzle". When the name is not
found, PresetCollection::select_preset_by_name falls back to the first visible
process preset, so selecting one of these printers does not land on its own
process.

Bump the Sovol bundle version to 02.04.00.10.
2026-11-07 00:01:08 +08: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
Kris Austin d76276778c Bump the Orca Filament Library version to 02.04.00.25 (#17331)
#17029 added the PrintaLot PETG profiles without a version bump, so the bundle changed but its version did not. This fails the version check on the 2.5.0 branch.
2026-11-06 09:36:30 -06:00
Kris Austin b5c4ccd9c5 Fill every filament slot when a project has fewer filaments than tools (#17330)
Opening a project with fewer filaments than the printer has tools tops
up filament_presets and the flush matrix, but leaves filament_colour
and the other per-filament arrays at the project's count. Slicing then
fails the flush matrix check, and an overwriting filament sync reads
past the end of those arrays.

load_current_presets() used to fill the arrays on every load. Since
#15385 it compares against filament_presets, which the top-up has
already raised, so it no longer runs. Grow the arrays where the project
is loaded.
2026-11-06 09:23:38 -06:00
Lim Jooyoung 6aaee84c1f Remove settings OrcaSlicer ignores from the Prusa process profiles (#17231)
67 Prusa process profiles write keys that PrintConfigDef does not define,
so the loader drops them and they never reach a slice:

- inital_layer_height (64 files), a misspelling of initial_layer_print_height
- tree_support_bramch_diameter_angle (65 files), a misspelling of
  tree_support_branch_diameter_angle
- tree_support_branch_diameter_double_wall (17 files), an option OrcaSlicer
  removed in 2.3.0

The loader already drops these keys, so removing them changes no setting.
Each misspelled value in a selectable preset also equals the value the
correctly spelled key resolves to, so renaming them would only repeat values.
Bump the Prusa bundle version to 02.04.00.18.
2026-11-06 23:19:01 +08:00
Eric McCannandCodex 0edd6693a6 Prusa XL: "detraction_speed" does not exist (#17259)
Fix Prusa XL deretraction speed profile keys

Use the recognized deretraction_speed key so XL presets apply their specified 25 mm/s and 15 mm/s speeds instead of inheriting 30 mm/s.

Co-authored-by: Codex <codex@openai.com>
2026-11-06 23:16:16 +08:00
Thalis Antunes 1f7e195d88 Sovol SV08 MAX: add 0.2 and 1.0 nozzle variants (#17108)
The SV08 MAX ships with 0.2, 0.4, 0.6, 0.8 and 1.0 mm nozzles and uses the
same extruder as the Sovol Zero, but the bundle only had 0.4, 0.6 and 0.8.

Machines copy the MAX 0.4 and 0.8 printers; layer-height range and
retraction come from the Sovol Zero 0.2 and 1.0 printers. The 0.2 process
applies to the MAX 0.4 process the same changes Sovol made between its SV08
0.4 and SV08 0.2 processes. The 1.0 process takes line widths, layer heights
and extrusion speeds from the Sovol Zero 1.0 process and keeps the MAX 0.8
accelerations, overhang speeds and shells. The eight SV08 MAX filaments list
the two new variants, and the model advertises all five nozzles.

Bump the Sovol bundle version to 02.04.00.10.
2026-11-06 23:14:03 +08:00
7374b734d3 Add PrintaLot PETG profiles for Bambu Lab printers (#17029)
* Add PrintaLot PETG profiles for Bambu Lab printers

* Remove redundant PETG defaults after independent review

* Declare PrintaLot PETG's own values on its base

The type, 255 °C and the 17 mm³/s limit are PrintaLot's values, not the
library's PETG defaults, so they should not change if fdm_filament_pet
does. filament_type is also part of the filament_id.

* Drop PrintaLot PETG values Bambu Lab printers never read

- The multitool ramming values: only the Type 2 prime tower reads them,
  and Bambu Lab printers always use Type 1.
- volumetric_speed_coefficients: only read with adaptive volumetric
  speed, which is off.
- filament_retract_length_nc outside the H2C: only the H2C's
  change-filament G-code reads it.
- retraction_distances_when_ec where long retraction on extruder change
  is off.
- filament_preheat_temperature_delta outside the H2C: only used on
  printers with several nozzles per extruder.
- filament_flush_temp_fast 0 and filament_extruder_variant
  "Direct Drive Standard": both are the defaults.

* Move values shared by the PrintaLot PETG presets to the base

The 17 mm³/s limit and slow_down_min_speed are the same in every preset
except the 0.2 nozzles (1 mm³/s) and the A2L 0.2 nozzle (40 mm/s), and
most presets write the same placeholder filament start and end G-code.
Presets with other values keep their own.

* bump OrcaFilamentLibrary.json

---------

Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
2026-11-06 23:12:55 +08:00
Lam Wei Lun 719fdcf4dd By object: keep rotated copies of an object in their list order (#17286)
* By object: order rotated copies of an object by their list position

Copies of one object that differ in rotation get one PrintObject each, and
print.objects() lists those groups by transformation. sequential_print_
clearance_valid() keyed the instances by their object's index, which all
copies share, so std::stable_sort kept the transformation grouping and every
second copy on a rotated plate printed out of place.

Key each instance by its position in the model's object and instance lists
instead. No key repeats, so the sort no longer depends on being stable, and
arrange_order is then the list order the G-code export and the sequence
labels already print in.

Fixes #17260.

* Keep the sequential printed-copy tests in step with the list order

The new by-object test rotated a cube centred on its corner, which moved the
footprint by half the cube and closed the 12 mm grid gap under the 2 mm
clearance distance, so validation rejected the plate. Centre the mesh on the
object origin so the rotation turns the footprint in place.

Sequential clearance warned the copy that print.objects() listed first, which
for a plate of rotated copies was the rotated one. Copies now print in object
list order, so print validation warns the first copy in the list; expect that
copy from the preview as well, and drop the now incorrect header comment.
2026-11-06 21:30:38 +08:00
2ec1a0732f Plugin audit: keep non-Latin path names intact in the keyword check (#16925)
* Keep non-Latin path names intact in the plugin audit keyword check

is_denied_path_keyword() lowercased every path component with
std::tolower(), which follows the C locale. With a single-byte locale,
which the UI language sets on Windows (Russian_Russia.1251), that
rewrites bytes of UTF-8 sequences: "Новая папка" is no longer valid
UTF-8, and has_denied_config_extension() then throws "boost::filesystem
::path codecvt to wstring: partial" while turning it back into a path.
The exception left the CPython audit hook, so the plugin call never
returned, and the app crashed later in PyFrame_GetCode.

The keyword check now uses the file's ascii_lower(), which lowercases
A-Z only; the keywords are ASCII, so matching stays case-insensitive.
ascii_lower() itself no longer goes through a locale-aware
boost::algorithm::to_lower(), so the network permission keys get the
same guarantee. The audit hook also no longer lets any C++ exception
reach the interpreter: a check that fails denies the event, like an
unanswered prompt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Address review: narrower try in audit_hook, shorter comments, a test for the catch

- Wrap only audit_plugin_event() in the try, so release_frames() is called
  once after the event is decided.
- Shorten the ascii_lower() comment and drop the one that repeated it.
- Use only the .1251 locale in the non-Latin path test.
- Test that a permission prompt that throws denies the event, which
  reaches the new catch on every platform.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: GNUGiminot <215263196+GNUGiminot@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2026-11-06 20:35:44 +08:00
Lam Wei LunandSoftFever d2ade00ad8 Speed Dial: fix side effects of single-click launch (#17301)
* Speed Dial: fix side effects of single-click launch

Follow-up to the single-click launch behaviour:
- hovering a row or favourite previews it in the footer, so its description
  and wiki link stay readable without running it
- the click that dismisses the pin menu only closes the menu instead of also
  running the row under the cursor
- a double-click on "Go to tab..." no longer jumps to the tab that renders
  under the cursor

* Speed Dial: keep the hover preview on the row the pointer rests on

mouseenter also fires when rows move under a stationary pointer, so typing
a search or pressing the arrow keys moved the footer onto whatever row
scrolled beneath it while Enter still ran the highlighted one. Listen to
mousemove instead: only the pointer's own motion previews a row.

Moving from a row to the footer crosses the rows below it, and each of
them replaced the preview, so the Wiki link belonged to the last row
crossed. Commit the preview only after the pointer rests (150 ms) and
drop a pending one when it leaves the list, so the footer keeps the row
the pointer came from.

* Speed Dial: restart the hover preview timer on pointer movement

The 150 ms settle timer ran from the moment the pointer entered a row, so a row that took longer than that to cross was previewed on the way down to the footer; the wiki link then described a crossed row instead of the row the pointer came from.

Restart the wait on every move of 6 px or more and cap it at 1 s, so a crossed row is never committed while a pointer that never rests still previews the row it stays on. Moves under 6 px are hand jitter and keep the running timer, so a shake still previews. The timing is pinned by a node-vm regression test with faked timers.

---------

Co-authored-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2026-11-06 20:10:29 +08:00
HanifKoh 606b50f187 Restore the Custom Camera Source in the Device Tab (#17326)
* Restore the Custom Camera Source in the Device Tab

The printer-agent refactor reused the Device tab's WebView for the
generic snapshot stream and dropped the "Custom camera source" row from
the Camera Setting popup along with the code that showed the user's URL
in that WebView. The two app-config keys were then read nowhere, so
anyone who had a custom camera configured lost it on upgrade.

Bring the row back and show the stored URL when the source is enabled,
with the title-bar switch button toggling between it and the printer's
own stream. The agent-driven snapshot path leaves the WebView alone while
a custom source is enabled, a URL without a scheme gets http://, and the
Enable/Disable labels are translatable separately.

* Offer the Custom Camera Source Only Alongside the Bambu Native Stream

The custom view hides the Device tab's media control and play bar, which
every agent camera mode plays through (snapshot mode via the very WebView
the custom source takes over), and the 2.4.2 feature was only ever used
against the Bambu native stream. Gate the row and the stored URL on camera
mode none, which is that stream, so the custom source never contends with
an agent's own playback. Stop the native stream when the custom view takes
over, reapply the switch icon on rescale and theme change, trim and
normalise the URL in one shared helper, and reword the hint to say a URL
is expected.

* Keep the Custom Camera View in Step With the Agent's Camera Mode

Selecting a printer whose agent streams through the shared WebView
leaves the stored custom source unsupported, so reapply the view
whenever the stored state and the applied one differ, on every camera
tick and on the no-printer reset. Read the config flag before asking
the agent for its mode, so users without a custom source pay one config
lookup per tick. Stop the printer stream for the view switch without the
failure bookkeeping, which could open the LAN dialog mid-connect. Write
the trimmed URL back into the field and store it only when enabling.

* Load the Custom Camera Page Only While It Is On Screen

Let the show helper own the WebView page: it stops the native stream,
then loads the URL when the custom view comes up and a blank page when
it goes away, so a hidden view pulls no stream and the load never races
the stop. Track the applied state in a member and evaluate the stored
state once per tick. A view-switch stop leaves no retry count or
back-off behind, the URL field is read-only while the source is
enabled, and the gating comment says what mode none actually is.

* Pass the Custom Camera URL Through Once Per Tick

Read the stored URL once per camera tick and hand it to the sync, apply
and show helpers, so a toggle can no longer show a blank page when the
URL is empty and the camera-state branches no longer start with an empty
if. Disable the URL field while the source is enabled, which greys it
out, instead of a read-only state with no visual cue. The gating comment
now gives the real reason: the custom view hides the media control and
play bar that every agent mode plays through, and the feature was only
ever used against the Bambu native stream.

* Offer the Custom Camera Source With the Bambu Printer Agent Only

Printer agents are not for general use in 2.5.0, so gate the row on the
active printer agent being the Bambu one instead of on its camera mode.
The interaction with the other agents' camera modes gets a proper design
after the release.

* Note That the Custom Camera Source Is a Temporary Bambu-Only Patch

Say at the gate and in the header that the feature is a patch for the
Bambu printer agent and is to be deprecated or extended to the other
agents once printer agents are fully implemented.
2026-11-06 20:05:25 +08:00
cb80a0db84 Fix/wipetower klipper m400 stalls (#17246)
* WipeTower2: on Klipper, sync motion only before temperature commands

Follow-up to #15133. On Klipper, flush_planner_queue() emitted M400 at
every toolchange boundary, stalling the toolhead over the tower. Keep the
sync only before M104/M109/M591, and drop the sync line left behind when
GCode.cpp strips the interface-temperature M109.

End the deretraction placeholder with a newline: without the M400 that
used to follow it, the next tower move was glued to the placeholder line,
skipped post_process_wipe_tower_moves and kept tower-local Y.

Creator 5 Pro, 247 toolchanges: 1235 M400 -> 247 (~30 min saved).

* Update src/libslic3r/GCode.cpp

Good point, done. The strip now uses flush_planner_queue_command() and follows whatever the tower writes.

Co-authored-by: Kris Austin <kris.austin@gmail.com>

* tests: move the wipe tower slice and shared checks into one helper

* WipeTower2: keep the sync at the end of the unload on Klipper

[change_filament_gcode] and Tn are macros on Klipper; their non-motion
parts run when parsed, so without the sync a filament-change macro could
run while the unload and ramming moves are still queued.

Creator 5 Pro, 247 toolchanges: 494 M400 instead of 1235 (247 in this PR
before). The other boundary flushes, which stalled the toolhead over the
tower, stay removed.

* tests: check the unload sync before each change_filament_gcode

* WipeTower2: don't sync the cooldown after the interface wipe

The reset to the base temperature after the interface wipe isn't
timing-critical, but its M400 stopped the head over the tower before the
tower perimeter. Test print, Creator 5 Pro, 247 toolchanges: 3:22 with
the sync, 3:17 without it.

* tests: check only the interface cooldown for a missing sync

* WipeTower2: skip the cooldown sync on Klipper only

---------

Co-authored-by: Kris Austin <kris.austin@gmail.com>
Co-authored-by: GhZserG <ghzserg@zmod.link>
2026-11-06 18:58:00 +08:00
SoftFever 73e64d3bc5 Sign Windows release and nightly builds in CI (#17305)
* Sign Windows release and nightly builds in CI

* Replace the README's SignPath signing policy with a signed-builds note
2026-11-06 13:33:40 +08:00
Ian Bassi c78272f583 Keep realistic view on while painting seams, supports and fuzzy skin (#17317) 2026-11-05 20:10:22 -03:00
Kris Austin 73766ddd42 Ask for before and after screenshots in the PR template (#17303)
CONTRIBUTING.md already asks for them on GUI changes, but the template
only asked for relevant screenshots. Use the same wording, link to the
table of what each kind of PR needs, and link the How to Contribute
wiki page.
2026-11-06 01:37:13 +08:00
Lam Wei Lun a620d804ef By layer: keep As object list copies in their list order (#17232)
By layer: order As object list copies by their list position

sort_object_instances_by_model_order() keyed every instance on its object's
index when it initialized the order, so all copies of an object tied.
print.objects() does not list the copies in list order either: copies with a
different rotation live in separate PrintObjects, ordered by transformation,
so the ties were broken by that grouping and the copies printed as 2, 4, 6,
1, 3, 5. std::sort reordering the ties made it worse from 17 instances up.

Number the instances by their position in the model's object and instance
lists instead. No order key repeats, so a plain sort is enough; the renumber
after it compacts this print's instances to 1..n. The other intra-layer orders
and the by-object path are unaffected.

The new test rotates every second copy, which fails on every platform before
this change, MSVC included.
2026-11-05 21:40:41 +08:00
SoftFever 637d7a9ce6 Enable vendor profile updates by default, except in stealth mode (#17289)
* always enable OTA

* Stop vendor profile update checks in stealth mode

* Keep vendor profile updates off in dev builds
2026-11-05 18:46:13 +08:00