Commit graph

2275 commits

Author SHA1 Message Date
tao wang
3e07db0c2a ENH:update the msg text when the printer does not have an SD card
Change-Id: Id3c79c7415b728b91979a117f3496ecf8c3f8f45
2023-02-22 20:09:17 +08:00
salt.wei
de4e087b5b ENH: small change for warning
Handling for jira-1966

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I4deb68fad55f373be86004f53e4b296da4b5b7db
2023-02-22 20:09:17 +08:00
tao.jin
9b42d0d630 FIX: camerapopup dismiss, control panel rescale
Change-Id: I83fcf72f4aaddcf58f0c626bfe2a369a4091ac65
2023-02-22 20:09:17 +08:00
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
f4bd9dac87 ENH: set amsMapping info when use_ams is false
Change-Id: Idd7c8ca171806fcf5897eb6f257bb68e68ec8070
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
SoftFever
27271a69f6 take flow ratio into account for max volumetric speed test 2023-02-21 19:07:20 +08:00
SoftFever
c8687989e5 fix a bug that new overhang slowdown algo didn't work properly for cloned objects 2023-02-21 01:28:42 +08:00
SoftFever
30bb644e2b bridge accel
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-18 20:48:51 +08:00
SoftFever
361a5dce6f tweak overhang fan
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-18 20:09:57 +08:00
SoftFever
8aad9a844a fix a small bug of bridge density
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-18 12:21:13 +08:00
SoftFever
40e9424bdf fix typo
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-18 11:45:42 +08:00
SoftFever
851f475975 Move precise wall to Precision category
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-17 23:44:48 +08:00
SoftFever
d72a6d218f fix PO/MO
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-17 23:44:48 +08:00
SoftFever
dfd658c00c Cherry pick some fixes from mainstream
FIX: crush when slicer multi-color model

the root cause is a mismatch between the dimensions of flush matrix and the number of extruders

Change-Id: I3a4ca706cb24d9e5d33969b9e6f5b288e71bb8f2
(cherry picked from commit 7399037eaacdfd7d8407667a2e5a097757265254)
FIX: fix crash when switch printer

Change-Id: I7632689c5df07df0222a5fa529993e114d7c5b08
Signed-off-by: Stone Li <stone.li@bambulab.com>
ENH:close the amsmapping dialog when exit seletmachine dialog

Change-Id: Ib49b1f9d08267c56b34d867edb40f287114479e1
ENH:no longer hide the unload button when connected to AMS

Change-Id: I62c7195d590827bd189c6e6886e95c2cf755e203
FIX: fix the slicing result different issue

when move volume in objects copied from other object
the result is not correct

Change-Id: Ieebc586f11c42429902d653e871c038d096783e8
FIX: support blocker not work on vertical+horizontal faces

Jira: STUDIO-2088

Change-Id: I6803e8e90ebcc4c67d81473f60fdf97929011e12
(cherry picked from commit 738800c5af48ab8a2cde40b6f2b3c48a88bfee8b)
FIX:fixed send print will crash when resources path is chinese path

Change-Id: Ie4a5161f853dca691bd69e5695720d99148a0134
2023-02-17 23:44:48 +08:00
SoftFever
e9613e971d
1.4.5 features (#319)
* Changes:
Improve precise wall
Port PS2.6 overhang slowdown feature
Implement overhang fan for new overhang slowdown algo
Add option to switch between classic/new overhang slowdown implementation
Set Arachne as default engine
Small adjustment of temp calibration range
turn off small perimeter by default
Small UI tweaks
Change default top_surface_pattern to monotonic
Fine tune jerk

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

* Disable optimizations for RelWithDebInfo

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

* fix an issue that max volumetirc/vfa calibration can't send to print

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

* fix build errors

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

---------

Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-17 23:09:18 +08:00
Heiko Liebscher
0e0b8d297e
fix_compiler_error no viable overloaded '=' (#314) 2023-02-17 00:03:41 +08:00
SoftFever
7fe5b84c41 more calibrations
precise wall
etc

Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-11 09:55:58 +08:00
SoftFever
b69a9663e1 tweak small perimeter
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-09 19:56:09 +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
SoftFever
a1476784c4
fix z hop bug (#279)
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-03 21:48:43 +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
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
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
SoftFever
fe9a2715e6
New feature: bridge density (#275)
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-02 00:43:36 +08:00
fang64
472da36b7e Add support for AppImage build in containers. 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