Commit Graph

941 Commits

Author SHA1 Message Date
maosheng.wei 20f2210e36 FIX: [STUDIO 4483 4489 4493 4494] create filament issue
Jira: 4483 4489 4494

fix: 4483 Window flashing
fix: 4489 dark ui combobox is blur
fix: 4493 add scrolled window
fix: 4494 encoding issue
fix: sync user preset remove the base id

Change-Id: Ida509e7e73d12613611933b1855feee9c1886478
2023-11-01 09:33:21 +08:00
lane.wei ec8d681981 ENH: 3mf: improve some logic
1. skip file including /../
2. use snprintf instead of sprintf

JIRA: jira-xxxx
Change-Id: I6695dc11f9f4af4318038e6db5c219fd14e73aef
2023-11-01 09:33:21 +08:00
qing.zhang d98a3053ab FIX: fix crash while outer wall width is 0
Jira: 4437

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I5e4a15d3e8b428612cc7988789719697f23dde2e
2023-11-01 09:33:21 +08:00
wintergua 6b30b0fe5f ENH: Disable thermal analysis in auto Brim
since the accuracy issue

JIRA-ID: https://jira.bambooolab.com/browse/STUDIO-4534
Change-Id: I68f730abf90e0bf61ac25d4fa66c2c3ac8bacb29
(cherry picked from commit 9751e2504cd5c5748c02d42624318e4723ac9b57)
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
zhimin.zeng 321a505a33 FIX: the wipe tower is not generated with a multi-color 3mf
open a multi-color 3mf after another one, the wipe tower is not generated
Jira: 4528

Change-Id: I3b9b67e6a19f6d1b620b5aeca25e32710193574c
2023-11-01 09:33:21 +08:00
Oleksandra Yushchenko 56ab965af1 NEW:add CutUtils class and its_make_groove_plane for cut tool
Jira:STUDIO-4227
most of code from PrusaSlcer,thanks for PrusaSlcer and YuSanka

commit 1b451cdf9f8859aff58df54fa89d689aa47518d7
Author: YuSanka <yusanka@gmail.com>
Date:   Wed Aug 9 13:22:11 2023 +0200
    CutGizmo: Big code refactoring.
    All manipulations related to cut are extracted to CutUtils now
...

Change-Id: I4e93e19b8e0d46ec2395247796c59587574851cb
2023-11-01 09:33:21 +08:00
wintergua 3afdf05e3e FIX: the brim generated from inner island should be limited
Inner island is the one which inside a hole of the object. the brim area of such island should be limited by the hole

JIRA-ID: https://jira.bambooolab.com/browse/STUDIO-4521

Change-Id: Iae70dbefc87b0cb7dcb19578f29aad16e9bd630d
(cherry picked from commit 2bf63f0ece88a230a37f83d156a44bdc76a0d094)
2023-11-01 09:33:21 +08:00
Arthur 14a3b244a0 FIX: cmd line auto arrage for sequential printing not working
min_obj_disance was not set for sequential printing of cmd line.

Jira: None

Change-Id: Idce14aedf8448a0917533efb93f7c78fff34587d
2023-11-01 09:33:21 +08:00
maosheng.wei 998f53a585 ENH: [STUDIO-4047] Export presets dialog
Jira: 4047

Change-Id: I91c5b684784c6c3e31fa0ac53698976732f843cf
2023-11-01 09:33:21 +08:00
zhimin.zeng 3013d89b6b FIX: Adjust error information storage method
Jira: XXXX
Change-Id: If6564f6425678faa2df9b08d9c7642afb7ffbe50
(cherry picked from commit 9df5c5afdbdcb22b6af41f4b953e56ca8e736989)
2023-11-01 09:33:21 +08:00
Arthur 6612086816 ENH: do not leave a gap for top interface if the top z distance is 0
Previously when the overhang is a slop, it's controled by the xy
distance. Now we control it with top z distance as long as it's an
interface.

Note: Not working with Snug support, which has a different mechanism of
support interface.

Jira: STUDIO-3991

Change-Id: I1b7c4cf892b4c4ec2f3e668bd966ab0971212364
(cherry picked from commit c094b5ec83dc98dca7a8b8c0438b8f1994134db6)
2023-11-01 09:33:21 +08:00
Arthur a631e6cb99 FIX: tree support detect overhang inaccurate
Jira: STUDIO-3657
Change-Id: I1ef4ca3ec299b121eb467afc12acee68e0f12b39
(cherry picked from commit 36f8937ae0d0d79c7558662903fffef20b528cb8)
2023-11-01 09:33:21 +08:00
Arthur 2bd6b11505 ENH: improve auto-arranging objects with tree support
We decide to set brim width of all objects to MAX_BRANCH_RADIUS_FIRST_LAYER if there is an object with tree support after discussion.

Jira: MAK-2009
Change-Id: I4c4940800632c433235966b01c44ac910e33a51c
2023-11-01 09:33:21 +08:00
zhimin.zeng d462a4af8e FIX: print by object not support timelapse for I3
Jira: XXXX
Change-Id: I8354971843f1e020db0f6407348cfa220ad514f2
(cherry picked from commit 8e8d0c47bdc7f60be901575b1202a1fc0e1942db)
2023-11-01 09:33:21 +08:00
Arthur 64ee3d946f FIX: auto arrange may put objects with tree supports too close
Increase the brim width to the max full diameter of tree supports.

Jira: MAK-2009
Change-Id: If44da7107f79eddccca42a54484806269e3fee5c
2023-11-01 09:33:21 +08:00
salt.wei e7c380b364 FIX: fix memleak related to config clone
JIRA: none, found by self test

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ifbab17d543c60a767c0a53e1bca7dfe77bd8fbec
2023-11-01 09:33:21 +08:00
liz.li 92f2d8c37c NEW: add plate tab at objectlist
Jira: STUDIO-4154

