547 Commits

Author SHA1 Message Date
enricoturri1966
a23d86bd2b Fixed missing gcode window in new visualization 2024-03-26 14:04:07 +01:00
enricoturri1966
76419b7443 Rendering of debug imgui dialog moved from class libvgcode::Viewer to class libvgcode::Toolpaths + warnings fixing 2024-03-26 14:04:07 +01:00
enricoturri1966
8073bdea90 Some refactoring and cleanup 2024-03-26 14:04:07 +01:00
enricoturri1966
87da6d18b8 Refatoring of PathVertex and Toolpaths::load() 2024-03-26 14:04:07 +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
Lukas Matena
a99dd7b00b Fixed a crash in GCodeViewer (SPE-2052, #11728) 2023-11-23 15:49:25 +01:00
enricoturri1966
62c56e6f28 #11562 - Fixed crash when slicing instanced sinking object (SPE-2005) 2023-11-07 11:06:57 +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
e26a8982da SPE-1920: Fixed crash while moving horizontal slider in preview 2023-10-19 10:31:44 +02:00
enricoturri1966
7341561ec4 SPE-1920: Fixed travel toolpaths not hidden when first layer is not visible. 2023-10-19 10:31:28 +02:00
enricoturri1966
e8ba79a0ad SPE-1908: Fixed travel moves starting above the top layer not shown in preview 2023-10-19 09:49:08 +02:00
enricoturri1966
fc5a4c1e13 #11337: Fixed detection of toolpaths in first layer when using z offset (SPE-1902) 2023-10-19 09:31:14 +02:00
enricoturri1966
43e023f372 SPE-1906: Preview and GCodeViewer - Fixed layers detection when using G2/G3 lines 2023-10-11 10:24:27 +02:00
enricoturri1966
53adc68717 Tech ENABLE_BINARIZED_GCODE set as default 2023-09-05 12:17:47 +02:00
enricoturri1966
d6ca8134ed Removal of tech ENABLE_BINARIZED_GCODE_WIN_DEBUG 2023-09-05 08:34:40 +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
enricoturri1966
81b137eb06 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_spe1784_binary_gcode 2023-08-22 08:37:47 +02:00
enricoturri1966
cad97bc9a2 GCodeViewer - Update gcode window for binary gcode files 2023-08-21 12:26:56 +02:00
enricoturri1966
b66402c62d Fixed warning 2023-08-21 10:18:28 +02:00
enricoturri1966
200df9c02d Do not show shell for non-printable and out of printbed volumes in preview 2023-08-21 09:43:45 +02:00
enricoturri1966
ded5219719 Fixed shells of sinking volumes for preview 2023-08-21 09:43:01 +02:00
enricoturri1966
fbd7d14315 Fixed wipe tower shell visibility for preview 2023-08-21 09:42:46 +02:00
enricoturri1966
61c8940cf6 Fixed camera frustum for preview to take in account for shells 2023-08-21 09:42:34 +02:00
enricoturri1966
d48b01d939 Fixed color of shells shown in preview 2023-08-21 09:42:15 +02:00
enricoturri1966
b809996d30 SPE-1761: Show part shells in pre-gcode preview 2023-08-21 09:42:00 +02:00
enricoturri1966
0bea17c128 Preview and GCodeViewer: removed file mapping for gcode window visualization + Fixed build on non Windows OSs 2023-08-11 09:20:27 +02:00
enricoturri1966
57df182d6c GCodeViewer: Fixed crash when selecting Layer time view after importing a binary gcode encoded using MeatPack with no comments 2023-08-07 12:17:13 +02:00
YuSanka
6a9139bd0b Localization: Updated internal dictionaries
+ Fixed localization marker in GCodeViewer
2023-06-16 11:56:29 +02:00
enricoturri1966
578921257d SPE-1739: Fixed calculation of gcode preview sequential slider endpoints 2023-06-02 09:37:05 +02:00
Lukas Matena
46678c27b5 Conflict checker: detection of the wipe tower when it narrows towards the top 2023-05-31 13:34:03 +02:00
enricoturri1966
6944c30f87 Tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION set as default 2023-05-31 13:34:02 +02:00
enricoturri1966
417c85b83b Tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION_MOD 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
Lukas Matena
ca3c6ecd9e Do not show the wipe tower in 3D scene when only one extruder is used 2023-05-31 13:01:28 +02:00
Lukas Matena
cb011bcc7e Added missing include 2023-05-26 14:25:38 +02:00
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