Commit Graph

22071 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
fc9bae667d separate calculation of rotation 2023-02-09 09:12:09 +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
enricoturri1966
d319f920cb Simplified code into GLGizmoScale3D::on_render() 2023-02-08 14:45:45 +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
enricoturri1966
4909bd1b6e Fixed Selection::get_bounding_box_in_reference_system() - Mirrored objects were not accounted properly 2023-02-08 14:20:10 +01:00
enricoturri1966
4ad8a5ce8b Removed obsolete code from ObjectManipulation::update_settings_value 2023-02-08 14:17:22 +01:00
enricoturri1966
04a144f00e Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations 2023-02-08 14:09:24 +01:00
enricoturri1966
d6693ea956 Methods Transformation::get_scaling_factor() and Transformation::get_scaling_factor_matrix() modified to use TransformationSVD 2023-02-08 14:08:51 +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
enricoturri1966
b182675e35 Removed obsolete code from gizmo scale 2023-02-08 10:42:01 +01:00
enricoturri1966
bf48848b00 Small optimization - Removed unneeded normalization from gizmos Move, Rotate and Scale 2023-02-08 10:21:33 +01:00
enricoturri1966
d94bb65563 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations 2023-02-08 10:20:59 +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
d51296bca5 Follow-up to 217708e812
Fixing the transformation resets.
2023-02-07 16:46:57 +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
217708e812 Fixing the transformation resets. 2023-02-07 15:44:58 +01:00
Filip Sykala - NTB T15p
040f721873 Fix translation mentioned by issue:
https://github.com/prusa3d/PrusaSlicer/issues/9583
2023-02-07 15:23:08 +01:00
Filip Sykala - NTB T15p
fb488e745b Allowe cast on surface of corrupted meshes.
Skip filtration --> allowe move over surface under the bed
2023-02-07 14:58:04 +01:00
enricoturri1966
0ae0f1e500 Fixed scaling objects using sidebar panel while the preview is shown 2023-02-07 14:38:36 +01:00
enricoturri1966
e0d2338787 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations 2023-02-07 14:38:18 +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
c2a6694df3 Fixed constrained scale of single instance selections 2023-02-07 13:48:13 +01:00
enricoturri1966
a0b4a79d19 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations 2023-02-07 13:47:47 +01:00
Filip Sykala - NTB T15p
b68894d513 Merge branch 'master' into fs_emboss_temp 2023-02-07 12:10:50 +01:00
Filip Sykala - NTB T15p
c1b480e57f On rayCast miss add part simillar way as right panel do.
Fix: https://github.com/prusa3d/PrusaSlicer/issues/9611
2023-02-07 12:10:40 +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
enricoturri1966
9c7a4a1e51 Fixed rendering of scale gizmo 2023-02-07 11:05:32 +01:00
enricoturri1966
ce0941104b Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations 2023-02-07 11:05:07 +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
enricoturri1966
c843268f7e Fixed warnings 2023-02-07 09:42:01 +01:00
rtyr
ec63f8f0c2
Sync with PrusaSlicer-settings 2023-02-07 08:59:38 +01:00
enricoturri1966
bdd3442346 Rework of Selection::get_bounding_box_in_reference_system() 2023-02-07 08:58:18 +01:00
enricoturri1966
62d0b65b83 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations 2023-02-07 08:40:52 +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