Commit graph

2308 commits

Author SHA1 Message Date
SoftFever
5ea57c1406 Merge branch 'SoftFever' into feature/merge_upstream 2023-01-21 23:41:20 +08:00
SoftFever
4d85ef6657 increase max bed size to 2147
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-01-21 23:40:03 +08:00
Heiko Liebscher
7f8c2ab267
fix 256px icon to big (#198) 2023-01-21 11:20:41 +08:00
SoftFever
2492e5d39c merge upstream changes
Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2023-01-21 00:37:10 +08:00
SoftFever
1bdedb1c47
Feature/fix more colors (#193)
* fix more colors

* fix more color on Mac

Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>

* fix new windows issue on Mac

Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
#137

* Support more PrusaSlicer variables

Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>

* enhance compatibility: bed_shape and wipe_start_x

* fix more color

* build deps

* only build for PR

Signed-off-by: SoftFever <softfeverever@gmail.com>

Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-01-18 23:06:39 +08:00
lane.wei
7e9ccefcaa FIX: boost: fix the patch failed issue of boost
Change-Id: I6f689cd6dc08964cb759d09798b2bbe64c7aae85
2023-01-17 19:37:56 +08:00
SoftFever
948dee01ec fix linux CICD 2023-01-16 22:30:11 +08:00
SoftFever
f9200cc7e4 Raised bed temperature limit to 300.
The actual temperature is subject to the firmware's limitations

Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2023-01-16 21:13:13 +08:00
SoftFever
a6f0bd4d28 Allow 100% retract before wipe
Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2023-01-16 20:59:10 +08:00
SoftFever
6f5af33c2d QoL: remember choice
Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2023-01-16 20:58:42 +08:00
SoftFever
0ea985f926 move inwards before travel
Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2023-01-16 00:58:01 +08:00
SoftFever
8350895513 role_based_wipe_speed and wipe_speed
Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2023-01-15 21:05:35 +08:00
SoftFever
cdbd2fe042 fix calibration menu disappearing issue on Mac 2023-01-15 10:32:40 +08:00
SoftFever
023f8514c3 update tooltip 2023-01-14 19:43:35 +08:00
SoftFever
594819ef9c seam gap parameter 2023-01-14 19:39:00 +08:00
SoftFever
dd1efb3969 delete .DS_Store 2023-01-14 11:57:59 +08:00
SoftFever
6a86668ab2 fix linux CICD 2023-01-13 21:57:38 +08:00
salt.wei
b107990270 ENH: disable clipper2 in perimeter generator
Clipper2 doesn't solve wrong line issue for some
specific model and sometimes has performance issue.

Return to clipper1.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I906f8b81083ac8c03ecc9fe3e8d2ade20be95c04
2023-01-13 21:51:17 +08:00
Michael Birkler
61d851fc02
ADD Snapmaker A250 and A350 (#171) 2023-01-13 21:48:22 +08:00
Heiko Liebscher
ff1303778d
Update de files (#168)
* new ids and typo

* build mo file

* new msgid
2023-01-12 22:56:43 +08:00
SoftFever
96c861f906
CICD (#167)
CICD
2023-01-12 22:55:50 +08:00
Patrice Côté
43f4288fdc
Fix to RatRig profiles (#162)
Fix to RatRig profiles, especially V-Cast
2023-01-12 19:45:35 +08:00
Patrice Côté
540aa13e25
Add Post-processing (#159)
It is now possible to call external  post-process scripts
2023-01-12 19:42:31 +08:00
5axes
a3e5531e28
New French Translation Update (#158)
* Update BambuStudio_fr.po

French translation

* Update BambuStudio_fr.po

New modifications

* Update BambuStudio_fr.po

Test to add Layer time ( missing in the original po file)

* Update French

Change some French initial translation like A-coup in Saccade

* Update BambuStudio_fr.po

Add Jerk(XY)

* Update BambuStudio_fr.po

last modification for today

* Update BambuStudio_fr.po

Last French translation of the Morning
Mainly on the Giszmo

* Update BambuStudio_fr.po

Mainly on Filament parameter

* Update BambuStudio_fr.po

Adjust translation with :

https://github.com/BastR/BambuStudio/blob/french-trad/bbl/i18n/fr/BambuStudio_fr.po

* Update BambuStudio.mo

* last modif

Last modif for today

* Update fr

an other one

* Update

Last Modification

* Update

Missing term in the German translation

* update

Changement

* update

TimeLaps

* Update 11/1/2023

Minor Change
Update  : Year / Month ( not translated in the previous translation)
2023-01-12 19:36:57 +08:00
Joshua Wise
730aa890c3 wxMediaCtrl2: provide a better error message if the system does not have h.264 codecs installed 2023-01-12 14:56:04 +08:00
Joshua Wise
745076805e gstbambusrc: improve compatibility with older GStreamer versions 2023-01-12 14:56:04 +08:00
Joshua Wise
43a7f88c6c 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.
2023-01-12 14:56:04 +08:00
Joshua Wise
89d38fc6f6 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
2023-01-12 14:23:37 +08:00
Joshua Wise
fe13ca0b52 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).
2023-01-12 12:29:59 +08:00
5axes
fa403349e6
Update BambuStudio_fr.po (#150)
* Update BambuStudio_fr.po

French translation

* Update BambuStudio_fr.po

New modifications

* Update BambuStudio_fr.po

Test to add Layer time ( missing in the original po file)

* Update French

Change some French initial translation like A-coup in Saccade

* Update BambuStudio_fr.po

Add Jerk(XY)

* Update BambuStudio_fr.po

last modification for today

* Update BambuStudio_fr.po

Last French translation of the Morning
Mainly on the Giszmo

* Update BambuStudio_fr.po

Mainly on Filament parameter

* Update BambuStudio_fr.po

Adjust translation with :

https://github.com/BastR/BambuStudio/blob/french-trad/bbl/i18n/fr/BambuStudio_fr.po

* Update BambuStudio.mo

* last modif

Last modif for today

* Update fr

an other one
2023-01-10 22:30:57 +08:00
Patrice Côté
c9f6421839
Remove limitations for bed_exclude_area (#151)
* Remove limitations for bed_exclude_area

Was limited to 256mm, not ractical to exlcude half of the bed (for instance on IDEX printers)

* Add RatRig V-Cast printer

Add RatRig V-Cast printer

Add RatRig V-Cast printer

Add RatRig V-Cast printer
2023-01-10 22:29:33 +08:00
Patrice Côté
54f8cb9591
Add RatRig V-Cast printer (#152)
Add RatRig V-Cast printer
2023-01-10 22:28:22 +08:00
liz.li
fdba5967fa ENH:optimize method of gcodeviewer marker get current move
Change-Id: I935d8da52212156b4158d727b49d8b0e51105fa3
(cherry picked from commit 4826570649608691184c05260edf4c074dccb780)
2023-01-10 19:08:26 +08:00
salt.wei
70a0f09ea2 ENH: disable clipper2 in perimeter generator
Clipper2 doesn't solve wrong line issue for some
specific model and sometimes has performance issue.

Return to clipper1.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I906f8b81083ac8c03ecc9fe3e8d2ade20be95c04
2023-01-10 19:08:26 +08:00
salt.wei
ba064d44a1 fix: revert "ENH: aligned the z-seam"
This reverts commit 2d0805d4aabbc4e8f25aa93c8f01870c256a0b17.
2023-01-10 19:08:26 +08:00
salt.wei
b13928b615 fix: revert "FIX: fix the out range of array of seam algining"
This reverts commit f100c10fa8aa0460d3ff11723c6a2504b6b69bba.

Change-Id: Ice36f6f41d5a50a7244d8f09960876d9539802d8
2023-01-10 19:08:26 +08:00
liz.li
b27a9e27ce ENH: preview slider behavior
1.add pauseprint will not cause preview page refresh
2.fix add custom Gcode window and jump to layer window cannot input after reslice

Change-Id: I4f75457b6d6172080715393c975169c8f16464b9
2023-01-10 19:08:26 +08:00
salt.wei
3d48e2dc55 ENH: sync some change in gcode viewer
Improve the loading speed of gcode preview

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I9cf4b32f10753e1bc1d9b109557b995d5f3fd549
2023-01-10 19:08:26 +08:00
salt.wei
3291a452da ENH: global_endpoints should not include seam
This is fix for jira STUDIO-1501

Global_endpoints should not include seam vertex.
So the initial value should be gcode_ids.size(),
rather than m_move_vertex

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id4162e63640509521cc7c76bc0d860f27e0c316e
2023-01-10 19:08:26 +08:00
salt.wei
534dcf11c1 ENH: remove bed temperature check
This is useless now. Remove.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id9a5e7822b19a74bf35670d5913214467b5a90ac
2023-01-10 19:08:26 +08:00
qing.zhang
d42d6bec87 FIX: fix the out range of array of seam algining
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I655e7a0a5cdac6c05ddd8a6c7f38e1f97a7d0f96
2023-01-10 19:08:26 +08:00
liz.li
bae334a77e FIX: Preview page : change menu window to modal window
1.by right-click on slider, multiple menu-windows can be opened at the same time
solution: change opened window to modal window.
2.close opened menu window after reslice

Change-Id: I4973e1cf4c2ecce83602417be051d249f1aae6a4
(cherry picked from commit 8890f1b3bdf8f1374136ec40e3f44de583c71e7f)
2023-01-10 19:08:26 +08:00
tao wang
d38fd70c2e ENH:change to generic ip address enter dialog
Change-Id: I4d3b4f091e435d600216ef8ec44d04ca7c90a26d
(cherry picked from commit 5796a72a567ee1a2b3dee7508832d9e0d6348820)
2023-01-10 19:08:26 +08:00
chunmao.guo
ea664b6e13 FIX: cannot change filament
Change-Id: Iccc37a3005dd0aaa7e9ff8720390924abf65d4d1
2023-01-10 19:08:26 +08:00
chunmao.guo
ae959b7400 ENH: [STUDIO-1871] merge changes of user presets from other sessions
Change-Id: I2841ff4e23b18ebe7cdf374b69a494a4c05a49ee
2023-01-10 19:08:26 +08:00
tao wang
e71b5a88b7 ENH:Hide the cancel button after sending successfully
Change-Id: I4ebd620b443c22dd7f81113274d68c7f11dd62d6
2023-01-10 19:08:26 +08:00
tao wang
48ceca536b FIX:dynamically update layout when options are changed
Change-Id: I57633604428e42f4a67dfcfd80336ab33767e099
2023-01-10 19:08:26 +08:00
zhimin.zeng
3651d4ec15 FIX:uniform scale can't be deselected when selecting multiple objects
Change-Id: I4e9c18410ffe45d9db9743c5e0f9c90019c372a2
(cherry picked from commit 9c669cacfce6d23a69993f36e6aebb982fb6ee3b)
2023-01-10 19:08:26 +08:00
zhimin.zeng
49673b56e3 FIX: the text position is not correct
Change-Id: Icade50bd8246d051f6c8368f2be89654cb96c9d9
(cherry picked from commit a39d7ffb377c53aa85264e8196e47b176479544a)
2023-01-10 19:08:26 +08:00
chunmao.guo
a4cf284c3d ENH: adjust user preset handling
1. async fetch user presets from server (in thread)
2. always load default user presets
3. load user presets from cache immediately
4. not remove user presets cache
5. hide some loading ui

Change-Id: I1d29ed18e09606d0b2f69a69eea2eb5042c26223
2023-01-10 19:08:26 +08:00