78 Commits

Author SHA1 Message Date
Lukas Matena
381a19fc04 One more fixup... 2024-07-08 16:57:26 +02:00
Martin Šach
919740fb3e Apply fix includes. 2024-07-08 15:37:02 +02:00
Martin Šach
21116995d7 Refactor CMake and improve #includes.
* 1. Remove all global include_directories.
* 2. Move 3d party dependencies from src to budled deps if possible.
* Unify and enforce one way of including headers:
    e.g. #include "libslic3r/GCode.hpp" vs #include "GCode.hpp"
    (always use the "libslic3r/GCode.hpp" option).
* Make all dependencies (also header only) a cmake target.
2024-07-08 15:36:46 +02:00
enricoturri1966
1eba581199 SPE-2324: Fixed assignment of toolpaths color for pre-gcode preview 2024-06-26 15:29:18 +02:00
enricoturri1966
34346c9126 SPE-2369: Fixed crash when selecting Color Print view in preview (#12881) 2024-06-24 19:57:30 +02:00
Lukas Matena
e7cf32ab81 VGcode: removed quadratic copying when generating the initial preview 2024-06-10 10:46:12 +02:00
enricoturri1966
9f77f9c643 SPE-2270 - Fixed crash when adding color change 2024-04-30 13:02:35 +02:00
enricoturri1966
1112fca688 Tech ENABLE_OPENGL_ES replaced by build option SLIC3R_OPENGL_ES 2024-03-26 14:41:57 +01:00
enricoturri1966
dbeea5dd0e libvgcode - Precompiler definition of ENABLE_OPENGL_ES moved into CMakeLists.txt 2024-03-26 14:41:57 +01:00
enricoturri1966
29cfe37de4 libvgcode - Alternate fix in method ViewerImpl::update_heights_widths() for OpenGL ES 2024-03-26 14:41:56 +01:00
enricoturri1966
591e83b52e libvgcode - replacement of glMapBuffer() call for OpenGL ES 2024-03-26 14:41:56 +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
21ec3a4a5b SPE-1872: libvgcode library: replace volumetric flow rate data with mm3_per_mm to reduce memory usage 2024-03-26 14:27:01 +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
6785e4fefd New gcode visualization integration - Fixed center of gravity calculation and rendering 2024-03-26 14:27:01 +01:00
enricoturri1966
6529f28f26 New gcode visualization library - Separation of tool colors and color changes colors to simplify client code 2024-03-26 14:26:59 +01:00
enricoturri1966
9bb31f3468 New gcode visualization library - Interface cleanup and documentation 2024-03-26 14:15:39 +01:00
enricoturri1966
64b907e984 New gcode visualization library - Partial update of interface comments/documentation 2024-03-26 14:15:39 +01:00
enricoturri1966
ecd829de80 New gcode visualization library - Travel and wipe moves as options 2024-03-26 14:15:39 +01:00
enricoturri1966
c7c594c302 New gcode visualization - Refactoring + added missing headers 2024-03-26 14:15:38 +01:00
enricoturri1966
1e3fa49cae New gcode visualization - New code set as standalone library + embed glad library to load OpenGL functions 2024-03-26 14:15:38 +01:00
enricoturri1966
2e13c44895 New gcode visualization - Fixed errors and warnings when building the new code as a standalone library 2024-03-26 14:15:38 +01:00
enricoturri1966
82fb23fa8e New gcode visualization integration - Fixed layers ordering in pre-gcode preview 2024-03-26 14:15:38 +01:00
enricoturri1966
aa9df80013 New gcode visualization integration - Fixed objects' tool colors in pre-gcode preview 2024-03-26 14:15:38 +01:00
enricoturri1966
55b674ca3b Code cleanup 2024-03-26 14:15:37 +01:00
enricoturri1966
8eba25889b New gcode visualization integration - Fixed in export toolpaths to obj 2024-03-26 14:14:52 +01:00
enricoturri1966
5534e7f849 New gcode visualization - Inlining in source code 2024-03-26 14:14:52 +01:00
enricoturri1966
f11fdf4432 Refactoring 2024-03-26 14:14:52 +01:00
enricoturri1966
137495dd88 New gcode visualization integration - Export toolpaths to obj 2024-03-26 14:14:52 +01:00
enricoturri1966
dcd8b30842 Some refactoring and warning fix 2024-03-26 14:14:51 +01:00
enricoturri1966
2ac46adde5 New gcode visualization integration - Customizable travel moves colors 2024-03-26 14:13:59 +01:00
enricoturri1966
7a95ce8919 New gcode visualization integration - Customizable options colors 2024-03-26 14:13:59 +01:00
enricoturri1966
bcfec2ae1a New gcode visualization integration - Customizable extrusion roles colors 2024-03-26 14:13:57 +01:00
enricoturri1966
160d9b0187 New gcode visualization integration - Modify pre-gcode preview to use the new toolpaths renderer, objects WIP 2024-03-26 14:12:32 +01:00
enricoturri1966
a2b9104567 New gcode visualization - Modify pre-gcode preview to use the new toolpaths renderer, WIP (brim/skirt/wipe tower) 2024-03-26 14:12:32 +01:00
enricoturri1966
0faaf6b683 New gcode visualization integration - Do not reset visible range when toggling options/roles visibility 2024-03-26 14:12:32 +01:00
enricoturri1966
038bb05d1c New gcode visualization - Fixed color of first vertex of top layer (when top layer only option is enabled) 2024-03-26 14:12:32 +01:00
enricoturri1966
f408bd627e New gcode visualization - Customizable travels and wipes segment radius 2024-03-26 14:12:32 +01:00
enricoturri1966
f20f5cc153 New gcode visualization integration - Added check of OpenGL version 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
684a389556 Another bunch of warnings fixes 2024-03-26 14:12:32 +01:00
enricoturri1966
1489e6d121 Fixed warnings 2024-03-26 14:12:32 +01:00
enricoturri1966
1d6fb321af New gcode visualization integration - Removal of old visualization 2024-03-26 14:12:32 +01:00
enricoturri1966
5c323527ce Fixed includes 2024-03-26 14:12:32 +01:00
enricoturri1966
71b2f5c288 New gcode visualization integration - File structure of new code separated in api + src 2024-03-26 14:12:32 +01:00
enricoturri1966
560263ea05 New gcode visualization integration - View ranges management moved to new visualizer 2024-03-26 14:12:32 +01:00
enricoturri1966
9cec7dc3a2 New gcode visualization integration - Fixed top layer only visualization for MMU printers 2024-03-26 14:12:32 +01:00