Commit Graph

118 Commits

Author SHA1 Message Date
enricoturri1966
5f9df6333f ENABLE_GCODE_VIEWER set as default in libslic3r 2020-11-12 14:03:58 +01:00
enricoturri1966
554e0918d3 GCode Viewer - Fixed color print visualization for gcode containing multiple extruders 2020-11-09 13:06:20 +01:00
enricoturri1966
65e42ee8a4 GCode Viewer - Show print/printer/filament settings names in legend 2020-11-09 08:41:14 +01:00
enricoturri1966
792f4ec199 #5079 - Fixed GCode Viewer changing files modified date on Windows 2020-11-05 14:02:43 +01:00
enricoturri1966
6ab6a1320f Fixed post-processing of placeholders in gcode when not exporting remaining times 2020-11-03 12:26:48 +01:00
Vojtech Bubnik
4c48e2017b Fixed quadratic complexity of the time estimator post processor
with a constant complexity (amortized) code.
2020-10-30 09:13:04 +01:00
Vojtech Bubnik
a0c44ad37f Fixed previous commit for Linux/OSX 2020-10-29 13:16:32 +01:00
Vojtech Bubnik
3aa8162d37 Workaround for missing or partially implemented std::from_chars() 2020-10-29 11:37:45 +01:00
Vojtech Bubnik
2ec8ef85f6 Fix of Slicer image not good #4992
Tighter parsing of PrusaSlicer's own G-code annotations
to avoid clashes with comments inside user G-codes.

