Commit Graph
13782 Commits
Author SHA1 Message Date
tao wang 38e6589bcb FIX:fixed button not refreshing (page faults)
Change-Id: Id546112398dd2037fe839133bdd3669ed8281226
(cherry picked from commit 542aa02acde720ff73924448b27946ba69b49c73)
2025-09-25 16:24:40 +08:00
tao wang 7a197a3d8d ENH:Reduce the number of page faults in AMS
Change-Id: I4bfb048ec62c35b515eecbb70c175fa0975d7f92
(cherry picked from commit 791be195475bd834c937fb63341713529e4f41b8)
2025-09-25 16:23:18 +08:00
xin.zhang a036994e0a FIX: set the correct color for ext even if not match, since we can select it.
jira: [STUDIO-12706]
Change-Id: Iccf01a6d42872af9d8c48a82731dec99981ad5c2
(cherry picked from commit 08d4a458e7a0bd19f92aecb900a84dbdefb037b0)
2025-09-25 16:10:20 +08:00
xin.zhang 7044bf0022 FIX: check the null pointer
jira: [STUDIO-12264]
Change-Id: Icd0a64168576f45f91ac0d9090c838a17b86b1ae
(cherry picked from commit 3950ec7454ab236d88cb27681e065c510d71998d)
2025-09-25 15:57:36 +08:00
zhou.xu 2ba649d7ef FIX:add bottom texture
jira: STUDIO-11342
Change-Id: I69fd573b4d7b05135d5f280cf42d367421664cff
(cherry picked from commit 645f93fac732b8794aa1e99301bfe179a74915a7)
(cherry picked from commit 803a1dffde0f66c3076ae4fc80d4b821f34b03fc)
2025-09-25 14:42:57 +08:00
Andrew Sun fd22fc9131 More OpenGL Core Profile fixes 2025-09-24 22:49:14 -04:00
Andrew Sun cad887553a Fix bed grid thin/thick lines in OpenGL Core Profile 2025-09-24 22:49:14 -04:00
Andrew Sun 2cb5b02708 Fix crash in filament/color print view 2025-09-24 22:49:14 -04:00
Andrew Sun 9bee05744d Fix auto-switch to color print view type 2025-09-24 22:49:14 -04:00
Andrew Sun f8a7589354 Clean up TODOs and commented out code 2025-09-24 22:49:14 -04:00
Andrew Sun 8ed12a8023 Styling changes for position window 2025-09-24 22:49:14 -04:00
Andrew Sun 8552f2efbf Wire up new position window from PrusaSlicer 2025-09-24 22:49:14 -04:00
Andrew Sun d539540a65 Add support for Orca-specific extrusion roles 2025-09-24 22:49:14 -04:00
Andrew Sun 9359aa8607 Fix nozzle marker position 2025-09-24 22:49:14 -04:00
Andrew Sun f696d19181 Add seq_top_layer_only config default to fix moves slider 2025-09-24 22:49:14 -04:00
Andrew Sun 2c342875c2 Expose actual speed/actual volumetric speed view modes, misc fixes 2025-09-24 22:49:14 -04:00
Andrew Sun c92328c9cc Port libvgcode from PrusaSlicer 2.8.0
Includes (but is not limited to) the following commits:

