Commit graph

23643 commits

Author SHA1 Message Date
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
Vovodroid
543a1e5c37
Use one loop for draft shield (#5786) 2024-07-27 12:27:58 +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 041d41fa9f.

* Revert "Support interface fan speed"

This reverts commit a657d85121.

* Revert "support full_fan_speed_layer"

This reverts commit ac6dcadeb0.

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

This reverts commit 97118f8e94.

* Revert "Calibration: retraction test"

This reverts commit b210c29434.

* 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
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
dewi-ny-je
5e4dd4d847
Correction material settings for Ultimaker 2 (#5988)
* Update UltiMaker Generic ABS.json

* Update UltiMaker Generic PLA.json

* Update fdm_filament_abs.json

* Update UltiMaker Generic ABS.json
2024-07-16 23:22:50 +08:00
SoftFever
002125fbe4 Revert "Revert "Some flatpak fixing (#5510)""
This reverts commit e29cba2eff.
2024-07-16 22:39:43 +08:00
SoftFever
3bf868f99d
pin cmake version to 3.28 (#6156)
* pin cmake version to 3.28

* remove brew install cmake
2024-07-16 22:37:28 +08:00
Carlos Francisco Caruncho Serrano
c37a871dd2
Some Spanish Translation Fixes (#6115)
* 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

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

* Some fixes to PR

* Update OrcaSlicer_es.po
2024-07-16 19:51:46 +08:00
serhii-nakon
b4a2abeab8
AppImage: Fix env overrides that cause segfault and EGL initialization error for Mesa from GIT (#6141)
Fix override that cause segfault and EGL initialization error

When user built Mesa from GIT and load it using env variables
LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH
it override LD_LIBRARY_PATH inside AppImage but other variable
LIBGL_DRIVERS_PATH not override and it cause EGL init error.
2024-07-16 19:47:47 +08:00
Leon Bai
854ce80a34
[07-10 Flashforge]: Add more layer height options for AD5M and more nozzles for G3U etc. (#6085)
* Flashforge-06-12: gcode and filament mapping

* 06-27 Add Chuanying x1 printer profiles

* 20240702-Flashforge Guider 2s process fix

* [07-10 Flashforge]: Add more layer height options for AD5M and more nozzles for G3U etc.
2024-07-14 10:43:23 +08:00
InfimechOfficial
373318aa4b
add new nozzle type named Hardened Steel Nozzle(HSN) (#6099)
* Update fdm_klipper_common.json

* Update fdm_machine_common.json

* add new nozzle type

* add new nozzle type with filaments

* add new nozzle type with mechine files

* add new nozzle type with process files

* Update InfiMech.json

add new nozzle type

* Update InfiMech.json

* Update 0.08mm Extra Fine @InfiMech TX.json

* Update 0.12mm Fine @InfiMech TX.json

* Update 0.16mm Optimal @InfiMech TX.json

* Update 0.20mm Standard @InfiMech TX.json

* Update 0.24mm Draft @InfiMech TX.json
2024-07-14 10:31:57 +08:00
Olcay ÖREN
d8cfd523ec
Update TURKISH translations (#6094)
* Update OrcaSlicer_tr.po - TURKISH translation update

* Update TURKISH translations

* Update TURKISH translations
2024-07-14 10:26:04 +08:00
Bruno Paré-Simard
ea5e0c7e28
[doc] Warn Marlin user that Linear Advance must be enabled in firmware to do the Pressure Advance/Linear Advance calibration (#6111)
* Uses GitHub Markdown Alerts in Calibration.md

* Add warning about Linear advance not enabled in Marlin firmware
2024-07-14 00:02:14 +08:00
Vovodroid
45224eee21
Auto arrange plate after cloning (#6009)
* Auto arrange plate after cloning
2024-07-11 23:54:42 +08:00
Dylan
230a4aaad8
Limit the max speed on the wipe tower (#6044)
* limit the max speed on the wipe tower
2024-07-11 23:53:32 +08:00
Heiko Liebscher
bac86f481c
add new feature translation for de (#6071)
* add new feature translation for de

* Merge branch 'main' into add_new_de_loc

* fix de
2024-07-11 23:52:09 +08:00
artillery3dlab
03180bbde7
Add Artillery's new machine config (#6068)
* Add Artillery's new machine config

* Merge branch 'main' into master

* Merge branch 'main' into master
2024-07-11 23:51:38 +08:00
Bernhard Koppensteiner
09c0faab2c
Prusa MINIIS custom g-code changes (#6067)
* added Prusa Mini with Input Shaper to profiles

* Merge branch 'SoftFever:main' into main

* refactoring to more reusable settings

* Merge branch 'SoftFever:main' into main

* added more processes, changed settings

* Merge branch 'main' of https://github.com/koppensb/OrcaSlicer

* Update 0.15mm Speed @MINIIS.json

* Update 0.10mm Speed @MINIIS.json

* changed to cubic because of speed

* Merge branch 'main' of https://github.com/koppensb/OrcaSlicer

* further changes after reviewing prusa slicer settings

* simplified machine settings

* retraction speeds according to prusa slicer

* Merge branch 'SoftFever:main' into main

* changed max flow according to prusa slicer

* Merge branch 'main' of https://github.com/koppensb/OrcaSlicer

* after clearification at the prusaslicer repository M900 got removed

* Merge branch 'SoftFever:main' into main

* precise wall per default

* Merge branch 'main' of https://github.com/koppensb/OrcaSlicer

* enable reverse overhang on odd by default

* added settings from prusa slicer

* changed cooling setings

* Merge branch 'SoftFever:main' into main

* changed default to inner-outer-inner wall

inner-outer-inner gives pretty good overhangs with better surface

* new profiles for bigger nozzles, changed some cooling settings according to prusaslicer

* profiles for different nozzles sizes, better speed settings

* initial layer height was wrong

* wrong initial layer height

* set the correct accelerations

* Merge branch 'main' of https://github.com/koppensb/OrcaSlicer

* changed firmware version number

* using pressure advance UI setting instead of custom filament g-code

* Merge branch 'SoftFever:main' into main

* Update Prusa Generic PC.json

* Update Prusa Generic PC.json

* changed max flow for PC

* added PVA filament profiles

* bug fix in filament loading

* Merge branch 'SoftFever:main' into main

* Merge branch 'SoftFever:main' into main

* changed line width according to prusa slicer

* Merge branch 'main' of https://github.com/koppensb/OrcaSlicer

* Merge branch 'main' into main

* changed heatbed temperature for Minis capabilities

* Merge branch 'main' of https://github.com/koppensb/OrcaSlicer

* Merge branch 'main' into main

* Merge branch 'SoftFever:main' into main

* set default support to snug

* changed default filament setting to the correct value
2024-07-11 23:50:18 +08:00
davidjuanesb
9cc6460eeb
Catalan language updated (#6053)
* Catalan language updated

Catalan language updated
2024-07-11 23:49:10 +08:00
Noisyfox
04eec93d0a
Fix some utf-8 related issues in Cut gizmo (#6050)
* Fix some utf-8 related issues in Cut gizmo
2024-07-11 23:48:51 +08:00
SoftFever
e29cba2eff Revert "Some flatpak fixing (#5510)"
This reverts commit 657954901f.
2024-07-11 20:27:45 +08:00
Aidan
657954901f
Some flatpak fixing (#5510)
* Use fixed commit for wxwidgets

* disable cache

* Fix imports

* revert some build stuff

* fix python builds

* Don't build OCCT docs, a constexpr borks flatpak

* fix thread import

* Fix import

* Fix import again

* remove git commit

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-07-11 00:07:55 +08:00
ElectricalBoy
93ec1dd7ee
Fix typos (#5998)
* Fix typos

* Update translation files appropriately

* Fix more 'fond's with 'found's

* Fix typos

* Fix duplicate message error
2024-07-11 00:04:47 +08:00
SoftFever
2acf60a8b5 Add BigTreeTech as sponsor 2024-07-10 01:30:03 +08:00
SoftFever
c7206dcb8d
Update FUNDING.yml 2024-07-09 21:06:06 +08:00
ElectricalBoy
40aadbc51c
Update Korean Translation (v2.1.1_2) (#5977)
* Add missing translations

* Update translation template

* Fix unnatural translation
2024-07-07 11:49:00 +08:00
Noisyfox
adec6b7ebd
Try fixing build with gcc 13.3 (SoftFever/OrcaSlicer#5991) (#5992) 2024-07-07 11:48:05 +08:00
ElectricalBoy
4ca0b24002
CI: Avoid Linux Asset Name Collision (#5976)
CI: Avoid asset name collision
2024-07-03 19:48:04 +08:00
SoftFever
9eaff8ff2f Link WIKI 2024-07-02 21:49:24 +08:00
SoftFever
12b0a9680f add WIKI for precise-z-height 2024-07-02 21:46:12 +08:00
ElectricalBoy
0b6fc3d389
CI: Build with ubuntu-24.04 (#5919)
* CI: Build with ubuntu-24.04

* Use apt-get in ubuntu-24.04

* Fix step name

* Use alternate approach for detecting libwebkit2gtk version

* CI: Install libfuse2 in ubuntu-24.04

* Reduce repetitive code in workflows

Co-authored-by: Ocraftyone <Ocraftyone@users.noreply.github.com>

* CI: Install libfuse2

Runtime dependency for AppImage

* Fix filenames for nightly deployment

* Properly nest conditional

---------

Co-authored-by: Ocraftyone <Ocraftyone@users.noreply.github.com>
2024-07-01 23:44:49 +08:00
SoftFever
a0dae394e7 Fixed an issue that WIKI action didn't work if it's manually triggered. 2024-07-01 22:19:03 +08:00
SoftFever
c6205fa806 Small tweak for GH workflow 2024-07-01 21:56:02 +08:00
SoftFever
c762a45676 try to fix wiki actions 2024-07-01 21:20:46 +08:00
cochcoder
d1c84cebd5
Allow variable temperatures with the Tronxy X5SA 400 (#5752)
* Fix only having one set temperature with the Tronxy X5SA 400

* Add defualt filament & process
2024-07-01 21:00:27 +08:00
Christos Karampeazis-Papadakis
7707685069
Disable small area flow compensation on first layer (Fixes #4617) (#5838)
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-07-01 18:13:50 +08:00
Ruslan Kyba
1aa5817624
update Ukrianian translations ( 2.1.1 ) (#5956)
* chore: update

* chore: update
2024-07-01 18:07:50 +08:00
Robert Schiele
ee67b8d762
more missing includes (#5930)
Here are more missing header files recently identified by building
without precompiled header support.
2024-07-01 18:07:19 +08:00
KrisMorr
bca67b5baa
update Polish translations ( 2.1.1 ) (#5948)
* update Polish translations ( 2.1.1 )

* update OrcaSlicer.pot + PL fix

* typo
2024-06-30 23:40:20 +08:00