Commit Graph

36 Commits

Author SHA1 Message Date
zhou.xu c7f5569d75 FIX:use full_unscaled_instance_bounding_box in world scale
jira: none
Change-Id: Ia42f7f2a0150d86be75d8fd86d045f3560f5ff07
2025-04-15 08:24:10 +08:00
zhou.xu bc56a321ad ENH:fix warning
jira: none
Change-Id: I889983f87cbeabcaff6475e2b40d35e90e774e20
(cherry picked from commit 447c2d1f4081bf3f2fb784ec06ec05672748446b)
2025-03-23 20:14:29 +08:00
zhou.xu ab60fcae03 FIX:fix bug of model object in instance coordinates
in move gizmo
jira:STUDIO-9180

Change-Id: I5c637dcfd1b284c833102097d510af747fbf7769
2025-03-22 21:48:41 +08:00
zhou.xu 496d69f9d1 FIX:add "absolute rotation" in rotate gizmo
jira: STUDIO-8726
Change-Id: I23deb4ab11cf24ca4f0f0c5a35a74268c34f60f6
(cherry picked from commit d26b8f9fcadf8f7709a302991e43be711560e84e)
2025-01-09 19:32:26 +08:00
zhou.xu e234d8bcdf FIX:fix Chinese display garbled characters
jira: STUDIO-8374
Change-Id: Ifc0e18f745474b5b55e39841a04fae6b4074e05a
2024-10-15 15:50:26 +08:00
zhou.xu 738e3f004d ENH:add "reset real zeros" button in rotate gizmo
jira: STUDIO-8291
Change-Id: Ia10e4d8a2a3a073c22a1306aeab9ffa3e7b77c2b
2024-10-15 15:50:26 +08:00
zhou.xu c6d9f2685e FIX:delete old selection.translate api
jira: STUDIO-8201
code is from PrusaSlicer,thanks for PrusaSlicer and enricoturri1966
commit 88ce6ccdef5f680709ea8b676688784a7af287dd
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Wed May 11 10:54:42 2022 +0200

    Tech ENABLE_TRANSFORMATIONS_BY_MATRICES -
Change-Id: Iafe963f0f7bf9028f32a4fb4a4cc8cc609662283

Change-Id: Ibbc36c004734f35564f0028dd1e537ac926a2f1f
2024-10-15 15:50:26 +08:00
zhou.xu 9541e2d05e NEW:add interactive function after importing SVG
jira:STUDIO-7406

