Commit Graph

6168 Commits

Author SHA1 Message Date
Vojtech Bubnik
c2db7ff6fb Fixed crash on Linux on startup 2020-10-01 19:16:23 +02:00
bubnikv
cfe305a97a Refresh the page tree immediately after key press. 2020-09-29 14:47:03 +02:00
bubnikv
21a75575f3 Cancellation of parameter page build process. 2020-09-29 13:36:56 +02:00
bubnikv
2439458ce0 Faster switching of parameter pages if the page is switched
by cursor keys in the tree control:
The page update is delayed to idle.
2020-09-29 11:04:25 +02:00
YuSanka
6fe520be2d Fixed crash on BedShapeDialog creation 2020-09-25 10:44:22 +02:00
YuSanka
73d31a601a Page class is used as a container of option groups
and doesn't inherited from wxScrolledWindow now
2020-09-24 18:54:54 +02:00
YuSanka
247e9825a4 Fixed highlighting of the searched option
+ Create controls only on the shown and active tab
+ Line class : deleted unused sizer
+ In GUI_Utils added TaskTimer class for the print a time of some task duration
+ BedShapeDialog:: activated options_groups
+ commented some unused code
2020-09-24 15:41:48 +02:00
YuSanka
8cc3d9eabb Fixed msw_scale() for Infill field 2020-09-23 09:35:30 +02:00
YuSanka
bb1ba1575a Merge remote-tracking branch 'origin/master' into ys_optgroup_refact 2020-09-23 08:38:21 +02:00
YuSanka
7126ab37b2 Fixed non-MSW builds 2020-09-23 08:33:16 +02:00
Lukas Matena
e42681729f Merge branch 'lm_seam_painter_backend' 2020-09-22 21:02:07 +02:00
Lukas Matena
2c86c6e68b Alessandro's name spelling fix (README, manifests) 2020-09-22 20:45:59 +02:00
YuSanka
dfaf3c5c97 Fixed scaling on MSW for new OptionsGroup 2020-09-22 16:16:35 +02:00
Lukas Matena
f119b833a2 Removed obsolete wipe tower related code
Most of the code is already commented out for a long time, it should be safe to remove now.
2020-09-22 15:20:24 +02:00
Lukas Matena
5d144237ac Fix of #2834 (unretracted wipes on wipe tower)
Wiping moves performed before moving away from the wipe tower were replaced by
scheduling a regular wipe that is performed after normal gcode generator regains
control. This makes it consistent with wipes on the model and gets rid of the
unretracted wipes.
2020-09-22 15:20:19 +02:00
YuSanka
9b1ae700e8 Code refactoring of the OptionsGroup class:
Controls are created only for the active page now
2020-09-22 11:17:43 +02:00
Vojtech Bubnik
56e6d10a86 Adaptive Cubic infill:
1) Fixed a wrong offset when extracting infill lines from the octree.
2) Added a variant for testing triangle in a bounding sphere
   when buildind the octree. Currently not used as the box test
   is more tight.
3) "Bridging infill" regions are now triangulated and used to densify
   the octree as well to support the bridging infill correctly.
2020-09-22 08:53:45 +02:00
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
Lukas Matena
5c6afc9d5a Fix build on macOS and one logic error 2020-09-18 14:26:06 +02:00
Lukas Matena
20b1f841da Merge branch 'master' into lm_seam_painter_backend 2020-09-18 13:44:45 +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
Lukas Matena
51d3d9403c Store seam history for more islands 2020-09-18 12:20:02 +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
Lukas Matena
28294e4928 use center of enforcer only with spAligned 2020-09-18 12:00:48 +02:00
Lukas Matena
c6851d1227 Simple implementation of spRandom 2020-09-18 12:00:40 +02:00
Lukas Matena
2576949ab4 fixed center-finding algorithm 2020-09-18 12:00:40 +02:00
Lukas Matena
00eb95ffd8 Renamed CustomSeam to SeamPlacer, move to a separate file 2020-09-18 12:00:14 +02:00
Lukas Matena
d5eb3f4ef1 Partially working implementation of custom seam backend 2020-09-18 12:00:14 +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
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