1514 Commits

Author SHA1 Message Date
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
Stone Li
1d9f518963 ENH: update po files for BambuStudio
Change-Id: Ie6af81c6bc8d2f977ef2a867d2df5a9d588d12d6
2023-01-19 10:16:06 +08:00
chunmao.guo
b3a26913d0 ENH: request lan ip if liveview failed with lan tunnel
Change-Id: Ib987ce684873869e5abc71da9bad8600479c7146
2023-01-19 10:16:06 +08:00
Stone Li
fb8829c894 ENH: refine entries for extrusion calibration
Change-Id: Idcefca17cb026887ea5bd32387ab6d269f8f9d58
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:06 +08:00
Stone Li
d1e1f8b05e ENH: optimize the copy description format
remove "\n" from _L macro

Change-Id: If1beda4a77f1c2b42945657b7386e155b8bc7a20
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit e7ea7705005379a7cc563254a8eaf7f48603e4a8)
2023-01-19 10:16:06 +08:00
Stone Li
b8d524e4f1 NEW: add extrusion calibration
1. display factor of extrusion calibration
2. add progress to calibration extrusion
3. support ext spool

Change-Id: Ic124a0097f16e6287c09f5f133eea84eeefb4000
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-19 10:16:06 +08:00
Stone Li
a51423d3e3 ENH: refine max/min/close button position in BBLTopbar
Change-Id: Idb86daf195df856e24c32363e763e38d77f39744
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 986c3b162c7f5934c9f88ba281b6e47787b0f9fb)
2023-01-19 10:16:06 +08:00
salt.wei
71b421d407 ENH: for issue that initial layer temp doesn't work
Start gcode of P1P is wrong.

This is for github issue #1044

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id078b7c9020ef773373c3486f74dc51385b9dcc0
2023-01-19 10:16:06 +08:00
tao wang
5297db0d99 FIX:dynamically update layout when options are changed
Change-Id: I57633604428e42f4a67dfcfd80336ab33767e099
(cherry picked from commit 3c9ca0d59da9aa1631470019cd22b5b736733c14)
2023-01-19 10:16:06 +08:00
tao wang
6c645d04b9 ENH:enter access code with ip address when lan mode connect
Change-Id: I987f953bad20d8ddea299226eb6f49a157fc7be4
(cherry picked from commit 118380ebd55f6b343b778da0423820a72811b156)
2023-01-19 10:16:06 +08:00
tao wang
809b38ef67 ENH:change to generic ip address enter dialog
Change-Id: I4d3b4f091e435d600216ef8ec44d04ca7c90a26d
(cherry picked from commit 5796a72a567ee1a2b3dee7508832d9e0d6348820)
2023-01-19 10:16:06 +08:00
tao wang
341dfb9585 ENH:allows the user to enter a printed IP address
Change-Id: I9d2617d0dd42f53e93d61e98bcf3cc97979a93f6
(cherry picked from commit 24ab56f8568e9637634e97a0632309cfd2762749)
2023-01-19 10:16:06 +08:00
gerrit
2aa6a8effd ci: update network module based on commit 8836418
Change-Id: I765e67382a07ef14171ec14e51b47b036683a7c5
2023-01-19 10:16:06 +08:00
tao.jin
59caced614 FIX: refine shortcuts on collapse/expand sidebar
Change-Id: I2332617e69ee73edeaabb5b6fd7a225ac073b76e
(cherry picked from commit 1bb6c5c55bc780691c87e0e03a15d4387c358a80)
2023-01-19 10:16:06 +08:00
chunmao.guo
9a92a39c19 FIX: [STUDIO-1908] add printer cert and version compatible
Change-Id: I6aef8c1169952a0b541516ab3a0d7de2d3e213b3
2023-01-19 10:16:06 +08:00
tao wang
ea5bb229d5 ENH:add total layer/current layer UI
Change-Id: Ib0ceae161280258d9a9fbf6fb46d34810f24c57a
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 1f5b67da2973ffa1d5a1de8d7677079883928cd6)
2023-01-19 10:16:06 +08:00
tao wang
e6bb9835ca ENH:add ams humidity tips and update new icon
Change-Id: I8f504fa911ef7a84ca8929af3c5d7c53d289761e
(cherry picked from commit 87a44ef7d5fdd549e62e98c71c824a9ad849c243)
2023-01-19 10:16:06 +08:00
tao wang
0249b88ee5 ENH:wxStaticText set the default foreground colour
Change-Id: Ifb03554848bc869f8605fb10945e7681147204d5
(cherry picked from commit 4599444719d60c92e432d595de7cea2607572b1b)
2023-01-19 10:16:05 +08:00
chunmao.guo
d064a261aa FIX: label color
Change-Id: I1de550178601fab8844fac9aabf9728233a965bb
(cherry picked from commit 82ebfa23a9ad870cf5b39ab9e869b0ce784b421b)
2023-01-19 10:16:05 +08:00