Change-Id: Id24517df3c15cc3907cb6b1fe0ea9d1b6c6d1e56
2023-11-01 09:33:21 +08:00
salt.wei 8b428c4ea5 FIX: handling for some memory leak
JIRA: none. find by self test

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I450e872039331ccbbf885540dfa526704afe1c20
2023-11-01 09:33:21 +08:00
Arthur 2b593ce378 FIX: adaptive layer height may mess up support layers
We must ensure when independent support layer height is enabled, the
support layers are strictly synced with object layers. Otherwise, the
wipe tower toolchange may be messed up.

Jira: STUDIO-4097
Change-Id: I6208653f9665b15d028940d5e130c9e895629fc2
(cherry picked from commit 41d35c8af152c91cb356a68d88a879a115b44778)
2023-11-01 09:33:21 +08:00
shuai.liu f47a0408e7 FIX: [STUDIO-3921] orientation bug
JIRA: STUDIO-3921
fix the orientation bug that multiple objects does not perform the same
increase num of hull faces to iterate

Change-Id: I9c662e1e7858521585de612d7f1e9cd213e183bb
(cherry picked from commit 6a781a338df9d5a009ac5a667e8b1bc8009e32a9)
2023-11-01 09:33:21 +08:00
xun.zhang 6a5e3b3646 ENH: add cost info when loading GCode file
Add total cost infomation when loading Gcode file

jira:STUDIO-4353

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I930cb141e2a0b3cf328515f6543707c8bd5d620a
2023-11-01 09:33:21 +08:00
xun.zhang 81bab138b5 ENH: seperate wipe tower weight from model
jira:STUDIO-4353

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia8a030314ab995c57a0990d08a966382f6f0eecc
2023-11-01 09:33:21 +08:00
Arthur 181b05c236 ENH: tree support uses accurate lslices
For tree support, use lslices as tree support island when generating brim,
as this is faster and more accurate.
For normal support, still use "support_fills.polygons_covered_by_spacing()" as support island when generating brim;

Jira: studio 4332

Change-Id: Ibfadd3a166606f824e5780b57112fff221470aaf
(cherry picked from commit 64960b19818c7029eaaaf3d8a89804aeaa26f11d)
2023-11-01 09:33:21 +08:00
enricoturri1966 bf23f6f023 NEW: add TransformationSVD and some apis in Geometry
Jira:STUDIO-4227
add TransformationSVD and some apis in Geometry for cut tool
these code from PrusaSlice,thanks for enricoturri1966
the original commit message:

commit 22ccb5657834e1b2fe548dc647a77044bc9c38f4
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Thu Feb 2 09:07:03 2023 +0100
    Added class TransformationSVD to detect transformation matrix components using singular value decomposition
...

Change-Id: I4ce736449029d1fec22def20ef50fa20e1f48713
(cherry picked from commit da9e8127f5214f095da2db9a7898d2e0e84a0214)
2023-11-01 09:33:21 +08:00
zhou.xu 487c86e915 NEW: support to edit bed stl and texture for third-party printers
Jira:STUDIO-4209
some codes are referenced form PrusaSlicer,thanks enricoturri1966 for the original commit

commit cf380fb4564fec4bd731e34819102f66fda23e75
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Tue Sep 21 13:51:57 2021 +0200
    Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Out of bed detection for circular printbeds
...

Change-Id: I1b1e2ff045286566d4fb9f2d8ad4faa1f135f60c
(cherry picked from commit 284bca9f1f4cdb9eb405e8205cd50666a2b0b2a0)
2023-11-01 09:33:21 +08:00
lane.wei 384b0793ff FIX: CLI: fix the png decoding error
JIRA: MAK-xxxx(no jira currently)

Change-Id: Id99511355cec7a51cafd5254f308c60a7ac1f57d
2023-11-01 09:33:21 +08:00
xun.zhang 4d5fbb03f0 ENH: set skirt_distance maximum value to 50
Github:2318

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I538d48321552b110d6fe2949c3202077f788da41
(cherry picked from commit 286926648b378100e522cefb664c095a2ba7b619)
2023-11-01 09:33:21 +08:00
shuai.liu a939c6e434 ENH: auto adapt distance in arrangement
JIRA: STUDIO-4408
1. if min_obj_distance is 0, use auto mode
2. normal support, 5mm gap, tree support, 22mm gap, no support, 0.1mm
   gap

Change-Id: I906ccf267bef1f33a946572614d658fd50cfcda3
(cherry picked from commit 771efc935da625d8faa4cc5b77fedc5055f93c6c)
2023-11-01 09:33:21 +08:00
zhou.xu 7e51bf41a1 NEW: add snap connector
Jira:STUDIO-4227

most of the codes are referenced from PrusaSlicer,thanks YuSanka for the original submits

commit 7cd99d98f537198b78158feced2aa8977bfcbe08
Author: YuSanka <yusanka@gmail.com>
Date:   Wed Jul 12 18:06:51 2023 +0200
    WIP: Cut with Rivets
    * Code refactoring: get_connector_mesh() and apply_cut_connectors() moved from ModelObject to CutGizmo.
    * Allow to change values of space and bulges for snaps
7cd99d98f5
...

Change-Id: Id4c7991a0ed5bf9608823601775920a81a3dd1c4
2023-11-01 09:33:21 +08:00
zhimin.zeng 098652e754 FIX: filament override is not correct
Multiple filament slots does not change the actual filament settings
Jira: 3797

