Commit Graph

4556 Commits

Author SHA1 Message Date
chunmao.guo 1c5e657071 FIX: TabCtrl button margin
Change-Id: If8b05a4ef9efb8b57989ee1de6543631e5a3cf90
Jira: STUDIO-8265
2024-11-12 15:35:32 +08:00
gerrit 81f1ea9b03 ci: update network module based on commit d2e9254
Change-Id: I9d4a7c1036b0dc3ad7fe49cac5d1a225e700ca9e
2024-11-12 15:35:32 +08:00
Arthur 1656cf084b FIX: simple way to avoid collision of seq printing
A simple way to avoid collision of seq printing by object of A1 series
printers, at the cost of reduced area of sequential printing.
Add new option extruder_clearance_dist_to_rod.

jira: STUDIO-8137
Change-Id: I033220e090b071c76f5c5be0d0b471e428d807ec
2024-11-12 15:35:32 +08:00
tao wang 5b7cc2495c FIX:will not display 500 error dialog when sending print
jira:[for network error]

Change-Id: Id5fbd2182d3c1948f67382d81f8bf558daffa1c6
2024-11-12 15:35:32 +08:00
zhimin.zeng c418445a2f FIX: switch to 0.2 from 0.4 nozzle, AMS item display 0.0
jira: STUDIO-7816
Change-Id: I03585f73ff1ef7573f9ea1a93b79a981958e06d3
2024-11-12 15:35:32 +08:00
zhimin.zeng 30caad8138 FIX: the pa pattern is not work
jira: none
Change-Id: I54fe0cc06acb24e244abd6d1d5d85c772f6a74db
2024-11-12 15:35:32 +08:00
lane.wei 56f6922b73 ENH: core: refine some text
JIRA: no-jira
Change-Id: I0624f5f0e3f5e7602e3bb8bb1822b5b6b6547074
(cherry picked from commit 196c12511786dbd384fe1931e3a2d8d3a94e900d)
2024-11-12 15:35:32 +08:00
lane.wei 06cd7e012a ENH: gcode: refine the text when has error in custom gcode
JIRA: STUDIO-8529
Change-Id: I0047fd6b750c4761de77eae59c401935df583d25
2024-11-12 15:35:32 +08:00
liz.li 04eeb40e1e ENH: refresh FilamentUnPrintableOnFirstLayer error state
jira: none

Change-Id: Ifec994cdba2c9590d4c1f8b59e6052593fd05bc2
2024-11-12 15:35:32 +08:00
Arthur 82c72b19bd FIX: enable circle fitting of tree support with larger threshold
jira: STUDIO-8588
Change-Id: Ia566fa14f7f786ff905fc3484885634811a6d686
2024-11-12 15:35:32 +08:00
tao wang 05877729ff NEW:support show print history
jira:[histroy]

Change-Id: Ibf3df10b0620aeab3731e248569f7d8381011c56
2024-11-12 15:35:32 +08:00
zorro.zhang 3317e4be69 NEW: PrintHistory and Model Info
JIRA: none
Change-Id: Ie86677010972568655f99a6b49ede32c5772b912
2024-11-12 15:35:32 +08:00
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
gerrit a9940b1d5d ci: update network module based on commit c4c2707
Change-Id: I7ea8f149fa14d6c3fc2c10ee970b2457f0808c08
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
lane.wei d65d61a586 ENH: CLI: support filament unprintable check
JIRA: no-jira
Change-Id: Iffb400f5cf6df062179e8d8426aa0dca05a7500c
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
qing.zhang 5ae2f68d7b FIX: tighten the scarf angle detection strategy
Jira: none

BBS: get scarf seam angle detection from OrcaSlicer, thanks SoftFever

original msg:
Scarf joint seam enhancement: conditional scarf joint and slowdown for
scarf joint only

allow apply scarf joint seams to perimeters without sharp corners only

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I07f8083ad07b5eb55901ab76824b12549dbac2ee
(cherry picked from commit 3a032d9aefb936ba757105c4183cd2f8aeaeadd6)
2024-11-12 15:35:32 +08:00
Arthur 12ed0626a3 FIX: auto orient may not work with specific angle
jira: STUDIO-8579, STUDIO-8575
github: #5092

Change-Id: I89ec76661e82364b3fcc8ba799027debc02c503c
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
Arthur 4d219266a1 FIX: 0 top z distance of hybrid tree support not working
1. fix the issue that setting top z distance=0 not working
2. remove too small extrusions of tree support

