Commit Graph

3466 Commits

Author SHA1 Message Date
zhou.xu 995e6bbdf6 FIX:fix bug of text_normal_in_world in text gizmo
jira: STUDIO-8586
Change-Id: I680c01e82dedd2fa7df67e644f9a46ff5f35fcad
2024-11-12 15:35:32 +08:00
zhou.xu f0eeca97cc FIX:avoid color array out of bounds
jira: none
Change-Id: I27874b327c1b9dbff9555b08bff4d1b1bf9db80e
2024-11-12 15:35:32 +08:00
xun.zhang 72df6764d2 ENH: enable edit nozzle diameter in develop mode
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I16481f4206ba73caf38566f9b4b51d9339be5a7c
2024-11-12 15:35:32 +08:00
qing.zhang 67039a6f4d ENH: check wethether filaments print on first layer
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I1cc7cd9e9bbbcdf72112c0949196c09ef414cf91
2024-11-12 15:35:32 +08:00
tao wang 931e599c5a ENH:Fixed beta version push notifications
Change-Id: I749ceafd5b18d7214add235aaffea99d48f9792d
2024-11-12 15:35:32 +08:00
lane.wei fdacd1a573 ENH: keep the position of these objects not in plate
JIRA: STUDIO-8554
Change-Id: Ic546737d438754acd9a516b52ceb1944fe72cc44
2024-11-12 15:35:32 +08:00
zhimin.zeng 21fa492d8a FIX: show k value when select default pa profile
jira: STUDIO-8540
Change-Id: I487e740ee7c37e5d8d4c0d9b26984d034ed70347
2024-11-12 15:35:32 +08:00
tao wang a0f63b9a3a NEW:Support direct connection to X printer
Change-Id: I4ea38d3a69834f607161ae35eda00d042b7c4f47
2024-11-12 15:35:32 +08:00
zhou.xu 1e3d16c2f1 FIX:Imgui colorButton support alpha display
jira: STUDIO-8543
Change-Id: If90e4cecd89b53cf2f67856024a75821faa2c055
2024-11-12 15:35:32 +08:00
旺仔 950f1eee15 FIX: revert "FIX: fix an ams mapping issue"
This reverts commit dc9d79efb2f55a4ed4e49e5c4190aa93bfacd2d5.

Reason for revert: <fixed in cloud >

Change-Id: I70cb2a91f0486bfbc11f610dbfeb8283a18cb630
2024-10-28 20:51:35 +08:00
Arthur 9c799cc986 ENH: translation
jira: STUDIO-8530
Change-Id: I43aeda64251165eaa2fc7f26b6dbaf548bc62057
2024-10-28 20:51:35 +08:00
Stone Li 0d434f4ae1 FIX: fix an ams mapping issue
JIRA: STUDIO-8116

Change-Id: I1e4d80cfb07c56fb8eb6b8dbd632d2edfb1100b0
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-10-28 20:51:35 +08:00
maosheng.wei af38da4c87 FIX: finish day dismiss after switching to another printer and return
Change-Id: Ic33607e22c45fae0d7d953983651178fbcc4fb06
Jira: XXXX
2024-10-28 20:51:35 +08:00
zhimin.zeng c466a40c04 FIX: PA profile is not match correct in mac environment
jira: none
Change-Id: I39ebbb3de3f174a3072ab0511d2f6c9265264337
2024-10-28 20:51:35 +08:00
zhou.xu d0e91b5164 FIX:not limit bounding box in assembly view
jira: none
Change-Id: I9b6113c815563cb2ded2c19b62286cdf6b509913
2024-10-28 20:51:35 +08:00
zhou.xu dbe2e5325d FIX:Only third-party printers record custom bed
and svg.This can reduce the preset differences in the copying system
jira:none

Change-Id: I6e6add2a9c796d8d42b7f8b7eccc1052250e5ffe
2024-10-28 20:51:35 +08:00
chunmao.guo 8cdaea1162 FIX: wxMediaCtrl3 zero size crash
Change-Id: I16a3f7b3afe142bb957a1740b8e8c9820c92b349
Jira: STUDIO-8522
2024-10-28 20:51:35 +08:00
Mack 3e9006e2d4 FIX:Brim Ears are ignored when cloning objects
the maximum diameter is changed to 20;
the diameter will not be reset;

jira:STUDIO-8497

