Commit graph

27991 commits

Author SHA1 Message Date
Noisyfox
93c4838efe
Merge branch 'main' into dev/p2s-pr 2025-10-31 16:54:45 +08:00
Noisyfox
05533a7fd3
Fix black bed texture if svg file (#11166)
Some checks failed
Build all / Build Linux (push) Has been cancelled
Build all / Build Non-Linux (push) Has been cancelled
Build all / Flatpak (push) Has been cancelled
Build all / Unit Tests (push) Has been cancelled
* Fix blank bed texture if svg file

* Refresh scene once the texture compression is completed
2025-10-31 16:53:08 +08:00
Noisyfox
c734c1cdf1 Hardcode first_x_layer_fan_speed to 0 when parsing gcode template 2025-10-31 09:30:23 +08:00
Noisyfox
420ac69e5b Log error when image resource not found 2025-10-31 09:00:22 +08:00
Noisyfox
8c4dd9db37 Fix dialog icon title 2025-10-31 08:53:54 +08:00
Noisyfox
95a6a8c0c5 Merge branch 'main' into dev/p2s-pr 2025-10-30 15:04:18 +08:00
qian.wang
493a92c7c8 ENH:sync petg basic with master branch
Change-Id: If8f5ff4cece198dcc1c921f99424222fb86f98a2
(cherry picked from commit 27d158b41608d9fec07a58986cb7c5ee30467b3a)
2025-10-30 14:56:50 +08:00
qian.wang
6ae4cfb6df Fix:fix inherit err of a1m
Change-Id: I070a3800d513e29191f025a12e03eb930edfeb68
(cherry picked from commit 1adc8b88248711151cd46f167b9fd4e9c117361f)
(cherry picked from commit 0cd4a30a96e75721a180337d006bc7cf882734c8)
2025-10-30 14:56:50 +08:00
qian.wang
7bea0dabee Fix:fix inherit info err
Change-Id: I932c3fc6daf05cd83d800b4183414a8db8fc4879
(cherry picked from commit 387c78d04cb0fd477a9f825ed8b4f34ee153fff1)
(cherry picked from commit d9ff8d4037e0c6af68d3a14f3eefb56051fb41b2)
2025-10-30 14:56:50 +08:00
milk
b2dd9aa196 FIX:reslove polish translation cover other select use tooltips
jira:[STUDIO-15128]

Change-Id: I148eaa6245b18359597c3b96f205639ae66bbc8a
(cherry picked from commit 3eb422faaf99956001941839c4dd2b55235d3053)
(cherry picked from commit 4a65fef5dc7cf3cfe312d7ed3706d9ff5b6ee58d)
2025-10-30 14:56:49 +08:00
Noisyfox
1aad85aee4 Remove print tracking 2025-10-30 14:56:49 +08:00
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
Noisyfox
99863163b2
Fix unit tests (#11199)
Some checks are pending
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
* Fix tests build issue on Windows

* Fix `Http digest authentication` 404 error

* Fix `libnest2d_tests` missing dlls on Windows
2025-10-30 14:36:24 +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