Commit Graph

21325 Commits

Author SHA1 Message Date
Vojtech Bubnik
f5662458a2 Removed polygon simplification "hole in square" unit test,
simplification of CW contours is no more enabled by assert.
2023-01-04 13:38:59 +01:00
Vojtech Bubnik
1a5533d571 PlaceholderParser:
1) Implemented access to coEnum values, they are returned as strings.
2) Fixed some possible memory leaks.
3) Fixed some possible union type punning issues.
2023-01-04 13:38:18 +01:00
Vojtech Bubnik
9960c6e4ab Merge remote-tracking branch 'remotes/origin/master' into vb_ensurovani 2023-01-03 17:42:51 +01:00
Vojtech Bubnik
60f6766aab Apply FillBoundedRectilinear on narrow internal solid infills
to reduce zig-zag movements of the print head on overhangs.
Always use thick bridges on internal bridges.
Co-authored-by: lane.wei <lane.wei@bambulab.com>
2023-01-03 17:42:10 +01:00
Vojtech Bubnik
398222a49f Cherry picked FillBoundedRectilinear
Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2023-01-03 17:28:44 +01:00
YuSanka
32d5d2e8ce Folllow-up 8c36ea00f4: Code refactoring for other related places 2023-01-03 13:43:50 +01:00
Vojtech Bubnik
b255278339 Fixed missing includes 2023-01-03 13:39:59 +01:00
Vojtech Bubnik
4f24945727 Merge remote-tracking branch 'remotes/origin/master' into vb_ensurovani 2023-01-03 12:58:25 +01:00
Vojtech Bubnik
62771bf9c1 Fixed compilation issues and warnings. 2023-01-03 12:57:58 +01:00
YuSanka
8c36ea00f4 UnsavedChangesDialog: Code refactoring to get types list in respect to the printer technology.
Note: using of the initializer_list without a container definition causes a crash under GTK
2023-01-03 11:04:03 +01:00
Vojtech Bubnik
fbed29e209 WIP Ensure vertical wall thickness rework: bugfixes 2023-01-03 10:06:52 +01:00
YuSanka
d39768fc9c Improvements for printer selection: Revert to the previously selected physical printer instead of related system preset,
when we had selected FFF physical printer and can't to switch to the SLA preset.
2023-01-02 17:27:19 +01:00
Vojtech Bubnik
785ef08656 WIP ensure vertical wall thickness: Reduced amount of shell region
expansion, added filling in of narrow regions between solid infills
(for example created by propagating shell from the side and from
the top at the same time).
2023-01-02 14:59:40 +01:00
YuSanka
6657369db2 Tab: Clear description lines pointer ob clear pages 2023-01-02 14:57:01 +01:00
enricoturri1966
1eeb658b0e Tech ENABLE_WORLD_COORDINATE - Fixed function contains_skew() for matrices containing mirror 2023-01-02 14:09:03 +01:00
Vojtech Bubnik
f828cba5f0 Merge remote-tracking branch 'remotes/origin/master' into vb_ensurovani 2023-01-02 13:19:48 +01:00
Vojtech Bubnik
fde0d68c40 WIP Reworking of "ensure vertical wall thickness".
1) Flipped the order of "discover_vertical_shells" and "process_external_surfaces",
   now the external surfaces are expanded after "discover_vertical_shells"
   aka "ensure vertical wall thickness" is solved.
2) Reworked LayerRegion::process_external_surfaces() to only expand into
   "ensure vertical wall thickness" regions, also the expansion is done
   in small steps to avoid overflowing into neighbor regions.

also:
Utility functions reserve_more(), reserve_power_of_2(), reserve_more_power_of_2()
Various SurfaceCollecion::filter_xxx() modified to accept an initializer list of surface types.
New bridges detector refactored to accept overhang boundaries.
BoundingBoxWrapper was moved from RetractCrossingPerimeters to AABBTreeIndirect.
2023-01-02 13:19:27 +01:00
enricoturri1966
0b1e1aedf6 Tech ENABLE_WORLD_COORDINATE - A bunch of fixes and improvements in objects/volumes manipulation/transformations 2023-01-02 11:30:07 +01:00
YuSanka
b899d51aba Sidebar: Fixed update of the action buttons when switch between physical printers with the same printer preset, but print has a invalid data.
Related to #8800.
2022-12-27 21:09:13 +01:00
YuSanka
529c126e6d Updated splashscreens 2022-12-27 10:37:45 +01:00
Vojtech Bubnik
fb85baf889 Ported shells.t unit tests from Perl. 2022-12-23 16:07:09 +01:00
YuSanka
624c4d5aa1 Linux specific: KBShortcutsDialog: Added workaround to correct pages layout
#SPE-1372
2022-12-22 17:12:06 +01:00
YuSanka
2047002e3c Hot-fix for 82b720eba1 2022-12-22 14:10:26 +01:00
YuSanka
82b720eba1 Config Wizard: Added check of the profile name for the custom printer.
#SPE-1344
2022-12-22 13:29:42 +01:00
YuSanka
dffca9c54a SavePresetDialog: Check max path length for input preset name
+ Add default suffix for "Palette 1" for mode markers
2022-12-21 12:59:50 +01:00
Filip Sykala - NTB T15p
b90e109b41 Fix:
../src/slic3r/GUI/GLCanvas3D.cpp:3474:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/GLCanvas3D.cpp:3477:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelVolume*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:249:62: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3603:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
2022-12-21 10:51:02 +01:00
Filip Sykala - NTB T15p
4c63d660d1 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-21 09:02:17 +01:00
Filip Sykala - NTB T15p
1896dd5761 Disable italic font check for RaspberryPi(aka linux) 2022-12-21 09:02:10 +01:00
YuSanka
033af199a3 Implemented palettes for mode markers 2022-12-20 15:50:13 +01:00
YuSanka
12ec008950 OG_CustomCtrl: Fixed layout of the multi-option line 2022-12-20 14:43:56 +01:00
YuSanka
b11e651649 ObjectList Improvements: Show object manipulation panel, when all object's parts are selected 2022-12-20 14:43:56 +01:00
Filip Sykala - NTB T15p
a080e83e88 Put origin on surface when change style 2022-12-20 14:29:42 +01:00
Vojtech Bubnik
11c0e567a6 WIP "ensure verticall wall thickness" rework:
1) New region expansion code to propagate wave from a boundary
   of a region inside of it.
