Commit Graph

147 Commits

Author SHA1 Message Date
tao wang b424de749c NEW:support pin code binding
Change-Id: Ida5d47881fbd83f3ffedc80369cfe377114d7f13
2024-04-23 20:07:49 +08:00
Arthur eb50f3ee58 FIX: auto arranging gets wrong object height
obj->bounding_box().size() is not the real object size if the object has been rotated.

jira: STUDIO-5999
Change-Id: I6553d4c990696efd674e3e57063802127d5d5282
(cherry picked from commit 479ea9fb02f55d24f27c94633f3d852bd5c62c83)
2024-04-08 19:50:03 +08:00
Kunlong Ma 8c4773d7fc FIX: filling bed fails if the bed is already full
JIRA: STUDIO-6490

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I71b5a01a95cdffef7c0750e6347fa8911dcd781d
2024-03-25 20:30:57 +08:00
Arthur ceaf008dd4 FIX: auto-aranging can't restart with context button if canceled
jira: STUDIO-6027
Change-Id: Ie87caa205f98a40099c615d89a22000a378bef5c
(cherry picked from commit 03e48ec5d9ac4e93c533390247a6a4a6f4ae31e8)
2024-03-25 15:29:19 +08:00
Arthur bba3d979f1 FIX: auto-arranging unprintable items may crash
github: #3676
Change-Id: I68eb87c73ad2c0c269f60e661136fd1a72ee5e2f
(cherry picked from commit 7e3c57eaa811424935fe8db6a4e77dd142ee2b58)
2024-03-25 15:29:19 +08:00
tao wang d871339f0d ENH:STL tracking restricted area
jira:[STUDIO-6155]

Change-Id: I289c8b8aa8f62f0e5cc7004fb60437aa3337ca85
2024-03-25 15:29:19 +08:00
Arthur 2839439cb3 ENH: find grid empty cells for fill bed if the item is too small
jira: STUDIO-6015
Change-Id: I4e5eafdadd77482a27a8903d32bb83325283088d
(cherry picked from commit 8df4da4a863cdc42c790a9d5da37f8633423e406)
2024-03-25 15:29:19 +08:00
Arthur 5145f39f57 FIX: low-level NFP bug with auto-arranging
1. FIX low-level NFP bug with auto-arranging due to correctNfpPosition's
  bug.
    jira: STUDIO-5756, STUDIO-4874
2. FIX large items may not be able to be packed due to a too large inflation
    jira: STUDIO-5566, STUDIO-5716
    github: #3194

Change-Id: Id63fb3a5f5fe7ce3a5675c86a3d1440f46866ca3
(cherry picked from commit 9a789262cee4e14f10b673a4f00126d27bcf071b)
2024-03-25 10:42:29 +08:00
Arthur fde4d41821 ENH: improve auto-arranging
1. add a translation
   jira: STUDIO-5758
2. fix by-object arranging failing issue due to wrong exclusion_gap
  jira: STUDIO-5941

Change-Id: Icbdbdf7d8ba91be7f355d31a5f81a9f79356dc7e
(cherry picked from commit eed212e3550cb2256625a6fd09fc3d69d66659c4)
2024-03-25 10:42:29 +08:00
Kunlong Ma 8cba6a3566 FIX: Copywriting updates
JIRA: NONE

Change-Id: I6df034f95b4e6d517c57286dd6f564510b9fa4ab
2024-03-25 10:42:29 +08:00
Arthur 472640c1f1 NEW: add nozzle_height to machine profile and do not detect conflict
Jira: request from 1.9

1. add nozzle_height to machine profile
2. auto arranging and sequential_print_clearance_valid don't consider objects conflicting if they are all shorter than nozzle_height and close.
3. do not detect conflict when all models are short.

Change-Id: I8d1eebb15d5bfa8c40d7491e033149e360531b89
(cherry picked from commit 6b4b52653db5f08d724a556c5c766c0bfa00f34d)
2024-03-25 10:42:29 +08:00
Stone Li 557d587bfa ENH: add dev_ota_version in ssdp
JIRA: STUDIO-5740

