Commit graph

1087 commits

Author SHA1 Message Date
liz.li
56a98390f9 FIX:search dialog cannot open
reason:search_line window modified by darkmode-commit

Change-Id: I1a6c58362b2d1eff506b62a97d908b95dc591ff9
2022-12-15 04:38:15 -05:00
lane.wei
b65d47b544 FIX: fix the default materials loading failed issue
Change-Id: I9341e6ec209673585a9ed3a981db92d28ac30659
2022-12-15 04:38:15 -05:00
lane.wei
03226c9e43 FIX: fix the empty plate exception issue when slicing all
Change-Id: I55746b575025fdcc732fa2386cbce45a34bce210
2022-12-15 04:38:15 -05:00
lane.wei
45dd07cfe4 FIX: fix serveral issues in multi-plate slicing
1. fix the thumbnail white issue in some random case
2. fix the thumbnail not update issue under preview panel
3. fix the previous panel's toolpath not clear issue while switch panel
   under preview
4. fix the toolpath not clear issue while switch from 3d to preview in
   some corner case

Change-Id: I158eba35e3b5d8a1e77f19ee9f86801e6a6dbd86
2022-12-15 04:38:15 -05:00
zorro.zhang
eb8c97f150 FIX: adjust background color
Change-Id: I7e32013dbd348c74dc79f0fdd38de4c46e38554d
2022-12-15 04:38:15 -05:00
salt.wei
ce2d2defc0 ENH: remove a assert which is wrong
This is a wrong assert code!

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Iec33e0ab456f0e726b1c3e87c30cb2649a55b39d
2022-12-15 04:38:15 -05:00
salt.wei
416e100b1d ENH: eliminate too narrow area of stBottomBridge
For very narrow bottom bridge, it's useless and even
harmful to be printed as bridge. Eliminate it.

This is handling for github issue #298

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I1dc614781a028716a6de59454577f0b7f3b5b1f5
2022-12-15 04:38:15 -05:00
liz.li
d3e6455cf7 FIX:linux hms text display bug
Change-Id: Ia7c51c8233acba2e529a2ba878698bf9c1f567f6
2022-12-15 04:38:15 -05:00
salt.wei
f59d59fbe8 ENH: change some system presets
1 Use 25% infill density. 60% is too high and useless
2 update filament change gcode

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I9a1fbbfb56b61723aa6e9d6bc44a22f467d92562
2022-12-15 04:38:15 -05:00
Arthur
4eba8a2a2d FIX: auto-arrange may crash due to clipper
1. Use nlopt and clipper offset togather seems not stable, very easy to
crash. We do the offset outside nlopt now.
2. Fix a bug with finalAlign where objects may be translated to overlap
   with excluded region.
3. change the words of support_expansion

Change-Id: I22e37b20e4ae16f47bde206de90845616e4cefad
(cherry picked from commit 1c26e5d2862fd3f3292971b5c749420bfb2cdf0e)
2022-12-15 04:38:15 -05:00
Arthur
95ed039879 ENH: simplify support options and fix a tree sup bug
1. add default support base pattern (lightning for tree support,
   rectilinear for normal)
2. change default support interface pattern to "Default" (concentric for
   absoluble material, rectilinear for others)
3. delete tree_support_with_infill, replace no-infill optio with "None" infill type
4. delete HAS_LIGHTNING_INFILL macro (lightning is impossible to be
   removed now)
5. fix the issue that tree support base may grow above interface by
   adding virtual nodes (distance_to_top<0).

Change-Id: I5affa44e1f72d0dc54052927f2b315de83702870
(cherry picked from commit a2b41b1dfd9227e68ac6d971312133ec3382baa7)
2022-12-15 04:38:15 -05:00
salt.wei
bcedd7e557 ENH: fix gcode viewer line error issue
Should not insert new line in post process
which changes the the final line id in gcode
file

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ib8b837cf313a1308260db88bf5390fefe9708cc8
2022-12-15 04:38:15 -05:00
lane.wei
c3abc64b61 ENH: slicing: add cache data load/export for slicing
Change-Id: I88b7c79b6f79ec6bed0f829316b67310cac99b44
(cherry picked from commit 67c1d2e8dd459cc4450ce580632f01e25db038ac)
2022-12-15 04:38:15 -05:00
tao.jin
2ffa56633c ENH: rebuild warning dialog with frame
Change-Id: Id4a8ab80ecec30b668de59556823dad6838276fe
2022-12-15 04:38:15 -05:00
Stone Li
5b7ebc3684 FIX: fix use ams always checked
Change-Id: Iaf4e894bab3ca2bd2f57e174ad4fcae517ec20cf
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:38:15 -05:00
zhimin.zeng
fe3a1f724c FIX: special model slice color is incorrect
Change-Id: I35eb51920e4d586354a98aac61aa4a806ea66464
(cherry picked from commit 7eae730907e25733968853a850762458bf0682ac)
2022-12-15 04:38:15 -05:00
zhimin.zeng
d55cd76ebf FIX: remember the flush_multiplier
Change-Id: I38d50fb21791b2a469bb5169fc0da6b95c836466
(cherry picked from commit ca822601e4e41b7ab744c9bb4c4af6eb9db4263f)
2022-12-15 04:38:15 -05:00
qing.zhang
53af32dd1a ENH: add infill pattern
archimedeanchords pattern
octagramspiral pattern

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: If07cca732de1f0169e89d5999a290839e2f00da1
(cherry picked from commit 9e322618e8ef03cf79be1526685017eafb9cb3ae)
2022-12-15 04:38:15 -05:00
MusangKing
d1e4cb430c NEW: Add "Support xy expansion distance" setting
Open the "Support xy expansion distance" setting for users who can set
expanding and shrinking distance along xy to change normal supports' overhang area.