Change-Id: Ib377b4c79aae731caa97b408e84a87a33b3bb155
(cherry picked from commit 7d704d8f0bae14f16087c77c1bd90946632330a6)
2023-11-01 09:33:21 +08:00
Arthur c5db5551bf FIX: skip gcode path conflict check for adaptive layer height
adaptive layer height won't work with conflict checker because m_fake_wipe_tower's path is generated using fixed layer height.

Jira: STUDIO-4442
Change-Id: I964a69af2fa0be8224ffc11e4c86f8ccf6dbf152
(cherry picked from commit e8c915f9e0b8c8f6cb549259b20d6d850a06d7d3)
2023-11-01 09:33:21 +08:00
xun.zhang c00f944308 ENH: add func to get filament hrc by type
1.Support get filament required hrc by filament type

jira:STUDIO-3518

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: If0c1699331b75da17380b9eeca7bb155d98a14c2
2023-11-01 09:33:21 +08:00
zhimin.zeng ff10078fa7 FIX: crash when import svg
Jira: 4084
Change-Id: Ib81631615208b0c884c5ce36211841292c2e3ea3
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
liz.li 76f3f22bcc FIX: layer height cannot exceed limits
Jira: STUDIO-4279

Change-Id: I9c580f9192f7d37123d76e72a62022a48c2a5315
2023-11-01 09:33:21 +08:00
tao wang 1a24681885 NEW:optimize printer config files
jira:[STUDIO-4051]

Change-Id: I77cb16e62546eae63a73f8d12d7f11f496555197
2023-11-01 09:33:21 +08:00
Stone Li aa87c4fd34 ENH: add anti-Aliasing when generating small thumbnail
JIRA: STUDIO-4374

Change-Id: I9bd9cadd1b3b226d1679a00d5a129c4ed9cb1828
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-11-01 09:33:21 +08:00
zhimin.zeng 48fcf4b012 FIX: spiral vase not support timelapse for i3 structure
Jira: XXXX
Change-Id: I2dd5c285c4d687d72a2dfcf94d0ff75a4d5dd498
2023-11-01 09:33:21 +08:00
zhimin.zeng 15d15cd3aa FIX: The calibration temp of the temp tower is incorrect
Jira: 4382
Change-Id: Ib44f4e0e9309b89a3e6364541d775b30ca4c6d70
2023-11-01 09:33:21 +08:00
maosheng.wei 7b4669d715 FIX: [STUDIO-4036] load filament_id when reload user filament preset
Jira: 4036

Change-Id: I4a47e31938b9ebe26f0d7769bcf21098161084bb
2023-11-01 09:33:21 +08:00
lane.wei ae7b205e10 ENH: 3mf: refine the rels to correct link
JIRA: STUDIO-4231
Change-Id: I02ff6343124ef2ea3642e5799469249538a4b97f
2023-11-01 09:33:21 +08:00
zhimin.zeng 3347ce92df FIX: PA cali results are not obvious(0.2mm diameter)
Jira: XXXX

Change-Id: Ie7dd6f39f8cc396f65bdb9ef0a8df25b0241518e
2023-11-01 09:33:21 +08:00
maosheng.wei 743f485fad NEW: [STUDIO-4036 STUDIO-4073] create filament and printer dialog
Jira: 4036 4073

Change-Id: I073ee4a2af4c86332e6d052f5d7322c9f2784184
(cherry picked from commit f4ec32929e1e6ebecd87e2e709636a43be497265)
2023-11-01 09:33:21 +08:00
Arthur ad9fa81b01 ENH: add a new support style "Tree Organic"
Add a new suport style "Tree Organic" from Prusa, as organic support is
faster and seems more strong in some cases. Thanks to Prusa.

Feature detection including sharp tail, small overhang, long cantilever,
are still kept.

Known issue: first layer support path may go outside build plate.

Jira: STUDIO-2358
Github: #2420

Change-Id: I4cec149bf4fa9eb733ae720ac1a7f65098e3b951
(cherry picked from commit d977bc5d3b4609f4fec0aa68152a33cacf184c4a)
2023-11-01 09:33:21 +08:00
liz.li b6995d8fb3 NEW: add spiral vase mode in plate config Jira: STUDIO-4127
Change-Id: I3bbcc1a165123ff81129e159ada1e00f23e38c68
2023-11-01 09:33:21 +08:00
Stone Li 66242d765a ENH: set default environment to PRE
JIRA: STUDIO-4373

Change-Id: I1a02dcf3288aef22d690c40e2b900a89249b2f5f
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-11-01 09:33:21 +08:00
Arthur 3c691ac086 ENH: improve auto-arranging's aligning to Y axis
Dominant direction is more accurate (solve the problem that cubes are
not arranged neatly).

Jira: STUDIO-4356

Change-Id: I8931f51a97bee96d5d9e75306481eae2e0cdc059
2023-11-01 09:33:21 +08:00
lane.wei 80e1b74703 ENH: Support: set the float air warning also to non-critical
JIRA: STUDIO-4217
Change-Id: Ic587acde0a566e4ea5217a5dc4f1ab8b6b155f5c
2023-11-01 09:33:21 +08:00
zhimin.zeng 563b1255eb FIX: add log for cali
Jira: XXXX
Change-Id: Ifce2d57d2694c5b39fec93529e6efffa036b8e68
2023-11-01 09:33:21 +08:00
Arthur 855c3d61ff FIX: tree support + raft may fail to slice
Do not skip generate_toolpaths if has no overhang but has raft.

Jira: STUDIO-4341
Change-Id: I0bdadb5f778e0e1fda686341c0860d0f0c160f0f
2023-11-01 09:33:21 +08:00
salt.wei 3536cec1ea ENH: fix collision of timelaps gcode when by object
Z height after timelaps gcode is changed. Should get
the new z height and save into gcode writer.