Change-Id: Ic80e6d4b9bf82813fdc4a76604a3d36213d12b03
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-03-25 10:42:29 +08:00
Arthur 6c6934bf81 FIX: crash of "filling bed"
"get_arrange_settings() const" gets trapped in infinite recursive calling.
Now we delete this function.

jira: STUDIO-5688
Change-Id: Ia39974734bb37b2a2f06b5bf78185f01be726872
(cherry picked from commit 631365822319139ae84e8cd8cbad5f10d9a10c4a)
2024-03-25 10:42:29 +08:00
tao wang 594a189108 NEW:limit the length of project name
jira:[project name]

Change-Id: I955620f7073b3b7fda280d1118524f561d047751
2024-03-25 10:42:29 +08:00
Arthur e98caffab1 FIX: auto arranging skip unprintable high items
Jira: STUDIO-5646
Change-Id: I72dc3d8c71a075bab8204f4418e869a7a34c0c8e
(cherry picked from commit 0afdf8361493485da2254c426719594fd9a982ed)
2024-03-25 10:42:29 +08:00
Arthur f6ea300aa0 FIX: global arrange setting is wrong
global arrange setting is wrong if a plate's setting is changed from object list

jira: STUDIO-5438
Change-Id: Iaa7f35837edbacff9b97ca17a8ab34c8e6bb023d
(cherry picked from commit fa2f56575b2e4305e35dd59ff55e0881720de025)
2024-03-25 10:42:29 +08:00
Arthur da1b9bd747 FIX: do not touch the plate with different printing sequence
jira: STUDIO-5424
Change-Id: I8ad00fa991b753de126a5bef0d320c452033e2e7
(cherry picked from commit c4adfe16e285f238f2c5cd8938b2167fdfb6b1b0)
2024-03-25 10:42:29 +08:00
Bastien Nocera d310e4ca34 slic3r: Fix missing includes
Fix a lot of "undeclared" errors during compilation on top of the
current GNOME 45 Flatpak SDK.
2024-01-02 17:42:37 +08:00
zhou.xu 52ccbe0209 ENH:comment out two line code
Jira: STUDIO-5535
Change-Id: I5475e4f9ec6fb7e4abdb3d950da34fadead3b606
2023-12-14 22:08:53 +08:00
Stone Li ce0a4b7ace ENH: do not cancel printing job when timeout
JIRA: STUDIO-5009

Change-Id: I067470173acc26d7ecd8ceb6f0e04ac7f03e3a4d
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 7ab5817c7229c5179adca026ffacb97c2affd292)
2023-12-14 22:08:53 +08:00
maosheng.wei ea4a495046 FIX: some translation
Change-Id: Iaabe6087bed3b7d47d911cf4fb51c770804e72fb
2023-11-30 09:51:52 +08:00
tao wang 54eed41661 NEW:tracking stl model files
jira:[STUDIO-5372]

Change-Id: Idb1275b07441f0cd06c24588d5f7c20f81f1556c
2023-11-30 09:51:52 +08:00
Arthur e083a155b1 FIX: auto arranging issues with locked plates
1. global auto arranging may put items overlap with wipe tower if some plates are locked
jira: STUDIO-5329
2. items outside bed may overlap with plate boundary if it's rotated
jira: STUDIO-5329
3. plate-wise auto arranging uses wrong min_obj_distance if the
plate is by-layer printing but global setting is by-object printing
jira: STUDIO-5330

Change-Id: I5dba2f1317e183c9aeec1cb2bd227fbddf4316e6
(cherry picked from commit db1eac41efff5f1e8d5ac0af74c6fc7ab59fc253)
2023-11-30 09:51:52 +08:00
wenjie.guo 8fc5704783 FIX: icon issue for copying
Jira: STUDIO-4168

Icon issue when filling bed with copies

Change-Id: I61a03ecae02b75602c236ed2810e9c9cfe5a19f9
(cherry picked from commit b5079f8a2e79f19f65803f23ef4fd83aff17c84a)
2023-11-22 08:23:38 +08:00
tao wang 2a628441f3 ENH:add L macro as some err desciption
jira:[for translate]

