Commit graph

1688 commits

Author SHA1 Message Date
tao wang
1fc0a752db ENH:add the function of using FTP only
Change-Id: If2dc3d1c9d913d1aacd426640a01a714d45a6774
2023-02-22 20:09:17 +08:00
Arthur
59f7c4595c FIX: arranging multi-color objects not correct
Arranging multi-color objects with disabled
multi_materials_on_same_plate option was not currect.

Previously we only consider the first extruder id for multi-color
objects. Now we consider all extruders.

Jira: STUDIO-2164
Change-Id: If64ff4f88f0fe4f6c31ebf657b3449b19bf063f0
(cherry picked from commit f4f6bdd00a0c3d3e13406b69be9b5b0468b27d44)
2023-02-22 20:09:17 +08:00
Stone Li
126ef98690 ENH: modify config for P1P
Change-Id: Ib05a2d627ac921ad3e017817e48fbac527b4acf4
2023-02-22 20:09:17 +08:00
Stone Li
f4bd9dac87 ENH: set amsMapping info when use_ams is false
Change-Id: Idd7c8ca171806fcf5897eb6f257bb68e68ec8070
2023-02-22 20:09:17 +08:00
lane.wei
c26c9b8602 ENH: update version to 1.5
Change-Id: I114766e4f0304a97cb18e2762be18dae68e667db
2023-02-22 20:09:17 +08:00
Stone Li
c475527808 NEW: replace gcode of ams load and unload
Change-Id: I89a1f3e6787c4639c2757e31676dbd15b17331ea
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
Stone Li
d31250cb40 FIX: fix crash when switch printer
Change-Id: I7632689c5df07df0222a5fa529993e114d7c5b08
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-08 10:57:24 +08:00
chunmao.guo
7a266ca36a FIX: use shmget according to bambu_source
Change-Id: Ic791498d4ef1bb012953783222b21e8a0394e3b8
(cherry picked from commit 2893425cdfb688e1b96a38186abef1450f530685)
2023-02-08 10:57:24 +08:00
tao.jin
fb53afe969 FIX: task thumbnail state update
Change-Id: Ia9cfcf0c05dafbe377f52f63b23cf929ef95874c
2023-02-08 10:57:24 +08:00
lane.wei
ad9eccc5f4 ENH: gstreamer: use gst_clock_get_time insteadof gst_element_get_current_time
gst_element_get_current_time is only available since gst 1.18
2023-02-02 16:53:45 +08:00
Arthur
63222d50de FIX: unsupported cantilever was not warned
1. fix unsupported cantilever was not warned. We need to set support
  type to stTreeAuto in is_support_necessary() to fully utilize the
  power of feature detection.
2. fix tree support not generated on non-first plate.

Change-Id: I5b8aa827c9d62df0119db4e8e9212f33ce75ddaa
(cherry picked from commit 60f21b6fcb45fe56f7fc867a7fcad433282bc055)
2023-02-02 16:53:45 +08:00
lane.wei
05595daf4c ENH: linux: refine the build action for linux
only triggered by pull_request

Change-Id: I3382007f3cd21d8a1bd427bd75dd51a008cd7e5a
2023-02-02 16:53:45 +08:00
lane.wei
f8258e94b7 ENH: refine .gitignore
Change-Id: I2bf43bf36b588c6edb8bf0cbeec8e62356b527b9
2023-02-02 12:14:41 +08:00
chunmao.guo
86329cf722 FIX: [STUDIO-2112] fix process bar layout overflow in German language
Change-Id: I301653a92927e6933adc6316709681e8b05f32fe
2023-02-02 12:14:41 +08:00
chunmao.guo
dbdef05f2e FIX: [STUDIO-1908] device ftps to implicit_ssl
Change-Id: Iaa347ea17d76b7bafc0ea213217bfbc2b6c916cd
(cherry picked from commit 702d1c1e6605834746b38dedc725fe67ad4edfa6)
(cherry picked from commit 2019750d9c03a97b9b3f746d90e4f1122d81b12c)
2023-02-02 12:14:41 +08:00
chunmao.guo
ee0f3c7a2f FIX: [STUDIO-2099] fix start new instance with renamed app
Change-Id: Ic4ee24c3980f02d436ebf32c2b5c63cb34f3803e
(cherry picked from commit e4c2ff2a442253832b44bcd5e9e0ac40980cfcee)
2023-02-02 12:14:41 +08:00
chunmao.guo
7fe0ee091f FIX: [STUDIO-1908] add printer cert and version compatible
Change-Id: I6aef8c1169952a0b541516ab3a0d7de2d3e213b3
(cherry picked from commit b0bbb571c7c54e81cd52262d334eb1463c3550e7)
2023-02-02 12:14:41 +08:00
Stone Li
3e8671bcdf FIX: fix lan_file mode for P1P
Change-Id: I71ffdb28363fe45b2d5bab01d34846c2462921a6
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-02 12:14:41 +08:00
chunmao.guo
21a6281998 FIX: [STUDIO-1997] SpinInput messureSize
Change-Id: I5923248b4980cb7638ce683d4e32e9c271b102cd
2023-02-02 12:14:41 +08:00
chunmao.guo
00221d8652 FIX: [STUDIO-2004] text in ConfigsOverwriteConfirmDialog
Change-Id: I98f2159ccf467782edb25d5cdfecd468e4346fe7
2023-02-02 12:14:41 +08:00
tao wang
0ecf7c8265 ENH:no longer hide the unload button when connected to AMS
Change-Id: I62c7195d590827bd189c6e6886e95c2cf755e203
2023-02-02 12:14:41 +08:00
tao wang
150ed6a2d5 ENH:close the amsmapping dialog when exit seletmachine dialog
Change-Id: Ib49b1f9d08267c56b34d867edb40f287114479e1
2023-02-02 12:14:41 +08:00
tao wang
39f32c22f5 FIX:fixed the top button hidden after the main window has resize
Change-Id: Id757f8d2816c6d1b07da2c67d8407ec49d76cc24
2023-02-02 12:14:41 +08:00
zhimin.zeng
8887bc3af9 FIX: Incorrect results for multi-color object slicing
Change-Id: Ia2f96d3afb128faa72b6872bcbe2914ddcbe71fe
2023-02-02 12:14:41 +08:00
zhimin.zeng
824fea276e FIX: modify the minimum value of height range(painting).
Change-Id: I8f335b54a793aa9fc8c0f31b45322a1a90ed55f4
(cherry picked from commit c33e0971d2a24ab49dd04c3c571a8a852555e0ad)
2023-02-02 12:14:41 +08:00
zhimin.zeng
217234c8d3 FIX: Support Filament is being "Flush into objects' infill"
When using "Flush into objects' infill" with support filament, it also get's flushed into the object's infill which shouldn't be happening.

