Commit Graph

2187 Commits

Author SHA1 Message Date
Cal Heldenbrand
1bca62d912 Fix for MIT-SHM BadAccess X socket permissions
In some X installations using the MIT shared memory
extension for rendering window elements, Bambu
Studio needs direct access to a UNIX socket
for fast rendering.

This fix passes `--ipc host` with docker run
to allow the container to just have direct access
to the host's IPC system.

The error message that this solves is:

```
(bambu-studio:1): Gdk-ERROR **: 00:02:37.498: The program 'bambu-studio' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 316 error_code 10 request_code 130 (MIT-SHM) minor_code 1)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
```

Here are some extra links for more information:

https://github.com/osrf/docker_images/issues/21
http://wiki.ros.org/docker/Tutorials/GUI
https://en.wikipedia.org/wiki/MIT-SHM
2023-04-24 09:12:34 +08:00
maosheng.wei
db15e4c006 FIX: [STUDIO-2687] Translation issues with network plugins
Change-Id: I4c65f659efe44ab04fcf4a2874676761e2f713fb
2023-04-24 09:11:01 +08:00
maosheng.wei
15e20b3230 FIX: [STUDIO-2698] Load failed content translation
Jira: STUDIO-2698

Change-Id: Ic59868492eff4f91b765cb0907a94a880dba9c0f
2023-04-24 09:11:01 +08:00
lane.wei
5e3788dadc ENH: linux: use ubuntu_latest to compile image for ubuntu
Change-Id: Idb14b776c9215752d37f16167c15b96588b91f22
2023-04-24 09:11:01 +08:00
Arthur
a80023dd7d NEW: add icon of rectilinear_interlaced pattern
Change-Id: I2b91167a7efbdd239e0d46fb9643529144c04107
2023-04-24 09:11:01 +08:00
gerrit
0c8c84247b ci: update build version to 01.06.00.66
Change-Id: If03ab70b463e8a16bd76992e5608a940281a4c9b
2023-04-24 09:11:01 +08:00
gerrit
23eef56cd5 ci: update build version to 01.06.00.65
Change-Id: Ic02997afaf94adb5294e3e041df79ccab3a16a1b
2023-04-17 15:39:02 +08:00
zhimin.zeng
2c3b8d7e95 FIX: modify the cut picture
Change-Id: I58588d03c4e265d6f7b42ae3339769e1c918b2f8
2023-04-17 15:39:02 +08:00
lane.wei
39476d6875 ENH: thumbnail: regenerate thumbnail for old 3mfs in cli
Change-Id: Ia420b4c6aee072eb2a542dff574260c40de47f7d
2023-04-17 15:39:02 +08:00
gerrit
e773e03f35 ci: update build version to 01.06.00.64
Change-Id: I5d13d3bb5e75745159db7e406c02e3b84c433bba
2023-04-17 15:39:02 +08:00
qing.zhang
ec20f28caa FIX: conflict of setting-id
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I8eb290e4c1f86635b8d1cbafa80a221ab8ea967c
2023-04-17 15:39:02 +08:00
Arthur
5c61f93300 ENH: add cn translation for conflict check
Change-Id: Id2c034567dbbf8878a601af1af16f1c8d24d1033
2023-04-17 15:39:02 +08:00
manch1n
ac7e9b3ee4 ENH: show the layer and height of conflict position
Change-Id: If80e81b5556f5afc3228a00edc2593bd8cfe63e4
(cherry picked from commit 895e0f2ecf8e259cfdb7c27081b767bfbaa3ffb6)
2023-04-17 15:39:02 +08:00
lane.wei
41f33238bd ENH: CLI: add the gcode path check logic for cli
Change-Id: I424a93d9ca945598da861a1905da07ae14663157
2023-04-17 15:39:02 +08:00
Arthur
265f1e7501 FIX: auto-arranging result may fail clearance check
We add 0.001mm tolerance.