GITHUB: #5048
Change-Id: I131305671ebc00dcf6b2972994879fe4ea768a36
2024-10-28 20:51:35 +08:00
MackBambu ec8d3ebaf9 FIX:the checkbox in MsgDislog displays error on linux
GITHUB: #2711
Change-Id: Ie0bb6325aa064d7ed05e25240a6e1b351712fb0b
2024-10-28 20:51:35 +08:00
Arthur 7697eb3dc8 ENH: improve tree supports
1. speedup organic tree support by using parallel for intersection of bed area
jira: STUDIO-8451
2. add extra wall for hybrid tree support's tall branches
3. disable circle fitting for tree support. This feature produces inconsistent
   circles for tree supports.
4. expose the option tree_support_branch_diameter_angle. Tree supports'
   strength can be improved by increasing this value.

Change-Id: If3688ca895df98a77f6ca538077daf8fe94e53f1
2024-10-28 20:51:35 +08:00
zhimin.zeng b296537bbe FIX: Update the page status when entering the calibration page
jira: STUDIO-7043
Change-Id: I2e0923c8057f7cda99e8b23b6be46b2b508c4dfb
2024-10-28 20:51:35 +08:00
zhou.xu daf16e9ea7 FIX:In some perspectives, using only two points of
local bounding box to calculate world bounding box may result in errors
jira: none

Change-Id: I258656406c19d6692af66f787fe329350460a561
2024-10-28 20:51:35 +08:00
zhou.xu f475893243 FIX:illegal plate name should include escape characters
jira: STUDIO-8511
Change-Id: I4ce2b40117b80d98d004d99757b7d74f7ad5b5ec
2024-10-28 20:51:35 +08:00
zhou.xu 993e2a24c1 FIX:all grabber should use GrabberSizeFactor
jira: none
Change-Id: I24629891a31e711097a8456291c5a5c3b606545f
2024-10-28 20:51:35 +08:00
qing.zhang 63be8a61fb ENH: filamet shrinkage
Github: 2769

This feature ported from superslicer

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ic92d248aa90222e6f74530f01876cc14944f2444
2024-10-28 20:51:35 +08:00
zhou.xu 182a4f75d9 FIX:filename use '/' for save
jira: none
Change-Id: Ic7ffd91f0eeaf73b348a8064fbb0c2ace5a44066
2024-10-28 20:51:35 +08:00
Mack 8dfd3bbb0c ENH: update step mesh ui
jira:nojira

Change-Id: I7ba88d1ad80fa1e8152393c523bc301187e543d1
2024-10-28 20:51:35 +08:00
zhimin.zeng 8214f92dc8 FIX: set wipe tower to default position when switch printer
jira: 8468
Change-Id: I6ad489ed127635115c050a40329757afc568135d
(cherry picked from commit c63351a165b334978a3f09bf95fe2c63056ec53a)
2024-10-28 20:51:35 +08:00
zhimin.zeng 47c82dcd2d FIX: k value is not display when set pa profile
jira: none
Change-Id: Ic36d7a3fcb4c0e845d8c3902b31638f5cfb60d1f
2024-10-28 20:51:35 +08:00
zhimin.zeng e27ad7da55 FIX: Resolve compilation errors
jira: none
Change-Id: Ib3529b5fe4b01d32ad463b74a490e2273f9d8ba9
2024-10-28 20:51:35 +08:00
zhou.xu b5d18d4ae7 FIX:reload stl from disk,transformation is error
jira: STUDIO-8391
Change-Id: Ic006973fe0f2b0c0208c391d064ab373fd15a772
2024-10-28 20:51:35 +08:00
zhou.xu e667a4160a FIX:user_bbl_svg_list may is empty when copy machine
jira: github 5029
Change-Id: I052f7717f25d3d1f364709d4f6ac9c7a72c47e34
2024-10-28 20:51:35 +08:00
zhimin.zeng 489285c9b8 FIX: Add a matching rule with the same name for PA value
jira: 8339
Change-Id: I134139fd8cff9cb47b29523e90d5dd4f2667c387
2024-10-28 20:51:35 +08:00
tao wang 35b0ef0cd7 FIX:fix the issue of macOS crashing easily
Change-Id: I7378a28734e46c4126ab0216dc93d45a10bcd451
2024-10-28 20:51:35 +08:00
tao wang fce2c9d401 FIX:Fix the current noise not displaying when printing
Change-Id: I9dcaecb33ae75ec8e91b7c26746b75bf09d3c86b
2024-10-28 20:51:35 +08:00
Mack 10de7e8d10 ENH:brim ears calculate the maximum value of the detection radius
jira: nojira
Change-Id: Ic43f1279c8456bf6f00e9d6e4de737c6a84a0a12
2024-10-28 20:51:35 +08:00
洋葱 6d88d8ea60 NEW: "REVERT: support show print history"
This reverts commit f54285d5b1bd73ca4686affd071fc6245935c17c.

Reason for revert: <revert>

