1482 Commits

Author SHA1 Message Date
gerrit
0cd72385c2 ci: update network module based on commit 73482dc
Change-Id: I18583c8ed947852566ae67ff3aa0f12b1985c2cc
2023-01-19 10:16:10 +08:00
lane.wei
698d51c274 FIX: boost: fix the patch failed issue of boost
Change-Id: I6f689cd6dc08964cb759d09798b2bbe64c7aae85
2023-01-19 10:16:10 +08:00
chunmao.guo
85db77f989 FIX: [STUDIO-2065] icon action in ObjectList on macOS not work
Change-Id: I0b7d61a80afaeede3c7fb23afce9034a0b3bcaa6
2023-01-19 10:16:10 +08:00
salt.wei
c8f506b727 ENH: total layer number is wrong when enable support
This is fix for jira 2061

Layer height is double and may has small difference, which
influence total layer number when support is enabled.

Should use int data and consider EPSION when calculate total
layer number.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I1bb6c89f2afd162d2d7e7dcff4a9d6a00b94dab3
2023-01-19 10:16:09 +08:00
gerrit
e062828f81 ci: update build version to 01.04.02.08
Change-Id: Ie2bb6838bb921829223455b180d930cb93a2f4ea
2023-01-19 10:16:09 +08:00
Stone Li
c20aa9ed9d ENH: refine extrusion_cali_set command for factor k
fix enable status of confirm btn in ams settings dlg

Change-Id: I25c11078bb723647fac6370f966c74c807362e21
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:09 +08:00
chunmao.guo
772fe0f83f FIX: open media play 2 seconds later when switch device
Change-Id: I58d0cdc7581c7d0ef8b9081d1909b6d813406dd8
(cherry picked from commit fc191b9e6a53d954056a434d075cd25efa9853fd)
2023-01-19 10:16:09 +08:00
gerrit
685bcfb8e7 ci: update build version to 01.04.02.07
Change-Id: Idc562e5a56e29fa70fdef7739d8c22568b310e28
2023-01-19 10:16:09 +08:00
Stone Li
8fc57fd1ca FIX: fix print error tips
Change-Id: Iaf857e72f72d428ad3a361243818cdfcbb11a183
2023-01-19 10:16:09 +08:00
salt.wei
1483f22166 ENH: fix the issue about forcing cooling of pa-cf
For pa-cf, the default setting of cooling is
forcing cooling for all outer wall.

And internal tester found that the slowing down by
layer time does not work for outer wall under
this situation.

This is fix for this issue.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I05aaa16d246f5ea6dc1ae9808050e1281646e184
(cherry picked from commit c6b8f9b1570746ae8eaa9efdddb550b46d98264c)
2023-01-19 10:16:09 +08:00
salt.wei
f8da354f4e ENH: fix issue that sommetimes no wipe path is generated
This is handling for github issue #1072

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I253be46b07054eb69ddbad3889e31dfca57b2a52
2023-01-19 10:16:09 +08:00
gerrit
2df2ba94f9 ci: update build version to 01.04.02.06
Change-Id: I1f65dcd2b2bb46e60cac755aecc5deef66c6847b
2023-01-19 10:16:09 +08:00
Stone Li
aaa7d0f1cd ENH: update po files of Bambu Studio
Change-Id: I7ecdf97dd22e7b0dc6c841b50962cf6a319013d8
2023-01-19 10:16:09 +08:00
tao wang
5c280f0aae FIX:Fix UI display error without AMS mode
Change-Id: Ida20f405d6c5a99ba6a8c437a7201b8ebd7fbad2
2023-01-19 10:16:09 +08:00
Stone Li
5edefdd686 FIX: fix display error in virtual tray
refine description for ams not connected