SPE-2218 - libvgcode - Fixed color of wipe moves for speed range view
SPE-2218 - libvgcode - Fixed detection of fan speed range
SPE-2218 - libvgcode - Fixed detection of temperature range
SPE-2218 - libvgcode - Fixed colors for Actual volumetric flow rate view
SPE-2214 - Fixed detection of toolpaths bounding box in GCodeViewer
SPE-2206 - Modified LibBGCode.cmake to get latest version of libbgcode which fixed parsing of gcode lines G4
libvgcode - Fixed potential out of bound access in ViewerImpl::update_view_full_range()
Tech ENABLE_GL_CORE_PROFILE set as default
Tech ENABLE_OPENGL_ES replaced by build option SLIC3R_OPENGL_ES
libvgcode - Precompiler definition of ENABLE_OPENGL_ES moved into CMakeLists.txt
Added missing include
libvgcode - Textures setup modified to work when building using emscripten
libvgcode - small optimization
libvgcode - fixed OpenGLWrapper::unload_opengl()
libvgcode - CMakeLists.txt modified to work with emscripten
libvgcode - Replace 'glVertexAttribIPointer()' with 'glVertexAttribPointer()' in SegmentTemplate::init() for OpenGL ES
libvgcode - Replace 'xor' with '^' Bitset.hpp
libvgcode - Newer glad library for OpenGL 4.6 and OpenGL ES 3.0
libvgcode - Alternate fix in method ViewerImpl::update_heights_widths() for OpenGL ES
libvgcode - Fixes in glAssertRecentCallImpl()
libvgcode - Fixes in method ViewerImpl::update_heights_widths() for OpenGL ES
Fixed ES shaders so they work with OpenGL ES 3.0
libvgcode - Use multiple plain textures in place of texture buffers for OpenGL ES
libvgcode - Use plain textures in place of texture buffers for OpenGL ES (partial implementation using one texture per buffer)
libvgcode - refactoring of class OpenGLWrapper
libvgcode - small refactoring in shaders
libvgcode - replacement of glMapBuffer() call for OpenGL ES
Fixed warning
libvgcode - Changes into CMakeLists.txt
Fixed debug export of gcode data to be configuration indipendent
Disabled tech ENABLE_NEW_GCODE_VIEWER_DEBUG
Removed obsolete tech ENABLE_GCODE_VIEWER_DATA_CHECKING
Code cleanup and techs removal - completed
Code cleanup and techs removal - step 1
SPE-1872: Implemented G2/G3 lines discretization for gcfMarlinFirmware firmware flavour
SPE-1872: Corrections into GCodeProcessor::process_G2_G3() to match firmware code
SPE-1872: Actual speed profile - Further enhancements of imgui debug window
SPE-1872: Actual speed profile - Rework in its calculation + enhanced imgui debug window
SPE-1872: New imgui widget to show actual speed profile
SPE-1872: Fixed actual speed for seam moves and at extrusion/travel/wipe start
SPE-1872: Fixed rendering of wipe moves when actual speed view is selected
SPE-1872: Actual speed profile extended to travel and wipe moves
SPE-1872: Fixes in function recalculate_trapezoids() and method GCodeProcessor::TimeMachine::calculate_time() to smooth actual speed profile
SPE-1872: Added debug graphic to show move actual speed profile
SPE-1872: libvgcode library: replace volumetric flow rate data with mm3_per_mm to reduce memory usage
SPE-1872: Added visualization of actual volumetric flow rate
SPE-1872: Fixes in calculating actual speed
SPE-1872: Added visualization of actual speed in gcode preview
SPE-2124: Added command line option 'opengl-aa' to allow the user to turn on the automatic selection of max number of supported samples for OpenGL antialising
#12117: Reduced moire patterns by using the highest number of samples available for multisampling
New gcode visualization integration - Partially enabled imgui debug window
New gcode visualization integration - Fixed center of gravity calculation and rendering
New gcode visualization library - Interface for estimated times
New gcode visualization library - Tool marker rendering
New gcode visualization library - Axes aligned bounding boxes calculation
Removed obsolete debug code
New gcode visualization library - Added statistic of used memory
New gcode visualization library - Separation of tool colors and color changes colors to simplify client code
Added missing include
New gcode visualization library - Added print color changes detection
New gcode visualization library - Modified OpenGL ES context detection
New gcode visualization library - Another makefile cleanup
New gcode visualization library - Makefiles cleanup
New gcode visualization library - Added suppression of error 'This function or variable may be unsafe' in VS2022
New gcode visualization library - Compatibility with OpenGL ES
New gcode visualization library - Interface cleanup and documentation
New gcode visualization library - Extended interface to give access to estimated times
New gcode visualization integration - Toggling of top layer only view state
New gcode visualization integration - Removed imperial units from tool position data
Small refactoring
New gcode visualization library - Custom values for travel and wipe moves radius
New gcode visualization library - Allow customization of range colors
New gcode visualization library - Partial update of interface comments/documentation
New gcode visualization integration - Follow-up of 35ee55e29bb231fd01a2eb71ae293832a37ca65d - Better fix for toolpaths visible range when toggling options' visibility
New gcode visualization integration - Fixed toolpaths reset
New gcode visualization library - Fixed method set_option_color()
New gcode visualization library - Fixed method ViewerImpl::set_extrusion_role_color()
New gcode visualization library - Added methods to release gpu resources on demand.
New gcode visualization library - Travel and wipe moves as options
New gcode visualization integration - Fixed toolpaths visible range when toggling options' visibility
New gcode visualization integration - Fixed management of gcode preview view type
New gcode visualization - Fixed wrong include
New gcode visualization - Added missing headers
New gcode visualization - Refactoring + added missing headers
New gcode visualization - New code set as standalone library + embed glad library to load OpenGL functions
New gcode visualization - Fixed errors and warnings when building the new code as a standalone library
New gcode visualization integration - Fixed layers ordering in pre-gcode preview
New gcode visualization integration - Fixed objects' tool colors in pre-gcode preview
Code cleanup
New gcode visualization integration - Tool position properties data window
New gcode visualization integration - Fixed in export toolpaths to obj
New gcode visualization - Inlining in source code
Refactoring
New gcode visualization integration - Export toolpaths to obj
Some refactoring and warning fix
New gcode visualization integration - Customizable travel moves colors
New gcode visualization integration - Customizable options colors
New gcode visualization integration - Customizable extrusion roles colors
New gcode visualization integration - Fixed pre-gcode preview layers times
New gcode visualization integration - Modify pre-gcode preview to use the new toolpaths renderer, objects WIP
New gcode visualization - Modify pre-gcode preview to use the new toolpaths renderer, WIP (brim/skirt/wipe tower)
New gcode visualization integration - Do not reset visible range when toggling options/roles visibility
New gcode visualization - Fixed color of first vertex of top layer (when top layer only option is enabled)
New gcode visualization - Customizable travels and wipes segment radius
New gcode visualization integration - Removed tech ENABLE_GCODE_VIEWER_STATISTICS
New gcode visualization integration - Added check of OpenGL version
New gcode visualization integration - Removed GCodeProcessorResult::spiral_vase_layers
Another bunch of warnings fixes
Fixed warnings
New gcode visualization integration - Removal of old visualization
Fixed includes
New gcode visualization integration - File structure of new code separated in api + src
New gcode visualization integration - View ranges management moved to new visualizer
New gcode visualization integration - Fixed top layer only visualization for MMU printers
New gcode visualization integration - Removed dependency on imgui from new visualizer
Some refactoring
New gcode visualization integration - Removed dependency on Slic3r::GCodeProcessorResult from new visualizer
New gcode visualization integration - Moves' data conversion moved to client side
New gcode visualization: layers times refactoring
A bunch of fixes for the new gcode visualization
New gcode visualization: render in gray color layers containing pause print or custom gcode options when in Color Print view
New gcode visualization integration - Tool colors
New gcode visualization integration - Layers times
New gcode visualization integration - Travels and Extrusion roles times
Fixed detection of start/end of contiguous extrusion paths
New gcode visualization integration - Extrusion roles
New gcode visualization integration - Colors
New gcode visualization integration - Tool position
Center of gravity and tool marker may both be rendered with fixed screen size and a scaling factor
Fixed rendering of options in new gcode visualization
Tool marker NOT rendered by the new visualization code
Center of gravity marker NOT rendered by the new visualization code
Fixed toolpaths_cog shaders
Tool position window for new gcode visualization
Top layer only coloring for neww gcode visualization
Refactoring in preview's new visualization
Hidden imgui debug dialog for new visualization in preview
Synchronization of moves between old and new visualization
Fixed missing gcode window in new visualization
Rendering of debug imgui dialog moved from class libvgcode::Viewer to class libvgcode::Toolpaths + warnings fixing
Some functionality moved from class libvgcode::Viewer to class libvgcode::Toolpaths
Some refactoring and cleanup
Refatoring of PathVertex and Toolpaths::load()
SPE-1982: Tech ENABLE_NEW_GCODE_VIEWER - 1st installment of new toolpaths rendering code (WIP)
2025-09-24 22:49:14 -04:00
zhou.xu bb3f59e18f FIX:ImGuiInputTextFlags_Multiline should manual input
jira: STUDIO-12598
Change-Id: I7ad169d69bdbf04bb93329d7d23a5f4851123c76
(cherry picked from commit 86641262ac3d0a8a690126bdff64860bddc28114)
2025-09-25 09:42:36 +08:00
zhimin.zeng 8309c3f04f FIX: the radio box cannot hide when manual cali mode
jira: STUDIO-12160
Change-Id: Iae69bd504f20adca2314f6f8b0b04cc1c55e69f8
(cherry picked from commit ef8087ad76016994a5fffdc20f4415a091452597)
2025-09-25 09:19:07 +08:00
zhimin.zeng 554ce5004c FIX: fix the error display of default k value
jira: STUDIO-12546
Change-Id: Ibb674de256c306123c1ab7761945eda18704fe0e
(cherry picked from commit d3174f35d81654a36a85194b94c2cec1ee263ded)
2025-09-25 09:19:02 +08:00
Bastien Nocera 98e470f378 FIX: Fix missing std::set declaration
/run/build/BambuStudio/src/slic3r/GUI/PrePrintChecker.cpp: In member function ‘void Slic3r::GUI::PrinterMsgPanel::SetLabelList(const std::vector<wxString>&, const wxColour&)’:
/run/build/BambuStudio/src/slic3r/GUI/PrePrintChecker.cpp:182:10: error: ‘set’ is not a member of ‘std’
  182 |     std::set<wxString> unique_texts;
      |          ^~~
