Commit Graph

112 Commits

Author SHA1 Message Date
83c8c6faf6 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
(cherry picked from commit f27d00f81315fe4675bbc55ef932403e31a9264f)
2023-10-10 14:19:23 +08:00
90bd634102 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-09-22 16:21:26 +08:00
b01b745968 ENH: sync master with auto-arranging and brim
auto-arranging considers wipe tower from smooth timelapse

Change-Id: I5dd72260c777abfd2894776b2588bb3ff4224416
2023-09-22 16:21:26 +08:00
25f446e0a5 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
2023-09-22 16:21:26 +08:00
8a1bba8114 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-09-22 16:21:26 +08:00
76e06c6726 NEW: support wait function in print job
JIRA: STUDIO-4175

Change-Id: I15bdd07dcd2bd153cc94ad411f180c8ab2022ceb
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-09-22 16:21:26 +08:00
b556bee029 FIX: No progress bar is displayed during manual calibration
Jira: 3789
Change-Id: I4d56839136f4590b6df384f2287e9565e5e61afa
(cherry picked from commit ddb0c38fc0ed4b42bc5a132c2b2d907084576d41)
2023-09-22 16:21:26 +08:00
66ec7bb714 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
(cherry picked from commit bcc88bc01ec396e8fb8af1186b47a75cd5116f3c)
2023-09-22 16:21:26 +08:00
658be3bd2b 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-09-22 16:21:26 +08:00
d8e485d691 FIX:fixed sending print failure due to long plate name
Change-Id: I89f32f7d7f214d55051e736f834e0e49d7c808ab
2023-08-04 18:19:21 +08:00
73795505f5 FIX:Fix display issues
Change-Id: I40ec4ac6feb4bfb00d54047466f0a3df568ed88b
2023-07-31 14:29:15 +08:00
174ce11805 ENH:allow printing of all files in the SD card
Change-Id: I72097ddc1fa1020de2133753f14c0715322ea3cd
2023-07-07 17:52:43 +08:00
0ff894d7d5 FIX: fix bugs of calibration
Change-Id: I2d0f57105bdda2abc3fc7b218122d4df5a3161da
2023-07-07 17:52:43 +08:00
00109565ae ENH:get more errors when binding fails
Change-Id: I8c7aef26b63911589063583f37cb34b349d69002
2023-07-07 17:29:08 +08:00
a5f772013a 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
f19a0bf6dd FIX: fill in bed may shift objects outside bed
Do not do final align for filling in bed.

Jira: STUDIO-3265
Change-Id: I2ce2ebed575ba05b1d78ec89923f8e91c4de6648
(cherry picked from commit 581aa4fd0ff1c6f64026d7b934d4bd8a79b803ae)
2023-07-07 17:29:08 +08:00
51ffb4ed72 ENH:filter characters not supported by windows system
Change-Id: I0dcbf9535df7bdc4b19e095aa0c23223efa5087b
2023-07-07 17:29:08 +08:00
a343e23228 ENH:limit the length of taskname
Change-Id: Iddac0f5a88f1090562862a5cd1aa72e321272c71
2023-07-07 17:29:08 +08:00
6bfd20aa94 FIX: correct the obj distance of by-object partplate arrangement
STUDIO-3103

Change-Id: I44dd3e8677713bf5427f266ff3c88870fbb4b2f9
(cherry picked from commit aebcba75ba760d31245f9cf336cba72da3521b1a)
2023-07-07 17:29:08 +08:00
a2807b5466 NEW: add more track records
Change-Id: If82430f8b432f1a1d5a78cd6a63a16cf50d2bbaa
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-07-07 17:29:08 +08:00
2846374306 ENH:delete invalid test code
Change-Id: Idadf2446f270d284bda6bb7ed9cd7e08eeeb34b9
2023-07-07 17:29:08 +08:00
2ce7aa2fdf ENH: calibration bitmaps management and default save name
1. optimize bitmaps initialize
2. has a default name when saving
3. add a DEBUG macro
4. fix some issue STUDIO-3140、STUDIO-3142、STUDIO-3110

Change-Id: I9bbe5db42aa3988b76653f82627ccb1c3c76dfcb
2023-07-07 17:29:08 +08:00
93d1a6ffd3 ENH:optimize printing process
Change-Id: I494cbc53b5ab266dcf20a145c030b1443935ca6d
2023-07-07 17:29:08 +08:00
56c7a1b974 ENH:filtered plates without gocde.3mf files
Change-Id: I91ccbd0c27fceb0e931d5be3a29c464dd6ac609d
2023-07-07 17:29:08 +08:00
0755ae7864 FIX:display file name instead of printer name
Change-Id: Iea8e425476e8c0a35fb8cf0d9a6f3179794bd8b4
2023-07-07 17:29:08 +08:00
e0d59092ca FIX:fixed studio no response after canceling printing
Change-Id: Ic4cb35b896fd49df2cbd6676324dd80ed617db6c
2023-07-07 17:25:51 +08:00
510441f856 ENH:synchronize different codes
Change-Id: I011b39ee85eecbb9da99d1c4fe1f2875267acc32
2023-07-07 17:25:51 +08:00
7cb4239ac2 ENH:display error msg when connecting to the printer fails
Change-Id: I483d6c00bdd623e34bce5b087bfbcb9a5e876fa3
2023-07-07 17:25:51 +08:00
26a37e47f4 ENH:calibration
1.adjust interaction of calibration
    add select my device
    add select multi-amstray
    modify ams selector
