Commit Graph

17005 Commits

Author SHA1 Message Date
Vojtech Bubnik
e185bf58b7 Replaced "Simple shorthands for smart pointers" shptr, uqptr, wkptr
with their original names. Using weird shorthands makes the code
unreadable for anyone but the original author.

template<class T> using shptr = std::shared_ptr<T>;
template<class T> using uqptr = std::unique_ptr<T>;
template<class T> using wkptr = std::weak_ptr<T>;
2021-10-04 16:56:26 +02:00
Vojtech Bubnik
b028e169c8 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-10-04 16:33:33 +02:00
Vojtech Bubnik
6192c57368 Fix of support missing under horizontal overhang #6058
There was a bug for more than 4 years, which likely triggers now more
often with the introduction of raft_contact_distance parameter,
which is usually significantly smaller than support_material_contact_distance.
There were no support towers built at the raft for contact layers
below the print_z of the first object layer.
2021-10-04 16:33:25 +02:00
YuSanka
577632d892 Check unsaved preset changes only if project is dirty and it wasn't saved 2021-10-04 16:20:46 +02:00
YuSanka
d214e09400 Fix for #7040 - Missing auto slice after Undo / Redo of deletion of height range modifier 2021-10-04 15:33:32 +02:00
tamasmeszaros
4cc1b2740d Don't report intersection if two polygons are only touching. 2021-10-04 14:16:13 +02:00
YuSanka
8c89abc9fb Fixed inconsistent modifier context menu in the right panel and in the 3d scene 2021-10-04 14:13:42 +02:00
YuSanka
a5a6c0e09a Fix for #7012 - Dark mode + colored axis: Can't read the Manipulation panel 2021-10-04 13:57:20 +02:00
Filip Sykala
39a98e97b4 Fix. Allow simplify volume inside object, fix drawing wireframe 2021-10-04 12:29:45 +02:00
YuSanka
580f157d28 ConfigWizard: Suppress to select SLA printer if a multi-parts object is on a Plater 2021-10-04 11:35:41 +02:00
enricoturri1966
4103086a6e #7056 - Gizmo cut input set to use current locale 2021-10-04 11:12:29 +02:00
Vojtech Bubnik
e533d237f9 Manifold mesh may contain self-intersections, so we want to always allow fixing the mesh.
This is a fix of a regression wrt. https://github.com/prusa3d/PrusaSlicer/releases/tag/version_2.4.0-alpha2
2021-10-04 10:39:58 +02:00
tamasmeszaros
9c177cf167 Merge branch 'tm_convex_intersect_rotcalip' 2021-10-04 10:12:04 +02:00
David Kocik
9f0b31dc55 Close validate warnings on empty plater. 2021-10-04 09:56:23 +02:00
Filip Sykala
56996104cc fix assert 2021-10-04 09:30:30 +02:00
Filip Sykala
f97d6a442b Merge branch 'master' into Fix_wireframe_trafo 2021-10-04 09:23:13 +02:00
Filip Sykala
91462cf9d5 Fix wireframe transformation when supports in SLA are added 2021-10-04 09:23:06 +02:00
enricoturri1966
b78d7cea28 #7054 - Tech ENABLE_SAVE_COMMANDS_ALWAYS_ENABLED: enable command Save (CTRL+S) for untitled projects (automatically calls command Save As) 2021-10-04 09:20:35 +02:00
enricoturri1966
0b78e009b4 #7050 - GCodeProcessor: Fixed processing of gcode lines M109 2021-10-04 09:02:03 +02:00
tamasmeszaros
9fce0ce3a6 Fix compile issues and overlapping polygon fails 2021-10-01 18:27:37 +02:00
Filip Sykala
44db8f58c7 Merge branch 'master' into fs_fix_close_simlify_notify 2021-10-01 17:40:56 +02:00
Filip Sykala
f5faad80a9 add close suggestion notification 2021-10-01 17:40:30 +02:00
David Kocik
0b55c89978 print info notification icon 2021-10-01 17:25:49 +02:00
David Kocik
1de422e932 refactor mr. clippy rendering 2021-10-01 16:49:58 +02:00
Lukas Matena
4ca2401b69 Several minor improvements and fixed warnings 2021-10-01 14:31:22 +02:00
David Kocik
1edbdcfecf remove simplify suggestion function 2021-10-01 15:45:58 +02:00
Vojtech Bubnik
c7d6a95cb3 Slightly reworded error messages for
Cannot import .sl1 files into PrusaSlicer
2021-10-01 15:07:09 +02:00
David Kocik
29aab3a426 PrintInfoNotificationLevel with icon 2021-10-01 15:03:40 +02:00
Vojtech Bubnik
68de2a49a3 Fixed update of mesh volume after applying a transformation.
Fixes flipped normals when importing some 3MFs.
2021-10-01 14:28:45 +02:00
enricoturri1966
aaf47884cd Revert of 117df134f6 2021-10-01 14:14:47 +02:00
Vojtech Bubnik
afbbb36fa4 Fixed import of multi-material AMF files, broken due to admesh eradication. 2021-10-01 13:34:22 +02:00
David Kocik
bac7d2b961 Merge branch 'dk_notifications' 2021-10-01 10:15:36 +02:00
David Kocik
b1c1055963 Close updated item info notification at new item loading 2021-10-01 10:08:19 +02:00
David Kocik
5a45c94ccd Remove duplicit warning about not enabled support enforcers 2021-10-01 10:08:19 +02:00
David Kocik
117c4a432e Object info notification level 2021-10-01 10:08:19 +02:00
David Kocik
213add1b2b Revert Object warning notification to SimplifySuggestion
followup of commit 0d0c092880.
2021-10-01 10:08:19 +02:00
Lukas Matena
5048dbf8b4 Bumped up version number 2021-09-30 16:50:50 +02:00
Lukas Matena
476b48ed11 Revert "Merge branch 'tm_convex_intersect_rotcalip'"
This reverts commit 627d8bcaef, reversing
changes made to 66d4462724.