/run/build/BambuStudio/src/slic3r/GUI/PrePrintChecker.cpp:4:1: note: ‘std::set’ is defined in header ‘<set>’; this is probably fixable by adding ‘#include <set>’
    3 | #include "I18N.hpp"
  +++ |+#include <set>
    4 |

(cherry picked from commit 4c9be9a0e42d5e7b94086bcc696c75aa8319c63d)
2025-09-25 09:16:49 +08:00
xun.zhang 2ae055cfb3 FIX: do not show multi extruder params in single extruder
jira: STUDIO-12679

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I3bba9ac0bddf0f03eb79b2eaf71e1dee8e2741a7
(cherry picked from commit b4f2ff2bdc47d9295135a668787dcd0349e9694d)
2025-09-25 09:14:52 +08:00
xun.zhang 3a5d473aae ENH: hide filament flush related params temperarily
jira: none

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I9daec5cc4a25b5bad15d57f71d800a6b6ebbb9b4
(cherry picked from commit 2758a093cf8ece4de01d777f5ff35c259577aa51)
2025-09-25 09:04:32 +08:00
xin.zhang 363fe39c83 FIX: Revert "NEW: add HMS action to stop AMS drying"
This reverts commit 60328ef7d1400c19e9895a47d8e98d901d3401fd.
jira: [STUDIO-12372]

