Commit Graph

105 Commits

Author SHA1 Message Date
zhimin.zeng 5cd1c1b685 FIX: the cut tool gizmo display problem
STUDIO-3182

Change-Id: I728cae259b613835f4c2a0a86543c23936e713c8
2023-07-07 17:29:08 +08:00
zhou.xu 059ea09353 FIX: improve speed of calculating lay plane
The code references PrusaSlicer

Change-Id: Ie39d8ce0dc6d98ef1fc062828b4818825923169f
(cherry picked from commit d17e7d90f885109e14c0b48f92a6366ba0af44c6)
2023-07-07 17:29:08 +08:00
zhimin.zeng dde886aae8 FIX: Scale coordinate display axis is wrong after the rotation
STUDIO-2658

Change-Id: Ie3659ac29bdbc6f908fbd6fc3463d4498b1a1bbb
2023-07-07 17:29:08 +08:00
liz.li 8ae8cce200 FIX:enable tab key of cut toolbar[STUDIO-2998]
Change-Id: I4c731aeb54cf81a68f6a2501f41986942b71e604
2023-07-07 17:29:08 +08:00
liz.li ab0c6611c8 NEW:add paint tool in assembly view
Change-Id: I108e1e24ca9d033d2279c8153585166971a347a6
2023-07-07 17:25:51 +08:00
zhimin.zeng 63acf7f6f0 FIX: Crash when perform cut
"keep upper" and "keep lower" may be not checked when check "Cut to parts"

Change-Id: I8f902d3013e465f0a672369f1b732cce5f30f66d
2023-07-07 17:25:51 +08:00
zhou.xu def87a59c0 FIX:The mirrored patch normal vector needs to be reversed
Change-Id: I3a67322eb59355ed91d1af390eb34f7f3d378198
(cherry picked from commit 3187f2b7944ddd2b9b6dc621da07dac6d4b3b31f)
2023-07-07 17:25:51 +08:00
zhimin.zeng c720e1eb0f ENH: Tolerance of the connectors in mm instead of percents
github issue #1644

Change-Id: I7d7bd02f7b695108abbcbdb0c077d2c1ce911af4
(cherry picked from commit fd89cbdba2bd4a9808d43e8ad2d68b60d076ddb8)
2023-07-07 17:25:51 +08:00
zhimin.zeng 3fb007aedb FIX: Rotated Text problems at 180deg
github issue 1706

Change-Id: Ieb621aaf5c272f668434e39b335ef89fa9c9fbd8
2023-07-07 17:25:51 +08:00
zhimin.zeng 7a988c1e44 FIX: crash when setting negative thickness value on text tool
github issue #1656

Change-Id: Ib77bdd3e4b2508c466d7122a9052d1d15d6bc4bb
2023-07-07 17:25:51 +08:00
zhimin.zeng e002885efc FIX: modify the style and layout for cut
Change-Id: Id9f84fc58385ae408a4c28c0d4eb63e48335039e
2023-04-17 15:39:02 +08:00
zhimin.zeng b746877d70 FIX: modify the shader load error for mac
Change-Id: I3e2b282b145b4d87e09c22d4fec1b88537212d60
2023-04-17 15:39:02 +08:00
zhimin.zeng 518cd4ce27 ENH: recover CutToParts for cut
Change-Id: I5d7fb089c5d2ea9d36fce3d70ec4da896d601940
(cherry picked from commit e0232b21ebf5a37bedee1c213d1c21890634c563)
2023-04-17 15:39:02 +08:00
zhimin.zeng 8ebd6cfc9e FIX: the text gap is not correct. STUDIO-2518
Change-Id: I27dc8b62962ebe1aa2b4d54e50d68cf173eecd54
2023-04-17 15:39:02 +08:00
zhimin.zeng 5bb35c3086 FIX: German Umlaut's not usable (3D Text Tool) STUDIO-2515
Change-Id: I193cb00f86476ed9088d69426ed17816a9df8de5
2023-04-17 15:39:02 +08:00
zhimin.zeng 24657f9145 FIX: negative volume scaling error when the instance is scaled first
Change-Id: I47b329123cb2b021a388fb1dbbcfe8c4cc927bc7
2023-04-17 15:39:02 +08:00
zhimin.zeng 752c145384 FIX: Multiple text generated failed. STUDIO-2522
And support generate text on the outer surface of the assembly.