Jira: none, bug is found by self-test

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I25516def507782600f0f270a339c88ea01a472a3
2023-11-01 09:33:21 +08:00
Arthur 04ce14ca90 FIX: crash when support spacing set to 0
Jira: STUDIO-4339
Change-Id: Ic9198e21fbaa8992cc08628aefa8673ba82194b3
2023-11-01 09:33:21 +08:00
wintergua 5160c8c4f6 FIX: brim generation with extruder overridding in by layer slicing
in brim generation, object's first layer extruders are obtained from regions.
If the extruders are changed at certain layers in by layer slicing mode,
the extruders from layer regions are not right.

this patch fix that issue by updating the extruder overridding in
a new member "object_first_layer_wall_extruders" in "print_object" class during
constructing "Tool_ordering" class. then using the new member directly when generating brim.

besides, support contour, which should be no_brim_area, is obtained from "support_infills" instead of "lslices" of "support_layers"

JIRA-ID: https://jira.bambooolab.com/browse/STUDIO-4332

Change-Id: I271d0ea0d8c01c412d4fb9ade5296c6a6471aed6
(cherry picked from commit 9919ce9d1b9105b859273eee4fe9481c4dff6189)
2023-11-01 09:33:21 +08:00
xun.zhang 0eb9ac856b ENH: use json to store filament & nozzle info
1.Use json to store nozzle hrc
2.Use json to store filament temp type

jira: STUDIO-3488

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I8eb226e26352a41418f4e46d8cda403dc22ecff4
2023-11-01 09:33:21 +08:00
Stone Li eb8cb63d88 NEW: generate small thumbnail size in 3mf
JIRA: STUDIO-4282

Change-Id: I2f6e35bd643e950d15dcfacb9f6ecae8f8bd80fa
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-11-01 09:33:21 +08:00
xun.zhang 8d8b690adf ENH: optimize exhaust fan param display
1.Optimize exhaust fan param display
2.Set max chamber temp to 60

jira:STUDIO-3518

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0663803381f38f717554da4aefc61e02a8c1f37e
2023-11-01 09:33:21 +08:00
chunmao.guo 0db3fd9f81 ENH: [STUDIO-4034] add functions for custom printer/filament
Change-Id: I0fc2738392970b19c0ae8263ea7d968cc8f23c2f
JIRA: STUDIO-4034
(cherry picked from commit 30e5b3f61f2f5aae308d5e454f71d69939104ebb)
2023-11-01 09:33:21 +08:00
chunmao.guo f4ffe8621b ENH: [STUDIO-4005] support custom root preset
Change-Id: I0cf2142a2d3cee7269b53b73ad44e05934c2e9e6
Jira: STUDIO-4005
2023-11-01 09:33:21 +08:00
Lukáš Hejl 11b55ccd73 ENH: Added option for enabling interlocking between segmented regions
by the multimaterial painting.
This commit is cherry pick from Prusa, the commit number is
9bce0fcf9bb479c289c396e7e23ce95841a61628
Thanks to Prusa.
Jira: XXXX

Change-Id: I29ad1fa9ab3ccc393a1e2affde1ae869d0a33afa
2023-11-01 09:33:21 +08:00
zhimin.zeng c1d1e6efbb FIX: Incorrect exploded view after split to objects
and modify the incorrect assemble view after cut
Jira: 4182

Change-Id: I813a9179c54d544e745153186e09a4d82fc50dbc
2023-11-01 09:33:21 +08:00
wintergua e8f8a5d487 FIX: brim generation with raft
in previous codes, we generate brim for an object with raft, which do not need brim.

jira-ID: https://jira.bambooolab.com/browse/STUDIO-4238
Change-Id: I4b2c2c1c744c098cdcfdb03c2100b06a458e983a
(cherry picked from commit 0d06415d42c95e40f79a228f75827588171d410c)
2023-11-01 09:33:21 +08:00
chunmao.guo 0a991fa369 FIX: [STUDIO-4253] remove file exception in bbs_3mf
Change-Id: Ie585c4864239e7e25176fb316b5ed2e2249c9234
Jira: STUDIO-4253
2023-11-01 09:33:21 +08:00
tao wang 44eaa75110 FIX:fixed studio crash caused by HTTP request blocking
jira:[STUDIO-3849]

Change-Id: I6348af96014e80da6b720da48239fed262f0f3c5
2023-11-01 09:33:21 +08:00
xun.zhang bc53eb23fc ENH: modify tooltip in chamber temp
Also remove bed_temperature_difference in config

jira: STUDIO-4197
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Id992bf0a6b5496038d513a6243b54c5232113515
2023-11-01 09:33:21 +08:00
zhimin.zeng 668106cc5d ENH: support traditional timelapse for i3 structure
Jira: 3935
Change-Id: I38a270f7d9060ea1b271c69fd0d427205817e705
2023-11-01 09:33:21 +08:00
zhou.xu 7df99021c1 FIX: normal_matrix calculation lack transpose in overhang
Jira: STUDIO-4244
Change-Id: If706f098c43f15aa407dde68e8a914bd53ab7188
2023-11-01 09:33:21 +08:00
slynn1324 6f1d04f270 ENH: support thumbnail in gcode for 3rd printers
Thanks @slynn1324
1. Add thumbnail size in printer params page
2. Optimize writing thumbnail data in gcode

jira:STUDIO-3942
Github: #2166
Github pull request: #2333

Change-Id: I6897cfddfa6a1b0c95decf67329a486d40ec0cc2
2023-11-01 09:33:21 +08:00
Arthur 641a4fd1f2 ENH: add load_model_objects_and_custom_gcodes
Add cmd line option to pass layer change gcode.
This is useful for lithophane auto change colors.
Cmd: --custom-gcode custom_gcode_toolchange.json

