bubnikv
8406b2dafa
Refactoring of ToolOrdering (wipe into infill / object)
...
Refactoring of GCode::_do_export()
Helper lower_bound and search functions similar to std, but without
needing the value object explicitely.
2020-01-10 11:27:04 +01:00
bubnikv
a5f0a98788
ToolOrdering: Removed unused parameter.
2020-01-10 11:27:04 +01:00
bubnikv
823100f3d9
Optimization of G-code export:
...
1) Don't allocate ExtruderOverrides if not necessary
2) Use boost::container::small_vector<int32, 3) for ExtruderOverrides
(usually less than 4 instances are printed))
2020-01-08 14:58:24 +01:00
bubnikv
9f822b0ee4
Some refactoring and const correctness fixes.
2020-01-07 14:35:43 +01:00
Enrico Turri
2731f38611
#3287 - Fixed GCodeAnalyzer and GCodeTimeEstimator when using Machinekit and Mach3/Linuxcnc gcode flavours
2019-12-09 11:40:26 +01:00
Lukas Matena
789687ee6c
Fix of the wipe tower starting point
...
see issues #2968 , #3234 and #3248
2019-12-04 13:47:02 +01:00
Enrico Turri
c0dd946e07
ENABLE_THUMBNAIL_GENERATOR -> render printbed into thumbnails
2019-11-28 14:18:24 +01:00
YuSanka
2a60846d46
Merge remote-tracking branch 'origin/master' into ys_color_print_extension
2019-11-28 09:01:14 +01:00
YuSanka
9522a57676
Code cleaning
2019-11-27 15:27:44 +01:00
Enrico Turri
848827494a
ENABLE_THUMBNAIL_GENERATOR -> Thumbnails generated using a callback function
2019-11-22 12:39:03 +01:00
YuSanka
d72e7ce245
ExtruderSequenceDialog :
...
Fixed layouts after the second opening of the dialog.
(Removing any extruder from the sequence does not cause an incorrect layout)
Validation of entered values added
(0 is not a valid value)
2019-11-16 02:12:37 +01:00
Lukas Matena
9ed8b01a19
Merge branch 'lm_low_wipe_tower'
2019-11-14 10:37:04 +01:00
YuSanka
df54dbd50c
Fixed a sequence of the legend items
2019-11-07 16:36:24 +01:00
YuSanka
0f4fd80574
Implemented new color change preview from Gcode
...
+ Added missed "change_extruder.svg"
2019-11-07 08:13:26 +01:00
YuSanka
05e1ce099b
New legend for color print.
...
Some improvements for coloration multimaterial print indicator
2019-11-05 09:48:53 +01:00
Enrico Turri
75043cf8c1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_plater_thumbnail
2019-10-31 16:41:03 +01:00
Lukas Matena
1b7ba52bd0
WipeTower.cpp: The M220 B/R gcode is only emitted for Marlin firmware flavor
...
The extended gcode is now only supported by Prusa (https://github.com/prusa3d/PrusaSlicer/issues/3114 )
A pull request https://github.com/MarlinFirmware/Marlin/pull/15739 aims to extend the gcode in upstream Marlin as well
2019-10-31 15:08:20 +01:00
Enrico Turri
0bc1ecccea
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_plater_thumbnail
2019-10-29 07:09:07 +01:00
bubnikv
f96cb5db5e
Fix / improvement of unit tests.
2019-10-25 19:06:40 +02:00
Enrico Turri
5cfcfb62db
ENABLE_THUMBNAIL_GENERATOR -> WIP: Refactoring and preparation for adding thumbnails to exported gcode and 3mf files
2019-10-23 13:31:24 +02:00
Enrico Turri
c01cb9aad0
Added tech ENABLE_THUMBNAIL_GENERATOR -> 1st installment of generation of thumbnail from plater (WIP)
2019-10-22 16:02:31 +02:00
Enrico Turri
192d5a33c3
#3082 - Workaround to fix incorrect object position after applying gcode line G92 into custom gcode
2019-10-21 10:12:42 +02:00
Enrico Turri
8fac1139a7
Merge branch 'et_git_3010' of https://github.com/prusa3d/PrusaSlicer
2019-10-18 12:48:06 +02:00
bubnikv
4d03afbb13
Ported remove_collinear(Polygon) and test_polygon from upstream slic3r.
2019-10-15 18:08:32 +02:00
Enrico Turri
e12702de8c
ENABLE_GIT_3010_FIX set as default
2019-10-14 10:03:27 +02:00
Enrico Turri
693fc6ba81
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_git_3010
2019-10-14 08:49:19 +02:00
Lukas Matena
f9f9202a24
Simplified inclusion of the wipe tower into skirt calculation
2019-10-08 14:12:40 +02:00
Lukas Matena
5fac2ef70e
Wipe tower brim width is now part of WipeTowerData class, so it can be used wherever needed
2019-10-08 13:50:51 +02:00
Thomas Moore
e355c13dfb
Include wipe tower in skirt
2019-10-08 11:06:55 +02:00
Lukas Matena
ec845a47d2
Merge branch 'master' into lm_low_wipe_tower
2019-10-01 13:24:25 +02:00
Lukas Matena
63a5605fed
Wipe tower: Sparse layers are not included in filament consumption in case that the 'no sparse layers' option is set
2019-10-01 11:41:37 +02:00
Enrico Turri
33057ee090
#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
bubnikv
8357f1a119
Refactoring of the G-code preview for lower memory allocation
...
and for separation of concerns:
The final G-code preview no more uses ExtrusionPaths structure
to hold the G-code path data extracted by parsing the G-code.
Instead, the ExtrusionPath class has been trimmed down back to
the original size before the G-code preview was introduced,
and a new GCodePreviewData::Extrusion::Path class was created to hold
the additional path data as the extruder ID, color change ID
and fan speed.
2019-09-30 16:25:26 +02:00
bubnikv
4bfc7f9faa
Merge remote-tracking branch 'remotes/origin/et_pull_2922'
2019-09-30 10:23:16 +02:00
Lukas Matena
a34a1341c5
Whitespace changes to supress misleading indentation warnings
...
These appear in newer gcc when spaces and tabs are mixed
2019-09-24 16:01:01 +02:00
Enrico Turri
dd503c328f
#2922 - Port of commit: f42edd35ce by jschuh
2019-09-23 14:56:27 +02:00
YuSanka
a3a01c5b62
Replace "mm3/s" with "mm³/s" in preview legend for a "Volumetric flow rate"
2019-09-23 11:11:43 +02:00
bubnikv
ce8bf4d52d
Merge remote-tracking branch 'remotes/origin/master' into dev
2019-09-13 18:58:39 +02:00
bubnikv
0e8ac9c17e
Fix of a regression in wipe tower generator:
...
Return to the known position after custom tool change G-code.
2019-09-13 18:56:37 +02:00
bubnikv
0eea5fc0ac
Merge remote-tracking branch 'remotes/origin/master' into dev
2019-09-12 10:19:09 +02:00
Enrico Turri
1a7484e001
Follow-up of 44c3493f7d -> error message logged only for multi-extruder printers
2019-09-11 10:02:27 +02:00
Enrico Turri
25613c80ea
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev
2019-09-11 09:15:58 +02:00
Enrico Turri
c60bf6f654
Added missing include
2019-09-11 08:51:36 +02:00
Enrico Turri
2f3edd2387
GCodeAnalyzer: Fixed a crash when encountering an invalid toolchange
2019-09-11 08:39:29 +02:00
bubnikv
1f56b081cc
Merge remote-tracking branch 'remotes/origin/master' into dev
2019-09-10 19:09:41 +02:00
Lukas Matena
afb8f01bb9
Fix of #1266 and #2258
...
In case there were empty object layers supposed to be floating on supports which were set to use a specific extruder, wipe tower was missing layer required to do the toolchange, leading to a crash
Such cases are now detected and layers that need it are additionally assigned as wipe tower layers
Also tracked as SPE-526
2019-09-10 13:13:21 +02:00
Lukas Matena
915488fe33
Some more warnings fixed (WipeTower.cpp/.hpp)
2019-09-10 12:08:43 +02:00
Lukas Matena
ed26c9b73c
CoolingBuffer.cpp: Fixed a crash when encountering an invalid toolchange
...
This can happen if the user enters invalid toolchange through the custom gcodes
Such toolchange is now simply ignored by the CoolingBuffer, exporting gcode is NOT stopped, a log error is emitted
2019-09-10 11:46:18 +02:00
Lukas Matena
080792f9ed
Fixed some more warnings, moved function to get ExtrusionRole name into ExtrusionEntity.hpp
...
So it can be called from wherever it may be needed
2019-09-06 15:55:07 +02:00
Lukas Matena
6f0b44da72
Fixed couple of warnings in WipeTower.cpp, ToolOrdering.cpp and GCode.cpp
2019-09-04 14:56:35 +02:00