Commit graph

247 commits

Author SHA1 Message Date
PavelMikus
a65a68ad93 fix missing include 2023-04-21 10:04:45 +02:00
enricoturri1966
5c581e3998 Fixed warnings 2023-04-20 08:42:09 +02:00
enricoturri1966
99f3a3d54f SPE-1649 - Fixed crash in G-code post processor calculating the preheat / cooldown positions 2023-04-19 12:55:21 +02:00
enricoturri1966
c8468839da Fixed method ExportLines::update() to avoid potential deferencing of invalid iterator 2023-04-13 15:34:09 +02:00
Lukas Matena
2ac964a676 XL specific temporary:
- only enable the temp backtracking for XL
- hardcode toolchange time to 4.5s
2023-03-31 16:39:46 +02:00
Lukas Matena
211b8cdc90 Added a marker for the ooze prevention cooldown commands 2023-03-31 16:37:52 +02:00
enricoturri1966
943eb5b4fe Modified gcode postprocessor to remove gcode lines while backtracing from the current position 2023-03-31 16:37:52 +02:00
Lukas Matena
97397ba6cb Increased the backtracing time to 120 s 2023-03-31 16:37:52 +02:00
Lukas Matena
86f2142325 Change the notification from M117 to M104 2023-03-31 16:37:52 +02:00
Lukas Matena
57e1f3d4db Backtracing updates:
- always enable the feature
- read the tool that we change to
- get temperature for that tool (from config at this point)
- replace the dummy XYYY gcode by M117 (print to display)
  showing the tool, time to toolchange and required temp
2023-03-31 16:37:52 +02:00
enricoturri1966
c9724ae6fd Modify gcode post-process to allow to insert new gcode lines by backtracing from the current processed line.
Current state is a prototype and the new code is embedded into a new tech: ENABLE_GCODE_POSTPROCESS_BACKTRACE
2023-03-31 16:37:52 +02:00
Vojtech Bubnik
e4c479aba4 Added first layer print times to print statistics written at the end
of a G-code export.
; estimated first layer printing time (normal mode) = xxx
; estimated first layer printing time (silent mode) = yyy
2023-03-30 12:19:45 +02:00
Lukas Matena
847a34c644 Do not clamp travel acceleration when current firmware flavor does not allow separate setting of print and travel acceleration 2023-03-24 09:29:53 +01:00
Lukas Matena
b9eb13dff9 Klipper: specific behaviour (GCodeProcessor, WipeTower). GCodeWriter should behave as Marlin(legacy). 2023-03-24 09:29:53 +01:00
enricoturri1966
4bb32f3b67 SPE-1563: Force all toolpaths on first layer to have height equal to first layer height 2023-03-03 09:41:21 +01:00
enricoturri1966
6a722570f1 - GCodeViewer - Take in account z offset when setting the height of the toolpaths for the purge line in custom start gcode. 2023-02-22 13:22:45 +01:00
enricoturri1966
17899adc69 - Fixed parsing of gcode generated by Simplify3D 2023-02-22 11:33:39 +01:00
enricoturri1966
043dccdea0 Follow-up of 991aedd37c - Fixed extruder temperature for single extruder multi material prints 2023-02-20 08:46:38 +01:00
enricoturri1966
991aedd37c - GCode processor and GCodeViewer - Fixed extruder temperature after tool changes while using single extruder multi material 2023-02-07 11:25:46 +01:00
Vojtech Bubnik
c64dbacf88 WIP Extending the expressivity of ExtrusionRole
Changed GCodeExtrusionRole to enum class.
Follow-up to 5991850db1
e50e96bb26
2023-01-16 11:14:34 +01:00
Vojtech Bubnik
5991850db1 WIP Extending the expressivity of ExtrusionRole
Co-authored-by: supermerill <merill@free.fr>
Based on the unfinished idea of @supermerill, defining ExtrusionRole
as a bit mask of ExtrusionRoleModifier.
Because the ExtrusionRole was used for both ExtrusionEntity and
G-code export / G-code viewer, the original ExtrusionRole had to be split
to ExtrusionRole and GCodeExtrusionRole to support bitmask attributes
for the former while keeing a low number of ordinary values for the latter.
2023-01-16 10:14:46 +01:00
enricoturri1966
cf37f154ee Tech ENABLE_PROCESS_G2_G3_LINES set as default 2022-12-06 13:21:06 +01:00
enricoturri1966
6ee7445fe1 Tech ENABLE_USED_FILAMENT_POST_PROCESS set as default 2022-12-06 13:07:08 +01:00
Vojtech Bubnik
ee626eb65a WIP: Layers split into islands, islands overlapping in Z interconnected
into a graph with links to the layer above / below.

