Commit Graph

13736 Commits

Author SHA1 Message Date
Vojtech Bubnik
876e5bc897 Fixed crash in Adaptive Cubic infill if just a single line was extracted.
New function to chain lines, however not used by the Adaptive Cubic infill.
2020-09-21 11:10:57 +02:00
tamasmeszaros
d488af9dce Fix confusing test
fixes #4724
2020-09-21 08:45:28 +02:00
Lukas Matena
2992c71798 Fix build on Linux 2020-09-18 13:37:37 +02:00
Vojtech Bubnik
0d4308538b Adaptive infill:
Fixing compilation on Linux,
WIP: Better chainining of infill lines.
2020-09-18 13:35:35 +02:00
enricoturri1966
e9ffa168f6 Split generation of vertex and index buffers for toolpaths to reduce peak of memory used 2020-09-18 12:15:38 +02:00
Vojtech Bubnik
1e9a3cab55 Adaptive infill: Reshuffled the namespaces. 2020-09-18 10:53:50 +02:00
enricoturri1966
d5824320f7 Fixed sliced info panel not hiding when changing printer type 2020-09-18 08:36:29 +02:00
Vojtech Bubnik
b3e936bda3 Refactoring of adaptive cubic / support cubic:
1) Octree is built directly from the triangle mesh by checking
   overlap of a triangle with an octree cell. This shall produce
   a tighter octree with less dense cells.
2) The same method is used for both the adaptive / support cubic infill,
   where for the support cubic infill the non-overhang triangles are
   ignored.
The AABB tree is no more used.
3) Optimized extraction of continuous infill lines in O(1) instead of O(n^2)
2020-09-17 18:39:28 +02:00
YuSanka
9e645c880c SplashScreen: Fixed message text
UnsavedChangesDialog: Disabled "Move changes to selected preset" button, when printer technology is changed
PresetComboBox: Fixed color of the filament, if it is modified
2020-09-17 15:40:27 +02:00
enricoturri1966
8786d89384 New values for GCodeViewer::Extrusion_Role_Colors 2020-09-17 15:11:22 +02:00
enricoturri1966
b80c658816 Restore estimated time lines in sidebar info 2020-09-17 11:42:58 +02:00
enricoturri1966
057fd456b3 Reduced threshold to split index buffers for toolpaths render 2020-09-17 10:13:14 +02:00
enricoturri1966
16f5d95c79 Refactoring in GCodeViewer initialization 2020-09-17 08:59:36 +02:00
enricoturri1966
39cd88629a Refactoring in toolpaths generation 2020-09-17 08:46:27 +02:00
enricoturri1966
1237b10028 Legend layout -> estimated time move to bottom 2020-09-17 08:18:16 +02:00
enricoturri1966
6b18fcf4f8 Use multiple index buffers to render toolpaths in preview 2020-09-16 15:45:53 +02:00
tamasmeszaros
a2e7e0b7c2 Drop rubbish tests 2020-09-16 15:04:01 +02:00
tamasmeszaros
273fb2febe Fix hollowing crash when splitting broken object has zero parts. 2020-09-16 11:08:58 +02:00
Lukas Matena
c25cd59e7e Added a missing include for gcc 2020-09-15 16:40:57 +02:00
enricoturri1966
cbca113789 Fixed crash when starting the application on a secondary monitor 2020-09-15 15:23:39 +02:00
enricoturri1966
f75c5b1f53 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-15 08:21:23 +02:00
enricoturri1966
445ad2c28b Another small refactoring 2020-09-15 08:18:54 +02:00
Vojtech Bubnik
50ad860036 Fixed missing return 2020-09-14 16:27:38 +02:00
Vojtech Bubnik
c814c16e4a Replaced some of Slic3r::RuntimeError exceptions with Slic3r::SlicingError.
Only Slic3r::SlicingError are now displayed by a notification, other
exceptions are shown by a pop-up dialog.
2020-09-14 18:03:22 +02:00
Vojtech Bubnik
f58ee46687 WIP Refactoring of exceptions:
1) All slicer's exceptions are now derived from Slic3r::Exception.
2) New exceptions are defined for slicing errors.
3) Exceptions are propagated to the Plater to show.
It remains to modify the slicing back-end to throw the new SlicingError
exceptions instead of std::runtime_error and to show the other exceptions
by a message dialog instead of a notification.
2020-09-14 18:03:22 +02:00
YuSanka
42173aecf1 Updated "undo/redo" and "search' icons for the toolbar
* added "settings" and "search_blink" icons
 * suppress the icons scaling update when Plater is in the Preview mode
 * switched "layers_height" and "search" buttons in the toolbar