Change-Id: I0f1cb3d5ee3cf5489ccab957989c6c24336f8845
(cherry picked from commit f83e63feb3ad5a14b0f4304e2e6fb1c5828270ec)
2023-02-02 12:14:41 +08:00
zhimin.zeng
c225481a5d FIX: modify filament change travel path(toolchange_count == 2)
Change-Id: Ieca0aeb236582015e5e4e53629ef66567f420e7a
(cherry picked from commit 7d5c45ec46dace26c3e5ae35e8d11e7a7d54fcc2)
2023-02-02 12:14:41 +08:00
liz.li
6279158aba FIX: slice plate crash at gcode_result
1.fix an occasional crash when slice a new plate after sliced.
2.layer height/line width/flow/fanspeed/temperature shall not display at travel/retract/wipe move, this five only display at extrude move.

Change-Id: I4d9f9d329b5ea656c42cb421ba54123ef7f2d6c5
2023-02-02 12:14:41 +08:00
Stone Li
b30ed7bd9f ENH: display unicode for Japanese
Change-Id: Icf3f926901bd0fe2cc2a5c160eb1aaef3ed29977
2023-02-02 12:14:41 +08:00
zhimin.zeng
c0ee8d4f0f FIX: remove duplicate flush_volumes
Change-Id: I86e3cc1ccd997e5c61915052e70c426bead289b1
(cherry picked from commit 1a615790fe0ac39d9ce0776079c34cf7f2c6217b)
2023-02-02 12:14:41 +08:00
lane.wei
1fe0d7be8c ENH: refine some small logic
1. continue post_init when gl window not ready under linux
2. use deleted_wipe_towers in reload_scene to judge whether it is deleted

