Commit Graph

24140 Commits

Author SHA1 Message Date
xiaoyeliu
a231e9be8f Fix: Decouple the default material selection from the nozzle size on the machine. (#7126)
Fix: the filament's selection varied depending  on the  different nozzles chosen in the Wizard
2024-10-22 23:00:27 +08:00
vgdh
f13c694b17 Fix typo in Calibration.md (#7103)
fix https://github.com/SoftFever/OrcaSlicer/issues/7101
2024-10-22 22:49:49 +08:00
cochcoder
edaa674d93 Fix bugs with CR-M4 (#7108) 2024-10-22 22:49:24 +08:00
Robert Baker
97874d491c Update filename_format to AnkerMake Studio's default (#7116)
Update filename_format to Anker's default
Update fdm_process_common.json
2024-10-22 22:48:53 +08:00
SoftFever
9a4c81873c Update AnkerMake Jerk and Extruder settings to match AnkerMakeStudio (#7117)
Using the default 0.4 M5 profile in AnkerMakeStudio to compare, I
updated the values to match

# Description
Updates the jerk limits, max feedrate, max acceleration, retraction
length to match what ankermake studio has.

# Screenshots/Recordings/Graphs

![image](https://github.com/user-attachments/assets/95472ce6-8192-47a5-b300-afbf9a6df20f)

![image](https://github.com/user-attachments/assets/f278c1d3-5143-4fe9-bdf4-9ace6301eeac)

## Tests

NA
2024-10-22 22:48:23 +08:00
SoftFever
744b346b30 Add geeetech M1 profile (#7113)
Printing settings for the M1 machine provided by Geeetech officially.
2024-10-22 22:47:32 +08:00
SoftFever
06adc2efe7 Enable Air Filtration Support for BBL P1S, X1, X1C (#7087)
# Description
Re-Creation of Pull Request #6964 with X1E changes pulled. 

OrcaSlicer includes exhaust fan settings for each filaments, however
these settings do not take effect on Bambu Labs machines that include
chamber temperature regulation fans.

![image](https://github.com/user-attachments/assets/6bb79d56-9940-46cf-b998-7d29c49bc928)

Further investigation into the g-code files produced reveals that the
filament start g-code is responsible for using the air filtration
setting and sending the appropriate `M106 P3
S{during_print_exhaust_fan_speed_num[current_extruder]}` command to the
printer. However, this command, even with the setting enabled, is never
written to the final g-code file.

By default, Bambu Lab's filament profiles wrap this command up in` {if
activate_air_filtration[current_extruder] && support_air_filtration}`
clause, which always evaluates to false. As it turns out, the printer's
have the `support_air_filtration` flag set to `0` in the
`fdm_machine_common.json` file.

This change updates that value to `1` in the .json files for the X1,
X1C, X1E, and P1S 0.4mm nozzles. This is then inherited to other nozzle
sizes and user generated profiles. This is done by simply adding a line
` "support_air_filtration": "1",` to the .json to override the inherited
setting.
<!--
> Please provide a summary of the changes made in this PR. Include
details such as:
  > * What issue does this PR address or fix?
  > * What new features or enhancements does this PR introduce?
> * Are there any breaking changes or dependencies that need to be
considered?
-->

Fixes #6066 
# Screenshots/Recordings/Graphs

N/A 

## Tests

Updated this flag in a custom user config for the printer than tried
generating the code file with Air Filtration enabled and set to 70%

The appropriate `M106 P3 S178 ` appears in the filament start gcode
section of the file.
<!--
> Please provide a summary of the changes made in this PR. Include
details such as:
  > * What issue does this PR address or fix?
  > * What new features or enhancements does this PR introduce?
> * Are there any breaking changes or dependencies that need to be
considered?
-->

# Screenshots/Recordings/Graphs

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

## Tests

Updated this flag in a custom user config for the printer than tried
generating the code file with Air Filtration enabled and set to 70%

The appropriate `M106 P3 S178 ` appears in the filament start gcode
section of the file.
2024-10-22 22:29:21 +08:00
SoftFever
9fb8e1efe9 Add Anycubic Kobra 2 Plus, Kobra 2 Max, Kobra 2 Pro, Kobra 2 Neo, & Kobra 3 (#7082)
Thanks to @soosp for providing me the files from Anycubic's Slicer!

Closes #4210, closes #3332, closes #6200, closes #5048, and closes #6269
2024-10-22 22:24:51 +08:00
SoftFever
155147d12e Add Elegoo OrangeStorm Giga (#6977)
Closes #6256

Thanks to @tlhintoq for providing the profiles in a easily downloadable
manner.
2024-10-21 23:40:33 +08:00
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
Robert Baker
4007929152 Update AnkerMake Jerk and Extruder settings to match AnkerMakeStudio
Using the default 0.4 M5 profile in AnkerMakeStudio to compare, I updated the values to match
2024-10-15 03:33:42 -07:00
whoseyoung
d100a40b4c Add geeetech M1 profile
Printing settings for the M1 machine provided by Geeetech officially.
2024-10-15 15:31:54 +08:00
cochcoder
4ecf2d4213 Some cleanup 2024-10-14 15:30:19 -04:00
Yichen
dc5808978d Enable Air Filtration Support for BBL P1S, X1, X1C 2024-10-12 10:33:18 -07:00
cochcoder
1048c0fa32 Initial add of Anycubic Kobra 2 Plus, Kobra 2 Max, Kobra 2 Pro, Kobra 2 Neo, Kobra 3 2024-10-12 00:13:33 -04: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