2020-09-14 17:25:47 +02:00
enricoturri1966
5217eec9a2 Merge pull request #4740 from wavexx/fix_get_time_dhm
Do not include (incorrect!) seconds in get_time_dhm
2020-09-14 09:59:55 +02:00
enricoturri1966
0bae820a9c Small refactoring 2020-09-14 09:18:20 +02:00
charlie
3d6a2741c3 fix build on arch linux 2020-09-14 08:57:23 +02:00
Yuri D'Elia
bbbe2c138b Do not include (incorrect!) seconds in get_time_dhm 2020-09-12 18:20:22 +02:00
Yuri D'Elia
674cc646a0 Include PrintConfig for the definition of AuthorizationType 2020-09-11 16:51:05 +02:00
Yuri D'Elia
fc3b470ded Add missing forward declarations 2020-09-11 16:51:05 +02:00
enricoturri1966
1556bb046e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-11 15:19:32 +02:00
enricoturri1966
0f684cb947 Logging of memory used by the gcode processor and viewer 2020-09-11 15:19:23 +02:00
YuSanka
256a231a39 Updated icons for the top bar
+ Added icon for "Seam editing"
2020-09-11 12:18:03 +02:00
enricoturri1966
aad733f8d2 Fixed conflicts after merge with master 2020-09-11 08:18:41 +02:00
enricoturri1966
fb1c75d898 Updated Sys Info dialog, About dialog, Keyboard shortcuts dialog for gcode viewer 2020-09-11 08:03:13 +02:00
Lukáš Hejl
85a22ab0a7 Merge branch 'lh_adaptive_support_infill_fix' 2020-09-10 23:12:32 +02:00
Lukáš Hejl
693aac1f3f Fix compiler warnings and failing compilation on macOS 2020-09-10 22:57:58 +02:00
Lukáš Hejl
7a37279307 Fix typo in function build_octree 2020-09-10 22:38:37 +02:00
Lukáš Hejl
bfe47c1af0 Fix rotation in support cubic infill 2020-09-10 22:30:49 +02:00
tamasmeszaros
59ed04de37 Merge branch 'tm_rotfinder' 2020-09-10 20:06:18 +02:00
tamasmeszaros
fd0c06d38c Significant performance improvements for elevated and non-elevated case
Apply bruteforce for elevated models
2020-09-10 19:35:45 +02:00
YuSanka
c4f2560205 SplashScreen:
* Show it on the display same as an Application
 * Code refactoring : All related functions moved to the SplashScreen class
 * Add a possibility o hide/show splash scree in Preferences
2020-09-10 18:54:29 +02:00
Lukáš Hejl
d3c7175f5c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-10 17:02:54 +02:00
Lukáš Hejl
76d4ada54f Merge branch 'lh_adaptive_support_infill' 2020-09-10 17:01:56 +02:00
Lukáš Hejl
dc698c2bb1 Move support cubic infill to separate class.
Support infill is enabled in the GUI.
2020-09-10 16:53:08 +02:00
Lukáš Hejl
dfd1351c9a A prototype of adaptive support infill 2020-09-10 14:55:48 +02:00
Lukáš Hejl
dd2fe22f05 Construct octree based on inserted points 2020-09-10 14:52:26 +02:00
Lukáš Hejl
e4c32a85de A simple version of adaptive cubic support, for testing purposes 2020-09-10 14:52:26 +02:00