Commit Graph

13573 Commits

Author SHA1 Message Date
SoftFever
0447f7a620 making all four corners of the grid sharp instead of round (#6993)
# Simple visual change 

Currently, the grid has 3 round corners and 1 sharp corner. It seems
like bambu lab hard coded this specifically to fit their bed model. As a
non-bambu user, I dont like how the corners look.
![Screenshot 2024-10-02
152326](https://github.com/user-attachments/assets/ba905ed1-3557-488e-adb2-ea1ea93bb1cc)
![Screenshot 2024-10-02
152435](https://github.com/user-attachments/assets/7a2ec002-87c3-46ab-b5ff-8174c20890e3)

Another point I'd like to bring up is that rounded corners do not match
the boundary detection box.


## Tests
Tested locally on windows and macos.
2024-10-07 16:37:56 +08:00
SoftFever
c75b8c2ae3 FIX: CLI: fix an exception when parsing scale params (#6969)
# Description

This PR aims to solve an exception when using OrcaSlicer in CLI which
caused the --scale option to not work.
All credits to @lanewei120 from BambuStudio for pushing it on BS repo.

Related commit on BS:

2d4655e780 (diff-2fa194122e892282ec589e51d5f7da65da83ec0488ced4b63930345d1273a353R3797)
Related issue on BS:
https://github.com/bambulab/BambuStudio/issues/4628
Related issue on Orca:
https://github.com/SoftFever/OrcaSlicer/issues/6454
fixes #6454
## Tests

```
./orca-slicer.exe --scale 2 --slice 1 --allow-newer-file test_model.stl --debug 5
```
The command above works again and scale the model then slice the scaled
model. Before, the scale would not complete.
2024-10-07 16:34:07 +08:00
SoftFever
7478c241d3 Allow reverse on odd without detect overhang wall (#6922)
Fixes #6920
2024-10-07 15:59:19 +08:00
SoftFever
b7aded30da Support multi-line progress information rendering (#6909)
Makes situations like #6098 less confusing.

Old:

![image](https://github.com/user-attachments/assets/9eeabb5a-9f7b-41f7-8123-c001b2f576e8)

New:

![image](https://github.com/user-attachments/assets/215e75a9-87c8-4963-a0b2-aa1f1198af62)
2024-10-07 15:56:16 +08:00
SoftFever
1112fb1ba2 Fix an issue that wrong z value was used if a new layer is started with wipe tower extrusions. (#6980)
…

# Description

This update, along with #6934, resolves the remaining issues with the
wipe tower.

The GCode class will no longer maintain its own Z height information
(m_nominal_z). Instead, it will utilize the Z height from GCodeWriter's
m_pos. This approach is less error-prone.

This PR also fixes #6755.
It also enforce "Enable Filament ramming" option


@igiannakas It should fix the wipe tower crashing issue
# Screenshots/Recordings/Graphs

<!--
> 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.
-->
2024-10-07 15:50:48 +08:00
SoftFever
d238f0a28a respect "Enable Filament ramming" option 2024-10-07 14:34:08 +08:00
SoftFever
6063588417 Add back m_nominal_z to store main print_z as GcodeWriter::m_pos will be changed after parsing get_last_z_from_gcode 2024-10-06 23:39:22 +08:00
SoftFever
19e822e13a fixed #6755 2024-10-06 20:36:00 +08:00
uSyzex
4a2a143155 FIX: CLI: fix an exception when parsing scale params 2024-10-06 13:36:12 +02:00
SoftFever
afec95bb8e Fix wrong z when zhop is diabled. 2024-10-06 19:16:15 +08:00
SoftFever
c4cacb7dd8 wip 2024-10-06 10:49:58 +08:00
Noisyfox
da70ab9bce Fix issue that z is not properly set in some cases when clipping polygon (#6955)
Fix issue that `z` is not properly set in some cases when clipping the polygon (SoftFever/OrcaSlicer#6933)

Apply the patch from https://sourceforge.net/p/polyclipping/bugs/160/
2024-10-03 23:35:05 +08:00
azio25134
4ed8bce8eb making all four corners of the grid sharp instead of round 2024-10-02 15:37:49 -07:00
SoftFever
70658dadd2 Fix an issue that wrong z value was used if a new layer is started with wipe tower extrusions. 2024-10-01 23:28:24 +08:00
Ioannis Giannakas
0f3c28f7ac Fix wipe tower issues with SEMM and ramming turned off (#6934)
* Fix wipe tower issues with SEMM and ramming turned off

* Purge tower last layer collision potential fix (for SEMM)

* Revert "Purge tower last layer collision potential fix (for SEMM)"

This reverts commit 9fc465c2d914adf58a74b0e5167dfb04646ef939.
2024-10-01 22:54:14 +08:00
Noisyfox
712386c867 Allow reverse on odd without detect overhang wall (SoftFever/OrcaSlicer#6920) 2024-09-27 09:24:21 +08:00
Noisyfox
4562ca744a Support multi-line progress information rendering 2024-09-26 16:22:15 +08:00
SoftFever
81b6a810f6 Fix and update locale 2024-09-25 19:58:26 +08:00
GarlicDebug
2f891a4cac Fixed Make Overhangs Printable and Multicolor Printing conflict (#6896)
Co-authored-by: Jasper <idc@gmail.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-09-25 19:52:38 +08:00
SoftFever
144c1b33b3 Fix a bug that wipe tower has missing extrusions when ramming is disabled (#6894)
* Fix a bug that wipe tower has missing extrusions when ramming is disabled.

* hide "Prime all printing extruders" for SEMM printers
2024-09-25 19:34:18 +08:00
Noisyfox
21e70829b1 Disable "cut to parts" when dovetail is selected. (#6891)
* Disable "cut to parts" when dovetail is selected.
Sync with latest PrusaSlicer code.

Co-authored-by: YuSanka <yusanka@gmail.com>
2024-09-25 19:31:17 +08:00
Vovodroid
322c6e3b65 Followup to clones auto arrange: use current plate (#6373)
* Use current plate for auto arrange clones
2024-09-25 19:29:21 +08:00
Azi
881d78a045 Feature/move plate to the front (#6262)
* WIP:only works after saving and then reloading

* working version of move plate to the front

* added icons for move to front

* removed a commented line

* fixed the move to front function to behave correctly with undo/redo actions

* Merge branch 'main' into feature/move_plate_to_the_front
2024-09-25 19:27:45 +08:00
SoftFever
45fe0c5218 Fix a bed type regression (#6893) 2024-09-24 19:42:47 +08:00
Vladimir Vukicevic
5bdb5deeb9 Fix input box widths in calibration UI (#6587)
* Fix input box widths in calibration panels

* Merge branch 'main' into fix-calibration-ui
2024-09-23 20:48:25 +08:00
Robert Schiele
9297dfa042 Fix building errors when precompiled header support is disabled (#6879)
Here are more missing header files recently identified by building
without precompiled header support.
2024-09-23 19:26:18 +08:00
Vovodroid
8b79e76685 Arachne "one top wall" fix and refactor (#6236)
* One top wall fixes

* Use one wall threshold set in GUI without limiting

* Updates to one wall top perimeter to address splitting top surface against too small segments and lettering overlap.

* Fix precise wall

* Merge branch 'main' into one-top-wall-fix-pr

* Merge branch 'main' into one-top-wall-fix-pr
2024-09-23 19:14:04 +08:00
Noisyfox
4dbb0a9248 Improve fuzzy skin with modifier (#6759)
* Pass all compatible regions to perimeter generator

* Simplify & unify fuzzify detection

* Simplify `to_thick_polyline`

* Group regions by fuzzy skin settings

* Initial code structure of multi-regional fuzzy skin

* Determine fuzzy type by all compatible regions

* Add fuzzy region debug

* Implement the line split algorithm

* Do splitted fuzzy in classic mode

* Disable debug macros

* Fix infinit loop issue when segment points are out of order

* Fix path connection

* Implement splitted fuzzy in Arachne mode
2024-09-23 00:41:17 +08:00
SoftFever
2b4d56d961 update locales 2024-09-23 00:37:29 +08:00
SoftFever
eb53c6a2e8 support downloading from makerworld on Mac by default. (#6867)
handle bambustudioopen on Mac by default
2024-09-22 16:49:14 +08:00
SoftFever
24106e39e7 Add support for textured cool plate (#6860)
support textured cool plate
2024-09-22 16:48:49 +08:00
Tom
f4a31dc8b7 Revert "Tsmith35 per BS PR4631 (#6709)" (#6845)
* Revert "Tsmith35 per BS PR4631 (#6709)"

This reverts commit c8216accfd.
2024-09-20 21:55:20 +08:00
Noisyfox
3773b70bb6 FIX:open or replace 3MF file case insensitive (#6802)
jira: STUDIO-7678
Change-Id: I32b34efa053da25edab80ebff1cfe0a414042dd5
(cherry picked from commit fa07ae4d21d3c4cf5286a38f2cc0a35363a5f53a)

Co-authored-by: zhou.xu <zhou.xu@bambulab.com>
2024-09-19 00:03:57 +08:00
Noisyfox
bc449048ef Fix small top/bottom solid infill filtering (#6794)
* Fix issue that small sparse gaps are not filtered out correctly

* Fix code order
2024-09-19 00:02:16 +08:00
SoftFever
36acae8b35 Fixed a bug that YOLO flow calibration didn't work for Fr/De languages 2024-09-18 23:59:46 +08:00
SoftFever
65df18ef61 locale tweak 2024-09-18 23:58:59 +08:00
Noisyfox
684d176e7c Fix crash when first layer is empty (#6817)
* Fix crash when first layer is empty (SoftFever/OrcaSlicer#6807)
2024-09-18 22:34:36 +08:00
Noisyfox
f87012f884 Fix fuzzy skin randomness for Arachne wall generator (#6770)
* Fix fuzzy skin randomness for Arachne wall generator (SoftFever/OrcaSlicer#6228)
2024-09-15 23:27:54 +08:00
SoftFever
464d3ec138 Check and use data_dir folder if exists under application path (#6780) 2024-09-15 22:58:41 +08:00
Tom
1a3dc3c378 Tsmith35 per BS PR4631 (#6709)
ENH: support spiral lift with timelapse gcode
The existing implementation did only read the new Z position from the injected timelapse_gcode and flagged the position as unsafe because of this.

This change reads X, Y and Z pos from the timelapgse_gcode and will keep the position state correct to enable safety checks required for using spiral Z hop.

Because of this, spiral Z hop can be used everyhwere now. The same pattern is also applied for layer_change/toolhead gcode injection.

The set_current_position_clear method is unused but will be kept in implementation for future scenarios.

Co-authored-by: Simon ziehmon@users.noreply.github.com
2024-09-14 23:52:04 +08:00
SoftFever
e2b061a425 Fixed a regression bug that spacing was not working anymore when arrange plate objects (#6741)
fix a regression bug in arrange
2024-09-12 23:01:01 +08:00
SoftFever
17784d1e94 update locale 2024-09-11 23:00:01 +08:00
Noisyfox
2d6c9bf160 Prevent toolbar clicking when mouse is hovering over layer height editor (#6727)
* Prevent toolbar clicking when mouse is hovering over layer height editor (SoftFever/OrcaSlicer#6713)
2024-09-11 22:28:49 +08:00
Noisyfox
3838c62146 Fix issue that "total filament used [g]" is missing from gcode (#6728)
* Fix issue that "total filament used [g]" is missing from gcode
2024-09-11 22:17:32 +08:00
Erkan Ozgur Yilmaz
b917832db6 Duplicate Current Plate With Objects (Second PR) (#6710)
* Added `duplicate plate` feature.

This the initial commit and this still needs work.

* [#2025] Fixed the SEGFAULT, apparently an icon id=6 needed to be updated to id=7 as we have one more plate icon.
[#2025] Removed the `printf` statements.

* [#2025] Plate duplication is now fully implemented.

* [#2025] Updated icons for plate duplicate funcctionality.

* [#2025] Added toolbar icon fro "Duplicate Current Plate" action.

* [#2025] Revert changes for `toolbar_add_plate_dark.svg`.

* [#2025] Removed the `BBS` label in the code that is not written by BBS.

* [#2025] Updated `.gitignore` to ignore VSCode workspace file.

* [#2025] Fixed the instances not transforming in global space when the plate is duplicated.

* [#2025] Removed the Duplicate Plate action from the plate actions and the toolbar.

* [#2025] Added the `Duplicate Current Plate` functionality to the `Edit` menu.

* [#2025] Addressed review comments.

* [#2025] Addressed review comments.

* [#2025] Removed unused icons related to the previously introduced "Duplicate Plate" functionality.
2024-09-10 23:43:41 +08:00
Noisyfox
359aa9d0a9 Fix various issues with fuzzy skin (#6716)
* Fix issue that `fuzzy_skin_first_layer` not respected by classic wall generator

* Fix issue that Contour / Contour and hole mode not working properly (SoftFever/OrcaSlicer#6414)

* We have `is_contour`, so need for complicated hole detection
2024-09-10 23:28:39 +08:00
Ioannis Giannakas
e9e74c958f Filter out micro segments generated during the overhang slowdown process (#6714) 2024-09-10 22:54:35 +08:00
Vovodroid
0bb51b5a10 Correct odd layer GUI description (#5793) 2024-09-09 22:45:58 +08:00
bo0tzz
c431b43e4a Fix loading 3d mouse params from config (#6703)
Since this seems a trivial enough change, I haven't done any local building/testing. Let me know if you need anything like that from me anyways.
2024-09-09 22:43:08 +08:00
Heiko Liebscher
9ee19c5dbe New de translation and typos for 2.20beta (#6702)
* add new de translation for 2.2 beta

* fix typo info(r)mation

* build new locals
2024-09-09 22:42:27 +08:00