most of code is from PrusaSlicer and OrcaSlicer,thanks for  Filip Sykala - NTB T15p(PrusaSlicer) and Noisyfox(OrcaSlicer)
 Port Emboss & SVG gizmo from PrusaSlicer (#2819)
* Rework UI jobs to make them more understandable and flexible.

Change-Id: I765c7658b0881869754bdb161d720e4cbb180c92
(cherry picked from commit 3cef4611793899fa0ac39cb4d3a3abed7270a8e9)
2024-10-15 15:50:26 +08:00
zhou.xu 4091f3e042 ENH:fix text coordinate system calculation
jira: STUDIO-6449
Change-Id: I36214c14c348e8f52b96501cd027205819b0dabc
(cherry picked from commit 44287812a0cb212f1bf6fe70e32e1075f532886d)
2024-10-15 15:50:26 +08:00
zhou.xu 065dddb890 FIX:add wipe tower'position in move gizmo
jira: STUDIO-7861
Change-Id: I8147717bc61ba06a7e1fba45532cdadc2ba1174e
2024-10-15 15:50:26 +08:00
zhou.xu 97f63f167e FIX:limit scaling ratio by grabber in scale tool
jira: none
Change-Id: I20a4404d4e4025ae230ab46ba8d8d3e5ffed10e3
2024-10-15 15:50:26 +08:00
enricoturri1966 e412fa3492 ENH:set "Rotate (relative)"
jira:none
code is from PrusaSlicer,thanks for PrusaSlicer and enricoturri1966

commit 243985173e70c189ad9a86eefaaea0757d9749cb
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Thu May 12 14:33:41 2022 +0200

    Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Allow for relative rotations

Change-Id: I851939093ffb6881542fb21b434e17cc31a6dab2
2024-10-15 15:50:26 +08:00
zhou.xu c0536c09b4 NEW:add "world coordinates" scale for scale gizmo
upgrade Transformation class
jira:none
about 75% code is from PrusaSlicer,thanks for PrusaSlicer and enricoturri1966
commit b32e9366606dce7d4f8de8db84fd902113bdbe28
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Tue Mar 7 14:32:18 2023 +0100

    Rework of constrained scaling

Change-Id: I1248ea586e6b8f2fb6cdf3aa901ed7f525c3f111
(cherry picked from commit e10381aad1412b0c47afa340b634faa3af9d1a1f)
2024-10-15 15:50:26 +08:00
zhou.xu 56f628dac1 NEW:add "set grabber size" imgui
jira: STUDIO-7395
Change-Id: I87aeb683cf29e004d6b285810c5135f2b45ae4b9
2024-10-15 15:50:26 +08:00
zhou.xu 0d393d64b8 FIX:scale and size sholud >0 in scale tool
jira: STUDIO-7433
Change-Id: Ibd4d00d9ca4762d002049e97a6d0819649f464db
(cherry picked from commit eaaf11031ee49009af14abbd05bb4a07c88aceda)
2024-10-15 15:50:26 +08:00
zhou.xu f5eb2899e7 NEW:add tip button for move,rotate,scale
jira: STUDIO-7273
Change-Id: I44aeecd8aaa17ec49ac1d8ff2bee5c3729c52061
(cherry picked from commit 998f33b4ce588f59cef345e327a97f6f669f6089)
2024-10-15 15:50:26 +08:00
zhou.xu 8400e162a7 ENH:add a cross mark for object cs
jira: STUDIO-6947
Change-Id: Iaaab4f072045756ac3ba12c3f65e1c7f04ba65b8
(cherry picked from commit a2a2f49b4d94f257d36c9d17b4ec952e5dc9f0eb)
2024-10-15 15:50:26 +08:00
zhou.xu c89732a046 FIX:fix imgui style at Object coordinate
in move tool
jira:STUDIO-7141

Change-Id: Ib2900012c28878c4e7ad97eb0cf319f693cb9f6f
(cherry picked from commit b7b09c82897678c4f3615713bc5d1cc7a3b17b19)
2024-10-15 15:50:26 +08:00
zhou.xu 98cce3b656 NEW:add Object coordinates in move gizmo
jira: none
Part of the code references PrusaSlicer,thanks for PrusaSlicer and enricoturri1966
commit c12eeee12f9e2c91a9dfe7905f1370143805f038
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Mon Oct 2 14:26:36 2023 +0200

    SPE-1926: Tech ENABLE_CGAL_BOUNDING_SPHERE - Use selection's bounding sphere center as pivot for rotations

Change-Id: Iae7e4539c198af3ff1aa99e1c0ce015fbcf80256
(cherry picked from commit 2b73bc915ee27218c9803ba0a01b0d3e47adf1da)
2024-10-15 15:50:26 +08:00
zhou.xu d9e47bd9a9 NEW:add move and rotate gizmo in assemble view
Jira: STUDIO-6545
Change-Id: I30ab8155f5288953b36cd9a301ce3596d6edc0c6
2024-04-08 19:50:03 +08:00
zhou.xu 6dad59102b FIX:fix scale problem
add tool tip for move,rotate,scale gizmo
Jira: STUDIO-6425 STUDIO-6419

Change-Id: I0b89c9b70f83cde21c6a407bcecd78c925515cfa
2024-03-25 15:29:19 +08:00
enricoturri1966 0b46b9848b FIX:world cs is displayed incorrectly
The value of world coordinate system for model_volume
is displayed incorrectly

Jira: STUDIO-6399
code is from PrusaSlicer
thanks for PrusaSlicer and enricoturri1966
commit 325709c5ae9b937867b36103a41d12a102c99292
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Thu Jan 26 15:49:00 2023 +0100

    SPE-1419 - Fixed reset skew resetting mirror, reset scale resetting mirror, changed labels in Object Manipulator panel, scale of instances using the Object Manipulator panel always made as absolute

Change-Id: I30fdd39effd73b8dc027e4263fa7e64937b84326
2024-03-25 15:29:19 +08:00
zhou.xu f6f27b700f FIX:arrow direction in scaling tool is incorrect
Jira: STUDIO-5672
Change-Id: I82c0ab336805e34c8380f93e64d3b9dbbf283805
2024-03-25 10:42:29 +08:00
zhimin.zeng 2565a66b6d FIX: set uniform_scale false modify the scale ratio
STUDIO-3364

Change-Id: Idd5f5640cb7bb6eb5b5dbb2c829f6dce2e61fe3c
2023-07-07 17:52:43 +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
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 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
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 92c6f85586 FIX: Revert uniform scale modify
Revert "ENH: save uniform scale to an app_config item" Revert "ENH: do uniform scale if uniform_scale is true"

Change-Id: I069baecec143e77d796247f29cd5478b877971fb
(cherry picked from commit c7cf95cf5c365f314a53fead6612fac84a0a5f71)
2022-10-20 19:34:37 +08:00
zhimin.zeng 24778543e2 FIX: remember the status of uniform scale
Change-Id: I60f36d6ac6e9be1be4b3e45bd3e7868dcd062e5d
(cherry picked from commit b1cde25a722a62720f7a877c985246078320149c)
2022-10-20 19:34:37 +08:00
Stone Li 2996affc55 ENH: save uniform scale to an app_config item
Change-Id: Ib4a42597308382ea195d73776790e9cd4a122b76
2022-09-29 11:16:43 +08:00
zhimin.zeng 1ed06855a9 FIX: When rescaling an object, "Uniform scale" is checked again
Change-Id: I850c63abe77e45380f49cbd96cfd6e500252d89c
(cherry picked from commit a2bbbd7051427d54aefd28a9bd6fcf3269eb304c)
2022-09-29 11:16:43 +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
zhimin.zeng 3d80bb52dc FIX: fix issue STUDIO-452
wrong transformation when sub model is rotated

Change-Id: I40e7ad0f808dd4d3445f4556ae517f5284e1a65c
(cherry picked from commit 6d1328a4eb630a08a9c635f0efea2a057283329e)
2022-08-05 16:11:42 +08:00
lane.wei e9e4d75877 Update the codes to 01.01.00.10 for the formal release
1. first formal version of macos
2. add the bambu networking plugin install logic
3. auto compute the wipe volume when filament change
4. add the logic of wiping into support
5. refine the GUI layout and icons, improve the gui apperance in lots of
   small places
6. serveral improve to support
7. support AMS auto-mapping
8. disable lots of unstable features: such as params table, media file download, HMS
9. fix serveral kinds of bugs
10. update the document of building
11. ...
2022-07-22 20:35:34 +08:00
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00