Commit Graph

8787 Commits

Author SHA1 Message Date
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
f5faad80a9 add close suggestion notification 2021-10-01 17:40:30 +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
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
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
234f062ad4 Fast convex polygon intersection test with rotating calipers 2021-09-30 15:49:12 +02:00
enricoturri1966
09150780c9 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout 2021-09-30 15:08:54 +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
c61a5d234e After gizmo snapshots are compacted, rename the last one to something generic 2021-09-30 12:17:52 +02:00
Vojtech Bubnik
aeb18e729d New preferences key "clear_undo_redo_stack_on_new_project", set to "1"
by default: Clear Undo / Redo stack on new project or load project.
Fixes Clear undo chain #2812
2021-09-30 12:17:52 +02:00
Vojtech Bubnik
1f3b272d77 Redo of the project state, implementation of Undo/Redo stack compression 2021-09-30 12:17:39 +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
Filip Sykala
6b08cc4d22 Merge branch 'master' into fs_simplify_wireframe 2021-09-30 09:52:10 +02:00
Filip Sykala
f7a479a90e Merge branch 'master' into fs_fix_simplify 2021-09-30 09:40:22 +02:00
Filip Sykala
6b9ee1126d Not buildable render contour 2021-09-30 09:40:06 +02:00
Filip Sykala
6bd78aa9c4 Add call for render 2021-09-30 09:23:04 +02:00
enricoturri1966
47d3d068dd Fixed warnings 2021-09-30 09:00:01 +02:00
enricoturri1966
b4423aa954 Fixes required after merge with branch et_layer_time_preview 2021-09-30 08:35:36 +02:00
enricoturri1966
5cf48d1ecf Merge remote-tracking branch 'origin/et_layer_time_preview' into et_preview_layout 2021-09-30 08:16:10 +02:00
enricoturri1966
33da203b18 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout 2021-09-30 07:58:11 +02:00
enricoturri1966
064bc63b23 Fixed conflicts after merge with master 2021-09-30 07:57:37 +02:00
Filip Sykala
84f8ba9fb4 Fix for deleted object after preview 2021-09-29 19:06:31 +02:00
Filip Sykala
95fc054590 fix for getting name of gizmo without key(like simplify) 2021-09-29 18:17:19 +02:00
enricoturri1966
88c701888d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-29 13:34:45 +02:00
enricoturri1966
1df91ea930 Follow-up of 67e519d3ab - Use a platform-indipendent fix 2021-09-29 13:34:30 +02:00
enricoturri1966
e088a9fc36 Tech ENABLE_PREVIEW_LAYOUT - View type combo popup has now adaptive height 2021-09-29 13:30:18 +02:00
enricoturri1966
c963c3c801 Follow-up of 1a95169466 - Fixed legend resizer 2021-09-29 12:35:53 +02:00
enricoturri1966
1a95169466 Tech ENABLE_PREVIEW_LAYOUT - Fixed legend width when moving the application to another monitor 2021-09-29 11:56:55 +02:00
tamasmeszaros
5c1e6d2298 Fix reading relative_correction parameter
Drop compatibility with profiles created on legacy Slic3r PE 1.42-beta1 to 1.42-beta2

