Commit Graph

11 Commits

Author SHA1 Message Date
Arthur 12ed0626a3 FIX: auto orient may not work with specific angle
jira: STUDIO-8579, STUDIO-8575
github: #5092

Change-Id: I89ec76661e82364b3fcc8ba799027debc02c503c
2024-11-12 15:35:32 +08:00
Arthur a250110cdb FIX: remove signed/unsigned compare warning
jira: none
Change-Id: I58d4503d5d12b35f3974e58252d81a935db3733b
(cherry picked from commit 01ed70a8b058ceab2c862317c52ed41ef1c950b0)
2024-10-28 20:51:35 +08:00
Bastien Nocera f54fb4a1cf libslic3r: 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
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
Arthur 3d8383f127 ENH: upgrade some deps libraries
CGAL to 5.4
 TBB to 2021.5
 OpenVDB to 8.2

Change-Id: I08992fce104e6f56001643c3c5dbf6c3f59ffc3d
(cherry picked from commit 1571f176fc37dda1c3e889776e13fa49bba4ae42)
2023-07-07 17:25:51 +08:00
shuai.liu ccd333e248 FIX: Fix the benchy orientation bug
[STUDIO-1717]:
1. Add area filter during finding the orientation vectors.
The vector with largest area will be selected.
2. Area_accumulation function return the accurate normals.

Change-Id: I917e29a0def4904a82d30cf0a92524bbb0da14c1
(cherry picked from commit a79cf2fa89c7247cab37ebd36974529df79f0990)
2022-12-15 04:38:15 -05:00
‘shuai.liu’ 24160244b7 FIX: The flat plate orientation bug
[STUDIO-1676]:Auto-orientation not OK but manually OK.
When accumulating overhang, the bottom condition should select 0.5* layer
height rather than previous 1 * layer height.

Change-Id: Ide96817b8f98827388b7cb73ca33518b3ff25235
(cherry picked from commit 9f90151236340d3a10790112be65c816dcc3ae30)
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
shuai.liu 0193e70a9e FIX: enhance auto-orientation with parameters
The tolerance of orientation filter is too large.

Jira: STUDIO-1375,1376,1382

Change-Id: I794a161e74acbcf2e13c03dcc6e5e51d6b4e1f23
(cherry picked from commit 9d8f838fb06b8c0d4efed3e50d33db410efae360)
2022-12-15 04:38:15 -05:00
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00