ardenpm
541c31afb0
Merge branch 'master' into pa_reprap_g10_temperature_support
2020-09-15 11:40:38 +10: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
Paul Arden
f6d25d0634
Rework G10 temperature support to be enabled only for a new Firmware type RepRapFirmware
leaving the RepRap/Sprinter
behaviour alone. Rename the enum for gcfRepRap
to gcfRepRapSprinter
and add new gcfRepRapFirmware
enum value. Also adds code to only use the G10 searching in custom G-code if the flavour is RepRapFirmware.
2020-08-21 14:08:32 +10: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
dc59e86d2c
ENABLE_GCODE_VIEWER -> Partial refactoring in preparation for removal of old time estimator
2020-07-21 09:34:54 +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
YuSanka
629584e28f
Editing of the custom GCodes like ColorChange and PausePrint
2020-06-07 22:42:54 +02:00
Lukas Matena
32a353058f
Fixed few warnings
2020-05-26 16:06:11 +02:00
enricoturri1966
a6fe16c612
3rd attempt to fix build on AppleClang
2020-04-02 08:11:25 +02:00
enricoturri1966
f27999e136
Follow-up of cfb6ac76fc
- Another attempt to fix the build on AppleClang (std::array in lambdas)
2020-04-01 16:47:35 +02:00
enricoturri1966
cfb6ac76fc
Fixed build on AppleClang
2020-04-01 15:54:25 +02:00
enricoturri1966
f598c2d5d8
Fixed conflicts after merge with master
2020-04-01 15:06:30 +02:00
bubnikv
31b0ae164d
Optimization of the GCodeTimeEstimator to only keep a fixed number
...
of trapeziodal blocks around. The number is hard coded to 64,
and 3x64 blocks are flushed everytime the queue grows over 4x64 blocks.
This time estimator is slightly more close to what the firmware does, which
keeps a fixed number of blocks and it recalculates all the blocks
every time a new block is added while the oldest block is pushed out
of the queue. Therefore this optimization shall produce negligible
differences to what the previous code produced.
2020-04-01 13:42:26 +02:00
Enrico Turri
d9d5722bf7
Reduced ram used by GCodeTimeEstimator by removing unused data from GCodeTimeEstimator::Block
2020-03-05 14:58:03 +01:00
Enrico Turri
da86472bf1
Reduced ram used by GCodeTimeEstimator by removing unused redundant data from GCodeTimeEstimator::Block::Trapezoid
2020-03-05 12:16:58 +01:00
YuSanka
487ac0423e
Implemented time estimation for PausePrint ( #3544 )
...
DoubleSlider: fixed get_color_for_color_change_tick()
2020-02-20 17:33:43 +01:00
bubnikv
a25f58731e
Fix of d81f7d8465
...
(SlicedInfo: Removed secondes from estimated times):
GCodeTimeEstimator::_get_time_dhm() shall round to minutes, old
code rounded down to minutes, new code rounds to 1/2.
2020-02-10 14:40:21 +01:00
YuSanka
d81f7d8465
SlicedInfo: Removed secondes from estimated times
2020-02-10 12:52:32 +01:00
Enrico Turri
91acbd01ed
Fixed GCodeAnalyzer and GCodeTimeEstimator to avoid artifacts while rendering toolpaths due to numerical issues on extruder coordinate
2020-01-13 15:27:37 +01:00
Enrico Turri
658b1e219e
ENABLE_GIT_3010_FIX set as default
2019-10-14 10:03:27 +02:00
Enrico Turri
6293ff8ccd
Fixed crash into GCodeTimeEstimator::post_process() while processing custom end g-code
2019-10-02 09:38:19 +02:00
Enrico Turri
8d53c5e978
#3010 - Added tech ENABLE_GIT_3010_FIX - GCodeAnalyzer and GCodeTimeEstimator modified to properly process gcode lines G92
2019-10-01 09:48:42 +02:00
Enrico Turri
9b550fbd5b
Improved time estimator post-processing
2019-09-05 09:54:44 +02:00
Enrico Turri
42b8176e9b
Temporary human readable form for print color change tag for time estimate
2019-08-21 16:06:56 +02:00
Enrico Turri
9cabb03f72
GCodeTimeEstimator uses annotated gcode in place of processing m600 lines to detect color print changes.
...
WARNING -> After this commit the exported gcode will contain the extra lines used by the time estimator. They will be removed by a future commit when a new post-process method will be implemented.
2019-08-21 14:43:14 +02:00
bubnikv
fd3fe75d1c
Reworked the rename_file() function on Windows to work reliably and
...
atomically. The code was taken from the llvm project, it is complex
and hopefully it covers all the Windows file system quirks. Vojtech
has highest hopes, that this will fix the various PrusaSlicer.ini
file corruptions.
Enabled the locales switching and error handling on Linux as well,
where now the missing locales are reported and running the locale-gen
tool is recommended.
2019-08-20 16:19:30 +02:00
Enrico Turri
77df54947b
Follow-up of c791ba776f
-> Estimated times for color print layed-out as 'time for color (remaining time at color start)'
2019-08-03 08:51:03 +02:00
Enrico Turri
c791ba776f
Added absolute time to estimated time for color print and fixed a bug in showing estimated times for print color for silent mode
2019-08-02 12:05:02 +02:00
Enrico Turri
25d916f144
Color change time estimates
2019-07-08 08:40:20 +02:00
Enrico Turri
1459ad65c6
#2433 - Time Estimator: clamp accelerate/decelerate distances to avoid them to become negative
2019-06-24 12:35:20 +02:00
Enrico Turri
703f65c7bf
Fix of #1380 - Wrong estimated time when using extruder absolute coordinates
2019-04-15 12:54:57 +02:00
Enrico Turri
ea3d30bff1
Fix of #2082 -> Added lines M73 P100 and M73 Q100 to gcode to signal that print is finished
2019-04-08 11:54:58 +02:00
bubnikv
d414ef3395
Fix of G-code remaining times export, that I broke with my optimizations.
2018-12-19 12:02:17 +01:00
bubnikv
1e6900afa2
Logging of memory usage for the GCodeAnalyzer and GCodePreviewData.
2018-12-18 15:55:45 +01:00
bubnikv
bffcaeff41
Time estimator: Added consumed memory tracing, replaced std::map
...
with std::vector for lower memory consumption.
2018-12-18 14:10:31 +01:00
bubnikv
45e611c9fc
Fixed M203 processing by the time estimator for Smoothieware.
...
Fixes "Print time estimate incorrect for Smoothie flavor with M203 #1259 "
2018-12-17 09:57:24 +01:00
Enrico Turri
9ae6d115a2
New selection -> removed obsolete methods\n+\nFixed a few compile warnings
2018-10-08 15:17:36 +02:00
bubnikv
0558b53493
WIP: Moved sources int src/, separated most of the source code from Perl.
...
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00