2) get_extents() extended with a template attribute to work with
   zero area data sets.
3) ClipperZUtils.hpp for handling Clipper operation with Z coordinate
   (for source contour identification)
2022-12-20 09:09:10 +01:00
Vojtech Bubnik
d3734aa5ae OSX specific: Setting the QoS level to the highest level for TBB
worker threads: QOS_CLASS_USER_INTERACTIVE.
The one level lower QOS_CLASS_USER_INITIATED makes our tester Filip
unhappy, because when slicing tree supports Filip switches to a browser
on another display wating for the slicer to finish, while OSX moves
the slicing threads to high efficiency low coal burning cores.
2022-12-20 08:40:49 +01:00
David Kocik
5f75d61d49 fix of compilation warnings 2022-12-19 15:56:58 +01:00
YuSanka
0e55ffc07f Implementation for FR #8720 - Copy extruder settings to all extruders 2022-12-19 14:57:24 +01:00
David Kocik
e2010761e9 Merge branch 'dk_put' 2022-12-19 14:22:35 +01:00
David Kocik
b9b4edb129 Upload changes
PrusaLink: Use PUT or POST based on information read during test connection (upload-by-put). If put - do additional GET for storage_list and let user to choose where to upload or show name if only 1 is possible. Allow PrusaLink for MK2.5 and MK2.5S.
PrusaConnect: New host type PrusaConnect inherited from PrusaLink class with filled host address, disabled http diggest. After upload read header information - status message and pass it to notification and Printhost upload dialog via events, this message can be shown as warning notification and is recieved in localized lang. Pass accept-language shortcut in upload header. 3 option to upload. (upload, to queue, to print)
Upload Notification: Showing status text, changes in text, not showing close button, Completed state on special call (not 100%) and other design changes.
Right panel: Open URL button.
2022-12-19 14:17:48 +01:00
Filip Sykala - NTB T15p
1845a8d104 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-19 13:27:18 +01:00
Filip Sykala - NTB T15p
994da70ed3 Fix transformation to closest point 2022-12-19 13:27:11 +01:00
YuSanka
0addb3b9e7 Cut: Hide Debug window, leave rectangle mode for the cut plane
+ Fixed CameraUtils::ray_from_persp_screen_pos() to return a correct value of the point
2022-12-19 13:11:38 +01:00
Filip Sykala - NTB T15p
cc9aba8474 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-19 10:54:28 +01:00
Filip Sykala - NTB T15p
aa97f869e4 Try to find correct font face name in list 2022-12-19 10:54:21 +01:00
YuSanka
3b46d68e4f MeasureGizmo: Fixed localization for buttons
+ UKR Localization specific workaround
2022-12-16 17:37:57 +01:00
YuSanka
4da322d527 CutGizmo: Some beautification/reorganization 2022-12-16 10:57:36 +01:00
enricoturri1966
b41c2045e4 Merge branch 'et_mirror' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_mirror 2022-12-16 08:19:14 +01:00
Lukas Matena
84416b41e1 Follow-up to previous commit (wipe tower rotation) 2022-12-16 08:08:29 +01:00
enricoturri1966
58688139fd Tech ENABLE_WORLD_COORDINATE - Fixed rotation of wipe tower 2022-12-16 08:08:29 +01:00
enricoturri1966
f02478f14c Follow up of 9cc5659e50 and 0aa88e1dea - Further fixes in scaling/sizing objects/volumes using sidebar panel 2022-12-16 08:08:29 +01:00
enricoturri1966
92f2396f49 Tech ENABLE_WORLD_COORDINATE - Fixed scaling using sidebar panel 2022-12-16 08:08:29 +01:00