A K2 SE lists a loaded spool whose RFID tag the firmware does not know
with only its colour: vendor, type and name blank, state 2. The printer
shows the spool, but parse_cfs_response skipped every material with a
blank vendor and type regardless of state, so the sync dialog never
offered that slot. No firmware has been seen marking an empty slot that
way; empty slots carry state 0 and no colour.
Skip a non-zero state entry only when its colour is blank too. The slot
then shows in the sync dialog as an unread tray, like a Bambu tray with
an unknown spool: mapping it yields Generic PLA in the default colour.
The preset matcher returns no preset for an empty type instead of
scanning every preset for nothing.
The sync code for Moonraker printers assumes every tray either carries
a filament id or is a placeholder for an empty slot; an existing tray
with neither shifts the entries of the trays after it in an overwrite
sync. So a tray that resolved to no preset is published as a placeholder
as well: the overwrite sync keeps the project filament in that position,
as it does for an empty slot, and the tray stays visible in its colour.
Read the box and material fields through the null-safe JSON helpers the
K1 parser already uses, so a null or mistyped field reads as blank
instead of throwing out of the sync.
Tests: parse the reporter's boxsInfo payload and check that the unnamed
spool is listed, a truly blank entry is still skipped, a null field
reads as blank, and an empty type matches no preset; an overwrite sync
with such a placeholder between loaded slots keeps every slot's colour.
* Keep Short Objects on the Plate When Arranging By Object
Arranging objects shorter than the nozzle height for printing by object
placed them off the plate, and the plate then reported them too close to
each other (#16991).
- The arrange bed grew by half the extruder clearance radius, while short
objects are only inflated by half the gap between them, so the extra bed
was free to use. The bed now grows by the objects' actual inflation,
after the bed margin is given back to the largest object.
- Arrange kept short objects 2 mm apart, but the sequential clearance
check needs a nozzle diameter between them.
- Giving back the bed margin measures objects without that inflation,
which only keeps objects apart, plus EPSILON so rounding still lets an
object that fills the bed be placed.
- Exclusion regions are moved only when the bed grows, so short objects
keep their gap to calibration regions on every side.
* Avoid objects at the bed edge and fit turned objects when arranging by object
---------
Co-authored-by: SoftFever <softfeverever@gmail.com>
* Verify and improve AI pt_BR translations
* Fix typos and agreement left by the pt_BR term changes
Cabeçote is masculine and ponte feminine, so the switch from cabeça da ferramenta and pórtico left mismatched articles and pronouns. Also restore capitals on sentence-initial "Clique" and fix "rteservada".
---------
Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
wall_loop_direction and initial_solid_infill_acceleration in the three
SV08 MAX processes, and minimum_sparse_infill_threshold in eight SV06 ACE
and SV06 Plus ACE processes, are not options OrcaSlicer defines. The
loader drops them, so removing them does not change the sliced output.
The SV06 ACE files already set minimum_sparse_infill_area.
Bump the Sovol bundle version to 02.04.00.09.
Adds system profiles for the BenFab 450, a Klipper (Moonraker) FFF printer with a 426 x 426 x 480 mm build volume: 0.4/0.6/0.8/1.0 mm nozzle variants, Fine/Optimal/Standard/Draft processes per nozzle, OrcaFilamentLibrary generic filaments, cover image, bed model and texture.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Inline Machine start gcode for RF50 0.6 nozzle
The previous fix seperated the `machine_start_gcode` into
multiline strings sperated by commas which were then translated
to real commas on the RF50 0.6 nozzle profile. Now it's inline
and the gcode commands are only seperated by a newline. This way
there are no errors when printing with this profile and the correct
pressure advance is set when the print start.
* Bump up Blocks profile version
* Group a filament onto the nozzle that has it loaded in Filament-Saving mode
* Match closer colours and the same filament sub-type in Convenience mode
The lightning distance field samples each layer's overhang on a grid
anchored at the bounding box of the infill outlines. The opening it
applies to the overhang first can push a sample a little past that box.
Such a sample falls into its neighbor's grid cell or one update() never
visits, so it is never erased, and generateNewTrees() adds the same
point to the tree forever until memory runs out.
Grow the box to cover every sample. It only changes when a sample lies
outside it, and models that slice today give the same result.
Fixes#17051
A user printer preset with more extruders than its system parent lost the extra extruders' values on load. The parent copy is now grown to the child's extruder count before the child's values are merged, in all three load paths.
Fixes#16535
* Test the layer height limits taken for an object, and that they don't keep objects from sharing a prime tower
* Take the layer height limits from an object's own extruder, and don't let them refuse a prime tower
* Test the prime tower check through Print::validate(), and shorten the equal_layering comment
The test runs Print::validate() on two cubes, on filaments 1 and 3 of a printer whose first extruder allows thicker layers than the others. Without this PR, and with only the index fix, it fails with the refusal from #16938. It uses filament 3 because filament 2 read extruder 1's limits before the index fix.
---------
Co-authored-by: raistlin7447 <kris.austin@gmail.com>
A test process on Windows arm64 sometimes crashes during exit, after
all of its assertions passed, so the test log shows nothing useful.
Have Windows Error Reporting write a full dump on hosted Windows
runners and upload it when the job fails.
On a single-extruder printer with several filaments, every filament used filament 1's "Only lift Z above", "Only lift Z below", "On surfaces" and "Travel distance threshold" values, so a filament's own overrides of these settings were ignored. All four are now read for the filament that is printing.
Fixes#16185
fix: crash opening a project with missing or empty settings
load_files reads filament_colour from the project config before the
defaults are merged in, and uses it without a null check. A 3MF whose
project_settings.config has no filament_colour crashes on open. The
2.3.1-alpha migration reads sparse_infill_rotate_template and
sparse_infill_pattern the same way.
Check those reads for null. A missing filament_colour keeps the count
at 1, and a missing infill pattern falls back to the default the merge
would apply. The two identical 2.3.1-alpha migrations become one lambda.
The 2.3.1-alpha and newer-version branches also skipped the empty-config
check, so an empty project config reached the same reads. Send every
project config the load skips through one fallback that loads the
geometry only and logs it. It keeps each branch's notice, and a
config-only import now says the 3MF has no project settings OrcaSlicer
can import instead of claiming to load geometry. A same-version file no
longer calls itself old.
Geometry-only imports decided by these checks never added filaments for
objects assigned past the first, because that step ran before them. Run
it after the checks. Count project filaments per file, and drop the two
branches at the end of the chain that no file type reaches.
Fixes#17008
* Enable Basque language in preferences
Add Basque to the supported languages list and display it as Euskara in the language menu.
* only formating
---------
Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
# Description
<!--
> Please provide a summary of the changes made in this PR. Include
details such as:
> * What issue does this PR address or fix?
> * What new features or enhancements does this PR introduce?
> * Are there any breaking changes or dependencies that need to be
considered?
-->
When an AMS reports a system filament preset, syncing will replace a
custom preset based on it, losing the user’s overrides. Keep the
existing preset when it inherits from the reported preset, while still
syncing the tray’s filament data.
# Screenshots/Recordings/Graphs
<!--
> Please attach relevant screenshots to showcase the UI changes.
> Please attach images that can help explain the changes.
-->
## Tests
<!--
> Please describe the tests that you have conducted to verify the
changes made in this PR.
-->
<!--
> A guide for users on how to download the artifacts from this PR.
-->
[How to Download Pull Requests Artifacts for
Testing](https://www.orcaslicer.com/wiki/how_to_download_pr_artifacts)
The slice-time warning for an invalid Adaptive Pressure Advance model
only said that the model "for one or more extruders may contain invalid
values". It now names the filament and carries the validator's message,
which identifies the line, on a second line. The check no longer stops
at the first invalid model, so every filament with one gets its own
notification.
Deleting the last modifier of an unprintable object painted it in its
normal colour again: ModelObject::delete_volume gives the remaining
volume a new id, reload_scene then builds a fresh GLVolume for it, and
nothing copied the instance's printable flag into the new volume. The
object list and the slice were right; only the 3D view went stale.
reload_scene now copies ModelInstance::printable into every GLVolume it
creates or reuses, so the canvas follows the model on every reload
instead of relying on each call site to refresh it afterwards.
Checked on Linux with a cube plus a block modifier saved as unprintable:
deleting the modifier turned the cube from grey to its normal colour
before, and leaves it grey now; toggling Printable from the object's
context menu still switches it both ways.
A print host job scheduled by Print is moved into the print host job queue at
the end of prepare_upload(). When the run ended before that point, because a
post-processing script or a slicing-pipeline plugin failed in upload mode, or
because the slice was cancelled, the job stayed in m_upload_job. Every later
plain slice, even in a new project, then ran prepare_upload() again with the
first job's output name and uploaded (and printed) the file although only Slice
was pressed, until an upload succeeded or OrcaSlicer was restarted.
reset_export() runs after every completed, failed or cancelled slice and on a
new project, and already clears the export path for the same reason. Clear the
scheduled upload there as well.
Adds .github/workflows/stale.yml, which replaces orca_bot.yml (removed in b78381e4f5).
Issues go stale after 90 days with no activity and close 14 days later. Enhancement, assigned and milestoned issues are skipped.
PRs are only checked when they have the wait for response label. They go stale after 90 days with no activity and close 14 days later. Drafts are skipped, and branches are not deleted.
Each run is limited to 300 operations, so the backlog gets labeled over about a week.
Adds the printing_filament_types placeholder. It lists the filament types that are actually printed on the plate, with duplicates removed, in filament order, joined with "_" (for example ABS_PLA). It works in the file name template and in custom G-code. Before slicing, the file name shows the placeholder unfilled, the same way print_time does.
Nothing changes for templates that don't use it.
The post-slice check stored the extruders that can't print each filament as bits in an int. From the 32nd extruder on, the shift overflowed, and on x86 extruder 33's bit landed on extruder 1. limit_filament_maps and the printable area mask are now 64-bit, which covers MAXIMUM_EXTRUDER_NUMBER. Printers with up to 31 extruders get the same values as before.
The tests check the area, height and filament type limits on nozzles 2, 32, 33 and 64, and slice a cube on nozzle 64 of a 64-nozzle printer.
On IMEX printers, each plate built a string cache key from a dozen
config lookups twice a frame, and resolved the active mode through
find_imex_mode(), which copies the whole mode, G-code included.
The key is now ImexLayoutKey in IMEXZones, compared field by field
against the live config and copied only when something changed. The
active mode's roster and Primary head are resolved only when the key
changes. The G-code preview's carriage marker key is built on the same
struct.
Clearances and the carriage margin are now compared exactly, so a
change under 0.1 mm rebuilds the zones.
The Linux build unpacks the AppImage to add the preset caches and packs
it again with appimagetool. The runtime extracts every directory as
0700, and appimagetool's continuous build 333 (2026-10-29) refuses to
pack a tree that other users could not read, so every Linux build has
failed at that step since. Give the whole extracted tree, caches
included, world read and execute access right before repacking.
On macOS the app could hang at 100% CPU when a project with customized
presets was opened into a running app and the message box was closed
while the idle prebuild was building the Project page's web view. The
web view waits for WebKit in a wxYield() loop, and closing the dialog
aborts the modal session, so the reply never arrives.
The idle scheduler now runs a slice only in the main event loop, so no
pages are built while a modal dialog is open. Building resumes when the
dialog closes.
Synchronize filament list showed "OrcaSlicer can't connect to <printer>"
whenever the filament list came back empty. For pull-mode agents that is
also the normal outcome on a reachable printer that has no AMS, CFS or
other multi-material unit, so every such Moonraker printer was reported as
powered off or off the network.
When the printer is online and has already reported its status, explain
that it lists no filament system instead.
* Add K1 Max printer model to Creality multicolor capable prints
Not sure why, but for some reason the K1 Max is not under CFS-capable models while all others are.
This corrects that mistake
It also enables using the lidar (enableSelfTest) which the k1 max came with from the factory
* fix(CrealityPrint): treat K1 Max as a K1-family model
K1 Max firmware stores gcodes under /usr/data and uses the stricter
WebSocket protocol, so it needs the same handling as the other K1
models. Add it to is_k1_family().
* profiles: switch K1 Max to the CrealityPrint host
Mirror the rest of the K1 family (#14089): set host_type and
printer_agent to crealityprint so the K1 Max uses the CrealityPrint
LAN host instead of the generic Octo/Klipper host, and bump the
Creality profile version.
* fix(CrealityPrint): cover the K1 *_CFS-C model names
The CFS bundle variants report their own literal /info model names, so
list K1 Max_CFS-C, K1 SE_CFS-C and K1C_CFS-C in both the K1-family set
and the CFS-capable table, next to the existing K1_CFS-C entry.
Also refresh the discovery comments, which still described the K2
platform only.
* profiles: switch the remaining K1 CFS-C variants to the CrealityPrint host
K1 Max_CFS-C, K1 SE_CFS-C and K1C_CFS-C were the last K1 machine
profiles still on the generic Octo/Klipper host after #14089. Set
host_type/printer_agent to crealityprint like their non-CFS siblings.
* Recognise the Creality K2 SE (F016) as a CFS-Capable Printer
The Creality Print host gates CFS filament sync, the colour mapping in the
send dialog and the multi-colour start command on a model table that had no
entry for the K2 SE. Its firmware reports the model code F016, so a K2 SE
Combo was treated as a plain printer: the CFS was never queried, the
Moonraker fallback found nothing and the sidebar reported a connection
failure.
Add F016 to the table under the name Creality Print uses for it.
* Use the CrealityPrint Host for the K2 SE Profile
The K2, K2 Plus and K2 Pro presets talk to the printer through the
CrealityPrint host, which is where CFS sync, the colour mapping and the
multi-colour start command live. The K2 SE preset was still on the generic
Octo/Klipper host with no printer agent, so a stock K2 SE never reached that
code even once its model code is recognised.
Switch it to the same host and agent as the rest of the K2 family. The
bundle version was already raised in this change.
---------
Co-authored-by: Maarten <9350591+mjkl-gh@users.noreply.github.com>
Co-authored-by: Hanif Koh <hanifkoh@outlook.com>
Enum list options in the static print config defaults had no keys map. A config copied from them, such as `DynamicPrintConfig::full_print_config()`, wrote these options as an empty string and crashed when a name was read into one. `StaticCache::finalize()` now sets `coEnums` defaults from `create_default_option()`, which adds the keys map. Option values are unchanged.
Fixes#16964
With a raft, an object too thin for any layer gets an empty layer
list. Two functions read it as if it had an entry.
- groupingVolumesForBrim() reads the first layer, and slice() calls it
before its own check for an empty list.
- With Precise Z height on, adjust_layer_series_to_align_object_height()
read the last entry. This also runs in Print::validate(), so it
crashed before slicing started.
Both functions now return early on an empty list, so slicing reaches
the existing "No layers were detected" error.
Fixes#17009