Commit Graph

2633 Commits

Author SHA1 Message Date
Arthur f6ea300aa0 FIX: global arrange setting is wrong
global arrange setting is wrong if a plate's setting is changed from object list

jira: STUDIO-5438
Change-Id: Iaa7f35837edbacff9b97ca17a8ab34c8e6bb023d
(cherry picked from commit fa2f56575b2e4305e35dd59ff55e0881720de025)
2024-03-25 10:42:29 +08:00
Arthur da1b9bd747 FIX: do not touch the plate with different printing sequence
jira: STUDIO-5424
Change-Id: I8ad00fa991b753de126a5bef0d320c452033e2e7
(cherry picked from commit c4adfe16e285f238f2c5cd8938b2167fdfb6b1b0)
2024-03-25 10:42:29 +08:00
LiZ-Li-BBL 4d15a586b4
Merge pull request #3271 from lllucius/master
Fix garbled text when display scalling > 300%
2024-01-08 12:13:33 +08:00
Gregor Riepl c161cda0d7 FIX: Fix build error with wxWidgets 3.2.4
Make initializers explicit to avoid ambiguous wxArrayString overloads.

src/slic3r/GUI/PhysicalPrinterDialog.cpp: In member function ‘void Slic3r::GUI::PhysicalPrinterDialog::build_printhost_settings(Slic3r::GUI::ConfigOptionsGroup*)’:
src/slic3r/GUI/PhysicalPrinterDialog.cpp:332: error: call of overloaded ‘set_values(<brace-enclosed initializer list>)’ is ambiguous
  332 |         choice->set_values({ m_config->opt_string("printhost_port") });
      |

See https://github.com/prusa3d/PrusaSlicer/pull/11769
2024-01-08 08:39:03 +08:00
Leland Lucius 2b6800b026 Only use modified scaling on Windows
And only if the system's scaling factor is greater than 300%.
2024-01-05 22:36:18 -06:00
Bastien Nocera f96b6cd433 Fix system() declaration
[380/471] Building CXX object src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/HttpServer.cpp.o
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/HttpServer.cpp.o
/run/ccache/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_FILE_OFFSET_BITS=64 -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/blkid -I/usr/include/libmount -I/usr/include/sysprof-6 -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/include/fribidi -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/lib/wx/include/gtk3-unicode-static-3.2 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/wx-3.2 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/HttpServer.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/HttpServer.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/HttpServer.cpp.o -c /run/build/BambuStudio/src/slic3r/GUI/HttpServer.cpp
In file included from /run/build/BambuStudio/deps/build/destdir/usr/local/include/wx-3.2/wx/string.h:36,
                 from /run/build/BambuStudio/src/slic3r/GUI/ImGuiWrapper.hpp:9,
                 from /run/build/BambuStudio/src/slic3r/GUI/GUI_App.hpp:6,
                 from /run/build/BambuStudio/src/slic3r/GUI/HttpServer.cpp:4:
/run/build/BambuStudio/deps/build/destdir/usr/local/include/wx-3.2/wx/wxcrt.h: In function ‘int wxSystem(const wxString&)’:
/run/build/BambuStudio/deps/build/destdir/usr/local/include/wx-3.2/wx/wxcrt.h:1037:51: error: reference to ‘system’ is ambiguous
 1037 | inline int wxSystem(const wxString& str) { return wxCRT_SystemA(str.mb_str()); }
      |                                                   ^~~~~~~~~~~~~
In file included from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/system/detail/error_code.hpp:13,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/system/error_code.hpp:13,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/beast/core/error.hpp:14,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/beast/core/detail/bind_handler.hpp:13,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/beast/core/bind_handler.hpp:14,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/beast/core/async_base.hpp:14,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/beast/core.hpp:15,
                 from /run/build/BambuStudio/src/slic3r/GUI/HttpServer.hpp:8,
                 from /run/build/BambuStudio/src/slic3r/GUI/HttpServer.cpp:2:
/run/build/BambuStudio/deps/build/destdir/usr/local/include/boost-1_78/boost/system/is_error_code_enum.hpp:16:11: note: candidates are: ‘namespace boost::system { }’
   16 | namespace system
      |           ^~~~~~
In file included from /usr/include/c++/13.2.0/cstdlib:79,
                 from /run/build/BambuStudio/src/slic3r/GUI/HttpServer.cpp:1:
/usr/include/stdlib.h:923:12: note:                 ‘int system(const char*)’
  923 | extern int system (const char *__command) __wur;
      |            ^~~~~~
2024-01-02 17:42:37 +08:00
Bastien Nocera d310e4ca34 slic3r: Fix missing includes
Fix a lot of "undeclared" errors during compilation on top of the
current GNOME 45 Flatpak SDK.
2024-01-02 17:42:37 +08:00
Leland Lucius a77847c2ad Fix garbled text when display scalling > 300%
On Windows, if your display scaling is greater than 300%,
the text rendered by imgui will be garbled. Allowing imgui
to do the scaling instead of making the font to large
corrects the issue.
2023-12-31 18:48:45 -06:00
zhou.xu ebf5dae0ba FIX: bed_type not follow machine preset
Jira: STUDIO-5578
when direct open project from https://makerworld.com/

Change-Id: I3281cf45e3057d766008487975b4585d2e277110
2023-12-14 22:08:53 +08:00
maosheng.wei ce5c00d943 FIX: translation: vendor can not be number
Jira: XXXX

Change-Id: I7bd45de944e8b25b30c88ab742b35d996c933966
2023-12-14 22:08:53 +08:00
hu.wang 09dce5bc04 NEW:display beta version
JIRA: XXXX
Change-Id: I78d748e53b266c3397b1c038c3425a52c573cc88
2023-12-14 22:08:53 +08:00
maosheng.wei a6a3f443d7 FIX: Allow vendors that are not entirely numerical
github: #3082

Change-Id: I318f4df7f65c934ab6703e0970d775b754b24276
2023-12-14 22:08:53 +08:00
zhou.xu 52ccbe0209 ENH:comment out two line code
Jira: STUDIO-5535
Change-Id: I5475e4f9ec6fb7e4abdb3d950da34fadead3b606
2023-12-14 22:08:53 +08:00
zhou.xu 4b8f9a4cc6 NEW:add "bed type to follow machine preset" function
Jira: STUDIO-5535
Change-Id: I2ef99a0a783a074d9379685adde11fddfd6f8cec
2023-12-14 22:08:53 +08:00
lane.wei ece83b13c8 ENH: linux: refine the d-bus name
github: #3075
Change-Id: Icf997f4f9203f4d429e3b6058d6d6e5f23bf29ac
(cherry picked from commit 5c766bff445cefee488ba9d057121b04c8e1445d)
2023-12-14 22:08:53 +08:00
zhou.xu 53d8085833 ENH:After cutting,fix non manifold edges needed confirmed by user
Jira: STUDIO-5217
Change-Id: I52ba0db27ebe0b7b763c49311c7aa305bc4dcd5a
2023-12-14 22:08:53 +08:00
Stone Li ce0a4b7ace ENH: do not cancel printing job when timeout
JIRA: STUDIO-5009

Change-Id: I067470173acc26d7ecd8ceb6f0e04ac7f03e3a4d
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 7ab5817c7229c5179adca026ffacb97c2affd292)
2023-12-14 22:08:53 +08:00
zhou.xu 3e1ef0174e FIX: big window's scaling causes incomplete display
Jira: STUDIO-5530
Change-Id: I1d69e60658e49e43d4b3de718f2fd6739bab73ce
2023-12-14 22:08:53 +08:00
tao wang 4542ccae63 NEW:installed & supported p1p(plus)
jira:[pip plus]