Change-Id: I61d45fc416d188670a9b812638a3a4764a1873e8
2023-11-09 10:09:10 +08:00
tao wang bd0341703d ENH:show more binding errors
jira:[show more binding errors info]

Change-Id: Id677de2a0caba427f416941a9a095ea744df9ccd
2023-11-09 10:09:10 +08:00
tao wang 29e78705ab ENH:adjustment timeout description
jira:[Adjustment timeout description]

Change-Id: I46ba45d6c55099ff10950dd105193b6cfdf05920
2023-11-09 10:09:10 +08:00
hu.wang 046215dc37 FIX:The progress when jumping to the page should display 100
JIRA:STUDIO-4477
Change-Id: Ide09099d9fd7745539f3fab3ead44305b8d3dbd5
2023-11-09 10:09:10 +08:00
Stone Li 25be15a6dd ENH: modify the timeout to 25
JIRA: STUDIO-4812

Change-Id: I45722a99b09d685c721ae37418fe0d74b2787743
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-11-09 10:09:10 +08:00
tao wang 66eb52c018 ENH:check if waiting for sending to end is supported
Change-Id: I297778c0e0593bd23b0614c043a3e9878ba61947
2023-11-09 10:09:10 +08:00
Arthur 8d74732348 FIX: auto arrange estimates wrong wipe tower
Jira: STUDIO-4678
Change-Id: Iff2273b464db939a2b5e19f8791bd2a4d67ce8c1
(cherry picked from commit fe4b1f79faeade42300622367fb23d7bd1079785)
2023-11-09 10:09:10 +08:00
Arthur 3d5aa9479c ENH: auto-arranging allows more filaments together
Auto-arranging allows more filaments to be printed on the same plate

Only HighTemp and LowTemp filaments are not allowed on the same plate.

Jira: https://jira.bambooolab.com/browse/STUDIO-4682
Change-Id: I1bd4966e6aaa55a6dd9dff05f0bd94f2795a62b0
(cherry picked from commit 965040912af0555ca190702e7c7ac92e177a2922)
2023-11-01 09:33:21 +08:00
Arthur 590444d92f FIX: cli arrange failed in some cases
1. set different bed_shrink for seq_print and layered print
2. fix the bug that seq_print arranging may get collision with exclusion
   area.
3. remove unused functions.

Jira: STUDIO-4663

Change-Id: I8b726704cca33fe37bb3cb7c4502963a9ad8d16b
2023-11-01 09:33:21 +08:00
Stone Li 2ff4173db3 ENH: waiting for printer ack in printing job
JIRA: STUDIO-4175

Change-Id: I94c26497979d7ffecebf378a4c4bc244914491fd
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-11-01 09:33:21 +08:00
Arthur 0533537079 ENH: do not include brim_max in bed shrink
Including brim_max in bed shrink will make available area of bed be
small when an object has tree support, because this object will have
a brim_width as large as 24mm now.

Jira: MAK-2048
Change-Id: I309c0ec14e4acd75dcfc2fff0e7ea3558b43cc4c
2023-11-01 09:33:21 +08:00
Arthur 76d073a9ea ENH: improve auto arranging's wipe tower logic
1. If there is already a wipe tower on current plate, leave it there regardless need_wipe_tower flag.
This is useful when we have toolchange custom gcodes.
2. Correct wipe tower pos to prevent it outside bed.

Jira: STUDIO-4426
Change-Id: Iedecc7c5fe7ced01533d0a302253841046a7fb42
(cherry picked from commit e8d728e46b12baaf9fb0e87e3d14197ae3616826)
2023-11-01 09:33:21 +08:00
hu.wang c8cf950155 FIX:Access code and ip input and interaction logic
JIRA: STUDIO-3970
Change-Id: If7a33d6a70b09dda9f50d774d6cec732af923e71
2023-11-01 09:33:21 +08:00
liz.li 4c68a7634c FIX: export notification encoding display issue
Jira: STUDIO-3807