jira: STUDIO-8578
Change-Id: I8c3face9d6a756698a6fab876fdb1acc0686647c
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
Mack 89be3166e2 FIX:Replace non-UTF8 characters in STEP model names with IDs on import
jira: STUDIO-8055
Change-Id: I9255a7a871ebc9920ec683d1a2a80cd53ada0f10
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
Bastien Nocera a63070bd4c libslic3r: Fix BOOST_LOG_TRIVIAL declaration
/run/build/BambuStudio/src/libslic3r/Support/SupportParameters.hpp: In constructor ‘Slic3r::SupportParameters::SupportParameters(const Slic3r::PrintObject&)’:
/run/build/BambuStudio/src/libslic3r/Support/SupportParameters.hpp:172:39: error: ‘warning’ was not declared in this scope
  172 |                     BOOST_LOG_TRIVIAL(warning) << "tree support default to organic support";
      |                                       ^~~~~~~
/run/build/BambuStudio/src/libslic3r/Support/SupportParameters.hpp:172:21: error: ‘BOOST_LOG_TRIVIAL’ was not declared in this scope
  172 |                     BOOST_LOG_TRIVIAL(warning) << "tree support default to organic support";
      |                     ^~~~~~~~~~~~~~~~~
/run/build/BambuStudio/src/libslic3r/Support/SupportParameters.hpp:175:39: error: ‘warning’ was not declared in this scope
  175 |                     BOOST_LOG_TRIVIAL(warning) << "tree support default to hybrid tree due to adaptive layer height";
      |                                       ^~~~~~~
/run/build/BambuStudio/src/libslic3r/Support/SupportParameters.hpp:175:21: error: ‘BOOST_LOG_TRIVIAL’ was not declared in this scope
  175 |                     BOOST_LOG_TRIVIAL(warning) << "tree support default to hybrid tree due to adaptive layer height";
      |                     ^~~~~~~~~~~~~~~~~
2024-10-30 14:43:27 +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 64ab78298b FIX: hybrid tree support may crash due to empty extrusion entities
jira: none
Change-Id: I521e27e7a4d12189efc77768d10d264d0d6db111
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 6360fb80be FIX:mtl name use utf-8 encoding
jira: none
Change-Id: I9a90344ac97f44445d3330c6734fac1372a1350e
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
Arthur e773e3a5ef FIX: normal support crash
jira: STUDIO-8531
Change-Id: Ic4b13b253b8e2647f3bec78b5e9c698a18519285
2024-10-28 20:51:35 +08:00
gerrit 2e4d33b5e1 ci: update network module based on commit 8f93dce
Change-Id: I7fb2f5333b05346e4ba48c11fdf66838c5d67f78
2024-10-28 20:51:35 +08:00
qing.zhang 6201da0a6d ENH: protect for accuracy issue
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ief104b8ea449e1292db5bd3847ecea779bccff39
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
gerrit 6aa12e460b ci: update network module based on commit 76ae6aa
Change-Id: I542fa0291c56755373679ad776766c4c3b29da0c
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 10d576a301 FIX: crash when slicing(15%, generate perimeter)
github: 5037 and jira: 8182
Change-Id: I6719dc0cb4e5de808da14f9911cec19d4db9be3f
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
Mack 1433ef6edc ENH:Add FLATPAK variable to skip installing FFmpeg
GITHUB: #5008
Change-Id: Id4e9637f13580bda4c74197ca302c7f5f8ad5a25
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 beb3241c96 FIX: seam render missing for path split
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I7109d38e3f7f858836cfa199c2871dc583e42eca
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
Arthur d5b14e5c09 FIX: solve tree support crash
jira: STUDIO-8509
Change-Id: I8658538d7919136efbbf0d48cbf3d366e0621ded
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 4829d22f8c FIX: crash when slice model
Due to accuracy issues, some points are not within the boundingbox.
github: 4615 associated with 3749

Change-Id: Ic2fb359d9779191c8c98660e13275147b0cc09cd
2024-10-28 20:51:35 +08:00
lane.wei 3ee4fd55b1 ENH: CLI: support other volume types in assemble list
JIRA: no-jira
Change-Id: Ia283d9a250b0185b43c788649ba2194e52e9e198
2024-10-28 20:51:35 +08:00
lane.wei ef3d25eb68 ENH: CLI: remove some warnings
JIRA: no jira
Change-Id: I41fa9248cd619494a9f6bf8db26988330a7fbbdd
(cherry picked from commit fae0b29f52fa1da6a18c7691329274609d043364)
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
maosheng.wei dc019db185 FIX: create custom printer crash
Jira: XXXX