The change breaks build on mac
2021-09-30 16:49:00 +02:00
tamasmeszaros
627d8bcaef Merge branch 'tm_convex_intersect_rotcalip' 2021-09-30 15:51:56 +02:00
tamasmeszaros
234f062ad4 Fast convex polygon intersection test with rotating calipers 2021-09-30 15:49:12 +02:00
Vojtech Bubnik
66d4462724 Fixed spelling error preffered / preferred 2021-09-30 14:44:11 +02:00
David Kocik
5045e07f78 Find name of preset from alias before selecting preferred preset. 2021-09-30 14:42:30 +02:00
Lukas Matena
8afaa004b7 Merge branch 'vb_project_state' 2021-09-30 12:18:14 +02:00
Vojtech Bubnik
96f4d71c71 Fixed 1st layer support expansion if printed without raft.
This is a regression to PrusaSlicer 2.3.3
2021-09-30 14:01:31 +02:00
Filip Sykala
da251fbd1c Add checkbox for show wire frame 2021-09-30 13:56:04 +02:00
Filip Sykala
07a97f41d3 Fix: ../src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp:411:21: warning: comparison of integer expressions of different signedness: 'std::vector<Slic3r::ModelObject*>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2021-09-30 13:15:21 +02:00
Filip Sykala
a2d2dec107 Merge branch 'master' into fs_simplify_wireframe 2021-09-30 13:03:32 +02:00
Filip Sykala
e3459c7c46 Add Rendering wire frame when simplify 2021-09-30 13:03:15 +02:00
Vojtech Bubnik
b76f66d2d2 Follow-up to 3ee259b602
1) Added parsing of 3MF PrusaSlicer generator semantic version
2) For 3MFs generated by >= "2.4.0-alpha1" and < "2.4.0-alpha3",
   remove unreferenced vertices on loading. This should shrink the incorrectly
   generated 3MFs back.
3) Added check for an empty mesh, which could have crashed PrusaSlicer on 3MF parsing.
2021-09-30 12:18:43 +02:00
Lukas Matena
5fe90599fc Painting gizmos no longer use a separate undo/redo stack 2021-09-30 12:18:43 +02:00