Commit Graph

328 Commits

Author SHA1 Message Date
enricoturri1966
af0d4bcff7 Code cleanup 2021-03-08 09:29:47 +01:00
enricoturri1966
1390083844 Follow-up of 0472c84525 - Fixed syntax errors 2021-03-08 09:01:15 +01:00
enricoturri1966
cdbb1672a8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window 2021-03-08 08:35:49 +01:00
enricoturri1966
e17a8f579e G-code window uses file mapping 2021-03-08 08:35:32 +01:00
Lukas Matena
b8bd29cf42 Adjustable wipe tower brim 2021-03-05 16:41:02 +01:00
enricoturri1966
2cb0eba0f3 G-code window optimization: parse g-code lines only when needed 2021-03-04 13:23:24 +01:00
enricoturri1966
82ec1519dc Vertically center text in G-code window 2021-03-04 08:37:21 +01:00
enricoturri1966
1f562c13fb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window 2021-03-03 09:07:28 +01:00
enricoturri1966
3df7216843 Fit G-code window between preview legend and view toolbar 2021-03-03 09:03:07 +01:00
enricoturri1966
33126a0717 1st installment of g-code window in preview 2021-03-02 10:01:06 +01:00
enricoturri1966
f81ca55d41 #4402 - Review and merge of #6106 Temperature visualization in preview and G-code Viewer by combolek 2021-02-26 14:17:53 +01:00
enricoturri1966
9762804663 Partial revert of 204714d566 -> Alternate fix for crash on printer presets switching between MM and SM printers 2021-02-23 12:00:23 +01:00
YuSanka
9f155a4d21 Fix a crash on printer presets switching between MM and SM printers:
1. DoubleSlider::Control : Update extruder colors before another updates for layers slider
2. GCodeViewer : Control count of extruders during the legend updating
2021-02-22 17:08:03 +01:00
enricoturri1966
0155e9f5a5 #6095 - Fixed toolpaths generation 2021-02-22 15:27:40 +01:00
enricoturri1966
3c0fa24a71 Tech ENABLE_RENDER_PATH_REFRESH_AFTER_OPTIONS_CHANGE set as default 2021-02-19 15:38:05 +01:00
enricoturri1966
354070d9b2 Tech ENABLE_TOOLPATHS_WIDTH_HEIGHT_FROM_GCODE set as default 2021-02-17 11:23:17 +01:00
enricoturri1966
919851b548 #5611 - Added option to show gcode line number on horizontal slider in preview 2021-02-16 10:07:05 +01:00
Vojtech Bubnik
e40485fc8a Fixed some clang warnings 2021-02-09 19:23:58 +01:00
Lukas Matena
301ac20fa1 Fixing Clang warnings 2 2021-02-08 17:52:29 +01:00
enricoturri1966
8d18e09446 Toolpaths rendering - Reduced number of triangles per segment 2021-02-05 11:53:39 +01:00
Lukas Matena
da6dc77973 Fixing GCC warnings 3 2021-01-29 10:47:02 +01:00
enricoturri1966
a58034d98b Tech ENABLE_UNSIGNED_SHORT_INDEX_BUFFER merged into tech ENABLE_SPLITTED_VERTEX_BUFFER 2021-01-26 13:32:27 +01:00
enricoturri1966
a66004ff2f Tech ENABLE_TOOLPATHS_ALTERNATE_SMOOTHING merge into tech ENABLE_SPLITTED_VERTEX_BUFFER 2021-01-26 12:21:50 +01:00
enricoturri1966
e1a1f5279d ENABLE_GCODE_VIEWER_STATISTICS - GCodeViewer statistic dialog modified to not require extra frames render 2021-01-22 12:32:40 +01:00
enricoturri1966
8272e14321 ENABLE_SPLITTED_VERTEX_BUFFER - Re-enable tech ENABLE_TOOLPATHS_ALTERNATE_SMOOTHING after fixing it 2021-01-21 16:33:35 +01:00
enricoturri1966
593df22b78 Fixed visualization of point toolpaths, broken with daa0bbdb0c 2021-01-21 09:44:02 +01:00
enricoturri1966
6a703c7af4 ENABLE_SPLITTED_VERTEX_BUFFER - Use unsigned short indices buffers to render toolpaths and temporary disable tech ENABLE_TOOLPATHS_ALTERNATE_SMOOTHING which is causing artifacts 2021-01-20 13:47:48 +01:00
enricoturri1966
050f72ca14 ENABLE_SPLITTED_VERTEX_BUFFER - slightly faster indices buffers generation in GCodeViewer::load_toolpaths() 2021-01-18 13:55:45 +01:00
enricoturri1966
cc95fc4936 ENABLE_SPLITTED_VERTEX_BUFFER - small refactoring in GCodeViewer::load_toolpaths() 2021-01-18 11:37:23 +01:00
enricoturri1966
568389edcd ENABLE_SPLITTED_VERTEX_BUFFER - fixed cracks in toolpaths when splitting vertex and index buffers 2021-01-18 09:59:05 +01:00
enricoturri1966
713410db21 ENABLE_SPLITTED_VERTEX_BUFFER - fixed bugs in export of toolpaths to obj files and in index buffer splitting 2021-01-14 11:38:03 +01:00
enricoturri1966
508d0bcdc7 ENABLE_SPLITTED_VERTEX_BUFFER - fixed export of toolpaths to obj files 2021-01-13 10:45:52 +01:00
enricoturri1966
13a6f0bc90 Code cleanup 2021-01-12 14:34:52 +01:00
enricoturri1966
bdf0ccdc5f ENABLE_SPLITTED_VERTEX_BUFFER - fixed visualization of last segment for paths whose vertex buffer has been splitted 2021-01-12 14:03:58 +01:00
enricoturri1966
4835ac1410 1st installment of tech ENABLE_SPLITTED_VERTEX_BUFFER - split vertex buffer when greater than a fixed max size 2021-01-12 09:03:35 +01:00
enricoturri1966
e7bb7ce7ad Another refactoring in GCodeViewer::load_toolpaths() 2021-01-07 11:13:07 +01:00
enricoturri1966
426ceb385f Small refactoring in GCodeViewer::load_toolpaths() 2021-01-07 10:11:50 +01:00
enricoturri1966
5974e8de6a Refactoring of GCodeViewer initialization 2021-01-07 09:57:37 +01:00
enricoturri1966
756ef32b21 Fixed merging error after merge with master 2021-01-07 09:06:15 +01:00
Vojtech Bubnik
d1ee2487b7 Fix of slow update when dragging the vertical slider in G-code viewer
with volumetric flow color mapping enabled.
Fixes "Volumetric flow rate computes very slowly #5572"
2021-01-06 15:32:31 +01:00
enricoturri1966
1420895395 Fixed color of shells in preview 2020-12-18 09:03:18 +01:00
enricoturri1966
46c4bbc03e #5481 - Legend keeps last time estimator mode selected 2020-12-16 12:14:57 +01:00
enricoturri1966
b9ae4fcbcf Faster toolpaths refresh when changing options selection in preview 2020-12-11 14:59:58 +01:00
enricoturri1966
460c6c97ac Enhancements in GCodeViewer Statistics imgui dialog 2020-12-11 11:58:08 +01:00
enricoturri1966
fe89b034f9 Reduced max size of index buffers to 32M indices 2020-12-10 14:36:38 +01:00
enricoturri1966
d2b8fa3599 Fixed size of GCodeViewer Statistics imgui dialog 2020-12-10 13:21:18 +01:00
Vojtech Bubnik
8199e4051e 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
enricoturri1966
4bb4e4a78c #4936 - Take toolpaths width and height from gcode decorations, if available 2020-12-08 15:55:53 +01:00
enricoturri1966
8884afb65d Tech ENABLE_SHOW_WIPE_MOVES set as default 2020-12-07 10:29:50 +01:00
enricoturri1966
7417ed0dee Tech ENABLE_SHOW_OPTION_POINT_LAYERS set as default 2020-12-07 09:34:31 +01:00