511 Commits

Author SHA1 Message Date
YuSanka
85b963704a Lokalization: Following-up previous commits:
* GCodeViewer : Used format() instead of sprintf()
 * Added comments to translators
 * Updated POT and merged with community dictionaries
2023-05-26 13:25:46 +02:00
YuSanka
3c1008f226 Localization: Localization of units used for time and used filament estimation (part of #10568)
+ Added "ExtrusionRole.cpp" to localization/list.txt to revert localization for the extrusion roles
 + Updated POT
2023-05-26 12:44:36 +02:00
enricoturri1966
a732e72ab9 Fixed with of feature type combo in preview legend, broken after recent changes into ImGuiWrapper::combo() 2023-05-25 14:38:40 +02:00
YuSanka
e35d4e9647 Localization: Updated internal dictionaries (FR, IT, JA, PL, CS, DE, ES)
+ Fixed a typo "GCode" instead "G-code"
2023-05-24 13:10:49 +02:00
YuSanka
9af733d6ac ImGuiWrapper::combo improvements.
+ Set label for ImGui::BeginCombo as ("##" + label).c_str() to avoid control conflicts, when several combos are placed in one imgui window.
+ Return TRUE value only when selection was changed
+ Added label_width and item_width input parameters to have possibility set a width to the label text and combo control.

+ GizmoCut: Use ImGuiWrapper::combo to render comboboxes
2023-05-23 14:23:45 +02:00
enricoturri1966
b4866c3cbf SPE-1673: Fixed travel toolpaths on top layer 2023-05-19 12:05:50 +02:00
enricoturri1966
159e699cd5 Fixed conflicts after merge with master 2023-04-26 12:35:02 +02:00
enricoturri1966
80bbbcf8c3 SPE-1354 - Render travel toolpaths using 'flat' shader 2023-04-18 08:35:57 +02:00
enricoturri1966
f56cffe546 Follow-up of 439e9bc7e79abd473f04886045cf325c36c4ece5 - Added a button into Preview legend to quickly switch between showing/hiding custom gcode toolpaths for visualization which use different color ranges for the two cases 2023-04-05 10:57:02 +02:00
enricoturri1966
439e9bc7e7 #10259 - Preview/GCodeViewer: Ignore purge line in 'Width' display when Custom extrusion paths are set to invisible 2023-04-05 09:23:19 +02:00
enricoturri1966
799e44f155 Show an icon button, in place of a plain imgui button, in the 3D scene as switch between view types of an object sliced with sla printer 2023-04-04 09:47:22 +02:00
Lukas Matena
b20325671a Wipe tower: added the stabilization cone into configuration 2023-03-23 12:44:42 +01:00
Vojtech Bubnik
3349644964 Reworked handling of approximate / snug bounding boxes
at Model / ModelObject / PrintObject
Fixes #9467 #9519 #9646
Also fixed variable layer height editing for case such as mentioned
in the github issues above.
Also likely fixed some of the sinking objects issues.
2023-02-28 11:27:15 +01:00
enricoturri1966
575422c7b7 Follow-up of 3b174c37a0291d630df3ac37b292c3c1dd360197 - Fixed update of wipe tower brim width after loading a 3mf project 2023-02-23 10:12:29 +01:00
YuSanka
b71e0bfd34 Follow-up 8913fdf6ab
* Deleted/Temporary commented redundant call of app_config->save()
 * Use app_config->get_bool() function on all places
2023-02-13 17:23:49 +01:00
YuSanka
73810cd262 Localization: Updated POT-file
+ Deleted redundant localization markers for empty strings
+ Community dictionaries are updated from new POT
2023-01-31 11:15:06 +01:00
enricoturri1966
f327b805db Fixed rendering of shells in preview 2023-01-23 09:21:07 +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
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
2bcb62d447 Do not generate volumes' raycaster for preview 2022-12-12 08:27:19 +01:00
enricoturri1966
cf37f154ee Tech ENABLE_PROCESS_G2_G3_LINES set as default 2022-12-06 13:21:06 +01:00
enricoturri1966
028dfb5d9e Tech ENABLE_LEGACY_OPENGL_REMOVAL set as default 2022-12-06 12:17:01 +01:00
enricoturri1966
569db9689f Removal of calls to Geometry::assemble_transform() 2022-11-24 14:58:20 +01:00
enricoturri1966
71660a281b Tech ENABLE_WIPETOWER_OBJECTID_1000_REMOVAL set as default 2022-10-19 08:52:35 +02:00
enricoturri1966
3513b800a0 Tech ENABLE_PREVIEW_LAYOUT set as default 2022-09-29 14:23:41 +02:00
enricoturri1966
524e55edd9 Tech ENABLE_LEGEND_TOOLBAR_ICONS set as default 2022-09-29 12:19:20 +02:00
enricoturri1966
32b2c90538 Tech ENABLE_TRAVEL_TIME set as default 2022-09-29 11:07:20 +02:00
enricoturri1966
05a157c916 GCodeViewer - Use ImGui table to show estimated printing times in legend 2022-09-27 14:00:36 +02:00
enricoturri1966
ea4da34e6b GCodeViewer - Use ImGui table to show data for printer/filament/print settings ids in legend 2022-09-27 13:50:26 +02:00
enricoturri1966
8f1d4a4cdc GCodeViewer - Trim text for printer/filament/print settings ids in legend 2022-09-27 13:29:43 +02:00
enricoturri1966
174df56ec2 Tech ENABLE_PREVIEW_LAYER_TIME set as default 2022-09-27 12:39:24 +02:00
enricoturri1966
e834b75e54 Tech ENABLE_VOLUMETRIC_RATE_TOOLPATHS_RECALC set as default 2022-09-27 10:22:39 +02:00
enricoturri1966
108f02d81f Follow-up of 9f59941498bcab52548e487c62ad1541df57b3bc - More robust fix 2022-09-14 09:21:29 +02:00
enricoturri1966
9f59941498 #8844 and #8837 - Fixed crash in legend due to missing data for used filament 2022-09-13 13:34:28 +02:00
enricoturri1966
03a94ca769 Fixed toolpaths lighting when camera moves above/below printbed 2022-09-01 10:53:36 +02:00
Vojtech Bubnik
3f69643516 Merge branch 'vb_treesupports' 2022-08-23 16:45:34 +02:00
Vojtech Bubnik
55835aa050 Optimization of GCodeViewer vertex buffer generator:
Rounding by round_to_bin() is now 2x faster on MSVC.
2022-08-18 13:32:30 +02:00
enricoturri1966
2b996158d2 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_opengl_es_rebase 2022-08-18 12:51:55 +02:00
enricoturri1966
5cf71bb094 Tech ENABLE_SHOW_TOOLPATHS_COG set as default 2022-07-27 15:52:40 +02:00
enricoturri1966
828dd5ddf8 Fixed toolpaths generation for gcode line G2 and G3 2022-07-27 15:16:20 +02:00
enricoturri1966
bb36f0df0c Tech ENABLE_OPENGL_ES - 1st installment 2022-07-21 15:43:11 +02:00
enricoturri1966
da0a5b5cfb Removed obsolete code leading to assert on MAC 2022-07-13 13:31:36 +02:00
enricoturri1966
22b634ca1d Fixed crash at startup on Mac OS 2022-07-13 08:56:00 +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
75a6f54f0b Fixed compiler warnings 2022-06-03 12:45:06 +02:00
Lukas Matena
c450592222 Fixed out of bounds when showing color prints in gcode preview legend:
backport of a2a85af4ddde1351f6a54a0f468fed13540e85f5 onto 2.4.2
Fixes flickering of color square in legend in G-Code Viewer
2022-06-02 09:28:09 +02:00
enricoturri1966
8d0780aabe Tech ENABLE_GL_CORE_PROFILE - Added command line option '--opengl-core=M.m' which allows the user to select a specific OpenGL version supporting core profile 2022-05-30 16:15:25 +02:00
enricoturri1966
a1eb8c5cbd Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3_rebase 2022-05-30 15:41:08 +02:00
enricoturri1966
b00c550463 Do not show legend and bottom slider when loading an invalid gcode file into GCodeViewer 2022-05-27 15:55:25 +02:00