Change-Id: Iebe0b47b3f85c3800c799c4b5800514c0f2838fb
2023-04-17 15:39:02 +08:00
zhimin.zeng e031708043 FIX: translation for cut
Change-Id: I31f755b857f07e920fe6e50d48f4aa34a53e07da
2023-04-17 15:39:02 +08:00
zhimin.zeng cd4cddfca4 ENH: Cut optimization, support for custom connectors
Change-Id: I65163314374fb74f0b16df47dacae82caa6fab0d
(cherry picked from commit 7bacc2c2a89be471f6fee51dd07a42222a28b55a)
2023-04-17 15:39:02 +08:00
liz.li aba824bbb9 FIX: press key R and T cannot close gizmo window (STUDIO-1980)
https://jira.bambooolab.com/browse/STUDIO-1980

Change-Id: Iaebe4674cf3b14dde4e7ee1a9b123b5a36d2c693
2023-04-17 15:39:02 +08:00
zhimin.zeng 93ad247eff FIX: text spaces is not work
the mesh of space is null, so the width of space is 0.
we use 'i' instead of space to calculate width.

Change-Id: I95d92d96e19416406d644ca35f0f14ade870f315
2023-02-28 18:44:28 +08:00
zhimin.zeng a1cd25cd21 FIX: fix possible crash for text
Change-Id: I57670a55f3e55fd0ded522b501a28899070e802e
2023-02-24 17:44:15 +08:00
zhimin.zeng bbc211d983 FIX: text bug fix
1. text cannot modify after changing type
2. do not allow to drag object in text gizmo

Change-Id: Ia9bbdacbce8215315cf68c768c6d9d91c1ff948c
(cherry picked from commit 897013b2a0c214fc36090cb5cf57e0c3f59f3338)
2023-02-24 17:44:15 +08:00
zhimin.zeng 2fe0930777 FIX: Modify translation
Change-Id: I5c29e805dd8b93fbc3d8a59ef146e2fd16ce9ea0
2023-02-24 09:23:57 +08:00
zhimin.zeng 6365c95db3 FIX: text position is incorrect
1. modify text alignment.
2. modify the text attachment position error caused by the precision.

Change-Id: Ie85da70341719932f7aa165243a95427bac19c3f
2023-02-24 09:23:57 +08:00
zhimin.zeng 1b3ac0a0b6 FIX: modify the control layout
Change-Id: Icabb5484dc202b684ecefabddcf3594a0c632387
2023-02-22 20:09:17 +08:00
zhimin.zeng c7ec112420 ENH: optimize text interaction
Change-Id: I1d132124816ba0946fd4d05310f8cd6da17a7e45
(cherry picked from commit f741a33a3651e266edfd4c191322f8988a3666f2)
2023-02-22 20:09:17 +08:00
zhimin.zeng 1041b8b026 NEW: Support attaching 3D text to a surface
Change-Id: I13f234cf5f189b594a6277d623dfa9dee489d19f
(cherry picked from commit 88ec90226aecb8203c105569a613d33c68a0602b)
2023-02-22 20:09:17 +08:00
liz.li aac9bfd593 ENH:add some shortcut of gizmo
Change-Id: Ie639483663f5fa9fe3cd597fb279d95474969408
2023-02-22 20:09:17 +08:00
liz.li 78b6e75955 ENH:add a search box for text toolbar
Change-Id: If8a43671916e56d6cb52b9fbd21dd8b8f9539083
2023-02-22 20:09:17 +08:00
zhimin.zeng 824fea276e FIX: modify the minimum value of height range(painting).
Change-Id: I8f335b54a793aa9fc8c0f31b45322a1a90ed55f4
(cherry picked from commit c33e0971d2a24ab49dd04c3c571a8a852555e0ad)
2023-02-02 12:14:41 +08:00
chunmao.guo 0add267611 FIX: [STUDIO-2065] icon action in ObjectList on macOS not work
Change-Id: I0b7d61a80afaeede3c7fb23afce9034a0b3bcaa6
2023-02-01 16:24:44 +08:00
Arthur 18366df5d0 ENH: only allow setting height when cut plane is horizontal
Jira: STUDIO-1819
Change-Id: I04d258949cbf98a59f7313d714430f361bb2c4a9
(cherry picked from commit 2ffa8430b819cfffe20f4c7734125a3aabd33202)
2023-02-01 16:24:44 +08:00
zhimin.zeng 3651d4ec15 FIX:uniform scale can't be deselected when selecting multiple objects
Change-Id: I4e9c18410ffe45d9db9743c5e0f9c90019c372a2
(cherry picked from commit 9c669cacfce6d23a69993f36e6aebb982fb6ee3b)
2023-01-10 19:08:26 +08:00
lane.wei 38705f87a9 FIX: fix the gap_fill not take effect
when using new render logic
the area is calculated with error