Change-Id: I7c2da5fa5a96d9fe00389e80535a9983dd581a2d
(cherry picked from commit 11c9efb2a2562e0a7094e4f3da1fa8af48aa7879)
2025-09-25 09:03:36 +08:00
zhou.xu 4c1c9a180c FIX:deal null pointer
jira: github 7109
Change-Id: I1db1dd1b306a33c80b256a7b6f9460ad3d35d1db
(cherry picked from commit c79311e3ee2d13dcfd733e413812c5b52f6aac9c)
2025-09-25 09:03:28 +08:00
xin.zhang d86632b993 FIX: round the temp
jira: [STUDIO-12478]
Change-Id: I9218e56d2fd006b0806d12dd44e58b06746a08fb
(cherry picked from commit 94efa9177eac8e690878348691789a4553dc5326)
2025-09-24 13:12:55 +08:00
xin.zhang 48dd4874d8 FIX: do not use protocol to check fan control
jira: [STUDIO-12435]
Change-Id: I6d5334d8eb2979f07866e4e985db6bc5179a4c18
(cherry picked from commit 3d16a94fa514c2cef118c65d788318876ea5cd91)
2025-09-24 13:12:55 +08:00
xin.zhang d44ad07cfa NEW: add HMS action to stop AMS drying
jira: [STUDIO-12372]
Change-Id: Ic6a818487fdfdde206b63708303dfe8af6e79dbf
(cherry picked from commit 092de0c43f7e3f4702f529c28a637a5b3d78e20a)
2025-09-24 13:12:55 +08:00
Erwin Ried ad6681fa9d Update FanControl.cpp
(cherry picked from commit ce9a5c6bc9688bdb77c31a2c7daf128a26ab9695)
2025-09-24 13:12:55 +08:00
xin.zhang 33891e4ddc FIX: use wxDialog instead
jira: [STUDIO-12440]
Change-Id: I812e401fa46ba803bfc27b5c498b9d576e663173
(cherry picked from commit f02ef821166abf133036835575f6c71a39faa350)
2025-09-24 13:12:55 +08:00
chunmao.guo aa2071578f FIX: PresetComboBoxes user filament preset group name 'Custom'
Change-Id: I19b5a5cf458fc4b4f0fe8ab9ee541ea9ca010b64
jira: none
(cherry picked from commit e2d0c8eb1e595c2875e00dc1c0b48125adbbe1cd)
2025-09-24 11:42:10 +08:00
xun.zhang ace6e614ad FIX: unable to send file to sd card if plate > 1
1. Should set plate index before send file