Change-Id: I0a69f8629749e3076465b85f28aa39d5e7ae6277
2023-12-14 22:08:53 +08:00
tao wang b6e0049bea NEW:compatible with p1p (plus)
jira:[p1p]

Change-Id: I7b30903dc0a728604c4f33c325aa79fd3bd08f68
2023-12-14 22:08:53 +08:00
maosheng.wei b554f86675 FIX: [5504] Optimization description
Jira: 5540

Change-Id: I9379f2c69b6724ec1ef5294dd3c404b0e3189486
2023-12-14 22:08:53 +08:00
wenjie.guo 270e3724a2 FIX: the preset is the same with the first one when switching printers
Jira: STUDIO-5433

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: Icf1979f2bcffbc9c59a072924df5073fc3eac363
2023-12-14 22:08:53 +08:00
maosheng.wei a1a7b77b0b FIX: fix combobox and delete btn in filament setting enabled
Jira: XXXX

Change-Id: I8b659bd77ceb97c8cea9d3e5e931f4ea50822721
2023-12-05 15:55:37 +08:00
liz.li a4cd80ae2f FIX: meshboolean transform result issue
jira: STUDIO-5425

Change-Id: If66fe909ce4458c1b3192e4fd8a3d758fe7c7eaa
2023-12-05 15:55:37 +08:00
liz.li b295ba35ee FIX: custom filament preset display in cali history issue
jira: new