Examples of the input json file can be found in the jira.

Jira: STUDIO-4070

Change-Id: I5beb5ff7d6d81028e95013e79f955e498cd3ba30
2023-11-01 09:11:19 +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
lane.wei c2f8993828 ENH: CLI: add support of rotate
JIRA: STUDIO-4183
Change-Id: I091cc3142ce867d2ac75ba27b3cb2e4e569c9681
2023-11-01 09:11:19 +08:00
lane.wei 60333adc96 ENH: CLI: optimize the logic for message
1. treat the critical slicing warnings as error
2. save more information into result
including the triangle counts and the non-critical warnings

JIRA: STUDIO-4217

Change-Id: I25b746d06c9a1ef2d642c67852577982a2986322
2023-11-01 09:11:19 +08:00
lane.wei a22fd80bf4 ENH: refine the logic of extruder_clearance_radius
1. use extruder_clearance_max_radius instead
2. set the value of P1P/P1S to the same value of X1C
JIRA: STUDIO-4214

Change-Id: I1ae5e4203db0933854b4388b5505dbf34b40edae
2023-11-01 09:11:19 +08:00
maosheng.wei 6ce7bc8c49 FIX: [STUDIO-3743] 3mf consistence correction
Jira: 3743

Change-Id: I65d868753c380d5399c743d101668ef013549a38
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
Arthur 5c3102c241 ENH: show support_interface_bottom_layers in advanced mode
Jira: STUDIO-4236
Change-Id: I71a2d8c46e588651781728307bd56bbca0ba9e15
2023-11-01 09:11:19 +08:00
xun.zhang 630b458f2d ENH: disable edit support chamber temp
jira:STUDIO-4230

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I4873badacc5d3947f56df1ea367481ddae748fff
2023-11-01 09:11:19 +08:00
xun.zhang 9737cd5f36 FIX: optimize exhaust fan ui logic
1. Enable open support_activate_air_filtration
2. Fix display exhaust fan params when support_activate_air_filtration is closed

jira:STUDIO-4230

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ieddba4bb104b6068b5afb4c109ea6b90d7c4045b
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
Kunlong Ma 9a193fbfea NEW:[STUDIO-4063] auto calculate flushing volumes
jira: STUDIO-4063

Change-Id: If8db1375bc8c17d4c86307c1c93a717f6c0df05a
2023-11-01 09:11:19 +08:00
chunmao.guo d9de09bba6 ENH: [STUDIO-4135] only sync user preset that need update
Change-Id: I9a1c0f9c34a5f5950beffa1c5e8f63c4cf7be6c6
2023-11-01 09:11:19 +08:00
zhimin.zeng a05524417c ENH: Add Ellis' pattern method for flow dynamic calibration
Github: #2356

Change-Id: I05068bd47fa8381429064ea0e5ba0f38e5da17c1
(cherry picked from commit c5d54d26e32909e1785cef9ba6a07d801419fa98)
2023-11-01 09:11:19 +08:00
lane.wei f1362a7757 ENH: add the smooth pei bed type
smooth pei plate uses the same parameters as high temp plate
JIRA: STUDIO-4181

Change-Id: I9db8ca7440b5b205902fd4b35af6c24440e1104d
2023-11-01 09:11:19 +08:00
xun.zhang 5e23f73866 ENH: add protection for chamber temperature
As title. Also add time for waiting chamber temp in printing time

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I8054080d2e8821e421a6d03222b8b25365b5977f
2023-11-01 09:11:19 +08:00
xun.zhang 7a439c523f ENH: rename chamber_temperatures in placeholder
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Id4d853d479cfb9b6c3fda177891f11a34f7d29e8
2023-11-01 09:11:19 +08:00
igiannakas 7b33a7e86b ENH: fix conner case of sandwich wall order
Updated sandwich mode code to cater for edge case where two sets of internal perimeters were causing the perimeters of another island to not be re-ordered correctly.

Github pull request: #2182

Change-Id: Ib58722db8cb76aa6b6474412c71993bb8e4dc007
2023-11-01 09:11:19 +08:00
xun.zhang 9bf251c54c ENH: add printer structure in code
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I57c24a0ea977b510932970817d67570ab3fe7bc4
(cherry picked from commit 409f03de471f65b9edf5c733b691e280c18c19cc)
2023-11-01 09:11:19 +08:00
igiannakas 4ac098df4d ENH: reorder wall seq for inner outer inner mode
Enhancement on wall ordering for inner outer inner mode

Github pull request: #2182

Change-Id: I0902ea0c728f7e37a1a43f9796997f33d37a9940
2023-11-01 09:11:19 +08:00
wenjie.guo c553844b05 FIX: sort m_extruder_option_keys lexicographically.
Github: #77
Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I8832a3848231da8b1066688a2471acd6b6122c19
2023-11-01 09:11:19 +08:00
qing.zhang 7a7a9f4296 ENH: add top_area_threshold param
Jira: 4136

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ic8a3d05cea769ae92dd5f2f2fcd685d660075c95
2023-11-01 09:11:19 +08:00
wenjie.guo a980b78172 NEW: Z hop restriction
Z hop will only come into effect when it is between retract_lift_above and retract_lift_below.
Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: If43aea7024018eb8f532c6af5d8000973f2edee3
2023-11-01 09:11:19 +08:00
PavelMikus d78bb9e1f4 FIX: short edge collapse algortihm
so that it does not decimate all triangles on very high detailed models
Relevant issue 8834 Access Error when slicing
Github: #2283

