Commit graph

27979 commits

Author SHA1 Message Date
changyu.chen
96ad19c53f FIX: fixed o1s wiki link redirection
jira:[STUDIO-15077]

Change-Id: Iebef0043bf1eaf814fa8efa91c2d94e6903cac0e
(cherry picked from commit 6caf8821f8843e698256f7c108a2e310e754f895)
2025-10-30 14:56:49 +08:00
zhou.xu
3d294de33f FIX:Add pointer protection
jira: STUDIO-15102
Change-Id: I08c7039ba7c12e20cff1c28c7d588614d86ff9ff
(cherry picked from commit 0e806a4a242c463accfe78cf165de0d1193fa1e6)
2025-10-30 14:56:49 +08:00
lane.wei
5d84c38b09 FIX: CLI: fix the crash issue when load user config
jira: no-jira
Change-Id: I7b20c9c807150b45798aa036a1cbcb3c5aa1c9ae
(cherry picked from commit cb63ddfb6875bfa1fdbe6276d3e7a72a6776a4bc)
2025-10-30 14:56:49 +08:00
xin.zhang
dd7d12ed8b FIX: only A series with old protocol display as AMS_LITE
JIRA: [STUDIO-15101]
Change-Id: I340c14e88c57ca81c0bfb2f3087a46ee88ab4f31
(cherry picked from commit fa9181386b0e973785900b21962b40217e9585bd)
2025-10-30 14:39:57 +08:00
SoftFever
e349cccdb9
Merge branch 'main' into dev/p2s-pr 2025-10-29 22:28:09 +08:00
SoftFever
b9ab8e55be Fix conditional logic for OrcaSlicer build job in GitHub Actions workflow
Some checks failed
Build all / Build Linux (push) Waiting to run
Build all / Build Non-Linux (push) Waiting to run
Build all / Unit Tests (push) Blocked by required conditions
Build all / Flatpak (push) Waiting to run
Publish docs to Wiki / Publish docs to Wiki (push) Has been cancelled
Shellcheck / Shellcheck (push) Has been cancelled
2025-10-29 22:26:19 +08:00
Noisyfox
ab7e782809 set_user_selected_machine no longer works for local machines 2025-10-29 21:51:01 +08:00
Noisyfox
d2e914b7f0 Show app build information in crash log 2025-10-29 21:20:30 +08:00
Noisyfox
00122a9de5 Merge branch 'main' into dev/p2s-pr
# Conflicts:
#	src/slic3r/GUI/Jobs/PrintJob.cpp
#	src/slic3r/GUI/SelectMachine.cpp
#	src/slic3r/GUI/SendToPrinter.cpp
#	src/slic3r/Utils/CalibUtils.cpp
2025-10-29 21:03:22 +08:00
coryrc
275f3a7f1e
Build and run a test in CI (#10835)
* Actually build tests on Linux and allow RelWithDebInfo

They weren't being built.

Also cleaned up --config flags which enables RelWithDebInfo on Linux,
now that Ninja Multi-Config is used, it's quite trivial.

* Remove obsolete Slic3r Perl tests

The directory doesn't exist, they're already gone.

* Add GH job for running unit tests

* Move unit test execution to script and upload test results

* Don't run scheduled builds on forks

* Only deploy from SoftFever/OrcaSlicer

Will stop failures on forks

* Use artifact instead of cache

* Tweak archive and checkout paths

Keep getting error:

```
/home/runner/work/_temp/902d0a0a-6d23-4fe0-a643-8b5cc4efd25b.sh: line 1: scripts/run_unit_tests.sh: Permission denied
```

That seems to be because I didn't use actions/checkout, the working
directory is never setup correctly? So using checkout to get scripts
directory. Unsure if archive will preserve the `build/tests/` prefix;
will find out soon.

* Use tar to package directory and write results to correct directory

Tar preserves filenames and directory structure

* Use tar -xvf not -xzf

Muscle memory failed me

* Add testing wiki page

* Save test logs on failure and choose correct directory for junit

* Consolidate apt install steps, use for unit tests too, disable non-Linux builds

Temporarily disable non-Linux builds to save time while developing
this.

Cache the apt packages to save some time searching apt and downloading
them again (though I realize this is also downloading, but hopefully
by something closer and faster).

Remove all the redundant packages listed in the workflow and debian
distribution lists.

* Remove apt install steps from workflow

`./build-linux.sh -u` is supposed to install all needed packages, so
it should build without needing anything besides that. If I'm wrong
this commit will be dropped.

* Need composite action checked out locally

* Re-enable non-Linux builds now that it's working

* Skip a deploy and a notarize in forks

They only succeed in the main repo.

* Fix multi-build for non-Release builds: share CONFIG

* Correct build errors in unit tests

Indeterminate method signatures resolved. Updated script to build all
the tests.

* Fix -g vs -e for RelWithDebInfo

* Change CONFIG->BUILD_CONFIG

Missed one in prior commits

* Reduce wasteful redundant build artifact copies

1. Don't copy the artifacts and leave them; make a hard link first;
only make a copy only while creating AppImage.

2. Don't tar up the `package` directory; nothing uses this tar AFAICT

* Fix directory name

* Change jigsaw auth test URLs to httpbin.org

No idea why the basic auth doesn't work, but it doesn't work for
`curl` CLI either. This does.

* Remove force-build

It got reverted at
e3f049829b
for unknown reasons.

* Add timeout for unit tests in GitHub Actions workflow (#11146)

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-29 20:56:06 +08:00
SoftFever
bb9c3bb87a Reapply "Add a once-daily Build All which skips caches (#10731)"
This reverts commit e3f049829b.
2025-10-29 20:47:46 +08:00
Seref
4b7b81a0a2
Add setting to enable uploads to abnormal Storage; improve sd_card_state error reporting (#10981)
* Add option to allow upload to SD-Cards marked as abnormal, also add better error description

+ Adds the options under the Network Settings to allow upload to abnormal SD-Card.
+ If not enabled user will now see why the upload is stuck at 10% depending on the sd_card_state (Readonly/Abnormal)

* Merging with current branch, and updateing "sd-card" to "storage"

* Generate localization and also change remaining sd_card_abnormal states to _storage_abnormal

* Fix issues from merge, and other bugfixes.

* Regenerate localization files.

* Improve Missing Storage Message, Add skip for abnormal storage in printer select dialog
2025-10-29 20:32:38 +08:00
Noisyfox
9b015c9d45 Update bambu network plugin version 2025-10-29 17:28:33 +08:00
SoftFever
431cd47182 workaround to trigger build. 2025-10-29 16:47:04 +08:00
nilshasler
dedfd9d4ed
Replace all with stl (#11145)
Some checks are pending
Build all / Build All (push) Waiting to run
Build all / Flatpak (push) Waiting to run
* Add "Replace all from STL" command
this operates on the currently selected plate or on the selection

* Add more translations for "Replace all from STL"

* build fix

* "Replace all with STL" also works with multiple selected plates

* fix build

* replace all from stl: better error handling and a nicer status message box

---------

Co-authored-by: Nils Hasler <hasler@thecaptury.com>
2025-10-29 16:30:23 +08:00
SoftFever
50d93afc25
Merge branch 'main' into dev/p2s-pr 2025-10-28 23:51:39 +08:00
SoftFever
e3f049829b Revert "Add a once-daily Build All which skips caches (#10731)"
Some checks are pending
Build all / Build All (push) Waiting to run
Build all / Flatpak (push) Waiting to run
This reverts commit b56cefc4b7.
2025-10-28 23:51:16 +08:00
SoftFever
0767d3a363
Merge branch 'main' into dev/p2s-pr 2025-10-28 22:19:27 +08:00
SoftFever
d69aaeef3c Update GitHub Actions workflow concurrency group format 2025-10-28 22:19:03 +08:00
SoftFever
4ca62922e2 Remove Claude Code Review and Claude workflows from GitHub Actions 2025-10-28 22:01:21 +08:00
Valerii Bokhan
790bb39783
Fix: The fix of the adaptive layer height logic for supports (#10697)
Fix: Fixing the logic of the adaptive layer height for supports

Removing `tree_support_adaptive_layer_height` because its logic duplicates `independent_support_layer_height`
2025-10-28 17:31:49 +08:00
Noisyfox
435dba580c Fix profile 2025-10-28 15:30:06 +08:00
zhou.xu
07427de46b FIX:update svg
jira: STUDIO-13919
Change-Id: I92d8df5747cb2148f02a4ff3807c79c5f56d7537
(cherry picked from commit 8cf6c0e716c7f133664e5c10c8322c4ad89cc611)
2025-10-28 15:30:06 +08:00
Noisyfox
06fbd3c087 Update color 2025-10-28 15:30:06 +08:00
milk
7c7d80479d FIX:change translation
jira:[none]

Change-Id: Ife277664dab5ad85cd39825ee1e163b21e5765a2
(cherry picked from commit d8fd4e23acf946c4c9adfd3c03642433dba27eb4)
2025-10-28 15:30:06 +08:00
milk
bfd8a0cbd7 FIX:add darkmode of thermalprecondition
jira:[STUDIO-14662]

Change-Id: I75998ff04e1073d07e23ff6970dce90627b7b860
(cherry picked from commit 93fc862f7e74c52d7a9cfb75d24ecf0685788341)
2025-10-28 15:30:06 +08:00
milk
2e19dfea93 FIX:reslove mac compatibility question
jira:[STUDIO-14604][STUDIO-14660][STUDIO-14662]

Change-Id: I71833726fb3533960e38f87324b7d3da566730d7
(cherry picked from commit 7e6a18c81d92517e5f421569d103502e44c703a5)
2025-10-28 15:30:06 +08:00
weizhen.xie
cb9cbea742 ENH: Support skipping flushing when skipping object in sequential (by-object) printing.
Jira: O1-16971

Change-Id: I6b80f062f69bf02a77b2f8a3f9fa300a40b23e26
(cherry picked from commit 1679f0dd6121d6198b01e020799b3352579504f9)
2025-10-28 15:30:06 +08:00
weizhen.xie
c93d345d2a Fix: Modify the method of obtaining the first_layer_time.
Jira: None

Change-Id: I0ef83d8f47f9d7b235b88caaa8b895367729f3e9
(cherry picked from commit 1de8d5c0d3bb6742219963bd7297286a937e0ed5)
2025-10-28 15:30:05 +08:00
weizhen.xie
9f7ff97be6 ENH: add initial layer time to plate_x.json and slice_info.config
Jira: STUDIO-14504
Change-Id: I32460f1c19cce7c729806e35370e8b4b57aa069e
(cherry picked from commit 04a487d210134c28245c1f0f7d0986266a1c66f2)
2025-10-28 15:30:05 +08:00
milk
778874aa01 FIX:remove underline of thermal preconditioning
jira:[STUDIO-14597]

Change-Id: Ibf43718060b47cc4890b491500b6795d57bf6f8e
(cherry picked from commit 16df0fa6f9eb8049b0eb46bef81445112df10767)
2025-10-28 15:30:05 +08:00
milk
5cccdc7078 FIX:remove play of icon
jira:[none]

Change-Id: I64aa43ddf3088bde9296385f36db3e2782d0c280
(cherry picked from commit db2d72cc42f564e37c1de13340555dd2ae745045)
2025-10-28 15:30:05 +08:00
weizhen.xie
3480bf728d FIX: Bug caused by passing an empty ordering to process_layer in sequential (per-object) printing mode.
Jira: STUDIO-14550
Change-Id: I22a24f674370b3c04fb92b48cb9f229123e41e8a
(cherry picked from commit 7597a4a95e19d882eabb404f20f98955752b5730)
2025-10-28 15:30:05 +08:00
weizhen.xie
ca34800cad ENH:Object skipping supports skipping flushing of filament change
Jira:[STUDIO-12781]

Change-Id: Ia21d07b0ef107867cce55631d99bd03caebd6387
(cherry picked from commit d74849d499078f87d14282e92f48b2c02355d96c)
2025-10-28 15:30:05 +08:00
milk
ffab04262d ENH:Add thermal precondition
jira:[STUDIO-13970][STUDIO-13904]

Change-Id: I4b4fa27da1a65e0019c5f4c1dcc099c92189bf50
(cherry picked from commit 92dbde8385fec9719e0e9cfde764421793decd4d)
2025-10-28 15:30:05 +08:00
Bastien Nocera
69ecdeba71 FIX: Fix missing std::optional declaration
/run/build/BambuStudio/src/slic3r/GUI/DeviceCore/DevFilaAmsSetting.h:16:10: error: ‘optional’ in namespace ‘std’ does not name a template type
   16 |     std::optional<bool> IsDetectOnInsertEnabled() const { return m_enable_detect_on_insert; };
      |          ^~~~~~~~
/run/build/BambuStudio/src/slic3r/GUI/DeviceCore/DevFilaAmsSetting.h:4:1: note: ‘std::optional’ is defined in header ‘<optional>’; this is probably fixable by adding ‘#include <optional>’
    3 | #include "DevCtrl.h"
  +++ |+#include <optional>
    4 |

/run/build/BambuStudio/src/slic3r/GUI/DeviceCore/DevFilaSystem.h:174:10: error: ‘optional’ in namespace ‘std’ does not name a template type
  174 |     std::optional<bool>  IsDetectOnInsertEnabled() const { return m_ams_system_setting.IsDetectOnInsertEnabled(); };
      |          ^~~~~~~~
/run/build/BambuStudio/src/slic3r/GUI/DeviceCore/DevFilaSystem.h:13:1: note: ‘std::optional’ is defined in header ‘<optional>’; this is probably fixable by adding ‘#include <optional>’
   12 | #include <wx/colour.h>
  +++ |+#include <optional>
   13 |

(cherry picked from commit fa482b1c0dc7faa2ad87c37eb7f1ea2ce87a5084)
2025-10-28 15:30:05 +08:00
Bastien Nocera
54f17fc5af FIX: Fix missing BOOST_LOG_TRIVIAL declaration
/run/build/BambuStudio/src/slic3r/Utils/FileTransferUtils.hpp:65:27: error: ‘info’ was not declared in this scope
   65 |         BOOST_LOG_TRIVIAL(info) << std::string("symbol not found: ") + name;
      |                           ^~~~
/run/build/BambuStudio/src/slic3r/Utils/FileTransferUtils.hpp:65:9: error: there are no arguments to ‘BOOST_LOG_TRIVIAL’ that depend on a template parameter, so a declaration of ‘BOOST_LOG_TRIVIAL’ must be available [-fpermissive]
   65 |         BOOST_LOG_TRIVIAL(info) << std::string("symbol not found: ") + name;
      |         ^~~~~~~~~~~~~~~~~

(cherry picked from commit 4c30fb7edd3a4a29db9178685ff276cff2da22f3)
2025-10-28 15:30:04 +08:00
weizhen.xie
a50f14c6ce Fix: Fix the abnormal temperature display issue in the G-code viewer for the P2S
Jira: None

Change-Id: I7b7f21bbab400ebec8aa10219120b938ff7bf174
(cherry picked from commit 8e4384d80e5b44260921a40ac226fe99f0d0ba43)
2025-10-28 15:30:04 +08:00
hemai
967b7a5050 ENH: support nozzle refresh for H2D Pro
Jira: [STUDIO-13185]
Change-Id: Ib8b5905c32f83b1f849ad4ed327c9d77826d6a18
(cherry picked from commit c603e0f88be71a301ed2fc7f6fff2a34398b6708)
2025-10-28 15:30:04 +08:00
hemai
d4e6b73de1 FIX: update tips msg for single extuder printer
Jira: [STUDIO-15067]
Change-Id: Ieddce97efd740747cec67beb5d13d8a05f9554e2
(cherry picked from commit 98f5d3af5f4f5f47a3f7098fddcd5a2c4e3b7eae)
2025-10-28 15:30:04 +08:00
haolin.tian
9013254def FIX: Prevent refresh during connection
jira: none
Change-Id: I84fda87d4b62d6cf2b22614336336aae5229feca
(cherry picked from commit 920bb3da0160c63cee66958a7b59d3ae5314ca88)
2025-10-28 15:30:04 +08:00
hemai
2db929a805 FIX: delete old error code
Jira: [STUDIO-15017]
Change-Id: Ib2e5d3b658b156de8bf0b4ccc32f66b3bb22a642
(cherry picked from commit ef9598cbd52b99ce147a0a5a877d7b3403e4335c)
2025-10-28 15:30:04 +08:00
shsst
1e71d22cee ENH:[Process/Filament] P2S PLA Silk Cooling Parameters Profile Edited by lianhu.xiong
Change-Id: Icf5a452f2fbc2a9090ca17e77f17b981ae0b7481
(cherry picked from commit 99f4670e53cc14a8a048b550cdc6089235ec7a1c)
2025-10-28 15:30:04 +08:00
shsst
669d53df17 ENH:[Process/Filament] Modify the PETG HF consumables fan of the H2D model Profile Edited by wenwei.huang
Change-Id: I0bd3d2377572d45ff9ecc58b6f401255710a4429
(cherry picked from commit 4b761df1f287a355f04ef3abe392d065686356e8)
2025-10-28 15:30:04 +08:00
七喜
8cec2a854e Revert "Revert "ENH:[filament/process]add high flow of X/P""
This reverts commit 4f8d3466508f3706e8d3f656294f7c5d3a9a7f88.

Reason for revert: use another method

Change-Id: I2a6465ea507f15ce200ea9cf03994b18bb2f257f
(cherry picked from commit 630248ae566c8cf8c61ceacb74ae3cd31d9e1501)
2025-10-28 15:30:04 +08:00
xin.zhang
e686424e8c FIX: FanControlPopupNew::init_names
JIRA: [STUDIO-14993]
Change-Id: Ie33bcde858ef379deaaeea99f790fd880eb0184e
(cherry picked from commit 3b7016d5598b2e655446019d8ad710e1612281a2)
2025-10-28 15:30:03 +08:00
xin.zhang
d852ceddc6 FIX: PrintStatusFilamentWarningHighChamberTempCloseDoor
JIRA: [STUDIO-13676]
Change-Id: Ia9405ebbbad69ccc2407fdecb4a15b39c1caec58
(cherry picked from commit a81d8720b9f8c157faa55300b3f1afd4c0e46ea9)
2025-10-28 15:30:03 +08:00
窝头
88222a5f64 Revert "ENH:[filament/process]add high flow of X/P"
This reverts commit 576444e746f4de3ab71c91b8a66fa4a64c3427c8.

Reason for revert: <remove high flow of X/P>

Change-Id: I875f649c62d503bdf1321b5fec829bb190b02bce
(cherry picked from commit 0b46acb8e793af883b797f83a9ad72a55dd69f3e)
2025-10-28 15:30:03 +08:00
shsst
438d80521b ENH:[Process/Filament] P2S TPU Retraction_Length Profile Edited by lianhu.xiong
jira:none
Change-Id: I2240f2cbe42c75750d46ae5b1781cd177b2f0359
(cherry picked from commit fec0c53059812be103371589d794921d55501caf)
2025-10-28 15:30:02 +08:00
milk
bf5a0c0084 FIX:change dark mode color of send page
jira:[none]

Change-Id: I21e4d76628315944f55e3df17b40208aa63fd9ec
(cherry picked from commit f66994b1bb1bc95739b1a9b8952f82d62abf0a36)
2025-10-28 15:30:02 +08:00