24168 Commits

Author SHA1 Message Date
tamasmeszaros
94fd937dbb WIP on sla overwrites 2024-02-05 16:59:08 +01:00
YuSanka
37ba024133 Fixed update of extruder ComboBox on switching of application color mode, when SLA-printer is selected. 2024-02-05 10:52:12 +01:00
YuSanka
a3f7be2b44 Follow c7fa6b0f - Added missed call of Show() for extruders combbox 2024-02-02 11:06:13 +01:00
YuSanka
131d8700b1 Fix for SPE-2108 : Missing update when toggling "Show incompatible print and filament presets" 2024-02-02 09:17:05 +01:00
YuSanka
c7fa6b0f73 Fix for #12005 - 2.7.1: One particular .3mf project crashes when changing printer from XL to MK4
Follow-up 23ffd344:
Note, that crash was caused by missing update of the active extruder.
2024-02-02 09:16:33 +01:00
Nohus
540b800a5c SPE-1922: Place M600 after unretract to prevent printer returns at the position that was already printed with the previous color.
This fixes #2672 caused by the default implementation of M600 that returns back to XY position before M600.
2024-02-01 09:34:01 +01:00
YuSanka
76bbfbad5f CustomCtrl: Fixed layout of Fields in columns 2024-01-30 08:50:31 +01:00
tamasmeszaros
4a20daed63 Switch back to parallel optimization in DefaultArranger
SPE-2033
2024-01-29 14:38:53 +01:00
enricoturri1966
2e8ec7e63e Update cmake file to download latest version of libbgcode library 2024-01-29 12:42:31 +01:00
Martin Šach
4481525169 Fix wipe tower deretraction string.
Return the previous behaviour for non priming toolchanges and
handle priming toolchanges separately.
2024-01-29 09:52:20 +01:00
Lukas Matena
e5b926690e Revert "Revert "Fix for #11988 : Drop down menus appear outside of PS and cannot be opened again""
This reverts commit 69e0bc3064298fc58dd2a870801161821fa16da5.
The reason the original commit was reverted was to get cleaner git history after
merging master_27x into master. The change in this commit is implemented in master as b85e80c.
2024-01-26 16:06:10 +01:00
Lukas Matena
69e0bc3064 Revert "Fix for #11988 : Drop down menus appear outside of PS and cannot be opened again"
This reverts commit 6ff8537ff4fbd14ca09934cdb2bb987131a7b559. There is a non-trivial conflict
when merging to master, let's redo the commit after the merge so it is clear in history.
2024-01-26 12:54:10 +01:00
enricoturri1966
df14f7518d SPE-2092: Fixed OpenGL initialization when user specifies invalid value for command line option 'opengl-version' 2024-01-25 09:33:16 +01:00
Lukas Matena
31ad7375e5 Merge branch 'lm_spe2118' into master_27x 2024-01-24 09:54:38 +01:00
David Kocik
e0e1afd640 Error message when wlanapi.dll is missing
Code improvements due to @lukasmatena code review.
2024-01-24 09:54:00 +01:00
Lukas Matena
05312cacf7 Fix of #11790: missing wlanapi.dll on Win Server 2019 2024-01-24 09:54:00 +01:00
Filip Sykala - NTB T15p
ee3546b186 SPE-2103
Make snap-shot to undo/redo stack only on release slider

Connected with attributes:
Text/advanced(char gap, line gap, boldness, skew ratio)
SVG(size)

Also change range for Boldness. VRT font-Ascent.
(different font may have different slider value range)

Fix line gap (it was denied when per glyph was false)
2024-01-23 14:27:02 +01:00
YuSanka
65525b0616 Model: Improved function looks_like_multipart_object().
Check transformed bounding boxes of loaded objects instead of z_min of bounding boxes.
+ BoundingBox: added function shares_boundary() to detect if bounding boxes shares some boundary.

Fix for #11547 - .3mf files with similar sized components aren't being defined as multi-part objects
2024-01-23 12:42:15 +01:00
Lukáš Hejl
7d31f8c0ba SPE-2120: Fix another crash caused by using GCodeGenerator::last_position when it doesn't have an assigned value.
This behavior was there for a long time, but it was uncovered when std::optional was used.
2024-01-23 12:33:19 +01:00
Martin Šach
7f423083b4 Fix: Use toolchange z instead of writer z to restore z on wipe tower.
Writer z can be set in custom toolchange gcode and than the restoration
is invalid.
2024-01-23 09:30:40 +01:00
Martin Šach
194d53ea25 Fix z_offset handling in gcode.cpp. Fixes #11843. 2024-01-23 09:28:25 +01:00
Martin Šach
812c40e887 Unify GCodeGenerator travel to first layer position.
* Fixes SPE-2116. The reason for this bug was forgotten change in
  WipeTowerIntegration after change in gcode.cpp.
* Prevents future similar bugs by unifing the functionality to a method.
2024-01-23 09:00:58 +01:00
Martin Šach
8cbea4982a Add lift before the first travel move in GCode.cpp 2024-01-23 09:00:58 +01:00
Lukas Matena
7096abe2f1 Merge branch 'lm_et_spe2092_271' into master_27x 2024-01-22 12:18:06 +01:00
Lukas Matena
3cab0cbecb Using Semver to check minimum required OpenGL version 2024-01-22 12:17:07 +01:00
enricoturri1966
1832c833a1 #12000: Fixes incorrect detection of supported OpenGL version (SPE-2092)
1) Force OpenGL 3.2 as minimum required. If the graphic card does not support it, automatically switch to software renderer.