Change-Id: I5be2ac876842e5432d254d47e4fe31f066455106
(cherry picked from commit 5e61a21d5662ccc656136b6a219c2358364c36d9)
2023-02-02 12:14:41 +08:00
fang64
fe5629f0ed Add GitHub Action Workflow to Build AppImage 2023-02-01 21:12:20 +08:00
fang64
472da36b7e Add support for AppImage build in containers. 2023-02-01 21:12:20 +08:00
fang64
1693086504 Add -r flag to BuildLinux.sh to skip ram check 2023-02-01 21:12:20 +08:00
Joshua Wise
aa2d692910 Linux: ensure that a GLCanvas3D can become active before attempting to start OpenGL (fixes #1149)
On Linux, GLEW requires (at least, in EGL land) that an OpenGL context be
active before glew_Init is called -- otherwise, GLEW doesn't know what
extension symbols to look up.  If glew_Init fails, then some symbols
elsewhere will not exist, and the app will shortly crash.  We work around
this by detecting if we're actually ready for postinit, and if not,
resetting the flag so that wxEVT_IDLE will cause us to try again later, when
the window hopefully has gone into the foreground and is ready to be used.
2023-02-01 16:24:44 +08:00
Joshua Wise
a082ce50ed slic3r: address sanitizer cleanup around wipe tower deletion
When determining whether or not we need to update the object list, we check
all of the objects that are being deleted to see if they're a wipe tower.
Unfortunately, by the time we check, the objects have already been deleted,
and the memory has been freed!  Avoid this by writing down for deleted
objects whether they are wipe towers, and if they were, we can indeed skip
updating the object list.
2023-02-01 16:24:44 +08:00
Joshua Wise
0078c2a22e slic3r: address sanitizer cleanup in GLVolume
Now that GLVolume has a subclass, GLWipeTowerVolume, it needs a virtual
destructor, too.  See:

  https://stackoverflow.com/questions/41552966/getting-new-delete-type-mismatch-from-asan
2023-02-01 16:24:44 +08:00
Joshua Wise
040af5fa98 slic3r: address sanitizer cleanup in TreeSupport::generate_contact_points
In generate_contact_points, the rotated_dims don't actually generate a
Point, but generate an abstract expression that holds a reference to
bounding_box_size.  Unfortunately, this goes wrong because bounding_box_size
ages out instantly; GCC's Address Sanitizer complains that this is a
"stack-use-after-scope" issue.

Interestingly, the Eigen documentation says that this is a known problem
with using C++11 "auto" to generate matrices (which a Point is)!  It is
buried here: https://eigen.tuxfamily.org/dox/TopicPitfalls.html

This is probably an extremely theoretical correctness improvement, and also
an extremely theoretical performance improvement.  But it is an improvement
nonetheless, and, more importantly, it enables me to continue to run the
slicer with Address Sanitizer turned on to find other potential issues.
2023-02-01 16:24:44 +08:00
Joshua Wise
ab64ae8c63 slic3r: address sanitizer cleanup in ImGuiWrapper::load_svg
ImGuiWrapper::load_svg previously could load an image that was not of the
aspect ratio specified by the target_width and target_height, and as a
result, could create an output vector that was smaller (or differently
shaped!) than the target_width and target_height.  GCC's Address Sanitizer
flagged this because init_font was reading over the end of the allocated
buffer, but this also meant that images with incorrect aspect ratios might
get rendered to the font canvas incorrectly.

To solve this, we pass the generated width and height out from load_svg, and
use it when copying images later.
2023-02-01 16:24:44 +08:00
lane.wei
64173b3fa3 FIX: fix the duplicate model issue after open recent project in some corner cases
github issue-1185

Change-Id: I3be5be473cfe7328c4781b1533093cd860e64387
2023-02-01 16:24:44 +08:00
lane.wei
7102a1e235 FIX: fix the slicing result different issue
when move volume in objects copied from other object
the result is not correct

Change-Id: Ieebc586f11c42429902d653e871c038d096783e8
2023-02-01 16:24:44 +08:00
lane.wei
a759df62c4 FIX: fix the model outside issue after repair
a negative-z found and needs to notify plate after ensure_on_bed

Change-Id: Ifc0eb277a16437333036aeef19020471e3ea91db
2023-02-01 16:24:44 +08:00
MusangKing
92f594ea4a FIX: support blocker not work on vertical+horizontal faces
Jira: STUDIO-2088

Change-Id: I6803e8e90ebcc4c67d81473f60fdf97929011e12
(cherry picked from commit 738800c5af48ab8a2cde40b6f2b3c48a88bfee8b)
2023-02-01 16:24:44 +08:00
Arthur Tang
c07dcffe16 ENH: use print volume to clip tree support
So tree supports won't go outside the bed.

Known issue:
1. moving won't trigger support re-calculating, so if you want to
  clip the supports in a different way after moving, you need to change
  the support settings (eg change threshold angle to 31 degrees).
2. clipping with the occlusion region is not complete, and an error
  message of "outside toolpath" will still be popped because we use
  convex hull to detection confliction.

Jira: STUDIO-2036

Change-Id: I643b14618eb18ffa9825072c44f677e51b0ff937
(cherry picked from commit a6217824dc0f490027e16f80f810d176dec6004b)
2023-02-01 16:24:44 +08:00
tao wang
b144aae5bd ENH:optimize the foreground color of release note text
Change-Id: I48f6b1257fed3b1bba085eee2700060dba7c0705
2023-02-01 16:24:44 +08:00
tao wang
563342c450 ENH:output new error: no space left on printer sd card
Change-Id: If4ced6dcb1d6e2ccb5b1ad950744b9958d298fc7
2023-02-01 16:24:44 +08:00
lane.wei
6b15afc7b6 ENH: refine the timestamp when using P1P
the timestamp of mjpeg is not accurate
we simulate one

Change-Id: I9198f1ba930994cc4f86e8d3a3c778539d04ccb3
2023-02-01 16:24:44 +08:00
qing.zhang
3d378563b5 ENH: modify start gcode
fix the text errot of density of PolyTerra
z_hop_type change to auto

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I7f59d2620b42d2f2092ebb4c01ac3a5455c40a4f
2023-02-01 16:24:44 +08:00
tao wang
625978355a FIX:fixed send print will crash when resources path is chinese path
Change-Id: Ie4a5161f853dca691bd69e5695720d99148a0134
2023-02-01 16:24:44 +08:00
chunmao.guo
5666f8fce9 ENH: [STUDIO-2070] MediaCtrl on macOS: stop on player notify
Change-Id: I9b11a99e8b3f043ff4d8837cda89bc41bfb5eb0e
2023-02-01 16:24:44 +08:00