Commit Graph

24126 Commits

Author SHA1 Message Date
SoftFever
0ec8651083 Merge branch 'main' into Orangestorm-giga 2024-10-21 23:36:42 +08:00
SoftFever
ced24ede56 Add Creality Print support (#6928)
# Description

Added support for Creality Print (E.g. Orca can upload and print
directly to Ender 3 V3 KE)

# Screenshots/Recordings/Graphs

Video: https://www.youtube.com/watch?v=ONzaMJhj_Hk

## Tests

Tested in the video above on a Macbook Pro, Ender 3 V3 KE.
It should also be tested on Windows but I don't have a windows computer.
2024-10-21 23:36:09 +08:00
cochcoder
51d85f08ec Final size optimizations 2024-10-11 20:30:47 -04:00
cochcoder
04d3744ffd Optimize cover image 2024-10-10 19:34:03 -04:00
cochcoder
0c65a05092 Merge branch 'main' into Orangestorm-giga 2024-10-10 23:25:11 +00:00
cochcoder
33ded41fd7 Apply suggestions from code review
Co-authored-by: Maximilian Pott <maxpott92@gmail.com>
2024-10-10 19:24:55 -04:00
SoftFever
e70db0ebdb Fixed an issue that if Orca was invoke by associated files, local data_dir was not used (#7049)
# Description

fixed #6987
# 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-08 20:29:40 +08:00
SoftFever
f3bb73e03f Better way to find exe path 2024-10-08 18:09:03 +08:00
SoftFever
06d1eb0cde bump version to 2.2.0-rc 2024-10-08 00:03:23 +08:00
SoftFever
83f033579b Shows extruder's values on filament's Setting Overrides tab. (#6370)
# Description
The idea behind this PR is to make it easier for the users to tweak
filament setting overrides i.e. reduce number of times users have to
switch between the printer and filament settings to compare the values.

# Screenshots/Recordings/Graphs

![image](https://github.com/user-attachments/assets/7221883e-74cd-4322-847a-800880e59c4b)

![image](https://github.com/user-attachments/assets/6019a0f4-b824-4a76-82e2-00e54f282c12)


![image](https://github.com/user-attachments/assets/75589d5d-0ba5-4c8c-8cb5-e23e67cd9e52)

![image](https://github.com/user-attachments/assets/b38f5000-20e0-48eb-afef-49787c9fec3b)

## Tests
I've done some manual testing to confirm:
* Override setting with the same value as extruder is still shown as a
change.
* Resetting unsaved override setting back to original value still works
as expected.
* Override settings are shown correctly on the next load after a save.
* Extruder settings changes are reflected on Settings Overrides page.

## Other
I have discovered a strange behaviour between `Filament Settings` and
`Printer Settings` windows. On a fresh load of application opening
`Filament Settings` window, navigating to `Settings Overrides` tab and
then closing the window results in `Filament` tab being opened the next
time `Filament Settings` window is opened. But if you open `Printer
settings` window, navigate to `Extruder` or `Motion ability` tabs then
the application changes the behaviour to open the last visited tab by
the user for both of the windows. I'm mentioning this because when this
happens the flow of events in the application changes and causes my
change to break until the user changes a tab. As far as I can tell for
some reason ConfigOptionsGroup's `reload_config` method is starting to
get called (second time?) after TabFilament's
`update_filament_overrides_page` method which wipes out the values set
by me. I'm not sure which is the correct behaviour, so I left that for a
discussion here. If last visited tab is the correct behaviour, then I
would need help to figure out how to fix this problem.
2024-10-07 21:42:11 +08:00
SoftFever
73a0be7a35 Merge branch 'main' into feature/show-extruder-values-on-filament-overrides-tab 2024-10-07 19:43:50 +08:00
SoftFever
66c8674adf Update project structure to match BambuStudio's support code (#6967)
This PR moves the code around without any functional changes, so that all code related to supports now placed at the same location & structure as BambuStudio.

This makes merging updates from BambuStudio much easier in the future.
2024-10-07 18:27:47 +08:00
SoftFever
ea495bf179 Merge branch 'main' into dev/bbs-support 2024-10-07 18:10:58 +08:00
SoftFever
ddec3272ca update snapmaker profiles (#7012)
- add filament Breakaway
- add preheat configs
- fix `prime_volume`
2024-10-07 18:10:49 +08:00
SoftFever
edb47b1ed5 fix a build error 2024-10-07 18:10:14 +08:00
Dylan
1279830ff2 Merge branch 'main' into sm-profiles 2024-10-07 16:45:59 +08:00
SoftFever
0be6985b6b Merge branch 'main' into dev/bbs-support 2024-10-07 16:44:01 +08:00
SoftFever
f2413f2928 General improvments to RatRig V-Core 4 & V-Core 4 HYBRID (#5966)
Resolves #5932

**The following changes made are made to all V-Core 4 versions** 

- Improved cover's quality 

![after](https://github.com/SoftFever/OrcaSlicer/assets/103969142/ecc22214-4e5e-4286-9baf-ce67e67912c7)
- Added RatRig's PunkFil ABS, PETG, and PETG CF filaments
- Added PETG-CF10 filament type & RatRig to filament vendors
- Increased max z speed to 200 from 50 and max acceleration travel to
10,000 from 9,000
- Enabled wipe and z hop, as well as, increased retract before wipe to
70% from 0%
- Improved layer change G-Code
- Fixed pause G-Code
- Added extruder clearance parameters 

*Almost all of these changes come from @nameisCruzCruz in #5932
2024-10-07 16:43:42 +08:00
SoftFever
c00c9f444e Export negative parts (#7024)
Porting from Prusa exporting negative parts.

Before:

![image](https://github.com/user-attachments/assets/a5e041ce-7f0f-44e5-95ea-0a8b11252cc4)

After:

![image](https://github.com/user-attachments/assets/f0a6f6bb-13c7-4a6e-afb3-7631e2f4f634)
2024-10-07 16:42:12 +08:00
SoftFever
d24159ae5c Add Creality K1 SE, K2 Plus, & CR-M4 (#7002)
Closes #6984, closes #6707, closes #6957
2024-10-07 16:40:56 +08:00
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
cochcoder
d8fef48d8c Bug fixes 2024-10-06 15:25:24 -04:00
cochcoder
e72a051a99 Initial add of CR-M4 2024-10-06 15:21:22 -04:00
cochcoder
88118d775a Change acceleration & speed values 2024-10-06 12:29:21 -04:00
cochcoder
634ad67151 Merge branch 'main' into rat-rig-covers 2024-10-06 12:07:48 -04: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
cochcoder
328f01fc9c Revert "Remove unused values"
This reverts commit cc1d7cfe04.
2024-10-05 18:31:53 -04:00
cochcoder
8644e93376 Remove unused values 2024-10-05 18:31:18 -04:00
cochcoder
62b889d03a Some cleanup 2024-10-05 18:30:21 -04:00
cochcoder
3c4cef8dfc Image optimizations 2024-10-05 18:05:16 -04:00
vovodroid
bfa1dbf782 Export negative parts. 2024-10-05 21:53:16 +03:00
cochcoder
e0b21dce49 Fix wrong max layer for K2 Plus 0.6 & 0.8 2024-10-04 19:48:26 -04:00
cochcoder
553cce0ee9 Fix typo 2024-10-04 16:59:10 -04:00
dylan
413c6019cd fix prime_volume 2024-10-05 00:41:53 +08:00
dylan
e393ca5781 update version 2024-10-04 18:34:46 +08:00
cochcoder
96c8d62e79 Revert "Trying something"
This reverts commit 08800dc9e3.
2024-10-03 23:13:05 -04:00
cochcoder
a50319f2fc Trying something 2024-10-03 22:20:17 -04:00
cochcoder
37d8e66cac Hopefully this is the last issue 2024-10-03 22:10:27 -04:00
cochcoder
9a0eddafe3 Another bug fix
Seriously, how do I miss these
2024-10-03 22:04:56 -04:00
cochcoder
e2b3c822ea Some more bug fixes
I have no clue how I missed these
2024-10-03 21:58:58 -04:00
cochcoder
30bfdb0612 Some cleanup & bug fixes 2024-10-03 21:51:52 -04:00