Commit Graph

13729 Commits

Author SHA1 Message Date
Vojtech Bubnik
37c5fe9923 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
acdd5716bd 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
0b2a399b6b New values for GCodeViewer::Extrusion_Role_Colors 2020-09-17 15:11:22 +02:00
enricoturri1966
fb4493c9d1 Restore estimated time lines in sidebar info 2020-09-17 11:42:58 +02:00
enricoturri1966
46d747bfaa Reduced threshold to split index buffers for toolpaths render 2020-09-17 10:13:14 +02:00
enricoturri1966
3ca6278ac9 Refactoring in GCodeViewer initialization 2020-09-17 08:59:36 +02:00
enricoturri1966
a40fc1fe2c Refactoring in toolpaths generation 2020-09-17 08:46:27 +02:00
enricoturri1966
8579ecceed Legend layout -> estimated time move to bottom 2020-09-17 08:18:16 +02:00
enricoturri1966
7a10e23470 Use multiple index buffers to render toolpaths in preview 2020-09-16 15:45:53 +02:00
tamasmeszaros
743d6643ae Drop rubbish tests 2020-09-16 15:04:01 +02:00
tamasmeszaros
af785d1486 Fix hollowing crash when splitting broken object has zero parts. 2020-09-16 11:08:58 +02:00
Lukas Matena
4d5d1390f0 Added a missing include for gcc 2020-09-15 16:40:57 +02:00
enricoturri1966
5fc82cecfe Fixed crash when starting the application on a secondary monitor 2020-09-15 15:23:39 +02:00
enricoturri1966
7f1bea1dc8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-15 08:21:23 +02:00
enricoturri1966
5e4ba27106 Another small refactoring 2020-09-15 08:18:54 +02:00
Vojtech Bubnik
5d8c4b4476 Fixed missing return 2020-09-14 16:27:38 +02:00
Vojtech Bubnik
1eadb6a1a9 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
067cde85f1 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
6ac1935932 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
70536f8212
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
349dd60940 Small refactoring 2020-09-14 09:18:20 +02:00
charlie
6434f54b74 fix build on arch linux 2020-09-14 08:57:23 +02:00
Yuri D'Elia
a32bb59d8e Do not include (incorrect!) seconds in get_time_dhm 2020-09-12 18:20:22 +02:00
Yuri D'Elia
ad20e369fa Include PrintConfig for the definition of AuthorizationType 2020-09-11 16:51:05 +02:00
Yuri D'Elia
776a775996 Add missing forward declarations 2020-09-11 16:51:05 +02:00
enricoturri1966
6cb46c799d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-11 15:19:32 +02:00
enricoturri1966
dd6994c3b2 Logging of memory used by the gcode processor and viewer 2020-09-11 15:19:23 +02:00
YuSanka
a57fe34a76 Updated icons for the top bar
+ Added icon for "Seam editing"
2020-09-11 12:18:03 +02:00
enricoturri1966
aedb3892ba Fixed conflicts after merge with master 2020-09-11 08:18:41 +02:00
enricoturri1966
95b918f01d Updated Sys Info dialog, About dialog, Keyboard shortcuts dialog for gcode viewer 2020-09-11 08:03:13 +02:00
Lukáš Hejl
50a6680dcd Merge branch 'lh_adaptive_support_infill_fix' 2020-09-10 23:12:32 +02:00
Lukáš Hejl
137e7a0712 Fix compiler warnings and failing compilation on macOS 2020-09-10 22:57:58 +02:00
Lukáš Hejl
7ef5def077 Fix typo in function build_octree 2020-09-10 22:38:37 +02:00
Lukáš Hejl
e9a325c9ca Fix rotation in support cubic infill 2020-09-10 22:30:49 +02:00
tamasmeszaros
7766c6ebc4 Merge branch 'tm_rotfinder' 2020-09-10 20:06:18 +02:00
tamasmeszaros
20bd7b99f9 Significant performance improvements for elevated and non-elevated case
Apply bruteforce for elevated models
2020-09-10 19:35:45 +02:00
YuSanka
f1f9785a8a 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
40a7a44495 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-10 17:02:54 +02:00
Lukáš Hejl
cf838a47c4 Merge branch 'lh_adaptive_support_infill' 2020-09-10 17:01:56 +02:00
Lukáš Hejl
f49144a9ef Move support cubic infill to separate class.
Support infill is enabled in the GUI.
2020-09-10 16:53:08 +02:00
Lukáš Hejl
8fb9b290b2 A prototype of adaptive support infill 2020-09-10 14:55:48 +02:00
Lukáš Hejl
680b1b9809 Construct octree based on inserted points 2020-09-10 14:52:26 +02:00
Lukáš Hejl
c261624999 A simple version of adaptive cubic support, for testing purposes 2020-09-10 14:52:26 +02:00
Lukáš Hejl
e55d184a7d Fix missing initialization in TriangleMesh constructor 2020-09-10 14:52:26 +02:00
Lukáš Hejl
70cb67430c Move rotation from building octree to infill generating 2020-09-10 14:52:21 +02:00
enricoturri1966
131cc0a41c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-10 14:35:40 +02:00
enricoturri1966
b991b613de Updated titlebar and splash screen + hidden statusbar for gcode viewer 2020-09-10 14:33:55 +02:00
tamasmeszaros
d527122046 Performance optimizations and bugfix 2020-09-10 14:03:30 +02:00
tamasmeszaros
3b7ea5587e Fix build on win 2020-09-10 14:03:30 +02:00
tamasmeszaros
0d4c67b9a3 Mostly working, inefficiencies remain, status indication partly broken 2020-09-10 14:03:30 +02:00