Change-Id: I047361c88c561962ef4d3cf67bc0126402c41941
2023-11-01 09:11:19 +08:00
wenjie.guo 5076a3008a NEW: insert Gcode between objects
Change-Id: Iec3535941390bfbd279a5677c352d92f36506d4c
Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
(cherry picked from commit e0c5476e2e4c02055fb6ce7b4b4d927498c6ee90)
2023-11-01 09:11:19 +08:00
Arthur faeb95d59d ENH: smooth 6 times by 1 click of "smooth" button
In adaptive layer height, smoothing 1 time is not usable.
There'll be layer lines at the layer height change boundaries.

Change-Id: I84a8b69744db4936062d631864836f0a8cd99cf6
(cherry picked from commit ca77408f38c9a57bee4ab8ee4989024f7f105317)
2023-11-01 09:11:19 +08:00
Arthur 4e15942ba8 FIX: differnt_support_interface_filament was wrong
This bug will cause a gap between support base and interface in Snug mode.

Jira: STUDIO-4067

Change-Id: Ife4d1fc3652803e9d41bb49fddf126cb05798ae5
2023-11-01 09:11:19 +08:00
lane.wei b94dee2460 ENH: CLI: add a flag to allow minimum size save
JIRA: STUDIO-3752
Change-Id: I0277c34d108185d10130630a72811122f8ee9ae2
2023-11-01 09:11:19 +08:00
xun.zhang d724a3bd66 FIX: use extruder list to decide chamber temp
As title.Use the same way to decide exhaust fan.
Removes end print exhaust fan control.

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ib848b04361dc1214eabe2819a6d120d9e0646689
(cherry picked from commit 02ef3a05141710172b1ec2cc45c1e3f9908c82a3)
2023-11-01 09:11:19 +08:00
xun.zhang 977ae079c8 ENH: add support for chamber_temp and exhaust_fan
Support controlling chamebr temperature and exhaust fan for air filtration

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I31627ce4f8acce99e132b0436ab7dcd0bcebf81d
(cherry picked from commit 215878864e1410085ddf9735595e1b1cb00c1e47)
2023-11-01 09:11:19 +08:00
wenjie.guo 4121960292 FIX: allow changing ironing angle.
allow changing the relative angle between the top surface and the ironing.

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I85e8ff3d05d3a6d9408da011631e7d71a6d85178
2023-11-01 09:11:19 +08:00
qing.zhang 4fce50453c FIX: no soild ironing if top or bottom shell is 0
fix the ironing be apply to the preview layer of bridge

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I53cb4e6ff80176953c2927c1d9dc5eecc590764c
2023-11-01 09:11:19 +08:00
zhimin.zeng 13857dba34 FIX: modify the default position of wipe tower
Change-Id: I27eacb73a7e32d20416da785378d3ff0c31f5c23
2023-11-01 09:11:19 +08:00
wenjie.guo ba3638e70e NEW: allow changing the angle of ironing in the dep mode.
Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I09348096fd19ee4e07ce3a04ae152f7ee5758767
Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
2023-11-01 09:11:19 +08:00
Arthur edcdad162e FIX: tree support bottom interface layers were not correct
The bottom interface layers were not right when "independent support layer height" is enabled.
This commit ensures there are always 2 bottom interface layers and the gap
is not less than specified. However, the gap may be slightly larger.

Jira: STUDIO-3842, STUDIO-2138
Github: #2127

Change-Id: Ifd8fbc4c7bc6dd92f2534fdd0179458a9e93c79a
2023-11-01 09:11:19 +08:00
thewildmage c0a247994c NEW: Add Ellis' pattern method for pressure advance calibration
Add a new calibration pattern method for pressure advance calibration, which can better test the influence of k value on the corner. The changes of this patch are picked from OrcaSlicer by thewildmage, thanks to thewildmage for the great work!

github issue: https://github.com/bambulab/BambuStudio/issues/2222

Change-Id: Icc8fd4d52b20c1668bfa08716b48549dfada515b
(cherry picked from commit eb72d8b681bef270906406a2d10a36d4efbce900)
2023-11-01 09:11:19 +08:00
salt.wei cb38b71825 FIX: should consider plate offset in wipe tower
Updating position to gcode writer in wipe tower
miss plate offset.

This is handling for github issue #2256

github: github issue #2256

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I915591ee919d10bb5bd2c2dcd5f1e98fd4b66503
2023-11-01 09:11:19 +08:00
maosheng.wei 93cf701be5 FIX: [Jira:3864&3728 github:2227] translation issue
Change-Id: I375e72191b3af1cf389e65ff4b62ed4f77d8f76a
2023-11-01 09:11:19 +08:00
chunmao.guo dee1c04f28 FIX: load from gcode stream crash with null model pointer
Change-Id: I09a17dd5726d164a4e0bc1d5f213581832a17a5d
2023-11-01 09:11:19 +08:00
chunmao.guo a9e436e557 FIX: [STUDIO-3735] unload default user filament/process presets
Change-Id: I24e54823e91ea8f6cad9bfbdf69ee838e75f8190
2023-11-01 09:11:19 +08:00
salt.wei 22aca74e5b ENH: remove the single filament limitation of skipping object
We planed to skip uncessary filament changing when skip
object. However, this caused color mixing.

If we try to fix the color mixing issue, the flush gcode
should be generated by printer itself. This is not a short
time job.

So currently we never skip changing filament when skip
object. This will not save much time and flushing. But better
than none.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I6046cd2765cf68058712b4256402acc0be771144
2023-11-01 09:11:19 +08:00
zhimin.zeng d5120f890e FIX: crash when use manual flow rate
fix the PA tower is effect

Change-Id: Idc00090c75023d62beca2a32529a6749081de9ef
2023-11-01 09:11:19 +08:00
Arthur fdbe35b619 ENH: add placeholder first_layer_center_no_wipe_tower
This placeholder can be used for smooth timelapse of i3 type printers.