Change-Id: I1ff6598d1518e6a96f55677c04ae8bfbabb2f9dd
2024-10-28 20:51:35 +08:00
zhimin.zeng 2263f3d627 FIX: Object skip incorrectly skipped color change
github: 4940
Change-Id: Ia7b48638ff2f7a7cddf9b033b5831b6f3fa5d1e7
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
Arthur a250110cdb FIX: remove signed/unsigned compare warning
jira: none
Change-Id: I58d4503d5d12b35f3974e58252d81a935db3733b
(cherry picked from commit 01ed70a8b058ceab2c862317c52ed41ef1c950b0)
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
qing.zhang 8b60428ecd FIX: not add speed smooth area
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ifadbbc52a718b345d3ed0f3bd678abc269a46424
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
Filipe Laíns 8860fadaeb Fix build with CGAL 5.6
Signed-off-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Andreas Rammhold <andreas@rammhold.de>
2024-10-28 08:52:34 +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 9562692bc6 libslic3r: Fix Model declaration
src/libslic3r/Format/STEP.hpp:39:41: error: ‘Model’ has not been declared
   39 | extern bool load_step(const char *path, Model *model,
      |                                         ^~~~~
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
Bastien Nocera c64ab8c08a libslic3r: Fix format calls
src/libslic3r/Support/TreeSupport.cpp:3204:41: error: ‘format’ was not declared in this scope; did you mean ‘boost::format’?
 3204 |             BOOST_LOG_TRIVIAL(trace) << format("plan_layer_heights0 (%.2f,%.2f)->(%.2f,%.2f): ", z1, h1, z2, h2);
      |                                         ^~~~~~
      |                                         boost::format
2024-10-28 08:33:48 +08:00
Bastien Nocera 126dfea027 libslic3r: Fix declaration in FlushVolPredictor.hpp
In file included from src/libslic3r/FlushVolPredictor.cpp:1:
src/libslic3r/FlushVolPredictor.hpp:44:34: error: ‘string’ in namespace ‘std’ does not name a type
   44 |     FlushVolPredictor(const std::string& data_file);
      |                                  ^~~~~~

src/libslic3r/FlushVolPredictor.hpp:49:5: error: ‘uint64_t’ does not name a type
   49 |     uint64_t generate_hash_key(const RGB& from, const RGB& to);
      |     ^~~~~~~~

In file included from src/libslic3r/FlushVolPredictor.cpp:1:
src/libslic3r/FlushVolPredictor.hpp:44:34: error: ‘string’ in namespace ‘std’ does not name a type
   44 |     FlushVolPredictor(const std::string& data_file);
      |                                  ^~~~~~
2024-10-28 08:33:48 +08:00
Bastien Nocera 6b025c3fa2 libslic3r: Add missing include for tbb::spin_mutex
src/libslic3r/Brim.cpp: In function ‘Slic3r::ExPolygons Slic3r::outer_inner_brim_area(const Print&, float, std::map<ObjectID, std::vector<ExPolygon> >&, std::map<ObjectID, std::vector<ExPolygon> >&, std::vector<std::pair<ObjectID, unsigned int> >&, std::vector<unsigned int>&)’:
src/libslic3r/Brim.cpp:1084:18: error: ‘spin_mutex’ is not a member of ‘tbb’
 1084 |             tbb::spin_mutex brimMutex;
      |                  ^~~~~~~~~~
2024-10-28 08:33:48 +08:00
gerrit ccab7b1ef3 ci: update network module based on commit ed13d56
Change-Id: Ibef15b6751b99486b0a60e4fb9652955666c0d3b
2024-10-15 21:24:07 +08:00
wintergua a60d6ba8ac FIX: typos in speeding up brim generation
1) exploys in brimMap are not modified
2) the overlap judgment is processed in paralleling

jira: STUDIO-8443

Change-Id: I8638071cfc06776975034f39aa994fc4dc7ae1be
2024-10-15 21:24:07 +08:00
tao wang ed98fb3799 ENH:Update some translations
Change-Id: I7188108062ad8a4cc8cfebb14563d894ccae882b
2024-10-15 17:03:41 +08:00
lane.wei 13b4213f8a ENH: update some missing codes
jira: no-jira
Change-Id: Icb2da53911430ac144b0fb601637a7ad31e7e8db
2024-10-15 15:50:26 +08:00
maosheng.wei f4b00d1d34 ENH: Optimization finish time display
Jira: 8369

Change-Id: I33e5efbb5af2a35cd20ba009c14441c5bc2ccf48
2024-10-15 15:50:26 +08:00
Arthur 20784d845f ENH: speedup brim generation
Use support_islands for all types of suports to avoid gaps between
support regions of the first layer.

jira: STUDIO-8443
Change-Id: Ic65b47640d8352d406bb11eeff7390532631712b
2024-10-15 15:50:26 +08:00
Stone Li e85b2fbf6f ENH: reload font after switching language code
JIRA: STUDIO-8263

Change-Id: If44c5f2cf52e77fea0f1967d071a442fff5ee5b6
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-10-15 15:50:26 +08:00
zhou.xu fbdc9cd580 FIX:when two dir is perpendicular to each other,scale error
(plane_normal.dot(ray_dir))
jira:STUDIO-8274

Change-Id: Ib3145ab75e18c832d20065d204aa41b75f73b673
2024-10-15 15:50:26 +08:00
tao wang 95655e067a FIX:display msg when cannot edit filament
jira:[edit filament]

Change-Id: I7e2b4fabeb3930f34fc252f1334e168e4f623b77
2024-10-15 15:50:26 +08:00