Commit Graph

95 Commits

Author SHA1 Message Date
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
liz.li 7b82a5010a FIX: dark mode: adjust notification popup text color, adjust some svg
Change-Id: Id1a57a528a0764755789d7fe67ddc8b02340a584
2022-12-15 04:38:15 -05:00
liz.li 06e3c22b92 FIX:need a new frame when reload fonts
Change-Id: Ib59359fd1dd327a1e29990b5e774779fa672e04d
2022-12-15 04:38:15 -05:00
liz.li 316ca3f5f5 ENH:optimize mem usage of imgui fonts loading
Change-Id: Icdd88b119c4406c407a955240698da5187f8efd8
2022-12-15 04:38:15 -05:00
yifan.wu 98686a708f FIX: cannot input hotkey chars in 3D Text tool
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: Ie28fc3943ddcde1e2fa1f607fe9e8d0125399a74
2022-12-15 04:38:15 -05:00
liz.li f1ed06b284 FIX:switch dark mode in assemble view will crash
Change-Id: I0bb38e50262ccfecdda48996d14048b2f3629975
2022-12-15 04:38:15 -05:00
liz.li 882e06bd9b FIX:add some missing darkmode svgs
Change-Id: I0a5a47e9733b534e45c65cb79ecd5b1cd2da7303
2022-12-15 04:38:15 -05:00
liz.li df260dd724 ENH:dark mode of imgui part
Change-Id: I42975f9004be1a348db83f1a5790490dbc444c9d
2022-12-15 04:38:15 -05:00
Stone Li 6d46ac98ba ENH:GLGizmoText style display
Change-Id: Ie7e3a91a10464cf8b85f7553b74973a4cbac3bca
2022-12-15 04:38:15 -05:00
lane.wei fb4f30a4a4 ENH: gizmo: use native string for snapshot name
to avoid possible crash issue(not sure)

Change-Id: I34f7859b5eb8d2b9b09093ac9b68d24fa1074612
2022-12-15 04:38:15 -05:00
lane.wei aac34a5411 FIX: fix serveral issues under multiple plate slicing
1. preview result not correct when switch from invalid to valid
2. slice_all button not correct after loading gcode
3. slice_all button always set to enable with normal model(not gcode and exported files)
4. thumbnail missing issue after mmu paint

Change-Id: I9873a035acc277b790d46d705c4a794c09bbd889
2022-12-15 04:38:15 -05:00