Change-Id: I4145450a231adff542ab1a7428b3479f4074e06a
2023-12-05 15:55:37 +08:00
mia f8c718fd1f GUI/Field: Fix crash in color picker init (#2220)
wxButton->GetBitmap() may return an invalid wxBitmap.
Guard against this.
2023-12-05 15:55:37 +08:00
chunmao.guo e866c8321c FIX: sync user preset notify crash on exit
Change-Id: I88f5dbcbd487293ea847ea6092efb61744399541
Jira: STUDIO-5413
2023-12-01 20:17:04 +08:00
tao wang 02ec94b6f8 ENH:add preset check for sending files
Change-Id: Ia3313d281b5ce91e277b380498014ffdac5debd3
2023-12-01 20:17:04 +08:00
zhimin.zeng af69cf1264 FIX: the flow rate ratio crashes after load model
for third party printer
Jira: 5244

Change-Id: Idd829c9d99eeba9d180653ac8de4e51b9a0d6370
2023-12-01 20:17:04 +08:00
maosheng.wei fed7de93e6 FIX: scrolled window / del preset / edit filament issue
Jira: 5092
GitHub: 1936
edit filament: just one preset, the scroll bar obscures the preset name
edit filament: delete selected preset, click no, but preset be deleted
from UI
edit filament: serial sometimes displays incorrectly

Change-Id: Ibc91609e252179de0c05ca065099756da6631165
2023-11-30 09:51:52 +08:00
zhou.xu ed126ae10c FIX:Reorganize the assignment of variables of "m_editing_window_width"
Jira: STUDIO-5238
Change-Id: If369916f3f5c21510f5f297bfd05c1230bdda7a4
2023-11-30 09:51:52 +08:00
maosheng.wei b5aed4dede FIX: delete preset prompt
Jira: XXXX

Change-Id: I6511c806c56393d4f6bd72d1c506da59675d49ff
2023-11-30 09:51:52 +08:00
maosheng.wei 8ecafa356f FIX: close edit preset paramsDialog, mac unresponsive
Change-Id: Ic816754a20b7f6a5cdb46475750eb301fec3ad3a
2023-11-30 09:51:52 +08:00
maosheng.wei dc9ddade80 FIX: close edit preset paramsDialog, mac unresponsive
Jira: 5298

Change-Id: I021e00567354cfb1f2f5f1f2bf6ba1fc35b164c5
2023-11-30 09:51:52 +08:00
xun.zhang 72ecc39fcd ENH: optimize param description
jira:[NEW]

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Id0ca9224227a716b21fc0b8430722264dc319344
2023-11-30 09:51:52 +08:00
tao wang a1fb7625ed ENH:handling cases without msgs
jira:[STUDIO-5401 STUDIO-5399]

Change-Id: Iae651d5a19a45b0138a6aa621326a8b4a9649824
2023-11-30 09:51:52 +08:00
liz.li 83407370eb FIX: objectList clone shortcut key issue
jira: new

Change-Id: Ia75bf58a7d53f962e1af6c2fd97497270b7eea84
2023-11-30 09:51:52 +08:00
liz.li 1cfdf4ae5f FIX: dailytips should not change content frequently when slicing all
jira: STUDIO-5234

Change-Id: Icb7e9c28404d9db8ebed58d937e13f89c5403b5c
2023-11-30 09:51:52 +08:00
zhou.xu 6d3572270c ENH:cancel EnterReturnsTrue for imgui in cut
Jira: STUDIO-5269
Change-Id: Ifc4b183a4e4c4fdb4f47742f14f70a1ed93fa056
Signed-off-by: zhou.xu <zhou.xu@bambulab.com>
2023-11-30 09:51:52 +08:00
zhou.xu 6e8ff40ad5 ENH:add reset_cut_by_contours in on_load function
Jira:STUDIO-5269
m_connector_size_tolerance default value is 0.1f

Change-Id: I6c67fff3cb0c1190e9141ed6f68fbfa848679f35
2023-11-30 09:51:52 +08:00
zhou.xu e4cfd78e2c FIX:cancel the variable of "checkbox_size" as a fixed value
Jira: STUDIO-5150
Change-Id: I30d876d141b8b35ab4a3fee4889993d87b7c1741
2023-11-30 09:51:52 +08:00
maosheng.wei 92e0e3dbda FIX: 5331 rescale btn
Jira: STUDIO-5331

Change-Id: If153424b8480e64b166018e3cd98c17db557d0a8
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-30 09:51:52 +08:00
liz.li 70a9dfedc5 FIX: adjust bed shape dialog button UI style
fix that button text is hard to see in dark mode
jira: STUDIO-5247

Change-Id: I2cf5b3cdd2eff9b821bdf5525bec4f329fc58dd1
2023-11-30 09:51:52 +08:00
liz.li 5c69b1dee3 FIX: calibration manage result dialog issue on macos
jira: STUDIO-4949 STUDIO-5378

Change-Id: I00abefd45a0d274a4b68bb1ab18debe8f91d169e
2023-11-30 09:51:52 +08:00
chunmao.guo 1c26ebe03c FIX: move shutdown wait to OnExit
Change-Id: I70d9a2bb686525ae5273aa9d63e25691da4ab65c
Jira: STUDIO-2884
2023-11-30 09:51:52 +08:00
wenjie.guo ba8458aa0a FIX: Bitmap is way too small on Mac
Jira: STUDIO-5393

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I6b550669fa8cd5fc9bfa6ed96d64d19a949f01b2
2023-11-30 09:51:52 +08:00
zhimin.zeng d92791cb6d FIX: PA for custom filament not available in BL Studio
github: 2971
Change-Id: I6ccd36a183e7367d69557300f7242f5403f4bb33
2023-11-30 09:51:52 +08:00
zhou.xu 8ab180c5e1 FIX:cropping rendering without considering assembly views
Jira: STUDIO-5260
Change-Id: Ia56cf80b305ae05f25f06ec277f85b3c5430a6df
2023-11-30 09:51:52 +08:00
tao wang 742047a642 FIX:nozzle type sync
jira:[STUDIO-5248]

Change-Id: I63d48628832473d8d371ed643dc8528b00382531
2023-11-30 09:51:52 +08:00
zhou.xu 41a5117c93 ENH: Resolve non manifold edges by fixing model interfaces
Jira: STUDIO-5124
Change-Id: I7ea86be44acb80b6c4762a76208b4a031acd0b27
2023-11-30 09:51:52 +08:00