Commit Graph

27774 Commits

Author SHA1 Message Date
Noisyfox
ce7cdec45b Fix unit tests (#11199)
* 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
c38fb59815 Fix conditional logic for OrcaSlicer build job in GitHub Actions workflow 2025-10-29 22:26:19 +08:00
coryrc
533e3ab160 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
ad7b263dfd Reapply "Add a once-daily Build All which skips caches (#10731)"
This reverts commit e3f049829b.
2025-10-29 20:47:46 +08:00
Seref
99c4c050ab 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
nilshasler
5cb26bd707 Replace all with stl (#11145)
* 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
66645d0d62 Revert "Add a once-daily Build All which skips caches (#10731)"
This reverts commit b56cefc4b7.
2025-10-28 23:51:16 +08:00
SoftFever
9069d0be39 Update GitHub Actions workflow concurrency group format 2025-10-28 22:19:03 +08:00
SoftFever
1e8feab2a3 Remove Claude Code Review and Claude workflows from GitHub Actions 2025-10-28 22:01:21 +08:00
Valerii Bokhan
dbe9c93182 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
Eryoneoffical
516ca3dd56 add profile of 0.2mm nozzle to Eryone X400 (#11115)
Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-27 21:53:37 +08:00
Heiko Liebscher
35f1a6c0b0 MEGA Fix de translation (#11160)
* big update for de translation

* fix typos

* fix more translations

* fix msg format
2025-10-27 21:43:53 +08:00
Frida Rosenaa
8a24d261e7 Fix typo in elegoo print ack enum (#11152) 2025-10-27 21:42:33 +08:00
Noisyfox
f42dcf18b9 Fix extruder page title (#11147)
(cherry picked from commit abb8ec8a282236f568ee05c9def00b58eadd0b6c)

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-27 21:08:26 +08:00
Ian Bassi
beeca44065 Calibration Cornering Jerk Test + Generic interpolator + Fix (#10962) 2025-10-26 20:44:19 +08:00
Vovodroid
3fd0ffd589 Add instances (#6237)
* Add instances

* - Added a new menu item for converting instances to objects,

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-26 16:13:14 +08:00
SoftFever
d591ea07f2 Update locale 2025-10-26 10:40:26 +08:00
Heilonggongzi
988a0e9e5f Wiki - Elephant foot compensation in detail (#11106)
* Elephant foot compensation in detail

* Elephant Foot Compensation in detail

* Update quality_settings_line_width.md

* Update doc/print_settings/quality/quality_settings_precision.md

Co-authored-by: Ian Bassi <ian.bassi@outlook.com>

* Update doc/print_settings/quality/quality_settings_precision.md

Co-authored-by: Ian Bassi <ian.bassi@outlook.com>

* Update doc/print_settings/quality/quality_settings_precision.md

Co-authored-by: Ian Bassi <ian.bassi@outlook.com>

* Update doc/print_settings/quality/quality_settings_precision.md

Co-authored-by: Ian Bassi <ian.bassi@outlook.com>

* Update doc/print_settings/quality/quality_settings_line_width.md

Co-authored-by: Ian Bassi <ian.bassi@outlook.com>

* Update doc/print_settings/quality/quality_settings_precision.md

Co-authored-by: Ian Bassi <ian.bassi@outlook.com>

---------

Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
2025-10-26 10:38:55 +08:00
Heiko Liebscher
5deaa63979 fix german after changes in po files (#11059) 2025-10-26 10:01:56 +08:00
sharanchius
bdb8cefa3f Lithuanian translation (#11142)
* Full last Lithuanian translation

* Fixed Lithuanian translation
2025-10-26 10:00:24 +08:00
Elijah Fronzak
77f5b3e23b Russian translation update (#11091) 2025-10-26 09:59:34 +08:00
SoftFever
20c806b3fd Add vendor option to optimize_cover_images script
* Introduced a new command-line argument `--vendor` to process images from a specific vendor subfolder.
* Enhanced error handling to check for the existence of the vendor path and list available vendors if the path does not exist.
* Updated help documentation to reflect the new functionality.

This change improves the script's usability for users managing multiple vendor-specific cover images.
2025-10-25 23:26:56 +08:00
RH3D
711cf974b6 [PROFILE] Add E3NG printer profiles (#11067) 2025-10-25 23:24:22 +08:00
Johan Ohly
9c17a87c8c Set is_BBL_printer flag before validation in CLI slicing path (#11018)
Set `is_BBL_printer` flag before validation as validation depends on it

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-25 23:11:08 +08:00
FlyingbearOfficial
11c6728ab5 Add new filaments and fix some params (#11042)
* ADD NEW FILAMENTS

* Update 0.20mm Standard @FlyingBear Ghost7.json

fix exclude_object param

* Update fdm_process_common_Ghost7.json

* Update FlyingBear PLA Basic profile to include renamed_from field

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-25 22:52:48 +08:00
Ocraftyone
37247863e1 Better CMake Defaults (#10294)
* Auto generate CMAKE_PREFIX_PATH/DESTDIR

* Auto set CMAKE_INSTALL_PREFIX

* Always default SLIC3R_STATIC to on

* Only allow one value for CMAKE_OSX_ARCHITECTURES

* Set arch for OpenSSL from CMAKE_OSX_ARCHITECTURES

* Set CMAKE_INSTALL_RPATH from CMAKE_PREFIX_PATH

* Default CMAKE_MACOSX_RPATH and CMAKE_MACOSX_BUNDLE to on

* Auto set BBL_RELEASE_TO_PUBLIC based on build config

* Default to GTK 3

* Fix linux debug build

Update find modules to also look for the debug variant of the libraries

* Set DEP_DEBUG and ORCA_INCLUDE_DEBUG_INFO based on CMAKE_BUILD_TYPE

* Add a fallback value for Windows SDK if the env variables are not set

* Reflect CMake changes in the build scripts

* Add missing line

* Fix auto setting DEP_DEBUG and ORCA_INCLUDE_DEBUG_INFO

* Update dep folder name for linux in GH actions

* Invert dep-folder-name conditions

`''` is considered a falsy value, which was causing the value to always be set to 'OrcaSlicer_dep'

* Properly handle finding the debug version of libnoise

* Convert FindNLopt.cmake to a config mode wrapper

* Use separate build directory for debug builds on Linux

* Move find_package for libnoise

* Cleanup and improve linux build script

- Add dry run
- Add build in RelWithDebInfo
- Add function to print and run commands

* Remove linux destdir deprecation and cleanup

* Fix flatpak build

* Disable fail fast for flatpak builds

* Flatpak improvements

- Build wxWidgets using deps cmake
- Improve handling of space freeing commands while building deps
- Allow cmake to directly download deps
- Set needed flags within cmake instead of the build manifest

* Print clean build commands

* Implement shellcheck recommendations

* Cleanup

* Fix CMakeLists.txt syntax by replacing empty elseif with else statement

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-25 22:05:09 +08:00
SoftFever
346c0cbf60 Update filament profiles to use arrays for cost, density, and max volumetric speed
Updated multiple filament profiles to convert fields such as filament_cost, filament_density, and filament_max_volumetric_speed from single values to arrays for consistency. Removed unnecessary fields from filament profiles to streamline data structure. This change enhances compatibility with the updated profile handling logic in the orca_filament_lib.py script.
2025-10-25 17:21:51 +08:00
HYzd766
e57c17afb6 change machine gcode (#11136)
* The 0.30mm layer height configuration for the 0.4 nozzle of the QIDI model has been removed

* Revert "The 0.30mm layer height configuration for the 0.4 nozzle of the QIDI model has been removed"

This reverts commit 8d296720b8de58b1bfa4f008a24cee841a8472c6.

* Update Qidi Q2 0.4 nozzle.json

修改Q2打印高度

* change machine_gcode

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-25 16:29:16 +08:00
yw4z
668161339e Profile folder optimizations (Anycubic, Artillery, Bambu Lab, BIQU, Creality, Flashforge, Prusa, Ratrig, Sovol, Volumic, Voron, VzBot, Z-Bolt, Wanhao and more) (#10806)
* init

* voron covers

* voron models

* qidi hotends

* ultimaker

* seckit

* kingroon

* Update kp3s_bed.stl

* default hotend

* VzBot

* Update goliath.stl

* Construct3D

* comgrow

* biqu

* artillery

* anycubic

* bambulab

* flashforge

* chuanying

* update

* ratrig

* snapmaker

* Update sovol_zero_buildplate_model.stl

* sovol

* sovol

* Update wm_3dp_hotend.stl

* Update magicmaker_hotend.stl

* flsun

* iQ

* wanhao

* deltamaker

* phrozen

* MagicMaker covers

* z-bold

* volumic

* VzBot covers

* custom printers

* custom printer covers

* orca arena

* Update Orca Arena X1 Carbon_cover.png

* creality

* sovol sv08 max

* qidi texture

* Update qidi_xplus_buildplate_texture.png

* bump versions

* folgertech

* twotrees

* VzBot

* dremel

* FlyingBear

* Wanhao

* wanhao

* Delete 230 - Mono320x320.png

* voron

* voron

* voron

* seckit

* ultimaker

* kingroon

* default hotend

* Update qidi_xseries_gen3_hotend.stl

* Update deltamaker_2_buildplate_texture.svg

* vzbot

* Update goliath.stl

* biqu

* anycubic

* folgertech

* geetech

* ginger additive

* anycubic

* Update Wanhao D12-300_hotend.stl

* phrozen

* bump versions

* fix missing files on linux & add new models for sv07

* fix missing files

* Prusa

* update

* Update ultimaker_2_buildplate_model.stl

* fix all cover images

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-25 15:41:29 +08:00
Hải Nguyễn
aeafc1b2a0 Add Vietnamese translation (#10929)
* Add Vietnamese localization file for OrcaSlicer

* add Vietnamese po file

* Add Vietnamese language support in GUI (#11000)

- Added Vietnamese (vi_VN) to the language mapping in GUI_App.cpp.
- Updated Preferences.cpp to include Vietnamese in the language combobox and display its name in Vietnamese (Tiếng Việt).

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-25 13:35:16 +08:00
Alexandre Folle de Menezes
63cb68e037 Complement pt-BR translation (#10960)
Improve pt-BR translation
2025-10-25 11:50:48 +08:00
GlauTech
9d6a9be797 Update TURKISH translations (#10934) 2025-10-25 11:20:59 +08:00
Donovan Baarda
f298ac1e8b Optimize FillTpmsFK using optimized MarchingSquares from #10747. (#10876)
# Change FillTpmsFK.cpp to use MarchingSquares.hpp.

This is still a work in progress, but it does seem to work fine, and I
thought I'd put this up there for people to have a play with. I also
have a few questions because I'm not 100% familiar with the rest of the
codebase and I'm going to use the review of this to figure a few things
out.

This builds on #10747 which simplified and significantly optimized
MarchingSquares.hpp by replacing most of FillTpmsFK.cpp's implementation
to just use that marching squares implementation instead of
re-implementing it's own.

I don't yet have any solid speed comparisons but it feels a bit
subjectively faster, though I think that most of the delay in previewing
the slicing results is not in the fill-generation so it's a bit hard to
tell. I don't know if there are any tests/benchmarks/etc that I could
use for testing this, but I'm probably going to add some to this PR at
some point.

Even if this doesn't give a significant speed-up, it does significantly
simplify the code and make it easier to re-use for other equation based
fill-patterns. This could re-implement gyroid or TpmsD with about 5
lines of C code to inherit from `ScalarField` and redefine the `float
get_scalar(coordf_t x, coordf_t y, coordf_t z)` function with the
appropriate equation.

I don't think it would be faster than the current gyroid or TpmsD fills
though, since they directly generate a single line using the equation
and then just copy and shift it. However, it might not be much slower
and it would simplify the code to do them all the same way.

But the main reason I'm doing this is this can be used to implement far
more complicated fills that can't really be implemented any other way.
In particular I'm working towards a gyroid fill that dynamically varies
it's density based on how close it is to the walls.

I have a bunch of questions about some of the other bits that I'll post
as comments against the review-diff.

# Screenshots/Recordings/Graphs

I'll add some when I get there... but so far the results look identical
to the previous implementation even when I zoom in close.

<!--
> Please attach relevant screenshots to showcase the UI changes.
> Please attach images that can help explain the changes.
-->

## Tests

<!--
> Please describe the tests that you have conducted to verify the
changes made in this PR.
-->
2025-10-25 11:17:43 +08:00
SoftFever
1b64e7f921 H2D/H2S support (#10780)
### IMPORTANT NOTICE
- Every time you download a new PR build, make sure to delete `<orca
config folder>/system/` folder first, otherwise the latest profile
update might not take effect (such as crash during startup, or not able
to find certain printer models in the list). Also it's a good idea to
always backup your config folder before trying any dev builds.
- You MUST **turn on both lan mode AND dev mode on your H2D/S**, there
is no firmware exists for these printers that allows 3rd party slicer
over cloud unfortunately.
- You MUST **turn off "Use legacy network plugin"** in Orca's
preference.


### HOW TO download the test builds:
1. Click the ["Checks"
tab](https://github.com/SoftFever/OrcaSlicer/pull/10780/checks) on top
of this page
<img width="1450" height="436" alt="image"
src="https://github.com/user-attachments/assets/5453e5ef-4455-4f23-9c76-a45218b9bf03"
/>

2. Click the "Build all" on the left side
<img width="1084" height="1110" alt="image"
src="https://github.com/user-attachments/assets/7caa5dc4-6280-4183-85c1-06cb702d1407"
/>

3. You'll find the build artifacts on the bottom of right side
<img width="2194" height="1316" alt="image"
src="https://github.com/user-attachments/assets/73536c51-2790-4302-9f9c-c3403bcb88d5"
/>

-----------------------------------

Huge PR that cherrypicked everything Bambu did for H2D/H2S support.
Thanks BambuLab!

<img width="1626" height="1322" alt="image"
src="https://github.com/user-attachments/assets/1e88332c-4adf-42b4-bca3-865c18ce8615"
/>
<img width="2560" height="1504" alt="image"
src="https://github.com/user-attachments/assets/514da990-4957-47ef-996f-1dbeb8fc88ae"
/>
<img width="2560" height="1504" alt="image"
src="https://github.com/user-attachments/assets/e6063330-3a6d-48fe-beb5-588b6e9fc90c"
/>
<img width="2560" height="1504" alt="image"
src="https://github.com/user-attachments/assets/270fcdf8-d2ee-4025-aeaf-9b12ddf69135"
/>
<img width="1508" height="906" alt="a30a310bb9857b2c4fa5b9cc134a16e7"
src="https://github.com/user-attachments/assets/5f42279a-c1ef-4079-bd3c-6cd2e008f2fe"
/>
2025-10-24 21:22:54 +08:00
Noisyfox
e0aacec6c0 Disable filament merge option if not SEMM 2025-10-24 19:43:23 +08:00
SoftFever
8696ca8bac bump profile version 2025-10-24 17:23:26 +08:00
Noisyfox
634a514866 Disable filament delete option if not SEMM 2025-10-24 14:51:06 +08:00
Noisyfox
a49c7a24a4 Merge branch 'main' into dev/h2d-2
# Conflicts:
#	localization/i18n/list.txt
#	src/slic3r/GUI/CalibrationWizardPresetPage.cpp
#	src/slic3r/GUI/DeviceManager.cpp
#	src/slic3r/GUI/DeviceManager.hpp
#	src/slic3r/GUI/Printer/PrinterFileSystem.cpp
#	src/slic3r/GUI/Printer/PrinterFileSystem.h
#	src/slic3r/GUI/SelectMachine.hpp
#	src/slic3r/GUI/SendToPrinter.cpp
#	src/slic3r/GUI/SendToPrinter.hpp
#	src/slic3r/GUI/StatusPanel.hpp
#	src/slic3r/GUI/Widgets/AnimaController.cpp
2025-10-24 09:59:00 +08:00
SoftFever
2af93e4e4d Part skip from Orca for Bambu printers (#10875)
Ported part skip from BambuStudio. Thanks bambulab!

<img width="1350" height="902" alt="image"
src="https://github.com/user-attachments/assets/d7f89950-3420-4ea5-bbb6-e53c875e7422"
/>

Haven't fully tested yet!


### Minimum Firmware Requirements (from BambuStudio release page):

- **X1C**: v01.09.02.12 or later
- **H2D**: v01.02.00.00 or later
- **Other models**: Currently not supported. Feature support coming in
future firmware updates.

> ⚠️ Make sure your printer firmware is up to date to use this feature.
2025-10-23 23:46:39 +08:00
Ian Bassi
b7cae1c438 Remove to Ignore small overhangs: Full update (#11073)
Ignore small overhangs

Co-authored-by: Briella Bugs <72235413+briellabugs@users.noreply.github.com>
2025-10-23 23:43:57 +08:00
frmdstryr
ae5697c050 CalibrationWizardPresetPage: Skip adding null combobox (#11092) 2025-10-22 23:51:52 +08:00
frmdstryr
5acf3d9acf ProgressDialog: Fix DoSetSize using incorrect superclass (#11095)
Fix ProgressDialog using incorrect superclass
2025-10-22 23:49:35 +08:00
Noisyfox
1449c14eb8 Merge remote-tracking branch 'upstream/main' into dev/h2d-2
# Conflicts:
#	resources/profiles/BBL.json
2025-10-21 14:42:44 +08:00
bonninjd
cd6960ff70 Add Coex 3D filament profiles to Orcaslicer (#10924)
* Fix some errors (e.g., missing instantiation, missing commas, wrong order) and remove unnecessary parameters.

* Fix filament profiles to use arrays for vendor, cost, density, type, temperature, and speed attributes across COEX materials.

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-21 00:40:24 +08:00
Noisyfox
c94e6a8afd Merge branch 'main' into dev/h2d 2025-10-20 23:15:29 +08:00
Kiss Lorand
91da39ef3f Fix Z offset for 1st layer (#11011) 2025-10-20 21:49:06 +08:00
Valerii Bokhan
86c215f9df Feature: Ability to change flow ratios by extrusion path types (Code + Docs) (#10641)
This new feature allows users to override flow ratios for the following extrusion path types:

* First layer (excluding Brims and Skirts)
* Outer walls
* Inner walls
* Overhang perimeters
* Sparse infill
* Internal solid infill
* Gap fill
* Support
* Support interfaces
2025-10-20 21:45:52 +08:00
Valerii Bokhan
7b423dcb42 Fix: A proper handling of the support_base_pattern_spacing = 0 for the Tree Slim support (#11084)
Fixes #11082

Slicing is going to the endless loop when the `Base pattern spacing` value is 0 for `Tree Slim` support.

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-20 16:32:19 +08:00
Ian Bassi
04523b6a2b Limit Shrinkage values (#10930)
* Limit Shrinkage values

Co-Authored-By: Rodrigo <162915171+RF47@users.noreply.github.com>

* Min 50 Max 150

---------

Co-authored-by: Rodrigo <162915171+RF47@users.noreply.github.com>
2025-10-20 11:00:20 +08:00
Noisyfox
622dfb2979 Merge remote-tracking branch 'upstream/main' into dev/h2d-2 2025-10-20 09:37:23 +08:00