Change-Id: If5a6651ba1f29ad35d6e11ed76f959b3d0864be6
2023-11-01 09:33:21 +08:00
zhimin.zeng f88983f989 FIX: No progress bar is displayed during manual calibration
Jira: 3789
Change-Id: I4d56839136f4590b6df384f2287e9565e5e61afa
2023-11-01 09:33:21 +08:00
chunmao.guo 142499871e NEW: add best_object_pos for auto-arranging
For i3 printers, best object position may not be the bed center,
we need to align objects to the specified best_object_pos.

Jira: STUDIO-4133

Change-Id: I06e31e597d2dd8288eb24a52d836cc8a134a4111
2023-11-01 09:11:19 +08:00
manch1n 76dda23702 FIX: add wipe tower for arrangement when timelapse_type is smooth
JIRA: STUDIO-4179

Change-Id: I45056a1b3d7316816b4919cd8185f914d6ad16f4
(cherry picked from commit bad658a228b3697ff1cbdbc45e038641cc5e3e24)
2023-11-01 09:11:19 +08:00
manch1n 2a79af5729 NEW: add align_to_y_axis option for auto-arrange
1. Add align_to_y_axis option for auto-arrange.
   This is useful for auto-arranging of i3 type printers.
2. Change default value of align_to_origin to true when switching
   from non-i3 printers to i3 printers.

JIRA: STUDIO-2583

Change-Id: I7dabab846022a0da030a9fec060a60a4207537a0
(cherry picked from commit 9c549c18ecc1f513644e1bc4a60d6936721a13ac)
2023-11-01 09:11:19 +08:00
lane.wei 9755a65289 FIX: CLI: fix the brim related issues
1. move the global functions to Model
2. set brim automation paremeters before process
JIRA: STUDIO-4208

Change-Id: I3f75175ec74d214ca2a6d5f3ade56d08e0ecd4f3
2023-11-01 09:11:19 +08:00
Arthur e88550b206 FIX: unify cli and GUI auto-arrange
Make sure cli uses same params as GUI's auto-arrange.
Previously cli uses wrong skirt_distance.

Jira: BLPIOT-255
Change-Id: Iaccfb76acf7413ec614fff006feb770dcd6783cf
2023-11-01 09:11:19 +08:00
tao wang bc34f9e223 FIX:fixed sending print failure due to long plate name
Change-Id: I89f32f7d7f214d55051e736f834e0e49d7c808ab
2023-11-01 09:11:19 +08:00
Kunlong Ma 83e76b6b58 FIX:Fix display issues
Change-Id: I40ec4ac6feb4bfb00d54047466f0a3df568ed88b
2023-07-31 14:29:15 +08:00
tao wang 9d65199a2b ENH:allow printing of all files in the SD card
Change-Id: I72097ddc1fa1020de2133753f14c0715322ea3cd
2023-07-07 17:52:43 +08:00
Stone Li 28b56c2efb FIX: fix bugs of calibration
Change-Id: I2d0f57105bdda2abc3fc7b218122d4df5a3161da
2023-07-07 17:52:43 +08:00
tao wang bc2357e9a3 ENH:get more errors when binding fails
Change-Id: I8c7aef26b63911589063583f37cb34b349d69002
2023-07-07 17:29:08 +08:00
Arthur 4e5f4ee366 FIX: FillBed crashes when accessing unset print config option
1. When the option is not set, print.full_print_config() is empty, so we
can't access opt_bool("scan_first_layer") or opt_bool("enable_support").
Should use wxGetApp().preset_bundle->full_config() instead.
Jira: STUDIO-3264
2. Allow different object having different brim_width to encode support's brim width.
In this way the arranging logic is simpler and more objects can be arranged in a plate.

Change-Id: Ic7178652147b0519d50b2eb9ceb214b4ef4c0251
(cherry picked from commit 0f163d59b40009cd29b8b1e32f730258ad0786dc)
2023-07-07 17:29:08 +08:00