2) command line option: --opengl-version=X.Y -> allows to select core profile of version X.Y.

3) command line option: --opengl-compatibility -> allows to select compatibility profile of the highest OpenGL version supported by the graphic card.

4) command line option: --opengl-debug -> enable OpenGL debug output on card supporting OpenGL 4.3 or higher (output on console).
2024-01-22 12:16:55 +01:00
YuSanka
85fa892c12 SPE-2112 : Don't check an object units, when it was loaded from file with known units (3mf) 2024-01-22 11:32:27 +01:00
Lukáš Hejl
cda2446649 SPE-2120: Fix crash caused by using GCodeGenerator::last_position when it doesn't have an assigned value.
This behavior was there for a long time, but it was uncovered when std::optional was used.
2024-01-22 10:28:08 +01:00
YuSanka
6ff8537ff4 Fix for #11988 : Drop down menus appear outside of PS and cannot be opened again
Note: Win specific
2024-01-18 18:53:44 +01:00
YuSanka
00a08831a7 ComboBox: Fix for scrolling over a dropdown.
It doesn't need to propagate the MouseWhile event to the parent.
2024-01-18 18:51:38 +01:00
YuSanka
b0673265eb ConfigWizard : Fixed get_preferred_printer_technology() function.
This bug was caused a wrong selection of the new added printer,
when some new vendor other then PrusaSlicer is added,
but PrusaSlicer has installed SLA printers.
(see SPE-2056)
2024-01-18 18:49:32 +01:00
YuSanka
e46c711fce Fix for SPE-2056 : Wrong printer selection when add new logical printer but some physical printer is selected 2024-01-18 18:48:54 +01:00
Filip Sykala - NTB T15p
82c53aef01 Merge branch 'fs_fix_SPE-2097' into master_27x 2024-01-18 13:09:27 +01:00
Filip Sykala - NTB T15p
b989fd714c Merge branch 'fs_fix_SPE-2082' into master_27x 2024-01-18 13:09:04 +01:00
Filip Sykala - NTB T15p
d703a02f40 Merge branch 'fs_fix_SPE-2064' into master_27x 2024-01-18 13:08:41 +01:00
Filip Sykala - NTB T15p
fb4e4710e7 Merge branch 'fs_fix_slider_snapshots_SPE-2100' into master_27x 2024-01-18 10:40:26 +01:00
Filip Sykala - NTB T15p
ecacefa549 Merge branch 'fs_fix_SPE-2105' into master_27x 2024-01-18 10:36:45 +01:00
Filip Sykala - NTB T15p
b3beeb9193 Merge branch 'fs_fix_SPE-2095' into master_27x 2024-01-18 09:40:15 +01:00
Filip Sykala - NTB T15p
1444e9c2cb Merge branch 'fs_fix_SPE-2099' into master_27x 2024-01-18 09:39:47 +01:00
tamasmeszaros
a084471740 Merge branch 'tm_fix_xl_arrange_rebase_SPE-2033' into master_27x 2024-01-17 16:31:48 +01:00
Martin Šach
906f605333 Fix: disable debug and trace logs in builds 2024-01-17 14:44:21 +01:00
tamasmeszaros
e24be7891e FIxed the issue but TMArrangeKernel needed changes
fixing object function not favoring existing pile to stick to

Trying to fix problem with shit+arrange not sticking to existing objects
2024-01-17 14:42:17 +01:00
tamasmeszaros
9f52d0a481 Merge branch 'tm_fix_shift_arrange_rebased_SPE-2071' into master_27x 2024-01-17 14:13:48 +01:00
tamasmeszaros
d110541e12 Fixing issue with aligning to unprintable objects when doing shift+a 2024-01-17 14:12:15 +01:00
Martin Šach
97ba0fb478 Fix retraction test 2024-01-17 13:09:26 +01:00
Martin Šach
2770b977da Merge ms_lh_zhop_improvements into master.
* Replace the ramping travel with a smooth ramping travel.
* Replace helical layer changes with ramping layer changes.
* Implement the "lift before obstacle" feature.
2024-01-17 12:24:00 +01:00
Martin Šach
f9283728d6 During first layer change, do not actually move z.
This enables the user to set his own z in start gcode. Fixes #11843.
2024-01-17 12:22:22 +01:00
Lukáš Hejl
5ddcea806b Add to GCodeGenerator::last_position only when it has an assigned value.
This behavior was there for a long time, but it was uncovered when std::optional was used.
2024-01-17 12:22:22 +01:00
Lukáš Hejl
da57489874 Implement lift before obstacles that take into account already extruder extrusions on the current layer.
Ignore the first intersection of the travel path with the object from which the travel starts.

Created a new class TravelObstacleTracker, for wrapping all data structures related to lift before obstacles.
2024-01-17 12:22:22 +01:00
Lukáš Hejl
2fc9299c65 Use max value of double instead of std::optional in get_first_crossed_line_distance() and get_obstacle_adjusted_slope_end(). 2024-01-17 12:22:22 +01:00