Lukas Matena
43d9e38325
Wipe tower: reorder extruders so first layer starts with soluble if possible
...
That way it will not be wiped on first layer
2021-04-06 15:37:39 +02:00
Lukas Matena
5d636ab853
Wipe tower: respect first_layer_speed
2021-04-06 15:37:39 +02:00
Lukas Matena
3459231111
Wipe tower: set travel feedrate for a move from custom toolchange position to the wipe tower ( #5483 )
2021-04-05 23:39:27 +02:00
Lukas Matena
67bc2e472f
Wipe tower: fix wipe moves after recent changes
2021-04-05 23:39:27 +02:00
Lukas Matena
a6ddab856b
Wipe tower: refactoring of brim and solid infill on first layer
2021-04-05 23:39:27 +02:00
Lukas Matena
f6de946dd7
Wipe tower: don't use soluble filament for perimeters, sparse infill or first layer
2021-04-05 23:39:27 +02:00
Lukas Matena
3ed68ac28a
Wipe tower: slightly changed finish_layer logic so it can be called after any toolchange
2021-04-05 23:39:27 +02:00
Lukas Matena
cc7ef40e20
Wipe tower: remove unfinished square wipe tower option
2021-04-05 23:39:27 +02:00
Lukas Matena
97c4c02001
Wipe tower: don't do sparse infill when there is a soluble filament above it
2021-04-05 23:39:27 +02:00
enricoturri1966
ab3890dab5
Follow-up of 3fce8398f0
- Fixed build warnings
2021-03-31 08:54:58 +02:00
enricoturri1966
3fce8398f0
Follow-up of 6ffa51da58
- Modified export of final M73 lines for remaining time to next printer stop accordingly to firmware specifications
2021-03-30 09:59:10 +02:00
enricoturri1966
68303059a6
Extract bed size from gcode produced with Simplify3d
2021-03-25 09:23:14 +01:00
enricoturri1966
645e5b6862
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_extended_m73
2021-03-24 12:05:36 +01:00
enricoturri1966
9c951b3108
Fixed parsing of g-code files generated by newer versions of Simplify3D
2021-03-24 11:36:16 +01:00
enricoturri1966
a0feb0f652
Preview and G-code viewer - Fixed synchronization between markers for pause print, color changes, custom g-code, retractions, deretractions and current line shown in g-code window
2021-03-23 12:46:04 +01:00
enricoturri1966
6ffa51da58
1st installment of export to gcode of M73 lines for remaining time to next printer stop
2021-03-23 09:05:52 +01:00
enricoturri1966
8027c94a41
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-08 08:35:49 +01:00
Lukas Matena
1efa9a06f6
Adjustable wipe tower brim
2021-03-05 16:41:02 +01:00
enricoturri1966
252aa9b229
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-04 13:24:08 +01:00
enricoturri1966
d99895805c
Follow-up of 6a46b71dc1
- Fix build on non-Windows platforms
2021-03-03 15:17:45 +01:00
enricoturri1966
6a46b71dc1
#5843 - GCodeProcessor: added processing of lines G28
2021-03-03 13:53:37 +01:00
enricoturri1966
da7d7ae11b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-03 09:07:28 +01:00
enricoturri1966
2c8f385c7f
1st installment of g-code window in preview
2021-03-02 10:01:06 +01:00
enricoturri1966
9a31580bde
GCodeProcessor -> use boost::starts_with()
2021-02-26 16:00:32 +01:00
enricoturri1966
c9666ea257
#4402 - Review and merge of #6106 Temperature visualization in preview and G-code Viewer by combolek
2021-02-26 14:17:53 +01:00
Lukáš Hejl
a53de51b22
Fix of 8f293f0cb5
...
When was set use_external_mp_once to true then after first calling the avoid crossing perimeters this flag was reset which cases that on the second call of the avoid crossing perimeters the travel move didn't process as external.
2021-02-25 23:30:22 +01:00
enricoturri1966
48481c10b4
Tech ENABLE_VOLUMETRIC_EXTRUSION_PROCESSING set as default
2021-02-25 16:29:18 +01:00
Vojtech Bubnik
43c05d35ea
Fix of crash when using raft with modified Shape-Box with height 0.5mm #5652
...
Reworked skirt generator to only generate skirt at non-empty layers
(layers that actually extruder object or support) and to respect minimum
layer height. Skirt generator stops at the first layer where those both
conditions cannot be met.
2021-02-25 12:18:11 +01:00
enricoturri1966
e44c1006d5
#6117 - Allow import of gcode files processed by ArcWelder
2021-02-24 09:46:42 +01:00
Lukáš Hejl
77d007c484
Fixed calculation of a distance from begin of a contour in the avoid crossing perimeters.
...
The total length of a contour was incorrectly computed, which could cause the longest detour was selected instead of the shortest one in some cases.
2021-02-23 20:56:36 +01:00
Lukáš Hejl
dc576b0511
Fixed inner offset in the avoid crossing perimeters.
...
Minimum contour width was used incorrectly, which could lead to breaking contour to more disconnected polygons.
2021-02-23 20:43:34 +01:00
Lukas Matena
1904b7b904
Bugfix: custom seam did not work for triangles that were exactly vertical
...
The projection algorithm was originally made for custom supports, so vertical triangles
were not interesting. They are for seam. Instead of rewriting the algorithm and risking
more bugs, the edge case is detected and the triangle is tilted slightly.
2021-02-22 16:26:16 +01:00
Lukas Matena
bd2cbea202
Fix aligned seam when sequential printing is enabled
2021-02-22 16:26:16 +01:00
enricoturri1966
bbf5c62af5
Follow-up of 9afaebac75
-> Fixed wrong gcode line numbers shown on preview horizontal slider when time estimation for silent mode is active
2021-02-19 14:12:49 +01:00
enricoturri1966
86d7e1fb90
#5538 - Validation of custom g-code against gcode processor reserved keywords
2021-02-18 14:34:40 +01:00
enricoturri1966
50c6fc1719
Tech ENABLE_TOOLPATHS_WIDTH_HEIGHT_FROM_GCODE set as default
2021-02-17 11:23:17 +01:00
Vojtech Bubnik
6ea5781709
Fix of Supports printed too slowly. #984
...
Processing of CoolingBuffer is newly staggered for support layers
until the 1st object layer above supports is received by CoolingBuffer.
2021-02-16 11:30:57 +01:00
enricoturri1966
9afaebac75
#5611 - Added option to show gcode line number on horizontal slider in preview
2021-02-16 10:07:05 +01:00
enricoturri1966
cf260f6e44
#6006 - Gcode processor: fixed error prompt for gcode lines Tc, Tx, T?
2021-02-11 11:48:46 +01:00
Vojtech Bubnik
db2d78ff21
Reduction on compiler warnings, mainly on MSVC.
...
Fix of the new gap_fill_enable flag: Take it into account when comparing
regions.
2021-02-10 17:29:07 +01:00
Lukas Matena
1834ebe981
Fixing Clang warnings 3
2021-02-08 17:52:29 +01:00
Lukas Matena
0ff0444dcc
Fixing Clang warnings 1
2021-02-08 17:52:29 +01:00
Vojtech Bubnik
de32992b49
Fix of Fan ramp not correct for layer 1 #5893
2021-02-08 12:43:27 +01:00
Vojtech Bubnik
5f86d11c74
EdgeGrid refactoring to support both open and closed contours.
...
Squashed commit of the following:
commit 4e13a8fe19abcc9aae39a9bc4c7953a743196504
Merge: 6ae766409 6f89da1f3
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Fri Feb 5 11:19:35 2021 +0100
Merge remote-tracking branch 'remotes/origin/master' into vb_edgegrid_open_lines
commit 6ae76640942269993c942861f0444088843e3fa1
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Fri Feb 5 11:14:48 2021 +0100
EdgeGrid enhancement to accept both the open and closed lines.
commit 36a5efcd558bd5fd5f46b5f561387a2c73221553
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Fri Feb 5 10:52:14 2021 +0100
EdgeGrid improvements: Documentation, one bug fix after recent refactoring.
commit 6f89da1f39
Author: tamasmeszaros <meszaros.q@gmail.com>
Date: Thu Feb 4 20:31:50 2021 +0100
Disable libicu for boost-regex
Should have been disabled from the beginning
commit ffc77b1a72a0be9b5622fd33defeebb24bf07b34
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Thu Feb 4 18:40:33 2021 +0100
EdgeGrid: Annotated those methods that do not work with open contours.
commit 8039a645b4bf0c46c99b90a9c34e7189d7442f86
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date: Thu Feb 4 18:28:21 2021 +0100
Refactoring of EdgeGrid structure to support both closed and open lines.
2021-02-05 11:21:04 +01:00
Vojtech Bubnik
73c9f939e0
Squash merge of lh_brim_rework,
...
brim separated to Brim.cpp,hpp
Refactored accessors to PrintObjectPtrs, PrintRegionPtrs, LayerPtrs,
SupportLayerPtrs for const correctness.
2021-02-03 15:12:53 +01:00
Lukas Matena
b5280fbed9
Fixing GCC warnings 1
2021-01-29 10:46:33 +01:00
enricoturri1966
4d3cb19423
5677 - GCodeProcessor accepts gcode line T-1 as valid for RepRapFirmware and RepRapSprinter
2021-01-04 14:21:24 +01:00
Lukas Matena
6e3b4b6fd8
Random seam: optimization and fix of a possible infinite loop
2020-12-17 15:48:25 +01:00
enricoturri1966
b8fc1d3173
GCodeViewer - Fixed visualization of time estimates for silent mode
2020-12-17 11:41:41 +01:00
Lukáš Hejl
80251e0cf9
Fixed of unintentional disabling of wipe even in cases when avoid crossing perimeters weren't applied due to exceeding the maximum detour length.
2020-12-16 13:17:09 +01:00
enricoturri1966
dcd69b4ef8
#5415 - Fixed preview when volumetric extrusion is turned on
2020-12-15 15:57:22 +01:00
Lukáš Hejl
0ca337ac7a
Apply avoid crossing perimeters also for supports.
2020-12-15 06:46:44 +01:00
enricoturri1966
cdb05d103a
Tweaked clamping of max toolpaths width
2020-12-14 15:11:38 +01:00
enricoturri1966
9605e235b8
#5378 - Do not apply machine limits for non-Marlin firmwares
2020-12-14 14:02:50 +01:00
Vojtech Bubnik
b5f95dd4b4
Avoid crossing perimeters max detour could newly be specified
...
in percentage of the direct path.
2020-12-14 12:45:49 +01:00
Vojtech Bubnik
bd79036d13
Replaced all "long long" types with int64_t
...
Replaced all "unsigned long long" types with uint64_t.
These "new" types better communicate their meaning and they are
guaranteed to behave the same on all platforms & compilers.
2020-12-10 08:40:15 +01:00
Vojtech Bubnik
06df87da35
Fix of 298b730589
...
(linear tapering of extrusion rate for the 1st spiral vase layer)
Linear tapering could only be implemented for relative extruder distances.
For absolute extruder distances, all the G1 Exxx in all spiral vase layers
would have to be adjusted, which is much more complex and risky to do now
before release.
2020-12-09 16:52:41 +01:00
Vojtech Bubnik
298b730589
Implemented linear tapering of extrusion rate for the 1st spiral vase layer
...
above the solid infill. Should fix
first layer of vase (after bottom layers) is bulging (0.6nozzle, 0.4 layerhight) #3712
Adjust flow of the "second" layer in spiral vase mode #2795
2020-12-09 14:54:26 +01:00
enricoturri1966
b7ac74bc42
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-08 15:56:08 +01:00
enricoturri1966
5bd443cd1f
#4936 - Take toolpaths width and height from gcode decorations, if available
2020-12-08 15:55:53 +01:00
Vojtech Bubnik
5f456ebbe7
Merge branch 'lh_avoid_crossing_perimeters'
2020-12-08 13:39:33 +01:00
Vojtech Bubnik
c7586e5713
Fix of Command line slicing bad gcode #5029
...
SL1 file was exported with a .gcode suffix if the user did not provide
output file name for SLA command line slicing.
2020-12-07 18:39:33 +01:00
Vojtech Bubnik
b909ce7a3d
Fix of [BUG]Environment variables not all exported while calling Post-Processing Scripts #4901
2020-12-07 14:59:36 +01:00
enricoturri1966
f77475e501
Tech ENABLE_SHOW_WIPE_MOVES set as default
2020-12-07 10:29:50 +01:00
Lukas Matena
997ee971b4
Bugfix: custom seam identification
...
Bounding boxes of polygons could overlap. Ask the AABB tree for all possible candidates.
Might be faster than searching for the closest triangle, that requires traversing the whole depth of the tree every time.
2020-12-05 02:02:22 +01:00
Lukas Matena
985a4a8bf3
Bugfix: custom seam did not work on first layer with elephant foot compensation active
2020-12-05 00:02:43 +01:00
Lukas Matena
98434eb77b
Bugfix: seam enforcers not always respected ( #5137 , #5294 )
2020-12-05 00:02:43 +01:00
Vojtech Bubnik
e1fc0b17a2
Ramp up layer cooling fan over X layers #848
...
Fan speed will be ramped up linearly from zero at layer disable_fan_first_layers
to maximum at layer full_fan_speed_layer. full_fan_speed_layer will be
ignored if lower than disable_fan_first_layers, in which case
the fan will be running at maximum allowed speed at layer
disable_fan_first_layers + 1.;
WIP: The cooling PresetHints are likely not finalized yet.
2020-12-04 11:53:02 +01:00
Lukáš Hejl
98055de28c
External paths avoid crossing perimeters of holes
2020-12-03 09:43:21 +01:00
Lukáš Hejl
f917b83706
Fixed compiler warnings
2020-11-29 17:29:11 +01:00
Lukáš Hejl
87879034f6
Merge remote-tracking branch 'origin/master' into lh_avoid_crossing_perimeters
...
# Conflicts:
# src/libslic3r/MotionPlanner.cpp
# src/libslic3r/libslic3r.h
2020-11-29 17:27:23 +01:00
Lukáš Hejl
dd97eaa812
Fixed case when lslices in Layer is empty
2020-11-29 17:26:02 +01:00
Lukáš Hejl
55c282d85d
Revamp of implementation of the avoid crossing perimeters algorithm.
...
The strategy for the avoid crossing perimeters algorithm has been redesigned. But external travels (travel between objects or supports) have not been solved yet. For these travels is used a direct path between two points.
Much of the code has been reworked, which leads to significant speedup compared to the previous implementation.
Also, several potential bugs have been fixed.
2020-11-29 13:58:36 +01:00
Lukas Matena
ca09bf0805
Fix random seam for single contour islands ( #5003 ) and for external_perimeters_first
2020-11-27 11:33:25 +01:00
Lukas Matena
f485f66b2a
Seam - fix indexing of layers ( #5112 , #5014 )
2020-11-27 10:09:20 +01:00
Lukas Matena
22f93a34a8
Fix horrible complexity of custom seam lookup ( #5067 )
...
- polygons are offset individually
- custom areas are kept separately for each PrintObject
- AABB tree is used to get logN lookup complexity
2020-11-27 10:09:20 +01:00
enricoturri1966
00a67ba004
GCode Viewer -> Parse gcode produced by KISSSlicer
2020-11-26 16:07:07 +01:00
enricoturri1966
4d483f323f
GCode Viewer -> Show extimated layer time on the vertical slider for gcode produced by PrusaSlicer 2.3.0, Cura, Simplify3D, CraftWare, ideaMaker
2020-11-26 08:43:04 +01:00
enricoturri1966
92953acc57
#5236 - Fixed color not correctly shown after slice
...
The bug was introduced with 148f4fe766
which is now replaced by this commit
2020-11-23 17:15:22 +01:00
enricoturri1966
f68cf49f3d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_wipe_moves
2020-11-23 10:11:04 +01:00
Vojtech Bubnik
25ca1fcf77
Some minor refactoring / polishing.
2020-11-21 13:16:03 +01:00
enricoturri1966
0e6acbc0e2
Preview - Visualization of wipe mones
2020-11-21 10:36:10 +01:00
Vojtech Bubnik
060f1d48c1
Little more refactoring.
2020-11-20 11:56:40 +01:00
Enrico Turri
148f4fe766
GCode Viewer - Fixed crash when switching to tool view with gcode generated by slicers other than PrusaSlicer
2020-11-20 11:50:25 +01:00
YuSanka
feffb66085
Ruler for DoubleSlider: Added estimated print time
2020-11-18 05:02:51 -08:00
Vojtech Bubnik
f206b743fd
Avoid crossing perimeters: Further refactoring for clarity, code review.
2020-11-17 15:34:50 +01:00
Vojtech Bubnik
62ab17bf6e
AvoidCrossingPerimeters: Refactored for better encapsulation.
2020-11-17 10:42:27 +01:00
Vojtech Bubnik
04c2fde671
Removed the old motion planner.
2020-11-17 09:33:30 +01:00
Lukáš Hejl
49ce613be7
Enable previous heuristics which was disabled by mistake
2020-11-16 14:37:42 +01:00
Lukáš Hejl
c702b3b71d
Add heuristics for removing unnecessary detours
2020-11-16 14:22:32 +01:00
Lukáš Hejl
9936b8e34e
Add missing includes
2020-11-16 14:22:32 +01:00
Lukáš Hejl
3db66af716
Fix another compiler warning
2020-11-16 14:22:32 +01:00
Lukáš Hejl
266e6dee5d
Fix compiler warnings
2020-11-16 14:22:32 +01:00
Lukáš Hejl
c00c7eaed3
Rework of outer borders to reduce unnecessary detours along the border.
...
The resulting path now contains all intersection with borders, which allows eliminating more unnecessary detours and more simplify the path.
2020-11-16 14:22:32 +01:00
Lukáš Hejl
ef9de07740
Disabling wipe for avoid crossing perimeters
2020-11-16 14:22:32 +01:00
Lukáš Hejl
7f94e9fa59
Fixed perimeters crossing when supports are printed.
2020-11-16 14:22:32 +01:00
Lukáš Hejl
2afeea5b6f
Fixed division by zero when the layer is empty
2020-11-16 14:22:32 +01:00
Lukáš Hejl
3e98e2a4bd
Fixed avoiding of other printed objects, again
...
Calling std::move on itself causes that the first polygon is empty, which results in disabling this feature on Linux.
This was fixed before, but I accidentally reverted it when AvoidCrossingPerimeters was moved to separate file.
2020-11-16 14:22:32 +01:00
Lukáš Hejl
8adf02a289
Moved AvoidCrossingPerimeters to separate file
2020-11-16 14:22:32 +01:00
enricoturri1966
f1d10f3c90
ENABLE_GCODE_VIEWER set as default in libslic3r
2020-11-12 14:03:58 +01:00
enricoturri1966
80e8b5e985
Removed the legacy PreviewData.cpp,hpp
2020-11-11 16:38:51 +01:00
enricoturri1966
4f85a42830
Follow-up of bb74d2da5b
and 7b2aca0159
-> Removed inclusions of GCode/Analyzer.hpp and GCodeTimeEstimator.hpp
2020-11-11 15:41:48 +01:00
enricoturri1966
bf12c7cb8c
GCode Viewer - Fixed color print visualization for gcode containing multiple extruders
2020-11-09 13:06:20 +01:00
enricoturri1966
479d4b70f2
GCode Viewer - Show print/printer/filament settings names in legend
2020-11-09 08:41:14 +01:00
enricoturri1966
8491872fb7
#5079 - Fixed GCode Viewer changing files modified date on Windows
2020-11-05 14:02:43 +01:00
enricoturri1966
8af25f7771
Fixed post-processing of placeholders in gcode when not exporting remaining times
2020-11-03 12:26:48 +01:00
Vojtech Bubnik
9e545eba13
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
5ccd9d9d9a
Fixed previous commit for Linux/OSX
2020-10-29 13:16:32 +01:00
Vojtech Bubnik
2fd7c20a86
Workaround for missing or partially implemented std::from_chars()
2020-10-29 11:37:45 +01:00
Vojtech Bubnik
d2e5be89e3
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
Vojtech Bubnik
bb74d2da5b
Removed the dead code GCode/Analyzer.cpp,hpp to simplify code navigation.
2020-10-28 17:26:08 +01:00
enricoturri1966
0798fa8185
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-10-27 17:21:41 +01:00
enricoturri1966
128e4cff2d
#4982 - Load config data when importing gcode produced by Slic3r and Slic3rPE
2020-10-27 17:18:15 +01:00
enricoturri1966
90c69e6bda
#4986 - Fixed remaining print time and SD-percentage calculation not correct (replaces e14c122d12
)
2020-10-27 15:50:04 +01:00
enricoturri1966
e14c122d12
Fixed percentage value exported into gcode M73 lines
2020-10-26 11:44:38 +01:00
Lukas Matena
8cd13803ca
Updated the G10 RepRapFirmware pull request to current master
2020-10-23 13:27:45 +02:00
Lukas Matena
18f72d82b9
Merge branch 'pa_reprap_g10_temperature_support' of https://github.com/ardenpm/PrusaSlicer into lm_g10
2020-10-23 11:42:35 +02:00
enricoturri1966
daf1011705
Changed heuristic to clamp toolpaths width
2020-10-16 09:02:37 +02:00
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
enricoturri1966
04a928b241
Follow-up of 8df01818dd
-> GCodeProcessor uses new Machine Limits limitations
2020-10-05 09:15:43 +02:00
enricoturri1966
1130778d5e
Small fix in debug tech ENABLE_GCODE_VIEWER_DATA_CHECKING
2020-10-02 09:14:43 +02:00
enricoturri1966
980fe77b32
#4806 - Fixed detection of move type for G1 lines containing Z>0 and E>0
2020-09-30 08:34:29 +02:00
Lukas Matena
48b0a14c4c
Fixup of previous commit
2020-09-25 13:00:43 +02:00
Lukas Matena
b178d0af38
Wipe tower - small refactoring and fix
...
Collection of data from internal wipe tower gcode generator now uses move semantics.
Part of gcode at the end of priming was erroneously not exported (extruder current reset etc.)
2020-09-25 12:35:20 +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
cf50224248
Fix build on macOS and one logic error
2020-09-18 14:26:06 +02:00
Lukas Matena
6db2d3a0b2
Merge branch 'master' into lm_seam_painter_backend
2020-09-18 13:44:45 +02:00
Lukas Matena
8123930ee5
Store seam history for more islands
2020-09-18 12:20:02 +02:00
Lukas Matena
8dd345ed4c
use center of enforcer only with spAligned
2020-09-18 12:00:48 +02:00
Lukas Matena
fffb79a085
Simple implementation of spRandom
2020-09-18 12:00:40 +02:00
Lukas Matena
5d6bf3261e
fixed center-finding algorithm
2020-09-18 12:00:40 +02:00
Lukas Matena
e78221409a
Renamed CustomSeam to SeamPlacer, move to a separate file
2020-09-18 12:00:14 +02:00
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
enricoturri1966
f58d3116bf
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
8579184d70
Follow-up of 573194e059
-> Fixed crash when opening a gcode file
2020-09-07 11:30:31 +02:00
enricoturri1966
e10d1eba54
GCodeProcessor -> Use decorations to detect toolpaths height for gcode files generated by PrusaSlicer
2020-09-07 08:35:34 +02:00
enricoturri1966
573194e059
GCodeProcessor -> Added cancel callback
2020-09-03 08:32:06 +02:00
Lukas Matena
1eef1d32a0
Added two missing includes to fix build on gcc
2020-09-01 18:12:51 +02:00
enricoturri1966
7a093b08fd
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
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
bd4e4535f9
GCodeProcessor -> Calculate per layer time estimate
2020-08-18 12:37:07 +02:00
enricoturri1966
ca27d7296f
Fixed build when ENABLE_GCODE_VIEWER is disabled
2020-08-18 08:27:07 +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
b156153405
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
5b579aee9a
GCodeProcessor -> Extract toolpaths width from gcode moves
2020-08-17 10:54:41 +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
b80bde11f3
GCodeProcessor -> Extract toolpaths height from gcode moves
2020-08-13 12:51:50 +02:00
enricoturri1966
5a0e048079
ENABLE_GCODE_VIEWER -> Drag and drop .gcode files into gcode viewer
2020-08-11 14:23:47 +02:00
enricoturri1966
5882c121cc
GCodeProcessor -> Fixed time estimate for stealth mode
2020-08-11 11:12:30 +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
0840b2328a
Tech ENABLE_GCODE_VIEWER_AS_STATE set as default
2020-08-03 15:00:19 +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
1532920d81
GCodeProcessor -> Extended import of config data from gcode saved by PrusaSlicer
2020-08-03 08:46:32 +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
0348986bda
Follow-up of 9d4344a78c
-> ensure printbed always rendered as custom in gcode preview mode
2020-07-29 14:20:01 +02:00
enricoturri1966
9d4344a78c
GCodeProcessor/GCodeViewer -> Extract bed shape from gcode files generated by PrusaSlicer
2020-07-29 12:47:42 +02:00
enricoturri1966
16e282110d
GCodeProcessor -> Load config data from gcode files generated by PrusaSlicer
2020-07-29 11:13:48 +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
14366800e2
GCodeProcessor -> Added parsing of 3d part generated gcodes
2020-07-27 15:45:29 +02:00
enricoturri1966
8f90fe1609
Code cleanup and small refactoring
2020-07-22 10:37:25 +02:00
enricoturri1966
b03ae392c5
GCodeViewer -> Added estimated printing times for extrusion roles
2020-07-17 10:50:16 +02:00
enricoturri1966
f7164db68e
GCodeViewer -> Added estimated printing times for move types
2020-07-17 08:27:23 +02:00
enricoturri1966
3a88e69896
ENABLE_GCODE_VIEWER -> Integration of time estimator into GCodeProcessor
2020-07-16 11:09:21 +02:00
enricoturri1966
69de5c8c9f
GCodeViewer -> Pass vertex normal to shaders for toolpaths
2020-06-29 14:00:08 +02:00
enricoturri1966
ab60499298
Fixed conflicts after merge with master
2020-06-12 10:35:18 +02:00
enricoturri1966
aa14b42638
GCodeProcessor -> Added processing of gcode lines G0
2020-06-12 09:01:20 +02:00
YuSanka
f74b1c6547
Added uncommitted changes
2020-06-08 12:36:42 +02:00
enricoturri1966
ca17948f87
ENABLE_GCODE_VIEWER_AS_STATE -> Load gcode from file and process it
2020-06-08 09:12:20 +02:00
enricoturri1966
70a6fb0e20
Added new tech ENABLE_GCODE_VIEWER_AS_STATE -> GCodeViewer as a new application state (WIP) + fix of conflicts after merge with master
2020-06-05 16:50:17 +02:00
enricoturri1966
c3d643ead3
Fixed conflicts after merge with master
2020-06-04 13:57:39 +02:00
Lukas Matena
ed98a859af
Fix of #3919 (extremely wide wipe tower with 0.35mm FAST profile)
...
This is an excerpt from ec86d94
, which was recently reverted because
the other changes from that commit broke some functionality.
2020-06-03 15:34:33 +02:00
Lukas Matena
8ecb0bfe0e
Revert "Workaround for the Prusa3D Fast (layer height 0.35mm) profile, which"
...
This reverts commit ec86d94f02
.
2020-06-03 15:34:33 +02:00
enricoturri1966
2eb4b2caed
Fixed conflicts after merge with master
2020-05-27 10:32:02 +02:00
Lukas Matena
c2cd430941
Few more include chains broken
2020-05-26 13:46:59 +02:00
enricoturri1966
dd424b6bcf
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-21 11:38:22 +02:00
Lukas Matena
35c8c84631
Fix of #3965 (properly disable linear advance with RepRap firmware)
2020-05-21 10:47:50 +02:00
enricoturri1966
cbfb09a241
Fixed build for all 4 cases of tech ENABLE_SHADERS_MANAGER and ENABLE_GCODE_VIEWER enabled/disabled and code cleanup
2020-05-20 17:03:53 +02:00
enricoturri1966
c7c87973b7
First installment of tech ENABLE_SHADERS_MANAGER, using class GLShadersManager as a central point to manage OpenGL shaders
2020-05-20 14:11:22 +02:00
enricoturri1966
89dafeac95
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-07 10:49:34 +02:00
enricoturri1966
5c6a56ca29
GCodeAnalyzer and GCodePreviewData removed from tech ENABLE_GCODE_VIEWER
2020-05-07 10:49:12 +02:00
bubnikv
b73e675aaa
Changed the Ironing G-code preview color based on Jindra's feedback.
2020-05-06 18:28:23 +02:00
enricoturri1966
05e4476808
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-04-29 12:53:55 +02:00
enricoturri1966
1cb0f044db
GCodeProcessor::MoveVertex -> added placeholder for time
2020-04-28 10:29:25 +02:00
enricoturri1966
81a29169ae
GCodeViewer -> Coloring of travel paths
2020-04-24 08:46:31 +02:00
enricoturri1966
90d5cf1735
Fix to previous commit
2020-04-23 15:46:21 +02:00
enricoturri1966
66964c44c1
GCodeViewer -> Refactoring and code cleanup
2020-04-23 15:12:40 +02:00
enricoturri1966
7a0df4bcb4
GCodeViewer -> Extrusion toolpaths colored by color print (wip) + visualization of tool changes, color changes, pause prints, custom gcodes + refactoring
2020-04-22 16:29:07 +02:00
enricoturri1966
443a511420
GCodeViewer -> Extrusion toolpaths colored by volumetric rate
2020-04-21 11:38:42 +02:00
enricoturri1966
6e5a6f3b43
GCodeViewer -> Extrusion toolpaths colored by height
2020-04-20 10:52:16 +02:00
enricoturri1966
75d1e8373d
GCodeViewer -> extrusion paths colored by extrusion role
2020-04-16 15:09:04 +02:00
bubnikv
10110ed307
WIP: Ironing over top surfaces.
2020-04-14 11:53:28 +02:00
enricoturri1966
c3eb65c461
Added class GCodeViewer -> basic render of gcode toolpaths using dedicated shaders
2020-04-14 10:02:08 +02:00
enricoturri1966
22cf0396fc
Added missing include
2020-04-06 17:32:35 +02:00
enricoturri1966
2c69d96239
Reduced size of GCodeProcessor::MoveVertex
2020-04-06 17:24:11 +02:00
enricoturri1966
57dad5dfd2
GCodeProcessor additions:
...
process color change comment tag
process pause print comment tag
process custom code comment tag
process end pause print or custom code comment tag
2020-04-06 11:53:15 +02:00
enricoturri1966
1caac17b02
GCodeProcessor additions:
...
process M108 lines
process M132 lines
process M135 lines
process M401 lines
process M402 lines
2020-04-06 08:55:48 +02:00
enricoturri1966
dce1f24ad8
GCodeProcessor additions:
...
process G10 lines
process G11 lines
process G22 lines
process G23 lines
process M106 lines
process M107 lines
process mm3_per_mm comment tag
2020-04-03 10:15:46 +02:00
enricoturri1966
f05de150c5
Added another missing include
2020-04-02 15:52:42 +02:00
enricoturri1966
d0ce17656f
Added missing includes
2020-04-02 13:19:42 +02:00
enricoturri1966
ab1e90ec0d
Fixed conflicts after merge with master
2020-04-02 12:29:30 +02:00
enricoturri1966
956f7a4593
GCodeProcessor additions:
...
process G90 lines
process G91 lines
process G92 lines
process M82 lines
process M83 lines
process T lines
process extrusion role/width/height comment tags
debug output
2020-04-02 12:03:18 +02:00
enricoturri1966
f598c2d5d8
Fixed conflicts after merge with master
2020-04-01 15:06:30 +02:00
enricoturri1966
29cbfa7c9e
Fixed conflicts after merge with master
2020-03-30 09:36:37 +02:00
bubnikv
ec86d94f02
Workaround for the Prusa3D Fast (layer height 0.35mm) profile, which
...
collides with the maximum allowed layer height at the Printer Extruder
0.25mm.
Works around "MMU2s and supports on prusaslicer 2.2.0 issue #3919 "
2020-03-27 14:15:09 +01:00
enricoturri1966
a1a4d49f15
Fixed conflicts after merge with master
2020-03-25 12:07:59 +01:00
enricoturri1966
3d6c9e54e9
ENABLE_THUMBNAIL_GENERATOR set as default
2020-03-25 10:15:02 +01:00
Lukas Matena
97b9de47b4
Merge branch 'master' into dev
2020-03-24 21:51:05 +01:00
enricoturri1966
4c1d867ba0
#3897 - Small optimisation in GCodePreviewData::RangeBase::get_color_at (thanks to rongith)
2020-03-23 16:12:52 +01:00
bubnikv
046f0dbfa2
Fixed a regression issue to PrusaSlicer 2.1.1
...
Custom printer with center of bed at 0,0 results in "toolpath outside print area" #3510
The G92 A0 B0 was incorrectly considered to be equal to just G92
to reset all axes.
2020-03-21 10:09:33 +01:00
enricoturri1966
f4aa9c5b0e
#3858 - Added missing reset for fan speed visualization
2020-03-18 08:10:05 +01:00
Enrico Turri
3fd6c8a2ff
#2922 - Fan speed for gcode visualization modified as proposed by rongith
2020-03-13 08:25:48 +01:00
Lukas Matena
a6a77361ba
Multimaterial purging lines fixed on rectangular beds with non-standard origin ( #3805 )
2020-03-11 16:10:51 +01:00
Lukas Matena
a48a79603c
Multimaterial purging lines fixed on rectangular beds with non-standard origin ( #3805 )
2020-03-10 15:31:53 +01:00
Lukas Matena
0869a63eaf
Fix of #3769 - wipe into infill
2020-03-05 15:26:52 +01:00
Enrico Turri
bf3888fc49
Reduced ram used by GCodeAnalyzer by replacing doubles with floats into GCodeAnalyzer::GCodeMove
2020-03-04 13:21:03 +01:00
bubnikv
cab42b89ad
Fixed some compilation warnings.
2020-03-04 13:06:21 +01:00
Lukas Matena
7589e4ebfc
Fixed some more warnings
2020-03-03 15:53:26 +01:00
Lukas Matena
c70b34b6c8
Fixed several warnings
...
The biggest difference is changing PresetCollection::m_idx_selected from int to size_t, which fixed many warnings at once.
2020-03-03 15:47:02 +01:00
Enrico Turri
3b6d334d7b
ENABLE_GCODE_VIEWER - Basic framework for new gcode viewer
2020-03-02 15:13:23 +01:00
Enrico Turri
ebbebe3727
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-02-14 08:32:06 +01:00
Enrico Turri
131257cef1
GCodeProcessor basic framework
2020-02-14 08:31:31 +01:00
bubnikv
4e11552da9
Spiral vase improvements and bugfixes.
...
Fixes Connecting / expanding Bottom Layers to Vase Perimeter #253
Fixes Slicing error in vase mode #452
Fixes Slicing Issue (Vase Mode, 0.6mm dmr nozzle) #1887
Fixes Top fill pattern isn't used in spiral vase mode #2533
Fixes Cisar's vase doesn't slice correctly, creates artefacts #3595
When the model is sliced, all the contours are newly oriented
counter-clockwise (even holes), merged and then only the largest area
contour is retained. In perimeter generator, if the largest contour
splits into multiple perimeters, newly only the largest area perimeter
is retained in spiral vase mode. These two changes solve #3595 and similar.
The infill is newly calculated only for the bottom solid layers
if the spiral vase mode is active (removes various unwanted infill
along the vase walls), and the last bottom solid layer is switched
to a top solid pattern (solves #2533 ).
The thin walls are newly enforced to be disabled in spiral vase mode,
and the "ensure vertical shell wall" is enforced in spiral vase mode
to extend the bottom of the vase to the vase hull (fixes #253 ).
2020-02-08 21:36:43 +01:00
bubnikv
fb235cb675
Color change - handling Color Change data stored for different
...
printer configuration:
ss -> sm : Just apply the color changes of the original ss project at the active extruder.
ss -> mm : There are no tool changes stored. Ignore color changes, they are invalid because they are extruder non-specific.
sm -> ss : Apply tool changes as color changes (tool changes remember the target color), apply original color changes.
sm -> mm : Ignore both color changes and tool changes.
mm -> ss/sm : Ignore both color changes and tool changes.
2020-02-06 14:03:27 +01:00
YuSanka
1ed313ab79
Synchronized mode of color_print data to/from 3mf/amf
...
+ Code refactoring " CustomGCode extracted to separate namespace and file
2020-01-23 16:11:21 +01:00
bubnikv
71fa411100
Refactored PrintObject::m_copies to PrintInstances,
...
so that the ordering code at G-code export may work directly with
pointers to PrintInstances instead of with pair of <PrintObject, copy idx>.
Also the PrintInstance knows its source ModelInstance, which allows
sorting of PrintInstances for sequential printing in the order
they appear in Plater's object list.
2020-01-23 09:53:06 +01:00
Enrico Turri
cbe5132832
#3540 - Fixed toolpaths preview for empty ranges
2020-01-20 10:38:01 +01:00
YuSanka
2259f7b3e8
Code refactoring to mode comparison
2020-01-17 12:24:58 +01:00
Enrico Turri
67655743b9
Follow-up of merge of pull request #3293 -> Fixed missing include (for MAC build)
2020-01-16 16:18:35 +01:00
YuSanka
52c590f57a
Merge remote-tracking branch 'origin/ys_cp_improvements'
2020-01-16 16:06:19 +01:00
Enrico Turri
46819224ee
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-01-16 16:03:14 +01:00
Enrico Turri
75c2b44d23
Follow-up of merge of pull request #3293 -> Fixed link error and toolpaths role colors
2020-01-16 16:02:40 +01:00
YuSanka
89fcd7f95a
Added "mode" variable for custom_gcode_per_print_z
2020-01-16 16:01:19 +01:00
YuSanka
20fd874ff2
Merge remote-tracking branch 'origin/master' into ys_cp_improvements
2020-01-16 15:01:57 +01:00
bubnikv
3acfae92e1
Fix of recent wipe tower / tool ordering refactoring.
2020-01-16 14:59:16 +01:00
YuSanka
099118d6f2
Merge remote-tracking branch 'origin/master' into ys_cp_improvements
2020-01-16 14:02:19 +01:00
Enrico Turri
6be4b3865b
Merge remote-tracking branch 'foxox/feature/ScaleSpeedLegendToVisible2'
2020-01-16 13:55:59 +01:00
bubnikv
1b354d8d3c
WIP: Enhancement of the FDM back end to support Color Change situations,
...
when a project was switched from multi-extruder printer to single
extruder printer.
2020-01-16 13:39:03 +01:00
bubnikv
8e5ba5ccc5
Added synonyms to some PrintSteps:
...
psWipeTower now equals to new psToolOrdering indicating that
the ToolOrdering has been calculated (only if non-sequential mode is active).
psBrim now equals to new psExtrusionPaths
psExtrusionPaths shall be the last step before psWipeTower, indicating
that all the printing extrusions are calculated for the G-code preview
slider to edit the custom per print_z color changes, tool changes etc.
2020-01-15 16:20:16 +01:00
YuSanka
15f873dd74
DoubleSlider: Implemented code for check of used extruders for MustiAsSingle mode
2020-01-15 15:35:56 +01:00
bubnikv
2c958c021d
Fixed regression in placement of Color Change event at the correct layer.
2020-01-14 17:35:42 +01:00
bubnikv
390376daae
Fix of recent refactoring of color print.
2020-01-14 16:11:03 +01:00
Lukas Matena
fd6c9582d5
Refactoring fix: making sure that mark_wiping_extrusions doesn't report it wiped something it didn't
2020-01-14 15:43:43 +01:00
bubnikv
ab6a2b71e8
Another bugfixes of GCode export after refactoring.
2020-01-14 15:12:45 +01:00
bubnikv
c96fc5eb51
gcc & clang do not like taking reference of const temporaries.
2020-01-14 12:10:01 +01:00