Also the GCodeReader was extended to return string_views instead
of copying a substring, and the GCodeProcessor was partially adapted
to string_views.
2020-10-29 10:51:51 +01:00
enricoturri1966
7ae2121cc8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-27 17:21:41 +01:00
enricoturri1966
85bd35802a #4982 - Load config data when importing gcode produced by Slic3r and Slic3rPE 2020-10-27 17:18:15 +01:00
enricoturri1966
889c863f22 #4986 - Fixed remaining print time and SD-percentage calculation not correct (replaces e14c122d12) 2020-10-27 15:50:04 +01:00
enricoturri1966
58e7d252c4 Fixed percentage value exported into gcode M73 lines 2020-10-26 11:44:38 +01:00
Lukas Matena
14b5da748b Updated the G10 RepRapFirmware pull request to current master 2020-10-23 13:27:45 +02:00
enricoturri1966
4a5168094e Changed heuristic to clamp toolpaths width 2020-10-16 09:02:37 +02:00
Lukas Matena
32ce49ff37 Fixup of 8df0181 (turning off the export of machine limits)
This should solve #1212 for good
2020-10-06 13:31:42 +02:00
enricoturri1966
f1e5dcf73f Follow-up of 8df01818dd -> GCodeProcessor uses new Machine Limits limitations 2020-10-05 09:15:43 +02:00
enricoturri1966
f97f620903 #4806 - Fixed detection of move type for G1 lines containing Z>0 and E>0 2020-09-30 08:34:29 +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
enricoturri1966
e5ce52db7a Fixed crash when loading gcode files saved with older version of PrusaSlicer 2.3.0.alpha 2020-09-08 11:43:18 +02:00
enricoturri1966
3cd9af0a62 Follow-up of 573194e059 -> Fixed crash when opening a gcode file 2020-09-07 11:30:31 +02:00
enricoturri1966
89b94bdc1d GCodeProcessor -> Use decorations to detect toolpaths height for gcode files generated by PrusaSlicer 2020-09-07 08:35:34 +02:00
enricoturri1966
d0cb723999 GCodeProcessor -> Added cancel callback 2020-09-03 08:32:06 +02:00
Lukas Matena
47cb50ece8 Added two missing includes to fix build on gcc 2020-09-01 18:12:51 +02:00
enricoturri1966
33a290a11e GCodeViewer -> Show printbed model and texture for system printers detected when loading gcode files produced by PrusaSlicer 2020-08-21 10:59:07 +02:00
enricoturri1966
59bc7a74fc GCodeProcessor -> Calculate per layer time estimate 2020-08-18 12:37:07 +02:00
enricoturri1966
4dc8e17818 Code cleanup 2020-08-17 15:59:36 +02:00
enricoturri1966
37bc47a946 GCodeProcessor -> Do not export width tags to gcode 2020-08-17 14:37:26 +02:00
enricoturri1966
51ab4b7fcd GCodeViewer -> Use rounded values for toolpaths height, width and volumetric rate to reduce the number of generated paths 2020-08-17 13:07:13 +02:00
enricoturri1966
2164b87cf1 GCodeProcessor -> Extract toolpaths width from gcode moves 2020-08-17 10:54:41 +02:00
enricoturri1966
b8a9de7454 GCodeProcessor -> Added debug code to check toolpaths data extracted from gcode, as mm3 per mm, height and width 2020-08-17 10:06:41 +02:00
enricoturri1966
97a1c37723 GCodeProcessor -> Extract toolpaths height from gcode moves 2020-08-13 12:51:50 +02:00
enricoturri1966
d6f926b898 ENABLE_GCODE_VIEWER -> Drag and drop .gcode files into gcode viewer 2020-08-11 14:23:47 +02:00
enricoturri1966
e058c856c6 GCodeProcessor -> Fixed time estimate for stealth mode 2020-08-11 11:12:30 +02:00
enricoturri1966
451fae1248 GCodeProcessor -> Export remaining time (lines M73) to gcode 2020-08-10 14:22:05 +02:00
enricoturri1966
dfed8d8d83 Tech ENABLE_GCODE_VIEWER_AS_STATE set as default 2020-08-03 15:00:19 +02:00
enricoturri1966
0b63dfd6f8 ENABLE_GCODE_VIEWER -> Estimated print time statistics moved from PrintStatistics to GCodeProcessor 2020-08-03 13:57:10 +02:00
enricoturri1966
dfea278a70 GCodeProcessor -> Extended import of config data from gcode saved by PrusaSlicer 2020-08-03 08:46:32 +02:00
enricoturri1966
429947f8eb ENABLE_GCODE_VIEWER -> Export to gcode layer z and layer height at each layer change 2020-07-30 13:49:57 +02:00
enricoturri1966
aeb1c2f4dd Follow-up of 9d4344a78c -> ensure printbed always rendered as custom in gcode preview mode 2020-07-29 14:20:01 +02:00
enricoturri1966
55e24c104e GCodeProcessor/GCodeViewer -> Extract bed shape from gcode files generated by PrusaSlicer 2020-07-29 12:47:42 +02:00
enricoturri1966
6f76f11a52 GCodeProcessor -> Load config data from gcode files generated by PrusaSlicer 2020-07-29 11:13:48 +02:00
enricoturri1966
2fa4384e0b GCodeProcessor -> Calculate mm3 per mm on the fly 2020-07-29 10:04:10 +02:00
enricoturri1966
27a3ca81d0 GCodeProcessor -> Human readable extrusion roles in gcode 2020-07-28 09:48:55 +02:00
enricoturri1966
1f576613b5 GCodeProcessor -> Added parsing of 3d part generated gcodes 2020-07-27 15:45:29 +02:00
enricoturri1966
ba558d49ac Code cleanup and small refactoring 2020-07-22 10:37:25 +02:00
enricoturri1966
feeaf59a9c GCodeViewer -> Added estimated printing times for extrusion roles 2020-07-17 10:50:16 +02:00
enricoturri1966
b4df7f02a9 GCodeViewer -> Added estimated printing times for move types 2020-07-17 08:27:23 +02:00
enricoturri1966
2ab525e82b ENABLE_GCODE_VIEWER -> Integration of time estimator into GCodeProcessor 2020-07-16 11:09:21 +02:00
enricoturri1966
3235d89927 GCodeViewer -> Pass vertex normal to shaders for toolpaths 2020-06-29 14:00:08 +02:00