Change-Id: Ic4c01e69cfd9385548a497af5c5c3071614067a2
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:09 +08:00
gerrit
9b715f8fcb ci: update build version to 01.04.02.05
Change-Id: I4e36b0d09bf2dac43868737f11a0868769586152
2023-01-19 10:16:09 +08:00
Stone Li
b6a937ae8a ENH: set timeout for starting extrusion to 20
Change-Id: Iae718e324170028121ca32e9653acac7b7b301f4
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:09 +08:00
gerrit
aa3fff39b0 ci: update build version to 01.04.02.04
Change-Id: I9ae952f09d466ac51de85c5e01de80065dd3ba86
2023-01-19 10:16:09 +08:00
tao wang
5612d6855b NEW:Update the description about humidity
Change-Id: Ie7767ab4fdb7f09b361d5f4f8f8b593cde82b749
2023-01-19 10:16:09 +08:00
Stone Li
c38e2793a3 NEW: fix blank issue of error tips
Change-Id: Id4faa6d3edb7d8083000a6e752d059e25aab16a1
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:08 +08:00
tao wang
51a34818c5 FIX:fixed print error has wrong layout
Change-Id: I668b32caeba9c3c2256c7a85b7858f98cd97fadc
2023-01-19 10:16:08 +08:00
gerrit
26287368ef ci: update build version to 01.04.02.03
Change-Id: I9371a63f04ca912fb6c1cc682559ca4f7d1f95a6
2023-01-19 10:16:08 +08:00
Stone Li
d859963084 ENH: update po files for Bambu Studio
Change-Id: Ia19ab13d5b53f79cc0fa2514bc1ce8c60275d695
2023-01-19 10:16:08 +08:00
tao wang
da3eff89b1 FIX:Fixed some UI layout issues for monitor page
Change-Id: I91fc50b63ff79ef7e9b7df600325a619c6764a09
2023-01-19 10:16:08 +08:00
Stone Li
5675ed53da ENH: add tips for P1P when printing all is not supported
Change-Id: I5caa5dbc2d9cd3c57318a2366c8a8ef494d4df31
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:08 +08:00
tao wang
6dfd5511c9 ENH:Allow clicking to confirm button when the data is complete
Change-Id: If28f20e6ce1fac783533cbc595614a909386dfae
2023-01-19 10:16:08 +08:00
chunmao.guo
41fbae4fe2 FIX: [STUDIO-1908] device ftps to implicit_ssl
Change-Id: Iaa347ea17d76b7bafc0ea213217bfbc2b6c916cd
(cherry picked from commit 702d1c1e6605834746b38dedc725fe67ad4edfa6)
2023-01-19 10:16:08 +08:00
tao wang
833f7f0504 ENH:select the first tray when switching AMS
Change-Id: I74487f9bda81df199685b31e6fb7f5dbcaeef607
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:08 +08:00
liz.li
acf8e63da6 ENH: adjust ExtrusionCalibration image related
Change-Id: Icca866dc5a164dee7da420f2fc04976bcfb42d04
2023-01-19 10:16:08 +08:00
Stone Li
6dff973280 FIX: fix code conflict
Change-Id: Ibffa0b4fc4c72df878b469ab50f74d12748f15ed
2023-01-19 10:16:08 +08:00
gerrit
63b1e5d05f ci: update build version to 01.04.02.02
Change-Id: I72e7aefad96965385616f9bb0630fb9403037609
2023-01-19 10:16:08 +08:00
tao wang
d13f3aba6d ENH:Optimize the layout of AMScontrol
Change-Id: Id74c0f14cf17b5d0cbc1077bb3609d7b1c8c6c2b
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:08 +08:00
tao wang
93ab4780c3 FIX:set popup position change to move popup
Change-Id: I3417416dc6de4a40674f1ac98c4ba4fa593f3297
(cherry picked from commit a19bbf818974ff4a1136ebe661ef3e47ab118486)
2023-01-19 10:16:08 +08:00
tao wang
921148db2f FIX:fixed C11 printer not showing humidity
Change-Id: Ie1c3ddf66772ff0799ebed0827c7b23e23e17742
(cherry picked from commit aa8acdbfa0cf7d9f8bdb35bdb17b3702056daa45)
2023-01-19 10:16:08 +08:00
Stone Li
993c4d422e FIX: sync code of PhysicalPrintDialog
Change-Id: I362c2485fed351b3533359be57a6e0b618d0fffa
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:08 +08:00
Arthur
973a7954a2 FIX: tree support first layer defects
Tree support didn't fill the first layer when the tree is too short

udesk: 0284
Change-Id: I2702b26733e7360445e19847abb48f75f173da4e
(cherry picked from commit e317f9e19fbbfe21efb495e23a8ff78661bfee79)
2023-01-19 10:16:08 +08:00
tao wang
0eb6d59819 ENH:show default ip address and access code when user enter
Change-Id: Idbe3af1fd13dfe34634b5c7fa2f7ca8791b3e10a
(cherry picked from commit 442d20ecb5f11399df7af5386f5bdc403a087067)
2023-01-19 10:16:07 +08:00
Stone Li
134a4a6677 FIX: fix sending gcode to octoprint
Change-Id: Id541b18d8e3522854d83f57dd4f3b02863a6aae7
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:07 +08:00
Joshua Wise
9f86a4cd7a wxMediaCtrl2: provide a better error message if the system does not have h.264 codecs installed
Change-Id: I0c6ee1c869a5d37e70e63d74b6127386eea4e683
2023-01-19 10:16:07 +08:00
Joshua Wise
e352234a0d gstbambusrc: improve compatibility with older GStreamer versions
Change-Id: Ifa6f8928b83c30113ac5a6f74ab039934727ad8f
2023-01-19 10:16:07 +08:00
Joshua Wise
41c861b12c Add support for Bambu Lab X1 series live video stream on Linux.
wxWidgets on Linux uses GStreamer as its back-end for wxMediaCtrl, which
doesn't have a bambu: URI handler.  On Windows, this is handled by a Windows
Media subsystem plugin, and on Mac, this is handled with a BambuPlayer
class.  Luckily, the libBambuSource.so binary that is distributed with the
network plugin package already contains support for receiving h.264 data
from the network, and the API is the same as is used by the tiny
bambusource.exe binary on Windows; we glue this into a GStreamer source
plugin that registers a URI handler for bambu:.