In addition:
Members of LayerRegion were made private, public interface const only.
this->m_xxx replaced with just m_xxx
SurfacesPtr was made a vector of const pointers.
2022-10-26 18:41:39 +02:00
enricoturri1966
32b2c90538 Tech ENABLE_TRAVEL_TIME set as default 2022-09-29 11:07:20 +02:00
enricoturri1966
f19882749f - GCodeViewer - Extended processing of line G10 for RepRap firmware (set tool temperature) 2022-09-26 09:38:08 +02:00
enricoturri1966
ec2e783615 Fixed GCodeViewer to take care of parking volume when calculating used filament (similar as in PrusaSlicer) 2022-09-14 10:02:39 +02:00
enricoturri1966
430408f535 Fixed typo 2022-09-14 09:16:21 +02:00
enricoturri1966
60cad081e6 Rework of 850b590c31 - The previous fix resulted in wrong colors for toolpaths in Tool view mode 2022-09-14 09:13:22 +02:00
PavelMikus
670629d883 Fix compilation - missing include for boost string conv,
set supports flags for object AFTER the dialog window and snapshot
2022-09-09 15:34:48 +02:00
enricoturri1966
997d0a48a8 Improved time estimation for gcode files produced by KISSSlicer 2022-09-08 13:45:18 +02:00
enricoturri1966
9e65fc1cac SPE-1277 - Fixed toolpath height calculated while processing custom start gcode 2022-08-29 14:42:19 +02:00
enricoturri1966
abbc99924e Follow-up of 6be84d529d - Fixed processing of spiral vase mode in GCodeProcessor::process_G1 2022-08-24 09:48:50 +02:00
Vojtech Bubnik
a93620621d Performance improvement of GCodeProcessor:
Replaced std::string with std::string_view for constant parameters
Replaced boost:istarts_with() with boost::starts_with()
2022-08-18 10:33:26 +02:00
enricoturri1966
828dd5ddf8 Fixed toolpaths generation for gcode line G2 and G3 2022-07-27 15:16:20 +02:00
enricoturri1966
7fbaa3e8fd GCodeViewer - Added processing of gcode files produced by BambuStudio 2022-07-27 13:10:45 +02:00
enricoturri1966
c7d44d3576 - GCodeProcessor - Added processing of parameter 'T' for gcode lines M104 2022-07-11 12:24:42 +02:00
enricoturri1966
850b590c31 - GCodeViewer - Fixed detection of extruder changes for gcode produced by other slicers, by adding missing default values 2022-07-11 11:52:58 +02:00
Lukas Matena
6c0db58628 Fixing conflicts part 4:
See previous commit. This one applies changes from master_250
to the files mentioned
2022-06-29 16:43:29 +02:00
Lukas Matena
d662bf2a18 Fixing conflicts part 3:
Some files have whitespace changes that make resolving conflicts difficult.
Take the version from master first, next commit will apply changes from master_250
2022-06-29 16:43:29 +02:00
Lukas Matena
b61714bb3e Merge branch 'master_250' (NO CONFLICTS FIXED):
CONFLICT (content): Merge conflict in resources/profiles/PrusaResearch.idx
CONFLICT (content): Merge conflict in resources/profiles/PrusaResearch.ini
CONFLICT (content): Merge conflict in src/libslic3r/CMakeLists.txt
CONFLICT (content): Merge conflict in src/libslic3r/Fill/Fill.cpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode.cpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode.hpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode/GCodeProcessor.cpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode/GCodeProcessor.hpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode/SeamPlacer.cpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode/SeamPlacer.hpp
CONFLICT (add/add): Merge conflict in src/libslic3r/Geometry/Curves.hpp
CONFLICT (content): Merge conflict in src/libslic3r/PerimeterGenerator.cpp
CONFLICT (content): Merge conflict in src/libslic3r/Point.hpp
CONFLICT (content): Merge conflict in src/libslic3r/PrintConfig.hpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/ConfigWizard.cpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/GCodeViewer.cpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/GLCanvas3D.cpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/GUI_App.cpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/Gizmos/GLGizmoHollow.cpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/Gizmos/GLGizmoSlaSupports.cpp
CONFLICT (content): Merge conflict in src/slic3r/Utils/FixModelByWin10.cpp
CONFLICT (modify/delete): t/perimeters.t deleted in HEAD and modified in master_250.  Version master_250 of t/perimeters.t left in tree.
CONFLICT (content): Merge conflict in tests/fff_print/CMakeLists.txt
CONFLICT (content): Merge conflict in tests/fff_print/test_fill.cpp
CONFLICT (content): Merge conflict in version.inc
CONFLICT (modify/delete): xs/xsp/PerimeterGenerator.xsp deleted in HEAD and modified in master_250.  Version master_250 of xs/xsp/PerimeterGenerator.xsp left in tree.
2022-06-29 14:37:14 +02:00
Lukas Matena
5792190515 Fix of incorrect MMU filament estimate 2022-06-08 21:09:39 +02:00
enricoturri1966
6be84d529d - Fixed detection of layers in vase mode 2022-05-10 08:40:49 +02:00
enricoturri1966
7f7d229178 Follow-up of 3ce2d3a700 - Fixed export of used filament data to gcode for multimaterial prints 2022-05-02 08:50:27 +02:00
Lukas Matena
56466abe99 Fixed conflicts after stable->master merge 2022-04-27 23:45:16 +02:00
Lukas Matena
09fe421fe8 Merge branch 'stable' (no conflicts fixed) 2022-04-27 22:24:13 +02:00
enricoturri1966
3ce2d3a700 - Tech ENABLE_USED_FILAMENT_POST_PROCESS - Fixes used filament data exported to gcode file not taking in account custom gcode 2022-04-13 15:27:46 +02:00
enricoturri1966
fab6619641 - GCodeProcessor - Fixed parsing of LAYER_CHANGE tag for spiral vase mode 2022-03-23 17:17:23 +01:00
enricoturri1966
6ee4457b31 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_lines_g2_g3 2022-03-21 08:54:04 +01:00
enricoturri1966
93d703518d Tech ENABLE_PROCESS_G2_G3_LINES - Improved detection of layer zs for gcode produced by other slicers 2022-03-21 08:53:55 +01:00