* 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>
(cherry picked from commit 8b9e977458)
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.
(cherry picked from commit 6aaee84c1f)
* 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
(cherry picked from commit b46bf81396)
* 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>
(cherry picked from commit 6b0d50bf7c)
"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.
(cherry picked from commit ca9204927e)
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.
(cherry picked from commit b5c4ccd9c5)
#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.
(cherry picked from commit d76276778c)
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.
(cherry picked from commit 1f7e195d88)
* 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>
(cherry picked from commit 7374b734d3)
* fix: stop the Speed Dial dismissing itself on the first open
Opening the dial with Space and not touching anything closed it again a
moment later, on GNOME and KDE, X11 and Wayland, and only on the first open.
The dial hides on wxEVT_ACTIVATE(false), but wxGTK does not deliver that
event to the window that lost the focus: gtk_frame_focus_out_callback sends
it to g_activeFrame, the toplevel that was activated last (wx
src/gtk/toplevel.cpp:192-205). A deactivation that belongs to another
window, or the same one arriving while the dial is still taking the focus,
therefore read as "the user dismissed the dial". The first open is the only
one that maps the window, moves it, resizes it to its content and grabs
focus into a web view that has never held it, so it is the only open
exposed to that ordering.
Validate the dismissal instead of trusting the event: arm a 150 ms one-shot,
cancelled by any activation, and hide only if the dial is still shown and
its window is no longer active. On GTK ask the window with
gtk_window_is_active(), because wxTopLevelWindow::IsActive() resolves
through wx focus tracking, which does not follow the focus that WebKit's
native widget takes. Also skip the pre-map focus grab on the first open: at
that point wxGTK has not mapped the window yet, so the grab cannot land.
speed_dial_should_hide() is a free function, so the rule is covered by
tests/slic3rutils/test_speed_dial_dismiss.cpp without a GUI.
* docs(wxwidgets-skill): document the validated Speed Dial deactivation
Section 10 described the dial's old handler, which hid on every
wxEVT_ACTIVATE(false). The skill is the review ground truth, so it has to
match the code: the deactivation is now validated after a settle interval
against the window's real active state, because wxGTK sends that event to
the last activated toplevel whatever window lost the focus.
* Ignore Page Changes of Inner Books in the Main Tab Handler
The main frame's tab-panel handler receives the page-changed event of
any book inside a page, because wxBookCtrlEvent propagates and the
Calibration page's Tabbook has no handler of its own. It then treated
the inner page switch as a main tab change: it reset the selected tab,
toggled the undo/redo buttons and called SetFocus() on the current page.
On wxGTK, SetFocus() on a child of a visible but inactive top-level
window presents that window. While the Calibration page is built in the
background after start-up, this re-activated the main window and the
Speed Dial, which hides when it loses the focus, closed by itself a
moment after its first open on Linux.
Only act on events whose object is the main tab panel.
* Include wx/timer.h Where the Speed Dial Binds Its Timer
* Describe the Real Cause of the Speed Dial's First-Open Close
The deferred, re-checked hide absorbs a focus bounce shorter than its
delay. It did not stop the first-open close, which was the main frame
activating itself from its tab handler; say so in the comments, the
test and the skill reference instead of describing a misdelivered
deactivation.
---------
Co-authored-by: Hanif Koh <hanifkoh@outlook.com>
(cherry picked from commit bd3e9aeb96)
The navigator is drawn into ImGuizmo's NoInputs "gizmo" window, so ImGui
never owns the press (mouse_avail_to_imgui is false) and WantCaptureMouse
only reflects what the previous frame requested. ViewManipulate asked for
capture only on frames with a non-zero MouseDelta, so the still frame that
follows the press dropped it.
The next motion event then reached the canvas, which latched it as a camera
drag. With an object behind the navigator that drag is refused at
GLCanvas3D::on_mouse (the m_hover_volume_idxs gate of the rotate branch),
so nothing marked the scene dirty, no frame rendered, and the navigator never
rotated. The armed isClicking survived to the release frame and snapped the
view to the pressed panel instead.
Request capture for as long as the press is held, so the navigator owns the
whole gesture.
Fixes#17282
(cherry picked from commit 61e1841f9d)
* 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>
(cherry picked from commit cb80a0db84)
* 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.
(cherry picked from commit 606b50f187)
* Sign Windows release and nightly builds in CI
* Replace the README's SignPath signing policy with a signed-builds note
(cherry picked from commit 73e64d3bc5)
* 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>
(cherry picked from commit d2ade00ad8)
* 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>
(cherry picked from commit 2ec1a0732f)
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.
(cherry picked from commit a620d804ef)
* always enable OTA
* Stop vendor profile update checks in stealth mode
* Keep vendor profile updates off in dev builds
(cherry picked from commit 637d7a9ce6)
PlaterPresetComboBox::update() froze the combo and returned without
thawing it when the slot had no colour icon, which happens on a tool
changer whenever filament_presets is topped up to the tool count while
the colour arrays keep the project's shorter length. The leaked freeze
count left the combo unpainted for the rest of the session.
The slot now shows a blank swatch and still fills its list, and
update_ams_color() grows the colour arrays to the slot before writing,
as sync_colour_config() already does.
(cherry picked from commit 1a61ffd32e)
Fixes#17256
On a machine with no saved `sync_state`, the first `sync/pull` sent whatever was in memory as `?cursor=`. The server answered 400, nothing was downloaded, and the account's presets never arrived because only a 410 clears the cursor.
`SyncState::last_sync_timestamp` now starts at zero, so a session with no saved state pulls everything. `SyncPullResponse::next_cursor` had the same problem on a 304, where a stray value would have been saved to `sync_state` and sent on every later pull, so it and the other scalars in `ProfileUpsert` and `SyncPushResult` start at zero too.
(cherry picked from commit dd0079ec64)
Fixes#17128
Clicking Print on a Creality printer asked it for its CFS slots on the UI thread, with the 10 s command timeout. A K1C without a CFS never answers that query, so OrcaSlicer froze for 10 s on every click.
The send dialog now opens right away and reads the printer on a background thread. Upload works at once, and Upload and Print turns on when the read ends. The slot query waits 5 s, or the full 10 s once the printer reports `"cfsConnect": 1`, and stops as soon as it reports `"cfsConnect": 0`. When there is no filament mapping, the dialog says whether the printer reports no CFS, lists no slots, or can't be reached.
(cherry picked from commit 0b1d825142)
Internal solid infill fell back to fixed width loops so that Arachne's open
walls would not be printed after an outward spiral, which ends at the edge
and travelled back to the centre for them. Fixed width loops leave strips
up to two lines wide in the middle of an island and wedges where it
branches: on calicat.3mf they need 218 mm of gap fill against 53 mm with
Arachne, and with gap fill off for internal solid those gaps stay empty.
Keep Arachne for every solid surface and print each open wall at the centre
end of the nearest spiral instead: before an outward spiral, which starts
there, and after an inward one, which ends there.
(cherry picked from commit 9afa96e92f)
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.
(cherry picked from commit 88c4c1e915)
fix: keep the Speed Dial anchored to the main window
The dial is a long-lived hidden window. Its origin was computed once, at
construction (DPIAware's CenterOnParent and create_webview's), and never
again, so moving or resizing the main frame - or dragging it to another
display - left the dial at the centre of the frame's original rect. Wayland
only looked correct because the compositor places the window there.
Re-derive the origin from the parent's current screen rect on every open,
again once the window is mapped (GTK drops a position requested before the
map), and on a DPI change. The origin comes from the fixed 540x282 box
rather than the current client height, so the content-driven resize does
not move the window while the user types. On GTK, clear the dialog's
default CENTER_ON_PARENT hint so the window manager stops overriding the
computed coordinates.
The geometry is a free function, so the centring and the work-area clamp
are testable without a GUI.
(cherry picked from commit 78134d24c6)
A printer saved while its preset used the default Orca agent stayed tagged "orca" after the preset moved to another agent such as Moonraker. select_machine() reused that entry as is, but the new agent's machine list can't see it, so the printer never connected and filament sync did nothing.
select_machine() now re-inserts such an entry for the active agent, which retags it and replaces the placeholder access code with the preset's API key. Entries saved under any other agent are left alone, so a code entered for that agent is kept.
Fixes#17004
(cherry picked from commit a30aa7ba8d)
The sync dialog is reused between syncs, and its plate index is left over from the last one. If that plate no longer exists, because it was deleted or a project with fewer plates was loaded, the next sync read the thumbnail of a null plate and crashed. reinit_dialog() now falls back to the current plate when the index is out of range.
(cherry picked from commit 70bc685101)
On a belt the brim and the part's outer wall didn't land at the same
height above the belt, so no single endstop or Y offset setting worked
for both (#16705). Brim lines sat at a fixed 0.75 layer height above
the belt. The outer wall where it rests on the belt sits half a layer
up, because the layer is sliced at mid-height, plus half its width
times tan(tilt), because it is inset half a width from the slice edge.
At 45 degrees with 0.32 mm layers and a 0.4 mm wall that is 0.24
against 0.36 mm. Brim lines now sit at the clearance of the outer wall
that rests on the belt in their own band's layer, with XY contour
compensation included. Each line's bead is built from its spacing and
clearance, so it fills its cell however small the clearance gets.
Flow::with_cross_section(), used before, delivers only a quarter of the
area once it falls back to a round bead.
The first-layer test measured from the nozzle, so a wall resting on
the belt never counted as first layer and printed at full speed with
the fan on, and the raised brim would have dropped out too. It now
measures from the belt under the edge of the bead. Travels use the
width of the path they lead to. Brim lines are as wide as the bands
are far apart, not as a bead, so they always count as resting on the
belt.
Speed, flow ratio and acceleration are chosen once per path, and a
wall loop runs from the belt up the part, so the whole loop took
whatever its seam point got. Belt paths are now cut where they cross
the edge of the first-layer band or a step of the slow_down_layers
ramp. Each piece is judged by the heights of all its points. Small-area
flow compensation keeps using the original line lengths.
Non-belt printers are unaffected.
Claude-Session: https://claude.ai/code/session_01Ux9BwdWCA7N8UG7ftaNkWg
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 3ac1b0078d)
On a belt printer the slicing height comes from the box of the mesh under
trafo_centered(), which already carries the shrinkage compensation, and
SlicingParameters::create_from_config() scaled it by the Z compensation again.
With a Z shrinkage above 100 % the top of the part was not sliced.
The belt build height check now also compares the compensated height when the
object is too tall, so an object that only fits after the compensation is no
longer refused.
Co-authored-by: SoftFever <softfeverever@gmail.com>
(cherry picked from commit a837652833)
The supported AMS firmwares were stored in an unordered_map, so the AMS
type combo listed them in an unspecified order and then selected the
current firmware by treating its id as a combo row. With an AMS Lite
(id 0) the dialog showed "AMS/AMS 2 Pro/AMS HT", and choosing a type
sent the row index as the firmware id, so it could request the opposite
firmware.
Store the firmwares in a std::map, so iteration is ordered by firmware
id and the id stays a valid combo row index.
Fixes#17125
(cherry picked from commit a5210459ee)
A vendor's installed preset cache survives an app upgrade, and the
dictionary records the type every option was written as. When a build
reads a cache written by a build that typed an option differently, the
reader dropped the option and the preset fell back to the collection
default, which is not what the vendor's JSON says. enable_arc_fitting
became an enum in 2.5.0-beta, so every vendor whose bundle was not bumped
between the alpha and the beta now loads with arc fitting off from the
alpha's cache, and the alpha reads the beta's cache the same way.
Read such a value by the writer's type and hand its text to
set_deserialize through a scratch config, so handle_legacy and the
bool/enum substitution run on it exactly as for a JSON profile and a
failed parse leaves nothing behind. A text this build cannot place is
still dropped, reported once per key per file.
(cherry picked from commit 5fb129f1f3)
A scarf ramp that would end less than half a step before the next loop
vertex was extended to that vertex, so that no flat stub follows the ramp.
Arachne places the wall's vertices a little differently on every layer, and
arc fitting moves them further, so the ramp grew by a different amount on
neighbouring layers: the scarf end, which the preview draws as the seam,
stepped sideways by up to half a step from one layer to the next.
Where the vertex lies within an eighth of a common line width of the
straight line from the exact ramp end to the vertex after it, measured in
3D so a Z contour is kept, the flat path now skips that vertex instead. The
ramp keeps its exact length and ends at the same place on every layer, and
the first flat segment is still at least as long as the one that followed
the vertex. At a corner, or when the vertex ends the path, the ramp is
extended as before.
(cherry picked from commit 6c96e41162)
On Linux, Esc in the settings search reached the printer or filament
settings dialog, which closed while the search popup kept its input grab.
On Wayland this froze the whole UI; on X11 the popup stayed on screen and
swallowed the next click. Esc in the object list search did nothing.
Both search popups now handle Esc themselves: it closes the search and
goes no further. In the settings search, focus returns to the search
button, so the dialog stays open and a second Esc closes it.
(cherry picked from commit 06bccd5570)
With slowdown_for_curled_perimeters on, the fully unsupported entry of the overhang speed table was overhang_4_4_speed for every role. Since #14735 samples the inside of a line, the unsupported middle of an anchored bridge strand got that speed. Bridge infill now uses bridge_speed there, like the branch without curled slowdown. Other roles keep their old speeds.
(cherry picked from commit 533d4c3e9e)