To make this work, we make a few additional changes elsewhere.  GStreamer
seems to have trouble rendering an Xv overlay onto a 32bpp X visual, but
Bambu Slicer seems to request a 32bpp visual for some background
transparency in the Notebook; it doesn't seem to use it in an interesting
way on Linux, though, so we remove that request for transparency to allow
Bambu Studio to render to a 24bpp visual.  The media controller
infrastructure also makes a few assumptions about when sizing information
can be queried from a wxMediaCtrl backend that do not hold true on Linux; we
either fix those assumptions, or fake them out, as needed.  We also make a
few changes needed to successfully compile C.

This has only been tested with the GStreamer backend for wxWidgets --
notably, not the GStreamer-play backend (these are, astonishingly, two
different things!).  If you find that this seems not to work, consider
*un*installing the libgstreamer-plugins-bad1.0-dev package and then
rebuilding wxWidgets.
(cherry picked from commit ebbf494723042ea71bfced626b3ddbd3c365cd3f)

Change-Id: I3c27a1de3172103f90f02f6be92010d3432b5d5c
2023-01-19 10:16:07 +08:00
Joshua Wise
3f1a6c877a deps/wxWidgets: avoid patching too many times
Each time the dependency build was run, previously, the build system
attempted to patch wxWidgets after checking it out from Git.  The problem,
of course, is that if this happened once, it would not succeed a second
time, so the only workaround was to blow away the wxWidgets source tree.

The real solution to this is to create a BBL fork of wxWidgets (or to
upstream the changes...).  But for now, we add a file to determine whether
the patch has taken place already, and if it's there, we don't apply the
patch again.  This will mean that all kinds of exciting things happen if you
change Git revisions of wxWidgets or the patch changes (in those cases,
you'll have to blow away the build), but at least this makes it possible to
build twice in the same repository in the best case.

To update an existing checkout, run:

  $ touch deps/build/dep_wxWidgets-prefix/src/dep_wxWidgets/WXWIDGETS_PATCHED
(cherry picked from commit 7df4d22e378275c28afb52ccb79b9f0f7dc0f5fa)

Change-Id: I645de1f76c3814735b573d81f3a0505359234a41
2023-01-19 10:16:07 +08:00
Arthur
87217fab3a FIX: raft density in tree support was wrong
Jira: STUDIO-2005
Change-Id: Ic2e9a3824ea943f101737270382c63cfaea656a1
(cherry picked from commit e10e17863a40638329ff43c8fa12b88c79e7b76b)
2023-01-19 10:16:07 +08:00
Joshua Wise
bbd2f921cc ENH: Linux: update GLEW to 2.2.0, and enable EGL support in GLEW to match wxWidgets
On Linux, wxGTK by default attempts to use EGL if it is available on the
system, rather than GLX.  Unfortunately, the ancient version of GLEW that we
packaged in did not support EGL, and even if it did, the configuration was
not set up to enable EGL.  To solve this, we:

  * upgrade GLEW to version 2.2.0, from upstream GitHub

  * modify the Bambu build process to enforce that we use GLEW from the
    built dependency

  * remove the "extra" even older GLEW that was packaged

  * modify GLEW's CMake configuration to enable EGL support when it is
    available on the system (using the same test as wxWidgets uses to decide
    whether to enable EGL support); if EGL isn't available at compile time,
    both GLEW and wxWidgets will fall back on GLX

Note that you probably will have to blow away your CMakeCache for this to
work correctly -- otherwise, you may end up with the system GLEW, if you
have one installed (which is probably not what you want -- on Ubuntu, the
system GLEW is GLX, not EGL).

Change-Id: I06de009a3fac9e5cf6a3ef16dde33df1516102e9
2023-01-19 10:16:07 +08:00
lane.wei
570c23c0a4 ENH: version: change to 1.4.2
Change-Id: Ia1c6e2690b89f3b876c8c43556a7980be5923438
2023-01-19 10:16:07 +08:00
Stone Li
54d1c991e7 FIX: fix check k / n logic
Change-Id: I0f9fe5c95523d79b4c6435555d10f2d641639b13
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:07 +08:00
salt.wei
3cfb86b2b6 ENH: add some new filament
Bambu PLA tough, Bambu PLA Marble, Bambu PLA Sparkle

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ib882485d9bdf6a29b8f5c8681e2d7bda8c7e1da0
2023-01-19 10:16:07 +08:00
tao wang
f7140f055b FIX:Fixed some UI layout issues for monitor page
Change-Id: Ifbb7dd7271195bed17dcd83a398bb7a65b13dca2
2023-01-19 10:16:07 +08:00
chunmao.guo
5a48e21706 ENH: request lan ip if liveview failed with lan tunnel (2)
Change-Id: Ie40c31b8c3600dc30228d931013cc0e12a6b1a78
2023-01-19 10:16:07 +08:00
chunmao.guo
58bda8446e FIX: [STUDIO-1969] disable mouse wheel on SpinCtrl
Change-Id: I9d568c5fe48defe88c94a476a295143c7089d960
(cherry picked from commit d3ddc246d27ab5f435dd15433f18d5dbc64ed667)
2023-01-19 10:16:06 +08:00