jira:STUDIO-12431

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Id7828069a81f5671b0a6b90d7b0c9b703b10a9cc
(cherry picked from commit fd1e17f818c5c8e38d207e1e829dc5c5749e6f65)
2025-09-24 11:41:56 +08:00
zhimin.zeng d58a93b501 FIX: After the slicing with prime tower error, cannot slice when switching printer
jira: STUDIO-12416
Change-Id: Ie63cd9dd6bb6762ba5b709d383d9794a6b9a79ee
(cherry picked from commit 658ab94798394edb956a700c1b4f2f1999e4f1ff)
2025-09-24 11:41:27 +08:00
tao wang 48bc942cc4 ENH:add confirmation pop-up window
jira:[STUDIO-12237]

Change-Id: I255e074f5f4eba4a6d7fdbf8f3a6c1c3751a951c
(cherry picked from commit 6c3e57dd3d3ea0b4cfb1db0754e56d15d8aba826)
2025-09-24 11:41:05 +08:00
zhou.xu 22f3a2f8bd FIX:Switching printer requires that cleared status of synchronization button
jira: STUDIO-12413
Change-Id: I86ad8125cd2b0b4c870cedd3b9b54c20c91dd9af
(cherry picked from commit b8d2657515ca616e4e8577ed26e6ccfc4d849587)
2025-09-24 11:40:38 +08:00
milk ab6b1b3760 ENH:The print interface prompt appears repeatedly
jira:[STUDIO-12376]

Change-Id: Ifff298e08d671ae19a719cc91a645118ccf75bc2
(cherry picked from commit 3dc9acdce5db9cf9f04e3b106ba3b75e04d74d86)
2025-09-24 11:40:02 +08:00
milk faa8708c3a ENH:Avoid null pointer dereference
jira:[STUDIO-12113]

Change-Id: I992f2559f01e200697e6c7f105d94a81a445bcfd
(cherry picked from commit 849bfff512a9edad8d635fbc2bb7c10fd5f836df)
2025-09-24 11:39:57 +08:00
milk 8242f28b38 ENH:The warning will not be displayed while the file is still being sent
jira:[STUDIO-12371]