Change-Id: I630cc680db0a3a65a6a44e177de686fbac1e1f15
(cherry picked from commit 170f9c2a89d03060f9a9aa43952c0759ffbe7c1f)
2023-04-17 15:39:02 +08:00
gerrit
120443f200 ci: update build version to 01.06.00.63
Change-Id: Ic7f9b55de7683565e44fcc7e5969d09b0947e14b
2023-04-17 15:39:02 +08:00
tao wang
447f571369 NEW:add chinese translation for confirmation before sending
Change-Id: I4f2c07e7dfdbdf64b419cc1e119c1d622642ddad
2023-04-17 15:39:02 +08:00
qing.zhang
e6585f4ca7 ENH: update the temp of high plate of PLA Silk
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I1154af98d966aa7a0f384538944d569c190ffd41
2023-04-17 15:39:02 +08:00
tao wang
41a5ebbdb4 FIX:fixed sending print to LAN printer will crash
Change-Id: I067724e8ebef3425a84f6a230685c48fe48ed055
2023-04-17 15:39:02 +08:00
gerrit
e916724c9d ci: update build version to 01.06.00.62
Change-Id: I07c035585188c7a244c7f6c703bfce4b70483785
2023-04-17 15:39:02 +08:00
tao wang
d07dab2a57 FIX:fixed gradient filament color display on MacOS
Change-Id: I57f3243f5013b8d26ace3fae2cc41e807494af6b
2023-04-17 15:39:02 +08:00
gerrit
69435f6df8 ci: update build version to 01.06.00.61
Change-Id: I6fcbbf51e3550b0f9b163d3fbe061aaa0f51fdab
2023-04-17 15:39:02 +08:00
tao wang
92f36d5599 FIX:fixed some icons cant display when change dark mode
Change-Id: I0984aab97e1a1c151e9173d96c8f012935c48fcb
2023-04-17 15:39:02 +08:00
Arthur
43df430803 ENH: improve smoothness of tree supports
1. Instead of smoothing top-down, now we smooth tree branches bottom-up, and do not stop at merged nodes.
2. Fix a bug where some nodes don't have child. This is critical for bottom-up smoothing.

Change-Id: Iac0fecd81dac541ca390bcf5cbdfe7fd66cfd3a2
(cherry picked from commit 536a8a4f0ef76fa0358f4b4b181c4c7e7fff8bc7)
2023-04-17 15:39:02 +08:00
gerrit
66351fc32b ci: update build version to 01.06.00.60
Change-Id: Iea950e408c28ece068fbb93bd02f141be16026c6
2023-04-17 15:39:02 +08:00
chunmao.guo
88d1103a6e FIX: only send error log for user triggered live view
Change-Id: Ie2ff3b95d17bb060e203a51dce30c662e63320b6
2023-04-17 15:39:02 +08:00
tao wang
97b8fdd131 ENH:start checking printer connection status after clicking Send
Change-Id: Ibdd8a12b66b649b54b400433f4b3754fc1da478d
2023-04-17 15:39:02 +08:00
maosheng.wei
685292a37b FIX: Cancel sequence number
Jira: STUDIO-2688
Change-Id: I29d992354713dcc8caaa8fc2ab98506f1b4e0735
(cherry picked from commit f7a69618813648b0c611c9dfbff3a0ad1d7a18d6)
2023-04-17 15:39:02 +08:00
tao wang
fb7f9716b8 FIX:update the confirm content before sending for print
Change-Id: I9f6d8060c0c142ee966042a49a4158cb5697c5af
2023-04-17 15:39:02 +08:00
Stone Li
e06f0e3a55 FIX: compible with old firmware
Change-Id: I66803f95c73ffb82f539c2bfb509266ba9fdb846
2023-04-17 15:39:02 +08:00
tao wang
47970f1a8d FIX:fixed incorrect english words
Change-Id: Ic1b581d9fbba8cd8be09a9c068a160c1bec6369a
2023-04-17 15:39:02 +08:00
qing.zhang
de34bf9a30 ENH: add filament_is_support to all files
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I439ef9a2902563874d748be9aa9fe067e99588e6
2023-04-17 15:39:02 +08:00
qing.zhang
16ac0f982c ENH: Cool Plate -> Cool Plate/PLA Plate
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Iaee7fb0df3a515b3fa726e16d7363e7c56ded7c2
2023-04-17 15:39:02 +08:00
manch1n
92a32127b6 ENH: add wipe tower into conflict check
Change-Id: I9684ec17ccbfdea39deae6e5089b74ce3124d57b
(cherry picked from commit f6ee82b4ecf8bf9de91d0043b514cdabb7284b7e)
2023-04-17 15:39:02 +08:00
qing.zhang
9baa3bb05c FIX: crash while using MontionLine pattern
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I75232db2902a3d255336fecae7e5e628dc5ac3ba
2023-04-17 15:39:02 +08:00
Arthur
36083a230d ENH: make tree support much smoother
We increase the smooth iterations from 1 to 50.

