Commit Graph

32 Commits

Author SHA1 Message Date
zhou.xu af7b21549f FIX:upgrade cut code from PrusaSlicer
jira:none
code is from PrusaSlicer,thanks for PrusaSlicer and YuSanka
Author: YuSanka <yusanka@gmail.com>
Date:   Tue Mar 5 15:13:31 2024 +0100

    Fix for #12206 - Dowel connector hole often disappears after one of the resultant objects is cut with a dovetail cut

Change-Id: Ib21be385f6df3b4ed41c2eb91dc33dd43132f276
2024-10-15 15:50:26 +08:00
zhou.xu 0faf8d5e10 FIX:open cut gizmo check selection.is_empty() again
jira: STUDIO-8310
Change-Id: I5265ccb54345595fefb9a3775f45e96be55cc9dd
2024-10-15 15:50:26 +08:00
zhou.xu 2f716f4b40 ENH:add "flip cut plane" function
jira: none
code is from PrusaSlicer,thans for PrusaSlicer and YuSanka
commit b40473be51fd1050fa4d7b2c3297230758085d46
Author: YuSanka <yusanka@gmail.com>
Date:   Thu Feb 9 08:52:07 2023 +0100
    CutGizmo: Improvements to identify Upper/Lower parts_count

Change-Id: I08974894777c5d8ab267ec6e23ae5c8fd9c27757
2024-10-15 15:50:26 +08:00
zhou.xu 85b990e8ad FIX:update calculation method in part render for cut gizmo
jira: none
Change-Id: I0948f118fbd8c204b5ae0e16d6b14ef094c7da30
2024-10-15 15:50:26 +08:00
zhou.xu 0db285a2f7 NEW:split measure function to measure and assembly function
Jira: none
Change-Id: Id88ed94251ee51b64e7a1574862b269a2ff6358b
2024-04-23 20:07:49 +08:00
zhou.xu f2c712a688 FIX:fix bug of toggle_selection by right click
Jira: STUDIO-6511
Change-Id: I24efc6462c97902890bdd1b73ae6005cb3b6d958
2024-03-25 15:29:19 +08:00
zhou.xu 210cd5a4fe FIX: cancel the use of perform_by_contour API
Jira: STUDIO-6255 STUDIO-6254
Change-Id: Ie766f3f1c175af23e5faed30ad8351b49b261bdd
2024-03-25 15:29:19 +08:00
enricoturri1966 98faf48787 NEW: upgrade GLModel and so on
Jira: STUDIO-6166
most of code from PrusaSlicer
thanks for PrusaSlicer and enricoturri1966
commit f8ce187262df8ef588f649c414a095c971f36e67
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Wed Mar 9 11:51:02 2022 +0100

    Tech ENABLE_LEGACY_OPENGL_REMOVAL - Refactoring of GLModel to automatically detect the data type to use into the index buffer in dependence of vertices count

Change-Id: I8b05c5c01c1d06cc24d1981479f44c016a46b2dd
2024-03-25 15:29:19 +08:00
enricoturri1966 06b17c4fdc NEW:add measure gizmo new files
Jira: STUDIO-6166
most of the code come from orca
The original code is from PrusaSlicer and referring to the implementation of OrcaSlicer. Thanks for PrusaSlicer and OrcaSlicer , thanks for Lukas Matena and enricoturri1966 and so on.
commit f72d42f920334a05b0efa01f18eb4cc066809c00
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Tue Oct 31 11:43:04 2023 +0800

    Measure: Initial porting of Measure Gizmo

diff --git a/resources/images/copy_menu.svg b/resources/images/copy_menu.svg
new file mode 100644

Change-Id: I81afa52165f14c34e0c63f2c40c953a04d76fc8b
2024-03-25 15:29:19 +08:00
zhou.xu 4b91e78fb4 ENH:add "reset function" in cutTongueAndGroove mode
Jira: STUDIO-5804
Change-Id: I61fb10db65f5ab954473373ed585557c99212a8c
2024-03-25 10:42:29 +08:00
zhou.xu 1f75cd846f ENH:paint along line function auto enter front view perspective
Jira: STUDIO-5678
Change-Id: Ie93e8080fd4f45a8e21ff79a0248d85821797a83
2024-03-25 10:42:29 +08:00
Kunlong Ma 65ea5561f4 NEW: Add buried point information
JIRA: NONE