Change-Id: I429a8a5af080dfd869b3a72d050e3019b9560665
(cherry picked from commit 95d43cb1aaf2f0dabcf4449c885039d7f9cb62ef)
2025-09-24 11:39:48 +08:00
zhou.xu adeb3ab3f7 FIX:Fix the issue of importing GCode array out of bounds
jira: STUDIO-12389
Change-Id: Id7995558bf0e297e2360b338ffbf63d93efa38f0
(cherry picked from commit 6d15a9005769a7dbfb96bb28ce6b57e55bf1c435)
2025-09-24 11:18:23 +08:00
zhimin.zeng 91329da2e9 FIX: TPU cannot be set on left nozzle
jira: STUDIO-12390
Change-Id: I752a53e7cc989038d16e9d7e06f130e6a1eb72a0
(cherry picked from commit d21d27d6fb2bc8d95921b12665868eceef564e08)
2025-09-24 11:15:48 +08:00
xin.zhang 98a4aee666 FIX: do not popup if mode not changed
jira: [STUDIO-12375]
Change-Id: Ifc5ac737d49b7482de86f031bbc4bf2a6da6744e
(cherry picked from commit db91857bda4b8ecf66469dbf3c0c8c5a41c84ef2)
2025-09-24 11:14:52 +08:00
xin.zhang 9fa3978133 FIX: the layout problem
jira: [STUDIO-12368]
Change-Id: Ifb49271f5daff80c28ae64f984b512d6a6519e28
(cherry picked from commit ba8691b1c429f1071ac7043bd6b58febc3b78c2d)
2025-09-24 11:14:47 +08:00
xin.zhang 4b6b3cc7bd FIX: the encoding of filament check_ams_filament_valid
jira: [STUDIO-12251]
Change-Id: Idc3d23dce67d3e835f15c47984fdd68041371d61
(cherry picked from commit 42b15b4d41a099c5f1aca9dd59ac592aafba0b43)
2025-09-24 11:14:42 +08:00
fei2.fang 2d69d58ce9 FIX: Corrected firmware update title for printer
jira: STUDIO-12322

Change-Id: I3040026acbb3fc5525cbda8eefae1b013b065a25
(cherry picked from commit 3e2e115e0e6727b33dcf0d47c597cdb18ab7ef50)
2025-09-24 11:03:29 +08:00
zhimin.zeng aca0f883f7 FIX: the wipe tower out of bounds prompt is incorrect when there are multiple plates,
jira: STUDIO-11817
Change-Id: Ie0b9ac36d568f6d4d6cd134056e4d850612c1961
(cherry picked from commit 5f624b72484a3ddf15318e4e0fcbdc41b98b3a85)
2025-09-24 11:02:54 +08:00
chunmao.guo 1b10eba98b FIX: enable copy param from modifier parts
Jira: STUDIO-12269
Change-Id: I7c4877d712b7678c33d6855e1de9dca9897ce6c0
(cherry picked from commit 1ad68b38e20a34372fcc1d4abe605a300abeae22)
2025-09-24 11:01:00 +08:00
chunmao.guo b7f313a2e0 FIX: update layout after remove filament
Change-Id: I147e32f423d8d3debf1bea537dd0dfc2e1b24c19
Jira: STUDIO-12072
(cherry picked from commit 63783419e530abbb9f443de7d6a2d03d9d2c6031)
2025-09-24 11:00:50 +08:00
zhimin.zeng 3fd9b7ef8a FIX: modify the behavior of wipe tower
The prime tower is not allowed to extend beyond the plate boundary when moving it.
jira: STUDIO-11817 & STUDIO-12313

Change-Id: Icbb85dad26531b0ac01f088fc086b4ff499ac423
(cherry picked from commit 8f4d5f44d721fa9cae70cd9b47735c93151f2b81)
2025-09-24 11:00:37 +08:00
zhou.xu 517b6c09a8 FIX:WxColour (0x00AE42) represents bgr input, incorrect use
jira: STUDIO-12347
Change-Id: If03e23f2ee7cbb5dcb124453fb0a1ea67c3633a0
(cherry picked from commit 8a22fab6d73fe2694b5006712d5e72619ddea51c)
2025-09-24 10:40:45 +08:00
xin.zhang 9d3526958a FIX: the event should be skipped
jira: [studio-12348]
Change-Id: I5a876989ec763a2f0dc510b352c21059495d7314
(cherry picked from commit cdb9acc8a4596036ce41de503453895e9f4e81f9)
2025-09-24 10:40:45 +08:00