636 Commits

Author SHA1 Message Date
Lukas Matena
fae06e0773 Vectorization of the wipe tower 2024-11-20 16:04:15 +01:00
Lukas Matena
cc73ff8f4f Multiple beds (part 7):
This is where it really gets nasty:

- Switch background_process.m_temp_output_path is now updated when beds are switched, so each Print writes to a different file.

- When switching beds in Preview, there is a cache in GCodeViewer which would mistakenly not load the other preview (happens in case when switching to a bed which is not sliced and back). Bypass this cache when beds are being switched.

- Added a CallAfter logic into GLCanvas3D::select_bed (the central function where beds are switched). It now does the following:
  1. Stops the background process
  2. Schedules a callafter which then
  3. wxYields the event queue (so all events generated as a result of (1) are consumed before active bed is switched.
  4. switches active bed
  5. fires couple of update functions and events, schedules background process

- When BSProcess is switched to the new bed, it now calls on_slicing_update (in sync). This is to regenerate all slicing error/warning notifications. The on_slicing_update function was updated to be able to process all print(object)steps and objects.

- Sliced info in sidebar did not properly show when switching beds in 3D scene. Added explicit refresh into update_background_process.
2024-11-20 13:36:13 +01:00
Lukas Matena
e88c625567 Multiple beds (part 3):
- reload preview when beds are switched
- only show one bed in preview
- move the preview so it ends up in the same place as in 3D scene
- move the camera when switching beds in Preview
2024-11-20 13:36:13 +01:00
Lukas Matena
c41290bc07 Use ModelWipeTower instead of config for wipe tower pos and rot (backend part) - SPE-2520 2024-10-16 12:40:49 +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
YuSanka
510bb208cb Fix for #12879 - GCode slider stops working when cursor leaves window 2024-06-27 10:35:24 +02:00
enricoturri1966
34346c9126 SPE-2369: Fixed crash when selecting Color Print view in preview (#12881) 2024-06-24 19:57:30 +02:00
YuSanka
e96bf263b9 Localization: Updated POT and internal dictionaries (CS, PL, DE, IT, ES, FR, JA)
+ community POs are merged with POT
+ Fixes in some phrases
2024-06-24 16:37:31 +02:00
enricoturri1966
0602723695 SPE-2359: Added speed and volumetric flow rate to imgui vertex properties dialog (#12840) 2024-06-20 16:06:47 +02:00
YuSanka
c97b1b16c8 Fixes for some phrases. 2024-06-20 16:05:21 +02:00
Lukas Matena
5998e2f78d Fixes in phrases 2024-06-18 14:48:05 +02:00
Lukas Matena
615329b1f6 GCodeViewer: tweaked background alpha in segment properties dialog 2024-06-11 21:35:10 +02:00
enricoturri1966
9f77f9c643 SPE-2270 - Fixed crash when adding color change 2024-04-30 13:02:35 +02:00
YuSanka
320d11d5db ImguiDoubleSlider: Change layout of horizontal slider and position_window 2024-04-25 10:28:03 +02:00
YuSanka
6b83f135c9 ImguiDoubleSlider: WIP: Slider Manager is moved to ImGuiDoubleSlider and some values and methods are renamed
+ "DoubleSlider: file is split to DoubleSliderForGcode and DoubleSliderForLayers in separate files
 + Suppress to add/delete ticks on update layers_slider from canvas when an application is a GCodeViewer
 + epsilon() is moved from DoubleSlider name space to CustomGCode
2024-04-24 10:54:12 +02:00
enricoturri1966
d81a3c055b SPE-2214 - Fixed detection of toolpaths bounding box in GCodeViewer 2024-04-24 10:22:29 +02:00
YuSanka
64267d8f5d Follow-up e9361b4f - Fixed a build, when VGCODE_ENABLE_COG_AND_TOOL_MARKERS is on 2024-04-05 16:05:27 +02:00
YuSanka
ed51fc24c9 Follow-up last commit: Fixed warnings and added missed include 2024-04-05 13:16:05 +02:00
YuSanka
e9361b4f61 ImGuiWrapper is split now into ImGuiWrapper, which contains and uses internal variables,
and ImGuiPureWrap (name space which uses just pure ImGui functions and doesn't use wxWidgets)
2024-04-05 12:38:47 +02:00
enricoturri1966
461d30537f libvgcode - Use plain textures in place of texture buffers for OpenGL ES (partial implementation using one texture per buffer) 2024-03-26 14:41:56 +01:00
enricoturri1966
04d916a351 Fixed debug export of gcode data to be configuration indipendent 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
07b653cb22 SPE-1872: Actual speed profile - Further enhancements of imgui debug window 2024-03-26 14:27:02 +01:00
enricoturri1966
07d2fb32fa SPE-1872: Actual speed profile - Rework in its calculation + enhanced imgui debug window 2024-03-26 14:27:01 +01:00
enricoturri1966
96c139f62c SPE-1872: New imgui widget to show actual speed profile 2024-03-26 14:27:01 +01:00
enricoturri1966
fbb7eb77b4 SPE-1872: Actual speed profile extended to travel and wipe moves 2024-03-26 14:27:01 +01:00
enricoturri1966
c054e70dc6 SPE-1872: Added debug graphic to show move actual speed profile 2024-03-26 14:27:01 +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
e4a3fb3b45 SPE-1872: Added visualization of actual speed in gcode preview 2024-03-26 14:27:01 +01:00
enricoturri1966
a17d727b37 New gcode visualization integration - Partially enabled imgui debug window 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
0da174908a New gcode visualization library - Interface for estimated times 2024-03-26 14:27:01 +01:00
enricoturri1966
344dfac25b New gcode visualization library - Tool marker rendering 2024-03-26 14:27:01 +01:00
enricoturri1966
9120c93e7b New gcode visualization library - Axes aligned bounding boxes calculation 2024-03-26 14:27:01 +01:00
enricoturri1966
4d61f1ced8 Removed obsolete debug code 2024-03-26 14:27:01 +01:00
enricoturri1966
c20d05b15e New gcode visualization library - Added statistic of used memory 2024-03-26 14:27:00 +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
30114c6677 New gcode visualization library - Modified OpenGL ES context detection 2024-03-26 14:15:40 +01:00
enricoturri1966
9bb31f3468 New gcode visualization library - Interface cleanup and documentation 2024-03-26 14:15:39 +01:00
enricoturri1966
2e7a4529b1 New gcode visualization library - Extended interface to give access to estimated times 2024-03-26 14:15:39 +01:00
enricoturri1966
13c67db5a1 New gcode visualization integration - Toggling of top layer only view state 2024-03-26 14:15:39 +01:00
enricoturri1966
75c7f19f20 New gcode visualization integration - Removed imperial units from tool position data 2024-03-26 14:15:39 +01:00
enricoturri1966
7adaa32cd5 New gcode visualization library - Allow customization of range colors 2024-03-26 14:15:39 +01:00
enricoturri1966
028888bea5 New gcode visualization integration - Follow-up of 35ee55e29bb231fd01a2eb71ae293832a37ca65d - Better fix for toolpaths visible range when toggling options' visibility 2024-03-26 14:15:39 +01:00
enricoturri1966
5c29f868c3 New gcode visualization integration - Fixed toolpaths reset 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
eaa1920bac New gcode visualization integration - Fixed toolpaths visible range when toggling options' visibility 2024-03-26 14:15:39 +01:00
enricoturri1966
13f9d6f28e New gcode visualization integration - Fixed management of gcode preview view type 2024-03-26 14:15:38 +01:00