Commit Graph

12472 Commits

Author SHA1 Message Date
7a7187f9ed Add: option to setup a cost per hour per printer #571 (#2247) 2023-09-29 23:44:05 +08:00
761db8537e Update error message to make it a bit more informative (#2249) 2023-09-29 23:39:58 +08:00
ee0e6a7227 Port "Extend sparse infill" from Prusa (#2134)
* Remove BambuLab's implementation of solid infill bridging enhancement
, will use Prusa's instead

* Port "Extend sparse infill" from Prusa

* Improve anchoring by shifting the lines half-spacing

* Add missing fill patterns

* Improve anchoring by keeping fine details

* Make sure the opposite directions do not cancel each other

---------

Co-authored-by: Pavel Mikus <pavel.mikus.mail@seznam.cz>
2023-09-29 23:39:12 +08:00
0e785c05e5 Added All Plates Stats Total Cost #1781 (#2238)
Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-09-28 00:13:47 +08:00
3433e7bfa0 Fix build warnings on windows, fix various bugs/logic errors/missing returns/etc, update boost::bind (#2229)
Fix build warnings on windows, fix various bugs/logic errors/missing returns/etc, update boost::bind.
2023-09-27 23:55:23 +08:00
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 131fb94c6bebe0a6abb3ca28d4a162aacbe75f40.

---------

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
33f91c026a Hide purge tower preview in case of no tool changes 2023-09-25 23:17:56 +08:00
f06b7cb526 QoL: improve PA Line method
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-09-25 20:39:02 +08:00
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
685e058c35 Parallelized PrintObject::bridge_over_infill() (#2132)
Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-09-17 11:22:11 +08:00
a73e533bdb Fix gcode viewer on linux (#2110) 2023-09-16 22:26:20 +08:00
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
4a7d298786 disable prime tower preview 2023-09-14 00:11:43 +08:00
89efa44388 tweak prime tower display 2023-09-13 21:49:40 +08:00
e6269dd852 tweak default organic tree settings. 2023-09-13 20:10:33 +08:00
a149680eba consider windows DPI for slider 2023-09-12 22:19:45 +08:00
40c2eccfd6 handle edge cases when Cooling tube position is 0 2023-09-12 20:12:54 +08:00
0b3dfa3f45 Overhang improvement max vol speed 2023-09-10 11:39:29 +08:00
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
303a722795 fix regression that print end time is not missing 2023-09-10 00:07:35 +08:00
165a183c1f Display export gcode btn if pinter don't network setup 2023-09-10 00:07:18 +08:00
e95ec070c1 fix ramming ui 2023-09-09 23:05:45 +08:00
5269e3a2cd small tweaks 2023-09-09 17:47:25 +08:00
10ea35b87c update locale 2023-09-09 14:16:02 +08:00
9246f01fea Merge branch 'purge_tower' 2023-09-09 13:20:32 +08:00
e624632969 semm 2023-09-09 13:19:59 +08:00
ee4705d6b7 Wipe tower: changed the way how initial wipe tower preview depth is calculated 2023-09-09 13:19:43 +08:00
cd3bbdb5f5 estimate tower size 2023-09-09 13:19:43 +08:00
6ff9ff03db wip 2023-09-09 13:19:43 +08:00
aae647fc19 Properly pasrse toolchange 2023-09-09 13:14:10 +08:00
1f5aa16829 fix calibration menu 2023-09-09 11:04:45 +08:00
01e4963150 temp 170 2023-09-09 11:04:45 +08:00
309b218a58 klipper object exclusion name fix 2023-09-09 11:04:45 +08:00
adf65ceeb8 wipe improvment 2023-09-09 11:04:45 +08:00
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
df302efa84 fix calibration menu 2023-09-08 01:29:09 +08:00
bb82482559 temp 170 2023-09-08 01:24:18 +08:00
5cef22ee66 klipper object exclusion name fix 2023-09-08 00:01:22 +08:00
75328a2de8 wipe improvment 2023-09-08 00:01:22 +08:00
69d840030d Fix calibrtion crash (#2019) (#2023) 2023-09-06 22:09:24 +08:00
d4c70f5528 Add Turkish language option 2023-09-05 20:34:38 +08:00
4011a0d748 Fix double quotes escape (#1397 #1435 #1946 #1990) (#2002) 2023-09-05 20:18:43 +08:00
e97ab55e83 Fix webview freezing issue 2023-09-04 20:02:26 +08:00
f3e4016795 fix slider 2023-09-04 19:52:26 +08:00
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
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
c54386d958 tweak gcodeviewer 2023-09-03 10:17:42 +08:00