177 Commits

Author SHA1 Message Date
enricoturri1966
40dbbd1c35 SPE-2397: Increased size of time blocks batches used to calculate time estimate and actual speed 2024-08-12 15:46:23 +02:00
Martin Šach
61e015fc38 Fix layer change handling 2024-07-10 15:18:52 +02:00
enricoturri1966
443879d798 SPE-2219 - Added loading progress bar in GCodeViewer 2024-06-20 14:55:16 +02:00
Merill
357264272d fix reset() call on a copy (PR #12737) 2024-06-07 08:51:36 +02:00
Lukas Matena
9dc7b70084 Merge branch 'master_27x' 2024-03-27 16:37:47 +01:00
enricoturri1966
858e431f97 Removed obsolete tech ENABLE_GCODE_VIEWER_DATA_CHECKING 2024-03-26 14:41:55 +01:00
enricoturri1966
539c155c59 Code cleanup and techs removal - completed 2024-03-26 14:41:55 +01:00
enricoturri1966
7bd60043d8 Code cleanup and techs removal - step 1 2024-03-26 14:27:02 +01:00
enricoturri1966
0ba4a67af2 SPE-1872: Added visualization of actual volumetric flow rate 2024-03-26 14:27:01 +01:00
enricoturri1966
268b5860fd SPE-1872: Fixes in calculating actual speed 2024-03-26 14:27:01 +01:00
enricoturri1966
e4a3fb3b45 SPE-1872: Added visualization of actual speed in gcode preview 2024-03-26 14:27:01 +01:00
enricoturri1966
55b674ca3b Code cleanup 2024-03-26 14:15:37 +01:00
enricoturri1966
c57d63f2f9 New gcode visualization integration - Removed tech ENABLE_GCODE_VIEWER_STATISTICS 2024-03-26 14:12:32 +01:00
enricoturri1966
08b6369ae4 New gcode visualization integration - Removed GCodeProcessorResult::spiral_vase_layers 2024-03-26 14:12:32 +01:00
enricoturri1966
d3fd11dad9 New gcode visualization integration - Layers times 2024-03-26 14:04:08 +01:00
enricoturri1966
cea952a208 New gcode visualization integration - Travels and Extrusion roles times 2024-03-26 14:04:08 +01:00
enricoturri1966
285a274ff7 SPE-1982: Tech ENABLE_NEW_GCODE_VIEWER - 1st installment of new toolpaths rendering code (WIP) 2024-03-26 14:04:05 +01:00
enricoturri1966
c916249f2b SPE-2132: Emission of gcode lines 'M104.1 T P Q S' in place of 'M104 T P S' 2024-03-25 10:48:20 +01:00
Martin Šach
bc0fc8a789 Fix missing deretraction coused by caching gcode writer. Use find and replace to remove the retraction if not required 2024-02-19 15:27:38 +01:00
SachCZ
7f397cd7b3 Implement ramping layer change using a tag in gcode
During layer change, instead of generating the gcode, generate a placeholder tag. Then at the end of layer processing replace this tag with a ramping travel move.
This solves the issue, that one does not know the starting point of the current layer where the layer change gcode would be originally generate.
The ramping layer changes uses smoothing of the ramping travel. Also it is adjusted in such a way that it increases the ramp angle when the travel is too short, to always reach the next layer.
2024-01-17 12:22:19 +01:00
enricoturri1966
b467e5c247 SPE-1923: Fixed wrong x of tool position when z offset is applied 2023-10-19 10:32:44 +02:00
enricoturri1966
a8155eb8db SPE-1964: Fixed export of M73 lines
Added post processing of G0

Added post processing of G2/G3

Added post processing of G28

Modified ExportLines::update()

M73 line exported after current line has been processed (to get the proper time)
2023-10-19 09:01:38 +02:00
enricoturri1966
53adc68717 Tech ENABLE_BINARIZED_GCODE set as default 2023-09-05 12:17:47 +02:00
Vojtech Bubnik
8dad25efc4 Merge branch 'master' into master_262 2023-09-04 14:44:32 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Vojtech Bubnik
1c26f0bf60 Merge branch 'master_262' into et_spe1784_binary_gcode 2023-08-28 18:53:30 +02:00
enricoturri1966
cad97bc9a2 GCodeViewer - Update gcode window for binary gcode files 2023-08-21 12:26:56 +02:00
enricoturri1966
5deb4470c7 Changes required by updated library libbgcode 2023-08-04 14:44:45 +02:00
enricoturri1966
ec16420f11 Integrated library libbgcode 2023-08-03 12:57:55 +02:00
enricoturri1966
f02e8e3438 Renamed namespace 2023-07-27 09:04:44 +02:00
Vojtech Bubnik
98c011d59b ArcWelder: Improved resolution of arc discretization in G-code preview 2023-07-26 11:24:32 +02:00
enricoturri1966
ee87536ff6 Added debug imgui dialog to allow to change binary gcode parameters at runtime 2023-07-21 12:24:24 +02:00
enricoturri1966
a11009c3e0 SPE-1784: New compressed (binary) gcode format integration
Populated printer metadata block

Small optimization for print metadata
2023-07-21 08:29:13 +02:00
enricoturri1966
ecb1a23edd SPE-1784: New compressed (binary) gcode format integration
1st installment as part of tech ENABLE_BINARIZED_GCODE

Still missing GCode Block save/load
2023-07-19 13:18:04 +02:00
enricoturri1966
c4294beb34 SPE-1749: Refactoring of GCodeProcessor::process_G1() and GCodeProcessor::process_G2_G3() 2023-06-08 14:46:36 +02:00
enricoturri1966
578921257d SPE-1739: Fixed calculation of gcode preview sequential slider endpoints 2023-06-02 09:37:05 +02:00
enricoturri1966
6944c30f87 Tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION set as default 2023-05-31 13:34:02 +02:00
enricoturri1966
7a82429cf6 SPE-1682 - Toolpaths conflicts detection, 1st installment
Succesfully enhanced and integrated into PrusaSlicer from BambuStudio:

d43c7d5c92

d72b4c1bfe

87eb0f3665

b5b7264e99

Code taken from BambuStudio is embedded into tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION

Changes to adapt the code to PrusaSlicer is embedded into tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION_MOD

Co-authored-by: manch1n <miaoxin.chen@bambulab.com>

Co-authored-by: miaoxin <miaoxin.chen@bambulab.com>

Co-authored-by: lane.wei <lane.wei@bambulab.com>
2023-05-31 13:34:02 +02:00
enricoturri1966
4986afe94f Tech ENABLE_GCODE_POSTPROCESS_BACKTRACE set as default 2023-04-26 09:34:02 +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
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
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
enricoturri1966
991aedd37c #9597 - 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 5991850db1f2d09d1b7713f42300e2bfe4a42128
e50e96bb26eab4f9d56c98706c03166635cf4fff
2023-01-16 11:14:34 +01:00
Vojtech Bubnik
e50e96bb26 Follow-up to 5991850db1f2d09d1b7713f42300e2bfe4a42128
WIP Extending the expressivity of ExtrusionRole
Separated ExtrusionRole / GCodeExtrusionRole into ExtrusionRole.cpp,hpp
2023-01-16 10:47:55 +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
enricoturri1966
32b2c90538 Tech ENABLE_TRAVEL_TIME set as default 2022-09-29 11:07:20 +02:00