2.add some x1c calibration command

Change-Id: I403446cc0cd3ae5e1dec5d2dc97920ff334522da
2023-07-07 17:25:51 +08:00
2d01c700e5 NEW: add calibration
Change-Id: I03e5489a67042e7f76f5a42260a289d540b5a63a
(cherry picked from commit cbac2c639db830eb779b1979c8d6b4eb3decb7e6)
2023-07-07 17:25:51 +08:00
4cdf4a9490 ENH: arrange partplate objects intersect with plate are also arranged
Jira: STUDIO-2961

Change-Id: I744e99f8bdd95289efa37d1e022b109518befa51
(cherry picked from commit 15bc33d58de118deea93c568ef4e5ffb0370be75)
2023-07-07 17:25:51 +08:00
ffac37bc94 FIX: make fill in bed arrange parameters same as normal arrange
Change-Id: Iec9d4e9c145ea75fc06d096e9c6905b3e412940c
2023-07-07 17:25:51 +08:00
449c924f96 FIX:fixed task name too long causing HTTP request failure
Change-Id: I912b1a9c64038c6f236d76bec670a7369d47579a
2023-07-07 17:25:51 +08:00
d746e914ab NEW:support for sending print job from SD card view
Change-Id: I8366345ae4323c1b568bfd267d036e2474ff969a
2023-07-07 17:25:51 +08:00
de5218aa43 NEW:confirm privacy agreement before binding printer
Change-Id: Iee6776bf533577dd9fd388c3ea2efad27692cf82
2023-07-07 17:25:51 +08:00
807efa4d5f NEW:optimizing error info for network requests
Change-Id: I8656c2f899b086b5ab52d94b7186e64df1625e3e
2023-07-07 17:25:51 +08:00
eff1e868a5 ENH:update the profile name of the private model
Change-Id: I7a64b273817f8340824e9510ac67e8c8fe96bde2
2023-07-07 17:25:51 +08:00
c7f8945ce5 ENH: add fill in bed arrangement
Also add an option to add_object_to_list to speedup.

Change-Id: I9860a950fb98b144d831ded11d5911d3aba77ba5
(cherry picked from commit aa9dd9a02ef4ac4cd6987b02b0c9be6d9ce9097f)
2023-07-07 17:25:51 +08:00
d4561b2293 NEW:support the display of profile info in the mall model
Change-Id: Idab6bb5a4ef50df665ab7c8e5891efc5a8253eba
2023-07-07 17:25:51 +08:00
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
5aa3f4cff1 FIX:fixed the invisibility of the cancel button when sending fails
Change-Id: I32e9cf0c5846565a3bc9155c57289be9df148bde
2023-04-17 15:39:02 +08:00
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
e181f1d365 FIX: avoid wipe tower conflict with objects
Change-Id: I09f6937a4bb698e4981c094c5694b3ce50efd2b4
(cherry picked from commit 2fc3f05732b8e5c7132b6c8a5f4403d30c516bff)
2023-04-17 15:39:02 +08:00
10bfddd4fe FIX: avoid wipe tower conflict with objects
Use a more accurate way to estimate wipe tower:
1. read wipe configure from front-end (the positions may be different at
different plates).
2. when depth is unavailable, use all materials to estimate depth (the
estimated wipe tower may be larger than the actual generated one).

Change-Id: I42ffd03d9817b57f5023a6820cda0032509c6fe5
(cherry picked from commit 77ba9757023afb9160c996eeea6ead8a27b50ce4)
2023-04-17 15:39:02 +08:00
98984b50f2 ENH:update information for send print timeout
Change-Id: I36ecfef98b285ff870e7a1ea382adc4e901eb52e
2023-04-17 15:39:02 +08:00
f9c2517bc8 ENH: refine tips when sending print job
Change-Id: I2ff35053cf507329880caae3dbfe700d6e45ca2e
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-04-17 15:39:02 +08:00
e060ffcaec NEW: set bed type when printing
Change-Id: I94b32e6264ecae4a8a6ca20eed0d08d13c6e391d
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-04-17 15:39:02 +08:00
aa09a936a0 NEW:add network test entry when has network error
Change-Id: Ie315191e26148e520d3e8e3e4323fd619efb982a
2023-04-17 15:39:02 +08:00
8551f8a628 ENH: improve the send all logic
if has one plate with valid gcode, let the send_all success
https://jira.bambooolab.com/browse/STUDIO-2355

Change-Id: I9f022604e354560fea67d2914294391194e5234f
2023-04-17 15:39:02 +08:00
3794c7d60d ENH: add sec_link field to start_bind
Change-Id: Ia48592f096b14ea0fe4de20126287c6f885d73a5
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-04-17 15:39:02 +08:00