1.Add buried points for tool usage duration
2.Add different_setting_to_system buried point in Cloud printing
3.Add right click menu type buried point
4.Add device control operation page buried points
5.Add usage of parameter area
6.Add workflow include duration, is makerworld and file type
7.Add daily tips url and user guide url

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: Ibd41c07e6885645c260b85af7a3b7bb55f10d6d6
2024-03-25 10:42:29 +08:00
zhou.xu 6e8ff40ad5 ENH:add reset_cut_by_contours in on_load function
Jira:STUDIO-5269
m_connector_size_tolerance default value is 0.1f

Change-Id: I6c67fff3cb0c1190e9141ed6f68fbfa848679f35
2023-11-30 09:51:52 +08:00
zhou.xu fbcc9f58b0 ENH:cancel EnterReturnsTrue for imgui in cut
Jira: STUDIO-5269
Change-Id: I2832e1dccaf9755448debe7b2bd56426f90dfe0d
2023-11-22 11:06:25 +08:00
zhou.xu ba55b9712c ENH:display the euler angle of rotation plane
Jira: STUDIO-5268
Change-Id: I6b7b431931d60f1a9a832908400417781798c472
2023-11-22 08:23:38 +08:00
zhou.xu 7d33cb0ff1 FIX:cut imgui has overlapping rendering on Apple
Jira: STUDIO-5150
Change-Id: I7969e19dc189cd617026a183067dad628208955c
2023-11-22 08:23:38 +08:00
zhou.xu e9dbf52775 ENH:use on_render_rotate_gizmos() replace GLGizmoRotate3D::on_render()
Jira: STUDIO-4227
Change-Id: If9b9ea5596e59472d5fa87ac56aeb7f6ecc65643
2023-11-09 10:09:10 +08:00
zhou.xu 275dd249a1 FIX:added snap connector may not been selected
Jira: STUDIO-4960
Due to space in snap, added snap connector may result in not been selected

Change-Id: Ib2573a88c867ffc4d5839940a038dc2a193e979e
2023-11-09 10:09:10 +08:00
zhou.xu 6021d12110 FIX:cut reset failed after setted rotation Y=90
Jira: STUDIO-4814
Change-Id: I9f8c89744ddf0f48245c45af35f3193ff2cf929b
2023-11-09 10:09:10 +08:00
zhou.xu 8a8020e0a9 FIX:miss reset_cut_by_contours When synchronizing parameters
Jira: STUDIO-4227
Change-Id: Ia6c30a5ada478a320db158e1d10901044c53ecf2
(cherry picked from commit 93de292a97cef762cc62573b3efe98a66f44ecfa)
2023-11-09 10:09:10 +08:00
Oleksandra Yushchenko 771f8e6aad ENH:identify Upper/Lower parts for cut tool
Jira:STUDIO-4227
most of code from PrusaSlcer,thanks for PrusaSlcer and YuSanka
commit b40473be51fd1050fa4d7b2c3297230758085d46
Author: YuSanka <yusanka@gmail.com>
Date:   Thu Feb 9 08:52:07 2023 +0100
    CutGizmo: Improvements to identify Upper/Lower parts_count

Change-Id: I36cd64ec0a6ede696d22b854146fa3cdfd87ad91
2023-11-01 09:33:21 +08:00
zhou.xu f9f44d0785 NEW:add groove cut function
Jira:STUDIO-4227
Approximately 70% of the code comes from Prusa,thanks for PrusaSlcer and YuSanka

commit 492e356a21734b3503caae115fbb280da5fbaa22
Author: YuSanka <yusanka@gmail.com>
Date:   Thu Aug 3 16:09:28 2023 +0200
    CutGizmo: Fixed and improved Undo/Redo.
...

Change-Id: I63abb69180aec2ab0ce9bc8f30477d9e9a25a5fb
2023-11-01 09:33:21 +08:00
zhou.xu 67a4457b30 ENH:upgrade render_combo and calc_projection api
Jira: STUDIO-4227
Change-Id: I0cfcca0c7b845fe84647ed017a5f8cf757b3e46a
2023-11-01 09:33:21 +08:00
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 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 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 cd4cddfca4 ENH: Cut optimization, support for custom connectors
Change-Id: I65163314374fb74f0b16df47dacae82caa6fab0d
(cherry picked from commit 7bacc2c2a89be471f6fee51dd07a42222a28b55a)
2023-04-17 15:39:02 +08:00
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00