Change-Id: Iba883fd67d7a9a71c92b364dcc9b76e00fc45820
(cherry picked from commit 945fba20a5629148bfd8cee47f492d42c50f9824)
2023-04-17 15:39:02 +08:00
Arthur
c8d4147244 FIX: bring back Tree Strong style
Tree Strong is too similar to Tree Slim and people don't like it.

Jira: STUDIO-2660
Github: #1579
Change-Id: I52d7e8e674f0fc332e4ab2813261ffbc4b4cfb7a
(cherry picked from commit 9eb209b4c1737d2f10b9b8bd78c9f876f3d32bce)
2023-04-17 15:39:02 +08:00
gerrit
17764cb08d ci: update build version to 01.06.00.59
Change-Id: Icc76f0be665274630da56bdf756dc3d98196f99e
2023-04-17 15:39:02 +08:00
tao wang
600e3cbd4d FIX:fixed object cannot be selected printable on object table
Change-Id: If42027d8f51242d6f719aa371856d438fbcc7233
2023-04-17 15:39:02 +08:00
tao wang
5aa3f4cff1 FIX:fixed the invisibility of the cancel button when sending fails
Change-Id: I32e9cf0c5846565a3bc9155c57289be9df148bde
2023-04-17 15:39:02 +08:00
manch1n
e7f618430d FIX: correct the translation of conflict check
Change-Id: Idbc9114926a8ad7baad38bf8e2709f2a5442b5b4
(cherry picked from commit 9688a514d37fd3ff7152378463d10683acd58cb9)
2023-04-17 15:39:02 +08:00
tao wang
fc90faf712 ENH:optimize the display effect of white filaments
Change-Id: I690b521d641a91b7f50534ab86b5199f3dd84526
2023-04-17 15:39:02 +08:00
manch1n
6e7ca9b22b FIX: avoid arrange to nonprefered region
Previously we assume the NFP of exclude regions are rectangle, which was
not always right. Now we calculate the NFP and find a best new position
to shift.

Change-Id: I02c075603cf71dd3c9146d7ac7a6706c0f850669
(cherry picked from commit 713ebd666c90d5dcfaf89914c37d211e9a470e99)
2023-04-17 15:39:02 +08:00
gerrit
aadf8f32a9 ci: update build version to 01.06.00.58
Change-Id: Ifb88521f67f1442eb9aaccd766fa5091a134b5d4
2023-04-17 15:39:02 +08:00
liz.li
eae51d7d3c FIX: lack of german translation
Change-Id: I45f8711d56180bd226f14552d1e1363722b2c345
2023-04-17 15:39:02 +08:00
chunmao.guo
3d00153d74 FIX: unload default user presets
Change-Id: I55e289708603f06263a64d4cfbfd1db596fdc864
2023-04-17 15:39:02 +08:00
Arthur
571025c1f2 FIX: do not allow support thresh angle to be 90 degrees
tan(90\degrees) is too large and will make detect_overhangs very slow.

Jira: STUDIO-2620
Change-Id: I55901a6bc1b56216549f66e1a7e77c0da680997b
(cherry picked from commit e58cc8a4665808580e84107f54661447000d64f3)
2023-04-17 15:39:02 +08:00
Stone Li
703d484518 ENH: compatible with filament unload of new firmware
Change-Id: I0b01a549929e716f0ac05176ba5dc05c360c081b
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-04-17 15:39:02 +08:00
gerrit
b0e5c6a5d8 ci: update build version to 01.06.00.57
Change-Id: I4dae551184bbb2b296723dbf5b58dee25c69610f
2023-04-17 15:39:02 +08:00
Stone Li
8ebc82b53a ENH: modify Support W/G display name
Change-Id: I8fbdea4411073a74df804cbcc466027b1c3e941f
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-04-17 15:39:02 +08:00