Commit Graph

17005 Commits

Author SHA1 Message Date
Vojtech Bubnik
2adcef8dbe 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
6c99b50008 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-10-04 16:33:33 +02:00
Vojtech Bubnik
37af8492b6 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
9ce2cee6cf Check unsaved preset changes only if project is dirty and it wasn't saved 2021-10-04 16:20:46 +02:00
YuSanka
b35a04b99a Fix for #7040 - Missing auto slice after Undo / Redo of deletion of height range modifier 2021-10-04 15:33:32 +02:00
tamasmeszaros
30aa248234 Don't report intersection if two polygons are only touching. 2021-10-04 14:16:13 +02:00
YuSanka
6b6bc67064 Fixed inconsistent modifier context menu in the right panel and in the 3d scene 2021-10-04 14:13:42 +02:00
YuSanka
40ada1277d Fix for #7012 - Dark mode + colored axis: Can't read the Manipulation panel 2021-10-04 13:57:20 +02:00
Filip Sykala
fb86bdd176 Fix. Allow simplify volume inside object, fix drawing wireframe 2021-10-04 12:29:45 +02:00
YuSanka
5d90ce3f37 ConfigWizard: Suppress to select SLA printer if a multi-parts object is on a Plater 2021-10-04 11:35:41 +02:00
enricoturri1966
86a9933051 #7056 - Gizmo cut input set to use current locale 2021-10-04 11:12:29 +02:00
Vojtech Bubnik
f573fe8ad5 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
379c64ef20 Merge branch 'tm_convex_intersect_rotcalip' 2021-10-04 10:12:04 +02:00
David Kocik
ca4345aa30 Close validate warnings on empty plater. 2021-10-04 09:56:23 +02:00
Filip Sykala
fbd2ac051a fix assert 2021-10-04 09:30:30 +02:00
Filip Sykala
f8c61fef20 Merge branch 'master' into Fix_wireframe_trafo 2021-10-04 09:23:13 +02:00
Filip Sykala
6226503054 Fix wireframe transformation when supports in SLA are added 2021-10-04 09:23:06 +02:00
enricoturri1966
fe61c72cce #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
817441119b #7050 - GCodeProcessor: Fixed processing of gcode lines M109 2021-10-04 09:02:03 +02:00
tamasmeszaros
476ff563c5 Fix compile issues and overlapping polygon fails 2021-10-01 18:27:37 +02:00
Filip Sykala
93b82464a6 Merge branch 'master' into fs_fix_close_simlify_notify 2021-10-01 17:40:56 +02:00
Filip Sykala
2ff85629b9 add close suggestion notification 2021-10-01 17:40:30 +02:00
David Kocik
493f0fd347 print info notification icon 2021-10-01 17:25:49 +02:00
David Kocik
46453b1354 refactor mr. clippy rendering 2021-10-01 16:49:58 +02:00
Lukas Matena
afd8bf9424 Several minor improvements and fixed warnings 2021-10-01 14:31:22 +02:00
David Kocik
4c312b0dba remove simplify suggestion function 2021-10-01 15:45:58 +02:00
Vojtech Bubnik
06d4d24054 Slightly reworded error messages for
Cannot import .sl1 files into PrusaSlicer
2021-10-01 15:07:09 +02:00
David Kocik
0fcbc006cb PrintInfoNotificationLevel with icon 2021-10-01 15:03:40 +02:00
Vojtech Bubnik
1afc35e7c0 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
8e80327528 Revert of 117df134f6 2021-10-01 14:14:47 +02:00
Vojtech Bubnik
4ae477d84e Fixed import of multi-material AMF files, broken due to admesh eradication. 2021-10-01 13:34:22 +02:00
David Kocik
2eb2d63133 Merge branch 'dk_notifications' 2021-10-01 10:15:36 +02:00
David Kocik
0ae569c97c Close updated item info notification at new item loading 2021-10-01 10:08:19 +02:00
David Kocik
9c21bc98cb Remove duplicit warning about not enabled support enforcers 2021-10-01 10:08:19 +02:00
David Kocik
c4cbae697d Object info notification level 2021-10-01 10:08:19 +02:00
David Kocik
830b7ce5eb Revert Object warning notification to SimplifySuggestion
followup of commit 0d0c092880.
2021-10-01 10:08:19 +02:00
Lukas Matena
96233075e6 Bumped up version number 2021-09-30 16:50:50 +02:00
Lukas Matena
59c982c5ea 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
7ad927b99e Merge branch 'tm_convex_intersect_rotcalip' 2021-09-30 15:51:56 +02:00
tamasmeszaros
e1ea6fcd5c Fast convex polygon intersection test with rotating calipers 2021-09-30 15:49:12 +02:00
Vojtech Bubnik
e3ebd09c28 Fixed spelling error preffered / preferred 2021-09-30 14:44:11 +02:00
David Kocik
f045fed340 Find name of preset from alias before selecting preferred preset. 2021-09-30 14:42:30 +02:00
Lukas Matena
a17a934506 Merge branch 'vb_project_state' 2021-09-30 12:18:14 +02:00
Vojtech Bubnik
9cb5c2d826 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
3ebb13632b Add checkbox for show wire frame 2021-09-30 13:56:04 +02:00
Filip Sykala
a2c28b38ed 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
5e4adaf2a3 Merge branch 'master' into fs_simplify_wireframe 2021-09-30 13:03:32 +02:00
Filip Sykala
0ee512bf08 Add Rendering wire frame when simplify 2021-09-30 13:03:15 +02:00
Vojtech Bubnik
2352c07443 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
b257055ad7 Painting gizmos no longer use a separate undo/redo stack 2021-09-30 12:18:43 +02:00