Commit Graph

826 Commits

Author SHA1 Message Date
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