Change-Id: I953a437a7733835d850812565ff5f31b83292912
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
zhimin.zeng 473ebbdc18 FIX: Re-multicolor slice when change first_layer_print_sequence
Change-Id: If17708744a52c95aec406e2cd46a29ff4cf29872
(cherry picked from commit 892f508f194e49462a2c470ce8d0f3f6313a0c09)
2023-11-01 09:11:19 +08:00
zhimin.zeng 476ca19689 ENH: support custom the first layer print sequence
Change-Id: I0516948292933fe47d39fb3ae2f7e91473b45b3a
(cherry picked from commit 5bbdb28c86509d5f94b5b9c33a0f2e1b2749e94b)
2023-11-01 09:11:19 +08:00
Arthur 25f9cccf2a FIX: disordered support interfaces in tree support
Can't delete nodes with no children, otherwise the parent-child relations may be corrupted.

Jira: STUDIO-3737, MAK-1557

Change-Id: I1de39e182bac4a55a8739c00e59fdf7b9b5e4dfb
2023-11-01 09:11:19 +08:00
Scott Mudge 9fde7861c4 FIX: Bugfix for zero-width tree supports from @scottmudge (#1367)
fix bug with zero width tree supports throwing exception.

This a PR from @scottmudge commited to OrcaSlicer.

More than the original commit, we also unify the usage of line_width and
support_extrusion_width, making things simpler.

Change-Id: I0b7a4344cbda4fdf05dfd9f8965f598ad6844429
2023-11-01 09:11:19 +08:00
qing.zhang 536bdeda54 FIX: Revert overhang optimization
Revert overhang degrre split

This reverts commit 7d8c98117ae6b7c2c2d62176d1bf8cf51b28a79b.

Revert "ENH: arachne overhang efficiency optimization"

This reverts commit 7adcceda95fc52be4a37c3e74de1aa776a3c434a.

Change-Id: Ic33a2e8bb11e48b40388706a662267e05508fd25
2023-11-01 09:11:19 +08:00
qing.zhang 8ee88c81c2 ENH: fix arachne wall order
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0f3680ba73689c6fb673c070b0355a84fc25de26
2023-11-01 09:11:19 +08:00
Arthur ade248cc2f FIX: tree support's enforcers inside a hole were wrong
Previously holes of enforcer_polygons was taken as contours,
which caused enforcers inside a hole were too large.

Jira: STUDIO-3877
Change-Id: If38c34e2469b822012a2ed0b082783563fe99228
2023-11-01 09:11:19 +08:00
qing.zhang 307a888597 ENH: key name-only one wall on top surface
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ife706b02d51badddc7e6dcba446a4d049695a706
2023-11-01 09:11:19 +08:00
qing.zhang f66f4b5462 ENH: fix overhang degree split
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I81b946f2fab5e561f965df2ab9852c10c61f8480
2023-11-01 09:11:19 +08:00
qing.zhang 0d837e2587 ENH: top one wall for arachne
split to 3 mode
not apply
all top surface
topmost surface

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Id9bb1a6ded7414b2f093ac01e4ecb4b93057d022
2023-11-01 09:11:19 +08:00
qing.zhang 94b4194b11 ENH: arachne overhang efficiency optimization
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I9b0954e24867b5f4a29e0e5d24708cd977ec22aa
2023-11-01 09:11:19 +08:00
zhimin.zeng 639bf63af5 FIX: filament painting doesnt work properly #2078
STUDIO-3731

Change-Id: Ifc93baf194d5e81eb7e00facf85344bfc05878fc
2023-11-01 09:11:19 +08:00
zhou.xu c522ed8ec0 FIX: calculation error in overhang area
bug: There is a part of the overhang area in the model that cannot be applied

Change-Id: Ia1045225776ccb0e8730912aae1d4c7509f40c5b
(cherry picked from commit daa3e131564690e9e169313d147fd84537b898ca)
2023-11-01 09:11:19 +08:00
xun.zhang 7c2c057f19 ENH: restrict the input range of z-hop
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ieca161bc7a52d6554efca5c0474d2a2fafb2da3c
2023-11-01 09:11:19 +08:00
xun.zhang a02f700c5d ENH: add more info in header block
Add filament density and filament diameter in header block
Add max z height in header block

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I128f9bde4188882baed76340e3f9d752d8a9b645
2023-11-01 09:11:19 +08:00
Merikesh Dev b5a5e3ce9e Add ModelIO support on macOS 2023-09-07 14:15:05 +08:00
lane.wei 2dde3708d1 FIX: add protection to fix crash when mesh boolean
when the split has no effect
we should return directly

Change-Id: I81510c3edea96e101abfedf77023264e06d7d35c
2023-08-01 22:09:01 +08:00
lane.wei dbcfec8a32 ENH: mcut: disable debug related logic
found a crash in dump_mesh,
disable debug currently

Change-Id: I9f210ce074333e95233af08d3e782546107091dd
2023-08-01 22:09:01 +08:00
salt.wei d1ba5cf9a4 ENH: miss extruder_type in the list
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I3450b98b2ccf33a5b823729ada454dfd6ad475c1
2023-07-31 14:29:15 +08:00
xun.zhang 6ce4a6c5f2 ENH: modify chamber_temperature to array
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I8c1afc85ff91ebf4458871fecba5f2f1f1e32f1d
2023-07-31 14:29:15 +08:00
Vojtech Bubnik 153c9517ce FIX: fix the crash issue #1944 caused by wronog thread name in some
corner cases

this patch is cherry-picked from PrusaSlicer's 84722876012ca310e29b291e10fef9d18ae26cea
thanks to 'Vojtech Bubnik' for the fix

Implementing a test whether the current thread is the main (UI) thread
and using it on AppConfig::save() to assert if save is called
from a worker thread.
The old assert was using thread names, which did not always work
on Windows.
Fixes #7839 #9178 #9370 #9420
2023-07-31 14:29:15 +08:00
xun.zhang 793c657b46 ENH: remove nozzle_hrc in params page and profiles
use std::map to map nozzle_type to nozzle_hrc

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ie9d1db486808bd5164c7952caecaf4ac279f43d8
2023-07-31 14:29:15 +08:00
lane.wei 0c45cac1a8 ENH: CLI: refine some logic of repetions and load configs
1. when object skipped, it should not be duplicated
it is set to unprintable before arrange
and the plate needs to be considered a skipped plate also
2. skip the wipe tower if not multi-color after skip
3. load default configs if there are no configs loaded
4. refine the result.json to include key_values

Change-Id: I8c132cabcdd78756673fe900267a226a41ae1b4d
2023-07-31 14:29:15 +08:00
lane.wei 8c29a57be4 ENH: CLI: add logic of uptodate_settings
1. load the updated machine/process config from uptodate_settings
2. if don't have uptodate_settings, keep the logic as before, use from local

Change-Id: I3520469ab6094f03895b8e0e4e84c7549190f244
2023-07-31 14:29:15 +08:00
maosheng.wei cd8e7e80ba FIX: Calibration supplementary translation
Change-Id: Id4203f55e921dc5c1d1d462f7dcacd262d88c603
2023-07-31 14:29:15 +08:00
chunmao.guo d488363095 FIX: use metadata with related index for shared volume
Change-Id: If5ef2e9245a88666600eab0e5f6b92dc8ab3fb14
2023-07-31 14:29:15 +08:00
lane.wei 387f8838f2 ENH: CLI: add logic to translate objects between different bed size
1. from small bed to larger one, auto translate the models based on center;
2. from large bed to smaller one, report an error

Change-Id: I7b7fac1e370ff4daca82c4f36977a86fca268625
2023-07-31 14:29:15 +08:00
lane.wei bb4f425027 ENH: add the error codes return logic
1. write a json to the outputdir
2. including message/error code/plate id

Change-Id: If2a13a89d34982a86102162c9c968cdf60702f19
2023-07-31 14:29:15 +08:00
wenjie.guo a321121acc FIX: the option to adjust the first layer flow
Change-Id: Icf0c2686cc78c26724438ddc80d1894ac50ec179
Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
2023-07-31 14:29:15 +08:00
zhimin.zeng 90e1ed7335 FIX: cali status recover incorrect after save result
STUDIO-3602

Change-Id: I1a47e40ca4d571ab37f52b87109d809279d3145e
2023-07-31 14:29:15 +08:00
zhimin.zeng e010fad242 FIX: k value of ams control is not correct
modify the method for using printer type

Change-Id: Ica864c19f4ad3e58e4f478e078b55fc11485901a
2023-07-31 14:29:15 +08:00
zhimin.zeng f542b6321e FIX: cannot open saved 3mf with & in model name
STUDIO-3690

Change-Id: I44cbccf6692910f7cbf331a6cea4f05caa25c45a
2023-07-31 14:29:15 +08:00
Arthur 9d9673116d FIX: tree support didn't work with enforcer
Enforcers should also subtract the lower polygons to get overhang areas.

Jira: STUDIO-3692
Github: #2045
Change-Id: I70f4aaae13826efc624e9bc942d2d11e9b1df1a1
(cherry picked from commit fc3d9b24ac1eb14e259488c94fca3469f319b368)
2023-07-31 14:29:15 +08:00
Arthur 44fdfe8fff FIX: tree(manual) didn't support well
1. We have a logic to add supports at corners for tree(auto), now I extend
it to tree(manual) also.
2. Only show support_critical_regions_only option to tree(auto).

Github: #2008
Change-Id: I161444da93464fd2ef0e0f3b40a0c5852beba351
(cherry picked from commit af4efb4aadc2a4d16de3eea881c6610955985fff)
2023-07-31 14:29:15 +08:00
wintergua 7430700b8e FIX: the convexhull of first layer is wrong during making skrit
to avoid integer overflow during the polygon operations in make_brim(),
plateoffset is applied during gcode generation. This results in a wrong
first layer convexhull "m_first_layer_convex_hull" which is used in _make_skrit().
This patch fixs this issue.

JIRA: https://jira.bambooolab.com/browse/STUDIO-3719
Change-Id: Icfe21f4dbab05cc9e1c6f668791a62f954c2e0e5
(cherry picked from commit 6286b3e447b7ac7cbc061dca435091094783f74b)
2023-07-31 14:29:15 +08:00
qing.zhang 1223d6f900 FIX: pressure advance unrecogized
while the newer version of 3mf be load to older software
pressure_advance be unrecogized

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ie160759f58e573f8ad01a2941763016e9b070e9e
2023-07-13 10:35:05 +08:00
梨子 bc469bdcb6 NEW:Revert "add pause print message"
This reverts commit f24178896e2e9701165a3a5df8e711489beb34e5.

Reason for revert: pause

Change-Id: Ie55d14143a9e5ea9d593cb2ff0196688f3b0345e
2023-07-13 10:35:05 +08:00
salt.wei 989e4214c5 ENH: apply fan speed immediately after changing layer
What: As title. The original code is always apply
at the end of last object of last layer, whichi is before
layer change

Why: the fan spped will be skipped if the last object is
skipped. So we must move the layer time fan speed setting
after changing layer, where is common gcode block and does
not belong to any object.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I442f80e00778b524576210b451f81dd15e25e14c
2023-07-07 17:52:43 +08:00