Commit Graph

21837 Commits

Author SHA1 Message Date
YuSanka
7755231866 Cut: Fix for a normal for color clipping plane 2023-02-15 12:02:10 +01:00
enricoturri1966
224ee922c5 'gouraud' shader modified to allow to draw an object with two different colors in Cut Gizmo 2023-02-15 12:02:10 +01:00
YuSanka
b40473be51 CutGizmo: Improvements to identify Upper/Lower parts_count
+ Rework CutDialog
+ Added "Cut to" section (Idea from #9564[Cut: Keep results as parts of current idea] was used, but there is other implementation)
+ Fix for #9657 - Inconvenient gizma, blocks the view of the cut of small parts
+ Add functionality "Flip cut plane" = Fix for #9632 - Adding connectors to either split cut part
+ ImGuiWrapper: added tooltip for button
2023-02-15 12:02:10 +01:00
Lukas Matena
026ca7b3c9 Fixed wipe tower with no sparse layers (layers were missing) #9592 #9703 2023-02-14 14:02:58 +01:00
YuSanka
4162689a65 Unify Tree/Organic terminology.
+ Implemented Enabling/Disabling for parameters of Organic support
SPE-1478(https://dev.prusa3d.com/browse/SPE-1478)
2023-02-14 10:18:06 +01:00
YuSanka
a9221c3c5b Fix for #9692 - Configuration Update warning typo 2023-02-14 09:40:36 +01:00
YuSanka
4d5b85e675 Implemented FR #6994 - Set Number of Instances for multiple selected meshes 2023-02-13 17:30:31 +01:00
YuSanka
b71e0bfd34 Follow-up 8913fdf6ab
* Deleted/Temporary commented redundant call of app_config->save()
 * Use app_config->get_bool() function on all places
2023-02-13 17:23:49 +01:00
YuSanka
a913bd493f Fix for #9697 - Cut tool tolerance by measurement 2023-02-13 14:08:21 +01:00
Vojtech Bubnik
8913fdf6ab Reworked AppConfig to mark itself as dirty reliably with any configuration
change and saving AppConfig on idle.
2023-02-13 10:08:12 +01:00
Vojtech Bubnik
db77331004 Slight refactor of Organic supports after merge
3d8f84ed76
2023-02-10 14:09:47 +01:00
Vojtech Bubnik
f982a91e7b Merge branch 'vb_tr_SuggestedTreeSupportFixes' 2023-02-10 12:39:42 +01:00
Vojtech Bubnik
3d8f84ed76 Merge remote-tracking branch 'remotes/origin/master' into tr_SuggestedTreeSupportFixes 2023-02-10 12:35:46 +01:00
Lukas Matena
21c76d2e2e Fixed a typo in assert 2023-02-10 12:25:49 +01:00
Thomas Rahm
c9605580ee Fix issue causing some tips to not generate, as remaining_overhang was nearly always empty
Fixes https://github.com/prusa3d/PrusaSlicer/issues/9459
2023-02-09 22:27:30 +01:00
Vojtech Bubnik
f1977b07be Organic supports: Adding bridge detection using the same algorithms
as the regular supports.
Partial fix to #9493
2023-02-09 16:47:57 +01:00
rtyr
957572fb8a
Sync with PrusaSlicer-settings 2023-02-09 15:51:06 +01:00
YuSanka
b52ce29d12 Fix to #9629 - Cut tool will not cut unless there is an object
Allow to perform a cut even if CutPlane doesn't cross the solid parts of object.
But show the warning line
2023-02-09 15:22:01 +01:00
PavelMikus
73635e0855 Lower the curled height tolerance from 0.3 to 0.1 mm of the curled overhang avoidance algorithm. 2023-02-09 13:36:42 +01:00
YuSanka
8b3ff9b9c4 Fix std::optional value() build error on older macOS SDK
For old macOS (pre 10.14), std::optional does not have .value() method, so the code is using operator*() instead.
2023-02-09 09:08:58 +01:00
YuSanka
917c9ad47b Follow-up to 299b01d
Add select_close GUIType and process it
+ Field::Choice: Fix a check of m_opt.enum_def existence
+ Fixed OSX build
2023-02-09 09:08:58 +01:00
Vojtech Bubnik
f2fbfef332 Follow-up to 299b01d813352fdcb8e54d1618c2c919e8180f99
Refactor of enum configs
Fixing for OSX
2023-02-09 09:08:58 +01:00
Vojtech Bubnik
7e7fe7c37f Follow-up to 299b01d813352fdcb8e54d1618c2c919e8180f99
Refactor of config enums.
Fixing Perl bindings.
2023-02-09 09:08:58 +01:00
Vojtech Bubnik
d58c8b1bbd Refactor of ConfigDef / ConfigOptionDef / PrintConfigDef /
Field and other UI elements to handle enums in a generic way.
Needs a review by @yusanka
2023-02-09 09:08:58 +01:00
Vojtech Bubnik
a1b0188e3a Organic supports: Don't auto generate supports if supports disabled,
but "enforce number of first layers" is enabled.
Fixes #9477
2023-02-08 15:06:39 +01:00
Vojtech Bubnik
9ab88d75e0 Fixing overlaps of organic supports: Base vs. interface layers. 2023-02-08 14:40:50 +01:00
Vojtech Bubnik
56c4cfb202 Fix of supports for soluble / non-soluble after refactoring
of extrusions into islands.
Fixes #9647
2023-02-08 14:40:50 +01:00
YuSanka
20e5083350 Cut: Fixed a scale for grabbers and thickness of the cut plane 2023-02-08 13:06:00 +01:00
YuSanka
d7adef1eff Filed: Fixed remembering of the last meaningful value for nullable parameters
+ For "idle_temperature" set default value to 30
2023-02-08 12:45:49 +01:00
PavelMikus
dc1579df04 Apply volumetric speed limits to reference external perimeter speed when using percentage based speeds.
Otherwise it was possible to get higher speeds the extruder limit.
2023-02-08 10:52:06 +01:00
Lukas Matena
aa83b20b8e Small optimizations in rendering functions 2023-02-07 17:52:37 +01:00
PavelMikus
a167d43c1d Fix bug in GCode markers when dynamic overhang speed is enabled
Should fix the following issues: #9594, #9485, #9563, #9588, #9610
Also fixed a problem with zero speed when dynamic speed was percentage based and speeds were set to 0 (auto)
2023-02-07 17:06:42 +01:00
Vojtech Bubnik
8472287601 Implementing a test whether the current thread is the main (UI) thread
and using it on AppConfig::save() to assert if save is called
from a worker thread.
The old assert was using thread names, which did not always work
on Windows.
Fixes #7839 #9178 #9370 #9420
2023-02-07 16:17:26 +01:00
Vojtech Bubnik
340b685a0d Patching the new Layer::sort_perimeters_into_islands() for super
ugly models.
Fixes #9561, #9562
2023-02-07 13:58:20 +01:00
enricoturri1966
991aedd37c #9597 - GCode processor and GCodeViewer - Fixed extruder temperature after tool changes while using single extruder multi material 2023-02-07 11:25:46 +01:00
YuSanka
3ebaf8d73d PhysicalPrinterDialog: MSW specific: Add missed Refresh on update 2023-02-07 11:00:37 +01:00
David Kocik
0295af2ada Merge branch 'dk_desktop' 2023-02-07 10:17:05 +01:00
David Kocik
4c5102334b Desktop integration fix
hopefully fix of #9565 #9584
2023-02-07 10:16:34 +01:00
rtyr
ec63f8f0c2
Sync with PrusaSlicer-settings 2023-02-07 08:59:38 +01:00
YuSanka
16535899be Linux specific: Fixed na_value for SpinCtrl.
On Linux wxSpinCtrl can't get a text value other than empty string,
so we can't set "N/A" value and use it for check of the value after changes.
2023-02-06 18:20:19 +01:00
PavelMikus
2b1bd627d7 Extra perimeters - minimal change, reduce touch distance in order to improve path sorting
Object stability warning - relfect the state, recommend brim only when it makes sense, and brim is not enabled yet.
2023-02-06 17:06:28 +01:00
Vojtech Bubnik
aaffcbc282 Fixed crash in Organic supports with a single support layer only.
Fixes #9557
2023-02-06 16:52:09 +01:00
Vojtech Bubnik
a97b950c3d Organic supports: Fixed order & orientation of two perimeter loops:
1) All contours are CCW oriented.
2) Inner contours are printed before outer contours.
2023-02-06 16:47:18 +01:00
tamasmeszaros
4c3599fac1 Fix export bug with only pad being enabled.
SPE-1431
2023-02-06 16:42:22 +01:00
Lukas Matena
0e1f8bd080 Fixed an UB in CoolingBuffer.cpp: uninitialized var in case that std::from_chars fails:
This fixes CoolingBuffer behavior wrt. 2.5.0 in cases where custom G-Codes contained
lines starting with "T". Those were previously considered as valid toolchanges.
In 2.6.0-alpha3, this scenario led to a hard crash: #9470, #9550
2023-02-06 15:54:33 +01:00
Vojtech Bubnik
7a873201d8 Organic supports: Fixed division by zero for soluble supports
(with zero separation gap between object and supports)
Fixes #9555
2023-02-06 14:58:53 +01:00
PavelMikus
5de05294db Fix extra perimters overlap with infill, there was unecessary additional extrusion
issue: Extra perimeters on overhangs #9604
2023-02-06 11:43:33 +01:00
rtyr
66a69c9368
Initial MakerGear bundle.
https://github.com/prusa3d/PrusaSlicer/pull/9169
2023-02-06 11:12:29 +01:00
Vojtech Bubnik
fcb612d1ac Bumped up version 2023-02-03 16:06:04 +01:00
Vojtech Bubnik
87268626fb Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-02-03 16:04:14 +01:00