From f96bbe8db13f603c767f0a21fce80da85c6a09f4 Mon Sep 17 00:00:00 2001 From: Lam Wei Lun Date: Thu, 5 Nov 2026 18:09:59 +0800 Subject: [PATCH 01/26] Speed Dial Minor QOLs (#17291) Single click to launch actions. Close button removed to prevent cluttering --- resources/web/dialog/SpeedDial/speeddial.js | 18 ++--------- resources/web/dialog/SpeedDial/style.css | 34 ++------------------- src/slic3r/GUI/SpeedDialDialog.cpp | 1 - 3 files changed, 5 insertions(+), 48 deletions(-) diff --git a/resources/web/dialog/SpeedDial/speeddial.js b/resources/web/dialog/SpeedDial/speeddial.js index 5ec47e9164..fbb664f626 100644 --- a/resources/web/dialog/SpeedDial/speeddial.js +++ b/resources/web/dialog/SpeedDial/speeddial.js @@ -889,15 +889,6 @@ function renderFav() { badge.title = T("sd_fav_slot", "Favorite %s (%s)", slot_num, shortcutAlt() + slot); tile.appendChild(badge); } - // Direct removal: a hover-revealed ✕ in the tile's corner. click() stops propagation so it - // unpins without activating the action. - var unpin = document.createElement("button"); - unpin.className = "fav-unpin"; - unpin.title = T("sd_remove_fav", "Remove from favorites"); - unpin.setAttribute("aria-label", T("sd_remove_fav", "Remove from favorites")); - unpin.innerHTML = ''; - unpin.onclick = function (ev) { ev.stopPropagation(); toggleFav(id); }; - tile.appendChild(unpin); tile.oncontextmenu = function (ev) { ev.preventDefault(); // why: selecting shows the eyebrow, which grows the launcher - resize so the popup @@ -1025,13 +1016,11 @@ function renderActionRow(a, i) { var pin = document.createElement("button"); pin.className = "pin"; setPinState(pin, on); + // stopPropagation keeps the bookmark's click from launching the row. pin.onclick = function (ev) { ev.stopPropagation(); toggleFav(a.id); }; - // why: two quick fav/unfav clicks must not dblclick-run the row - pin.ondblclick = function (ev) { ev.stopPropagation(); }; shell.row.appendChild(pin); - shell.row.onclick = function () { sel = { zone: "list", i: i }; render({ resize: true }); }; - shell.row.ondblclick = function () { sel = { zone: "list", i: i }; activateEntry(a); }; + shell.row.onclick = function () { sel = { zone: "list", i: i }; activateEntry(a); }; return shell.row; } @@ -1196,8 +1185,7 @@ function renderTabRow(t, i) { var hint = tabAliasHint(t, query); if (hint) shell.line.appendChild(markedText("row-alias", hint.text, hint.ranges)); - shell.row.onclick = function () { sel = { zone: "list", i: i }; render({ resize: true }); }; - shell.row.ondblclick = function () { sel = { zone: "list", i: i }; jumpToTab(t); }; + shell.row.onclick = function () { sel = { zone: "list", i: i }; jumpToTab(t); }; return shell.row; } diff --git a/resources/web/dialog/SpeedDial/style.css b/resources/web/dialog/SpeedDial/style.css index a0e2015373..fa6686658f 100644 --- a/resources/web/dialog/SpeedDial/style.css +++ b/resources/web/dialog/SpeedDial/style.css @@ -55,6 +55,8 @@ body { .fav-tile { flex: 0 0 auto; + /* why: anchors the absolutely positioned Alt/Option slot badge in the tile's corner. */ + position: relative; /* keep tiles full-size; don't shrink to fit - scroll instead */ width: 30px; height: 30px; @@ -78,38 +80,6 @@ body { outline-offset: 2px; } -/* Hover-revealed remove button in the tile's corner; sits inside the tile bounds so overflow:hidden clips it. */ -.fav-tile { - position: relative; -} - -.fav-unpin { - position: absolute; - top: 1px; - right: 1px; - width: 13px; - height: 13px; - padding: 0; - border: 0; - border-radius: 50%; - display: inline-flex; - align-items: center; - justify-content: center; - color: var(--muted, var(--orca-muted, #6b7280)); - background: rgba(127, 127, 127, .35); - cursor: pointer; - opacity: 0; -} - -.fav-tile:hover .fav-unpin, -.fav-tile.sel .fav-unpin { - opacity: 1; -} - -.fav-unpin:hover { - background: rgba(127, 127, 127, .6); -} - /* Numbered quick-launch slot (Alt/Option+digit), top-left corner of the fav tile. */ .fav-slot { position: absolute; diff --git a/src/slic3r/GUI/SpeedDialDialog.cpp b/src/slic3r/GUI/SpeedDialDialog.cpp index e8086f71e5..aac032eacb 100644 --- a/src/slic3r/GUI/SpeedDialDialog.cpp +++ b/src/slic3r/GUI/SpeedDialDialog.cpp @@ -126,7 +126,6 @@ nlohmann::json speed_dial_ui_strings() {"sd_fav_slot", _u8L("Favorite %s (%s)")}, {"sd_pin_fav", _u8L("Pin to favorites (%s)")}, {"sd_unpin_fav", _u8L("Unpin from favorites (%s)")}, - {"sd_remove_fav", _u8L("Remove from favorites")}, {"sd_move_left", _u8L("Move left")}, {"sd_move_right", _u8L("Move right")}, {"sd_unpin", _u8L("Unpin")}, From 637d7a9ce6e2cda62cc32f86bd7d730ea0f8219f Mon Sep 17 00:00:00 2001 From: SoftFever <103989404+SoftFever@users.noreply.github.com> Date: Thu, 5 Nov 2026 18:46:13 +0800 Subject: [PATCH 02/26] 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 --- src/libslic3r/AppConfig.cpp | 5 ----- src/slic3r/Utils/PresetUpdater.cpp | 7 ++++++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libslic3r/AppConfig.cpp b/src/libslic3r/AppConfig.cpp index e4b577e633..3892a73814 100644 --- a/src/libslic3r/AppConfig.cpp +++ b/src/libslic3r/AppConfig.cpp @@ -749,11 +749,6 @@ void AppConfig::set_defaults() set_bool("use_printer_agents", false); } - if (get("enable_ota").empty()) - { - set_bool("enable_ota", false); - } - // Remove legacy window positions/sizes erase("app", "main_frame_maximized"); erase("app", "main_frame_pos"); diff --git a/src/slic3r/Utils/PresetUpdater.cpp b/src/slic3r/Utils/PresetUpdater.cpp index 4fe3f6a594..c1af3b4baf 100644 --- a/src/slic3r/Utils/PresetUpdater.cpp +++ b/src/slic3r/Utils/PresetUpdater.cpp @@ -303,7 +303,9 @@ void PresetUpdater::priv::set_download_prefs(AppConfig *app_config) version_check_url = app_config->version_check_url(); auto profile_update_url = app_config->profile_update_url(); - if (!profile_update_url.empty() && app_config->get_bool("enable_ota")) + // Dev builds keep the profiles from their own source tree; an over-the-air bundle would replace them. + const bool dev_build = boost::algorithm::icontains(std::string(SoftFever_VERSION), "dev"); + if (!profile_update_url.empty() && !dev_build) enabled_config_update = true; else enabled_config_update = false; @@ -1383,6 +1385,9 @@ void PresetUpdater::check_vendor_update(const std::string& vendor_id) { if (!p->enabled_config_update) return; if (vendor_id.empty()) return; + // Stealth mode can be switched off mid-session, so it is checked before the vendor is marked + // as checked: the next printer change after that still queries the server. + if (GUI::wxGetApp().app_config->get_stealth_mode()) return; if (!p->checked_vendors.insert(vendor_id).second) return; From a620d804efbe74162c96ad29d755cdab2b823530 Mon Sep 17 00:00:00 2001 From: Lam Wei Lun Date: Thu, 5 Nov 2026 21:40:41 +0800 Subject: [PATCH 03/26] 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. --- src/libslic3r/GCode.cpp | 35 +++++++++++---------------- tests/fff_print/test_print.cpp | 44 ++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 21 deletions(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 25052308c1..bc6b91ab84 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -3293,32 +3293,30 @@ static inline std::vector sort_object_instances_by_max_z(c } #endif -// Produce a vector of PrintObjects in the order of their respective ModelObjects in print.model(). +// Produce a vector of PrintInstances in the order of their ModelInstances in the object and instance lists of print.model(). //BBS: add sort logic for seq-print std::vector sort_object_instances_by_model_order(const Print& print, bool init_order) { - auto find_object_index = [](const Model& model, const ModelObject* obj) { - for (int index = 0; index < model.objects.size(); index++) - { - if (model.objects[index] == obj) - return index; - } - return -1; - }; + if (init_order) { + // Number by position in the model's object and instance lists. Copies of one object can be split + // into separate PrintObjects, one per distinct transformation, and print.objects() orders those by + // transformation, so its order is not the list order. + int order = 0; + for (const ModelObject *model_object : print.model().objects) + for (ModelInstance *model_instance : model_object->instances) + model_instance->arrange_order = ++order; + } // Build up map from ModelInstance* to PrintInstance* std::vector> model_instance_to_print_instance; model_instance_to_print_instance.reserve(print.num_object_instances()); for (const PrintObject *print_object : print.objects()) for (const PrintInstance &print_instance : print_object->instances()) - { - if (init_order) - const_cast(print_instance.model_instance)->arrange_order = find_object_index(print.model(), print_object->model_object()); model_instance_to_print_instance.emplace_back(print_instance.model_instance, &print_instance); - } std::sort(model_instance_to_print_instance.begin(), model_instance_to_print_instance.end(), [](auto &l, auto &r) { return l.first->arrange_order < r.first->arrange_order; }); if (init_order) { - // Re-assign the arrange_order so each instance has a unique order number + // Re-assign the arrange_order so each instance of this print has a unique order number. The + // numbering above covers the whole model, including the instances of the other plates. for (int k = 0; k < model_instance_to_print_instance.size(); k++) { const_cast(model_instance_to_print_instance[k].first)->arrange_order = k + 1; } @@ -3326,13 +3324,8 @@ std::vector sort_object_instances_by_model_order(const Pri std::vector instances; instances.reserve(model_instance_to_print_instance.size()); - for (const ModelObject *model_object : print.model().objects) - for (const ModelInstance *model_instance : model_object->instances) { - auto it = std::lower_bound(model_instance_to_print_instance.begin(), model_instance_to_print_instance.end(), std::make_pair(model_instance, nullptr), [](auto &l, auto &r) { return l.first->arrange_order < r.first->arrange_order; }); - if (it != model_instance_to_print_instance.end() && it->first == model_instance) - instances.emplace_back(it->second); - } - std::sort(instances.begin(), instances.end(), [](auto& l, auto& r) { return l->model_instance->arrange_order < r->model_instance->arrange_order; }); + for (const auto &model_instance_print_instance : model_instance_to_print_instance) + instances.emplace_back(model_instance_print_instance.second); return instances; } diff --git a/tests/fff_print/test_print.cpp b/tests/fff_print/test_print.cpp index ddbab9d204..2cc95e9ba5 100644 --- a/tests/fff_print/test_print.cpp +++ b/tests/fff_print/test_print.cpp @@ -41,6 +41,7 @@ #include #include "libslic3r/Polygon.hpp" #include "libslic3r/Model.hpp" +#include "libslic3r/GCode.hpp" #include "libslic3r/GCodeReader.hpp" #include "libslic3r/GCode/GCodeProcessor.hpp" #include "libslic3r/Exception.hpp" @@ -1566,6 +1567,49 @@ TEST_CASE("Sequential printing applies an instance's rotation to the part above CHECK(error.find("too tall") != std::string::npos); } +TEST_CASE("By-layer As object list keeps copies of one object in their list order", "[Print]") +{ + // validate() numbers the instances through sort_object_instances_by_model_order(print, true). Copies + // of one object used to all share one order key, and print.objects() does not list them in list order: + // every second copy is rotated here, which splits them into separate PrintObjects. The G-code export + // and the sequence labels print in the order those numbers assign. + std::vector meshes; + meshes.push_back(make_cube(5, 5, 2)); + DynamicPrintConfig config = DynamicPrintConfig::full_print_config(); + config.set_deserialize_strict({ + { "print_sequence", "by layer" }, + { "print_order", "as_obj_list" }, + { "skirt_loops", 0 }, + { "layer_change_gcode", "G92 E0\n" } // validate() relative-E reset + }); + Print print; + Model model; + Test::init_print(std::move(meshes), print, model, config, nullptr, /*arrange=*/false, /*instances=*/200); + const ModelInstancePtrs &instances = model.objects.front()->instances; + for (size_t k = 0; k < instances.size(); ++k) { + instances[k]->set_offset(Vec3d(10. + 12. * double(k % 15), 10. + 12. * double(k / 15), instances[k]->get_offset().z())); + if (k % 2 != 0) + instances[k]->set_rotation(Vec3d(0., 0., PI / 2)); + } + print.apply(model, config); + + std::vector warnings; + const StringObjectException error = print.validate(&warnings); + INFO(error.string); + REQUIRE(error.string.empty()); + + // validate() numbered the instances it ordered; copies must be numbered in list order. + const ModelInstancePtrs &copies = print.model().objects.front()->instances; + for (size_t k = 0; k < copies.size(); ++k) + REQUIRE(copies[k]->arrange_order == int(k + 1)); + + // The As object list path of the G-code export orders the instances from those numbers. + const std::vector ordered = sort_object_instances_by_model_order(print); + REQUIRE(ordered.size() == copies.size()); + for (size_t k = 0; k < copies.size(); ++k) + REQUIRE(ordered[k]->model_instance == copies[k]); +} + // A sequential (by-object) print must publish the print-level nozzle group result just // like a by-layer print, so custom g-code can index the per-nozzle placeholder tables // (e.g. nozzle_diameter_at_nozzle_id[]) instead of failing on an empty vector. From 73766ddd426e647b7f4fa1834b0233b18031765b Mon Sep 17 00:00:00 2001 From: Kris Austin Date: Thu, 5 Nov 2026 11:37:13 -0600 Subject: [PATCH 04/26] 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. --- .github/pull_request_template.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 575b8f17fe..51925e71c0 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,6 +1,7 @@ # Description ## Tests From c78272f58338d12cb42e62afde767d2a08b4484c Mon Sep 17 00:00:00 2001 From: Ian Bassi Date: Thu, 5 Nov 2026 20:10:22 -0300 Subject: [PATCH 05/26] Keep realistic view on while painting seams, supports and fuzzy skin (#17317) --- src/slic3r/GUI/Gizmos/GLGizmosManager.cpp | 16 ---------------- src/slic3r/GUI/Gizmos/GLGizmosManager.hpp | 1 - 2 files changed, 17 deletions(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmosManager.cpp b/src/slic3r/GUI/Gizmos/GLGizmosManager.cpp index 3193916125..38a15e7fb8 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmosManager.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmosManager.cpp @@ -49,7 +49,6 @@ #include #include #include -#include "libslic3r/AppConfig.hpp" #include "libslic3r/Model.hpp" @@ -1484,11 +1483,6 @@ bool GLGizmosManager::activate_gizmo(EType type) if (type == Undefined) { // it is deactivation of gizmo - if (m_restore_realistic_view_after_paint && wxGetApp().app_config != nullptr) { - wxGetApp().app_config->set_bool(SETTING_OPENGL_REALISTIC_MODE, true); - wxGetApp().app_config->save(); - m_restore_realistic_view_after_paint = false; - } m_current = Undefined; return true; } @@ -1497,16 +1491,6 @@ bool GLGizmosManager::activate_gizmo(EType type) GLGizmoBase& new_gizmo = *m_gizmos[type]; if (!new_gizmo.is_activable()) return false; - if (type == Seam || type == FdmSupports || type == FuzzySkin) { - if (wxGetApp().app_config != nullptr && wxGetApp().app_config->get_bool(SETTING_OPENGL_REALISTIC_MODE)) { - m_restore_realistic_view_after_paint = true; - wxGetApp().app_config->set_bool(SETTING_OPENGL_REALISTIC_MODE, false); - wxGetApp().app_config->save(); - } - } else { - m_restore_realistic_view_after_paint = false; - } - if (!m_serializing && new_gizmo.wants_enter_leave_snapshots()) Plater::TakeSnapshot snapshot(wxGetApp().plater(), new_gizmo.get_gizmo_entering_text(), diff --git a/src/slic3r/GUI/Gizmos/GLGizmosManager.hpp b/src/slic3r/GUI/Gizmos/GLGizmosManager.hpp index 24a4278528..a61b05376a 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmosManager.hpp +++ b/src/slic3r/GUI/Gizmos/GLGizmosManager.hpp @@ -164,7 +164,6 @@ private: static std::map icon_list; bool m_is_dark = false; - bool m_restore_realistic_view_after_paint = false; /// /// Process mouse event on gizmo toolbar From 73e64d3bc502fd3c0eb4eeb137837527818c026f Mon Sep 17 00:00:00 2001 From: SoftFever <103989404+SoftFever@users.noreply.github.com> Date: Fri, 6 Nov 2026 13:33:40 +0800 Subject: [PATCH 06/26] 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 --- .github/workflows/build_all.yml | 8 ++ .github/workflows/build_orca.yml | 90 ++++++++++++++++++ CMakeLists.txt | 27 ++++++ README.md | 12 +-- scripts/sign_windows.ps1 | 157 +++++++++++++++++++++++++++++++ 5 files changed, 283 insertions(+), 11 deletions(-) create mode 100644 scripts/sign_windows.ps1 diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 5589315491..1aa14d9810 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -27,6 +27,7 @@ on: - 'scripts/test_prune_cached_presets.ps1' - 'scripts/flatpak/**' - 'scripts/msix/**' + - 'scripts/sign_windows.ps1' - 'tests/**' pull_request: @@ -53,6 +54,7 @@ on: - 'scripts/test_prune_cached_presets.ps1' - 'scripts/flatpak/**' - 'scripts/msix/**' + - 'scripts/sign_windows.ps1' - 'tests/**' @@ -128,6 +130,12 @@ jobs: && '[{"arch":"x64","os":"orca-win-server","compiler":"clang"}]' || '[{"arch":"x64","os":"windows-latest","compiler":"clang"},{"arch":"arm64","os":"windows-11-vs2026-arm","compiler":"clang"}]') }} needs: check_build_script + # id-token lets release builds sign through Google Cloud Workload Identity Federation (see + # "Configure code signing" in build_orca.yml); the rest is what the build already used. + permissions: + actions: write + contents: write + id-token: write # Don't run scheduled builds on forks: if: ${{ !cancelled() && needs.check_build_script.result == 'success' && (github.event_name != 'schedule' || github.repository == 'OrcaSlicer/OrcaSlicer') }} uses: ./.github/workflows/build_check_cache.yml diff --git a/.github/workflows/build_orca.yml b/.github/workflows/build_orca.yml index 9a4afb63a5..15293ff970 100644 --- a/.github/workflows/build_orca.yml +++ b/.github/workflows/build_orca.yml @@ -35,6 +35,8 @@ jobs: ORCA_UPDATER_SIG_KEY: ${{ secrets.ORCA_UPDATER_SIG_KEY }} NSIS_VERSION: '3.13' NSIS_SHA256: BA63DFFC4410EE89193E1CB5A41989991BD77C61068DA17E3156D136B7B0B3D8 + JSIGN_VERSION: '7.6' + JSIGN_SHA256: 6CF58AA080E7FF82656F320CFF8D4A3BFF30408DF8766806DCBA3740DD839FA5 steps: - name: Checkout @@ -473,6 +475,38 @@ jobs: path: ${{ runner.temp }}/nsis key: nsis-${{ env.NSIS_VERSION }} + # Windows release builds are Authenticode-signed with the company's key in Google Cloud KMS + # (README, Code Signing Policy): pushes, schedules and manual runs of main and release/* in + # this repository, once the WINDOWS_SIGN_* variables are set. The Workload Identity provider + # accepts tokens from nothing else. This runs before the build so that CMake wires signing + # into the NSIS installer. + - name: Configure code signing + id: codesign + if: runner.os == 'Windows' && github.repository == 'OrcaSlicer/OrcaSlicer' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) && github.event_name != 'pull_request' && vars.WINDOWS_SIGN_KMS_KEY != '' + shell: pwsh + env: + CERT_CHAIN: ${{ vars.WINDOWS_SIGN_CERT_CHAIN }} + KMS_KEY: ${{ vars.WINDOWS_SIGN_KMS_KEY }} + run: | + $jar = Join-Path $env:RUNNER_TEMP "jsign-$env:JSIGN_VERSION.jar" + curl.exe -fsSL --retry 5 --retry-all-errors --retry-delay 15 -o $jar "https://github.com/ebourg/jsign/releases/download/$env:JSIGN_VERSION/jsign-$env:JSIGN_VERSION.jar" + if ($LASTEXITCODE -ne 0) { throw "Jsign $env:JSIGN_VERSION download failed." } + if ((Get-FileHash $jar -Algorithm SHA256).Hash -ne $env:JSIGN_SHA256) { + throw "Jsign $env:JSIGN_VERSION does not match its pinned SHA256." + } + $cert = Join-Path $env:RUNNER_TEMP 'codesign-chain.pem' + Set-Content -LiteralPath $cert -Value $env:CERT_CHAIN + "ORCA_SIGN_JSIGN=$jar" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8 + "ORCA_SIGN_CERTFILE=$cert" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8 + "ORCA_SIGN_KMS_KEY=$env:KMS_KEY" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8 + + - name: Set up Java for code signing + if: steps.codesign.outcome == 'success' + uses: actions/setup-java@v6 + with: + distribution: microsoft + java-version: '21' + - name: Build slicer Win if: runner.os == 'Windows' working-directory: ${{ github.workspace }} @@ -492,6 +526,33 @@ jobs: # the checkout cpack re-installs from when it builds the NSIS installer. run: scripts\build_preset_cache.bat --prune-source "%BUILD_DIR%" "resources\profiles" "%BUILD_DIR%\OrcaSlicer\resources\profiles" + # Taken after the build because the token lasts an hour, which covers signing, the installer + # build and the checks. + - name: Authenticate to Google Cloud for code signing + id: codesign_auth + if: steps.codesign.outcome == 'success' + uses: google-github-actions/auth@v3 + with: + workload_identity_provider: ${{ vars.WINDOWS_SIGN_WIF_PROVIDER }} + service_account: ${{ vars.WINDOWS_SIGN_SERVICE_ACCOUNT }} + token_format: access_token + create_credentials_file: false + + # Signs what the portable zip, the artifact and the MSIX package ship, the profile validator, + # and the NSIS plugins the installer carries. The installer build signs its own copy of the + # app, since cpack installs the files again. + - name: Sign Windows binaries + if: steps.codesign.outcome == 'success' + shell: pwsh + env: + ORCA_SIGN_TOKEN: ${{ steps.codesign_auth.outputs.access_token }} + run: | + $paths = @("$env:BUILD_DIR/OrcaSlicer") + foreach ($extra in 'build/src/Release/OrcaSlicer_profile_validator.exe', "$env:RUNNER_TEMP/nsis/Plugins") { + if (Test-Path $extra) { $paths += $extra } + } + ./scripts/sign_windows.ps1 -Path $paths + - name: Pack unit tests Win if: runner.os == 'Windows' working-directory: ${{ github.workspace }} @@ -513,8 +574,37 @@ jobs: - name: Create installer Win if: runner.os == 'Windows' && !vars.SELF_HOSTED working-directory: ${{ github.workspace }}/${{ env.BUILD_DIR }} + # Read by scripts/sign_windows.ps1 when CMake wired signing into the installer. + env: + ORCA_SIGN_TOKEN: ${{ steps.codesign_auth.outputs.access_token }} run: | cpack -G NSIS + if ($LASTEXITCODE -ne 0) { + # makensis writes its errors, and the signing hook's output, only to this log. + Get-Content _CPack_Packages/*/NSIS/NSISOutput.log -Tail 80 + exit 1 + } + + # Checks the shipped files, the installer, the payload inside it (7-Zip unpacks NSIS + # installers) and the uninstaller a silent install writes. + - name: Verify Windows signatures + if: steps.codesign.outcome == 'success' + timeout-minutes: 20 + shell: pwsh + run: | + $paths = @("$env:BUILD_DIR/OrcaSlicer") + $validator = 'build/src/Release/OrcaSlicer_profile_validator.exe' + if (Test-Path $validator) { $paths += $validator } + $installer = Get-ChildItem "$env:BUILD_DIR/OrcaSlicer_Windows_Installer_*.exe" | Select-Object -First 1 + if ($installer) { + $payload = Join-Path $env:RUNNER_TEMP 'installer-payload' + & 'C:/Program Files/7-Zip/7z.exe' x -y "-o$payload" $installer.FullName | Out-Null + if ($LASTEXITCODE -ne 0) { throw "7-Zip could not unpack $($installer.Name)." } + $installed = Join-Path $env:RUNNER_TEMP 'installer-test' + Start-Process -Wait -FilePath $installer.FullName -ArgumentList '/S', "/D=$installed" + $paths += $installer.FullName, $payload, (Join-Path $installed 'Uninstall.exe') + } + ./scripts/sign_windows.ps1 -Verify -Path $paths - name: Pack app if: runner.os == 'Windows' diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c13b50cec..6a3405b015 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1389,6 +1389,33 @@ set(CPACK_PACKAGE_EXECUTABLES "orca-slicer;OrcaSlicer") set(CPACK_CREATE_DESKTOP_LINKS "orca-slicer") set (CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE.txt) # must also include in install command +# CI release builds Authenticode-sign the installer as makensis builds it: the payload before it is +# compressed, the uninstaller the installer writes, and the installer itself. Only a configure run +# with ORCA_SIGN_KMS_KEY in its environment (build_orca.yml) wires this in; scripts/sign_windows.ps1 +# lists what signing needs. The commands go into an included file because CPack writes +# CPACK_NSIS_* values into CPackConfig.cmake unescaped. !include needs a native path, with its +# backslashes doubled for CPackConfig.cmake. PowerShell 7 is preferred: Windows PowerShell started +# under a PowerShell 7 session (CI runs cpack from one) inherits its module path and cannot load +# Get-AuthenticodeSignature. +if (WIN32 AND DEFINED ENV{ORCA_SIGN_KMS_KEY}) + find_program(ORCA_SIGN_PWSH pwsh) + if (ORCA_SIGN_PWSH) + set(_orca_sign_shell pwsh) + else () + set(_orca_sign_shell powershell) + endif () + set(ORCA_SIGN_COMMAND "${_orca_sign_shell} -NoProfile -ExecutionPolicy Bypass -File \"${CMAKE_SOURCE_DIR}/scripts/sign_windows.ps1\" -Path") + string(CONFIGURE [=[ +!system '@ORCA_SIGN_COMMAND@ "${INST_DIR}"' = 0 +!uninstfinalize '@ORCA_SIGN_COMMAND@ "%1"' = 0 +!finalize '@ORCA_SIGN_COMMAND@ "%1"' = 0 +]=] _orca_sign_nsh @ONLY) + file(WRITE "${CMAKE_BINARY_DIR}/sign_windows.nsh" "${_orca_sign_nsh}") + file(TO_NATIVE_PATH "${CMAKE_BINARY_DIR}/sign_windows.nsh" _orca_sign_nsh_path) + string(REPLACE "\\" "\\\\" _orca_sign_nsh_path "${_orca_sign_nsh_path}") + set(CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS "!include \\\"${_orca_sign_nsh_path}\\\"") +endif () + set(CPACK_WIX_UPGRADE_GUID "058245e8-20e0-4a95-9ab7-1acfe17ad511") set(CPACK_GENERATOR NSIS) include(CPack) diff --git a/README.md b/README.md index 1c87cd00b8..c14ff19a7b 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ The [wiki](https://www.orcaslicer.com/wiki) aims to provide a detailed explanati 📥 **[Download the Latest Stable Release](https://github.com/OrcaSlicer/OrcaSlicer/releases/latest)** Visit our GitHub Releases page for the latest stable version of OrcaSlicer, recommended for most users. -Windows release binaries are code signed; see our [Code signing policy](#code-signing-policy). +Windows and macOS release and nightly builds are code signed. ## Nightly Builds @@ -245,16 +245,6 @@ OrcaSlicer began in that same spirit, drawing from BambuStudio, PrusaSlicer, and The OrcaSlicer logo was designed by community member [Justin Levine](https://github.com/jal-co). -# Code Signing Policy - -Free code signing provided by [SignPath.io](https://about.signpath.io), certificate by [SignPath Foundation](https://signpath.org). - -Windows release binaries are built by GitHub Actions from this repository and signed through the SignPath Foundation program. Every signing request is manually approved. - -**Team roles:** [SoftFever](https://github.com/SoftFever) is the committer, reviewer and approver for all signed releases. - -**Privacy policy:** See the [OrcaSlicer privacy policy](https://www.orcaslicer.com/privacy-policy/). - # License - **OrcaSlicer** is licensed under the GNU Affero General Public License, version 3. diff --git a/scripts/sign_windows.ps1 b/scripts/sign_windows.ps1 new file mode 100644 index 0000000000..c900f52d9c --- /dev/null +++ b/scripts/sign_windows.ps1 @@ -0,0 +1,157 @@ +<# +.SYNOPSIS + Authenticode-signs the Windows binaries OrcaSlicer ships, or checks that they are signed. + +.DESCRIPTION + Signs with Jsign (https://github.com/ebourg/jsign) and the release key in Google Cloud KMS. The + private key never leaves the HSM: Jsign sends each file's digest to Cloud KMS and builds the + signature from the result and the certificate chain. Every signature is timestamped (RFC 3161), + so it stays valid after the certificate expires. + + A directory is searched recursively for .exe, .dll and .pyd files. A file named directly is + handled whatever its name, which covers the temporary files makensis passes for the uninstaller + and the installer. Files that already carry a signature are left alone: they are vendor-signed + redistributables such as the Microsoft runtime, and signing them again would nest a second + signature under the vendor's. + + With -Verify nothing is signed. The check fails if any of those files is unsigned or has a + damaged signature, if a file named directly is not signed with the release certificate, or if + a signature made with the release certificate has no timestamp. + + build_orca.yml sets the environment. CMakeLists.txt wires the script into the NSIS installer + build when ORCA_SIGN_KMS_KEY is set at configure time. + + Environment: + ORCA_SIGN_KMS_KEY Cloud KMS key version: + projects/

/locations//keyRings//cryptoKeys//cryptoKeyVersions/ + ORCA_SIGN_CERTFILE PEM certificate chain issued for that key, leaf certificate first. + ORCA_SIGN_JSIGN Path of the Jsign jar. Java comes from JAVA_HOME, else from PATH. + ORCA_SIGN_TOKEN OAuth access token allowed to sign with the key. Not needed for -Verify. + + Runs under PowerShell 7 and Windows PowerShell 5.1. + +.PARAMETER Path + Files and directories to sign or check. + +.PARAMETER Verify + Check the signatures instead of signing. + +.EXAMPLE + scripts\sign_windows.ps1 -Path build\OrcaSlicer, build\src\Release\OrcaSlicer_profile_validator.exe +#> +param( + [Parameter(Mandatory)] [string[]] $Path, + [switch] $Verify +) +$ErrorActionPreference = 'Stop' + +# Sectigo issued the certificate; DigiCert's server takes over if Sectigo's does not answer. +$TimestampUrls = 'http://timestamp.sectigo.com,http://timestamp.digicert.com' + +function Require-Env([string] $name) { + $value = [Environment]::GetEnvironmentVariable($name) + if (-not $value) { + throw "$name is not set. See the description in $PSCommandPath." + } + $value +} + +# The release certificate is the first one in the chain file. +function Get-ReleaseCertificate([string] $pemFile) { + $pem = Get-Content -LiteralPath $pemFile -Raw + $match = [regex]::Match($pem, '-----BEGIN CERTIFICATE-----\s*([A-Za-z0-9+/=\s]+?)\s*-----END CERTIFICATE-----') + if (-not $match.Success) { + throw "No certificate in $pemFile." + } + $der = [Convert]::FromBase64String(($match.Groups[1].Value -replace '\s', '')) + New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 (, $der) +} + +# Each entry is a file and whether it was named directly. +$files = @() +foreach ($item in $Path) { + if (Test-Path -LiteralPath $item -PathType Container) { + $files += Get-ChildItem -LiteralPath $item -Recurse -File | + Where-Object { $_.Extension -in '.exe', '.dll', '.pyd' } | + ForEach-Object { [pscustomobject] @{ Path = $_.FullName; Named = $false } } + } elseif (Test-Path -LiteralPath $item -PathType Leaf) { + $files += [pscustomobject] @{ Path = (Resolve-Path -LiteralPath $item).ProviderPath; Named = $true } + } else { + throw "$item does not exist." + } +} + +$certFile = Require-Env 'ORCA_SIGN_CERTFILE' +$release = Get-ReleaseCertificate $certFile + +if ($Verify) { + # A release certificate that does not chain to a trusted root (a self-signed test certificate) + # leaves Windows reporting UnknownError for a signature that is otherwise sound. + $chain = New-Object System.Security.Cryptography.X509Certificates.X509Chain + $chain.ChainPolicy.RevocationMode = 'NoCheck' + $trusted = $chain.Build($release) + if (-not $trusted) { + Write-Warning "The release certificate $($release.Subject) does not chain to a trusted root." + } + + $problems = @() + $ourCount = 0 + foreach ($file in $files) { + $signature = Get-AuthenticodeSignature -LiteralPath $file.Path + $signer = $signature.SignerCertificate + $ours = $signer -and $signer.Thumbprint -eq $release.Thumbprint + if ($ours) { + $ourCount++ + } + if (-not $signer) { + $problems += "unsigned: $($file.Path)" + } elseif ($file.Named -and -not $ours) { + $problems += "signed by $($signer.Subject), not the release certificate: $($file.Path)" + } elseif ($ours -and -not $signature.TimeStamperCertificate) { + $problems += "no timestamp: $($file.Path)" + } elseif ($signature.Status -ne 'Valid' -and -not ($ours -and -not $trusted -and $signature.Status -eq 'UnknownError')) { + $problems += "signature status $($signature.Status): $($file.Path)" + } + } + if ($problems) { + $problems | ForEach-Object { Write-Host $_ } + throw "$($problems.Count) of $($files.Count) files failed the signature check." + } + Write-Host "All $($files.Count) files are signed, $ourCount of them with $($release.Subject)." + return +} + +$key = Require-Env 'ORCA_SIGN_KMS_KEY' +$jsign = Require-Env 'ORCA_SIGN_JSIGN' +$null = Require-Env 'ORCA_SIGN_TOKEN' +$keyMatch = [regex]::Match($key, '^(projects/[^/]+/locations/[^/]+/keyRings/[^/]+)/cryptoKeys/[^/]+/cryptoKeyVersions/\d+$') +if (-not $keyMatch.Success) { + throw "ORCA_SIGN_KMS_KEY must name a key version, not '$key'." +} +$keyRing = $keyMatch.Groups[1].Value + +$unsigned = @($files | Where-Object { -not (Get-AuthenticodeSignature -LiteralPath $_.Path).SignerCertificate } | + ForEach-Object { $_.Path }) +Write-Host "$($unsigned.Count) of $($files.Count) files to sign; the rest are already signed." +if (-not $unsigned) { + return +} + +$java = 'java' +if ($env:JAVA_HOME) { + $java = Join-Path $env:JAVA_HOME 'bin\java.exe' +} +# Jsign reads the files to sign from a list file, one path per line (UTF-8 without a BOM). +$list = [IO.Path]::GetTempFileName() +try { + [IO.File]::WriteAllLines($list, [string[]] $unsigned) + & $java -jar $jsign --storetype GOOGLECLOUD --keystore $keyRing --alias $key ` + --storepass env:ORCA_SIGN_TOKEN --certfile $certFile --alg SHA-256 ` + --tsaurl $TimestampUrls --tsmode RFC3161 --tsretries 5 --tsretrywait 15 ` + --name OrcaSlicer --url https://www.orcaslicer.com "@$list" + if ($LASTEXITCODE -ne 0) { + throw "Jsign failed with exit code $LASTEXITCODE." + } +} finally { + Remove-Item -LiteralPath $list -ErrorAction SilentlyContinue +} From cb80a0db84003d6f44e6f0f84d544f2068b44273 Mon Sep 17 00:00:00 2001 From: Sergei <119299827+ghzserg@users.noreply.github.com> Date: Fri, 6 Nov 2026 15:58:00 +0500 Subject: [PATCH 07/26] 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 * 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 Co-authored-by: GhZserG --- src/libslic3r/GCode.cpp | 7 ++- src/libslic3r/GCode/WipeTower.cpp | 5 +- src/libslic3r/GCode/WipeTower2.cpp | 20 +++--- tests/fff_print/test_wipe_tower.cpp | 96 ++++++++++++++++++++++++++--- 4 files changed, 110 insertions(+), 18 deletions(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index bc6b91ab84..ae63ee16b5 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -1910,7 +1910,12 @@ static std::vector get_path_of_change_filament(const Print& print) } } } - if (!skip_line) { + if (skip_line) { + // Also drop the planner sync WipeTower2 put right before the stripped M109. + const std::string sync = flush_planner_queue_command(gcodegen.config().gcode_flavor.value); + if (boost::ends_with(out, sync)) + out.resize(out.size() - sync.size()); + } else { out.append(line); if (line_end < tcr_rotated_gcode.size()) out.push_back('\n'); diff --git a/src/libslic3r/GCode/WipeTower.cpp b/src/libslic3r/GCode/WipeTower.cpp index 8880c465bf..184ecf8cec 100644 --- a/src/libslic3r/GCode/WipeTower.cpp +++ b/src/libslic3r/GCode/WipeTower.cpp @@ -1298,7 +1298,10 @@ public: WipeTowerWriter& flush_planner_queue() { - m_gcode += flush_planner_queue_command(m_gcode_flavor); + // Only called at toolchange boundaries; format_line_M104 syncs temperature changes itself. + // On Klipper M400 here only stalls the toolhead over the tower. + if (m_gcode_flavor != gcfKlipper) + m_gcode += flush_planner_queue_command(m_gcode_flavor); return *this; } diff --git a/src/libslic3r/GCode/WipeTower2.cpp b/src/libslic3r/GCode/WipeTower2.cpp index 9f79f2bd11..681a03e883 100644 --- a/src/libslic3r/GCode/WipeTower2.cpp +++ b/src/libslic3r/GCode/WipeTower2.cpp @@ -405,7 +405,7 @@ public: } WipeTowerWriter2& switch_filament_monitoring(bool enable) { - flush_planner_queue(); + m_gcode += flush_planner_queue_command(m_gcode_flavor); m_gcode += enable ? "M591 R\n" : "M591 S0\n"; return *this; } @@ -644,9 +644,10 @@ public: } // Set extruder temperature, don't wait by default. - WipeTowerWriter2& set_extruder_temp(int temperature, bool wait = false, const std::string& comment = std::string()) + WipeTowerWriter2& set_extruder_temp(int temperature, bool wait = false, const std::string& comment = std::string(), bool sync = true) { - flush_planner_queue(); + if (sync) // sync the temperature change with motion + m_gcode += flush_planner_queue_command(m_gcode_flavor); m_gcode += "M" + std::to_string(wait ? 109 : 104) + " S" + std::to_string(temperature); if (!comment.empty()) m_gcode += " " + comment; @@ -702,7 +703,9 @@ public: WipeTowerWriter2& flush_planner_queue() { - m_gcode += flush_planner_queue_command(m_gcode_flavor); + // Toolchange boundaries: on Klipper M400 here only stalls the toolhead over the tower. + if (m_gcode_flavor != gcfKlipper) + m_gcode += flush_planner_queue_command(m_gcode_flavor); return *this; } @@ -1413,7 +1416,7 @@ WipeTower::ToolChangeResult WipeTower2::tool_change(size_t tool) if (interface_temp > 0 && interface_temp != base_temp && !m_wait_for_temp_on_wipe_tower) writer.set_extruder_temp(interface_temp, true); if (m_enable_tower_interface_cooldown_during_tower && interface_temp > 0 && interface_temp != base_temp) - writer.set_extruder_temp(base_temp, false); + writer.set_extruder_temp(base_temp, false, {}, m_gcode_flavor != gcfKlipper); // a cooldown back to base isn't timing-critical float pre_dist = m_filpar[tool].tower_interface_pre_extrusion_dist; float pre_len = m_filpar[tool].tower_interface_pre_extrusion_length; if (pre_dist > 0.f && pre_len > 0.f) { @@ -1426,7 +1429,7 @@ WipeTower::ToolChangeResult WipeTower2::tool_change(size_t tool) if (interface_layer) { int interface_temp = m_filpar[tool].interface_print_temperature; if (!m_enable_tower_interface_cooldown_during_tower && interface_temp > 0 && interface_temp != base_temp) - writer.set_extruder_temp(base_temp, false); + writer.set_extruder_temp(base_temp, false, {}, m_gcode_flavor != gcfKlipper); // on Klipper M400 would stall the head over the tower } writer.append(";" + GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Wipe_Tower_End) + "\n"); ++ m_num_tool_changes; @@ -1712,8 +1715,9 @@ void WipeTower2::toolchange_Unload( cleaning_box.ld.y() + m_depth_traversed + wipe_start_offset_after_ram(0.f, is_first_layer()) + m_perimeter_width)); } + // Sync even on Klipper: [change_filament_gcode] and Tn must not run while the unload is still queued. writer.resume_preview() - .flush_planner_queue(); + .append(flush_planner_queue_command(m_gcode_flavor)); } // Change the tool, set a speed override for soluble and flex materials. @@ -1836,7 +1840,7 @@ void WipeTower2::toolchange_Change( if (wait_for_temp_here && !wait_beside_tower) writer.set_extruder_temp(wait_for_temp, true, wait_for_temp_tag()); - writer.append("[deretraction_from_wipe_tower_generator]"); + writer.append("[deretraction_from_wipe_tower_generator]\n"); // The toolchange Tn command will be inserted later, only in case that the user does // not provide a custom toolchange gcode. diff --git a/tests/fff_print/test_wipe_tower.cpp b/tests/fff_print/test_wipe_tower.cpp index f1cb6733de..7811a2ffb1 100644 --- a/tests/fff_print/test_wipe_tower.cpp +++ b/tests/fff_print/test_wipe_tower.cpp @@ -198,6 +198,60 @@ static std::string slice_with_prime_tower(const DynamicPrintConfig &config) return gcode(print); } +// change_filament_gcode for the Klipper sections: a marker comment, so no slicer output changes. +static const char *const toolchange_mark = "; TOOLCHANGE_MARK\n"; + +// On Klipper the tower syncs motion only right before a temperature command and, with +// `sync_before_change`, once per toolchange at the end of the unload, so change_filament_gcode +// can't run while the unload is still queued. Any other M400 just stalls the toolhead. +static bool m400_only_where_needed(const std::string &gcode, bool sync_before_change) +{ + bool synced = false; // a bare M400 since the last change_filament_gcode + std::istringstream lines(gcode); + for (std::string line, prev; std::getline(lines, line); prev = line) { + if (prev == "M400" && line.rfind("M104", 0) != 0 && line.rfind("M109", 0) != 0) { + if (!sync_before_change || synced) + return false; + synced = true; + } + if (line.find("; TOOLCHANGE_MARK") != std::string::npos) { + if (sync_before_change && !synced) + return false; + synced = false; + } + } + return true; +} + +// The cooldown back to the base temperature after an interface wipe closes the toolchange, so a +// wipe tower region ends right after it. Returns how many there are, or 0 if any of them is synced. +static size_t unsynced_interface_cooldowns(const std::string &tower) +{ + const std::string next_region = ";" + GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Wipe_Tower_Start); + size_t cooldowns = 0; + for (size_t pos = tower.find("\nM104 "); pos != std::string::npos; pos = tower.find("\nM104 ", pos + 1)) { + const size_t eol = tower.find('\n', pos + 1); + if (eol == std::string::npos + || (tower.compare(eol + 1, std::string::npos, ";") != 0 && tower.compare(eol + 1, next_region.size(), next_region) != 0)) + continue; // not the last line of its region + if (pos >= 4 && tower.compare(pos - 4, 4, "M400") == 0) + return 0; + ++cooldowns; + } + return cooldowns; +} + +// The wipe tower regions of a slice under `config`. Post-processed tower moves start with "G1 " +// (two spaces); a bare "G1 Y" is a move glued to a placeholder line, which skipped +// post_process_wipe_tower_moves and kept tower-local coordinates. +static std::string sliced_wipe_tower(const DynamicPrintConfig &config) +{ + const std::string tower = wipe_tower_regions(slice_with_prime_tower(config)); + REQUIRE_FALSE(tower.empty()); + CHECK_THAT(tower, !Catch::Matchers::ContainsSubstring("\nG1 Y")); + return tower; +} + TEST_CASE("Tower consumption is classified separately for each printer kind", "[WipeTower][Regression]") { const auto [is_bbl, tower_type] = GENERATE(table({ @@ -233,14 +287,40 @@ TEST_CASE("Tower consumption is classified separately for each printer kind", "[ TEST_CASE("The wipe tower's toolchange planner flush follows the gcode flavor", "[WipeTower]") { - auto [flavor, expected, unexpected] = GENERATE(table({ - { "klipper", "M400", "G4 S0" }, - { "marlin", "G4 S0", "M400" } })); - DYNAMIC_SECTION(flavor) { - const std::string tower = wipe_tower_regions(slice_with_prime_tower(wipe_tower_toolchange_config(flavor))); - REQUIRE_FALSE(tower.empty()); - CHECK_THAT(tower, Catch::Matchers::ContainsSubstring(expected)); - CHECK_THAT(tower, !Catch::Matchers::ContainsSubstring(unexpected)); + SECTION("klipper") { + const std::string tower_type = GENERATE("type1", "type2"); + CAPTURE(tower_type); + DynamicPrintConfig config = wipe_tower_toolchange_config("klipper"); + config.set_deserialize_strict({ { "wipe_tower_type", tower_type }, { "change_filament_gcode", toolchange_mark } }); + const std::string tower = sliced_wipe_tower(config); + CHECK_THAT(tower, !Catch::Matchers::ContainsSubstring("G4 S0")); + // Only type2 syncs at the end of the unload; type1's toolchange_Unload is compiled out. + CHECK(m400_only_where_needed(tower, tower_type == std::string("type2"))); + } + SECTION("marlin") { + const std::string tower = sliced_wipe_tower(wipe_tower_toolchange_config("marlin")); + CHECK_THAT(tower, Catch::Matchers::ContainsSubstring("G4 S0")); + CHECK_THAT(tower, !Catch::Matchers::ContainsSubstring("M400")); + } + SECTION("klipper, single extruder multi material") { + // The SEMM path changes the temperature inside the tower; the sync before M104 must stay. + DynamicPrintConfig config = wipe_tower_toolchange_config("klipper"); + config.set_deserialize_strict({ { "single_extruder_multi_material", "1" }, { "change_filament_gcode", toolchange_mark } }); + const std::string tower = sliced_wipe_tower(config); + CHECK_THAT(tower, Catch::Matchers::ContainsSubstring("M400\nM104")); + CHECK(m400_only_where_needed(tower, true)); + } + SECTION("klipper, tower interface features") { + // The interface M109 is stripped from the tower by GCode.cpp; its sync line must go with it. + // The cooldown back to the base temperature after the wipe isn't synced either; other M104s + // (the single extruder multi material path of this config) still are. + DynamicPrintConfig config = wipe_tower_toolchange_config("klipper"); + config.set_deserialize_strict({ { "enable_tower_interface_features", "1" }, + { "nozzle_temperature_range_high", "250,250" }, + { "change_filament_gcode", toolchange_mark } }); + const std::string tower = sliced_wipe_tower(config); + CHECK(m400_only_where_needed(tower, true)); + CHECK(unsynced_interface_cooldowns(tower) > 0); } } From 606b50f18786913b84cc6f6ddf989c08fabd12bc Mon Sep 17 00:00:00 2001 From: HanifKoh <76276251+HanifKoh@users.noreply.github.com> Date: Fri, 6 Nov 2026 20:05:25 +0800 Subject: [PATCH 08/26] 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. --- src/slic3r/GUI/CameraPopup.cpp | 87 +++++++++++++++++++++++++ src/slic3r/GUI/CameraPopup.hpp | 22 +++++-- src/slic3r/GUI/MediaPlayCtrl.cpp | 8 +++ src/slic3r/GUI/MediaPlayCtrl.h | 4 ++ src/slic3r/GUI/StatusPanel.cpp | 107 ++++++++++++++++++++++--------- src/slic3r/GUI/StatusPanel.hpp | 8 ++- 6 files changed, 201 insertions(+), 35 deletions(-) diff --git a/src/slic3r/GUI/CameraPopup.cpp b/src/slic3r/GUI/CameraPopup.cpp index 32e64d5e65..0debdbc8ea 100644 --- a/src/slic3r/GUI/CameraPopup.cpp +++ b/src/slic3r/GUI/CameraPopup.cpp @@ -13,6 +13,10 @@ #include #include #include "slic3r/GUI/Widgets/RadioBox.hpp" +#include "slic3r/GUI/Widgets/Button.hpp" +#include "slic3r/GUI/Widgets/TextInput.hpp" +#include +#include #include #include #include @@ -28,6 +32,10 @@ #include #include "GUI_App.hpp" #include +#include "slic3r/Utils/IPrinterAgent.hpp" +#include "slic3r/Utils/NetworkAgent.hpp" +#include "slic3r/Utils/NetworkAgentFactory.hpp" +#include #include "DeviceCore/DevManager.h" #include "DeviceCore/DevStorage.h" @@ -46,6 +54,7 @@ wxEND_EVENT_TABLE() wxDEFINE_EVENT(EVT_VCAMERA_SWITCH, wxMouseEvent); wxDEFINE_EVENT(EVT_SDCARD_ABSENT_HINT, wxCommandEvent); +wxDEFINE_EVENT(EVT_CAM_SOURCE_CHANGE, wxCommandEvent); #define CAMERAPOPUP_CLICK_INTERVAL 20 @@ -119,6 +128,31 @@ CameraPopup::CameraPopup(wxWindow *parent) top_sizer->Add(0, 0, wxALL, 0); } + // Custom camera source: show any camera URL in the Device tab instead of the printer's own stream + m_custom_camera_hint = new wxStaticText(m_panel, wxID_ANY, _L("Custom camera source")); + m_custom_camera_hint->Wrap(-1); + m_custom_camera_hint->SetFont(Label::Head_14); + m_custom_camera_hint->SetForegroundColour(TEXT_COL); + m_custom_camera_input = new TextInput(m_panel, wxEmptyString, wxEmptyString, wxEmptyString, wxDefaultPosition, wxDefaultSize); + m_custom_camera_input->GetTextCtrl()->SetHint(_L("Camera stream URL")); + m_custom_camera_input->GetTextCtrl()->SetFont(Label::Body_14); + m_custom_camera_input->SetToolTip(_L("URL of an MJPEG stream or of a web page that shows the camera, for example http://192.168.1.10:8080/?action=stream")); + m_custom_camera_input_confirm = new Button(m_panel, _L("Enable")); + m_custom_camera_input_confirm->SetTextColor(wxColour(0xFFFFFE)); + m_custom_camera_input_confirm->SetFont(Label::Body_14); + m_custom_camera_input_confirm->SetMinSize(wxSize(FromDIP(90), FromDIP(30))); + m_custom_camera_input_confirm->SetCornerRadius(FromDIP(12)); + m_custom_camera_input_confirm->Bind(wxEVT_BUTTON, &CameraPopup::on_camera_source_changed, this); + + const std::string custom_source = wxGetApp().app_config->get("camera", "custom_source"); + m_custom_camera_input->GetTextCtrl()->SetValue(wxString::FromUTF8(custom_source)); + set_custom_cam_button_state(!custom_source.empty() && wxGetApp().app_config->get("camera", "enable_custom_source") == "true"); + + top_sizer->Add(m_custom_camera_hint, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT | wxALL, FromDIP(5)); + top_sizer->Add(0, 0, wxALL, 0); + top_sizer->Add(m_custom_camera_input, 2, wxALIGN_CENTER_VERTICAL | wxEXPAND | wxALL, FromDIP(5)); + top_sizer->Add(m_custom_camera_input_confirm, 1, wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT | wxALL, FromDIP(5)); + main_sizer->Add(top_sizer, 0, wxALL, FromDIP(10)); auto url = wxString(L"https://www.orcaslicer.com/wiki/"); // Orca: neutral wiki link (vendor URL removed) @@ -185,6 +219,54 @@ void CameraPopup::on_switch_recording(wxCommandEvent& event) m_obj->command_ipcam_record(!value); } +void CameraPopup::on_camera_source_changed(wxCommandEvent& event) +{ + const std::string url = boost::algorithm::trim_copy(std::string(m_custom_camera_input->GetTextCtrl()->GetValue().ToUTF8().data())); + if (!m_custom_camera_enabled && url.empty()) + return; + + set_custom_cam_button_state(!m_custom_camera_enabled); + if (m_custom_camera_enabled) { + m_custom_camera_input->GetTextCtrl()->SetValue(wxString::FromUTF8(url)); + wxGetApp().app_config->set("camera", "custom_source", url); + } + wxGetApp().app_config->set("camera", "enable_custom_source", m_custom_camera_enabled); + + wxCommandEvent evt(EVT_CAM_SOURCE_CHANGE); + evt.SetEventObject(this); + GetEventHandler()->ProcessEvent(evt); +} + +bool CameraPopup::custom_source_supported() +{ + // Temporary: a patch for the Bambu printer agent only. Once printer agents are fully + // implemented, the custom source is to be deprecated in favour of the agents' own camera + // handling, or extended to the other agents; this gate is where that change starts. + auto agent = wxGetApp().getAgent(); + auto printer_agent = agent ? agent->get_printer_agent() : nullptr; + return printer_agent && printer_agent->get_agent_info().id == BBL_PRINTER_AGENT_ID; +} + +std::string CameraPopup::custom_source_url() +{ + if (wxGetApp().app_config->get("camera", "enable_custom_source") != "true" || !custom_source_supported()) + return {}; + std::string url = boost::algorithm::trim_copy(wxGetApp().app_config->get("camera", "custom_source")); + if (!url.empty() && url.find("://") == std::string::npos) + url = "http://" + url; + return url; +} + +void CameraPopup::set_custom_cam_button_state(bool state) +{ + m_custom_camera_enabled = state; + m_custom_camera_input->Enable(!state); + const wxColour colour = state ? wxColour(170, 0, 0) : wxColour(38, 166, 154); + m_custom_camera_input_confirm->SetBackgroundColor(colour); + m_custom_camera_input_confirm->SetBorderColor(colour); + m_custom_camera_input_confirm->SetLabel(state ? _L("Disable") : _L("Enable")); +} + void CameraPopup::on_set_resolution() { if (!m_obj) return; @@ -323,6 +405,11 @@ void CameraPopup::check_func_supported(MachineObject *obj2) link_underline->Hide(); } + const bool custom_source = custom_source_supported(); + m_custom_camera_hint->Show(custom_source); + m_custom_camera_input->Show(custom_source); + m_custom_camera_input_confirm->Show(custom_source); + allow_alter_resolution = ( (m_obj->camera_resolution_supported.size() > 1?true:false) && m_obj->has_ipcam); //check u2 version diff --git a/src/slic3r/GUI/CameraPopup.hpp b/src/slic3r/GUI/CameraPopup.hpp index 06580f6653..cf480f6063 100644 --- a/src/slic3r/GUI/CameraPopup.hpp +++ b/src/slic3r/GUI/CameraPopup.hpp @@ -24,12 +24,15 @@ #include "Widgets/SwitchButton.hpp" #include "Widgets/RadioBox.hpp" #include "Widgets/PopupWindow.hpp" +#include "Widgets/Button.hpp" +#include "Widgets/TextInput.hpp" namespace Slic3r { namespace GUI { wxDECLARE_EVENT(EVT_VCAMERA_SWITCH, wxMouseEvent); wxDECLARE_EVENT(EVT_SDCARD_ABSENT_HINT, wxCommandEvent); +wxDECLARE_EVENT(EVT_CAM_SOURCE_CHANGE, wxCommandEvent); class CameraPopup : public PopupWindow { @@ -47,6 +50,15 @@ public: void check_func_supported(MachineObject* obj); void update(bool vcamera_streaming); + // Temporary patch for the Bambu printer agent only. The custom view hides the Device tab's + // media control and play bar and takes over its WebView, which the other agents' camera + // modes play through. Once printer agents are fully implemented, camera sources are + // expected to come from the agents themselves, and this feature is to be deprecated or + // extended to the other agents. + static bool custom_source_supported(); + // The URL to show, normalised; empty when the source is disabled, blank or unsupported. + static std::string custom_source_url(); + enum CameraResolution { RESOLUTION_720P = 0, @@ -60,6 +72,8 @@ protected: void on_switch_recording(wxCommandEvent& event); void on_set_resolution(); void sdcard_absent_hint(); + void on_camera_source_changed(wxCommandEvent& event); + void set_custom_cam_button_state(bool state); wxWindow * create_item_radiobox(wxString title, wxWindow *parent, wxString tooltip, int padding_left); void select_curr_radiobox(int btn_idx); @@ -80,10 +94,10 @@ private: wxStaticText* m_text_liveview_retry; SwitchButton* m_switch_liveview_retry; #endif //BBL_RELEASE_TO_PUBLIC - // wxStaticText* m_custom_camera_hint; - // TextInput* m_custom_camera_input; - // Button* m_custom_camera_input_confirm; - // bool m_custom_camera_enabled{ false }; + wxStaticText* m_custom_camera_hint; + TextInput* m_custom_camera_input; + Button* m_custom_camera_input_confirm; + bool m_custom_camera_enabled{ false }; wxStaticText* m_text_resolution; wxWindow* m_resolution_options[RESOLUTION_OPTIONS_NUM]; wxScrolledWindow *m_panel; diff --git a/src/slic3r/GUI/MediaPlayCtrl.cpp b/src/slic3r/GUI/MediaPlayCtrl.cpp index cb6716cd7e..86ef2c480a 100644 --- a/src/slic3r/GUI/MediaPlayCtrl.cpp +++ b/src/slic3r/GUI/MediaPlayCtrl.cpp @@ -580,6 +580,14 @@ void MediaPlayCtrl::StopWebStream() SetStatus(_L("Video Stopped."), false); } +void MediaPlayCtrl::StopPlayback() +{ + m_failed_code = 0; + Stop(); + m_failed_retry = 0; + m_next_retry = wxDateTime(); +} + void MediaPlayCtrl::Stop(wxString const &msg, wxString const &msg2) { const bool webrtc_active = m_last_mode == CameraStreamMode::webrtc && diff --git a/src/slic3r/GUI/MediaPlayCtrl.h b/src/slic3r/GUI/MediaPlayCtrl.h index cac07b07c3..912f9cef6e 100644 --- a/src/slic3r/GUI/MediaPlayCtrl.h +++ b/src/slic3r/GUI/MediaPlayCtrl.h @@ -55,6 +55,10 @@ public: void StopWebStream(); + // Stops playback for a view switch: not a stream failure, so it leaves no retry count, + // back-off or LAN dialog behind. + void StopPlayback(); + bool IsStreaming() const; void ToggleStream(); diff --git a/src/slic3r/GUI/StatusPanel.cpp b/src/slic3r/GUI/StatusPanel.cpp index 51f67d5d8b..e3962f3faf 100644 --- a/src/slic3r/GUI/StatusPanel.cpp +++ b/src/slic3r/GUI/StatusPanel.cpp @@ -1579,26 +1579,20 @@ wxBoxSizer *StatusBasePanel::create_monitoring_page() m_setting_button->SetMinSize(wxSize(FromDIP(38), FromDIP(24))); m_setting_button->SetBackgroundColour(STATUS_TITLE_BG); - // m_camera_switch_button = new wxStaticBitmap(m_panel_monitoring_title, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize(FromDIP(38), FromDIP(24)), 0); - // m_camera_switch_button->SetMinSize(wxSize(FromDIP(38), FromDIP(24))); - // m_camera_switch_button->SetBackgroundColour(STATUS_TITLE_BG); - // m_camera_switch_button->SetBitmap(m_bitmap_switch_camera.bmp()); - // m_camera_switch_button->Bind(wxEVT_RIGHT_DOWN, [this](auto& e) { - // const std::string js_request_pip = R"( - // document.querySelector('video').requestPictureInPicture(); - // )"; - // m_custom_camera_view->RunScript(js_request_pip); - // }); - // m_camera_switch_button->Hide(); + m_camera_switch_button = new wxStaticBitmap(m_panel_monitoring_title, wxID_ANY, m_bitmap_switch_camera.bmp(), wxDefaultPosition, wxSize(FromDIP(38), FromDIP(24)), 0); + m_camera_switch_button->SetMinSize(wxSize(FromDIP(38), FromDIP(24))); + m_camera_switch_button->SetBackgroundColour(STATUS_TITLE_BG); + m_camera_switch_button->Bind(wxEVT_LEFT_DOWN, &StatusBasePanel::on_camera_switch_toggled, this); + m_camera_switch_button->Hide(); m_bitmap_sdcard_img->SetToolTip(_L("Storage")); m_bitmap_timelapse_img->SetToolTip(_L("Timelapse")); m_bitmap_recording_img->SetToolTip(_L("Video")); m_bitmap_vcamera_img->SetToolTip(_L("Go Live")); m_setting_button->SetToolTip(_L("Camera Setting")); - // m_camera_switch_button->SetToolTip(_L("Switch Camera View")); + m_camera_switch_button->SetToolTip(_L("Switch Camera View")); - // bSizer_monitoring_title->Add(m_camera_switch_button, 0, wxALIGN_CENTER_VERTICAL | wxALL, FromDIP(5)); + bSizer_monitoring_title->Add(m_camera_switch_button, 0, wxALIGN_CENTER_VERTICAL | wxALL, FromDIP(5)); bSizer_monitoring_title->Add(m_bitmap_sdcard_img, 0, wxALIGN_CENTER_VERTICAL | wxALL, FromDIP(5)); bSizer_monitoring_title->Add(m_bitmap_timelapse_img, 0, wxALIGN_CENTER_VERTICAL | wxALL, FromDIP(5)); bSizer_monitoring_title->Add(m_bitmap_recording_img, 0, wxALIGN_CENTER_VERTICAL | wxALL, FromDIP(5)); @@ -1634,9 +1628,47 @@ wxBoxSizer *StatusBasePanel::create_monitoring_page() // // sizer->Add(media_ctrl_panel, 1, wxEXPAND | wxALL, 1); + if (const std::string url = CameraPopup::custom_source_url(); !url.empty()) + apply_custom_camera_source(url); + return sizer; } +// An empty URL means no custom source: the printer's own stream is shown again. +void StatusBasePanel::apply_custom_camera_source(const std::string& url) +{ + show_custom_camera(url); + m_custom_camera_applied = !url.empty(); + m_camera_switch_button->Show(m_custom_camera_applied); + m_panel_monitoring_title->Layout(); +} + +// The agent's camera mode can change under a stored source (another printer selected), so +// reapply whenever the stored state and the applied one differ. +void StatusBasePanel::sync_custom_camera_source(const std::string& url) +{ + if (!url.empty() != m_custom_camera_applied) + apply_custom_camera_source(url); +} + +// The custom page is only loaded while it is on screen, so a hidden view pulls no stream. +void StatusBasePanel::show_custom_camera(const std::string& url) +{ + const bool show = !url.empty(); + if (show) + m_media_play_ctrl->StopPlayback(); + m_custom_camera_view->LoadURL(url.empty() ? wxString("about:blank") : wxString::FromUTF8(url)); + m_custom_camera_view->Show(show); + m_media_ctrl->Show(!show); + m_media_play_ctrl->Show(!show); + Layout(); +} + +void StatusBasePanel::on_camera_switch_toggled(wxMouseEvent& event) +{ + show_custom_camera(m_custom_camera_view->IsShown() ? std::string() : CameraPopup::custom_source_url()); +} + wxBoxSizer *StatusBasePanel::create_machine_control_page(wxWindow *parent) { wxBoxSizer *bSizer_right = new wxBoxSizer(wxVERTICAL); @@ -2394,22 +2426,26 @@ void StatusPanel::update_camera_state(MachineObject* obj) auto agent = wxGetApp().getAgent(); const auto camera_mode = agent ? agent->get_camera_stream_mode() : CameraStreamMode::none; const bool use_webview = camera_mode == CameraStreamMode::http_snapshot; - if (use_webview) { - //m_camera_switch_button->Hide(); - if (!m_custom_camera_view->IsShown()) { - // why: do not reload the WebView URL per tick, or redirects can cause a reload loop. - // MediaPlayCtrl (via its WebMediaController) owns loading/playing the stream itself. - m_custom_camera_view->Show(); - m_media_ctrl->Hide(); + const std::string custom_url = CameraPopup::custom_source_url(); + sync_custom_camera_source(custom_url); + // With a custom source applied, the WebView shows the user's camera and the switch button owns the view. + if (custom_url.empty()) { + if (use_webview) { + if (!m_custom_camera_view->IsShown()) { + // why: do not reload the WebView URL per tick, or redirects can cause a reload loop. + // MediaPlayCtrl (via its WebMediaController) owns loading/playing the stream itself. + m_custom_camera_view->Show(); + m_media_ctrl->Hide(); + } + } else { + if (m_custom_camera_view->IsShown()) { + m_custom_camera_view->Hide(); + // Stop the snapshot WebView before switching to native playback + // or leaving the camera mode. + m_media_play_ctrl->StopWebStream(); + } + m_media_ctrl->Show(); } - } else { - if (m_custom_camera_view->IsShown()) { - m_custom_camera_view->Hide(); - // Stop the snapshot WebView before switching to native playback - // or leaving the camera mode. - m_media_play_ctrl->StopWebStream(); - } - m_media_ctrl->Show(); } //sdcard @@ -5088,8 +5124,10 @@ void StatusPanel::on_switch_vcamera(wxMouseEvent &event) void StatusPanel::on_camera_enter(wxMouseEvent& event) { if (obj) { - if (m_camera_popup == nullptr) + if (m_camera_popup == nullptr) { m_camera_popup = std::make_shared(this); + m_camera_popup->Bind(EVT_CAM_SOURCE_CHANGE, &StatusPanel::on_camera_source_change, this); + } m_camera_popup->check_func_supported(obj); m_camera_popup->sync_vcamera_state(show_vcamera); m_camera_popup->Bind(EVT_VCAMERA_SWITCH, &StatusPanel::on_switch_vcamera, this); @@ -5118,6 +5156,11 @@ void StatusPanel::on_camera_leave(wxMouseEvent& event) } } +void StatusPanel::on_camera_source_change(wxCommandEvent& event) +{ + apply_custom_camera_source(CameraPopup::custom_source_url()); +} + void StatusPanel::on_auto_leveling(wxCommandEvent &event) { if (obj) obj->command_auto_leveling(); @@ -5246,7 +5289,9 @@ bool StatusPanel::is_stage_list_info_changed(MachineObject *obj) void StatusPanel::set_default() { BOOST_LOG_TRIVIAL(trace) << "status_panel: set_default"; - if (m_custom_camera_view->IsShown()) { + const std::string custom_url = CameraPopup::custom_source_url(); + sync_custom_camera_source(custom_url); + if (m_custom_camera_view->IsShown() && custom_url.empty()) { m_custom_camera_view->Hide(); m_media_ctrl->Show(); m_media_play_ctrl->StopWebStream(); @@ -5350,6 +5395,8 @@ void StatusPanel::rescale_camera_icons() m_bitmap_timelapse_off = ScalableBitmap(this, wxGetApp().dark_mode()?"monitor_timelapse_off_dark":"monitor_timelapse_off", 20); m_bitmap_vcamera_on = ScalableBitmap(this, wxGetApp().dark_mode()?"monitor_vcamera_on_dark":"monitor_vcamera_on", 20); m_bitmap_vcamera_off = ScalableBitmap(this, wxGetApp().dark_mode()?"monitor_vcamera_off_dark":"monitor_vcamera_off", 20); + m_bitmap_switch_camera = ScalableBitmap(this, wxGetApp().dark_mode() ? "camera_switch_dark" : "camera_switch", 20); + m_camera_switch_button->SetBitmap(m_bitmap_switch_camera.bmp()); if (m_media_play_ctrl->IsStreaming()) { m_bitmap_vcamera_img->SetBitmap(m_bitmap_vcamera_on.bmp()); diff --git a/src/slic3r/GUI/StatusPanel.hpp b/src/slic3r/GUI/StatusPanel.hpp index cd297eefe8..2f430efae5 100644 --- a/src/slic3r/GUI/StatusPanel.hpp +++ b/src/slic3r/GUI/StatusPanel.hpp @@ -467,7 +467,7 @@ protected: wxStaticBitmap *m_bitmap_sdcard_img; wxStaticBitmap *m_bitmap_static_use_time; wxStaticBitmap *m_bitmap_static_use_weight; - // wxStaticBitmap* m_camera_switch_button; + wxStaticBitmap* m_camera_switch_button; wxMediaCtrl3 * m_media_ctrl; @@ -490,6 +490,7 @@ protected: Button * m_button_clean; wxWebView * m_custom_camera_view{nullptr}; std::unique_ptr m_web_media_controller; + bool m_custom_camera_applied{false}; wxSimplebook* m_extruder_book; std::vector m_extruderImage; @@ -640,11 +641,15 @@ public: void show_ams_group(bool show = true); void show_filament_load_group(bool show = true); MediaPlayCtrl* get_media_play_ctrl() {return m_media_play_ctrl;}; + void apply_custom_camera_source(const std::string& url); + void sync_custom_camera_source(const std::string& url); void jump_to_Rack(); private: void on_ams_rack_switch(wxCommandEvent& event); + void show_custom_camera(const std::string& url); + void on_camera_switch_toggled(wxMouseEvent& event); }; @@ -776,6 +781,7 @@ protected: void on_switch_vcamera(wxMouseEvent &event); void on_camera_enter(wxMouseEvent &event); void on_camera_leave(wxMouseEvent& event); + void on_camera_source_change(wxCommandEvent& event); void on_auto_leveling(wxCommandEvent &event); void on_xyz_abs(wxCommandEvent &event); From d2ade00ad8a997e584ca0f10a7f654399c2b449d Mon Sep 17 00:00:00 2001 From: Lam Wei Lun Date: Fri, 6 Nov 2026 20:10:29 +0800 Subject: [PATCH 09/26] 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> --- resources/web/dialog/SpeedDial/speeddial.js | 141 ++++++++++++++++-- .../web/dialog/SpeedDial/speeddial.test.js | 109 ++++++++++++++ resources/web/dialog/SpeedDial/style.css | 4 +- 3 files changed, 242 insertions(+), 12 deletions(-) diff --git a/resources/web/dialog/SpeedDial/speeddial.js b/resources/web/dialog/SpeedDial/speeddial.js index fbb664f626..f699d6859a 100644 --- a/resources/web/dialog/SpeedDial/speeddial.js +++ b/resources/web/dialog/SpeedDial/speeddial.js @@ -1,6 +1,7 @@ // Speed Dial launcher page. Static-safe module: no DOM access at load time so a // node vm can exercise the pure helpers (searchActions / filterTabs / actionLabel / nextSel / -// commandList / commandSections / actionCategory / groupActions / favDigitFromEvent / spacerHeight). +// commandList / commandSections / actionCategory / groupActions / favDigitFromEvent / spacerHeight / +// detailActionId / phaseClickIgnored). // // Cross-boundary contracts (keep in sync; the C++ side pins its half in tests): // - favourite cap 10 -> ActionRegistry::kFavLimit (K_FAV_LIMIT here) @@ -21,6 +22,21 @@ var RECENTS = []; // [{id,title,source,group,kind,input,icon,mode}] - las var query = ""; var sel = { zone: "list", i: 0 }; // zone: 'list' | 'fav' var matchIndex = {}; +// Action id under the pointer, or null. The footer describes it in place of the keyboard selection, +// so a mouse user can still read a row's description/wiki now that a single click launches it. +var hover = null; +// A preview commits only after the pointer rests this long: reaching the footer means crossing the +// rows below the hovered one, and the footer must stay on the row the pointer came from. +var HOVER_SETTLE_MS = 150; +// ...but never longer than this on one row, so a pointer that keeps drifting still previews it. +var HOVER_MAX_WAIT_MS = 1000; +// A move shorter than this between mousemoves is hand jitter, not a move off the row, so it must +// not push the settle timer back (rows are 44px tall: style.css --row-h). +var HOVER_JITTER_PX = 6; +var hoverTimer = 0; // pending setHover(id) commit, 0 when none +var hoverPending = null; // the id that timer will commit +var hoverSince = 0; // Date.now() when the pointer landed on hoverPending's row +var hoverX = 0, hoverY = 0; // last pointer position that counted as a move // Global tooltip expansion, seeded from C++ (persisted in the speed_dial config section). Collapsing // hides the footer description + wiki link for every action; the arrow remains to expand again. @@ -88,6 +104,11 @@ var searchTokenRes = []; // second phase: pick a notebook tab). var phase = "commands"; var tabOptions = []; // [{id,title}] - notebook pages, fetched on entering the tab phase +// A list click inside this window after a phase switch is the second half of a double-click on the +// command that opened the phase (the new rows render under the cursor), so it is ignored. Covers the +// OS double-click interval, which is up to 500 ms on Windows. +var PHASE_CLICK_GRACE_MS = 500; +var phaseEnteredAt = 0; // Date.now() of the last phase switch // why: the fuzzy matcher (NormText/FuzzyRangesNorm) lives in shared // ../../js/fuzzy-search.js, loaded before this script. Search is always case-insensitive. @@ -607,6 +628,12 @@ function selectedActionId(sel, actions, favIds) { return a && a.id; } +// The action id the footer describes: the pointer's action when one is hovered, else the keyboard +// selection resolved through the active list/fav bar. Pure so the node-vm test can pin the precedence. +function detailActionId(hoverId, sel, actions, favIds) { + return hoverId || selectedActionId(sel, actions, favIds); +} + function actionHasWiki(a) { return !!(a && a.wiki); } // Whether the action has anything for the footer strip to show (a description or a wiki link). @@ -740,6 +767,13 @@ function nextSel(sel, key, listLen, favLen) { return { zone: zone, i: i }; } +// True for a list activation that lands right after a phase switch: that click is the tail of a +// double-click on the command that opened the phase, not an intent to run the row now under the +// cursor. The clock and the switch timestamp are passed in so the node-vm test can cover it. +function phaseClickIgnored(now, enteredAt) { + return enteredAt > 0 && now - enteredAt < PHASE_CLICK_GRACE_MS; +} + // ---- bridge ------------------------------------------------------------------ function SendMessage(msg) { if (typeof SendWXMessage !== "function") @@ -765,6 +799,7 @@ window.HandleStudio = function (payload) { tabOptions = []; query = ""; sel = { zone: "list", i: 0 }; + resetHover(); // why: builtKey caches phase|query so renderCommandsList can skip a rebuild on arrow-nav. // It survives a re-open (which never goes through exitPhase), so without a reset the cached // empty-query key would skip the rebuild and leave stale list content. @@ -878,6 +913,10 @@ function renderFav() { tile.title = a.title + (tileBadge ? " (" + tileBadge + ")" : ""); tile.setAttribute("aria-label", actionLabel(a, ACTIONS)); tile.onclick = function () { sel = { zone: "fav", i: i }; activateEntry(a); }; + // Resting the pointer on a tile previews it in the footer (a click launches it). Movement only: + // mouseenter also fires when rows/tiles move under a resting pointer (scroll, rebuild), which + // would move the footer while Enter still runs the highlighted row. + tile.addEventListener("mousemove", function (e) { setHover(id, e); }); // Numbered quick-launch badge (Alt/Option+digit), drawn on the corner. var slot = favSlotForIndex(i); if (slot) { @@ -1021,6 +1060,10 @@ function renderActionRow(a, i) { shell.row.appendChild(pin); shell.row.onclick = function () { sel = { zone: "list", i: i }; activateEntry(a); }; + // Hovering previews the row in the footer: a click launches the action right away, so resting + // the pointer on the row is the only way to read its description without running it. Movement + // only, for the same reason as the tiles: a row scrolling under a resting pointer is not a hover. + shell.row.addEventListener("mousemove", function (e) { setHover(a.id, e); }); return shell.row; } @@ -1088,6 +1131,7 @@ function rebuildCommandsList(list) { ensureSpacer(); renderEnd = 0; sectionRendered = 0; + resetHover(); // the rows are fresh; a stale hover id would describe a row that is gone appendActionRows(list, 0, Math.min(list.length, K_ROWS)); renderEnd = Math.min(list.length, K_ROWS); setBottomSpacer(list.length); @@ -1185,7 +1229,14 @@ function renderTabRow(t, i) { var hint = tabAliasHint(t, query); if (hint) shell.line.appendChild(markedText("row-alias", hint.text, hint.ranges)); - shell.row.onclick = function () { sel = { zone: "list", i: i }; jumpToTab(t); }; + // A double-click on the "Go to tab..." command lands its second click on the row now under the + // cursor; ignore it so the tab list stays up instead of jumping to a tab. + shell.row.onclick = function () { + if (phaseClickIgnored(Date.now(), phaseEnteredAt)) + return; + sel = { zone: "list", i: i }; + jumpToTab(t); + }; return shell.row; } @@ -1194,6 +1245,7 @@ function renderTabList() { var list = currentList(); listEl.innerHTML = ""; spacerEl = null; // the tab list has no windowed spacer; rebuildCommandsList recreates it + resetHover(); // the rows are fresh; a stale hover id would describe a row that is gone if (!list.length) { renderEmpty(q ? T("sd_no_tabs_match", "No tabs match") : T("sd_no_tabs", "No tabs")); @@ -1223,15 +1275,66 @@ function renderList() { renderCommandsList(); } -// The action the footer describes: the current selection resolved through the active list/fav bar. +// The action the footer describes: the hovered action, else the keyboard selection resolved through +// the active list/fav bar. function currentDetailAction() { if (phase !== "commands") return null; - var id = selectedActionId(sel, currentList(), currentVisibleFavs()); + var id = detailActionId(hover, sel, currentList(), currentVisibleFavs()); return id ? byId(id) : null; } -// Footer detail strip: the selected action's description, its wiki link and the expand/collapse -// arrow. Shown whenever the highlighted action has a description or a wiki page; expanding is a +// Footer preview follows the pointer. Only the detail strip re-renders, so hovering never touches +// the selection or the list; the resize keeps the popup fitted to the new description height. +// The commit waits for the pointer to rest, so crossing the rows below a hovered row on the way to +// the footer keeps the footer on the row the pointer came from. Every real move restarts the wait, +// so a row crossed over is never committed; HOVER_MAX_WAIT_MS caps it so a pointer that never rests +// still previews the row it stays on. +function setHover(id, ev) { + var sameRow = hoverPending === id; + // Jitter on the row already waiting is not a move: keep the running timer, so an unsteady hand + // still previews what it rests on. + if (sameRow && Math.hypot(ev.clientX - hoverX, ev.clientY - hoverY) < HOVER_JITTER_PX) return; + cancelHover(); + if (hover === id) return; + var now = Date.now(); + if (!sameRow) hoverSince = now; + hoverX = ev.clientX; + hoverY = ev.clientY; + hoverPending = id; + hoverTimer = setTimeout(function () { + hoverTimer = 0; + hoverPending = null; + if (hover === id) return; + hover = id; + renderDetail(); + requestResize(); + }, Math.max(0, Math.min(HOVER_SETTLE_MS, hoverSince + HOVER_MAX_WAIT_MS - now))); +} + +// Drop a scheduled preview without touching the committed one. +function cancelHover() { + hoverPending = null; + if (!hoverTimer) return; + clearTimeout(hoverTimer); + hoverTimer = 0; +} + +// Forget the preview entirely; the caller re-renders (the selected action's detail comes back). +function resetHover() { + cancelHover(); + hover = null; +} + +function clearHover() { + var had = hover !== null; + resetHover(); + if (!had) return; + renderDetail(); + requestResize(); +} + +// Footer detail strip: the highlighted (or hovered) action's description, its wiki link and the +// expand/collapse arrow. Shown whenever that action has a description or a wiki page; expanding is a // persisted global preference, so the arrow stays available to collapse/expand every tooltip. function renderDetail() { if (!detailEl) return; @@ -1416,7 +1519,7 @@ function jumpToTab(t) { // Clear the shared query/cursor state when entering or leaving a phase. Callers set the // phase-specific placeholder, then render. function resetPhaseInput() { - query = ""; qEl.value = ""; sel = { zone: "list", i: 0 }; + query = ""; qEl.value = ""; sel = { zone: "list", i: 0 }; resetHover(); syncClearButton(); } @@ -1430,6 +1533,7 @@ function enterPercentPhase() { function enterTabsPhase() { phase = "tab"; tabOptions = []; + phaseEnteredAt = Date.now(); resetPhaseInput(); qEl.placeholder = T("sd_go_tab_ph", "Go to tab"); render({ resize: true, resetScroll: true }); @@ -1438,7 +1542,7 @@ function enterTabsPhase() { } function exitPhase() { - phase = "commands"; tabOptions = []; + phase = "commands"; tabOptions = []; phaseEnteredAt = 0; resetPhaseInput(); // why: builtKey caches phase|query so renderCommandsList can skip a rebuild on arrow-nav/click. // It survives a second-phase exit (which never goes through exitPhase from the commands view), @@ -1490,9 +1594,25 @@ function OnInit() { revealTo(list, revealTarget(list.length, firstVisible, 2 * K_ROWS)); }); - // why: dismiss the fav context menu on any click/scroll away from it (capture scroll to catch nested scrollers). - document.addEventListener("click", hideFavMenu); + // why: dismiss the fav context menu on any click/scroll away from it (capture scroll to catch + // nested scrollers). The click is handled in capture phase and swallowed: a row click now runs + // its action, so the click that closes the menu must only close the menu. + document.addEventListener("click", function (ev) { + if (!favMenuEl || favMenuEl.hidden) return; + if (favMenuEl.contains(ev.target)) return; // menu items handle their own click + hideFavMenu(); + ev.preventDefault(); + ev.stopPropagation(); + }, true); document.addEventListener("scroll", hideFavMenu, true); + // The footer preview returns to the keyboard selection only when the pointer leaves the popup, + // so a hovered row's wiki link stays clickable while the pointer crosses into the footer strip. + var launcherEl = document.querySelector(".launcher"); + if (launcherEl) + launcherEl.addEventListener("mouseleave", clearHover); + // Leaving the list (into the gap above the footer, or the footer itself) drops a preview still + // waiting on the settle timer, so the footer keeps the row the pointer rested on. + listEl.addEventListener("mouseleave", cancelHover); document.addEventListener("keydown", function (e) { if (favMenuEl && !favMenuEl.hidden && e.key === "Escape") { e.preventDefault(); hideFavMenu(); return; } @@ -1550,6 +1670,7 @@ function OnInit() { if (phase === "percent") return; e.preventDefault(); sel = nextSel(sel, e.key, list.length, favs.length); + resetHover(); // the keyboard takes the footer back from the pointer // why: entering/leaving the fav zone toggles the eyebrow line, changing launcher height; // resize so the popup grows/shrinks instead of clipping. render({ resize: true }); diff --git a/resources/web/dialog/SpeedDial/speeddial.test.js b/resources/web/dialog/SpeedDial/speeddial.test.js index 70c02723bc..6350bf33d1 100644 --- a/resources/web/dialog/SpeedDial/speeddial.test.js +++ b/resources/web/dialog/SpeedDial/speeddial.test.js @@ -400,6 +400,31 @@ assert.equal( "favourites stay runnable with an empty query - the fav bar is always visible" ); +// detailActionId: the footer describes the hovered row while the pointer rests on it, and falls back +// to the keyboard selection otherwise (a single click launches, so hover is the only preview). +assert.equal( + ctx.detailActionId("fedcba9876543210", { zone: "list", i: 0 }, duplicateActions, []), + "fedcba9876543210", + "hovering a row describes it instead of the selection" +); +assert.equal( + ctx.detailActionId(null, { zone: "list", i: 0 }, duplicateActions, []), + "0123456789abcdef", + "with no hover the footer follows the keyboard selection" +); +assert.equal( + ctx.detailActionId(null, { zone: "fav", i: 0 }, duplicateActions, ["fedcba9876543210"]), + "fedcba9876543210", + "with no hover the footer follows the fav bar selection" +); + +// phaseClickIgnored: the click that lands right after a phase switch is the tail of a double-click +// on the command that opened it, so the fresh tab list ignores it; later clicks activate normally. +assert.equal(ctx.phaseClickIgnored(1000, 900), true, "a click inside the grace window is ignored"); +assert.equal(ctx.phaseClickIgnored(1000, 1000 - ctx.PHASE_CLICK_GRACE_MS), false, + "a click at the end of the grace window activates"); +assert.equal(ctx.phaseClickIgnored(1000, 0), false, "an unset phase timestamp never suppresses a click"); + // Fav quick-launch slots: digit 1..9 -> index 0..8, digit 0 -> index 9 (the 10th), else -1. assert.equal(ctx.favIndexForDigit("1"), 0, "digit 1 maps to the 1st favourite slot"); assert.equal(ctx.favIndexForDigit("9"), 8, "digit 9 maps to the 9th favourite slot"); @@ -579,4 +604,88 @@ assert.equal(ctx.stateFromPayload({ tooltip_expanded: true }).tooltipExpanded, t assert.equal(ctx.resultCountText(100, 3, "lay"), "Matching actions: 3", "a search reports the shown match count only"); assert.equal(ctx.resultCountText(100, 100, ""), "Actions: 100", "an empty query reports the total"); +// ---- hover preview commit timing --------------------------------------------------------- +// The footer preview commits only after the pointer rests on a row, so a pointer crossing the rows +// between a rested row and the footer must not preview them (style.css rows are 44px). The timing +// is only observable through setHover, so Date.now and the timers are faked; the detail strip and +// document are absent, so a commit re-renders nothing and only the hover state moves. Each tick is +// one mousemove (25 ms apart, shorter than the 150 ms settle window). +var fakeNow = 0; +var fakeTimers = []; +var nextTimerId = 1; +ctx.document = { body: null }; // requestResize stops at the missing body +ctx.Date.now = function () { return fakeNow; }; +ctx.setTimeout = function (fn, ms) { + var t = { id: nextTimerId++, at: fakeNow + Math.max(0, ms || 0), fn: fn }; + fakeTimers.push(t); + return t.id; +}; +ctx.clearTimeout = function (id) { + fakeTimers = fakeTimers.filter(function (t) { return t.id !== id; }); +}; +// Run every timer due within `ms`, then move the clock to the end of the window. +function advance(ms) { + var end = fakeNow + ms; + for (;;) { + var due = null; + fakeTimers.forEach(function (t) { if (t.at <= end && (!due || t.at < due.at)) due = t; }); + if (!due) break; + fakeTimers.splice(fakeTimers.indexOf(due), 1); + if (due.at > fakeNow) fakeNow = due.at; + due.fn(); + } + fakeNow = end; +} +function moveTo(id, x, y) { ctx.setHover(id, { clientX: x, clientY: y }); } + +// Slow move from a rested row down to the footer: 175 ms per crossed row, which is longer than the +// 150 ms settle window. 3 px per tick keeps each restart cumulative (a real slow pointer moves a +// few px per frame, and the distance from the last counted position is what restarts the wait). +ctx.resetHover(); +moveTo("row-a", 100, 100); +advance(200); +assert.equal(ctx.hover, "row-a", "resting on a row previews it"); +["row-b", "row-c", "row-d"].forEach(function (id, i) { + for (var t = 1; t <= 7; t++) { + moveTo(id, 100 + t * 3, 144 + i * 44); + advance(25); + assert.equal(ctx.hover, "row-a", + "crossing " + id + " for " + (t * 25) + " ms never previews it: the footer keeps the rested row"); + } +}); +ctx.cancelHover(); // listEl mouseleave on the way into the footer strip +advance(500); +assert.equal(ctx.hover, "row-a", "the footer keeps the rested row's wiki link while moving into it"); + +// Hand jitter under 6 px must not push the preview back: a 1 px shake still previews on the settle +// window from the row entry. +ctx.resetHover(); +moveTo("row-a", 100, 100); +for (var j = 1; j <= 5; j++) { + advance(25); + moveTo("row-a", 100 + (j % 2), 100 + (j % 2)); + assert.equal(ctx.hover, null, "a 1 px shake inside " + (j * 25) + " ms is still waiting to settle"); +} +advance(25); // 150 ms since the row entry +assert.equal(ctx.hover, "row-a", "a 1 px shake does not postpone the preview past the settle window"); +for (var m = 0; m < 4; m++) { + advance(25); + moveTo("row-a", 100 + (m % 2), 100); + assert.equal(ctx.hover, "row-a", "a shaking pointer keeps the committed preview"); +} + +// A pointer that keeps drifting >= 6 px on one row never rests, so only the 1000 ms cap previews it. +ctx.resetHover(); +fakeNow = 0; +fakeTimers = []; +moveTo("row-a", 100, 100); +for (var k = 1; k <= 9; k++) { + advance(100); + moveTo("row-a", 100 + k * 10, 100); + assert.equal(ctx.hover, null, + "a pointer still moving " + (k * 100) + " ms in has not been previewed yet"); +} +advance(100); +assert.equal(ctx.hover, "row-a", "the 1000 ms cap previews the row even while the pointer keeps moving"); + console.log("ok"); diff --git a/resources/web/dialog/SpeedDial/style.css b/resources/web/dialog/SpeedDial/style.css index fa6686658f..83899bd2d9 100644 --- a/resources/web/dialog/SpeedDial/style.css +++ b/resources/web/dialog/SpeedDial/style.css @@ -483,8 +483,8 @@ body { text-align: center; } -/* Footer detail strip: the selected action's description, its wiki link and the expand/collapse - arrow. Auto-sizes to the content; the description is clamped to 6 lines. */ +/* Footer detail strip: the highlighted (or hovered) action's description, its wiki link and the + expand/collapse arrow. Auto-sizes to the content; the description is clamped to 6 lines. */ .dial-detail { flex: 0 0 auto; display: flex; From 2ec1a0732f2545737ab55967e27e85285e7c76eb Mon Sep 17 00:00:00 2001 From: GNUGiminot Date: Fri, 6 Nov 2026 15:35:44 +0300 Subject: [PATCH 10/26] Plugin audit: keep non-Latin path names intact in the keyword check (#16925) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 * 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 --------- Co-authored-by: GNUGiminot <215263196+GNUGiminot@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 Co-authored-by: SoftFever <103989404+SoftFever@users.noreply.github.com> --- src/slic3r/plugin/PluginAuditManager.cpp | 27 +++++--- tests/slic3rutils/test_plugin_audit.cpp | 81 ++++++++++++++++++++++++ 2 files changed, 100 insertions(+), 8 deletions(-) diff --git a/src/slic3r/plugin/PluginAuditManager.cpp b/src/slic3r/plugin/PluginAuditManager.cpp index 2c1a13b990..8291e3e9d8 100644 --- a/src/slic3r/plugin/PluginAuditManager.cpp +++ b/src/slic3r/plugin/PluginAuditManager.cpp @@ -5,7 +5,6 @@ #include "libslic3r/libslic3r.h" // GCODEVIEWER_APP_KEY, and SLIC3R_APP_KEY via libslic3r_version.h #include "libslic3r_version.h" -#include #include #include #include @@ -16,9 +15,9 @@ #include #include -#include #include #include +#include #include #include #include @@ -177,9 +176,12 @@ static bool is_network_category(AuditEventCategory category) // Network permission identity // --------------------------------------------------------------------------- +// Lowercases A-Z only. A locale-aware lowercase can break the UTF-8 of non-Latin names. static std::string ascii_lower(std::string value) { - boost::algorithm::to_lower(value); + for (char& c : value) + if (c >= 'A' && c <= 'Z') + c = static_cast(c - 'A' + 'a'); return value; } @@ -631,8 +633,7 @@ void PluginAuditManager::add_denied_path_keyword(const std::string& keyword) if (keyword.empty()) return; - std::string lower = keyword; - std::transform(lower.begin(), lower.end(), lower.begin(), [](unsigned char c) { return std::tolower(c); }); + const std::string lower = ascii_lower(keyword); std::lock_guard lock(m_mutex); m_denied_path_keywords.push_back(lower); @@ -689,10 +690,9 @@ bool PluginAuditManager::is_denied_path_keyword(const boost::filesystem::path& c return false; for (const auto& component : scope) { - std::string name = component.string(); + const std::string name = ascii_lower(component.string()); if (name.empty()) continue; - std::transform(name.begin(), name.end(), name.begin(), [](unsigned char c) { return std::tolower(c); }); for (const auto& keyword : m_denied_path_keywords) { if (name == keyword || (keyword == "conf" && has_denied_config_extension(name))) return true; @@ -1792,7 +1792,18 @@ int PluginAuditManager::audit_hook(const char* event, PyObject* args, void* user // finalizer they run re-enters a hook whose held frames are already consistent. std::vector returned_frames; PluginAuditDetail::take_returned_frames(m_root_frames, returned_frames); - const int result = PluginAuditDetail::audit_plugin_event(*mgr, event_name, event_type, args); + int result = -1; + // A C++ exception must not unwind through the interpreter that raised the event, so a check + // that throws denies the event, like an unanswered prompt. + try { + result = PluginAuditDetail::audit_plugin_event(*mgr, event_name, event_type, args); + } catch (const std::exception& error) { + BOOST_LOG_TRIVIAL(error) << "[AUDIT] event=" << event_name << " denied, its check failed: " << error.what(); + result = PluginAuditDetail::report_denied(*mgr, event_name, {false, "audit check failed"}); + } catch (...) { + BOOST_LOG_TRIVIAL(error) << "[AUDIT] event=" << event_name << " denied, its check failed"; + result = PluginAuditDetail::report_denied(*mgr, event_name, {false, "audit check failed"}); + } mgr->release_frames(returned_frames); return result; } diff --git a/tests/slic3rutils/test_plugin_audit.cpp b/tests/slic3rutils/test_plugin_audit.cpp index a257e304ea..4751d77ec4 100644 --- a/tests/slic3rutils/test_plugin_audit.cpp +++ b/tests/slic3rutils/test_plugin_audit.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include @@ -32,10 +33,13 @@ #include #include +#include #include #include #include +#include #include +#include #include #include #include @@ -301,6 +305,67 @@ TEST_CASE("Plugin audit denies secret/certificate/config-like paths by keyword", } } +namespace { + +// Converts paths as UTF-8 for the test's lifetime, as the app does from startup +// (boost::nowide::nowide_filesystem() in OrcaSlicer.cpp). +struct Utf8PathConversion +{ + std::locale previous = boost::nowide::nowide_filesystem(); + ~Utf8PathConversion() { fs::path::imbue(previous); } +}; + +// Switches the C library's character classification to a single-byte code page, as the app's UI +// language does on Windows (Russian_Russia.1251), when the system has one. +struct SingleByteCtypeLocale +{ + std::string previous; + bool applied = false; + + SingleByteCtypeLocale() + { + if (const char* current = std::setlocale(LC_CTYPE, nullptr)) + previous = current; + applied = std::setlocale(LC_CTYPE, ".1251") != nullptr; + } + ~SingleByteCtypeLocale() + { + if (applied) + std::setlocale(LC_CTYPE, previous.c_str()); + } +}; + +} // namespace + +TEST_CASE("Plugin audit keyword check keeps non-Latin path names intact", "[audit]") +{ + seed_denied_keywords(); + const PluginAuditManager& mgr = PluginAuditManager::instance(); + + // Lowering these names byte by byte in a single-byte C locale broke their UTF-8, and turning + // the result back into a path threw out of the audit hook: the plugin call never returned. + const Utf8PathConversion utf8_paths; + const SingleByteCtypeLocale ctype; + INFO("single-byte C locale in use: " << (ctype.applied ? "yes" : "no")); + + const std::string folder = "\xD0\x9D\xD0\xBE\xD0\xB2\xD0\xB0\xD1\x8F \xD0\xBF\xD0\xB0\xD0\xBF\xD0\xBA\xD0\xB0"; // "Новая папка" + const std::string part = "\xD0\xB4\xD0\xB5\xD1\x82\xD0\xB0\xD0\xBB\xD1\x8C.stl"; // "деталь.stl" + const std::string settings = "\xD0\xBD\xD0\xB0\xD1\x81\xD1\x82\xD1\x80\xD0\xBE\xD0\xB9\xD0\xBA\xD0\xB8.INI"; // "настройки.INI" + + SECTION("a path with non-Latin names is checked without an error and allowed") + { + bool denied = true; + CHECK_NOTHROW(denied = mgr.is_denied_path_keyword(fs::path("/models/" + folder + "/" + part))); + CHECK_FALSE(denied); + } + + SECTION("keywords and config files next to non-Latin names are still denied, in any case") + { + CHECK(mgr.is_denied_path_keyword(fs::path("/models/" + folder + "/CONFIG/a.stl"))); + CHECK(mgr.is_denied_path_keyword(fs::path("/models/" + folder + "/" + settings))); + } +} + TEST_CASE("Plugin audit checks denied keywords below data_dir, not in the directories above it", "[PluginAudit]") { // Flatpak keeps the app's data folder under /.var/app//config/OrcaSlicer, so @@ -867,6 +932,22 @@ TEST_CASE("A saved request grant covers the request's own connection in a later CHECK(describe(harness.prompts).empty()); } +TEST_CASE("A permission prompt that throws denies the event", "[audit][Python]") +{ + AuditHarness harness; + if (!harness.initialized) + SKIP("Bundled Python interpreter unavailable: " + PythonInterpreter::instance().last_error()); + harness.add_plugin(PLUGIN); + py::gil_scoped_acquire gil; + PythonSide python(harness); + harness.approve = [](const Prompt&) -> bool { throw std::runtime_error("prompt failed"); }; + + python.run_as(PLUGIN, "outcome = attempt(lambda: open(PRIVATE).close())"); + + CHECK(python.str("outcome") == "denied"); + CHECK(describe(harness.prompts) == "open: " + python.str("PRIVATE") + "\n"); +} + TEST_CASE("A saved request grant does not cover another URL or a redirect", "[audit][Python]") { AuditHarness harness; From 719fdcf4dd8d105cd29a990dfed829d4cbb968d5 Mon Sep 17 00:00:00 2001 From: Lam Wei Lun Date: Fri, 6 Nov 2026 21:30:38 +0800 Subject: [PATCH 11/26] 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. --- src/libslic3r/Print.cpp | 46 ++++++++++++------- src/slic3r/GUI/SequentialPrintClearance.hpp | 2 +- tests/fff_print/test_print.cpp | 46 +++++++++++++++++++ .../slic3rutils/test_sequential_clearance.cpp | 12 +++-- 4 files changed, 83 insertions(+), 23 deletions(-) diff --git a/src/libslic3r/Print.cpp b/src/libslic3r/Print.cpp index de5a132dbc..fae1cf399f 100644 --- a/src/libslic3r/Print.cpp +++ b/src/libslic3r/Print.cpp @@ -904,7 +904,9 @@ StringObjectException Print::sequential_print_clearance_valid(const Print &print const PrintInstance *print_instance; BoundingBox bounding_box; Polygon hull_polygon; - int object_index; + // Place of the instance in print.model()'s object and instance lists. Copies of one object get + // one PrintObject per distinct transformation, so print.objects() does not list them in order. + std::pair model_position; double height; // Whether the instance reaches above extruder_clearance_height_to_rod, and the Y extent of it // the rod can hit while a later instance prints (see above_rod_y_range). @@ -965,13 +967,24 @@ StringObjectException Print::sequential_print_clearance_valid(const Print &print } return any; }; - auto find_object_index = [](const Model& model, const ModelObject* obj) { - for (int index = 0; index < model.objects.size(); index++) - { - if (model.objects[index] == obj) - return index; - } - return -1; + // Place of an instance in print.model()'s object and instance lists, which is the order the user + // sees in the object list. print.objects() groups the copies of one object by transformation, so + // it cannot be used for this. + auto model_position_of = [](const Model &model, const ModelInstance *instance) { + const ModelObject *object = instance->get_object(); + int object_index = -1; + for (int index = 0; index < int(model.objects.size()); index++) + if (model.objects[index] == object) { + object_index = index; + break; + } + int instance_index = -1; + for (int index = 0; index < int(object->instances.size()); index++) + if (object->instances[index] == instance) { + instance_index = index; + break; + } + return std::make_pair(object_index, instance_index); }; auto [object_skirt_offset, _] = print.object_skirt_offset(); @@ -1056,7 +1069,7 @@ StringObjectException Print::sequential_print_clearance_valid(const Print &print } struct print_instance_info print_info {&instance, convex_hull.bounding_box(), convex_hull}; print_info.height = instance.print_object->height(); - print_info.object_index = find_object_index(print.model(), print_object->model_object()); + print_info.model_position = model_position_of(print.model(), instance.model_instance); print_info.has_above_rod = above_rod_y_range(instance, print_info.rod_min_y, print_info.rod_max_y); const BoundingBox footprint = print_info.bounding_box.inflated(-scale_(0.5 * print.config().extruder_clearance_radius.value + object_skirt_offset)); if (print_info.has_above_rod && !skirt_reaches_rod) { @@ -1098,16 +1111,15 @@ StringObjectException Print::sequential_print_clearance_valid(const Print &print { const size_t n = print_instance_with_bounding_box.size(); - auto by_object_index = [&](size_t l, size_t r) { - return print_instance_with_bounding_box[l].object_index < print_instance_with_bounding_box[r].object_index; - }; - + // Order by place in the model's object and instance lists. Copies of one object share an object + // index, and print.objects() lists them grouped by transformation, so the instance index is what + // keeps them in their list order. No key repeats, so the sort does not depend on being stable. std::vector fallback_order(n); for (size_t i = 0; i < n; ++i) fallback_order[i] = i; - std::stable_sort(fallback_order.begin(), fallback_order.end(), by_object_index); + std::sort(fallback_order.begin(), fallback_order.end(), [&](size_t l, size_t r) { + return print_instance_with_bounding_box[l].model_position < print_instance_with_bounding_box[r].model_position; + }); - // Every instance of an object shares its object_index, so order by place in the list instead, - // which tells instances apart and keeps copies of one object in their list order. std::vector list_position(n); for (size_t k = 0; k < n; ++k) list_position[fallback_order[k]] = k; @@ -1225,7 +1237,7 @@ StringObjectException Print::sequential_print_clearance_valid(const Print &print for (auto &inst : print_instance_with_bounding_box) BOOST_LOG_TRIVIAL(debug) << "after sequential-print ordering, print_instance " << inst.print_instance->model_instance->get_object()->name - << ", object_index: " << inst.object_index + << ", model_position: " << inst.model_position.first << "/" << inst.model_position.second << ", height: " << inst.height << (solved ? " [reordered for clearance]" : " [object-list order]"); } diff --git a/src/slic3r/GUI/SequentialPrintClearance.hpp b/src/slic3r/GUI/SequentialPrintClearance.hpp index 0f5d79be9c..d41f2579d2 100644 --- a/src/slic3r/GUI/SequentialPrintClearance.hpp +++ b/src/slic3r/GUI/SequentialPrintClearance.hpp @@ -20,7 +20,7 @@ struct SequentialClearanceInstance ObjectID instance_id; }; -// PrintApply may group rotated copies in a different order from ModelObject::instances. +// Print validation may order the instances of an object differently from ModelObject::instances. // Reorder one object's instances only when validation has assigned all of them an order. inline void sort_sequential_clearance_instances( std::vector::iterator first, std::vector::iterator last, diff --git a/tests/fff_print/test_print.cpp b/tests/fff_print/test_print.cpp index 2cc95e9ba5..18c26c41ea 100644 --- a/tests/fff_print/test_print.cpp +++ b/tests/fff_print/test_print.cpp @@ -1294,6 +1294,52 @@ TEST_CASE("Sequential printing keeps copies of one object in their list order", [](const ModelInstance *l, const ModelInstance *r) { return l->arrange_order < r->arrange_order; })); } +TEST_CASE("Sequential printing keeps rotated copies of one object in their list order", "[Print]") +{ + // Copies of one object that differ in rotation get one PrintObject each, and print.objects() lists + // those groups by transformation. Ordering by the object index alone therefore follows that + // grouping instead of the object list, and every second copy here prints out of place. + // The mesh is centred on the object origin, so the rotation turns the footprint in place instead + // of moving it, and the grid spacing below stays clear of the clearance radius. + TriangleMesh cube = make_cube(5, 5, 2); + cube.translate(-2.5f, -2.5f, 0.f); + std::vector meshes; + meshes.push_back(std::move(cube)); + DynamicPrintConfig config = DynamicPrintConfig::full_print_config(); + config.set_deserialize_strict({ + { "print_sequence", "by object" }, + { "skirt_loops", 0 }, + { "layer_change_gcode", "G92 E0\n" } // validate() relative-E reset + }); + Print print; + Model model; + Test::init_print(std::move(meshes), print, model, config, nullptr, /*arrange=*/false, /*instances=*/200); + const ModelInstancePtrs &instances = model.objects.front()->instances; + for (size_t k = 0; k < instances.size(); ++k) { + instances[k]->set_offset(Vec3d(10. + 12. * double(k % 15), 10. + 12. * double(k / 15), instances[k]->get_offset().z())); + if (k % 2 != 0) + instances[k]->set_rotation(Vec3d(0., 0., PI / 2)); + } + print.apply(model, config); + + std::vector warnings; + const StringObjectException error = print.validate(&warnings); + INFO(error.string); + REQUIRE(error.string.empty()); + CHECK(find_order_warning(warnings) == nullptr); + + // validate() numbered the instances it ordered; the copies must be numbered in list order. + const ModelInstancePtrs &copies = print.model().objects.front()->instances; + for (size_t k = 0; k < copies.size(); ++k) + REQUIRE(copies[k]->arrange_order == int(k + 1)); + + // The G-code export orders the instances from those numbers. + const std::vector ordered = sort_object_instances_by_model_order(print); + REQUIRE(ordered.size() == copies.size()); + for (size_t k = 0; k < copies.size(); ++k) + REQUIRE(ordered[k]->model_instance == copies[k]); +} + TEST_CASE("Sequential printing still lets objects below the rod use the rod height when the lid is lower", "[Print]") { // Some stock profiles put the lid below the rod, such as the Creality Ender-3 V3 KE (lid 34 mm, diff --git a/tests/slic3rutils/test_sequential_clearance.cpp b/tests/slic3rutils/test_sequential_clearance.cpp index eebf1f704e..8fd3134bd6 100644 --- a/tests/slic3rutils/test_sequential_clearance.cpp +++ b/tests/slic3rutils/test_sequential_clearance.cpp @@ -83,7 +83,7 @@ TEST_CASE("Sequential clearance allows the last object up to printable height", CHECK_THAT(warnings.front().second, WithinAbs(200., 1e-6)); } -TEST_CASE("Sequential clearance warns the same rotated copy as print validation", "[SequentialClearance][Regression]") +TEST_CASE("Sequential clearance warns the same copy as print validation", "[SequentialClearance][Regression]") { constexpr double rod_height = 10.; constexpr double lid_height = 30.; @@ -116,15 +116,17 @@ TEST_CASE("Sequential clearance warns the same rotated copy as print validation" Slic3r::Polygon hull = object->convex_hull_2d(object->instances[i]->get_matrix()); instances.push_back({object->get_instance_max_z(i), hull.bounding_box(), hull, object->instances[i]->id()}); } - const Slic3r::Polygon expected_warning = instances[1].hull_polygon; + // Copies print in object-list order, so the first copy is the one held to the rod height: the later + // copy shares its Y band. Print validation warns about that copy, and the clearance preview must + // warn about the same one. REQUIRE(validation_warnings.size() == 1); - CHECK(validation_warnings.front().first.bounding_box().contains(instances[1].bounding_box.center())); - CHECK_FALSE(validation_warnings.front().first.bounding_box().contains(instances[0].bounding_box.center())); + CHECK(validation_warnings.front().first.bounding_box().contains(instances[0].bounding_box.center())); + CHECK_FALSE(validation_warnings.front().first.bounding_box().contains(instances[1].bounding_box.center())); sort_sequential_clearance_instances(instances.begin(), instances.end(), print_order); const auto warnings = sequential_clearance_height_polygons(instances, printable_height, lid_height, rod_height); REQUIRE(warnings.size() == 1); - CHECK(warnings.front().first == expected_warning); + CHECK(warnings.front().first == instances[0].hull_polygon); CHECK_THAT(warnings.front().second, WithinAbs(rod_height, 1e-6)); } From 7374b734d34343743b673f53e40690734381a274 Mon Sep 17 00:00:00 2001 From: sirjassam <138832410+sirjassam@users.noreply.github.com> Date: Fri, 6 Nov 2026 12:12:55 -0300 Subject: [PATCH 12/26] Add PrintaLot PETG profiles for Bambu Lab printers (#17029) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com> --- resources/profiles/OrcaFilamentLibrary.json | 100 ++++++++++++++++ .../PrintaLot PETG @BBL A1 0.2 nozzle.json | 20 ++++ .../Printalot/BBL/PrintaLot PETG @BBL A1.json | 19 +++ .../PrintaLot PETG @BBL A1M 0.2 nozzle.json | 32 ++++++ .../BBL/PrintaLot PETG @BBL A1M.json | 31 +++++ .../PrintaLot PETG @BBL A2L 0.2 nozzle.json | 38 ++++++ .../BBL/PrintaLot PETG @BBL A2L.json | 34 ++++++ .../PrintaLot PETG @BBL H2C 0.2 nozzle.json | 69 +++++++++++ .../PrintaLot PETG @BBL H2C 0.4 nozzle.json | 91 +++++++++++++++ .../BBL/PrintaLot PETG @BBL H2C.json | 92 +++++++++++++++ .../PrintaLot PETG @BBL H2D 0.2 nozzle.json | 38 ++++++ .../BBL/PrintaLot PETG @BBL H2D.json | 38 ++++++ .../PrintaLot PETG @BBL H2DP 0.2 nozzle.json | 38 ++++++ .../BBL/PrintaLot PETG @BBL H2DP.json | 36 ++++++ .../PrintaLot PETG @BBL H2S 0.2 nozzle.json | 38 ++++++ .../BBL/PrintaLot PETG @BBL H2S.json | 53 +++++++++ .../PrintaLot PETG @BBL P1P 0.2 nozzle.json | 26 +++++ .../BBL/PrintaLot PETG @BBL P1P.json | 24 ++++ .../PrintaLot PETG @BBL P2S 0.2 nozzle.json | 35 ++++++ .../BBL/PrintaLot PETG @BBL P2S.json | 30 +++++ .../PrintaLot PETG @BBL X1C 0.2 nozzle.json | 35 ++++++ .../BBL/PrintaLot PETG @BBL X1C.json | 40 +++++++ .../PrintaLot PETG @BBL X2D 0.2 nozzle.json | 59 ++++++++++ .../PrintaLot PETG @BBL X2D 0.4 nozzle.json | 53 +++++++++ .../BBL/PrintaLot PETG @BBL X2D.json | 54 +++++++++ .../Printalot/PrintaLot PETG @base.json | 108 ++++++++++++++++++ 26 files changed, 1231 insertions(+) create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1 0.2 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1M 0.2 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1M.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A2L 0.2 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A2L.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C 0.2 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C 0.4 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2D 0.2 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2D.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2DP 0.2 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2DP.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2S 0.2 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2S.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P1P 0.2 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P1P.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P2S 0.2 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P2S.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X1C 0.2 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X1C.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D 0.2 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D 0.4 nozzle.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D.json create mode 100644 resources/profiles/OrcaFilamentLibrary/filament/Printalot/PrintaLot PETG @base.json diff --git a/resources/profiles/OrcaFilamentLibrary.json b/resources/profiles/OrcaFilamentLibrary.json index b69d2278b9..be709fb1cb 100644 --- a/resources/profiles/OrcaFilamentLibrary.json +++ b/resources/profiles/OrcaFilamentLibrary.json @@ -624,6 +624,10 @@ "name": "PolyLite PETG @base", "sub_path": "filament/Polymaker/PolyLite PETG @base.json" }, + { + "name": "PrintaLot PETG @base", + "sub_path": "filament/Printalot/PrintaLot PETG @base.json" + }, { "name": "SUNLU PETG @base", "sub_path": "filament/SUNLU/SUNLU PETG @base.json" @@ -2380,6 +2384,102 @@ "name": "PolyLite PETG @System", "sub_path": "filament/Polymaker/PolyLite PETG @System.json" }, + { + "name": "PrintaLot PETG @BBL A1", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL A1.json" + }, + { + "name": "PrintaLot PETG @BBL A1 0.2 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL A1 0.2 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL A1M", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL A1M.json" + }, + { + "name": "PrintaLot PETG @BBL A1M 0.2 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL A1M 0.2 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL A2L", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL A2L.json" + }, + { + "name": "PrintaLot PETG @BBL A2L 0.2 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL A2L 0.2 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL H2C", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL H2C.json" + }, + { + "name": "PrintaLot PETG @BBL H2C 0.2 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL H2C 0.2 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL H2C 0.4 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL H2C 0.4 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL H2D", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL H2D.json" + }, + { + "name": "PrintaLot PETG @BBL H2D 0.2 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL H2D 0.2 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL H2DP", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL H2DP.json" + }, + { + "name": "PrintaLot PETG @BBL H2DP 0.2 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL H2DP 0.2 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL H2S", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL H2S.json" + }, + { + "name": "PrintaLot PETG @BBL H2S 0.2 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL H2S 0.2 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL P1P", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL P1P.json" + }, + { + "name": "PrintaLot PETG @BBL P1P 0.2 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL P1P 0.2 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL P2S", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL P2S.json" + }, + { + "name": "PrintaLot PETG @BBL P2S 0.2 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL P2S 0.2 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL X1C", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL X1C.json" + }, + { + "name": "PrintaLot PETG @BBL X1C 0.2 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL X1C 0.2 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL X2D", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL X2D.json" + }, + { + "name": "PrintaLot PETG @BBL X2D 0.2 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL X2D 0.2 nozzle.json" + }, + { + "name": "PrintaLot PETG @BBL X2D 0.4 nozzle", + "sub_path": "filament/Printalot/BBL/PrintaLot PETG @BBL X2D 0.4 nozzle.json" + }, { "name": "SUNLU PETG @System", "sub_path": "filament/SUNLU/SUNLU PETG @System.json" diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1 0.2 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1 0.2 nozzle.json new file mode 100644 index 0000000000..1032eaeea4 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1 0.2 nozzle.json @@ -0,0 +1,20 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL A1 0.2 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "smRokPsvFiFil56L", + "instantiation": "true", + "filament_cooling_before_tower": [ + "0" + ], + "filament_max_volumetric_speed": [ + "1" + ], + "filament_start_gcode": [ + "; filament start gcode\n{if (bed_temperature[current_extruder] >80)||(bed_temperature_initial_layer[current_extruder] >80)}M106 P3 S255\n{elsif (bed_temperature[current_extruder] >60)||(bed_temperature_initial_layer[current_extruder] >60)}M106 P3 S180\n{endif}\n\n{if activate_air_filtration[current_extruder] && support_air_filtration}\nM106 P3 S{during_print_exhaust_fan_speed_num[current_extruder]} \n{endif}" + ], + "compatible_printers": [ + "Bambu Lab A1 0.2 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1.json new file mode 100644 index 0000000000..f978fc7c67 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1.json @@ -0,0 +1,19 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL A1", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "VkGo74eLAYYURWxi", + "instantiation": "true", + "filament_cooling_before_tower": [ + "0" + ], + "filament_start_gcode": [ + "; filament start gcode\n{if (bed_temperature[current_extruder] >80)||(bed_temperature_initial_layer[current_extruder] >80)}M106 P3 S255\n{elsif (bed_temperature[current_extruder] >60)||(bed_temperature_initial_layer[current_extruder] >60)}M106 P3 S180\n{endif}\n\n{if activate_air_filtration[current_extruder] && support_air_filtration}\nM106 P3 S{during_print_exhaust_fan_speed_num[current_extruder]} \n{endif}" + ], + "compatible_printers": [ + "Bambu Lab A1 0.4 nozzle", + "Bambu Lab A1 0.6 nozzle", + "Bambu Lab A1 0.8 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1M 0.2 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1M 0.2 nozzle.json new file mode 100644 index 0000000000..80ac81a42a --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1M 0.2 nozzle.json @@ -0,0 +1,32 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL A1M 0.2 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "3dmiQWwrnWDygqFb", + "instantiation": "true", + "filament_cooling_before_tower": [ + "0" + ], + "filament_max_volumetric_speed": [ + "1" + ], + "filament_start_gcode": [ + "; filament start gcode\n{if (bed_temperature[current_extruder] >80)||(bed_temperature_initial_layer[current_extruder] >80)}M106 P3 S255\n{elsif (bed_temperature[current_extruder] >60)||(bed_temperature_initial_layer[current_extruder] >60)}M106 P3 S180\n{endif}\n\n{if activate_air_filtration[current_extruder] && support_air_filtration}\nM106 P3 S{during_print_exhaust_fan_speed_num[current_extruder]} \n{endif}" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab A1 mini 0.2 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1M.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1M.json new file mode 100644 index 0000000000..0383a9a040 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A1M.json @@ -0,0 +1,31 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL A1M", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "M0oB2UbjXssl38HD", + "instantiation": "true", + "filament_cooling_before_tower": [ + "0" + ], + "filament_start_gcode": [ + "; filament start gcode\n{if (bed_temperature[current_extruder] >80)||(bed_temperature_initial_layer[current_extruder] >80)}M106 P3 S255\n{elsif (bed_temperature[current_extruder] >60)||(bed_temperature_initial_layer[current_extruder] >60)}M106 P3 S180\n{endif}\n\n{if activate_air_filtration[current_extruder] && support_air_filtration}\nM106 P3 S{during_print_exhaust_fan_speed_num[current_extruder]} \n{endif}" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab A1 mini 0.4 nozzle", + "Bambu Lab A1 mini 0.6 nozzle", + "Bambu Lab A1 mini 0.8 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A2L 0.2 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A2L 0.2 nozzle.json new file mode 100644 index 0000000000..692a4f084a --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A2L 0.2 nozzle.json @@ -0,0 +1,38 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL A2L 0.2 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "MtkE27oUyjPkTWue", + "instantiation": "true", + "filament_cooling_before_tower": [ + "0" + ], + "filament_flush_temp_fast": [ + "255" + ], + "filament_max_volumetric_speed": [ + "1" + ], + "filament_start_gcode": [ + "" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "slow_down_min_speed": [ + "40" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab A2L 0.2 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A2L.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A2L.json new file mode 100644 index 0000000000..efca157a9e --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL A2L.json @@ -0,0 +1,34 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL A2L", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "29nc0NTP57d7gnNu", + "instantiation": "true", + "filament_cooling_before_tower": [ + "0" + ], + "filament_flush_temp_fast": [ + "255" + ], + "filament_start_gcode": [ + "" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab A2L 0.4 nozzle", + "Bambu Lab A2L 0.6 nozzle", + "Bambu Lab A2L 0.8 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C 0.2 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C 0.2 nozzle.json new file mode 100644 index 0000000000..997c08a28c --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C 0.2 nozzle.json @@ -0,0 +1,69 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL H2C 0.2 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "HsxTrwsTuhE9R6oe", + "instantiation": "true", + "filament_change_length": [ + "4" + ], + "filament_change_length_nc": [ + "4" + ], + "filament_end_gcode": [ + "; filament end gcode \n" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow" + ], + "filament_max_volumetric_speed": [ + "1", + "1" + ], + "filament_pre_cooling_temperature_nc": [ + "215", + "215" + ], + "filament_preheat_temperature_delta": [ + "20", + "20" + ], + "filament_prime_volume": [ + "30" + ], + "filament_prime_volume_nc": [ + "30" + ], + "filament_ramming_travel_time_nc": [ + "1", + "1" + ], + "filament_retract_length_nc": [ + "18", + "18" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "long_retractions_when_ec": [ + "1", + "1" + ], + "temperature_vitrification": [ + "60" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab H2C 0.2 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C 0.4 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C 0.4 nozzle.json new file mode 100644 index 0000000000..b5eaaff977 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C 0.4 nozzle.json @@ -0,0 +1,91 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL H2C 0.4 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "9JPt3FQ2LLa209oc", + "instantiation": "true", + "filament_change_length": [ + "4" + ], + "filament_change_length_nc": [ + "4" + ], + "filament_end_gcode": [ + "; filament end gcode \n" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow", + "Direct Drive E3D High Flow" + ], + "filament_pre_cooling_temperature_nc": [ + "215", + "215", + "215" + ], + "filament_preheat_temperature_delta": [ + "20", + "20", + "20" + ], + "filament_prime_volume": [ + "30" + ], + "filament_prime_volume_nc": [ + "30" + ], + "filament_ramming_travel_time_nc": [ + "1", + "1", + "1" + ], + "filament_retract_length_nc": [ + "18", + "18", + "18" + ], + "filament_retraction_length": [ + "0.4", + "0.4", + "0.4" + ], + "filament_wipe": [ + "1", + "1", + "1" + ], + "filament_wipe_distance": [ + "1", + "1", + "1" + ], + "filament_z_hop_types": [ + "Spiral Lift", + "Spiral Lift", + "Spiral Lift" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "long_retractions_when_ec": [ + "1", + "1", + "1" + ], + "temperature_vitrification": [ + "60" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab H2C 0.4 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C.json new file mode 100644 index 0000000000..43b731e588 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2C.json @@ -0,0 +1,92 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL H2C", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "rDD48GF9jcvkNh35", + "instantiation": "true", + "filament_change_length": [ + "4" + ], + "filament_change_length_nc": [ + "4" + ], + "filament_end_gcode": [ + "; filament end gcode \n" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow", + "Direct Drive E3D High Flow" + ], + "filament_pre_cooling_temperature_nc": [ + "215", + "215", + "215" + ], + "filament_preheat_temperature_delta": [ + "20", + "20", + "20" + ], + "filament_prime_volume": [ + "30" + ], + "filament_prime_volume_nc": [ + "30" + ], + "filament_ramming_travel_time_nc": [ + "1", + "1", + "1" + ], + "filament_retract_length_nc": [ + "18", + "18", + "18" + ], + "filament_retraction_length": [ + "0.4", + "0.4", + "0.4" + ], + "filament_wipe": [ + "1", + "1", + "1" + ], + "filament_wipe_distance": [ + "1", + "1", + "1" + ], + "filament_z_hop_types": [ + "Spiral Lift", + "Spiral Lift", + "Spiral Lift" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "long_retractions_when_ec": [ + "1", + "1", + "1" + ], + "temperature_vitrification": [ + "60" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab H2C 0.6 nozzle", + "Bambu Lab H2C 0.8 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2D 0.2 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2D 0.2 nozzle.json new file mode 100644 index 0000000000..2e55991385 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2D 0.2 nozzle.json @@ -0,0 +1,38 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL H2D 0.2 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "PfVLHosd6CKOYOj9", + "instantiation": "true", + "filament_end_gcode": [ + "; filament end gcode \n" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow" + ], + "filament_max_volumetric_speed": [ + "1", + "1" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "long_retractions_when_ec": [ + "1", + "1" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab H2D 0.2 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2D.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2D.json new file mode 100644 index 0000000000..19b1b19846 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2D.json @@ -0,0 +1,38 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL H2D", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "34ZyLUxTOUPX3iMa", + "instantiation": "true", + "filament_end_gcode": [ + "; filament end gcode \n" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow", + "Direct Drive E3D High Flow" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "long_retractions_when_ec": [ + "1", + "1", + "1" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab H2D 0.4 nozzle", + "Bambu Lab H2D 0.6 nozzle", + "Bambu Lab H2D 0.8 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2DP 0.2 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2DP 0.2 nozzle.json new file mode 100644 index 0000000000..c93f79fe9d --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2DP 0.2 nozzle.json @@ -0,0 +1,38 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL H2DP 0.2 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "p8bEDgiBLMlYP8vG", + "instantiation": "true", + "filament_end_gcode": [ + "; filament end gcode \n" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow" + ], + "filament_max_volumetric_speed": [ + "1", + "1" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "long_retractions_when_ec": [ + "1", + "1" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab H2D Pro 0.2 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2DP.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2DP.json new file mode 100644 index 0000000000..e2e173eb7b --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2DP.json @@ -0,0 +1,36 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL H2DP", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "VQiE7XlWM120KXZg", + "instantiation": "true", + "filament_end_gcode": [ + "; filament end gcode \n" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "long_retractions_when_ec": [ + "1", + "1" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab H2D Pro 0.4 nozzle", + "Bambu Lab H2D Pro 0.6 nozzle", + "Bambu Lab H2D Pro 0.8 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2S 0.2 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2S 0.2 nozzle.json new file mode 100644 index 0000000000..84f6bd18d9 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2S 0.2 nozzle.json @@ -0,0 +1,38 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL H2S 0.2 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "PJT6m3qV91TkITPz", + "instantiation": "true", + "filament_end_gcode": [ + "; filament end gcode \n" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow" + ], + "filament_flush_volumetric_speed": [ + "3", + "3" + ], + "filament_max_volumetric_speed": [ + "1", + "1" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab H2S 0.2 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2S.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2S.json new file mode 100644 index 0000000000..b210c36dbc --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL H2S.json @@ -0,0 +1,53 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL H2S", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "RYvlbbgaUvI7xKQ6", + "instantiation": "true", + "filament_end_gcode": [ + "; filament end gcode \n" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow", + "Direct Drive E3D High Flow" + ], + "filament_retraction_length": [ + "0.4", + "0.4", + "0.4" + ], + "filament_wipe": [ + "1", + "1", + "1" + ], + "filament_wipe_distance": [ + "1", + "1", + "1" + ], + "filament_z_hop_types": [ + "Spiral Lift", + "Spiral Lift", + "Spiral Lift" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab H2S 0.4 nozzle", + "Bambu Lab H2S 0.6 nozzle", + "Bambu Lab H2S 0.8 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P1P 0.2 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P1P 0.2 nozzle.json new file mode 100644 index 0000000000..b7f03ca013 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P1P 0.2 nozzle.json @@ -0,0 +1,26 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL P1P 0.2 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "jX4qpRAvPnkEUXbg", + "instantiation": "true", + "filament_cooling_before_tower": [ + "0", + "0" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow" + ], + "filament_max_volumetric_speed": [ + "1", + "1" + ], + "filament_start_gcode": [ + "; filament start gcode\n{if (bed_temperature[current_extruder] >80)||(bed_temperature_initial_layer[current_extruder] >80)}M106 P3 S255\n{elsif (bed_temperature[current_extruder] >60)||(bed_temperature_initial_layer[current_extruder] >60)}M106 P3 S180\n{endif}\n\n{if activate_air_filtration[current_extruder] && support_air_filtration}\nM106 P3 S{during_print_exhaust_fan_speed_num[current_extruder]} \n{endif}" + ], + "compatible_printers": [ + "Bambu Lab P1P 0.2 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P1P.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P1P.json new file mode 100644 index 0000000000..297678f454 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P1P.json @@ -0,0 +1,24 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL P1P", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "0mYuicnArEpff7U9", + "instantiation": "true", + "filament_cooling_before_tower": [ + "0", + "0" + ], + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow" + ], + "filament_start_gcode": [ + "; filament start gcode\n{if (bed_temperature[current_extruder] >80)||(bed_temperature_initial_layer[current_extruder] >80)}M106 P3 S255\n{elsif (bed_temperature[current_extruder] >60)||(bed_temperature_initial_layer[current_extruder] >60)}M106 P3 S180\n{endif}\n\n{if activate_air_filtration[current_extruder] && support_air_filtration}\nM106 P3 S{during_print_exhaust_fan_speed_num[current_extruder]} \n{endif}" + ], + "compatible_printers": [ + "Bambu Lab P1P 0.4 nozzle", + "Bambu Lab P1P 0.6 nozzle", + "Bambu Lab P1P 0.8 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P2S 0.2 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P2S 0.2 nozzle.json new file mode 100644 index 0000000000..c83f30d555 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P2S 0.2 nozzle.json @@ -0,0 +1,35 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL P2S 0.2 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "r48auBZKFziukKKO", + "instantiation": "true", + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow" + ], + "filament_flush_volumetric_speed": [ + "3", + "3" + ], + "filament_max_volumetric_speed": [ + "1", + "1" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.2 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P2S.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P2S.json new file mode 100644 index 0000000000..fdec83e9cf --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL P2S.json @@ -0,0 +1,30 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL P2S", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "pyyQNOoxLVj6scbF", + "instantiation": "true", + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow", + "Direct Drive E3D High Flow" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab P2S 0.4 nozzle", + "Bambu Lab P2S 0.6 nozzle", + "Bambu Lab P2S 0.8 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X1C 0.2 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X1C 0.2 nozzle.json new file mode 100644 index 0000000000..adc71e92f4 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X1C 0.2 nozzle.json @@ -0,0 +1,35 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL X1C 0.2 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "OHUMbW65moH56i1G", + "instantiation": "true", + "filament_cooling_before_tower": [ + "0" + ], + "filament_max_volumetric_speed": [ + "1" + ], + "filament_start_gcode": [ + "; filament start gcode\n{if (bed_temperature[current_extruder] >80)||(bed_temperature_initial_layer[current_extruder] >80)}M106 P3 S255\n{elsif (bed_temperature[current_extruder] >60)||(bed_temperature_initial_layer[current_extruder] >60)}M106 P3 S180\n{endif}\n\n{if activate_air_filtration[current_extruder] && support_air_filtration}\nM106 P3 S{during_print_exhaust_fan_speed_num[current_extruder]} \n{endif}" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab X1 Carbon 0.2 nozzle", + "Bambu Lab X1 0.2 nozzle", + "Bambu Lab P1S 0.2 nozzle", + "Bambu Lab X1E 0.2 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X1C.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X1C.json new file mode 100644 index 0000000000..6df75d9542 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X1C.json @@ -0,0 +1,40 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL X1C", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "uu69d7Zr4P96J1kL", + "instantiation": "true", + "filament_cooling_before_tower": [ + "0" + ], + "filament_start_gcode": [ + "; filament start gcode\n{if (bed_temperature[current_extruder] >80)||(bed_temperature_initial_layer[current_extruder] >80)}M106 P3 S255\n{elsif (bed_temperature[current_extruder] >60)||(bed_temperature_initial_layer[current_extruder] >60)}M106 P3 S180\n{endif}\n\n{if activate_air_filtration[current_extruder] && support_air_filtration}\nM106 P3 S{during_print_exhaust_fan_speed_num[current_extruder]} \n{endif}" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab X1 Carbon 0.4 nozzle", + "Bambu Lab X1 0.4 nozzle", + "Bambu Lab X1 Carbon 0.6 nozzle", + "Bambu Lab X1 Carbon 0.8 nozzle", + "Bambu Lab X1 0.6 nozzle", + "Bambu Lab X1 0.8 nozzle", + "Bambu Lab P1S 0.4 nozzle", + "Bambu Lab P1S 0.6 nozzle", + "Bambu Lab P1S 0.8 nozzle", + "Bambu Lab X1E 0.4 nozzle", + "Bambu Lab X1E 0.6 nozzle", + "Bambu Lab X1E 0.8 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D 0.2 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D 0.2 nozzle.json new file mode 100644 index 0000000000..83fb3363fb --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D 0.2 nozzle.json @@ -0,0 +1,59 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL X2D 0.2 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "I998kWd5XwKZznv8", + "instantiation": "true", + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow", + "Bowden Standard", + "Bowden High Flow" + ], + "filament_flush_volumetric_speed": [ + "3", + "3", + "3", + "3" + ], + "filament_max_volumetric_speed": [ + "1", + "1", + "1", + "1" + ], + "filament_tower_interface_print_temp": [ + "255" + ], + "first_x_layer_fan_speed": [ + "40" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "long_retractions_when_ec": [ + "1", + "1", + "1", + "1" + ], + "retraction_distances_when_ec": [ + "3", + "3", + "4", + "4" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab X2D 0.2 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D 0.4 nozzle.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D 0.4 nozzle.json new file mode 100644 index 0000000000..5059bae640 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D 0.4 nozzle.json @@ -0,0 +1,53 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL X2D 0.4 nozzle", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "437fn5z3L80cGHkX", + "instantiation": "true", + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow", + "Direct Drive E3D High Flow", + "Bowden Standard", + "Bowden High Flow", + "Bowden E3D High Flow" + ], + "filament_tower_interface_print_temp": [ + "255" + ], + "first_x_layer_fan_speed": [ + "40" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "long_retractions_when_ec": [ + "1", + "1", + "1", + "1", + "1", + "1" + ], + "retraction_distances_when_ec": [ + "3", + "3", + "3", + "4", + "4", + "4" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab X2D 0.4 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D.json new file mode 100644 index 0000000000..1bcbedf183 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/BBL/PrintaLot PETG @BBL X2D.json @@ -0,0 +1,54 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @BBL X2D", + "inherits": "PrintaLot PETG @base", + "from": "system", + "setting_id": "wUBn4zb42Lb2ylAt", + "instantiation": "true", + "filament_extruder_variant": [ + "Direct Drive Standard", + "Direct Drive High Flow", + "Direct Drive E3D High Flow", + "Bowden Standard", + "Bowden High Flow", + "Bowden E3D High Flow" + ], + "filament_tower_interface_print_temp": [ + "255" + ], + "first_x_layer_fan_speed": [ + "40" + ], + "hot_plate_temp": [ + "70" + ], + "hot_plate_temp_initial_layer": [ + "70" + ], + "long_retractions_when_ec": [ + "1", + "1", + "1", + "1", + "1", + "1" + ], + "retraction_distances_when_ec": [ + "3", + "3", + "3", + "4", + "4", + "4" + ], + "textured_plate_temp": [ + "70" + ], + "textured_plate_temp_initial_layer": [ + "70" + ], + "compatible_printers": [ + "Bambu Lab X2D 0.6 nozzle", + "Bambu Lab X2D 0.8 nozzle" + ] +} diff --git a/resources/profiles/OrcaFilamentLibrary/filament/Printalot/PrintaLot PETG @base.json b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/PrintaLot PETG @base.json new file mode 100644 index 0000000000..8f61b11e44 --- /dev/null +++ b/resources/profiles/OrcaFilamentLibrary/filament/Printalot/PrintaLot PETG @base.json @@ -0,0 +1,108 @@ +{ + "type": "filament", + "name": "PrintaLot PETG @base", + "inherits": "fdm_filament_pet", + "from": "system", + "filament_id": "OFdndO9v", + "instantiation": "false", + "close_additional_fan_first_x_layers": [ + "3" + ], + "cool_plate_temp": [ + "0" + ], + "cool_plate_temp_initial_layer": [ + "0" + ], + "eng_plate_temp": [ + "70" + ], + "eng_plate_temp_initial_layer": [ + "70" + ], + "fan_cooling_layer_time": [ + "30" + ], + "fan_max_speed": [ + "90" + ], + "fan_min_speed": [ + "40" + ], + "filament_adhesiveness_category": [ + "300" + ], + "filament_dev_ams_drying_ams_limitations": [ + "1", + "0" + ], + "filament_dev_ams_drying_heat_distortion_temperature": [ + "75" + ], + "filament_dev_ams_drying_temperature": [ + "65", + "65", + "55", + "55" + ], + "filament_dev_ams_drying_time": [ + "12", + "12", + "12", + "12" + ], + "filament_dev_chamber_drying_bed_temperature": [ + "80" + ], + "filament_dev_chamber_drying_time": [ + "12.0" + ], + "filament_dev_drying_cooling_temperature": [ + "55" + ], + "filament_dev_drying_softening_temperature": [ + "60" + ], + "filament_end_gcode": [ + "; filament end gcode \n\n" + ], + "filament_flow_ratio": [ + "0.95" + ], + "filament_max_volumetric_speed": [ + "17" + ], + "filament_notes": [ + "PrintaLot PETG, 1.75 mm." + ], + "filament_start_gcode": [ + "; filament start gcode\n" + ], + "filament_type": [ + "PETG" + ], + "filament_vendor": [ + "PrintaLot" + ], + "nozzle_temperature": [ + "255" + ], + "nozzle_temperature_initial_layer": [ + "255" + ], + "nozzle_temperature_range_high": [ + "270" + ], + "overhang_fan_speed": [ + "90" + ], + "overhang_fan_threshold": [ + "10%" + ], + "slow_down_layer_time": [ + "12" + ], + "slow_down_min_speed": [ + "20" + ] +} From 1f7e195d88c9bba191f5ebcea4e996a67fd38f69 Mon Sep 17 00:00:00 2001 From: Thalis Antunes Date: Fri, 6 Nov 2026 12:14:03 -0300 Subject: [PATCH 13/26] 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. --- resources/profiles/Sovol.json | 18 ++- .../filament/Generic ABS @Sovol SV08 MAX.json | 4 +- .../filament/Generic PC @Sovol SV08 MAX.json | 4 +- .../Generic PETG @Sovol SV08 MAX.json | 4 +- .../filament/Generic PLA @Sovol SV08 MAX.json | 4 +- .../Generic PLA Silk @Sovol SV08 MAX.json | 4 +- .../filament/Generic TPU @Sovol SV08 MAX.json | 4 +- .../Polymaker PETG @Sovol SV08 MAX.json | 4 +- .../filament/SUNLU PETG @Sovol SV08 MAX.json | 4 +- .../machine/Sovol SV08 MAX 0.2 nozzle.json | 141 +++++++++++++++++ .../machine/Sovol SV08 MAX 1.0 nozzle.json | 141 +++++++++++++++++ .../Sovol/machine/Sovol SV08 MAX.json | 2 +- ...m Standard @Sovol SV08 MAX 0.2 nozzle.json | 146 ++++++++++++++++++ ...m Standard @Sovol SV08 MAX 1.0 nozzle.json | 144 +++++++++++++++++ 14 files changed, 614 insertions(+), 10 deletions(-) create mode 100644 resources/profiles/Sovol/machine/Sovol SV08 MAX 0.2 nozzle.json create mode 100644 resources/profiles/Sovol/machine/Sovol SV08 MAX 1.0 nozzle.json create mode 100644 resources/profiles/Sovol/process/0.10mm Standard @Sovol SV08 MAX 0.2 nozzle.json create mode 100644 resources/profiles/Sovol/process/0.50mm Standard @Sovol SV08 MAX 1.0 nozzle.json diff --git a/resources/profiles/Sovol.json b/resources/profiles/Sovol.json index fda630e021..022b8a8e0a 100644 --- a/resources/profiles/Sovol.json +++ b/resources/profiles/Sovol.json @@ -1,7 +1,7 @@ { "name": "Sovol", "url": "", - "version": "02.04.00.09", + "version": "02.04.00.10", "force_update": "0", "description": "Sovol configurations", "machine_model_list": [ @@ -71,6 +71,10 @@ "name": "0.10mm Standard @Sovol SV08 0.2 nozzle", "sub_path": "process/0.10mm Standard @Sovol SV08 0.2 nozzle.json" }, + { + "name": "0.10mm Standard @Sovol SV08 MAX 0.2 nozzle", + "sub_path": "process/0.10mm Standard @Sovol SV08 MAX 0.2 nozzle.json" + }, { "name": "0.12mm Quality @Sovol SV06 ACE", "sub_path": "process/0.12mm Quality @Sovol SV06 ACE 0.4 nozzle.json" @@ -195,6 +199,10 @@ "name": "0.40mm Standard @Sovol SV08 MAX 0.8 nozzle", "sub_path": "process/0.40mm Standard @Sovol SV08 MAX 0.8 nozzle.json" }, + { + "name": "0.50mm Standard @Sovol SV08 MAX 1.0 nozzle", + "sub_path": "process/0.50mm Standard @Sovol SV08 MAX 1.0 nozzle.json" + }, { "name": "fdm_process_zero", "sub_path": "process/fdm_process_zero.json" @@ -471,6 +479,10 @@ "name": "Sovol SV08 0.8 nozzle", "sub_path": "machine/Sovol SV08 0.8 nozzle.json" }, + { + "name": "Sovol SV08 MAX 0.2 nozzle", + "sub_path": "machine/Sovol SV08 MAX 0.2 nozzle.json" + }, { "name": "Sovol SV08 MAX 0.4 nozzle", "sub_path": "machine/Sovol SV08 MAX 0.4 nozzle.json" @@ -483,6 +495,10 @@ "name": "Sovol SV08 MAX 0.8 nozzle", "sub_path": "machine/Sovol SV08 MAX 0.8 nozzle.json" }, + { + "name": "Sovol SV08 MAX 1.0 nozzle", + "sub_path": "machine/Sovol SV08 MAX 1.0 nozzle.json" + }, { "name": "Sovol Zero 0.2 nozzle", "sub_path": "machine/Sovol Zero 0.2 nozzle.json" diff --git a/resources/profiles/Sovol/filament/Generic ABS @Sovol SV08 MAX.json b/resources/profiles/Sovol/filament/Generic ABS @Sovol SV08 MAX.json index 5c5e0353dd..66c3343fe7 100644 --- a/resources/profiles/Sovol/filament/Generic ABS @Sovol SV08 MAX.json +++ b/resources/profiles/Sovol/filament/Generic ABS @Sovol SV08 MAX.json @@ -75,8 +75,10 @@ "0" ], "compatible_printers": [ + "Sovol SV08 MAX 0.2 nozzle", "Sovol SV08 MAX 0.4 nozzle", "Sovol SV08 MAX 0.6 nozzle", - "Sovol SV08 MAX 0.8 nozzle" + "Sovol SV08 MAX 0.8 nozzle", + "Sovol SV08 MAX 1.0 nozzle" ] } diff --git a/resources/profiles/Sovol/filament/Generic PC @Sovol SV08 MAX.json b/resources/profiles/Sovol/filament/Generic PC @Sovol SV08 MAX.json index 4df49482b1..c70700b82f 100644 --- a/resources/profiles/Sovol/filament/Generic PC @Sovol SV08 MAX.json +++ b/resources/profiles/Sovol/filament/Generic PC @Sovol SV08 MAX.json @@ -15,9 +15,11 @@ "18" ], "compatible_printers": [ + "Sovol SV08 MAX 0.2 nozzle", "Sovol SV08 MAX 0.4 nozzle", "Sovol SV08 MAX 0.6 nozzle", - "Sovol SV08 MAX 0.8 nozzle" + "Sovol SV08 MAX 0.8 nozzle", + "Sovol SV08 MAX 1.0 nozzle" ], "close_fan_the_first_x_layers": "3", "nozzle_temperature_initial_layer": [ diff --git a/resources/profiles/Sovol/filament/Generic PETG @Sovol SV08 MAX.json b/resources/profiles/Sovol/filament/Generic PETG @Sovol SV08 MAX.json index 08de72fcce..4d16658be2 100644 --- a/resources/profiles/Sovol/filament/Generic PETG @Sovol SV08 MAX.json +++ b/resources/profiles/Sovol/filament/Generic PETG @Sovol SV08 MAX.json @@ -76,8 +76,10 @@ "during_print_exhaust_fan_speed": "50", "complete_print_exhaust_fan_speed": "50", "compatible_printers": [ + "Sovol SV08 MAX 0.2 nozzle", "Sovol SV08 MAX 0.4 nozzle", "Sovol SV08 MAX 0.6 nozzle", - "Sovol SV08 MAX 0.8 nozzle" + "Sovol SV08 MAX 0.8 nozzle", + "Sovol SV08 MAX 1.0 nozzle" ] } diff --git a/resources/profiles/Sovol/filament/Generic PLA @Sovol SV08 MAX.json b/resources/profiles/Sovol/filament/Generic PLA @Sovol SV08 MAX.json index d0428319af..6455f2749a 100644 --- a/resources/profiles/Sovol/filament/Generic PLA @Sovol SV08 MAX.json +++ b/resources/profiles/Sovol/filament/Generic PLA @Sovol SV08 MAX.json @@ -15,9 +15,11 @@ "21" ], "compatible_printers": [ + "Sovol SV08 MAX 0.2 nozzle", "Sovol SV08 MAX 0.4 nozzle", "Sovol SV08 MAX 0.6 nozzle", - "Sovol SV08 MAX 0.8 nozzle" + "Sovol SV08 MAX 0.8 nozzle", + "Sovol SV08 MAX 1.0 nozzle" ], "nozzle_temperature_initial_layer": [ "250" diff --git a/resources/profiles/Sovol/filament/Generic PLA Silk @Sovol SV08 MAX.json b/resources/profiles/Sovol/filament/Generic PLA Silk @Sovol SV08 MAX.json index f3e1e1cd82..6201841844 100644 --- a/resources/profiles/Sovol/filament/Generic PLA Silk @Sovol SV08 MAX.json +++ b/resources/profiles/Sovol/filament/Generic PLA Silk @Sovol SV08 MAX.json @@ -16,9 +16,11 @@ "15" ], "compatible_printers": [ + "Sovol SV08 MAX 0.2 nozzle", "Sovol SV08 MAX 0.4 nozzle", "Sovol SV08 MAX 0.6 nozzle", - "Sovol SV08 MAX 0.8 nozzle" + "Sovol SV08 MAX 0.8 nozzle", + "Sovol SV08 MAX 1.0 nozzle" ], "nozzle_temperature_initial_layer": [ "250" diff --git a/resources/profiles/Sovol/filament/Generic TPU @Sovol SV08 MAX.json b/resources/profiles/Sovol/filament/Generic TPU @Sovol SV08 MAX.json index fd3891ff9c..a744877c64 100644 --- a/resources/profiles/Sovol/filament/Generic TPU @Sovol SV08 MAX.json +++ b/resources/profiles/Sovol/filament/Generic TPU @Sovol SV08 MAX.json @@ -72,8 +72,10 @@ "during_print_exhaust_fan_speed": "100", "complete_print_exhaust_fan_speed": "50", "compatible_printers": [ + "Sovol SV08 MAX 0.2 nozzle", "Sovol SV08 MAX 0.4 nozzle", "Sovol SV08 MAX 0.6 nozzle", - "Sovol SV08 MAX 0.8 nozzle" + "Sovol SV08 MAX 0.8 nozzle", + "Sovol SV08 MAX 1.0 nozzle" ] } diff --git a/resources/profiles/Sovol/filament/Polymaker PETG @Sovol SV08 MAX.json b/resources/profiles/Sovol/filament/Polymaker PETG @Sovol SV08 MAX.json index f45ddf38f5..50ae29db92 100644 --- a/resources/profiles/Sovol/filament/Polymaker PETG @Sovol SV08 MAX.json +++ b/resources/profiles/Sovol/filament/Polymaker PETG @Sovol SV08 MAX.json @@ -81,8 +81,10 @@ "during_print_exhaust_fan_speed": "50", "complete_print_exhaust_fan_speed": "50", "compatible_printers": [ + "Sovol SV08 MAX 0.2 nozzle", "Sovol SV08 MAX 0.4 nozzle", "Sovol SV08 MAX 0.6 nozzle", - "Sovol SV08 MAX 0.8 nozzle" + "Sovol SV08 MAX 0.8 nozzle", + "Sovol SV08 MAX 1.0 nozzle" ] } diff --git a/resources/profiles/Sovol/filament/SUNLU PETG @Sovol SV08 MAX.json b/resources/profiles/Sovol/filament/SUNLU PETG @Sovol SV08 MAX.json index 6512adc3b8..69071acbce 100644 --- a/resources/profiles/Sovol/filament/SUNLU PETG @Sovol SV08 MAX.json +++ b/resources/profiles/Sovol/filament/SUNLU PETG @Sovol SV08 MAX.json @@ -81,8 +81,10 @@ "during_print_exhaust_fan_speed": "50", "complete_print_exhaust_fan_speed": "50", "compatible_printers": [ + "Sovol SV08 MAX 0.2 nozzle", "Sovol SV08 MAX 0.4 nozzle", "Sovol SV08 MAX 0.6 nozzle", - "Sovol SV08 MAX 0.8 nozzle" + "Sovol SV08 MAX 0.8 nozzle", + "Sovol SV08 MAX 1.0 nozzle" ] } diff --git a/resources/profiles/Sovol/machine/Sovol SV08 MAX 0.2 nozzle.json b/resources/profiles/Sovol/machine/Sovol SV08 MAX 0.2 nozzle.json new file mode 100644 index 0000000000..64773d0a8b --- /dev/null +++ b/resources/profiles/Sovol/machine/Sovol SV08 MAX 0.2 nozzle.json @@ -0,0 +1,141 @@ +{ + "type": "machine", + "name": "Sovol SV08 MAX 0.2 nozzle", + "inherits": "fdm_machine_common", + "from": "system", + "setting_id": "X92tIOa3VrwxRfdd", + "instantiation": "true", + "printer_model": "Sovol SV08 MAX", + "default_print_profile": "0.10mm Standard @Sovol SV08 MAX 0.2 nozzle", + "printer_variant": "0.2", + "nozzle_diameter": [ + "0.2" + ], + "min_layer_height": [ + "0.04" + ], + "max_layer_height": [ + "0.2" + ], + "retract_before_wipe": [ + "100%" + ], + "printable_area": [ + "0x0", + "500x0", + "500x500", + "0x500" + ], + "printable_height": "500", + "printer_structure": "corexy", + "gcode_flavor": "klipper", + "retraction_length": [ + "0.8" + ], + "machine_max_speed_e": [ + "50", + "50" + ], + "machine_max_speed_x": [ + "800", + "800" + ], + "machine_max_speed_y": [ + "800", + "800" + ], + "machine_max_speed_z": [ + "10", + "10" + ], + "machine_max_acceleration_e": [ + "20000", + "20000" + ], + "machine_max_acceleration_extruding": [ + "40000", + "40000" + ], + "machine_max_acceleration_retracting": [ + "5000", + "5000" + ], + "machine_max_acceleration_travel": [ + "40000", + "40000" + ], + "machine_max_acceleration_x": [ + "40000", + "40000" + ], + "machine_max_acceleration_y": [ + "40000", + "40000" + ], + "machine_max_acceleration_z": [ + "500", + "500" + ], + "machine_max_jerk_e": [ + "5", + "5" + ], + "machine_max_jerk_x": [ + "20", + "20" + ], + "machine_max_jerk_y": [ + "20", + "20" + ], + "machine_max_jerk_z": [ + "2.5", + "2.5" + ], + "z_hop": [ + "0.6" + ], + "travel_slope": [ + "2" + ], + "retraction_speed": [ + "40" + ], + "deretraction_speed": [ + "40" + ], + "retraction_minimum_travel": [ + "0" + ], + "retract_length_toolchange": [ + "2" + ], + "wipe": [ + "1" + ], + "wipe_distance": [ + "2" + ], + "z_hop_types": [ + "Auto Lift" + ], + "thumbnails": [ + "32x32", + "64x64", + "160x160", + "256x256" + ], + "retract_lift_below": [ + "498" + ], + "auxiliary_fan": "0", + "thumbnails_format": "PNG", + "before_layer_change_gcode": "TIMELAPSE_TAKE_FRAME\nG92 E0\nSET_PRINT_STATS_INFO CURRENT_LAYER=[layer_num]\n", + "machine_start_gcode": "G28\nM140 S[bed_temperature_initial_layer_single] ;set bed temp\nM190 S[bed_temperature_initial_layer_single] ;wait for bed temp\nSTART_PRINT\nG90\nG1 X0 Y0 F12000\nG1 Z0.300 F600\nM104 S[nozzle_temperature_initial_layer] ;set extruder temp\nM109 S[nozzle_temperature_initial_layer];wait for extruder temp\n{if first_layer_print_min[0] - 3 > print_bed_min[0]}\nG90\nM83\nG1 E-0.100 F600\nG1 X{first_layer_print_min[0] - 3} Y{first_layer_print_min[1]} F12000\nG1 Z0.3 F600 ;Move to start position\nG1 E0.100 F600\nG1 Y{first_layer_print_min[1] + 5 * 6} E{5 * 0.24 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Y{first_layer_print_min[1] + 5 * 6 * 2} E{5 * 0.16 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 E-0.100 F600\nG1 Z1 F600\nG1 X{first_layer_print_min[0] - 2} Y{first_layer_print_min[1]} F12000\nG1 Z0.3 F600 ;Move to start position\nG1 E0.100 F600\nG1 Y{first_layer_print_min[1] + 5 * 6} E{5 * 0.24 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Y{first_layer_print_min[1] + 5 * 6 * 2} E{5 * 0.16 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 E-0.100 F600\n{else}\nG90\nM83\nG1 E-0.100 Z3 F600\nG1 X-1.5 Y{first_layer_print_min[1]} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Z0.3 F600\nG1 E0.100 F600\nG1 Y{first_layer_print_min[1] + 5 * 6} E{5 * 0.24 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Y{first_layer_print_min[1] + 5 * 6 * 2} E{5 * 0.16 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 X-0.5 Y{first_layer_print_min[1]} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Z0.3 F600\nG1 E0.100 F600\nG1 Y{first_layer_print_min[1] + 5 * 6} E{5 * 0.24 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Y{first_layer_print_min[1] + 5 * 6 * 2} E{5 * 0.16 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 E-0.100 Z3 F600\nM400\n{endif}\nSET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]\n\n", + "machine_end_gcode": "END_PRINT\n", + "machine_pause_gcode": "PAUSE\n", + "change_filament_gcode": "M600\n", + "default_filament_profile": [ + "Generic PLA @Sovol SV08 MAX" + ] +} diff --git a/resources/profiles/Sovol/machine/Sovol SV08 MAX 1.0 nozzle.json b/resources/profiles/Sovol/machine/Sovol SV08 MAX 1.0 nozzle.json new file mode 100644 index 0000000000..dd8c07fa07 --- /dev/null +++ b/resources/profiles/Sovol/machine/Sovol SV08 MAX 1.0 nozzle.json @@ -0,0 +1,141 @@ +{ + "type": "machine", + "name": "Sovol SV08 MAX 1.0 nozzle", + "inherits": "fdm_machine_common", + "from": "system", + "setting_id": "HOz7tFPKNbzbPyJj", + "instantiation": "true", + "printer_model": "Sovol SV08 MAX", + "default_print_profile": "0.50mm Standard @Sovol SV08 MAX 1.0 nozzle", + "printer_variant": "1.0", + "nozzle_diameter": [ + "1.0" + ], + "min_layer_height": [ + "0.16" + ], + "max_layer_height": [ + "0.8" + ], + "retract_before_wipe": [ + "0%" + ], + "printable_area": [ + "0x0", + "500x0", + "500x500", + "0x500" + ], + "printable_height": "500", + "printer_structure": "corexy", + "gcode_flavor": "klipper", + "retraction_length": [ + "3.0" + ], + "retract_restart_extra": [ + "0.1" + ], + "machine_max_speed_e": [ + "50", + "50" + ], + "machine_max_speed_x": [ + "800", + "800" + ], + "machine_max_speed_y": [ + "800", + "800" + ], + "machine_max_speed_z": [ + "10", + "10" + ], + "machine_max_acceleration_e": [ + "20000", + "20000" + ], + "machine_max_acceleration_extruding": [ + "40000", + "40000" + ], + "machine_max_acceleration_retracting": [ + "5000", + "5000" + ], + "machine_max_acceleration_travel": [ + "40000", + "40000" + ], + "machine_max_acceleration_x": [ + "40000", + "40000" + ], + "machine_max_acceleration_y": [ + "40000", + "40000" + ], + "machine_max_acceleration_z": [ + "500", + "500" + ], + "machine_max_jerk_e": [ + "5", + "5" + ], + "machine_max_jerk_x": [ + "20", + "20" + ], + "machine_max_jerk_y": [ + "20", + "20" + ], + "machine_max_jerk_z": [ + "2.5", + "2.5" + ], + "z_hop": [ + "0.6" + ], + "retraction_speed": [ + "40" + ], + "deretraction_speed": [ + "40" + ], + "retraction_minimum_travel": [ + "0" + ], + "retract_length_toolchange": [ + "2" + ], + "wipe": [ + "1" + ], + "wipe_distance": [ + "2" + ], + "z_hop_types": [ + "Auto Lift" + ], + "thumbnails": [ + "32x32", + "64x64", + "160x160", + "256x256" + ], + "retract_lift_below": [ + "498" + ], + "auxiliary_fan": "0", + "thumbnails_format": "PNG", + "before_layer_change_gcode": "TIMELAPSE_TAKE_FRAME\nG92 E0\nSET_PRINT_STATS_INFO CURRENT_LAYER=[layer_num]\n", + "machine_start_gcode": "G28\nM140 S[bed_temperature_initial_layer_single] ;set bed temp\nM190 S[bed_temperature_initial_layer_single] ;wait for bed temp\nSTART_PRINT\nG90\nG1 X0 Y0 F12000\nG1 Z0.300 F600\nM104 S[nozzle_temperature_initial_layer] ;set extruder temp\nM109 S[nozzle_temperature_initial_layer];wait for extruder temp\n{if first_layer_print_min[0] - 3 > print_bed_min[0]}\nG90\nM83\nG1 E-0.100 F600\nG1 X{first_layer_print_min[0] - 3} Y{first_layer_print_min[1]} F12000\nG1 Z0.3 F600 ;Move to start position\nG1 E0.100 F600\nG1 Y{first_layer_print_min[1] + 5 * 6} E{5 * 0.24 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Y{first_layer_print_min[1] + 5 * 6 * 2} E{5 * 0.16 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 E-0.100 F600\nG1 Z1 F600\nG1 X{first_layer_print_min[0] - 2} Y{first_layer_print_min[1]} F12000\nG1 Z0.3 F600 ;Move to start position\nG1 E0.100 F600\nG1 Y{first_layer_print_min[1] + 5 * 6} E{5 * 0.24 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Y{first_layer_print_min[1] + 5 * 6 * 2} E{5 * 0.16 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 E-0.100 F600\n{else}\nG90\nM83\nG1 E-0.100 Z3 F600\nG1 X-1.5 Y{first_layer_print_min[1]} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Z0.3 F600\nG1 E0.100 F600\nG1 Y{first_layer_print_min[1] + 5 * 6} E{5 * 0.24 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Y{first_layer_print_min[1] + 5 * 6 * 2} E{5 * 0.16 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 X-0.5 Y{first_layer_print_min[1]} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Z0.3 F600\nG1 E0.100 F600\nG1 Y{first_layer_print_min[1] + 5 * 6} E{5 * 0.24 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 Y{first_layer_print_min[1] + 5 * 6 * 2} E{5 * 0.16 * 6} F{outer_wall_volumetric_speed * 5 * 30}\nG1 E-0.100 Z3 F600\nM400\n{endif}\nSET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]\n\n", + "machine_end_gcode": "END_PRINT\n", + "machine_pause_gcode": "PAUSE\n", + "change_filament_gcode": "M600\n", + "default_filament_profile": [ + "Generic PLA @Sovol SV08 MAX" + ] +} diff --git a/resources/profiles/Sovol/machine/Sovol SV08 MAX.json b/resources/profiles/Sovol/machine/Sovol SV08 MAX.json index df4690f54b..e9fa541445 100644 --- a/resources/profiles/Sovol/machine/Sovol SV08 MAX.json +++ b/resources/profiles/Sovol/machine/Sovol SV08 MAX.json @@ -2,7 +2,7 @@ "type": "machine_model", "name": "Sovol SV08 MAX", "model_id": "Sovol-SV08 MAX", - "nozzle_diameter": "0.4;0.6;0.8", + "nozzle_diameter": "0.2;0.4;0.6;0.8;1.0", "machine_tech": "FFF", "family": "Sovol", "bed_model": "sovol_sv08_max_buildplate_model.stl", diff --git a/resources/profiles/Sovol/process/0.10mm Standard @Sovol SV08 MAX 0.2 nozzle.json b/resources/profiles/Sovol/process/0.10mm Standard @Sovol SV08 MAX 0.2 nozzle.json new file mode 100644 index 0000000000..eb0c2c5e25 --- /dev/null +++ b/resources/profiles/Sovol/process/0.10mm Standard @Sovol SV08 MAX 0.2 nozzle.json @@ -0,0 +1,146 @@ +{ + "type": "process", + "name": "0.10mm Standard @Sovol SV08 MAX 0.2 nozzle", + "inherits": "fdm_process_common", + "from": "system", + "setting_id": "R0Zwxup0J43tKUso", + "instantiation": "true", + "reduce_crossing_wall": "0", + "max_travel_detour_distance": "100%", + "layer_height": "0.10", + "bottom_surface_pattern": "rectilinear", + "bottom_shell_layers": "5", + "bottom_shell_thickness": "0", + "bottom_solid_infill_flow_ratio": "1", + "bridge_flow": "1", + "internal_bridge_flow": "1", + "bridge_speed": "50", + "internal_bridge_speed": "200", + "brim_type": "auto_brim", + "brim_width": "2", + "brim_object_gap": "0", + "compatible_printers_condition": "", + "print_sequence": "by layer", + "default_acceleration": "20000", + "outer_wall_acceleration": "6000", + "top_surface_acceleration": "5000", + "bridge_no_support": "0", + "draft_shield": "disabled", + "elefant_foot_compensation": "0", + "enable_arc_fitting": "0", + "exclude_object": "1", + "outer_wall_line_width": "0.22", + "wall_sequence": "inner wall/outer wall", + "line_width": "0.22", + "infill_direction": "45", + "sparse_infill_density": "10%", + "sparse_infill_pattern": "grid", + "internal_solid_infill_acceleration": "50%", + "initial_layer_acceleration": "1000", + "travel_acceleration": "20000", + "inner_wall_acceleration": "8000", + "outer_wall_jerk": "5", + "inner_wall_jerk": "5", + "infill_jerk": "5", + "top_surface_jerk": "5", + "initial_layer_jerk": "5", + "travel_jerk": "5", + "initial_layer_line_width": "0.25", + "initial_layer_print_height": "0.1", + "infill_combination": "0", + "sparse_infill_line_width": "0.22", + "infill_wall_overlap": "15%", + "interface_shells": "0", + "ironing_flow": "15%", + "ironing_spacing": "0.25", + "ironing_speed": "15", + "ironing_type": "no ironing", + "reduce_infill_retraction": "1", + "filename_format": "{printer_model}_{input_filename_base}_{filament_type[0]}_{layer_height}_{print_time}.gcode", + "detect_overhang_wall": "1", + "overhang_1_4_speed": "0", + "overhang_2_4_speed": "50", + "overhang_3_4_speed": "30", + "overhang_4_4_speed": "20", + "inner_wall_line_width": "0.22", + "wall_loops": "4", + "print_settings_id": "", + "raft_layers": "0", + "seam_position": "aligned", + "skirt_distance": "0.8", + "skirt_height": "1", + "skirt_loops": "1", + "skirt_speed": "30", + "minimum_sparse_infill_area": "15", + "internal_solid_infill_line_width": "0.22", + "spiral_mode": "0", + "standby_temperature_delta": "-5", + "enable_support": "0", + "resolution": "0.012", + "support_type": "normal(auto)", + "support_style": "default", + "support_on_build_plate_only": "0", + "support_top_z_distance": "0.2", + "support_bottom_z_distance": "0.2", + "support_filament": "0", + "support_line_width": "0.22", + "support_interface_loop_pattern": "0", + "support_interface_filament": "0", + "support_interface_top_layers": "2", + "support_interface_bottom_layers": "-1", + "support_interface_spacing": "0.22", + "support_bottom_interface_spacing": "0.5", + "support_interface_speed": "100%", + "support_interface_pattern": "auto", + "support_base_pattern": "rectilinear", + "support_base_pattern_spacing": "3.5", + "support_speed": "80", + "support_threshold_angle": "20", + "support_object_xy_distance": "0.35", + "raft_first_layer_density": "100%", + "raft_first_layer_expansion": "10", + "tree_support_branch_angle": "40", + "tree_support_wall_count": "0", + "detect_thin_wall": "0", + "top_surface_pattern": "monotonic", + "top_surface_line_width": "0.22", + "top_shell_layers": "7", + "top_shell_thickness": "0.8", + "initial_layer_speed": "40", + "initial_layer_infill_speed": "60", + "initial_layer_travel_speed": "80%", + "outer_wall_speed": "160", + "inner_wall_speed": "200", + "small_perimeter_speed": "50%", + "internal_solid_infill_speed": "230", + "top_surface_speed": "180", + "gap_infill_speed": "150", + "sparse_infill_speed": "200", + "accel_to_decel_enable": "1", + "accel_to_decel_factor": "50%", + "travel_speed": "600", + "enable_prime_tower": "1", + "wipe_tower_no_sparse_layers": "0", + "prime_tower_width": "60", + "xy_hole_compensation": "0", + "xy_contour_compensation": "0", + "bridge_acceleration": "50%", + "seam_gap": "5%", + "precise_outer_wall": "1", + "precise_z_height": "1", + "wall_generator": "classic", + "gcode_label_objects": "1", + "slow_down_layers": "3", + "top_solid_infill_flow_ratio": "0.9", + "only_one_wall_top": "1", + "top_bottom_infill_wall_overlap": "25%", + "filter_out_gap_fill": "0", + "detect_narrow_internal_solid_infill": "1", + "thick_bridges": "0", + "thick_internal_bridges": "0", + "bridge_angle": "0", + "post_process": [], + "compatible_printers": [ + "Sovol SV08 MAX 0.2 nozzle" + ] +} diff --git a/resources/profiles/Sovol/process/0.50mm Standard @Sovol SV08 MAX 1.0 nozzle.json b/resources/profiles/Sovol/process/0.50mm Standard @Sovol SV08 MAX 1.0 nozzle.json new file mode 100644 index 0000000000..7c3b728445 --- /dev/null +++ b/resources/profiles/Sovol/process/0.50mm Standard @Sovol SV08 MAX 1.0 nozzle.json @@ -0,0 +1,144 @@ +{ + "type": "process", + "name": "0.50mm Standard @Sovol SV08 MAX 1.0 nozzle", + "inherits": "fdm_process_common", + "from": "system", + "setting_id": "Oqgptj7MZwIwE4Uw", + "instantiation": "true", + "reduce_crossing_wall": "0", + "max_travel_detour_distance": "100%", + "layer_height": "0.50", + "bottom_surface_pattern": "rectilinear", + "bottom_shell_layers": "3", + "bottom_shell_thickness": "0", + "bridge_flow": "1", + "internal_bridge_flow": "1", + "bridge_speed": "45", + "internal_bridge_speed": "50", + "brim_type": "auto_brim", + "brim_width": "5", + "brim_object_gap": "0", + "compatible_printers_condition": "", + "print_sequence": "by layer", + "default_acceleration": "20000", + "outer_wall_acceleration": "6000", + "top_surface_acceleration": "5000", + "bridge_no_support": "0", + "draft_shield": "disabled", + "elefant_foot_compensation": "0", + "enable_arc_fitting": "0", + "exclude_object": "1", + "outer_wall_line_width": "1.1", + "wall_sequence": "inner wall/outer wall", + "line_width": "1.1", + "infill_direction": "45", + "sparse_infill_density": "10%", + "sparse_infill_pattern": "grid", + "internal_solid_infill_acceleration": "50%", + "initial_layer_acceleration": "1000", + "travel_acceleration": "20000", + "inner_wall_acceleration": "8000", + "outer_wall_jerk": "5", + "inner_wall_jerk": "5", + "infill_jerk": "5", + "top_surface_jerk": "5", + "initial_layer_jerk": "5", + "travel_jerk": "5", + "initial_layer_line_width": "1.5", + "initial_layer_print_height": "0.60", + "infill_combination": "0", + "sparse_infill_line_width": "1.1", + "infill_wall_overlap": "15%", + "interface_shells": "0", + "ironing_flow": "15%", + "ironing_spacing": "0.25", + "ironing_speed": "15", + "ironing_type": "no ironing", + "reduce_infill_retraction": "1", + "filename_format": "{printer_model}_{input_filename_base}_{filament_type[0]}_{layer_height}_{print_time}.gcode", + "detect_overhang_wall": "1", + "overhang_1_4_speed": "0", + "overhang_2_4_speed": "30", + "overhang_3_4_speed": "10", + "overhang_4_4_speed": "5", + "inner_wall_line_width": "1.1", + "wall_loops": "2", + "print_settings_id": "", + "raft_layers": "0", + "seam_position": "aligned", + "skirt_distance": "0.8", + "skirt_height": "1", + "skirt_loops": "1", + "minimum_sparse_infill_area": "15", + "internal_solid_infill_line_width": "1.1", + "spiral_mode": "0", + "standby_temperature_delta": "-5", + "enable_support": "0", + "resolution": "0.012", + "support_type": "normal(auto)", + "support_style": "default", + "support_on_build_plate_only": "0", + "support_top_z_distance": "0.50", + "support_bottom_z_distance": "0.235", + "support_filament": "0", + "support_line_width": "1.1", + "support_interface_loop_pattern": "0", + "support_interface_filament": "0", + "support_interface_top_layers": "2", + "support_interface_bottom_layers": "-1", + "support_interface_spacing": "0.5", + "support_bottom_interface_spacing": "0.5", + "support_interface_speed": "100%", + "support_interface_pattern": "auto", + "support_base_pattern": "rectilinear", + "support_base_pattern_spacing": "3.5", + "support_speed": "60", + "support_threshold_angle": "20", + "support_object_xy_distance": "0.35", + "raft_first_layer_density": "100%", + "raft_first_layer_expansion": "10", + "tree_support_branch_angle": "40", + "tree_support_wall_count": "0", + "detect_thin_wall": "0", + "top_surface_pattern": "monotonic", + "top_surface_line_width": "1.1", + "top_shell_layers": "3", + "top_shell_thickness": "1", + "initial_layer_speed": "30", + "initial_layer_infill_speed": "55", + "initial_layer_travel_speed": "60%", + "outer_wall_speed": "30", + "inner_wall_speed": "45", + "small_perimeter_speed": "45", + "internal_solid_infill_speed": "45", + "top_surface_speed": "35", + "gap_infill_speed": "35", + "sparse_infill_speed": "70", + "accel_to_decel_enable": "1", + "accel_to_decel_factor": "50%", + "travel_speed": "600", + "enable_prime_tower": "1", + "wipe_tower_no_sparse_layers": "0", + "prime_tower_width": "60", + "xy_hole_compensation": "0", + "xy_contour_compensation": "0", + "bridge_acceleration": "50%", + "seam_gap": "5%", + "precise_outer_wall": "1", + "precise_z_height": "1", + "wall_generator": "classic", + "gcode_label_objects": "1", + "slow_down_layers": "3", + "top_solid_infill_flow_ratio": "0.9", + "only_one_wall_top": "1", + "top_bottom_infill_wall_overlap": "25%", + "filter_out_gap_fill": "0", + "detect_narrow_internal_solid_infill": "1", + "thick_bridges": "0", + "thick_internal_bridges": "0", + "bridge_angle": "0", + "post_process": [], + "compatible_printers": [ + "Sovol SV08 MAX 1.0 nozzle" + ] +} From 0edd6693a6ca8e482f73c783ed84c84067baa2a1 Mon Sep 17 00:00:00 2001 From: Eric McCann Date: Fri, 6 Nov 2026 10:16:16 -0500 Subject: [PATCH 14/26] 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 --- resources/profiles/Prusa.json | 2 +- resources/profiles/Prusa/machine/Prusa XL 0.25 nozzle.json | 2 +- resources/profiles/Prusa/machine/Prusa XL 0.3 nozzle.json | 2 +- resources/profiles/Prusa/machine/Prusa XL 0.8 nozzle.json | 2 +- resources/profiles/Prusa/machine/fdm_machine_common_xl.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/profiles/Prusa.json b/resources/profiles/Prusa.json index e9bd094f9e..d32484b1ba 100644 --- a/resources/profiles/Prusa.json +++ b/resources/profiles/Prusa.json @@ -1,6 +1,6 @@ { "name": "Prusa", - "version": "02.04.00.17", + "version": "02.04.00.18", "force_update": "0", "description": "Prusa configurations", "machine_model_list": [ diff --git a/resources/profiles/Prusa/machine/Prusa XL 0.25 nozzle.json b/resources/profiles/Prusa/machine/Prusa XL 0.25 nozzle.json index e259346b94..bde909ece4 100644 --- a/resources/profiles/Prusa/machine/Prusa XL 0.25 nozzle.json +++ b/resources/profiles/Prusa/machine/Prusa XL 0.25 nozzle.json @@ -17,5 +17,5 @@ "min_layer_height": "0.05", "retraction_length": "0.8", "retraction_speed": "35", - "detraction_speed": "25" + "deretraction_speed": "25" } diff --git a/resources/profiles/Prusa/machine/Prusa XL 0.3 nozzle.json b/resources/profiles/Prusa/machine/Prusa XL 0.3 nozzle.json index afbd0b421c..a9c2ec8a51 100644 --- a/resources/profiles/Prusa/machine/Prusa XL 0.3 nozzle.json +++ b/resources/profiles/Prusa/machine/Prusa XL 0.3 nozzle.json @@ -17,5 +17,5 @@ "min_layer_height": "0.05", "retraction_length": "0.7", "retraction_speed": "35", - "detraction_speed": "25" + "deretraction_speed": "25" } diff --git a/resources/profiles/Prusa/machine/Prusa XL 0.8 nozzle.json b/resources/profiles/Prusa/machine/Prusa XL 0.8 nozzle.json index 2594b57060..3b1a2463d6 100644 --- a/resources/profiles/Prusa/machine/Prusa XL 0.8 nozzle.json +++ b/resources/profiles/Prusa/machine/Prusa XL 0.8 nozzle.json @@ -17,5 +17,5 @@ "min_layer_height": "0.2", "retraction_length": "0.6", "retraction_speed": "25", - "detraction_speed": "15" + "deretraction_speed": "15" } diff --git a/resources/profiles/Prusa/machine/fdm_machine_common_xl.json b/resources/profiles/Prusa/machine/fdm_machine_common_xl.json index 86dca95e61..c4297456d7 100644 --- a/resources/profiles/Prusa/machine/fdm_machine_common_xl.json +++ b/resources/profiles/Prusa/machine/fdm_machine_common_xl.json @@ -85,7 +85,7 @@ ], "retraction_length": "0.8", "retraction_speed": "35", - "detraction_speed": "25", + "deretraction_speed": "25", "retraction_minimum_travel": "1.5", "retract_when_changing_layer": "1", "wipe": "1", From 6aaee84c1f63cf2b9afa22b0410f4796e8919afb Mon Sep 17 00:00:00 2001 From: Lim Jooyoung <74720422+mmporong@users.noreply.github.com> Date: Sat, 7 Nov 2026 00:19:01 +0900 Subject: [PATCH 15/26] 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. --- .../profiles/Prusa/process/0.05mm Detail @Prusa XL 0.25.json | 2 -- .../Prusa/process/0.05mm Detail @Prusa XL 5T 0.25.json | 2 -- .../profiles/Prusa/process/0.07mm Detail @Prusa XL 0.25.json | 2 -- .../Prusa/process/0.07mm Detail @Prusa XL 5T 0.25.json | 2 -- .../Prusa/process/0.10mm FastDetail @Prusa XL 0.4.json | 2 -- .../Prusa/process/0.10mm FastDetail @Prusa XL 5T 0.4.json | 2 -- .../Prusa/process/0.10mm Structural @Prusa XL 0.5.json | 2 -- .../Prusa/process/0.10mm Structural @Prusa XL 5T 0.5.json | 2 -- .../profiles/Prusa/process/0.12mm Speed @Prusa XL 0.25.json | 2 -- .../profiles/Prusa/process/0.12mm Speed @Prusa XL 5T 0.25.json | 2 -- .../Prusa/process/0.12mm Structural @Prusa XL 0.25.json | 2 -- .../Prusa/process/0.12mm Structural @Prusa XL 0.3.json | 2 -- .../Prusa/process/0.12mm Structural @Prusa XL 5T 0.25.json | 2 -- .../Prusa/process/0.12mm Structural @Prusa XL 5T 0.3.json | 2 -- .../profiles/Prusa/process/0.15mm Speed @Prusa XL 0.25.json | 2 -- .../profiles/Prusa/process/0.15mm Speed @Prusa XL 0.4.json | 2 -- .../profiles/Prusa/process/0.15mm Speed @Prusa XL 5T 0.25.json | 2 -- .../profiles/Prusa/process/0.15mm Speed @Prusa XL 5T 0.4.json | 2 -- .../Prusa/process/0.15mm Structural @Prusa XL 0.25.json | 2 -- .../Prusa/process/0.15mm Structural @Prusa XL 0.4.json | 2 -- .../Prusa/process/0.15mm Structural @Prusa XL 0.5.json | 2 -- .../Prusa/process/0.15mm Structural @Prusa XL 0.6.json | 3 --- .../Prusa/process/0.15mm Structural @Prusa XL 5T 0.25.json | 2 -- .../Prusa/process/0.15mm Structural @Prusa XL 5T 0.4.json | 2 -- .../Prusa/process/0.15mm Structural @Prusa XL 5T 0.5.json | 2 -- .../Prusa/process/0.15mm Structural @Prusa XL 5T 0.6.json | 3 --- .../profiles/Prusa/process/0.16mm Speed @Prusa XL 0.3.json | 2 -- .../profiles/Prusa/process/0.16mm Speed @Prusa XL 5T 0.3.json | 2 -- .../Prusa/process/0.16mm Structural @Prusa XL 0.3.json | 2 -- .../Prusa/process/0.16mm Structural @Prusa XL 5T 0.3.json | 2 -- .../profiles/Prusa/process/0.20mm Speed @Prusa XL 0.3.json | 2 -- .../profiles/Prusa/process/0.20mm Speed @Prusa XL 0.4.json | 2 -- .../profiles/Prusa/process/0.20mm Speed @Prusa XL 0.5.json | 2 -- .../profiles/Prusa/process/0.20mm Speed @Prusa XL 0.6.json | 3 --- .../profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.3.json | 2 -- .../profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.4.json | 2 -- .../profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.5.json | 2 -- .../profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.6.json | 3 --- .../Prusa/process/0.20mm Structural @Prusa XL 0.4.json | 2 -- .../Prusa/process/0.20mm Structural @Prusa XL 0.5.json | 2 -- .../Prusa/process/0.20mm Structural @Prusa XL 0.6.json | 3 --- .../Prusa/process/0.20mm Structural @Prusa XL 5T 0.4.json | 2 -- .../Prusa/process/0.20mm Structural @Prusa XL 5T 0.5.json | 2 -- .../Prusa/process/0.20mm Structural @Prusa XL 5T 0.6.json | 3 --- .../profiles/Prusa/process/0.25mm Speed @Prusa XL 0.5.json | 2 -- .../profiles/Prusa/process/0.25mm Speed @Prusa XL 0.6.json | 3 --- .../profiles/Prusa/process/0.25mm Speed @Prusa XL 5T 0.5.json | 2 -- .../profiles/Prusa/process/0.25mm Speed @Prusa XL 5T 0.6.json | 3 --- .../Prusa/process/0.25mm Structural @Prusa XL 0.4.json | 2 -- .../Prusa/process/0.25mm Structural @Prusa XL 0.5.json | 2 -- .../Prusa/process/0.25mm Structural @Prusa XL 0.6.json | 3 --- .../Prusa/process/0.25mm Structural @Prusa XL 5T 0.4.json | 2 -- .../Prusa/process/0.25mm Structural @Prusa XL 5T 0.5.json | 2 -- .../Prusa/process/0.25mm Structural @Prusa XL 5T 0.6.json | 3 --- .../profiles/Prusa/process/0.30mm Detail @Prusa XL 0.8.json | 2 -- .../profiles/Prusa/process/0.30mm Detail @Prusa XL 5T 0.8.json | 2 -- .../profiles/Prusa/process/0.32mm Speed @Prusa XL 0.6.json | 3 --- .../profiles/Prusa/process/0.32mm Speed @Prusa XL 5T 0.6.json | 3 --- .../Prusa/process/0.32mm Structural @Prusa XL 0.6.json | 3 --- .../Prusa/process/0.32mm Structural @Prusa XL 5T 0.6.json | 3 --- .../profiles/Prusa/process/0.40mm Quality @Prusa XL 0.8.json | 2 -- .../Prusa/process/0.40mm Quality @Prusa XL 5T 0.8.json | 2 -- .../profiles/Prusa/process/0.55mm Draft @Prusa XL 0.8.json | 2 -- .../profiles/Prusa/process/0.55mm Draft @Prusa XL 5T 0.8.json | 2 -- resources/profiles/Prusa/process/process_common_mk3.json | 1 - resources/profiles/Prusa/process/process_common_mk4s.json | 1 - resources/profiles/Prusa/process/process_common_xl.json | 2 -- 67 files changed, 146 deletions(-) diff --git a/resources/profiles/Prusa/process/0.05mm Detail @Prusa XL 0.25.json b/resources/profiles/Prusa/process/0.05mm Detail @Prusa XL 0.25.json index b868abb4db..742193d9e2 100644 --- a/resources/profiles/Prusa/process/0.05mm Detail @Prusa XL 0.25.json +++ b/resources/profiles/Prusa/process/0.05mm Detail @Prusa XL 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "o8hfSDG0dyoYR7x8", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.05", "wall_loops": "3", "top_shell_layers": "13", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "65", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.05mm Detail @Prusa XL 5T 0.25.json b/resources/profiles/Prusa/process/0.05mm Detail @Prusa XL 5T 0.25.json index c05c5c7d56..3a26c37dde 100644 --- a/resources/profiles/Prusa/process/0.05mm Detail @Prusa XL 5T 0.25.json +++ b/resources/profiles/Prusa/process/0.05mm Detail @Prusa XL 5T 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "M2sPbQHmCSkflMI6", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.05", "wall_loops": "3", "top_shell_layers": "13", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "65", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.07mm Detail @Prusa XL 0.25.json b/resources/profiles/Prusa/process/0.07mm Detail @Prusa XL 0.25.json index f6a888bae7..91ae24f333 100644 --- a/resources/profiles/Prusa/process/0.07mm Detail @Prusa XL 0.25.json +++ b/resources/profiles/Prusa/process/0.07mm Detail @Prusa XL 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "2rrYjLMCWjsKVx2r", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.07", "wall_loops": "3", "top_shell_layers": "11", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "65", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.07mm Detail @Prusa XL 5T 0.25.json b/resources/profiles/Prusa/process/0.07mm Detail @Prusa XL 5T 0.25.json index 7683df4dc8..51b5d07490 100644 --- a/resources/profiles/Prusa/process/0.07mm Detail @Prusa XL 5T 0.25.json +++ b/resources/profiles/Prusa/process/0.07mm Detail @Prusa XL 5T 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "UY0KmXznMcEMIM33", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.07", "wall_loops": "3", "top_shell_layers": "11", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "65", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.10mm FastDetail @Prusa XL 0.4.json b/resources/profiles/Prusa/process/0.10mm FastDetail @Prusa XL 0.4.json index 96d535a6d5..0b1764ea15 100644 --- a/resources/profiles/Prusa/process/0.10mm FastDetail @Prusa XL 0.4.json +++ b/resources/profiles/Prusa/process/0.10mm FastDetail @Prusa XL 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "XS3AmG20Fxg0HJrj", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.1", "wall_loops": "3", "top_shell_layers": "8", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "140", "small_perimeter_speed": "140", diff --git a/resources/profiles/Prusa/process/0.10mm FastDetail @Prusa XL 5T 0.4.json b/resources/profiles/Prusa/process/0.10mm FastDetail @Prusa XL 5T 0.4.json index bcac41bc4c..dfd98b0a3e 100644 --- a/resources/profiles/Prusa/process/0.10mm FastDetail @Prusa XL 5T 0.4.json +++ b/resources/profiles/Prusa/process/0.10mm FastDetail @Prusa XL 5T 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "yjgrEWRAqJh0uM7u", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.1", "wall_loops": "3", "top_shell_layers": "8", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "140", "small_perimeter_speed": "140", diff --git a/resources/profiles/Prusa/process/0.10mm Structural @Prusa XL 0.5.json b/resources/profiles/Prusa/process/0.10mm Structural @Prusa XL 0.5.json index 40c983124c..67efad340a 100644 --- a/resources/profiles/Prusa/process/0.10mm Structural @Prusa XL 0.5.json +++ b/resources/profiles/Prusa/process/0.10mm Structural @Prusa XL 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "MGG24FmbpEVyUV5p", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.1", "wall_loops": "2", "top_shell_layers": "8", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.10mm Structural @Prusa XL 5T 0.5.json b/resources/profiles/Prusa/process/0.10mm Structural @Prusa XL 5T 0.5.json index cadc211e84..625379f593 100644 --- a/resources/profiles/Prusa/process/0.10mm Structural @Prusa XL 5T 0.5.json +++ b/resources/profiles/Prusa/process/0.10mm Structural @Prusa XL 5T 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "dJXdBn0NOlO6W6Zy", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.1", "wall_loops": "2", "top_shell_layers": "8", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.12mm Speed @Prusa XL 0.25.json b/resources/profiles/Prusa/process/0.12mm Speed @Prusa XL 0.25.json index 858d412f5a..1c58b25e85 100644 --- a/resources/profiles/Prusa/process/0.12mm Speed @Prusa XL 0.25.json +++ b/resources/profiles/Prusa/process/0.12mm Speed @Prusa XL 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "6ZetPXVNaXZFsSXN", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.12", "wall_loops": "3", "top_shell_layers": "9", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "120", "small_perimeter_speed": "120", diff --git a/resources/profiles/Prusa/process/0.12mm Speed @Prusa XL 5T 0.25.json b/resources/profiles/Prusa/process/0.12mm Speed @Prusa XL 5T 0.25.json index 21bde4174c..902fe45ebe 100644 --- a/resources/profiles/Prusa/process/0.12mm Speed @Prusa XL 5T 0.25.json +++ b/resources/profiles/Prusa/process/0.12mm Speed @Prusa XL 5T 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "bRTMF8lZsKF6HhPW", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.12", "wall_loops": "3", "top_shell_layers": "9", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "120", "small_perimeter_speed": "120", diff --git a/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 0.25.json b/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 0.25.json index f4f60df63a..a3fe7d6ef9 100644 --- a/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 0.25.json +++ b/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "73SPHauAd2RIus3O", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.12", "wall_loops": "3", "top_shell_layers": "9", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 0.3.json b/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 0.3.json index 1afe27bca8..890c3b3bb8 100644 --- a/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 0.3.json +++ b/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 0.3.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "akgU1dHf7Q5uR4by", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.12", "wall_loops": "3", "top_shell_layers": "7", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "100%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 5T 0.25.json b/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 5T 0.25.json index 0b004e8ac1..2956ac6d00 100644 --- a/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 5T 0.25.json +++ b/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 5T 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "fob7jEb0BgK6RoKn", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.12", "wall_loops": "3", "top_shell_layers": "9", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 5T 0.3.json b/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 5T 0.3.json index a9f66f4666..fdad6baae0 100644 --- a/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 5T 0.3.json +++ b/resources/profiles/Prusa/process/0.12mm Structural @Prusa XL 5T 0.3.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "r7sSm3jhvnCkjUD7", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.12", "wall_loops": "3", "top_shell_layers": "7", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "100%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 0.25.json b/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 0.25.json index 26cdd296be..6aec7dbb2f 100644 --- a/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 0.25.json +++ b/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "cgILXbySCC6nqmEb", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "3", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "120", "small_perimeter_speed": "120", diff --git a/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 0.4.json b/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 0.4.json index b9b377d8d2..e90957fdf8 100644 --- a/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 0.4.json +++ b/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "4AMX1x5HBbBTomRW", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "2", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "170", "small_perimeter_speed": "170", diff --git a/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 5T 0.25.json b/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 5T 0.25.json index 8bbcd589a2..00e8d39876 100644 --- a/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 5T 0.25.json +++ b/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 5T 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "IcqKzHQfnQA1UkW8", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "3", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "120", "small_perimeter_speed": "120", diff --git a/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 5T 0.4.json b/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 5T 0.4.json index 2986511f61..fae601cdcf 100644 --- a/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 5T 0.4.json +++ b/resources/profiles/Prusa/process/0.15mm Speed @Prusa XL 5T 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "AHLStcEIoS1RHwyz", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "2", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "170", "small_perimeter_speed": "170", diff --git a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.25.json b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.25.json index 50a0f4ce26..0d3a1fe488 100644 --- a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.25.json +++ b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "4wRMLZd9QaZoH4kS", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "3", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.4.json b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.4.json index a26826f5f3..5b4c702e27 100644 --- a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.4.json +++ b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "vvxqhkOrXFUatgrU", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "2", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.5.json b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.5.json index 8b3c41bf75..94d680b7e1 100644 --- a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.5.json +++ b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "hPK1xnCvbwYIFJ7H", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "2", "top_shell_layers": "6", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.6.json b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.6.json index 0e66b45a2f..406f67e64c 100644 --- a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.6.json +++ b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "Vk99bKUtLe3aQVtm", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "2", "top_shell_layers": "6", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.25.json b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.25.json index 887af08eab..d1bf53a959 100644 --- a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.25.json +++ b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.25.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "dIHzQRDmPMTuqJwN", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "3", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "150%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "40", diff --git a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.4.json b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.4.json index f9614d0c79..c7d9773cb2 100644 --- a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.4.json +++ b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "teKETDr5ds47ql40", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "2", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.5.json b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.5.json index 2e62ad9632..4364785e40 100644 --- a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.5.json +++ b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "Pryn5mnRWDmI9oL6", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "2", "top_shell_layers": "6", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.6.json b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.6.json index 28d280fa93..2bec72737b 100644 --- a/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.6.json +++ b/resources/profiles/Prusa/process/0.15mm Structural @Prusa XL 5T 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "86FOKdhESDAyjhQv", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.15", "wall_loops": "2", "top_shell_layers": "6", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.16mm Speed @Prusa XL 0.3.json b/resources/profiles/Prusa/process/0.16mm Speed @Prusa XL 0.3.json index bba39e2348..f49821099f 100644 --- a/resources/profiles/Prusa/process/0.16mm Speed @Prusa XL 0.3.json +++ b/resources/profiles/Prusa/process/0.16mm Speed @Prusa XL 0.3.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "EvodY9EfuOW01UoT", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.16", "wall_loops": "3", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "100%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "140", "small_perimeter_speed": "120", diff --git a/resources/profiles/Prusa/process/0.16mm Speed @Prusa XL 5T 0.3.json b/resources/profiles/Prusa/process/0.16mm Speed @Prusa XL 5T 0.3.json index 97f3038464..5df63ae571 100644 --- a/resources/profiles/Prusa/process/0.16mm Speed @Prusa XL 5T 0.3.json +++ b/resources/profiles/Prusa/process/0.16mm Speed @Prusa XL 5T 0.3.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "m3gjDMcaMcVsQ40p", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.16", "wall_loops": "3", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "100%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "140", "small_perimeter_speed": "120", diff --git a/resources/profiles/Prusa/process/0.16mm Structural @Prusa XL 0.3.json b/resources/profiles/Prusa/process/0.16mm Structural @Prusa XL 0.3.json index deae48fb0e..1a52e3fdb5 100644 --- a/resources/profiles/Prusa/process/0.16mm Structural @Prusa XL 0.3.json +++ b/resources/profiles/Prusa/process/0.16mm Structural @Prusa XL 0.3.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "af3rNSTMisNshYoW", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.16", "wall_loops": "3", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "100%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.16mm Structural @Prusa XL 5T 0.3.json b/resources/profiles/Prusa/process/0.16mm Structural @Prusa XL 5T 0.3.json index c2d1560e78..5975e21023 100644 --- a/resources/profiles/Prusa/process/0.16mm Structural @Prusa XL 5T 0.3.json +++ b/resources/profiles/Prusa/process/0.16mm Structural @Prusa XL 5T 0.3.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "ruo2hwRFtsXf0b6V", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.16", "wall_loops": "3", "top_shell_layers": "6", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "100%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.3.json b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.3.json index dab45f662a..559d7f2daf 100644 --- a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.3.json +++ b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.3.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "FqJrjcMDEtvz4jch", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "3", "top_shell_layers": "5", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "100%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "140", "small_perimeter_speed": "120", diff --git a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.4.json b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.4.json index b0cac6a312..b0fc7bf1f4 100644 --- a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.4.json +++ b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "zV7NsprJfhqVv5y4", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "170", "small_perimeter_speed": "170", diff --git a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.5.json b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.5.json index 491377b06a..4714187237 100644 --- a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.5.json +++ b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "4ZEDsA7dwvEUWMMd", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "140", "small_perimeter_speed": "140", diff --git a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.6.json b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.6.json index 7abdeef07f..d01d892a39 100644 --- a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.6.json +++ b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "KGgLyPwKSFxPjSvx", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "120", "small_perimeter_speed": "120", diff --git a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.3.json b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.3.json index ac28bcb2a9..69ec189e8e 100644 --- a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.3.json +++ b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.3.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "a0baBMlcEFTb2OZ8", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "3", "top_shell_layers": "5", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "100%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "140", "small_perimeter_speed": "120", diff --git a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.4.json b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.4.json index ca2a97b65b..b70eb358f9 100644 --- a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.4.json +++ b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "pwGO2EEQjnIEhyKf", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "170", "small_perimeter_speed": "170", diff --git a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.5.json b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.5.json index fef2204de3..2e4c258038 100644 --- a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.5.json +++ b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "5F5Ch0i10mTq3zuV", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "140", "small_perimeter_speed": "140", diff --git a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.6.json b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.6.json index abc273ff82..a0af904774 100644 --- a/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.6.json +++ b/resources/profiles/Prusa/process/0.20mm Speed @Prusa XL 5T 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "NqR708bAWmTqXUFY", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "120", "small_perimeter_speed": "120", diff --git a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.4.json b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.4.json index 60d3811370..9dc2b4ffe8 100644 --- a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.4.json +++ b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "Qxbp7FRlShkyIUMl", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.5.json b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.5.json index 4a4cbc41ac..7a96075fa8 100644 --- a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.5.json +++ b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "4GvQY4XeLAzrYIRW", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.6.json b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.6.json index 5af5fce34f..3a738779b7 100644 --- a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.6.json +++ b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "TcJJBvFu5zKjphzL", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.4.json b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.4.json index b6a0286d0a..ed9c299049 100644 --- a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.4.json +++ b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "FagNs0wxnyQOYiaQ", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.5.json b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.5.json index d0a18dc4af..259ad6a4be 100644 --- a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.5.json +++ b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "pO0wAwE0qoXzEQpV", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.6.json b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.6.json index 2ec55473d5..5f3defe2ff 100644 --- a/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.6.json +++ b/resources/profiles/Prusa/process/0.20mm Structural @Prusa XL 5T 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "8OkUXQAW5vByC09t", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.2", "wall_loops": "2", "top_shell_layers": "5", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 0.5.json b/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 0.5.json index 5af9cf63ea..247a68389a 100644 --- a/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 0.5.json +++ b/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "tq9hNTKxOHFsZMgD", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.25", "wall_loops": "2", "top_shell_layers": "4", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "140", "small_perimeter_speed": "140", diff --git a/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 0.6.json b/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 0.6.json index 0c01b887dd..ad38a350e0 100644 --- a/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 0.6.json +++ b/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "kYif9gSFIrI9L3CW", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.25", "wall_loops": "2", "top_shell_layers": "4", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "80", diff --git a/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 5T 0.5.json b/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 5T 0.5.json index 7f7664d19b..3a696afe30 100644 --- a/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 5T 0.5.json +++ b/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 5T 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "wd734eTxLLTp27F6", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.25", "wall_loops": "2", "top_shell_layers": "4", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "140", "small_perimeter_speed": "140", diff --git a/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 5T 0.6.json b/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 5T 0.6.json index 5793905ca7..3ea1c25cbf 100644 --- a/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 5T 0.6.json +++ b/resources/profiles/Prusa/process/0.25mm Speed @Prusa XL 5T 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "t8zI85OaAzx7AsyL", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.25", "wall_loops": "2", "top_shell_layers": "4", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "80", diff --git a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.4.json b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.4.json index 85c5e02eb6..2b5cc8e932 100644 --- a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.4.json +++ b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "uL9lKUTCwCBZzAKb", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.25", "wall_loops": "2", "top_shell_layers": "4", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.5.json b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.5.json index 6b27ad3553..08f8aa8d5a 100644 --- a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.5.json +++ b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "BOc6zlHnIaJ1rmc1", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.25", "wall_loops": "2", "top_shell_layers": "4", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.6.json b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.6.json index c5817295d0..c7b053b00e 100644 --- a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.6.json +++ b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "A90mwMlerqcS0vrw", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.25", "wall_loops": "2", "top_shell_layers": "4", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.4.json b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.4.json index a764f7ebfd..a02224c10b 100644 --- a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.4.json +++ b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.4.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "Edfv72b1RXBgmN2G", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.25", "wall_loops": "2", "top_shell_layers": "4", @@ -25,7 +24,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.2", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.5.json b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.5.json index 45f0fcca77..6c6c15ada8 100644 --- a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.5.json +++ b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.5.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "XucbZWnHhwG4rAhk", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.25", "wall_loops": "2", "top_shell_layers": "4", @@ -26,7 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.22", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.6.json b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.6.json index 1486fc47a8..5f45280e1d 100644 --- a/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.6.json +++ b/resources/profiles/Prusa/process/0.25mm Structural @Prusa XL 5T 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "5J54CuOpmESv7rvu", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.25", "wall_loops": "2", "top_shell_layers": "4", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "80", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.30mm Detail @Prusa XL 0.8.json b/resources/profiles/Prusa/process/0.30mm Detail @Prusa XL 0.8.json index b151b0158b..167c9585e1 100644 --- a/resources/profiles/Prusa/process/0.30mm Detail @Prusa XL 0.8.json +++ b/resources/profiles/Prusa/process/0.30mm Detail @Prusa XL 0.8.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "JM08ZuRlG9tw2qoT", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.3", "wall_loops": "2", "top_shell_layers": "4", @@ -29,7 +28,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.35", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.30mm Detail @Prusa XL 5T 0.8.json b/resources/profiles/Prusa/process/0.30mm Detail @Prusa XL 5T 0.8.json index 03d08a0ff7..3d8864d010 100644 --- a/resources/profiles/Prusa/process/0.30mm Detail @Prusa XL 5T 0.8.json +++ b/resources/profiles/Prusa/process/0.30mm Detail @Prusa XL 5T 0.8.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "mVylvEhxHQAHdsb2", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.3", "wall_loops": "2", "top_shell_layers": "4", @@ -29,7 +28,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.35", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.32mm Speed @Prusa XL 0.6.json b/resources/profiles/Prusa/process/0.32mm Speed @Prusa XL 0.6.json index cbfb7d03ee..12af550dad 100644 --- a/resources/profiles/Prusa/process/0.32mm Speed @Prusa XL 0.6.json +++ b/resources/profiles/Prusa/process/0.32mm Speed @Prusa XL 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "d3SdQ2Ms90vQRJbJ", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.32", "wall_loops": "2", "top_shell_layers": "4", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "70", diff --git a/resources/profiles/Prusa/process/0.32mm Speed @Prusa XL 5T 0.6.json b/resources/profiles/Prusa/process/0.32mm Speed @Prusa XL 5T 0.6.json index 0a5a7eb355..6986637a7f 100644 --- a/resources/profiles/Prusa/process/0.32mm Speed @Prusa XL 5T 0.6.json +++ b/resources/profiles/Prusa/process/0.32mm Speed @Prusa XL 5T 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "A2r7IL3r5X8aq4K9", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.32", "wall_loops": "2", "top_shell_layers": "4", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "70", diff --git a/resources/profiles/Prusa/process/0.32mm Structural @Prusa XL 0.6.json b/resources/profiles/Prusa/process/0.32mm Structural @Prusa XL 0.6.json index 29719b30ea..633bf8cff4 100644 --- a/resources/profiles/Prusa/process/0.32mm Structural @Prusa XL 0.6.json +++ b/resources/profiles/Prusa/process/0.32mm Structural @Prusa XL 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "4ncLiUnnM834iAYT", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.32", "wall_loops": "2", "top_shell_layers": "5", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.32mm Structural @Prusa XL 5T 0.6.json b/resources/profiles/Prusa/process/0.32mm Structural @Prusa XL 5T 0.6.json index fd7d7bfcda..4e5cfff85c 100644 --- a/resources/profiles/Prusa/process/0.32mm Structural @Prusa XL 5T 0.6.json +++ b/resources/profiles/Prusa/process/0.32mm Structural @Prusa XL 5T 0.6.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "xeKmcP5CbIOoRybG", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.32", "wall_loops": "2", "top_shell_layers": "5", @@ -26,8 +25,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.25", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "70", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.40mm Quality @Prusa XL 0.8.json b/resources/profiles/Prusa/process/0.40mm Quality @Prusa XL 0.8.json index bcbdde8b77..74d8893bf1 100644 --- a/resources/profiles/Prusa/process/0.40mm Quality @Prusa XL 0.8.json +++ b/resources/profiles/Prusa/process/0.40mm Quality @Prusa XL 0.8.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "tj6gyfFMCp33ihPU", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.4", "wall_loops": "2", "top_shell_layers": "4", @@ -29,7 +28,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.35", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "50", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.40mm Quality @Prusa XL 5T 0.8.json b/resources/profiles/Prusa/process/0.40mm Quality @Prusa XL 5T 0.8.json index aba69efc59..d5284fba53 100644 --- a/resources/profiles/Prusa/process/0.40mm Quality @Prusa XL 5T 0.8.json +++ b/resources/profiles/Prusa/process/0.40mm Quality @Prusa XL 5T 0.8.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "U8SGkKfwyjRe5VCr", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.4", "wall_loops": "2", "top_shell_layers": "4", @@ -29,7 +28,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.35", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "50", "small_perimeter_speed": "45", diff --git a/resources/profiles/Prusa/process/0.55mm Draft @Prusa XL 0.8.json b/resources/profiles/Prusa/process/0.55mm Draft @Prusa XL 0.8.json index 88f4fc1904..b5488f06af 100644 --- a/resources/profiles/Prusa/process/0.55mm Draft @Prusa XL 0.8.json +++ b/resources/profiles/Prusa/process/0.55mm Draft @Prusa XL 0.8.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "M2F7JmD5xGYpqZKq", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.55", "wall_loops": "2", "top_shell_layers": "4", @@ -29,7 +28,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.35", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "40", "small_perimeter_speed": "35", diff --git a/resources/profiles/Prusa/process/0.55mm Draft @Prusa XL 5T 0.8.json b/resources/profiles/Prusa/process/0.55mm Draft @Prusa XL 5T 0.8.json index d5573b0faf..e360db6453 100644 --- a/resources/profiles/Prusa/process/0.55mm Draft @Prusa XL 5T 0.8.json +++ b/resources/profiles/Prusa/process/0.55mm Draft @Prusa XL 5T 0.8.json @@ -5,7 +5,6 @@ "from": "system", "setting_id": "uQMlAQBEj5Rf1gBW", "instantiation": "true", - "inital_layer_height": "0.2", "layer_height": "0.55", "wall_loops": "2", "top_shell_layers": "4", @@ -29,7 +28,6 @@ "support_interface_top_layers": "5", "support_interface_spacing": "0.35", "support_object_xy_distance": "80%", - "tree_support_bramch_diameter_angle": "5", "tree_support_tip_diameter": "0.8", "inner_wall_speed": "40", "small_perimeter_speed": "35", diff --git a/resources/profiles/Prusa/process/process_common_mk3.json b/resources/profiles/Prusa/process/process_common_mk3.json index 43a1232daa..5d7669f0de 100644 --- a/resources/profiles/Prusa/process/process_common_mk3.json +++ b/resources/profiles/Prusa/process/process_common_mk3.json @@ -97,7 +97,6 @@ "tree_support_branch_angle": "40", "tree_support_branch_diameter": "2", "tree_support_branch_diameter_angle": "3", - "tree_support_branch_diameter_double_wall": "3", "tree_support_tip_diameter": "0.6", "tree_support_top_rate": "30%", "wall_distribution_count": "1", diff --git a/resources/profiles/Prusa/process/process_common_mk4s.json b/resources/profiles/Prusa/process/process_common_mk4s.json index 1995005570..b395f11912 100644 --- a/resources/profiles/Prusa/process/process_common_mk4s.json +++ b/resources/profiles/Prusa/process/process_common_mk4s.json @@ -84,7 +84,6 @@ "tree_support_branch_angle": "40", "tree_support_branch_diameter": "2", "tree_support_branch_diameter_angle": "5", - "tree_support_branch_diameter_double_wall": "3", "tree_support_tip_diameter": "0.8", "tree_support_top_rate": "30%", "outer_wall_filament_id": "0", diff --git a/resources/profiles/Prusa/process/process_common_xl.json b/resources/profiles/Prusa/process/process_common_xl.json index 39d5cac823..4574206dc1 100644 --- a/resources/profiles/Prusa/process/process_common_xl.json +++ b/resources/profiles/Prusa/process/process_common_xl.json @@ -37,8 +37,6 @@ "tree_support_branch_angle_organic": "40", "tree_support_angle_slow": "30", "tree_support_branch_diameter_organic": "2", - "tree_support_bramch_diameter_angle": "3", - "tree_support_branch_diameter_double_wall": "3", "tree_support_tip_diameter": "0.6", "tree_support_top_rate": "30%", "tree_support_branch_distance_organic": "1", From b5c4ccd9c5c773027df0318eb1723d3cae26421a Mon Sep 17 00:00:00 2001 From: Kris Austin Date: Fri, 6 Nov 2026 09:23:38 -0600 Subject: [PATCH 16/26] 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. --- src/libslic3r/PresetBundle.cpp | 3 + .../libslic3r/test_preset_bundle_loading.cpp | 60 +++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/src/libslic3r/PresetBundle.cpp b/src/libslic3r/PresetBundle.cpp index 4ef7155fbe..9231aa78c0 100644 --- a/src/libslic3r/PresetBundle.cpp +++ b/src/libslic3r/PresetBundle.cpp @@ -6479,6 +6479,9 @@ void PresetBundle::load_config_file_config(const std::string &name_or_path, bool this->update_compatible(PresetSelectCompatibleType::Never); this->update_multi_material_filament_presets(); + // The call above does not resize the colour and map arrays, which must match filament_presets. + if (printer_technology == ptFFF && this->filament_presets.size() > this->project_config.option("filament_colour")->values.size()) + this->set_num_filaments(this->filament_presets.size()); // A "published" 3MF project overlays the author-selected published keys onto the user's // currently-selected (edited) process preset. Keys that cannot be applied are collected for diff --git a/tests/libslic3r/test_preset_bundle_loading.cpp b/tests/libslic3r/test_preset_bundle_loading.cpp index 9e84add9c9..12db21498c 100644 --- a/tests/libslic3r/test_preset_bundle_loading.cpp +++ b/tests/libslic3r/test_preset_bundle_loading.cpp @@ -8037,6 +8037,66 @@ TEST_CASE("A multi-toolhead project saved without filament self indices loads ev CHECK(bundle.project_config.opt("filament_colour")->values == colors); } +TEST_CASE("A project with fewer filaments than tools fills every filament slot", "[Preset][Bundle][Regression]") +{ + const size_t tool_count = 4; + DynamicPrintConfig config = DynamicPrintConfig::full_print_config(); + config.opt("filament_colour")->values = { "#FF0000", "#00FF00" }; + config.opt("nozzle_diameter")->values = std::vector(tool_count, 0.4); + config.option("single_extruder_multi_material")->value = false; + Preset::normalize(config); + + PresetBundle bundle; + bundle.load_config_model("test.3mf", std::move(config)); + + const auto &colors = bundle.project_config.opt("filament_colour")->values; + REQUIRE(bundle.filament_presets.size() == tool_count); + REQUIRE(colors.size() == tool_count); + CHECK(colors[0] == "#FF0000"); + CHECK(colors[1] == "#00FF00"); + CHECK(bundle.project_config.opt("filament_colour_type")->values.size() == tool_count); + CHECK(bundle.project_config.opt("filament_multi_colour")->values.size() == tool_count); + CHECK(bundle.project_config.opt("filament_map")->values.size() == tool_count); + + const size_t head_count = bundle.project_config.opt("flush_multiplier")->values.size(); + CHECK(bundle.project_config.opt("flush_volumes_matrix")->values.size() == colors.size() * colors.size() * head_count); + + SECTION("an overwriting sync with two empty tools keeps those slots") { + Preset &filament = add_inmemory_preset(bundle.filaments, "Test PLA"); + filament.filament_id = "GFSL00"; + filament.config.option("filament_type", true)->values = { "PLA" }; + + auto tray = [](const std::string &filament_id, const std::string &color, const std::string &slot_id, bool placeholder) { + DynamicPrintConfig tray_config; + tray_config.set_key_value("filament_id", new ConfigOptionStrings{ filament_id }); + tray_config.set_key_value("filament_colour", new ConfigOptionStrings{ color }); + tray_config.set_key_value("filament_colour_type", new ConfigOptionStrings{ "1" }); + tray_config.set_key_value("filament_multi_colour", new ConfigOptionStrings{ color }); + tray_config.set_key_value("filament_type", new ConfigOptionStrings{ "PLA" }); + tray_config.set_key_value("ams_id", new ConfigOptionStrings{ "0" }); + tray_config.set_key_value("slot_id", new ConfigOptionStrings{ slot_id }); + tray_config.set_key_value("filament_slot_placeholder", new ConfigOptionBools{ placeholder }); + return tray_config; + }; + bundle.filament_ams_list.emplace(0, tray(filament.filament_id, "#123456", "0", false)); + bundle.filament_ams_list.emplace(1, tray(filament.filament_id, "#654321", "1", false)); + bundle.filament_ams_list.emplace(2, tray("", "", "2", true)); + bundle.filament_ams_list.emplace(3, tray("", "", "3", true)); + + std::vector> unknowns; + std::map maps; + MergeFilamentInfo merge_info; + const std::string kept_color = colors[2]; + CHECK(bundle.sync_ams_list(unknowns, false, maps, false, merge_info) == tool_count); + + REQUIRE(colors.size() == tool_count); + CHECK(colors[0] == "#123456"); + CHECK(colors[1] == "#654321"); + CHECK(colors[2] == kept_color); + CHECK(colors[3] == kept_color); + } +} + TEST_CASE("A system preset resolves by name from the bundled profiles", "[Preset][Bundle]") { ScopedTemporaryDir temp_dir; From d76276778c1879373eef4f49055b685fba8d41be Mon Sep 17 00:00:00 2001 From: Kris Austin Date: Fri, 6 Nov 2026 09:36:30 -0600 Subject: [PATCH 17/26] 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. --- resources/profiles/OrcaFilamentLibrary.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/profiles/OrcaFilamentLibrary.json b/resources/profiles/OrcaFilamentLibrary.json index be709fb1cb..143e28bd58 100644 --- a/resources/profiles/OrcaFilamentLibrary.json +++ b/resources/profiles/OrcaFilamentLibrary.json @@ -1,6 +1,6 @@ { "name": "OrcaFilamentLibrary", - "version": "02.04.00.24", + "version": "02.04.00.25", "force_update": "0", "description": "Orca Filament Library", "filament_list": [ From 932b49225294dd621b7b38178f86d8f1a5ada89c Mon Sep 17 00:00:00 2001 From: Ian Chua Date: Sat, 7 Nov 2026 00:00:18 +0800 Subject: [PATCH 18/26] 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 --- docs/HLSD/plugin-permissions.md | 329 ++++++++ docs/HLSD/python-plugin-async-bridge.md | 8 +- localization/i18n/list.txt | 1 + resources/web/dialog/PluginsDialog/index.html | 7 + resources/web/dialog/PluginsDialog/index.js | 502 +++++++++++- resources/web/dialog/PluginsDialog/styles.css | 399 +++++++++- src/slic3r/CMakeLists.txt | 2 + src/slic3r/GUI/GUI_App.cpp | 11 + src/slic3r/GUI/GUI_App.hpp | 3 + src/slic3r/GUI/PluginPermissionValidation.cpp | 374 +++++++++ src/slic3r/GUI/PluginPermissionValidation.hpp | 43 ++ src/slic3r/GUI/PluginsDialog.cpp | 259 ++++++- src/slic3r/GUI/PluginsDialog.hpp | 6 + src/slic3r/plugin/PluginAuditManager.cpp | 582 +++++++++++--- src/slic3r/plugin/PluginAuditManager.hpp | 15 +- src/slic3r/plugin/PluginFsUtils.cpp | 209 ++++- src/slic3r/plugin/PluginFsUtils.hpp | 54 +- src/slic3r/plugin/PluginLoader.cpp | 40 +- src/slic3r/plugin/PluginManager.cpp | 120 ++- src/slic3r/plugin/PluginManager.hpp | 47 +- src/slic3r/plugin/PythonPluginBridge.cpp | 7 +- tests/slic3rutils/CMakeLists.txt | 1 + tests/slic3rutils/test_plugin_audit.cpp | 728 ++++++++++++++++++ tests/slic3rutils/test_plugin_install.cpp | 539 ++++++++++++- tests/slic3rutils/test_plugin_lifecycle.cpp | 58 ++ .../test_plugin_permission_validation.cpp | 325 ++++++++ 26 files changed, 4527 insertions(+), 142 deletions(-) create mode 100644 docs/HLSD/plugin-permissions.md create mode 100644 src/slic3r/GUI/PluginPermissionValidation.cpp create mode 100644 src/slic3r/GUI/PluginPermissionValidation.hpp create mode 100644 tests/slic3rutils/test_plugin_permission_validation.cpp diff --git a/docs/HLSD/plugin-permissions.md b/docs/HLSD/plugin-permissions.md new file mode 100644 index 0000000000..8e7dc42203 --- /dev/null +++ b/docs/HLSD/plugin-permissions.md @@ -0,0 +1,329 @@ +# Plugin permissions and audit - High Level Design + +## Purpose and scope + +Python plugins run inside the OrcaSlicer process. OrcaSlicer restricts what a plugin +can do by installing a CPython audit hook and judging the events it recognizes against +per-plugin grants. This document describes that policy: how an event is attributed to a +plugin, when it is allowed without a prompt, how the user is asked, where the answer is +stored, and what full access changes. + +The policy is a Python audit-hook policy, not an operating-system sandbox. A plugin still +runs in the host process with the user's filesystem and network rights. The limits that +follow from that are listed under "Security limitations". + +The Plugins dialog exposes the stored grants and the full-access switch, but the +enforcement lives in `src/slic3r/plugin` (built into `libslic3r_gui`) and applies whenever +a capability call runs, whether or not the dialog is open. The Script execution path that opens the audit scope is described +in [python-plugin-async-bridge.md](python-plugin-async-bridge.md). + +## Permission model + +Permissions are stored per plugin key. A plugin can hold: + +| Field | Kind | Governs | +| --- | --- | --- | +| `fs_read` | target list | Read-shaped filesystem events. Targets are exact paths or `

/*` trees. | +| `fs_readwrite` | target list | Write-shaped and read/write filesystem events mapped to `FsReadWrite`: a write-mode `open`, rename, chmod, utime, copy, move, archive extraction, and similar. Same target matching as `fs_read`. A write-mode `open` can create a file, but this grant does not cover events mapped to `FsCreate` or `FsDelete`, which have no persistent grant list. | +| `network_http` | target list | Network targets, consulted together with `network_socket` for both HTTP and socket events. A canonical `scheme://host` entry is host-wide and covers both layers; a URL with a path, port, query or trailing slash is exact; a bare host or legacy address tuple covers raw sockets. | +| `network_socket` | target list | The same network matching, kept as a separate list so a plugin can declare socket access without an HTTP URL. | +| `process` | target list | Process creation and process replacement: `os.system`, `subprocess.Popen`, `os.spawn*`, `os.exec*`, `pty.spawn`, `_winapi.CreateProcess`, and similar. Targets match the audited value verbatim. | +| `threading` | boolean | Permission to start a Python thread with `_thread.start_new_thread`. | +| `events` | target list | Audited events that expose no target, keyed as `:`, for example `Socket:socket.__new__`. Matched verbatim. | +| `full_access` | boolean | Turns off the permission decision for the plugin. See "Full access". | + +Filesystem create and delete events (`os.mkdir`, `os.symlink`, `tempfile.mkstemp`, +`os.remove`, `shutil.rmtree`, and similar) are audited, but they have no persistent grant +list. A `fs_read` or `fs_readwrite` grant does not cover these events, although a write grant +can create a file through `open()`. Without full access, each such +event outside an allowed root is prompted only when it can be answered inline. On the wx +main thread a Yes applies only to the operation that raised it and is not saved. Off the +main thread the event is denied immediately and an informational denial is shown instead; +there is no Yes/No prompt, no saved grant, and no promise that a later attempt will be +approved. + +### Target matching + +- Exact filesystem entries match the audited path verbatim. An absolute exact entry also + matches an equivalent canonical path, including a symlink alias or a relative target resolved + against the current working directory. Relative exact entries match only verbatim, so their + equivalence scope cannot move with the working directory. Canonical equivalence fails closed + for dangling final symlinks; verbatim matches retain their existing behavior. + A tree grant `/*` covers the named folder and every path below it. `*` is the only + wildcard and is recognized only as the final path component. A read grant never + authorizes a write, and the reverse. Tree matching canonicalizes both sides, so a + symlink below the granted folder cannot extend the grant outside it. A tree grant's + root must be absolute on the current platform: a relative root never matches, even when a + target is spelled exactly like the entry, so the scope cannot float with the process + working directory. +- Network entries can be an HTTP URL, a canonical `scheme://host`, a bare host, a + `host:port` pair, or a legacy persisted address tuple such as `('host', 443)`. + `normalize_network_url` reduces a URL to lowercase `scheme://host`; path, query, + fragment, userinfo and port are dropped. A bare host, a `host:port` pair, or a legacy + tuple is a raw-socket grant; it does not match an HTTP URL. A raw-socket entry has its + port removed when it is matched, so a host-based network grant does not restrict ports. + A canonical entry is host-wide and applies to HTTP and raw socket events for that host. + A URL with a path, port, query, fragment or trailing slash that was stored without + normalization remains an exact match. +- Process entries are compared verbatim with the string the audit event reports, + including Python representations of a command. +- An event with no target is granted by the `events` entry for its category and name. A + targetless network event, such as `http.client.send`, is covered by any recorded + network grant instead. + +## Runtime enforcement + +### Audit hook and attribution + +`PluginAuditManager::install_hook` installs a global CPython audit hook with +`PySys_AddAuditHook` while the embedded interpreter initializes, before any plugin code +runs. The hook recognizes a fixed set of audit events and groups them into filesystem +read, filesystem read/write, filesystem create, filesystem delete, HTTP, socket, process +create, process replace, and threading categories. Events outside that map are ignored. +`open` is categorized from its mode: write, append, update, or exclusive modes are +write-shaped, and a read-only mode is read-shaped. + +Attribution is thread-local. `ScopedPluginAuditContext` stores the previous plugin key, +capability name, scoped filesystem roots and operation-root frames, then installs the +current call's values. The trampoline machinery opens this scope for every C++ to Python +capability call; the Script worker opens it for the whole invocation, including an async +suspension, and the `_thread.start_new_thread` shim re-establishes it inside a thread the +plugin creates. Events raised while no plugin scope is active are allowed and not +attributed. Module import and `register_capabilities` run without such a scope. + +### Decision order + +For a recognized event raised inside a plugin scope, `audit_plugin_event` decides in this +order: + +1. **Unconditional denied path.** For a filesystem event, a target whose base name is a + denied filename, or whose path contains a denied keyword, is denied. This check runs + before allowed roots, before a granted operation and before full access, so no grant + can make a denied path reachable. +2. **Covered by a granted operation.** When a granted root operation is still running, + nested events raised through its standard-library frames are allowed without another + prompt. The coverage is bounded to the operation frame and does not extend to plugin + or third-party frames it calls back into. A nested `urllib.Request` is judged on its + own URL, including when it follows a redirect. +3. **Implicit allowed root or standard-library read.** A filesystem target inside an + allowed root is allowed; a read of the interpreter's standard library is also allowed. + See "Implicit access". +4. **Full access.** If the plugin's readable sidecar has `full_access` set, the event is + allowed. +5. **Saved grant.** A matching entry in the appropriate list allows the event. +6. **Prompt.** Otherwise the user is asked. A granted prompt allows the event and, for a + category with a persistent list, saves the target. A denied or unanswered prompt raises + `PermissionError` in the plugin and records the violation. + +After a granted root event with a target, the hook records the operation frame so the +nested events of the same operation are not asked again. + +## Permission prompts + +### Declared permissions during load + +A plugin declares its needs from Python with `orca.request_permissions(...)` while +`register_capabilities` runs. The bridge collects the declarations per plugin. After +registration returns and before any capability instance is created, OrcaSlicer presents +one combined prompt for the targets not already stored. Denying the request aborts the +load. A readable sidecar with `full_access` accepts the declaration without a prompt and +without adding a grant. + +Network URLs passed to `request_permissions(network=...)` are normalized to +`scheme://host` before prompting or storing, so one approval covers every path and port +on that host and also authorizes raw sockets to it. A relative filesystem tree grant is +resolved against the working directory when the request is made, so the prompt and the +sidecar show the absolute scope it covers. + +### Runtime prompts + +An event that is not covered by a saved grant or an implicit rule is either put to the +user or denied. If the caller is on the wx main thread, the modal runs inline. If it is +not, as on the Script workflow, the plugin-load worker, or the slicing worker, the current +event is denied and the outcome is reported asynchronously. For a category with a persistent +grant list, a Yes/No prompt is posted to the main thread with `CallAfter`; if the user +accepts, the grant is saved and a later matching attempt can succeed without another prompt. +Create and delete do not support persistent grants: on the main thread they use the inline +prompt described above, while off the main thread they are denied and only an informational +denial is posted. That path offers no Yes/No choice and does not claim that the operation can +be approved on a retry. Blocking a worker on a marshalled modal is avoided because the UI +thread can itself be parked on the slicing worker. + +Runtime approvals store the target observed by the audit hook. A URL with a path, port or +query is therefore an exact grant; a bare host remains usable for raw sockets. The +declared form and the runtime form are not normalized by the same code path. + +## Implicit access + +Some access needs no grant because it is part of the plugin system's normal operation: + +- `data_dir()` is a read-write root. It contains the plugin directories, each plugin's + storage, the installed/system profile cache, and the plugin package files themselves. +- `resources_dir()` is a read-only root. Plugins can inspect bundled assets but cannot + write to the shared installation. +- Standard-library files are readable. Site-packages are excluded from this exemption. +- A per-call scoped root can be added. The G-code post-process hook grants the folder + containing the exported G-code file so the plugin can edit it; the root is scoped to + that call. + +### Denied paths + +The following are denied before any allowed root or full-access check: + +- Base names starting with the application configuration names, the cloud user-secret + file, or `.install_state.json`. The comparison is case-insensitive and covers `.bak` + and `.tmp` companions through the prefix match. +- Any path component matching `secret`, `secrets`, `cert`, `certs`, `certificate`, + `certificates`, `conf`, or `config`. The `conf` keyword also blocks `.conf` and `.ini` + file names. Matching is on whole components, not substrings, so imports such as + `numpy/__config__.py` remain usable. Inside `data_dir()`, only components below + `data_dir()` are checked, because the application data directory can itself sit under + a path component such as `config`. + +## Persistence and editing + +Grants and install state live in `.install_state.json` in the plugin root. The +`permissions` object stores `fs_read`, `fs_readwrite`, `network_http`, +`network_socket`, `process`, `threading`, `events`, and `full_access`. The file is +written by `write_install_state`, the single writer for the sidecar schema. In-process +reads and read-modify-write operations are synchronized. Writes prepare a complete +replacement in the plugin directory and replace the sidecar only after the write succeeds. +The lock does not coordinate separate OrcaSlicer processes sharing a data directory. + +Reading is deliberately fail-closed: + +- A missing, unreadable, or malformed sidecar means no grants and no full access. +- `threading` is a boolean. Older sidecars stored a string or array; a nonempty value + reads as granted, an empty one as denied, and the next normal write stores the boolean + form. Reading never rewrites the file. +- `full_access` is enabled only by an explicit JSON boolean. A missing key, a string, a + number, or any other type reads as false. + +A sidecar that exists but cannot be read is never overwritten, because it may still hold +grants and capability choices. The one exception is a plugin load: if the sidecar is a +regular file that reads in full but does not parse, as a crash or a hand edit can leave +it, the load moves it to `.install_state.json.corrupt` before any plugin code runs. The +plugin then counts as having no sidecar, so its declared permissions are asked for again +and a fresh sidecar is written, while the old bytes stay beside it for manual recovery. +Anything else at the sidecar path is left in place: a link or a directory, or a file +that cannot be opened or read in full, since a read error can look like truncated +contents. + +Each audit decision reads the current sidecar through +`PluginManager::get_install_state`, so a grant persisted by a prompt applies to +subsequent top-level operations. A root frame that was already recorded is not +re-evaluated. + +Installing or reinstalling a package resets its permissions, then +`revoke_plugin_permissions` clears the permission object so the new code must request +access again. Loading an already installed package preserves the existing sidecar +grants while updating install metadata, the enabled flag, and capability flags. + +The Plugins dialog edits the same sidecar, including while the plugin is loaded or loading. +Each committed edit is applied immediately to the latest stored state, preserving unrelated +permissions, install metadata, the enabled flag, and capability flags. Concurrent changes to +the same permission take effect in write order. The dialog validates added or changed +targets; unchanged entries, including grants written by an older release, are carried across +byte-for-byte. New filesystem targets must be absolute on the current +platform: a POSIX path starts at `/`, and a Windows path names a drive plus root or a UNC +share. A `*` is accepted only as the final `/*` of a folder tree, and `..` components are +refused. The matcher also refuses to widen a relative tree root, so a relative tree entry +saved by hand or carried over from an older release never authorizes. New network targets +must be a full `http://` or `https://` URL; the writer stores `normalize_network_url`'s canonical +lowercase `scheme://host`, dropping port, path, query and fragment. Bare hosts, other +schemes, wildcards and URLs carrying userinfo are refused rather than guessed. Network +entries cover every port, path and query on the host. + +The dialog warns before enabling full access. Grants stored +while full access is on are inert and apply again when full access is off. Turning full access +on does not delete the stored lists. A permission change affects subsequent audit decisions, +not operations already authorized. + +## Full access + +Full access is a per-plugin boolean that turns off the permission decision. It does not +remove the audit hook. For recognized events it is reached after the unconditional +denied-path check, so the application configuration, the cloud user-secret file, +certificates, configuration paths, and `.install_state.json` stay blocked from direct +Python access. Everything else that the audit hook recognizes is allowed without a grant +or a prompt, and declared permissions are accepted without prompting. The read-only +`resources_dir()` root is a normal-mode restriction only: full access permits writes there +when the operating system allows them. The denied `cert` keyword still blocks the bundled +certificate. + +Enabling full access requires a known installed package with valid metadata. Disabling it +accepts any known installed package, including one whose metadata has become invalid, so +the switch can always be turned off. The Plugins dialog asks for a native confirmation +before enabling it and gives the No button the initial focus. The confirmation is a +warning about the actual limit: full access is not a sandbox. The plugin can read and +write most files the user can access, and modifying startup or application files can run +code outside these checks. A subprocess started by the plugin is not restricted by the +audit hook at all. + +A change applies to subsequent top-level audited operations. An operation that already +recorded its root frame keeps that coverage for its lifetime; changing the flag does not +retract it. Because the flag is read from the sidecar, a sidecar that cannot be read is +never treated as an opt-out. + +## Security limitations + +- **Python audit policy, not an OS sandbox.** Plugins run in the OrcaSlicer process with + the user's operating-system rights. The hook constrains only the mapped, audited + operations it observes. +- **Only recognized events are judged.** An audit event outside the map is ignored. + Native code that performs filesystem, network, or process work without raising a + mapped CPython audit event is not checked. +- **Module import and registration are not attributed.** The audit scope opens for + capability calls, not for importing a plugin module or running + `register_capabilities`. Code executed during those phases has no plugin audit + context, so its events are not attributed or restricted. +- **Subprocesses leave the policy.** A process created by a granted or full-access + plugin runs with the user's rights and is not covered by the parent's audit scope. +- **Host APIs are not audit events.** Calls into OrcaSlicer's Python host APIs, such as + preset updates or UI actions, execute C++ host code and follow that API's contract. The + audit hook judges the Python-level filesystem, network, process and thread events it is + given, not the host API's internal work. +- **Denied paths are a direct-access block.** Path laundering through a symlink, + hardlink, subprocess, or Windows 8.3 short name is outside the model. A tree grant is + canonicalized for matching, but the deny check itself is base-name and component based. +- **`data_dir()` is shared and writable.** Every plugin can write anywhere in the + application data directory, including other plugin package files. Only the + install-state sidecar and the denied names and keywords are blocked there. +- **Legacy entries keep their old meaning, except relative tree roots.** Plugin + declarations normalize network URLs and resolve relative tree grants at request time, + and the Plugins dialog normalizes newly entered or edited values the same way. A grant + already stored by an older release is preserved verbatim when it is left unchanged, so + a persisted URL with a path, port, query, fragment or trailing slash remains an exact + grant, and an exact relative entry still matches verbatim. A persisted relative tree + entry no longer authorizes: the matcher requires an absolute tree root, so the entry must + be re-entered as an absolute path to take effect. +- **An off-main-thread prompt denies the current event.** A persistable grant is saved + only if the user later accepts, so the first attempt from a worker fails with + `PermissionError`. Create and delete have no persistable grant and no retryable approval: + off the main thread they are denied and only an informational denial is shown, while the + inline main-thread prompt covers only the operation that raised it. +- **A running root operation is not re-evaluated.** Revoking full access or changing a + grant affects later top-level operations, not an operation whose root frame already + recorded coverage. + +## File and symbol map + +- `src/slic3r/plugin/PluginAuditManager.hpp` / `.cpp` - `PluginAuditManager`, + `install_hook`, `audit_plugin_event`, `decide_audited_event`, `request_permissions`, + `request_permission`, `check_path_access`, `network_permission_matches`, + `default_denied_filenames`, `default_denied_path_keywords`, `ScopedPluginAuditContext`. +- `src/slic3r/plugin/PluginFsUtils.hpp` / `.cpp` - `PluginPermissions`, + `PluginInstallState`, `read_install_state`, `write_install_state`. +- `src/slic3r/plugin/PythonPluginBridge.cpp` - `request_permissions` binding, + `finalize_plugin_capture`, `install_python_thread_audit_shim`. +- `src/slic3r/plugin/PyPluginTrampoline.hpp` - `ORCA_PY_OVERRIDE_AUDITED`, + `ORCA_PY_AUDIT_SCOPE`, `invoke_script_execute`. +- `src/slic3r/plugin/pluginTypes/slicingPipeline/SlicingPipelinePluginCapabilityTrampoline.hpp` + provides the scoped G-code folder root. +- `src/slic3r/plugin/PluginManager.hpp` / `.cpp` - `mutate_plugin_permissions`, + `revoke_plugin_permissions`, `get_install_state`. +- `src/slic3r/GUI/PluginsDialog.cpp` - permission editor payloads, native confirmations, + and the full-access request path. +- `tests/slic3rutils/test_plugin_audit.cpp`, `tests/slic3rutils/test_plugin_install.cpp`, + `tests/slic3rutils/test_plugin_lifecycle.cpp` - audit decision, sidecar, and permission + mutation coverage. diff --git a/docs/HLSD/python-plugin-async-bridge.md b/docs/HLSD/python-plugin-async-bridge.md index 63a22a498a..5d54a66235 100644 --- a/docs/HLSD/python-plugin-async-bridge.md +++ b/docs/HLSD/python-plugin-async-bridge.md @@ -46,6 +46,8 @@ finalization cannot run underneath it. `ScopedPluginAuditContext` (`src/slic3r/plugin/PluginAuditManager.hpp`) stores the previous thread-local plugin/capability pair and scoped filesystem roots, sets this call's, and restores them on destruction; the audit hook then attributes every filesystem/socket/process event to the plugin currently executing on that thread. +The policy those events are judged against is described in +[plugin-permissions.md](plugin-permissions.md). ### The Script capability @@ -140,8 +142,10 @@ closed and `tl_script_loop` cleared before the worker exits. A consequence of running Script on a non-main thread: the audit permission prompt is fail-closed off the main thread. `request_permission` in `src/slic3r/plugin/PluginAuditManager.cpp` posts the dialog -with `CallAfter` and denies the current event, persisting the grant when the user accepts, so a -Script sees a denial on the first attempt and can succeed on a later one. This matches the existing +with `CallAfter` and denies the current event. For a category with a persistent grant list, the grant +is saved when the user accepts, so a Script sees a denial on the first attempt and can succeed on a +later one. Create and delete have no persistent grant list, so their off-main-thread path posts only +an informational denial with no Yes/No choice and does not promise a retry. This matches the existing behavior for the plugin-load worker and the slicing worker. ### Blocking UI continuation diff --git a/localization/i18n/list.txt b/localization/i18n/list.txt index b4b7b4e260..847b1f7937 100644 --- a/localization/i18n/list.txt +++ b/localization/i18n/list.txt @@ -349,6 +349,7 @@ src/slic3r/GUI/MixedFilamentDialog.cpp src/slic3r/GUI/ModelMall.cpp src/slic3r/GUI/OAuthDialog.cpp src/slic3r/GUI/PluginPickerDialog.cpp +src/slic3r/GUI/PluginPermissionValidation.cpp src/slic3r/GUI/PluginsConfigDialog.cpp src/slic3r/GUI/PluginsDialog.cpp src/slic3r/GUI/PrinterWebView.cpp diff --git a/resources/web/dialog/PluginsDialog/index.html b/resources/web/dialog/PluginsDialog/index.html index 8981a7d62d..11ebc0b8ee 100644 --- a/resources/web/dialog/PluginsDialog/index.html +++ b/resources/web/dialog/PluginsDialog/index.html @@ -99,6 +99,8 @@ aria-selected="false" aria-controls="descriptionPanel" data-tab="description" data-i18n="description">Description +