Change-Id: Ib49549c5ee61e9f780905d28b4416308a61a837a
2024-10-28 20:51:35 +08:00
zhou.xu 5925b220d5 FIX:Maintain good perspective effect
Non user versions can view debugging information through shortcut keys
jira: none

Change-Id: I251a6189e8909f4c52752827e359a7287bd15f7f
2024-10-28 20:51:35 +08:00
tao wang 8f0a6fa996 NEW:support show print history
Change-Id: I28acf421ec0a21d14e89a498012029ee7a32f00b
2024-10-28 20:51:35 +08:00
Arthur 7813b52fe9 FIX: skip auto arrange when switching from small to big
jira: STUDIO-8464
Change-Id: I4bdfb89f8cfa94a1dd68427ab03072c42a8705bc
2024-10-28 20:51:35 +08:00
Bastien Nocera c5c41e20ca slic3r: Fix missing BOOST_LOG_TRIVIAL declaration
src/slic3r/GUI/wxMediaCtrl3.cpp:181:23: error: ‘info’ was not declared in this scope
  181 |     BOOST_LOG_TRIVIAL(info) << msg.ToUTF8().data();
      |                       ^~~~
src/slic3r/GUI/wxMediaCtrl3.cpp:181:5: error: ‘BOOST_LOG_TRIVIAL’ was not declared in this scope
  181 |     BOOST_LOG_TRIVIAL(info) << msg.ToUTF8().data();
      |     ^~~~~~~~~~~~~~~~~
2024-10-28 08:33:48 +08:00
Bastien Nocera 9ab5009235 slic3r: Fix missing wxPaintDC declaration
src/slic3r/GUI/wxMediaCtrl3.cpp: In member function ‘void wxMediaCtrl3::paintEvent(wxPaintEvent&)’:
src/slic3r/GUI/wxMediaCtrl3.cpp:121:5: error: ‘wxPaintDC’ was not declared in this scope; did you mean ‘wxPoint’?
  121 |     wxPaintDC dc(this);
      |     ^~~~~~~~~
      |     wxPoint
2024-10-28 08:33:48 +08:00
Bastien Nocera 73908d38d8 slic3r: Fix missing includes in wxMediaCtrl2
src/slic3r/GUI/wxMediaCtrl2.cpp: In lambda function:
src/slic3r/GUI/wxMediaCtrl2.cpp:170:13: error: ‘wxMessageBox’ was not declared in this scope; did you mean ‘wxInfoMessageBox’?
  170 |             wxMessageBox(_L("Your system is missing H.264 codecs for GStreamer, which are required to play video.  (Try installing the gstreamer1.0-plugins-bad or gstreamer1.0-libav packages, then restart Bambu Studio?)"), _L("Error"), wxOK);
      |             ^~~~~~~~~~~~
      |             wxInfoMessageBox
src/slic3r/GUI/wxMediaCtrl2.cpp: In member function ‘void wxMediaCtrl2::Load(wxURI)’:
src/slic3r/GUI/wxMediaCtrl2.cpp:179:5: error: ‘wxLog’ has not been declared
  179 |     wxLog::EnableLogging(false);
      |     ^~~~~
2024-10-28 08:33:48 +08:00
Bastien Nocera 781ce14e06 slic3r: Fix missing includes in AVVideoDecoder
In file included from src/slic3r/GUI/AVVideoDecoder.cpp:1:
src/slic3r/GUI/AVVideoDecoder.hpp:28:20: error: ‘wxImage’ has not been declared
   28 |     bool toWxImage(wxImage &image, wxSize const &size);
      |                    ^~~~~~~
src/slic3r/GUI/AVVideoDecoder.hpp:28:36: error: ‘wxSize’ has not been declared
   28 |     bool toWxImage(wxImage &image, wxSize const &size);
      |                                    ^~~~~~
src/slic3r/GUI/AVVideoDecoder.hpp:38:10: error: ‘vector’ in namespace ‘std’ does not name a template type
   38 |     std::vector<uint8_t> bits_;
      |          ^~~~~~
src/slic3r/GUI/AVVideoDecoder.hpp:9:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
    8 |     #include <libswscale/swscale.h>
  +++ |+#include <vector>
    9 | }

src/slic3r/GUI/AVVideoDecoder.cpp:145:89: error: invalid use of incomplete type ‘class wxBitmap’
  145 |     bitmap = wxBitmap((char const *) bits_.data(), size.GetWidth(), size.GetHeight(), 32);
      |                                                                                         ^
2024-10-28 08:33:48 +08:00
Bastien Nocera a0edde01d9 slic3r: Fix std::future declaration
src/slic3r/GUI/StepMeshDialog.hpp:40:10: error: ‘future’ in namespace ‘std’ does not name a template type
   40 |     std::future<unsigned int> task;
      |          ^~~~~~
