Commit Graph

23 Commits

Author SHA1 Message Date
Oleksandra Yushchenko eea3e32d0d NEW:add PartSelection class and some apis for cut tool
Jira:STUDIO-4227
most of code from PrusaSlcer,thanks for PrusaSlcer and YuSanka

commit 1aa8d8ea99a56a622d234f71be8d312e1ebe4735
Author: YuSanka <yusanka@gmail.com>
Date:   Fri Jun 23 16:53:29 2023 +0200
    WIP: Cut with Tongue and Groove
    * Implemented preview rendering of groove
...

Change-Id: Id5db8742db50aa10f9b5ebb057ba70f92fc22aeb
2023-11-01 09:33:21 +08:00
zhou.xu a92a138918 FIX: Cannot undo after moving the connector
Jira: STUDIO-4506
Change-Id: I53de8eb3a884de1acb02b825f826bdad2547ad64
2023-11-01 09:33:21 +08:00
zhou.xu b4e675f627 FIX: modify render_connector_model to render_glmodel
Jira: STUDIO-4506

Change-Id: I5739857400efda0ca6f5e3ca6f96235b84c4cd46
2023-11-01 09:33:21 +08:00
zhou.xu 71d8fe1013 ENH: upgrade render_slider_double_input_show_percentage api
Jira: STUDIO-4506
upgrade render_slider_double_input_show_percentage api to render_slider_double_input_by_format

Change-Id: I62004e0d8be628ad73c2f2dfb61bff77caf32aab
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 4f48c48ad2 FIX: crash when multi-select connectors with different shape
Jira: 3916
Change-Id: Ic011827e5d301f91f684039a85b228196be1ba98
2023-11-01 09:11:19 +08:00
zhimin.zeng 5cd1c1b685 FIX: the cut tool gizmo display problem
STUDIO-3182

Change-Id: I728cae259b613835f4c2a0a86543c23936e713c8
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
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
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 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 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
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
yifan.wu f3c65f8597 ENH: refine gizmo paint tools
1. support to adjust cursor size and section view by key + mouse wheel
2. display shortcut tips according to the selected tool type
3. change the left mouse behavior to object movement for color painting tool

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I13d2a83d562d6ccd8d915158e263a90ad3c02db0
2022-10-20 19:34:37 +08:00
Arthur 92f1236128 FIX: height not synced when inputing cut movement
Change-Id: I0640f9a21e1d700806ade79e4e1637338aef963a
(cherry picked from commit 8bacb887da19a9bed6451d2aaa1ebc149c20359d)
2022-09-29 11:16:43 +08:00
yifan.wu a9e3bb59a0 FIX: fix reset not work for movement in cut tool
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
2022-08-08 22:19:42 +08:00
zhimin.zeng 5d06b09a83 FIX: STUDIO-632
cut gizmo: the grabber does not move to original position when press reset button

Change-Id: Ia4e47b9470e66348dea53947c8dc3e4b6bb255e8
(cherry picked from commit 7b783492af5d502a6b93df7d0c8360673f00edff)
2022-08-05 16:11:42 +08:00
liz.li 9bd0db371d FIX:text color and icon size in menu item of IMSlider
Change-Id: I472c3a30d911336029e5693dee6bb81216307413
2022-08-05 16:11:42 +08:00
xiangdong.yang cd907bbc9a ENH:Gizmo shortcut key added
Change-Id: I4d089ef521b16d3ffedd07ba8b22043b899fe7b2
(cherry picked from commit 2f425b8321b3d24d24928185d0c33d54a3a9126b)
2022-08-05 16:11:42 +08:00
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00