In Touchpad camera mode, releasing Shift after a pan or Alt after an orbit left the camera move active. The next right-click then skipped the menu and, since #17432, the object selection.
Finish the pan on Shift release and the orbit on Alt release. This replaces the Windows-only Alt release handling from #8249, which stopped the orbit but still left the next right-click ignored.
Fixes#17844
Signed-off-by: Sergei Rozhkov <zmod@zAdd a "Flow calibration" checkbox to the Flashforge send dialog, shown only for the Creator 5 and Creator 5 Pro. It sets the flowCalibration upload header, which was hardcoded to false. Other printers still send false.mod.link>
- Register the bundled Sarabun fonts with wxWidgets in `Label::initSysFont()`, so a Thai UI on Linux falls back to Sarabun instead of showing boxes when the system has no Thai font. The Linux check that skips registration when fontconfig already has the bundled fonts now includes Sarabun.
- Add "Sarabun Medium" to the Text tool's bundled font fallback. Windows lists Sarabun under that name, so "Sarabun" never matched and a Thai UI got the English default text.
Slice all listed every filament slot in the custom nozzle grouping
dialog, so a mixed filament showed up as its own spool. Slice plate
already lists only physical filaments, because get_extruders() expands
a mixed slot into its components. Skip the mixed slots for Slice all
too. The mixed slot keeps its entry in the saved filament maps, but the
dialog no longer sets it, the same as Slice plate.
Fixes#17712
Exporting all sliced plates put every plate's filament ids and colors into the selected plate's Metadata/plate_N.json, and left the other plates' lists empty. export_3mf now indexes the bounding-box data by each plate's own index.
That data stays on the plate between exports, and the writer adds a plate_N.json for every plate that has it. So the export clears every plate's filament lists first, then fills in the plates it exports. Plates left out of an export get empty lists, and repeat exports don't duplicate entries.
Adding a physical filament inserts it ahead of the mixed filaments. Height ranges and the per-feature filament settings (outer and inner walls, sparse and internal solid infill, top and bottom surfaces) kept their old slot numbers, so an assignment to a mix printed with the new physical filament instead.
Shift those assignments with the mixes when a filament is added, and move them with the deleted or merged slot when a filament is removed. This covers the process preset, objects, parts, modifiers and height ranges. Inherited (Default) assignments are unchanged.
When a published 3MF import moves mixed filaments, imported parts and published process settings follow the author's slot moves, and process settings kept from the receiver follow the receiver's own mixes. A receiver mix that moved no longer redirects the author's references to the physical filament in that slot.
Fixes#17727
Port the Kobra 3 Max V2 printer, process and filament profiles from Anycubic Slicer Next (profile bundle 1.3.2609.02) for the 0.25, 0.4, 0.6 and 0.8 mm nozzles. All four nozzles are hardened steel, and the 0.25 nozzle is V2 only.
Anycubic's zig-zag sparse infill becomes rectilinear, the same conversion Orca applies to legacy configs.
Move the logo in the shared Kobra 3 Max bed texture to Anycubic's revised position, which Anycubic Slicer Next uses for both the original Kobra 3 Max and the V2.
The Flashforge filename sanitizer replaced every non-ASCII byte with `_`, so a file named `Тест.gcode` reached the printer as `________.gcode`. For uploads through the local HTTP API, only the characters FlashPrint rejects (`< > [ ] : / \ | ? * "`) and control characters are now replaced. Non-ASCII text, spaces and parentheses are kept. The legacy TCP upload still uses the strict ASCII sanitizer.
* init
* fix assembly
* fix text instances and storing rotated items on assembly
* unposed source as new object
* simplify comments
* update text object
* fix object looses positioning after deleting volumes
* fix scale properties not used for instances on assembly view
* fix undo history for scale not reflected to assembly view
* apply exact scaling to assembly view for fixing skewed scalings
* fix cant create proper instances from skewed objects
* Preserve assembly poses when splitting an object into parts
---------
Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
With remember_printer_config on, switching printers rebuilds the filament list from the new printer's saved selection but only refreshed the sidebar. The plates kept their filament maps sized for the old filament count, and Print::apply took them over the resized project maps, so the flush reorder read past the end of the filament list. Resize the plates' filament maps and print sequences on the switch, and cut filament maps longer than the filament count in Print::apply.
Fixes#17562
Keep only the first 2 extruder types in the calibration preset page
A Snapmaker U1 matches a preset with 4 extruder types, and the page wrote
all of them into a list sized for 2. Linux builds aborted on the vector
assertion; other builds wrote past the end.
InputIpAddressDialog centers itself on the main frame and then moves up by
50 DIP, with nothing clamping the result to the display. wxWidgets pulls a
centered window back onto the display, but for a window taller than the work
area its last step is to bring the bottom edge into view, which leaves the top
off screen. The 50 DIP shift then adds to that. At 350% display scaling it is
175 physical pixels, so the title bar, the first line and step 1 all end up
above the top edge, as reported in #17749. The dialog has no resize border and
the title bar is the part that goes off screen, so it cannot be dragged back
into view either.
Clamp the final position to the work area of the display the dialog was
centered on. The clamp moves the dialog only when it would fall outside the
work area, so one that already fits keeps its exact position and size. Every
later Layout() and Fit() in this dialog preserves its top left corner, so
clamping once after it is positioned is enough to keep the title bar reachable.
* Precise Seam: intersect modifiers with the model surface, not the perimeter centerline
A modifier acted where it crossed the centerline of the printed perimeter, which
lies about half a line width inside the model surface and deeper at corners. It
now acts where it crosses the model surface.
- The surface is reconstructed from the centerline by a shift of half the
external perimeter width less the XY compensation and a 5 um margin, clipped
against the modifier and carried back onto the centerline.
- On elephant foot layers and with Arachne the shift is measured against the
layer's islands.
- With fuzzy skin the perimeter generator keeps the centerline before texturing
(ExtrusionLoop::untextured); modifiers are evaluated on it and the points are
carried onto the noisy loop.
- Open extrusions are left out of Precise Seam.
- The "had no effect" warning no longer names the centerline.
See docs/HLSD/precise-seam.md.
* Precise Seam: fuzzy skin window per loop kind; no negative search reach
The transfer window of a fuzzy skin loop counted every region with fuzzy
skin on the layer, including those that do not texture its kind (a Hole
region for contours, an External one for holes). FuzzySkin.cpp skips such
regions, so mixed settings widened the transfer search and the weak zone
order check. The window is now computed for contours and holes separately
from the regions should_fuzzify() selects, as a function in
PreciseSeamInternal.hpp with a unit test.
The modifier prefilter of the measured shift no longer takes a negative
reach: a compensation beyond the whole wall depth leaves no shift.
* Precise Seam: shift narrow classic loops by their own line; keep the warning translations
Without thin wall detection the classic generator prints an island too narrow for
two lines with a thinner line and insets the loop by half of that width, while the
surface shift used the region's external perimeter width. The reconstructed
surface lay 0.055 x spacing - 5 um outside the model, more than the margin, so a
modifier flush against the face acted on such loops. The shift of a classic loop
now comes from the width of its own external perimeter path; Arachne loops are
measured as before.
The two "had no effect on the seam" messages lost their bracketed part, and the
catalogs dropped the old entries without getting the new ones. The entries are
back under the new msgids with the existing translations, trimmed of the
bracketed part.
* Precise Seam: keep the aligned seam inside an Enforced modifier zone
A loop with an Enforced zone in effect now has exact ends: alignment no longer
moves the seam up to 0.2 mm past a zone boundary, and Random does not sample
the edge leaving the zone.
* Precise Seam: test both ends of an Enforced zone in alignment
The regression test for the aligned seam leaving an Enforced modifier zone
ran on the right face only, where the stepping end of the zone is the last
candidate of the Enforced run. It now also runs on the left face, where the
same end is the first candidate, so both directions of the allowed arc are
checked.
The HLSD notes that a zone reduced to a single candidate holds the aligned
seam on it, so alignment cannot smooth its shift between layers.
Custom G-codes and wipe tower positions are stored by plate index, and reordering plates left them at the old index.
- Moving a plate reorders `wipe_tower_x` and `wipe_tower_y` with it.
- `PartPlateList::remap_custom_gcodes()` re-keys `plates_custom_gcodes` by plate ID after a plate move, a plate deletion and an undo/redo jump. Entries of a plate that an undo removes are kept and restored when the plate comes back.
- Undo/redo restores every changed wipe tower position instead of only the first.
Restore a maximized main window without resizing it on X11
Mutter/Muffin turn a client resize of an undecorated window to exactly the
monitor rect into a fullscreen window, so the main frame came up fullscreen
instead of maximized when the panel reserved no strut (#17191). On X11, skip
SetSize when the saved state is maximized and skip window_pos_sanitize for
maximized or fullscreen windows. Windows and macOS keep the resize, which
sets the normal size Restore Down returns to.
persist_window_geometry also ignored the window name and stored the non-modal
settings dialog under window_mainframe. Use the window's own name.
With "No sparse layers" on, Arrange and Fill bed keep objects as far from the compacted prime tower as the slicer's clearance check needs. Objects stay the toolhead radius away, or 4 mm when none of the objects being placed is taller than nozzle_height. Objects taller than the rod clearance are also kept out of the tower's Y span, and the final alignment of the pile is skipped in that case. Placing a newly added object keeps the full toolhead radius.
With the option off, arranging is unchanged.
Fixes#17566
Skin and skeleton line widths are only validated for Locked Zag regions, the only pattern that prints them. A bridge as wide as the layer is tall is accepted without thick bridges.
Flow::with_cross_section() gave a line shrunk into a round strand a quarter of the cross-section it asked for, using the radius as its diameter. This changes G-code for bridges, overhang walls and support bottom interfaces without thick bridges whenever the bridge flow ratio is low enough to shrink the line to the layer height.
tests/slic3rutils/test_part_plate.cpp includes slic3r/GUI/PartPlate.hpp,
which reaches wx/wxprec.h and so needs the Windows headers first. Without
them clang-cl stops in wx/msw/private.h on WNDPROC, RGB, VK_SHIFT and
GetWindowRect, and the Windows arm64 build fails.
The slicer target has a precompiled header that supplies those headers and
the test target does not, and MSVC accepts the file anyway, so only the
arm64 build breaks. Windows arm64 is skipped on a pull request that has no
build-windows-arm64 label, so the test merged in #17664 without that leg
ever compiling it.
tests/slic3rutils/test_scene_raycaster.cpp is the only other test in this
target that pulls in the GUI headers, and it opens with the same prelude.
The server-connected handler selects the agent's current machine again every time the cloud
server connects. For a LAN printer this makes the Bambu network plug-in unsubscribe the device,
which drops the LAN session that selecting the printer opened. A connect still in flight fails
with "called UnSubscribeDevice". One that already succeeded stays down with no connect result, so
the printer shows as connected while every command fails with -4 and Print fails with -4030.
Since #17086, OrcaSlicer connects the last LAN Bambu printer at startup, so a LAN user hits this
on most starts. A cloud reconnect later in a session drops the session the same way.
The selection is a cloud subscription, so a LAN printer does not need it. Move the re-select into
DeviceManager::reselect_cloud_machine(), which skips a LAN-mode printer and behaves as before for
any other machine.
Fixes#17766
The Orca Cloud and Bambu Cloud login dialog had a fixed size of 650x840 DIP. At 150% scaling on a 1080p screen it was taller than the work area, so its title bar was off screen and it could not be moved or closed.
The size is now clamped to the work area of the display the main window is on, and after centering the dialog is moved to stay inside that area. The dialog is also resizable, and the webview fills it when it is resized.
Selecting several instances of one object with the Move gizmo in Object coordinates, by clicking them or with Ctrl+A, made get_selected_single_intance() index the instance list with -1 and crash. It now returns nullptr when the selection has no single instance, and the gizmo uses the first volume's instance transform instead.
The change filament G-code of the three CFS-C profiles moved to X0 Y245,
the park of the K1 Max's 300 mm bed. Use X42 Y180, as the other 220 mm
K-series profiles and Creality Print's K1C CFS profile do.
Fixes#17677
Prepare and Preview share one page window, the Plater. On every switch between them, wx hid that window and showed it again right away. On GNOME Wayland this unmapped and remapped the GL canvases and triggered a mutter subsurface bug, which left a frozen copy of the Prepare view at the top-left of the window (#17189). Notebook no longer hides the page that is being selected, and switches between other tabs are unchanged.
Upload and Print picked the start command's folder from the model that /info reports, and every
unlisted model got /mnt/UDISK. A Nebula Pad reports the printer it is fitted to, such as
"Ender-3 V2 Neo", and keeps its G-code under /usr/data, so its firmware ignored the start.
Before the start, the host now asks the printer for its G-code file list (reqGcodeFile), as
Creality Print does, and starts the upload from the path listed for it. K1-family firmware answers
retGcodeFileInfo and K2-family firmware retGcodeFileInfo2. A list without the upload is asked for
again until files_reply passes. When the printer doesn't list the upload, the model table decides
as before, and it now includes "Ender-3 V2 Neo".
A multi-nozzle printer whose profile never sets physical_extruder_map, such as the Snapmaker U1, carries the single-entry default {0}. PartPlate::get_physical_extruder_by_filament_id indexed it by logical extruder, so Print plate read past its end for any plate that used filament 2 or later, and the Flatpak aborted there.
PartPlate's lookup, the printer sync in Plater and the three calibration setups in CalibUtils now read the map through effective_physical_extruder_map. It returns the profile's map when its length matches the nozzle count and the identity otherwise, so printers that ship a full map get the same values as before. The helper moves unchanged from IMEXHelpers to PrintConfig and PresetBundle, and its tests move to test_config.cpp. The G-code paths are unchanged.
Since 2.4.0, Elegoo Link only tried OctoPrint for presets whose printer_model doesn't start with "Elegoo Centauri", so a Centauri Carbon on a custom preset failed Test and upload with a 404. Those presets now try OctoPrint first and fall back to the Centauri Carbon check and upload, as 2.3.2 did. When both checks fail, Test and upload report the OctoPrint error. Elegoo Link now calls OctoPrint's upload after its own check, so `/api/version` is requested only once. Centauri Carbon and Centauri Carbon 2 presets are unchanged.
Fixes#17570
`GCodeProcessor::m_pressure_advance` was not set in `reset()`, so G-code without a pressure advance command showed a random PA value in the preview. It is now reset to 0 with the other per-move state, and a test checks that a reset processor does not keep the previous G-code's value.
Backport PolyClipping/Clipper2 f97d65d. CheckSplitOwner descended into an
emptied OutRec's splits without the recursive_split guard, so emptied
OutRecs that referred to each other recursed until the stack overflowed.
Fixes#17584
flatpak-builder checks that a named branch's tip is the pinned commit, so the source download failed as soon as the fork's v3.3.2 branch moved past b44c39c1. Both Flatpak jobs stopped with "Git commit for branch v3.3.2 is 89844cb1..., but expected b44c39c1...".
#17742 fixed the same breakage in the CMake deps recipe, which the Flatpak build does not use. The manifest carries its own pin, so it needed its own fix.
Dropping the branch keeps the commit pin and leaves nothing that goes stale when the fork moves. kde-extra-cmake-modules in this file already pins itself the safe way, with an immovable tag plus its commit. disable-shallow-clone makes git fetch full history, which it needs to check out a commit that is no longer a branch tip.
Also rewords the comment #17742 left in deps/wxWidgets/wxWidgets.cmake. No build change there.
Reported in #17740.
GIT_TAG pins a commit, but GIT_SHALLOW fetches only the fork's branch head, so the
checkout failed as soon as the fork moved past that commit. Every source build broke
at the wxWidgets download step with "unable to read tree", including distribution
packages built from the 2.5.1 tarball and our own deps jobs on a cache miss.
Pinning the new head instead would work until the next time the fork moves. A full
clone keeps the deliberate pin and cannot go stale.
Fixes#17740
Since the OCCT 8.0.1 update, some STEP files imported with cone faces missing. OCCT told the two seam pcurves of a cone apart with a 1e-7 threshold, which fails when the neighboring pcurves end slightly past the seam. The OCCT patch now picks the closer pcurve. The #16290 fix is kept.
Also stops admesh from merging unrelated edges of open meshes from STEP and SVG import on ARM64. A mesh built in memory reaches the nearby check with a tolerance of 0, and dividing by it was undefined. The check now returns early, which is what x86-64 already did.
A SPARKX i7 with a CFS Lite reports "cfsConnect": 0 and then answers the slot query. The query stopped at that status, so filament sync found no slots. It now keeps reading for a short no-CFS deadline and treats the printer as having no CFS only when no slots arrive.
* Trim Trailing Zeros at the Decimal Separator wxWidgets Wrote
double_to_string formats with wxNumberFormatter, which writes the UI locale's decimal separator, but trimmed after the C locale's separator. When the two differ, as reported on macOS in Czech and Russian, nothing was trimmed and fields showed 0.2000. Trim at wxNumberFormatter::GetDecimalSeparator() instead.
* Parse Point Fields Whichever Decimal Separator They Show
Point fields write X and Y with the UI locale's decimal separator but read them back with ToDouble, which uses the C locale's. When the two differ, any value with decimals fails with Invalid numeric and resets. Read them with string_to_double_any_separator, which converts the other separator to the C locale's before ToDouble, so every input ToDouble accepted before still parses.
* feat: initial migration to let UV install plugins for .whls
* fix: clang-tidy
* Simplify plugin wheel loading through uv
* fix: use legacy loader for plugins loaded with legacy method
* fix: use same unzip name as old one
* fix: keep legacy plugins on the same path
* fix: unit tests
* fix: allow epoch versions in wheel filenames
* fix: clang-tidy
* fix: pass Unicode paths to uv on Windows
* fix: cleanup
* fix: support Windows long paths when installing wheel plugins
* fix: recognize uppercase .whl extensions in plugin discovery and dependencies
* fix: keep plain import paths for short namespace and compiled packages
* refactor: fold duplicate wheel import and cache migration branches
* fix: treat an absent package directory as a single-module import
* fix: windows long path deletion (#17703)
* fix: handle long Windows plugin cleanup paths
* fix: warn when plugin deletion removes no files
The solid model capped the section view's cut with the body's wall colour, while the two layer caps already took the infill's. The section cap now takes the infill colour sampled over every layer the solid stands for, as the body takes the wall colour, falling back to the body's colour where a body has no infill. Views that colour by filament are unchanged.