src/slic3r/GUI/StepMeshDialog.hpp:8:1: note: ‘std::future’ is defined in header ‘<future>’; did you forget to ‘#include <future>’?
    7 | #include "Widgets/Button.hpp"
  +++ |+#include <future>
    8 | class Button;
2024-10-28 08:33:48 +08:00
Bastien Nocera 3547728ded slic3r: Fix missing union_ex/diff_ex declaration
src/slic3r/GUI/Gizmos/GLGizmoBrimEars.cpp: In member function ‘void Slic3r::GUI::GLGizmoBrimEars::first_layer_slicer()’:
src/slic3r/GUI/Gizmos/GLGizmoBrimEars.cpp:870:27: error: ‘union_ex’ was not declared in this scope; did you mean ‘union’?
  870 |                 part_ex = union_ex(part_ex, sliced_layer);
      |                           ^~~~~~~~
      |                           union
src/slic3r/GUI/Gizmos/GLGizmoBrimEars.cpp:876:21: error: ‘diff_ex’ was not declared in this scope
  876 |     m_first_layer = diff_ex(part_ex, negative_ex);
      |                     ^~~~~~~
2024-10-28 08:33:48 +08:00
Bastien Nocera 1a0a8f54c9 slic3r: Fix missing boost::lexical_cast declaration
src/slic3r/GUI/MediaFilePanel.cpp: In lambda function:
src/slic3r/GUI/MediaFilePanel.cpp:508:49: error: ‘lexical_cast’ is not a member of ‘boost’
  508 |                 url += "&refresh_url=" + boost::lexical_cast<std::string>(&refresh_agora_url);
      |                                                 ^~~~~~~~~~~~
2024-10-28 08:33:48 +08:00
Bastien Nocera ed60b5f385 slic3r: Fix boost::nowide declaration
src/slic3r/GUI/BitmapCache.cpp: In static member function ‘static NSVGimage* Slic3r::GUI::BitmapCache::nsvgParseFromFileWithReplace(const char*, const char*, float, const std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&)’:
src/slic3r/GUI/BitmapCache.cpp:279:17: error: ‘boost::nowide’ has not been declared
  279 |     fp = boost::nowide::fopen(filename, "rb");
      |                 ^~~~~~
2024-10-28 08:33:48 +08:00
Bastien Nocera 11570d44ef slic3r: Fix wxDisplay declaration
src/slic3r/GUI/Gizmos/GLGizmoFlatten.cpp: In member function ‘virtual void Slic3r::GUI::GLGizmoFlatten::on_render_input_window(float, float, float)’:
src/slic3r/GUI/Gizmos/GLGizmoFlatten.cpp:45:27: error: ‘wxDisplay’ was not declared in this scope; did you mean ‘wxGetDisplay’?
   45 |     double screen_scale = wxDisplay(wxGetApp().plater()).GetScaleFactor();
      |                           ^~~~~~~~~
      |                           wxGetDisplay
2024-10-28 08:33:48 +08:00
Bastien Nocera 727a73333b slic3r: Fix missing declarations in wxMediaCtrl3.h
src/slic3r/GUI/wxMediaCtrl3.h:80:10: error: ‘condition_variable’ in namespace ‘std’ does not name a type
   80 |     std::condition_variable m_cond;
      |          ^~~~~~~~~~~~~~~~~~
src/slic3r/GUI/wxMediaCtrl3.h:27:1: note: ‘std::condition_variable’ is defined in header ‘<condition_variable>’; did you forget to ‘#include <condition_variable>’?
   26 | #include "Printer/BambuTunnel.h"
  +++ |+#include <condition_variable>
   27 |
src/slic3r/GUI/wxMediaCtrl3.h:81:10: error: ‘thread’ in namespace ‘std’ does not name a type
   81 |     std::thread m_thread;
      |          ^~~~~~
src/slic3r/GUI/wxMediaCtrl3.h:27:1: note: ‘std::thread’ is defined in header ‘<thread>’; did you forget to ‘#include <thread>’?
   26 | #include "Printer/BambuTunnel.h"
  +++ |+#include <thread>
   27 |

In file included from src/slic3r/GUI/MediaPlayCtrl.h:17,
                 from src/slic3r/GUI/MediaPlayCtrl.cpp:1:
src/slic3r/GUI/wxMediaCtrl3.h:77:13: error: field ‘m_frame’ has incomplete type ‘wxImage’
   77 |     wxImage m_frame;
      |             ^~~~~~~
2024-10-28 08:33:48 +08:00