Commit Graph

16240 Commits

Author SHA1 Message Date
Noisyfox
39afa1b008 Fix arachne wall ordering (#7959)
* Revert "SPE-1950: Optimization of computation complexity of perimeter ordering for Arachne generator."

This reverts commit 47ec9b9b06.

* Revert "SPE-1963: Improve ordering of perimeters with Arachne perimeter generator"

This reverts commit babb84c70a.
2025-01-22 09:58:34 +08:00
Noisyfox
88e652d8c2 Fix random crash when opening 3mf files that have bed size different than current (#7955)
* Fix bed raycast id

* Fix bed raycaster UAF crash due to bed resizing
2025-01-22 09:58:15 +08:00
Noisyfox
75dd32d898 Fix issue that TIMELAPSE_TAKE_FRAME is recognized as tool change command (#7926)
Fix issue that `TIMELAPSE_TAKE_FRAME` is recognized as tool change command and triggers preheat (SoftFever/OrcaSlicer#7842)
2025-01-22 09:57:28 +08:00
Noisyfox
9582486a5f Fix issue that the support contact layer is printed in wrong filament (#7924)
Fix issue that the contact layer is printed in wrong filament when interface layer number is set to 0

Cherry-picked from prusa3d/PrusaSlicer@ca5f6da08d

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2025-01-22 09:57:05 +08:00
Shane Delmore
6933f99b0b capitalize support names in the UI for consistency (#8089)
Capitilize support labels for UI consistency
2025-01-21 08:48:39 +08:00
Heiko Liebscher
d844c2a019 fix little typo Customize (#8069)
Customize
2025-01-20 20:44:30 +08:00
Dima Buzdyk
9b38c62444 gcode: keep line endins in post processing (#8092)
Some portions of GCode (like BTT_TFT thumbnails)  has to be CRLF in
order to work correctly. However, gcode post processor was ignoring
input line endings style emitting '\n' (LF) into post-processed output.
2025-01-20 10:34:03 +08:00
SoftFever
163fad2aa9 suport renamed_from 2025-01-19 00:39:45 +08:00
SoftFever
65a1bfc1f9 Update profile valdiator 2025-01-16 19:25:43 +08:00
SoftFever
182a45e89f Move compatible_printers from developer mode to Advance mode 2025-01-15 22:54:56 +08:00
SoftFever
858db0d855 Add Orca Filament Library 2025-01-15 22:40:27 +08:00
SoftFever
03a337ef59 Fix "Too small ironing spacing" error in default config (#8053) 2025-01-15 20:06:14 +08:00
Azi
1fbfbbbd81 enabled dependency setting for filament and process (#6235)
* enabled dependency setting for filament and process

* Add information about inheritance back to Dependencies tab

* Merge pull request #1 from michmela44/Add_inherits_to_dependencies

Add information about inheritance back to Dependencies tab

* Merge branch 'main' into feature/enable_profile_dependencies
2025-01-13 20:49:46 +08:00
Dima Buzdyk
e0672256e4 do not set project filename on object import (#7973) 2025-01-08 19:38:25 +08:00
discip
b26cc46db1 Update OrcaSlicer.pot (#7949)
* Update OrcaSlicer.pot

Made sentence a bit clearer.

* Update PrintConfig.cpp

Made sentence a bit clearer.

* Update OrcaSlicer.pot

corrected previous expression

* Update PrintConfig.cpp

corrected previous expression
2025-01-08 14:37:13 +08:00
Marius Wachtler
e6c49c8a73 Fix some errors uncovered via compiler warnings (#7954)
* fix: tray_exist_bits != tray_exist_bits comparison

* fix: title == GetTitle() == title comparison

* fix: possibly dangling reference to a temporary
```
OrcaSlicer/src/libslic3r/calib.cpp:456:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  456 |     const auto &w         = bed_ext.size().x();
OrcaSlicer/src/libslic3r/calib.cpp:456:45: note: the temporary was destroyed at the end of the full expression ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1, 2>, 1>*)(& Slic3r::BoundingBoxBase<PointClass>::size() const [with PointClass = Eigen::Matrix<double, 2, 1, 2>]()))->Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1, 2>, 1>::x()’
  456 |     const auto &w         = bed_ext.size().x();
```

* fix: mixup of | and ||
in this case I think it actually does not change the semantics it just means that both comparison have to be evaluated.

* fix: multi-character character constants need "

OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp:392: warning: multi-character character constant [-Wmultichar]
  392 |     if (auto n = tunnel.find_first_of('/_'); n != std::string::npos)
OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp: In member function ‘void Slic3r::GUI::MediaPlayCtrl::Stop(const wxString&)’:
OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp:392: warning: overflow in conversion from ‘int’ to ‘char’ changes value from ‘12127’ to ‘95’ [-Woverflow]

* fix: missing paranthesis - skips null check

* NFC: Remove this check it can never be false

* NFC: fix warning: statement has no effect
2025-01-08 13:06:39 +08:00
Diogo Santos
c00bda7b75 Feature Ironing Inset added (#7969) 2025-01-08 11:35:08 +08:00
xiaoyeliu
515bb32b5f Fix:wrong extruder count by switching printers with tab (#7860)
1.Fix: wrong extruder_counts by Switching between multi-extruder printers using tabs 2. unneccessary unsaved dialog
2025-01-08 11:33:23 +08:00
Azi
b9103018cf fixed a custom filament creation bug (#7965)
fixed a bug with custom filament creation where orca doesnt recognize capitalized letter in 'Nozzle' in the printer name
2025-01-08 09:09:35 +08:00
Arne Keller
4d7923c098 Fix compatibility with newer Boost (#7884)
* PrintBase.cpp: fix compatibility with newer Boost

* Plater.cpp: fix compatibility with newer Boost

* RemovableDriveManager.cpp: fix compatibility with newer Boost

* AuxiliaryDataViewModel.cpp: fix compatibility with newer Boost
2025-01-07 23:25:32 +08:00
SoftFever
cdc7fd8d54 Check missing compatible_printers error 2025-01-06 20:56:07 +08:00
Noisyfox
dbc3473f0d Fix flatpack build 2025-01-06 09:07:58 +08:00
SoftFever
337d523109 Merge branch 'main' into dev/arachen-sync 2025-01-05 23:47:38 +08:00
Ioannis Giannakas
8cace59fe2 Enhancement: ERS - segment length - convert to float (#7400)
Enhancement: ERS segment length - convert to float

To allow splitting of line segments down to 0.5mm for improved external surface finish.

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-01-05 23:23:11 +08:00
Ioannis Giannakas
511b7fcfe3 Enhancement: ERS - Option to limit ERS to external perimeters and overhangs only (#7399)
* Option to limit ERS to external perimeters and overhangs only

* Label name

* Label update

* Merge branch 'main' into Limit-ERS-to-external-perimeters-and-overhangs

* Merge branch 'main' into Limit-ERS-to-external-perimeters-and-overhangs

* Merge branch 'SoftFever:main' into Limit-ERS-to-external-perimeters-and-overhangs

* Merge branch 'SoftFever:main' into Limit-ERS-to-external-perimeters-and-overhangs

* Merge branch 'main' into Limit-ERS-to-external-perimeters-and-overhangs

* Merge branch 'SoftFever:main' into Limit-ERS-to-external-perimeters-and-overhangs

* Merge branch 'main' into Limit-ERS-to-external-perimeters-and-overhangs

* Merge branch 'SoftFever:main' into Limit-ERS-to-external-perimeters-and-overhangs

* Merge branch 'main' into Limit-ERS-to-external-perimeters-and-overhangs
2025-01-05 23:19:00 +08:00
Ioannis Giannakas
2a5d406d7c Optimisation: ERS - Reduce redundant gcode commands from extrusion rate smoothing (#7398)
* Optimisation: Reduce volume of output gcode commands for pressure equalizer

* Update thresholds

* Update PrintConfig.cpp

* Merge branch 'main' into Optimisation-Reduce-reduntant-gcode-commands-produced-by-Estrusion-Rate-Smoothing

* Merge branch 'SoftFever:main' into Optimisation-Reduce-reduntant-gcode-commands-produced-by-Estrusion-Rate-Smoothing

* Merge branch 'SoftFever:main' into Optimisation-Reduce-reduntant-gcode-commands-produced-by-Estrusion-Rate-Smoothing

* Merge branch 'SoftFever:main' into Optimisation-Reduce-reduntant-gcode-commands-produced-by-Estrusion-Rate-Smoothing

* Merge branch 'main' into Optimisation-Reduce-reduntant-gcode-commands-produced-by-Estrusion-Rate-Smoothing

* Merge branch 'SoftFever:main' into Optimisation-Reduce-reduntant-gcode-commands-produced-by-Estrusion-Rate-Smoothing

* Merge branch 'main' into Optimisation-Reduce-reduntant-gcode-commands-produced-by-Estrusion-Rate-Smoothing

* Merge branch 'SoftFever:main' into Optimisation-Reduce-reduntant-gcode-commands-produced-by-Estrusion-Rate-Smoothing

* Merge branch 'main' into Optimisation-Reduce-reduntant-gcode-commands-produced-by-Estrusion-Rate-Smoothing
2025-01-05 23:05:04 +08:00
SoftFever
089e29cd5c aesthetic change for build info (#7896)
aesthetic change
2025-01-03 00:54:17 +08:00
ElectricalBoy
88fd3dd9ae Display Commit ID Used for Build in AboutDialog (#6516)
* Display commit ID used for build in AboutDialog

* Dynamically check for snapshots

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-01-03 00:38:25 +08:00
Mike Bignell
f2f2d547d2 Update calib_dlg.cpp (#7867)
Added values for missing PCTG temperature range. Fixes bug #7323 which caused subsiquent values to not be correct.
2025-01-02 17:47:21 +08:00
Ioannis Giannakas
131f8ffe0a Fix regressions with introduction of supertak plate for non BBL printers. Generalised plate title. (#7883) 2025-01-01 22:34:38 +08:00
Noisyfox
0e682d661f Merge branch 'main' into dev/arachen-sync 2024-12-27 08:54:05 +08:00
SoftFever
367639b076 Merge branch 'main' into bugfox/layer-cooling 2024-12-25 23:43:09 +08:00
Noisyfox
0194ff4573 Merge branch 'main' into dev/arachen-sync 2024-12-25 08:54:30 +08:00
Filipe Laíns 🇵🇸
f61adc32aa Fix boost_log_setup link errors on libslic3r_cgal (#6690)
Signed-off-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-12-24 22:18:33 +08:00
Noisyfox
1746692c49 Update anti-vibration algorithm from PrusaSlicer (#7818)
* SPE-1950: Reimplement algorithm for filtering vibrating extractions inside the ensuring infill to make it less computation complex.

Cherry-picked from prusa3d/PrusaSlicer@b3510ac808

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>

* Remove unused file

---------

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-24 22:05:22 +08:00
Noisyfox
abb2aefbf6 Fix rare Arachne crash due to invalid voronoi diagram (#7817)
Revert the changes BBL made for diagram fix, because this happens! (SoftFever/OrcaSlicer#7815)

(cherry picked from commit f2f827c175)
2024-12-24 22:04:30 +08:00
Noisyfox
56aed5a10a Fan mover: Ignore non-part cooling fans (SoftFever/OrcaSlicer#7171) (#7193)
* Fan mover: Ignore non-part cooling fans (SoftFever/OrcaSlicer#7171)

* Update comment
2024-12-24 21:35:28 +08:00
Filipe Laíns 🇵🇸
664e0f8944 Fix dynamic linking Boost on Arch Linux (#6697)
Fix dynamic linking Boost

Signed-off-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-12-24 15:40:55 +08:00
Filipe Laíns 🇵🇸
ead8f6f3f4 Fix a compilation error in the debug build (#6689)
Fix debug builds

Signed-off-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-12-24 10:40:33 +08:00
Noisyfox
b4100913ec Update to latest code from PS 2024-12-22 20:52:02 +08:00
Noisyfox
f20e699fb5 SPE-1837: Fixed issue when perimeters weren't generated with Arachne.
Cherry-picked from prusa3d/PrusaSlicer@6df4891e6c

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 20:51:15 +08:00
Noisyfox
fede4cea02 Revert the changes BBL made for diagram fix, because this happens! (SoftFever/OrcaSlicer#7815) 2024-12-22 18:53:36 +08:00
Noisyfox
a3d59ff8f0 Update to latest PS code 2024-12-22 18:52:23 +08:00
Noisyfox
aab1e79ef5 Apply fix includes.
Cherry-picked from prusa3d/PrusaSlicer@919740fb3e

Co-authored-by: Martin Šach <martin.sachin@gmail.com>
2024-12-22 18:50:00 +08:00
Noisyfox
b41ffd9a92 SPE-1950: Optimization of computation complexity of perimeter ordering for Arachne generator.
The previous implementation during the grouping of perimeters using depth-first searches unnecessarily searched nodes that had no impact on grouping, which significantly increased the search space.

Cherry-picked from prusa3d/PrusaSlicer@86309ba939

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 18:36:06 +08:00
Noisyfox
a852e7e4c2 SPE-1963: Improve ordering of perimeters with Arachne perimeter generator
Especially in cases when the object is composed only of 2 external perimeters and 1 or 2 internal perimeters, the order of perimeters wasn't optimal and differed from the Classic perimeter generator. That caused unnecessary long travels before the external contour was printed.

The ordering of perimeters is slightly inspired by the latest changes in CuraEngine.

Cherry-picked from prusa3d/PrusaSlicer@10875082de

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 18:36:06 +08:00
Noisyfox
686cb18839 SPE-2298: Add detection of Voronoi diagram with parabolic edge without a focus point.
Cherry-picked from prusa3d/PrusaSlicer@c44ffed475

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 17:01:54 +08:00
Noisyfox
a79c9c76ad Add missing header guards to VoronoiVisualUtils.
Cherry-picked from prusa3d/PrusaSlicer@34d9b0678b

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 16:45:37 +08:00
Noisyfox
aec6adeb92 SPE-2298: Fix crash caused by a numerical issue during testing if a Voronoi vertex is inside a corner of a polygon.
Cherry-picked from prusa3d/PrusaSlicer@669c931b77

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 16:44:36 +08:00
Noisyfox
3143c71d0d Remove some unused functions from Arachne perimeter generator.
Cherry-picked from prusa3d/PrusaSlicer@e704d8216d

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2024-12-22 16:32:24 +08:00