Lukas Matena
b42a12db66
Fixup of 8df0181
(turning off the export of machine limits)
...
This should solve #1212 for good
2020-10-06 13:31:42 +02:00
Lukáš Hejl
6ed25f6e1c
Fixed avoiding of other printed objects
...
Calling std::move on itself causes that the first polygon is empty, which results in disabling this feature
2020-10-06 13:19:39 +02:00
bubnikv
8df01818dd
Limiting the application of Machine Limits
...
https://github.com/prusa3d/PrusaSlicer/issues/1212
WIP: The hints do not rescale when switching the "usage" combo box.
The new g-code time estimator needs to be updated to not read
the machine limits if not enabled.
2020-10-02 17:32:03 +02:00
Vojtech Bubnik
0d6eb842b0
Merge branch 'vb_undoredo_timestamp'
2020-09-23 13:00:01 +02:00
Vojtech Bubnik
0dad7adfa1
"There is an object with no extrusions on the first layer."
...
should throw SlicingError, not RuntimeError.
2020-09-23 12:58:58 +02:00
Lukas Matena
4bf49d960c
Merge branch 'lm_seam_painter_backend'
2020-09-22 21:02:07 +02:00
Lukas Matena
a13fc805d7
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
e7ae26fb8a
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
Lukas Matena
6db2d3a0b2
Merge branch 'master' into lm_seam_painter_backend
2020-09-18 13:44:45 +02:00
Lukas Matena
e78221409a
Renamed CustomSeam to SeamPlacer, move to a separate file
2020-09-18 12:00:14 +02:00
Lukas Matena
a1fadaf955
Partially working implementation of custom seam backend
2020-09-18 12:00:14 +02:00
enricoturri1966
fb4493c9d1
Restore estimated time lines in sidebar info
2020-09-17 11:42:58 +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
enricoturri1966
dd6994c3b2
Logging of memory used by the gcode processor and viewer
2020-09-11 15:19:23 +02:00
enricoturri1966
6b10214bec
Fixed export of pause print lines into gcode
2020-09-09 09:06:50 +02:00
enricoturri1966
573194e059
GCodeProcessor -> Added cancel callback
2020-09-03 08:32:06 +02:00
Lukas Matena
7844ca12fa
First naive prototype of seam painter
2020-09-02 00:36:30 +02:00
Lukas Matena
60cf002e94
Fixed merge conflicts (whitespace only)
2020-09-02 00:36:30 +02:00
Lukas Matena
6646198a9b
Merge branch lm_seam_painter_frontend
2020-09-01 23:03:16 +02:00
enricoturri1966
bd4e4535f9
GCodeProcessor -> Calculate per layer time estimate
2020-08-18 12:37:07 +02:00
Lukas Matena
6db1e5ab8f
Slight code cleanup
2020-08-18 12:00:26 +02:00
enricoturri1966
c81d87b470
Code cleanup
2020-08-17 15:59:36 +02:00
enricoturri1966
73603e4937
GCodeProcessor -> Do not export width tags to gcode
2020-08-17 14:37:26 +02:00
enricoturri1966
f2d02faef4
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
4ca026d4b6
ENABLE_GCODE_VIEWER -> More general drag and drop for .gcode files
2020-08-11 15:44:32 +02:00
enricoturri1966
5a0e048079
ENABLE_GCODE_VIEWER -> Drag and drop .gcode files into gcode viewer
2020-08-11 14:23:47 +02:00
enricoturri1966
6ed2cb661d
GCodeProcessor -> Export remaining time (lines M73) to gcode
2020-08-10 14:22:05 +02:00
enricoturri1966
64001c0fe5
GCodeProcessor -> Fixed export of estimated time to gcode filename
2020-08-07 15:30:08 +02:00
enricoturri1966
8fc5be7e4f
Refactoring to allow to quickly build the various options to show the estimated printing time in gcode viewer scene
2020-08-05 15:43:46 +02:00
enricoturri1966
25c3552555
Fixed conflicts after merge with master
2020-08-04 09:58:19 +02:00
David Kocik
b3f8ae5ca7
Notifications & warning dialog
...
notifications
dialog with warnings produced by slicing is shown before exporting
2020-08-03 15:49:25 +02:00
enricoturri1966
5249b3e018
ENABLE_GCODE_VIEWER -> Estimated print time statistics moved from PrintStatistics to GCodeProcessor
2020-08-03 13:57:10 +02:00
enricoturri1966
534e8bb909
ENABLE_GCODE_VIEWER -> Export to gcode layer z and layer height at each layer change
2020-07-30 13:49:57 +02:00
enricoturri1966
11cf9a87f1
GCodeProcessor -> Calculate mm3 per mm on the fly
2020-07-29 10:04:10 +02:00
enricoturri1966
d9228ee82c
GCodeProcessor -> Human readable extrusion roles in gcode
2020-07-28 09:48:55 +02:00
enricoturri1966
8f90fe1609
Code cleanup and small refactoring
2020-07-22 10:37:25 +02:00
enricoturri1966
5aadfe3d1c
Fixed conflicts after merge with master
2020-07-21 09:48:41 +02:00
enricoturri1966
dc59e86d2c
ENABLE_GCODE_VIEWER -> Partial refactoring in preparation for removal of old time estimator
2020-07-21 09:34:54 +02:00
Lukas Matena
d910f7934b
Empty layer check fix
...
The test gave false positive in case there were supposed to be both object and support extrusions on the first layer
2020-07-21 08:43:23 +02:00
enricoturri1966
5d845c7a25
Fixed conflicts after merge with master
2020-07-17 08:58:12 +02:00
enricoturri1966
f7164db68e
GCodeViewer -> Added estimated printing times for move types
2020-07-17 08:27:23 +02:00
Lukas Matena
f326352ceb
Empty layers check converted to a warning (except for the first layer)
2020-07-16 15:42:33 +02:00
enricoturri1966
3a88e69896
ENABLE_GCODE_VIEWER -> Integration of time estimator into GCodeProcessor
2020-07-16 11:09:21 +02:00
enricoturri1966
73b885fc37
GCodeViewer -> Added imgui dialog for estimated printing times
2020-07-08 13:33:50 +02:00
enricoturri1966
ab60499298
Fixed conflicts after merge with master
2020-06-12 10:35:18 +02:00
YuSanka
befbd6b0fe
Merge remote-tracking branch 'origin/master' into custom_gcodes
2020-06-08 12:27:29 +02:00
YuSanka
629584e28f
Editing of the custom GCodes like ColorChange and PausePrint
2020-06-07 22:42:54 +02:00
enricoturri1966
c3d643ead3
Fixed conflicts after merge with master
2020-06-04 13:57:39 +02:00
Vojtech Bubnik
b8267a5f6f
G-code placeholder parser - new values:
...
print_bed_min, print_bed_max, print_bed_size
calculated from a bounding box of bed_shape vector of points.
Also added first_layer_print_size as a size of a first layer print
bounding box.
2020-06-03 16:30:37 +02:00
Vojtech Bubnik
6529543518
WIP: first_layer_print_min/max, first_layer_print_convex_hull
...
placeholders for the G-code export.
2020-06-03 16:30:37 +02:00