Jira: STUDIO-1297
Change-Id: If3a1efe99acaced12216966a6f8abd0dc3734757
(cherry picked from commit c1fd588a181b17403109b64a0019818f428252da)
2022-12-15 04:38:15 -05:00
Tao Wang
ab49516ec1 FIX:fixed popup wrong pos of the print menu on multiple displays
Change-Id: I9712244df4e0df9dcb5beedf4dd36e3a06fa9db6
2022-12-15 04:38:15 -05:00
Stone Li
b81a26d019 ENH: can not send print task when printer need force upgrading
Change-Id: I3be5c9c54b3a5fb448b1e96901df8aa7ffbffbd8
2022-12-15 04:38:15 -05:00
liz.li
eb723d1979 ENH:remove start G-code layer in preview-slider
Change-Id: I89d66453078bb2df1f9a0161f6cfde032a9dd90d
2022-12-15 04:38:15 -05:00
tao.jin
1e4582f966 FIX: sync with master(update slice state)
Change-Id: Iec749349837d969c0a84b56d16d0fb32ed594c0a
2022-12-15 04:38:15 -05:00
tao wang
8216265725 NEW:add remaining capacity detection switch in ams setting
Change-Id: I8f7be78dbf881bb5e2564aea4d0e01d78f1b0433
2022-12-15 04:38:15 -05:00
tao wang
a316bdfa22 ENH:notify the user to save the project before switching languages
Change-Id: Ife8acc0aeaef013d9dbbb753686ad4b4a319bf80
2022-12-15 04:38:15 -05:00
liz.li
ee187f2f78 FIX: macos crash : .dfont file cannot load into imgui
Change-Id: I0efd73da821afbb5e0cea314c56d8243342adb32
2022-12-15 04:38:15 -05:00
tao.jin
9c55e42b32 FIX: update slice state after changing bed type
Change-Id: Iaea235233ecdc0c486daedda9f0d844cb176906b
2022-12-15 04:38:15 -05:00
salt.wei
f49f1385b5 ENH: fix error acceleration in Gcode processor
When travel in x-y-z move, the acceleration should
be limited by trivector rather than one axis.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: If8e5d394cf5d8772d324b9c851c047d9235d9b6b
2022-12-15 04:38:15 -05:00
MusangKing
aa0dbac351 ENH: add paint-on support on vertical faces
Add paint-on support on vertical faces of slender rods

ENH STUDIO-970/1285
FIX STUDIO-1183

Change-Id: I36b398f9c1c1341bce080ec3d454dcc6e6f991e8
(cherry picked from commit 65ee2c8d74284b21bfd34a1059e2005998d749c5)
2022-12-15 04:38:15 -05:00
Arthur
e61e6c3c95 ENH: improve tree support interface quality
Always draw a wall before infill for 1st interface.

Jira: STUDIO-1402

Change-Id: I9cba46f9bcacbe6c78a82bbb7099cc1d1182cb97
(cherry picked from commit d7381adb78c99414f538db82f0ac1f2de2e968cf)
2022-12-15 04:38:15 -05:00
MusangKing
2a8fe9ec54 NEW: Open "Bottom Z distance" setting for users
Users can set distance between support bottom contacts and object
once enable normal/tree support.

Jira: STUDIO-1383

TODO:Func seems good though, some details (e.g., bottom_interface
detection) need to be optimized furthur. Will keep follow-up.

Change-Id: I85815e7aa6cf1a5d0249633cd8ab995873461e8a
(cherry picked from commit eab39e89c94d749ebe6266ab745cbb70a068277d)
2022-12-15 04:38:15 -05:00
tao wang
63ea4179e4 FIX:fixed ams mapping instructions img not clear
Change-Id: I21d4d024078ad2b2a983b54938efb13015382a10
2022-12-15 04:38:15 -05:00
tao wang
3c9a28017d FIX:modify the title of the second confirmation
Change-Id: I85b4b0bb7dc12cdd2e37b494abc5de54a5939210
2022-12-15 04:38:15 -05:00
tao wang
0f00adb0d1 NEW:added to send all plate to printer sd card
Change-Id: Ib7610d64a3b45afaea432c26832313d248c6890b
2022-12-15 04:38:15 -05:00
tao wang
4c9cf7577d FIX:send printing no longer has suffix
Change-Id: I73577279f973713783d4eb214b27ac7909b9b1f3
2022-12-15 04:38:15 -05:00
shuai.liu
1ad8e7ed74 FIX: fix quantized convexhull normal bug.
1. use face_normals as convex_hull normals instead of quantized normals.
2. The quantized normals will result in bad orientation because of accumulated error.

