Commit graph

23993 commits

Author SHA1 Message Date
ElectricalBoy
579cc9781d Update Korean translation 2024-07-30 10:22:05 +09:00
ElectricalBoy
5fd819d4e5 Update translation template 2024-07-30 10:21:01 +09:00
legonigel
e423a78eec Revert "Update bambulab profiles to 01.09.00.18"
This reverts commit a09aa1711a.
2024-07-29 09:22:27 -07:00
SoftFever
1532a74f87
Better support for MMU devices with filament cutter(e.g. ERCF v2 and any MMU with a cutter like Filametrix) (#6241)
flush_length variable is now provide correct value based on the flush
matrix set by the user.

pesudo code in Change filament gcode:
```
...
T1 

; Park head to the purging location
G1 X0 Y-5 F12000

; Purge certain amount of filament into waste bin
G1 E[flush_length] F600

...


```

This PR is based on the WIP tool changer branch #6087

Fixes #4194 #5937 #5912
2024-07-29 23:22:13 +08:00
SoftFever
4b2a09bd07
Merge branch 'main' into feature/support-fliament-cutter-explore-proper-flush-lenght 2024-07-29 23:21:48 +08:00
SoftFever
f24c7229a9
Orca tool changer support (#6087)
# Description

Add support of tool changer printers.
A new printer model has been added: `Generic ToolChanger`

Currently only support tool changer printers like `TapChanger` and
`StealthChanger`.
~Support for Prusa XL is still WIP.~ Prusa XL is supported now

~~⚠️WARNING⚠️ : please proceed with caution. It hasn't been tested on an
real printer yet. Please double check with g-code before printing it.~~

🚀GOOD NEWS🚀: Multiple successful prints have been reported; it should be
safe to try [Discord
Thread](https://discord.com/channels/1137181739773603922/1258993224018821160).
**For bugs, please kindly help by logging issues with details and sample
projects, then label them as ToolChanger. This will help me track
them.**

# Screenshots/Recordings/Graphs


https://github.com/SoftFever/OrcaSlicer/assets/103989404/bd518f77-5cc1-4b3a-ba76-7ead75494365

# Test
Feedback is welcomed!
For Mac users, please ref to this instruction:
https://github.com/SoftFever/OrcaSlicer#how-to-install


- [x] Occasionally crashes when change printer settings
- [x] Prusa XL profiles and custom gcode
- [x] Ooze prevention bug
- [x] Prusa XL z offset issue when prime tower is used
- [x] Preheat nozzle(temporary solution)
- [x] infinite(tall) skirt when both ooze prevention and skirt are
enabled
- [ ] skirt/purge cone overlap
- [ ] Document about custom variables


Implement #5943 #2050 #5079
2024-07-29 23:20:40 +08:00
SoftFever
f83dd4f0a7 fix flatpak 2024-07-29 23:19:28 +08:00
SoftFever
99c7b856fe fix build error 2024-07-29 23:12:47 +08:00
SoftFever
5e2f145c34 Merge branch 'main' into feature/multitool 2024-07-29 22:51:13 +08:00
SoftFever
e83c7653cd fix build error 2024-07-29 21:58:08 +08:00
Handle
1c256247b4
Updated some zh_CN translate. (#6273)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 95.0% (3854 of 4054 strings)

Translation: Orca Slicer/orcaslicer-main
Translate-URL: https://weblate.bysb.net/projects/orca-slicer/orcaslicer-main/zh_Hans/

* Translate (Chinese (Simplified)) updated

Currently translated at 95.7% (3882 of 4054 strings)

Translation: Orca Slicer/orcaslicer-main
Translate-URL: https://weblate.bysb.net/projects/orca-slicer/orcaslicer-main/zh_Hans/

* Update OrcaSlicer_zh_CN.po

Removed sth shouldnt in the file
2024-07-29 21:05:46 +08:00
Ocraftyone
b83e16dbdd
Fix Compile Warnings (#5963)
* Fix calls to depreciated wxPen constructor

* Fix use of wxTimerEvent

* Fix unrecognized character escape sequence

* Fix signed/unsigned mismatch

At least as much as possible without significantly altering parts of the application

* Clean unreferenced variables

* fix mistyped namespace selector

* Update deprecated calls

* Fix preprocessor statement

* Remove empty switch statements

* Change int vector used as bool to bool vector

* Remove empty control statements and related unused code

* Change multi character constant to string constant

* Fix discarded return value

json::parse was being called on the object, rather than statically like it should be. Also, the value was not being captured.

* Rename ICON_SIZE def used by MultiMachine

By having the definition in the header, it causes issues when other files define ICON_SIZE. By renaming it to MM_ICON_SIZE, this lessens the issue. It would probably be ideal to have the definitions in the respective .cpp that use them, but it would make it less convenient to update the values if needed in the future.

* Remove unused includes

* Fix linux/macOS compilation

* Hide unused-function errors on non-Windows systems

* Disable signed/unsigned comparison mismatch error

* Remove/Disable more unused variables

Still TODO: check double for loop in Print.cpp

* Remove unused variable that was missed

* Remove unused variables in libraries in the src folder

* Apply temporary fix for subobject linkage error

* Remove/Disable last set of unused variables reported by GCC

* remove redundant for loop

* fix misspelled ifdef check

* Update message on dialog

* Fix hard-coded platform specific modifier keys

* Remove duplicate for loop

* Disable -Wmisleading-indentation warning

* disable -Wswitch warning

* Remove unused local typedefs

* Fix -Wunused-value

* Fix pragma error on Windows from subobject linkage fix

* Fix -Waddress

* Fix null conversions (-Wconversion-null)

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-07-29 21:00:26 +08:00
ElectricalBoy
b40853af94
CI: Create Automated Workflow for Translation Catalog Updates (#5959)
* CI: Automate translation catalog update

Signed-off-by: GitHub <noreply@github.com>

* Update triggers for localization workflow

Signed-off-by: GitHub <noreply@github.com>

* Rewrite HintsToPot with Python

* Disable scheduled workflow runs

* Apply formatting to HintsToPot.py

* Add missing exit() call
2024-07-29 20:38:10 +08:00
cochcoder
7236d6cdbf
Fix crossing max x axis & rise max print height of Ender-3 V3 KE (#5958)
* Fix crossing max x axis & rise max print height of Ender-3 V3 KE

* Merge branch 'main' into ender-3-V3-KE-4

* Merge branch 'main' into ender-3-V3-KE-4
2024-07-29 20:34:00 +08:00
Vovodroid
4a81fe6134
Suggest firmware retraction time (#5926)
* Suggest  firmware retraction time
2024-07-29 20:32:07 +08:00
Vovodroid
2ee3800a47
Limit variable layer height displaying precision to 3 digits (#5795)
* Limit variable layer height calculation and displaying precision to three digits.

* Remove calculation rounding.
2024-07-29 19:13:50 +08:00
Ocraftyone
c08126703c
Fix Preferences dialog sizing on multi monitor setups (#5820) 2024-07-29 00:15:16 +08:00
Vovodroid
83a9b2513a
Reverse draft shield direction on even layers to reduce thermal stress. (#5789)
* Reverse draft shield direction on even layers to reduce thermal stress and warping.

* Use reverse() to make code clear.
2024-07-28 23:26:34 +08:00
Ioannis Giannakas
529c44d8e3
Enhancement: Adaptive Pressure advance (#5609)
* Adaptive Pressure advance options setup

* Dynamic PA - PCHIP interpolator code and tests

* Integrate dynamic PA with slicing code - emit new PA values per speed change

* Link adaptive PA to role change instead of speed change

* Adaptive PA - Alpha 2

Reduce the frequency of requested PA changes by introducing a "state" variable.
Implement user toggle for adapting PA for external walls for overhangs

* Hide adaptive PA for overhangs

* Convert Adaptive PA to use volumetric flow model and start preparing for converting to Gcode post processor

* Converted Dynamic PA to a post processing filter. Reverted changes in GCode cpp and created tagging mechanism to allow filter to apply PA changes.

* Removed adaptive PA for overhangs

* Foundations for two dimensional adaptive PA based on acceleration and volumetric flow speed

* Minor code cleanup and updating of tooltips

* Renaming files for better clarity and generate classes documentation

* Update src/libslic3r/PrintConfig.cpp

Co-authored-by: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com>

* Update src/libslic3r/PrintConfig.cpp

Co-authored-by: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com>

* Update src/libslic3r/PrintConfig.cpp

Co-authored-by: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com>

* Introduce average mm3_mm over the length of a multipath for adaptive PA

* Updates for multipath handling part 2

* Introduce average mm3_mm over the length of a multipath for adaptive PA

* Trigger PA evaluation more frequently to catch edge cases where speed changes across islands of the same feature type.

* Updates for multipath handling part 2

* Adaptive PA: Implement average flow estimation on loops

* Code formatting

* Fix adaptive PA not adapting for small disconnected external wall line segments.

* Updated to take max print speed of upcoming feature to calculate new PA value.

This is to resolve issue of incorrect PA value used when starting a new feature at an overhang.

* Code clean up

* Performance tuning

* Further performance tuning by reducing use of regex commands in the nested loops and fix bug preventing gcode line output

* Further performance tuning and tweaks to stop searching for max speed after the first travel move.

* Reduce debug information

* Updated debug info

* Fix an issue on seams on specific models when wipe before external perimeter was enabled. Also cleanup documentation and add new to-do's

* Prepare for adaptive PA for overhangs, fix wipe bug & clean up code and comments

* Initial commit for adapting PA when extruding fully overhanging perimeters

* Ignore wipe command when identifying current print speed

* Option to evaluate adaptive PA on overhang regions in preparation for Klipper experimental option testing

* Update to issue PA changes for varying flow conditions within the same feature

* Fix bug where adaptive PA was enabled erroneously for role changes and ignoring user's preference.

* Refactored some code

* More refactoring

* Some bug fixes and enabled comments only when verbose g-code is enabled

* Introduced dedicated PA option for bridges

* Code refactoring to optimise initialisation of PA processor (making it faster). Fix a bug where PA was not always set after a toolchange. Improve general error handling and robustness.

* Updates to adaptive PA tooltips

* Bridging PA check with Epsilon instead of 0.

* Adaptive PA: addressing comments

---------

Co-authored-by: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com>
2024-07-28 22:52:08 +08:00
legonigel
a09aa1711a Update bambulab profiles to 01.09.00.18
Copied files from BambuStudio after downloading updated profiles.
2024-07-27 14:05:58 -07:00
Vovodroid
543a1e5c37
Use one loop for draft shield (#5786) 2024-07-27 12:27:58 +08:00
HYzd766
3ca9ffe7aa
Update fdm_process_qidi_x3_common.json
change of format
2024-07-26 09:12:00 +08:00
Duan Gauche
50d646dd41
Added Styrene Butadiene Styrene (SBS) to filament_types (#6217)
Co-authored-by: Duan Gauche <duan.gauche@pdsvision.com>
2024-07-25 22:40:17 +08:00
Azi
b40e6c0b9a
Fixing high GPU usage when color scheme is set to "Filament" or "Speed" (#6223)
removed imgui.set_requires_extra_frame(), this line causes Slic3r::GUI::GLCanvas3D::render() to be called repeatedly when 'Filament' or 'Speed' is selected for preview panel
2024-07-25 22:38:05 +08:00
KrisMorr
58040a6687
Update Polish translation (#6163)
* Update Polish translation

* fix

johnny-bit suggestion
Thx
2024-07-25 22:33:56 +08:00
Handle
897411547f
Update zh_CN translaton. (#6222) 2024-07-25 22:28:35 +08:00
Carlos Francisco Caruncho Serrano
2eb2648bc4
Update spanish translation (#6189)
* Update OrcaSlicer_es.po

* some changes

* Some fixes

* More fixes

* More fixes and improves

* More fixes

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Traducción español Beta 2.1.0

* Update text.js

* Update OrcaSlicer_es.po

Cambiado punto por coma

* Minor fix PR

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update Spanish Language

* Updated strings

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Fixed Spanish Strings in English

Fixed a lot of string whose are translations were english to english.

* Some spanish strings improved

* Update Spanish Strings in RC

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Some fixes

* More fixes and improves

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

Cambiado punto por coma

* Update Spanish Language

* Some spanish strings improved

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Some fixes to PR

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Traducción español Beta 2.1.0

* Update text.js

* Minor fix PR

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Some fixes to PR

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Some fixes

* More fixes and improves

* Some spanish strings improved

* some changes

* Some fixes

* More fixes

* More fixes and improves

* Update OrcaSlicer_es.po

* Fixed Spanish Strings in English

Fixed a lot of string whose are translations were english to english.

* Some spanish strings improved

* Update Spanish Strings in RC

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Revert "Some Spanish Translation Fixes (#6115)"

This reverts commit c37a871dd2.

* Calibration: retraction test

* Fix a regression: Generic filament profiles conflicts #981

* support full_fan_speed_layer

* Support interface fan speed

* profile cover image reorg

* Traducción español Beta 2.1.0

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Some fixes to PR

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Revert "profile cover image reorg"

This reverts commit 041d41fa9f8bf2d927fa32a557e2427dddb1c849.

* Revert "Support interface fan speed"

This reverts commit a657d851218c95356771f4a839fdeea537e9919c.

* Revert "support full_fan_speed_layer"

This reverts commit ac6dcadeb034a2e74365c6268ef9ed7162fc59af.

* Revert "Fix a regression: Generic filament profiles conflicts #981"

This reverts commit 97118f8e9401f895f585053ded1b40ad3a71ef78.

* Revert "Calibration: retraction test"

This reverts commit b210c294346c077385f4c1f8dab70f8596067dc5.

* Update OrcaSlicer_es.po

* More fixes

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Final fixes

* Update OrcaSlicer_es.po

* Update Spanish Strings

---------

Co-authored-by: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
Co-authored-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2024-07-25 22:26:25 +08:00
SoftFever
b65967978b Always calculate wipe volume and hence provide correct flush_length to custom change filament g-code, so that MMU devices with cutter and purge bin (e.g. ERCF_v2 with a filament cutter or Filametrix can take advantage of it) 2024-07-24 23:41:08 +08:00
SoftFever
37b955082c update "change_filament_gcode" for Prusa XL, fix extra tool park issue after final purge 2024-07-24 19:59:23 +08:00
SoftFever
6d7071bf2d add "temperature" variable support 2024-07-24 19:58:34 +08:00
SoftFever
ff10d5f661
Merge branch 'main' into feature/multitool 2024-07-23 18:21:19 +08:00
SoftFever
f490d2ca9f fix flatpak build 2024-07-23 18:18:27 +08:00
yw4z
4f6c17f568
Color fixes (#5712)
* Flushing volumes button background color for active state

* Sliced plates bar > Use different colors on plate numbers for light / dark theme

* Remove 3D navigator background

* Device & Project Tab > Sidebar > Selected tab background color

* Merge branch 'SoftFever:main' into color-fixes-3

* Correct sidebar button color for light mode for bbl monitor / calibration and project page

* Homepage fixes

* Fix parameters group title color too bright on dark theme

* Search popup hovered item background color

* Sidebar > Search box > match border color with other input/combo boxes

* fix indents

* Add descriptions to statecolors

* Paint gizmos > remove background of non active Tool / Brush buttons on dark mode

* Merge branch 'SoftFever:main' into color-fixes-3

* Top bar / Main tab bar button hover background

* Fix broken color change from last merges

* Gizmos selected text background

* Keyboard shortcuts window selected tab bg color

* About page link color

* Project page fixes

* match disabled text color on combo boxes with input boxes

* Use better background color for disabled elements on dark mode

* match all colors for disabled elements

* BBL > Monitor tab > Add printer text and icon not visible on dark theme

* even darker bg color for homepage thumbnails

* Sidebar arrow not visible

* Better bg color for row highlighting

* match style of gizmo combo box

* Merge branch 'SoftFever:main' into color-fixes-3

* Revert changes for main tab bar background color of button while hover
2024-07-23 18:00:21 +08:00
SoftFever
b0bd16e908 hide/disable options accordingly 2024-07-23 00:43:12 +08:00
SoftFever
c36d4ad7c9 Fix misc bugs 2024-07-23 00:12:54 +08:00
SoftFever
b4cc526ae4 Fixed an issue that tall skirt is generated when ooze prevention and skirt are both enabled. 2024-07-22 08:54:01 +08:00
SoftFever
13ddb38119 force restore Z 2024-07-21 23:29:15 +08:00
SoftFever
447cc01405 preheat work - done 2024-07-21 17:58:37 +08:00
enricoturri1966
7d0fb4f42a preheat work - part 1 2024-07-21 10:29:42 +08:00
HYzd766
ab01e7b5c3
Update QIDI PET-CF @Qidi Q1 Pro 0.8 nozzle.json
little change
2024-07-17 11:27:40 +08:00
HYzd766
6601ab9832
Update QIDI PET-CF @Qidi Q1 Pro 0.4 nozzle.json
little change
2024-07-17 11:27:12 +08:00
HYzd766
ea1951b23c
Update QIDI PET-CF.json
little change
2024-07-17 11:26:41 +08:00
HYzd766
932371b184
Update fdm_filament_common.json
little change
2024-07-17 11:24:49 +08:00
HYzd766
ac6b996d13
Update fdm_filament_pla.json
little change
2024-07-17 11:23:34 +08:00
HYzd766
3693f36536
Update fdm_filament_pa.json
little change
2024-07-17 11:21:57 +08:00
HYzd766
00b501e6ab
Update QIDI PA12-CF.json
little change
2024-07-17 11:19:42 +08:00
HYzd766
afe0da8b62
Update QIDI PAHT-CF.json
little change
2024-07-17 11:18:52 +08:00
HYzd766
e0711fc41f
Update QIDI PA12-CF @Qidi Q1 Pro 0.8 nozzle.json
little change
2024-07-17 11:17:36 +08:00
HYzd766
9d1c4e45fb
Update QIDI PA12-CF @Qidi Q1 Pro 0.4 nozzle.json
little change
2024-07-17 11:17:03 +08:00
HYzd766
55ece2eaf0
Update QIDI PA-Ultra.json
little change
2024-07-17 11:13:42 +08:00