Commit Graph
12467 Commits
Author SHA1 Message Date
cf846195cc Porting of Pressure Equalizer feature from Prusa Slicer 2.6.x (#2161)
* Overhang perimeter handling

Updated code to handle overhang perimeters as an overhang and not as a bridge.

* Preparing to add curled extrusions identification

* Porting curling calculations from Prusa Slier 2.6.1

* Prototype 1 - slowdown extended to detect curled edges and further reduce speed

First prototype of the code submitted.

* Working prototype - 2

Code is now finally working - external perimeters are slowed down as needed when there is likelyhood of curling up.

ToDo:
1. Reslicing the model causes the algorithm not to run - need to find where this fails to trigger the call for this.
2. Slowdown of internal perimeters not working yet.

* Updated to use overhang wall speed instead of bridging speed for this algorithm

* Fixed bug in speed calculation and tweaked parameters for high speed printer

Fixed bug in speed calculation and tweaked parameters for high speed printer

* Attempting to fix "set started" not being set

* Parameter tweak after print tests

* Fixed estimation not running when model is re-sliced.

* Removing debug printf statements and fixed threading flag.

* Fixed threading

* Parameter tweaks following print tests

* Made this as an option in the GUI

* Reintroduced handling of bridges as per original design

* UI line toggling when option makes sense to be visible.

* Fixed bug in field visibility & made it default to off

* Code optimisation

* Initial commit of code from Prusa Slicer 2.6.1

* Ported ExtrusionRole from Prusa Slicer 2.6.1

* fix compile errors

* Update GCode.hpp

* code changes to invoke pressure equalizer

* attempting to trigger pressure equalizer

(Not compiling)

* Update Fill.cpp

* Update Fill.cpp

* Pressure equaliser layer result update

* Further commits

* Merged PR https://github.com/prusa3d/PrusaSlicer/pull/9622

* First complete working version

* Update PressureEqualizer.cpp

* Implemented parameter in GUI

* Toggle fields according to compatibility

* Updated UI toggles between extrusion rate slope and arc fitting.

* Updated tooltip

* Introduced parameter smoothing segment length

This parameter influences the number of division a line will undergo in response to the requirement to adhere to the extrusion rate flow adjustment.

* Internal parameter and tool tip tweaking

* Parameter and tool tip tweaking

* Updated parameters and tooltip following testing.

* Sync PressureEq with latest PrusaSlicer

* Revert "Sync PressureEq with latest PrusaSlicer"

This reverts commit 131fb94c6b.

---------

Co-authored-by: MGunlogson <MGunlogson@users.noreply.github.com>
Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-09-27 21:44:45 +08:00
mia ec90d7f3e4 GUI/Field: Fix crash in color picker init (#2220)
wxButton->GetBitmap() may return an invalid wxBitmap.
Guard against this.
2023-09-25 23:38:13 +08:00
mia 3b864e562a GUI: Fix calls to PrintingTaskPanel::show_profile_info (#2219)
These will not compile on STL builds of wxWidgets. I assume that on
the non-STL variants, the first argument is cast to a boolean,
which might be a bug…
2023-09-25 23:37:25 +08:00
mia ca534b5b96 Fix compatibility with STL builds of wxWidgets (#2218)
This removes the dependency on legacy wxWidgets configurations,
and makes OrcaSlicer compile on STL builds.

Also, the wxStringList class has been obsolete for at least 20
years, and disappeared from the documentation.
Replace with wxArrayString.
2023-09-25 23:35:30 +08:00
SoftFever 33f91c026a Hide purge tower preview in case of no tool changes 2023-09-25 23:17:56 +08:00
SoftFever f06b7cb526 QoL: improve PA Line method
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-09-25 20:39:02 +08:00
NoisyfoxandVojtech Bubnik 7ef43f6849 Various support improvements and bugfixes (#2202)
* Organic supports: Added check for variable layer height, with which
Organic supports are not compatible.
Fixes prusa3d/PrusaSlicer#9528 and similar.
Check the object max Z against build volume Z in Print::validate().

Cherry-picked from prusa3d/PrusaSlicer@5b94971

* Fix crash with default tree support

* Show "support_critical_regions_only" only when using auto normal tree supports (#2195)

* Fix organic tree check

---------

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-09-24 22:58:04 +08:00
NoisyfoxandVojtech Bubnik 685e058c35 Parallelized PrintObject::bridge_over_infill() (#2132)
Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-09-17 11:22:11 +08:00
Noisyfox a73e533bdb Fix gcode viewer on linux (#2110) 2023-09-16 22:26:20 +08:00
igiannakasandSoftFever 61437b2c76 Detection of curled edges to enhance slowdown for overhangs algorithm (#2056)
* Overhang perimeter handling

Updated code to handle overhang perimeters as an overhang and not as a bridge.

* Preparing to add curled extrusions identification

* Porting curling calculations from Prusa Slier 2.6.1

* Prototype 1 - slowdown extended to detect curled edges and further reduce speed

First prototype of the code submitted.

* Working prototype - 2

Code is now finally working - external perimeters are slowed down as needed when there is likelyhood of curling up.

ToDo:
1. Reslicing the model causes the algorithm not to run - need to find where this fails to trigger the call for this.
2. Slowdown of internal perimeters not working yet.

* Updated to use overhang wall speed instead of bridging speed for this algorithm

* Fixed bug in speed calculation and tweaked parameters for high speed printer

Fixed bug in speed calculation and tweaked parameters for high speed printer

* Attempting to fix "set started" not being set

* Parameter tweak after print tests

* Fixed estimation not running when model is re-sliced.

* Removing debug printf statements and fixed threading flag.

* Fixed threading

* Parameter tweaks following print tests

* Made this as an option in the GUI

* Reintroduced handling of bridges as per original design

* UI line toggling when option makes sense to be visible.

* Fixed bug in field visibility & made it default to off

* Code optimisation

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-09-16 22:24:18 +08:00
SoftFever 4a7d298786 disable prime tower preview 2023-09-14 00:11:43 +08:00
SoftFever 89efa44388 tweak prime tower display 2023-09-13 21:49:40 +08:00
SoftFever e6269dd852 tweak default organic tree settings. 2023-09-13 20:10:33 +08:00
SoftFever a149680eba consider windows DPI for slider 2023-09-12 22:19:45 +08:00
SoftFever 40c2eccfd6 handle edge cases when Cooling tube position is 0 2023-09-12 20:12:54 +08:00
SoftFever 0b3dfa3f45 Overhang improvement max vol speed 2023-09-10 11:39:29 +08:00
Noisyfoxandenricoturri1966 f2da5b39a1 Fix GCode viewer first layer height in vase mode (#2051)
Follow-up of 6be84d529d740c44c1e9bf533e70e167b3442063 - Fixed processing of spiral vase mode in GCodeProcessor::process_G1

Co-authored-by: enricoturri1966 <enricoturri@seznam.cz>
2023-09-10 11:38:37 +08:00
SoftFever 303a722795 fix regression that print end time is not missing 2023-09-10 00:07:35 +08:00
SoftFever 165a183c1f Display export gcode btn if pinter don't network setup 2023-09-10 00:07:18 +08:00
SoftFever e95ec070c1 fix ramming ui 2023-09-09 23:05:45 +08:00
SoftFever 5269e3a2cd small tweaks 2023-09-09 17:47:25 +08:00
SoftFever 10ea35b87c update locale 2023-09-09 14:16:02 +08:00
SoftFever 9246f01fea Merge branch 'purge_tower' 2023-09-09 13:20:32 +08:00
SoftFever e624632969 semm 2023-09-09 13:19:59 +08:00
Lukas Matena ee4705d6b7 Wipe tower: changed the way how initial wipe tower preview depth is calculated 2023-09-09 13:19:43 +08:00
SoftFever cd3bbdb5f5 estimate tower size 2023-09-09 13:19:43 +08:00
SoftFever 6ff9ff03db wip 2023-09-09 13:19:43 +08:00
SoftFever aae647fc19 Properly pasrse toolchange 2023-09-09 13:14:10 +08:00
SoftFever 1f5aa16829 fix calibration menu 2023-09-09 11:04:45 +08:00
SoftFever 01e4963150 temp 170 2023-09-09 11:04:45 +08:00
SoftFever 309b218a58 klipper object exclusion name fix 2023-09-09 11:04:45 +08:00
SoftFever adf65ceeb8 wipe improvment 2023-09-09 11:04:45 +08:00
igiannakas c20b01f37a Updated inner outer inner algorithm to cater for edge case where an internal island with two perimeters on both sides of an external wall was causing a secondary island to not reorder the walls correctly (#1861)
* Updated inner outer inner algorithm to cater for edge case where an internal island with multiple internal perimeters would cause the external island to fall back to outer-> inner wall ordering.

Updated inner outer inner algorithm to cater for edge case where an internal island with multiple internal perimeters would cause the external island to fall back to outer-> inner wall ordering.

* Reworked the inner outer inner algorithm to better work with more than 3 perimeters.

* Code comment updates. Removed error check code.

* Cleaned up code and comments

Cleaned up code and comments

* Disabled inner outer inner algorithm on first layer

Disabling inner outer inner algorithm and using inner to outer wall ordering to promote bed adhesion as having isolated perimeters on the bed has resulted on occasion to warping or incomplete adherence  to the bed.

* Code optimisation
2023-09-09 10:56:03 +08:00
SoftFever df302efa84 fix calibration menu 2023-09-08 01:29:09 +08:00
SoftFever bb82482559 temp 170 2023-09-08 01:24:18 +08:00
SoftFever 5cef22ee66 klipper object exclusion name fix 2023-09-08 00:01:22 +08:00
SoftFever 75328a2de8 wipe improvment 2023-09-08 00:01:22 +08:00
Noisyfox 69d840030d Fix calibrtion crash (#2019) (#2023) 2023-09-06 22:09:24 +08:00
SoftFever d4c70f5528 Add Turkish language option 2023-09-05 20:34:38 +08:00
Noisyfox 4011a0d748 Fix double quotes escape (#1397 #1435 #1946 #1990) (#2002) 2023-09-05 20:18:43 +08:00
SoftFever e97ab55e83 Fix webview freezing issue 2023-09-04 20:02:26 +08:00
SoftFever f3e4016795 fix slider 2023-09-04 19:52:26 +08:00
xxxcq 9e0dbd91ff Add option to enforce first layer min wall width (#1974)
Add option to set first layer min wall width
2023-09-04 00:07:40 +08:00
Noisyfox f9abebac22 Fix "unknown vector variable type" error when using bambu filament ch… (#1982)
* Fix "unknown vector variable type" error when using bambu filament change ( #1979)

* Update comment
2023-09-03 14:49:54 +08:00
SoftFever c54386d958 tweak gcodeviewer 2023-09-03 10:17:42 +08:00
SoftFever 0feea859c5 Fix printer connection regression 2023-09-03 10:17:22 +08:00
Noisyfox 1fdfc2fa45 Fix raft size when non-organic tree support is enabled (#1973) 2023-09-03 00:43:28 +08:00
NoisyfoxandVojtech Bubnik a1464735ce Initial port of organic tree support from PrusaSlicer (#1938)
* Initial port of organic tree support from PrusaSlicer

* Port missing Organic support parameters from PrusaSlicer

* Update parameter naming

* Reorganize the `raft_first_layer_expansion` and `raft_first_layer_density` parameters as they are not only used by rafts

* Reset support style only in simple mode

* Sync latest update from PrusaSlicer & copyrights

* Fix organic tree support crash with invalid parameters

---------

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-09-02 17:29:43 +08:00
Hotsolidinfill b50dfb69a2 Change NotoSansKR to NanumGothic for Korean font (#1957)
* Update Korean translation

* 1. Fix blank button text after translation
2. Fix some mistranslated korean

* -fix bottom surface in gcode viewer
-update korean translation

* - Fixed UI being broken 'cause "display" text size could not be calculated when cjk language is use

* Change NotoSansKR to NanumGothic, which has a height similar to the main font.
2023-09-02 10:59:31 +08:00
SoftFever 9bf8cbc7de update locale and default filament color 2023-08-31 21:53:12 +08:00