fixes #7013
2021-09-29 10:11:29 +02:00
David Kocik
4e63f873da Slicing complete notification fades out after 2 seconds. Issue #7017. 2021-09-29 10:01:13 +02:00
enricoturri1966
c917b82bea Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-27 16:03:22 +02:00
enricoturri1966
80f28538c5 #7011 - Follow-up of 3ee259b602 - Modified volumes' indices rebase 2021-09-27 16:03:09 +02:00
Vojtech Bubnik
85c760d9b6 Touch-up to some comments, removed commented-out code 2021-09-27 15:00:58 +02:00
Vojtech Bubnik
8f4f02f84c Merge remote-tracking branch 'remotes/origin/vb_project_state' 2021-09-27 14:36:22 +02:00
Vojtech Bubnik
9c4494637c WIP Undo / Redo and project state: Marking Undo / Redo snapshots
with their purpose.
Follow-up to 41dc265a45
2021-09-27 14:32:09 +02:00
enricoturri1966
3ee259b602 #7010 - Fixed import of volumes from 3mf. This is a regression wrt. PrusaSlicer 2.4.0-alpha1 due to the 3mf import optimization introduced with 8a2a9dba2f 2021-09-27 14:14:05 +02:00
Vojtech Bubnik
41dc265a45 WIP Undo / Redo and project state: Marking Undo / Redo snapshots
with their purpose.
2021-09-27 14:10:53 +02:00
enricoturri1966
2483a9f036 Added missing include 2021-09-27 13:02:56 +02:00
enricoturri1966
1196251d51 #7015 - Fixed typo in AMFParserContext::endElement() 2021-09-27 12:33:26 +02:00
enricoturri1966
8ecdea152f Follow-up of 721e396edc - Same fix applied to GCodeProcessor::process_G28() and GCodeProcessor::process_M402() 2021-09-27 12:08:26 +02:00
enricoturri1966
721e396edc #7016 - Fixed GCodeProcessor::process_M132() 2021-09-27 11:35:58 +02:00
enricoturri1966
7ca9024fca #7008 - GCodeViewer - Fixed loading of gcodes generated by SuperSlicer 2021-09-27 11:22:36 +02:00
Vojtech Bubnik
43470af0c6 Fix of "About" screen still shows 2020 at the copyright notice (#7018) 2021-09-27 10:07:29 +02:00
Vojtech Bubnik
07e7e11590 Fix of prusa-gcodeviewer changes modification time of the viewed gcode file #7005
This is a regression wrt. PrusaSlicer 2.4.0-alpha1 due to the G-code
processing optimization and parallelization.
Related to GCode Viewer changes files modified date in windows #5079
2021-09-27 10:02:54 +02:00
tamasmeszaros
4d2bf8db0d Switch to current SLA profile if an imported archive doesn't contain it.
Send a warning notification if this happens. Also,if  there is no current SLA profile initialized, an error message will tell the user to switch to an SLA profile before importing.

fixes #6915
2021-09-27 10:00:21 +02:00
tamasmeszaros
33eba4aea6 Rename SLAPrinter interface to SLAArchive as it makes more sense. 2021-09-27 10:00:21 +02:00
enricoturri1966
117df134f6 #7010 - Fixed import from 3mf containing modifiers crossing the printbed 2021-09-27 09:45:54 +02:00
Lukas Matena
6a5feb818f Revert "Fixed volume transformations in SLA:":
The fix is not complete, it is better not to break it more than it was.

This reverts commit 6b25a9c836.
2021-09-24 13:03:56 +02:00
enricoturri1966
d458de601b Tech ENABLE_PREVIEW_LAYOUT - Fixed legend layout for tool view 2021-09-24 12:33:26 +02:00
Lukas Matena
6b25a9c836 Fixed volume transformations in SLA:
Volume transformations were ignored in SLA mode. This did not matter for plain STLs
and PS own 3MF, because in those cases, the volume trafo was identity. Importing
a 3rd party 3MF leads to issues with support/holes placement and generation.
Fixes #6100 and #6744.
2021-09-24 12:14:44 +02:00
Vojtech Bubnik
fec5d92bc8 Added various has_duplicate_points() checks, to be used by asserts.
Removed some "extern" function modifiers, they have no meaning in C++.
2021-09-24 14:07:46 +02:00
YuSanka
7eea15fdde Set the project state to 'dirty' only if a project has a name (was saved or loaded).
Do not mark the project as dirty if it is a new project which hasn't been saved yet.
2021-09-24 13:01:29 +02:00
enricoturri1966
57a0b23a07 Tech ENABLE_PREVIEW_LAYOUT - Avoid resetting the preview's horizontal slider when toggling options 2021-09-24 11:57:29 +02:00
Vojtech Bubnik
6c37955d75 Moved a commented out test for DynamicPrintConfig serialization
/ deserialization into a living unit test.
2021-09-24 11:32:15 +02:00
YuSanka
60d8a7b301 MSW specific: Follow up 683cb42454 - Set Selection for the content of focused controls (TextCtrls a SpinCtrls) 2021-09-24 10:55:34 +02:00
tamasmeszaros
acd2448f10 Fix stl export on Linux 2021-09-24 10:15:46 +02:00
Vojtech Bubnik
3872524dc4 Follow-up to b6d7601ead
Fixing the FDM raft generator.
2021-09-24 10:13:26 +02:00
Vojtech Bubnik
0c0c37b76c Fix of [2.4.0a] version placeholder doesn't work for output filename format #7002 2021-09-24 09:36:14 +02:00
enricoturri1966
720fdf9bb3 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout 2021-09-24 09:23:00 +02:00
enricoturri1966
e12cf58c91 Tech ENABLE_PREVIEW_LAYOUT - Replace options combo in bottom toolbar with toolbar in legend 2021-09-24 09:22:50 +02:00
Vojtech Bubnik
04e4aee246 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-09-23 18:46:15 +02:00
Vojtech Bubnik
b6d7601ead Fixed endless loop in support raft generator. 2021-09-23 18:46:11 +02:00
YuSanka
8f6386cdff Fix of #7000 - Compilation error: ambiguous overload for ‘operator+ 2021-09-23 16:54:40 +02:00
YuSanka
9f62aeabab DoubleSlider: Fixed a bug related to the unexpected mouse capture end
Steps to repro:
 1.Use left mouse button to move thumb of the DoubleSlider
 2.Click by right mouse button
 3.Thumb is moving even if you move the mouse out of the DoubleSlider
2021-09-23 16:54:40 +02:00
David Kocik
976ef2c1b9 Progress bar notifications and Export finished notification changes.
Export Finished notification ejecting state.
Slicing began state in progress notification.
Timing of progress bar notifications. Progress indicator disappears instantly at 100%. While slicing goes into Slicing Finished without fade out. 
Preventing of negative growth of slicing progress bar.
Slicing progress bar - Negative percent value means now No info rather than Canceled.
Hiding slicing progress at printer technology change.
2021-09-23 16:15:39 +02:00
YuSanka
cd4c29b1e5 MSW specific: Fix for #6938 - Cycling through tabs using Ctrl+PageUp/Down doesn't work
OnNavigationKey() function is copied from wxNotebook to Notebook
2021-09-23 16:02:44 +02:00
YuSanka
853a5846ec Fix for #6993 - Small hieght combobox in "Settings tab as menu items" 2021-09-23 15:39:54 +02:00
David Kocik
6ca474192f Fix of hidden progress bar in progress indicator notification 2021-09-23 15:01:19 +02:00
YuSanka
683cb42454 Fix for #6941 - Search Settings: Put focus into input field when navigating to the setting 2021-09-23 12:32:59 +02:00
enricoturri1966
fee31084bd Fixed conflicts after merge with master 2021-09-23 12:06:18 +02:00
enricoturri1966
d7216b5d68 Follow-up of f71cf324b9 - Fixed shown tool position 2021-09-23 11:51:30 +02:00
David Kocik
1f82714159 Blacklisted AMHook.dll 2021-09-23 11:15:08 +02:00
David Kocik
b382ac8541 Fixed rendering undo/redo toolbar arrow. 2021-09-23 09:56:28 +02:00