Change-Id: Ia0ac1cb6c46c0e312b704d27c8ccc0ca6ac5f8ec
2023-01-10 19:08:26 +08:00
liz.li 674348c575 ENH: support single-sided modal scaling
Change-Id: I746cfbb53d761abe2e7bf7cad391f9a37d821b3d
2023-01-10 19:08:26 +08:00
liz.li c832a03616 FIX: toolbar cannot rescale a super small stl correctly
1.reason: input box limit the digit of input number, and has a max value limit of scale

Change-Id: Ib6f36033ebc9d1621eb0c3359c67ff788518f528
2023-01-10 19:08:26 +08:00
zhimin.zeng 1c5c9bd3d2 ENH: support text modify
Change-Id: Ide5a3c7df5f3ea4395821a65807d79b459f3e46e
(cherry picked from commit 55de44d4c80c545de14466aa039a7b0ac144f395)
2023-01-10 19:08:26 +08:00
lane.wei f0908f2a63 FIX: repair: fix the state not correct issue after repair
Change-Id: Ic4aaeaeeee921294e0a5ab6d82517dc28f8822c8
2023-01-10 19:08:26 +08:00
Arthur 646b259972 ENH: merge tree support layers to support layers
Will greately reduce repeated codes.

Change-Id: I506a97a907b5b393fe41e13ae53e2f7c9247c4c5
2023-01-10 19:08:26 +08:00
lane.wei 8b5a49f378 ENH: disable wireframe currently for some macos has performance issue
Change-Id: I7646927352b0097e1a7b4fa97da4730976996b80
2022-12-26 05:31:54 -05:00
Arthur 29dbc77e91 NEW: add new tree support style "Tree Slim"
1. Add a new style "Tree Slim". If enabled, tree
support branches are merged more aggressively, and the support volume
is minimized.
2. Enable support style, add back Snug for normal support.
3. Remove hybrid(auto) type and use "Tree Hybrid" style to represent it.
4. Fix a bug in plan_layer_heights that may generate empty layers when
   layer height is set to 0.3mm.
5. Fix a bug where no raft is generated if there is no overhang.
6. Fix the bug where no bottom interface or bottom gap is generated when
   tree slim is selected.
7. Use physical distance to calc radius

Change-Id: Iacd57018ae5496cdc9acd28551c44d1c88c53fe0
2022-12-26 05:31:54 -05:00
liz.li 110d81f6f7 ENH: font preview
Change-Id: I8151036cedcba9c57183414a9d134741bb2166a5
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:38:15 -05:00
liz.li a9c180df24 FIX: dark mode 3rd printer bed display
1.fix custom bed render grid inappropriately
2.optimize: do not init toolbar every time switch dark mode

Change-Id: I354496c6c982d9f72b22629f6973a79d65189dda
2022-12-15 04:38:15 -05:00
liz.li aab62b77bf ENH:refine GLCanvas update dark mode logic
Change-Id: Id4c4f00a18fa0672eab528a6819b6665031a8915
2022-12-15 04:38:15 -05:00
liz.li 1da9bfcc13 FIX:romove font style preview
Change-Id: I1e8f2ffd94db967f17fa561fd5c56a20f718631b
2022-12-15 04:38:15 -05:00
liz.li cfafbc812f FIX: switch dark mode bug
1.selected tool item in support,seam,mmu will be invalid after swich dark mode
2.add reset direction button in mmu
3.if don't switch dark mode in prepare page,toolbar doesn't change color

Change-Id: Ibaaaee5c0cc03f66682f5eb0daafcd143b9d9edc
2022-12-15 04:38:15 -05:00
liz.li 156afc385a FIX: focus of text tool window
Change-Id: I474f314e07234b8f5fc2db7ccd505d85539659e4
2022-12-15 04:38:15 -05:00
liz.li e65e27ee57 ENH:add reset direction function
Change-Id: I3d89a738434f92ee34e9713d734347e3ea542497
2022-12-15 04:38:15 -05:00
liz.li b648695754 ENH:auto focus input box when open text tool
Change-Id: Idca0fa6b1ef26a2e3f3537aa0a2e6907992c76de
2022-12-15 04:38:15 -05:00