Commit graph

24198 commits

Author SHA1 Message Date
Noisyfox
ae31f4fb1f
Fix issue that thumbnail color not updated properly when AMS slot mapping changes (#7194)
* Fix issue that thumbnail color not updated properly when AMS slot mapping changes
2024-10-25 23:25:17 +08:00
Dima Buzdyk
983f1a827e
pa calib: print flow value and acceleration (#7178)
* pa calib: print flow value and acceleration

Print flow value and acceleration for PA pattern calibration.
This should help keep track during adaptive PA calibration.

* pa pattern: fix legent section too wide in some cases

Rework pa pattern legent generation to correctly estimate
width of the legend section.

Current flow value now has variable length which is a longest of
PA value and the acceleration for a given test.

Few examples:
1. PA value are 4 characters:        0.04
   Acceleratioion 3 chars:           400
   Flow value will be 4 chars long:  7.98, or 11.3

2. PA:      0.018
   Accel:   1000
   Flow:    12.35, or 6.345

3. PA:      0.04
   Accel:   15000
   Flow:    34.34, or 4.567

Rework number-to-string conversion flow to correctly round values at
given precision.
2024-10-24 23:41:51 +08:00
Noisyfox
be5bc632ad
Fixed Clipper library (our own fork of it) when working with Z coordinate (#7180)
Fixed Clipper library (our own fork of it) when working with Z coordinate:
The Eigen vector type compares all components, while the ClipperLib
own IntPoint type compared x and y only.
Fixed by overriding the ==/!= operators to compare just x and y components
for Eigen types.

Cherry-picked from prusa3d/PrusaSlicer@0202eec4b7

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2024-10-24 22:26:40 +08:00
Philipp
425d9c97e4
Allow printing prohibited filaments when 'Skip AMS Blacklist Check' is enabled (#7161)
Update DeviceManager.cpp
2024-10-22 23:13:34 +08:00
InfimechOfficial
9731a17f0f
Update Infimech profiles: fix arc fitting (#7159)
* Update fdm_klipper_common.json

* Update fdm_machine_common.json

* Update fdm_klipper_common.json

* Update fdm_machine_common.json

* Update fdm_process_common.json

* Update fdm_process_common_HSN.json
2024-10-22 23:12:40 +08:00
FlyingbearOfficial
bb1f9cf1b4
Update Flyingbear profiles: Fix arc fitting value (#7157)
* Update FlyingBear S1 0.4 nozzle.json

* Update 0.16mm Optimal @FlyingBear Reborn3.json

* Update 0.16mm Optimal @FlyingBear S1.json

* Update fdm_process_common.json

* Update fdm_klipper_common.json

* Update fdm_machine_common.json

* Update fdm_klipper_common.json

* Update fdm_machine_common.json

* Update fdm_process_common.json

* Update fdm_process_common_S1.json

fix some parameters

* Update fdm_process_common.json

* Update FlyingBear S1 0.4 nozzle.json

* Update 0.08mm Extra Fine @FlyingBear S1.json

* Update 0.12mm Fine @FlyingBear S1.json

* Update 0.16mm Optimal @FlyingBear S1.json

* Update 0.20mm Standard @FlyingBear S1.json

* Update 0.24mm Draft @FlyingBear S1.json

* Update 0.08mm Extra Fine @FlyingBear Reborn3.json

* Update 0.12mm Fine @FlyingBear Reborn3.json

* Update 0.16mm Optimal @FlyingBear Reborn3.json

* Update 0.20mm Standard @FlyingBear Reborn3.json

* Update 0.24mm Draft @FlyingBear Reborn3.json

* Update FlyingBear S1 0.4 nozzle.json

* Update fdm_process_common_S1.json

* Update fdm_process_common.json
2024-10-22 23:12:00 +08:00
PanZhiHao
01fe959283
Fix: kp3s v1 json configuration error (#7148) 2024-10-22 23:10:58 +08:00
Ioannis Giannakas
c0ce64ce55
Bug fix: Inner Outer Inner wall ordering mode failed to reorder in certain edge cases with arachne (#7134)
* Bug fix: Inner Outer Inner failed to reorder in certain edge cases

* Fixing IOI proximity search spacing calculations
2024-10-22 23:02:44 +08:00
xiaoyeliu
59a79040d2
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
c8eb3bf084
Fix typo in Calibration.md (#7103)
fix https://github.com/SoftFever/OrcaSlicer/issues/7101
2024-10-22 22:49:49 +08:00
cochcoder
5aaea09885
Fix bugs with CR-M4 (#7108) 2024-10-22 22:49:24 +08:00
Robert Baker
763717da2a
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
296b234fe6
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
588ffa1b32
Add geeetech M1 profile (#7113)
Printing settings for the M1 machine provided by Geeetech officially.
2024-10-22 22:47:32 +08:00
SoftFever
a52ce89925
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
09afb390dd
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
cc8d90c224
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
990a1867e3
Merge branch 'main' into Orangestorm-giga 2024-10-21 23:36:42 +08:00
SoftFever
5cf16b9b5d
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
fac94a46da
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
ca251c7090 Add geeetech M1 profile
Printing settings for the M1 machine provided by Geeetech officially.
2024-10-15 15:31:54 +08:00
cochcoder
736d50e623 Some cleanup 2024-10-14 15:30:19 -04:00
Yichen
66a7235e25 Enable Air Filtration Support for BBL P1S, X1, X1C 2024-10-12 10:33:18 -07:00
cochcoder
36a380b9c6 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
84bfed7de6 Final size optimizations 2024-10-11 20:30:47 -04:00
cochcoder
630797ece9 Optimize cover image 2024-10-10 19:34:03 -04:00
cochcoder
68178cacd8
Merge branch 'main' into Orangestorm-giga 2024-10-10 23:25:11 +00:00
cochcoder
ee819bd8dd
Apply suggestions from code review
Co-authored-by: Maximilian Pott <maxpott92@gmail.com>
2024-10-10 19:24:55 -04:00
SoftFever
fb032cd85f
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
eb195da546 Better way to find exe path 2024-10-08 18:09:03 +08:00
SoftFever
2cc44feb66 bump version to 2.2.0-rc 2024-10-08 00:03:23 +08:00
SoftFever
8097becedd
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
09672ea90c
Merge branch 'main' into feature/show-extruder-values-on-filament-overrides-tab 2024-10-07 19:43:50 +08:00
SoftFever
72a797de08
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
e73593c102
Merge branch 'main' into dev/bbs-support 2024-10-07 18:10:58 +08:00
SoftFever
5b6fa0b770
update snapmaker profiles (#7012)
- add filament Breakaway
- add preheat configs
- fix `prime_volume`
2024-10-07 18:10:49 +08:00
SoftFever
1c43b2902c fix a build error 2024-10-07 18:10:14 +08:00
Dylan
78ea8d84f3
Merge branch 'main' into sm-profiles 2024-10-07 16:45:59 +08:00
SoftFever
338f89a15b
Merge branch 'main' into dev/bbs-support 2024-10-07 16:44:01 +08:00
SoftFever
89d04ab9e9
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
17c0abbe32
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
01ffeb6b86
Add Creality K1 SE, K2 Plus, & CR-M4 (#7002)
Closes #6984, closes #6707, closes #6957
2024-10-07 16:40:56 +08:00
SoftFever
7422c7957f
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
9fbab1407f
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
4a1d382964
Allow reverse on odd without detect overhang wall (#6922)
Fixes #6920
2024-10-07 15:59:19 +08:00
SoftFever
6ecf6bdbd7
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
ab55d4eefc
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
0bf2b9dcff respect "Enable Filament ramming" option 2024-10-07 14:34:08 +08:00
cochcoder
fada134391 Bug fixes 2024-10-06 15:25:24 -04:00
cochcoder
e14428897e Initial add of CR-M4 2024-10-06 15:21:22 -04:00