Change-Id: I8e554905dcec430738135cb8a9f08d8e0fdfecae
(cherry picked from commit 33c474f6f6e7469aed75e981e700e0279cb23de3)
2022-12-15 04:38:15 -05:00
shuai.liu
2b3e533b8b FIX: fix the bugs related to bottom area and flip
[STUDIO-1079] Large plane not stick to bed
[STUDIO-1437] Model auto flipping bug
1. Changed the orientation threshold so that some tiny rotations wont be ignored.
2. Added flipping detection. Rotation with same unprintability will not be excuted.
3. Added the weight of first layer area to improve large planar face orientatio performance while not influence other objects with small first layer areas.

Change-Id: I1efc9252c90bc053e65cb71e7770cb8d0305cb6e
(cherry picked from commit 1eda67e4fd0cd2536af219e0c225fc08949b5023)
2022-12-15 04:38:15 -05:00
chunmao.guo
f6ff0f6131 FIX: re-register BambuSource when maybe installed under administrator
Change-Id: Iff4c4dc9a581de33e08681b7033c1f29ebacb6a4
2022-12-15 04:38:15 -05:00
yifan.wu
9a0ef5b989 FIX: fix a bed texture not display issue
1. change default bed_type to "1" in app_config
2. if old app_config.bed_type is 0, change it to 1

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I9923187ab480b0a4991bfbc13892bfb43b2a990b
2022-12-15 04:38:15 -05:00
Arthur
5df1317f40 FIX: tree suppoort generates wrong sharp tails
support_critical_regions_only may generate wrong supports on sharp tails

Test case: calicat.stl

Change-Id: I73671d9bf0f9c27ef70efa5765cd291761c4d18d
(cherry picked from commit 8ff2ac7ce437dc2f9eee6068d596294c054dee1b)
2022-12-15 04:38:15 -05:00
Arthur
86631eab47 ENH: translate print options and so on
Change-Id: I23f2720442efb4491fe7854cc080f644a8bed414
2022-12-15 04:38:15 -05:00
Arthur
f6fed97b9d FIX: auto-arrange unable to arrage a large number of small items
1. Should start from bottom left if there is excluded regions
2. avoid exclusion regions in fixed_overfit_topright_sliding

Jira: STUDIO-1422

Change-Id: If88ecf86a0485bd478a77df8cfd4942df8ca27ac
(cherry picked from commit a8393de51bd178b731ef4c7201a5fe3247d97a1f)
2022-12-15 04:38:15 -05:00
yifan.wu
d152b4d235 ENH: refine global bed type config logic
Add default type to plate bed types.

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I26f3a64dba4a19b0d882b828f1ee54c84df1879c
(cherry picked from commit 1ebed465d2b3bcd482dd4ba7a5930b721c79fc13)
2022-12-15 04:38:15 -05:00
chunmao.guo
3b3ad1b390 FIX: scroll offset with touch pad
Change-Id: I7dbec590f39f174c02e4179fd781ff7fd1a93374
2022-12-15 04:38:15 -05:00
Stone Li
fee419797d FIX: fix use wrong preset folder
this happened when stop sync user preset

Change-Id: I16e17614d64a3e81adbc32fc9819cc32c6599a77
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:38:15 -05:00
liz.li
fafff5c1d1 FIX:fix search dialog cannot dismiss when alt+tab
Change-Id: I2fd0099685ce80e72f6214643b35535c274f7e22
2022-12-15 04:38:15 -05:00
chunmao.guo
5f2a537f14 FIX: occt font encoding
Change-Id: Ief4fc0ced20f386b85bb0963c5953954a85df9e0
(cherry picked from commit 50b10de0b1261272208c6676e9ca1c917c4707b1)
2022-12-15 04:38:15 -05:00
tao wang
f3b4618932 ENH:change style for the refresh button on model mall page
Change-Id: I1fb368b279dad3dc300374e5338655cf2a896142
2022-12-15 04:38:15 -05:00
liz.li
f76d214ae6 FIX:temperature character in GcodeViewer display '?'
Change-Id: I89b03d04ff280f1f5e6a16a4cd7143dfa31efea1
2022-12-15 04:38:15 -05:00
chunmao.guo
9b10b1438c FIX: [STUDIO-1011] windows can not scroll in inactivate window
Change-Id: Ib09e58f4637d632625bf7bd484fd26319630cdb2
2022-12-15 04:38:15 -05:00