Commit Graph
93 Commits
Author SHA1 Message Date
zhou.xu 0b84dd5fd6 FIX:cancel is_equal for slicing function
Jira: STUDIO-5267
Change-Id: I66d759aa2c968f8a28a6a5d8378929754f2db689
2023-11-23 17:35:33 +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 099756fc1a FIX:fix bugs of non manifold edge
Jira: STUDIO-5267

Change-Id: I8ac9a2cf96da0bc07ee00b309e65611b92fd174d
2023-11-22 08:23:38 +08:00
zhou.xu b5bac96e39 ENH:is_equal for min_z and max_z
Jira: STUDIO-5267
Change-Id: I9493883d8be9d44e26ddc9afe62b7e9eb09c5052
2023-11-22 08:23:38 +08:00
zhou.xu 2798ce49ec ENH:add _A and _B for perform_with_groove
Jira: STUDIO-5267
Change-Id: Iee3310dfa1cd8e6680310f0af0eff5c817490813
2023-11-22 08:23:38 +08:00
zhou.xu dc8852c8e9 FIX: fix new_bed_shape's calculation process
Jira: STUDIO-5122
Change-Id: I5f3e6a301a297123af28692c90bef6759f425b06
2023-11-22 08:23:38 +08:00
zhou.xu 3fd1c6702a ENH:editing_window_width's value is small on the laptop
Jira: STUDIO-5238 STUDIO-5265
apply_selected_connectors should check_and_update_connectors_state

Change-Id: I8c2c1c920cc4d197d1908815a3e62f4962335451
2023-11-22 08:23:38 +08:00
zhou.xu f5637dac77 FIX: merge the patch from Prusa
Thanks for PrusaSlicer and YuSanka
Jira:STUDIO-5175
commit 510d59687b3b19c4a0f4e6540620d0694dd1b7ac
Author: YuSanka <yusanka@gmail.com>
Date:   Thu Oct 5 14:13:14 2023 +0200
    Follow-up 1b451cdf: Fixed #11415 - Connectors disappear when slicing => only when using multiple cut planes AND excluding parts

Change-Id: I9ccd5b85f482d723d21fccf5e104c9e0a9cc4849
2023-11-22 08:23:38 +08:00
zhou.xu dfa707fc7a FIX: rendered color changes
Jira: STUDIO-4956
during the drag processin connectors editing state

Change-Id: I3027176ea9f93a9ba9d6a2052f41aaa4adef79f1
2023-11-22 08:23:38 +08:00
zhou.xu 4adae5e595 FIX:not TakeSnapshot for m_start_dragging_m
Jira: STUDIO-5176

Change-Id: Ia03e3e2c2664dbdcffa19ec8d0fa97dfd95e6d35
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 0b68a3ac72 FIX:fix GLmodel deconstruction causing section not to be rendered
Jira: STUDIO-5156
Change-Id: Ibb2f459920989ee54f7b827352dc8893424b4de6
2023-11-09 10:09:10 +08:00
zhou.xu 8aa0c06137 FIX: missed manually entered values for secondary processing
Jira: STUDIO-4964
Change-Id: I5cf0da1ae77cccd34de05b4a0318a751ac9f6753
2023-11-09 10:09:10 +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 a9637ea52a ENH:translate for limit file size and so on
Jira: STUDIO-5007
Change-Id: I2c279eb690841aa51cd8128f8028266cbc17e977
2023-11-09 10:09:10 +08:00
zhou.xu 30faa26919 FIX:The plane should rotate around the world coordinate system
Jira: STUDIO-5054
Change-Id: I16e484b38d79cabd9473acf1abf3c5c6b0adc4c6
2023-11-09 10:09:10 +08:00
zhou.xu 008676510c ENH:add "Snap Global Parameters" imgui text
Jira: STUDIO-4959
Change-Id: Id410e318a4bc08da398dd7f4401ad211f6d03226
2023-11-09 10:09:10 +08:00
zhou.xu 1c416d5781 ENH:limit file size and collapse long text
Jira: STUDIO-5007
Change-Id: I8b36812c825ff41ade076e6375ed29f357dec814
2023-11-09 10:09:10 +08:00
zhou.xu 4a5bca2402 ENH:improve brightness for the slice of black model
Jira: STUDIO-3992
Change-Id: If4134a5fa4bd1620a550f9c2fca2b6e2d7207f06
2023-11-09 10:09:10 +08:00
zhou.xu 295c40709f FIX:Imgui's StyleVar not pop according to PushStyleVar
Jira: STUDIO-5000
Change-Id: I4bdafb41404651a19a211e2e1eec78169ff8b9f3
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 08bfc8d980 FIX:when init on_set_state(),m_hover_id should be -1
Jira: STUDIO-4955
Change-Id: Ida2c7564ca45cfd331dba933ac3bf93cf2c4cd34
2023-11-09 10:09:10 +08:00
zhou.xu 232bd94ac7 FIX:When undo, m_model is empty
Jira: STUDIO-4978
Change-Id: I73d468ceb567a9caf5109dbd0e00b5b0ea3beb52
2023-11-09 10:09:10 +08:00
zhou.xu 16ae34d906 ENH:add tip for upload_stl and upload_svg
Jira: STUDIO-488
Change-Id: I741642c6d0befc0b1d68924b20ace479042cac80
2023-11-09 10:09:10 +08:00
zhou.xu 633f1b05ec FIX:cancel undo/redo function of plate related geometric parameters
Jira: STUDIO-4864
Change-Id: I97dffd03bcdc7988edd09d99e612dbdced072009
2023-11-09 10:09:10 +08:00
zhou.xu b552a3c534 FIX:add_connector should check_and_update_connectors_state
Jira: STUDIO-4957
Change-Id: Iebdb5f537788c9f376bbd3cc407a0a495a988f98
2023-11-09 10:09:10 +08:00
zhou.xu 21e370e779 FIX:fix enable condition of "Object"
Jira: STUDIO-4958
Change-Id: Ibbd57ebe09697ec5011884eaaa72d4aa050c4bb8
2023-11-09 10:09:10 +08:00
zhou.xu 276aec19c2 ENH:translate "Left drag"
Jira:STUDIO-4945
2023-11-09 10:09:10 +08:00
zhou.xu 72401faeda FIX:fix to_ImU32 and modify "Left click" to "Left drag"
Jira: STUDIO-4952
Change-Id: I50e9a03400046aaa9e456540193db3db781ce43f
2023-11-09 10:09:10 +08:00
zhou.xu baaaeb0e14 FIX:clamp value should meet with v_max > v_min + 0.001
Jira: STUDIO-4870
Change-Id: I794312f654c03e75625d0b573bf7058248521242
2023-11-09 10:09:10 +08:00
zhou.xu 8c0ff69474 FIX:allow cutting into only an object
"keep" modify to "Keep orientation"
Jira:STUDIO-4227

Change-Id: I37759258f527ce1aa1f6b66dd4918eab135cb583
2023-11-09 10:09:10 +08:00
zhou.xu 34d3722799 FIX:fix BBLDragFloat api
Jira: STUDIO-4870
Change-Id: I53f1fca3a701b5a5cd28d12d954b050e69ed260f
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 17e9bb48d8 FIX:Replace v_barycentric by gl_Color to slove factory computer issues
modify Shortcut keys to toggle Wireframe
Jira: STUDIO-4772

Change-Id: Ica5c1c6c0a41ed247c85173b3b0437632f596e7d
(cherry picked from commit 79a1805e8fde6e0b735a529ab7c7c7fe9015865b)
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
zhou.xu dbf09553f8 ENH:translate new words for cut tool
Jira: STUDIO-4227
Change-Id: I4f0b7e9fbf3499ada3b5e1397654ea5a0ca595a5
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 74f8ba13c9 FIX: missed to delete texture
Jira: STUDIO-4574
Change-Id: I8884380158d3d20ce76a07cbcaa8531ab039357b
2023-11-01 09:33:21 +08:00
zhou.xu 1fd93b35f6 FIX: reload bed_texture should reset before
Jira: STUDIO-4574
Change-Id: I0bfe8a936347438d06dcdf3faca83a00b02a8677
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
zhou.xu 101ca69402 ENH:translate "Bulge" and "Gap" in "snap" view of cut tool
Jira:STUDIO-4227
Change-Id: I208efe4d8af3cc2f41a6d584ccbc6838a9311c72
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 26b8ca6599 NEW:add flat shader for cut tool
Jira:STUDIO-4227
thanks for PrusaSlcer and enricoturri1966

commit 76d1d4949bbd0964717f8112aae992a1267c5eb4
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Mon Mar 21 13:10:47 2022 +0100
    Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140
...

Change-Id: I4db00805830f07a5eaa95cfc7b8254c61b86f0c8
2023-11-01 09:33:21 +08:00
zhou.xu b32b1d2462 FIX: fix null pointer in save_printable_area_config api
Jira: STUDIO-4209
Change-Id: I71649e2f7aa0a76e13da7ef6d555c0a66a067799
2023-11-01 09:33:21 +08:00
zhou.xu 487c86e915 NEW: support to edit bed stl and texture for third-party printers
Jira:STUDIO-4209
some codes are referenced form PrusaSlicer,thanks enricoturri1966 for the original commit

commit cf380fb456
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Tue Sep 21 13:51:57 2021 +0200
    Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Out of bed detection for circular printbeds
...

Change-Id: I1b1e2ff045286566d4fb9f2d8ad4faa1f135f60c
(cherry picked from commit 284bca9f1f4cdb9eb405e8205cd50666a2b0b2a0)
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
zhou.xu 5658d32633 FIX: enable wireframe in paint tool
Jira: STUDIO-3996

The buffer data submitted when the wireframe function is closed is half less than the buffer data submitted when the wireframe function is open

Change-Id: I92542190a5a45f562ec89d7c41fef3cdf1c26418
(cherry picked from commit b95650954f8bdb0cf81a2063efba4b2fced13a2f)
2023-11-01 09:33:21 +08:00
zhou.xu 8fe8bbe297 FIX: translate "Bottom"
Jira:STUDIO-4262

Change-Id: Iaf1c0b444de8cfcf7428b3502fdc94f836e529db
2023-11-01 09:33:21 +08:00
zhou.xu eb7f53d6c1 FIX: modify enforcer and blocker color
Jira: STUDIO-4304
Change-Id: I1d58d1b61929a831fc87f53ef364eb0d1af91c17
(cherry picked from commit 40022ec91a15f2663ce51948118fe2a5b716ecdf)
2023-11-01 09:33:21 +08:00
zhou.xu bcd8c90b4f FIX:add new light for text shape
Jira: STUDIO-2623
Change-Id: I3a189154455040e8c2cb41ff8d8ac065661406ad
(cherry picked from commit 5854839c8f552b136cca6b3ff75605fa1e696fd0)
2023-11-01 09:33:21 +08:00
zhou.xu 7df99021c1 FIX: normal_matrix calculation lack transpose in overhang
Jira: STUDIO-4244
Change-Id: If706f098c43f15aa407dde68e8a914bd53ab7188
2023-11-01 09:33:21 +08:00
zhou.xu aaeebd7fe3 FIX: Upgrade the texture image
align texture image  to the grid of the x1 machine
Jira:STUDIO-4206

Change-Id: I7dcc5061017f355f30b3f584180751ec7a3f391b
2023-11-01 09:11:19 +08:00
zhou.xu 59f0b580a3 FIX: cancel grid undo/redo function
Jira: STUDIO-4150
Change-Id: I854a1ef2a5fade8e5702fc6e2e31c98ff2207eea
2023-11-01 09:11:19 +08:00
zhou.xu 4a143ed8b1 NEW: add bottom setting for height range function
Change-Id: I0a818dde1e44e9f4475222038916c5ef992461de
2023-11-01 09:11:19 +08:00
zhou.xu 6f8005c306 FIX: improve brightness for the slice of black model
jira:https://jira.bambooolab.com/browse/STUDIO-3992

Change-Id: Ib25112af68bb9a86b13f9b0c6f4a8229e6d2a15f
2023-11-01 09:11:19 +08:00
zhou.xu 780d9a7e93 FIX: add cursor and enter processing for plate name
github:https://github.com/bambulab/BambuStudio/issues/2262#event-10081065971
jira:https://jira.bambooolab.com/browse/STUDIO-3992

Change-Id: Ie6120a8ff99f9568f9e42800429a1c5b378fc28f
(cherry picked from commit dbfc17943fa912470f26de1615088c87bd022b4e)
2023-11-01 09:11:19 +08:00
zhou.xu 9b980c9bc6 FIX: The cancel button should not make plate name valid
Change-Id: Id2b3935e87d443f5a594fdd588a63e502c0321e5
2023-11-01 09:11:19 +08:00
zhou.xu fd89e4c256 FIX: remove N1 setting and auto match textures based on printing area
Change-Id: Ia208c7436901a722c8c4e2caa3d7573fd0714432
2023-11-01 09:11:19 +08:00
zhou.xu ef805f0c5a FIX: change the max length of plate name from 40 to 250
from github user:https://github.com/bambulab/BambuStudio/issues/2119#event-10014273957

Change-Id: I3db2db78f7c870864123789d8ac5eadc31702944
2023-11-01 09:11:19 +08:00
zhou.xu 7a3dcda2a2 FIX: avoid the bug in wxControl::Ellipsize api
exist a bug where the last bit of Ellipsize api in the wxwidgets is an out of bounds array with the '&' symbol.

Change-Id: Ie54f7958195815bd9b028f86284cc5da582cee8a
2023-11-01 09:11:19 +08:00
zhou.xu 287547132f FIX: remove_invisible_ascii
Change-Id: I5d9b2dcf21b5ba2842b27da6603a0ac4365545ff
2023-11-01 09:11:19 +08:00
zhou.xu c522ed8ec0 FIX: calculation error in overhang area
bug: There is a part of the overhang area in the model that cannot be applied

Change-Id: Ia1045225776ccb0e8730912aae1d4c7509f40c5b
(cherry picked from commit daa3e131564690e9e169313d147fd84537b898ca)
2023-11-01 09:11:19 +08:00
zhou.xu 1f30783f11 FIX: undo/redo plate name
Change-Id: Ic47d399ecce25db4a5b6cbd1f58b821c6cb36136
(cherry picked from commit 0c11d73777d507381419d928549143c9ee56682d)
2023-07-31 14:29:15 +08:00
zhou.xu 43b1464bf3 FIX: deleted plate name donot update
fix the issue of deleting plate name after entering some character

Change-Id: I572a922b05b3f5e83ad956a7b4fb197430f13df5
(cherry picked from commit bfb5f58e1d29a6f518915882736453fe425ad984)
2023-07-13 10:35:05 +08:00
zhou.xu d4e7cc926f FIX: texture is black when plate name is all space
Change-Id: I73962df92592aba7921a6d481fe0951a93c27455
(cherry picked from commit 2737c1d0b46c1ace30978412462cc37d03925685)
2023-07-07 17:52:43 +08:00
zhou.xu d7b31ae2b7 FIX: fix plate name height
Change-Id: I531d846e4db0c0b39e6b79ad8274c739713ae7ae
2023-07-07 17:52:43 +08:00
zhou.xu 7fe0adb6e8 FIX: Increase the calculation speed of limiting plate name width
Change-Id: I0f17056b0048ca959eacbd9f6a41471df6bc2124
2023-07-07 17:52:43 +08:00
zhou.xu a602caaeea NEW: the length of the plate name does not exceed the print area
Change-Id: I3d49b3db8d28f4ce435733d972e209d53a00967c
2023-07-07 17:52:43 +08:00
zhou.xu 32892514ff FIX: correct the bed model to the print area origin point
Change-Id: Ieb856dff421d39694966e3c13c519f4ffa3da5c2
2023-07-07 17:52:43 +08:00
zhou.xu e55aa34da0 NEW: add plate name edit function
Change-Id: Ic2aacd8617856efd2f528bddab74e5881df28e01
(cherry picked from commit b0bd89928ed974aa77a0b2f4138c53899ae8ba93)
2023-07-07 17:52:43 +08:00
zhou.xu 1aa51e9a99 FIX: cannot immediately update the left list
Right click modification cannot immediately update plate_name the left list

Change-Id: Ieb2a38d687f79195a9748e093c0d96a36236d1b5
(cherry picked from commit 2331c2e4fe4de3350a3c3765b7e00f30025addff)
2023-07-07 17:52:43 +08:00
zhou.xu fadb421e63 FIX: click left plate in preview,camera is not correct
Change-Id: If1459050c2f929f8ecdfd7ca22bd31c11de01fed
(cherry picked from commit a2df7c9d1f2b3c65f02f94d7fa73417adab0c6a2)
2023-07-07 17:52:43 +08:00
zhou.xu 2093404af3 FIX: directly view overhang through the menu
Referring to Cura's logic, open "show overhang" menu to directly view the overhang effect without the need to turn on the support function

Change-Id: I7839a7559b05a12fc33e0919bc8a6b4948fc89a7
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
zhou.xu cc447bf122 FIX: render the opaque shell to the transparent shell
alpha channel is not need to update in shell

Change-Id: I4ad3caa7d40f69ec799f1076cf617805ba1a240b
(cherry picked from commit 315605926764121f6d0ccedf0e88a1ffc3aa0b46)
2023-07-07 17:29:08 +08:00
zhou.xu ca81c370fd FIX: delete special symbol for filename
delete special symbol when plateName for filename

Change-Id: Ibb6b6603bc2ca040cb765dbedd013564ebcf3dff
(cherry picked from commit 840c085ae842e77b81de73def038fa9b417eac84)
2023-07-07 17:29:08 +08:00
zhou.xu eca3d311d7 FIX: Opaque display after completed slicing
Change-Id: I944f5063ba41b767d01a26052e23bd803425b081
(cherry picked from commit f4d5ef5814c50d8477ac21e58182b00dbb20d6c8)
2023-07-07 17:29:08 +08:00
zhou.xu f9a1e203df FIX: update mo and mo files
Change-Id: Id93c1334b562fb85af64ebe55b47016c5a0511f3
2023-07-07 17:29:08 +08:00
zhou.xu 9392e3a9f1 FIX:fix transparent 3D display
Change-Id: I6b7a09842d68c0417ae66640463b540500290848
(cherry picked from commit fce7e678802d3087728eafa93992999cc745bd0a)
2023-07-07 17:29:08 +08:00
zhou.xu cc33bb90ca FIX:update_target() in get_target()
Resolve the issue of camera rotation and translation, which cause a change in perspective

Change-Id: I2a8b8bcb7449082869206a7beada22e9029f4959
(cherry picked from commit baf2d7184c6bc8789d02aff1897c3e989f9ce03f)
2023-07-07 17:29:08 +08:00
zhou.xu a1faa927cc FIX:translate "Edit plate setitngs" and so on
Change-Id: Ie82c5e9e4c26b6d72722914192296925ad36ff48
(cherry picked from commit c7ed2e139bccf6ef1cf18c7c232c0c759db19578)
2023-07-07 17:29:08 +08:00
zhou.xu aca2e18549 FIX:Platename allow input of spaces,and its total length can reach 40
Change-Id: I97f9ddd5be472faa0ba1f1dfaa5863353b967225
(cherry picked from commit 1c7acc70660a165dd6d9d732ee574fbb9c4e9fde)
2023-07-07 17:29:08 +08:00
zhou.xu b849a82725 FIX:Remove all spaces and special symbols in the plate name
Remove all spaces and special symbols like \ / : * ? " < > |  in the plate name,allow xml special symbols such as & '

Change-Id: I2b391d13be709af0e47f1573c0e225e63591fd23
(cherry picked from commit 135c97e9916c852a8625d9d9bf0a4dda051b6e2b)
2023-07-07 17:25:51 +08:00
zhou.xu 531757366e FIX:Calculation returns auto is optimized in camera class
Change-Id: I753b96702955a320872cb34893de5e201c407551
(cherry picked from commit 1f2c5e8801fc58db8c438a0ae8c5afd62023e5ff)
2023-07-07 17:25:51 +08:00
zhou.xu 28532b990b FIX:m_target of Camera is not updated
m_target of Camera is not updated in these api:  Camera::translate Camera::set_distance

Change-Id: I2a6a878700849e062fca7a65e53baa03d64312c4
(cherry picked from commit 835ee9fdea77259c155ceae4d3abe62385e7a853)
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
zhou.xu aa82c67e5f FIX:Change Camera for support, coloring, and z-stitching
Using the same camera as the assembly drawing for support, coloring, and z-stitching

Change-Id: I2f9a5724e43cd10a30658e742ed7986e49958668
(cherry picked from commit 8fd0d3e342b329fae93150677677565ec7c04a05)
2023-07-07 17:25:51 +08:00
zhou.xu 507a8a6d36 NEW: add overhang highlight area
overhang rgb=(200,0,0),remove supportType,do not save para after overhang operation preview

Change-Id: I947bbd9db264f00f0609b3f02140060f9a2621fb
(cherry picked from commit 796c4460fe998da206f9ca77973a20796fa1d3ca)
2023-07-07 17:25:51 +08:00
zhou.xu fdd7d11b14 NEW:Enhanced disk name function
Right click to modify the disk name, which is also displayed in the left UI bar
# Conflicts:
#	src/slic3r/GUI/GUI_Factories.cpp
#	src/slic3r/GUI/GUI_Factories.hpp

Change-Id: Ib688bef58d75fba1e5df4f201bfdcef7a3872308
(cherry picked from commit 019681ce69e115e8e4602a93dcb3dc61f20ecba5)
2023-07-07 17:25:51 +08:00
zhou.xu 2b9f3c9912 NEW: add plate name
referenced OrcaSlicer code and support for Chinese textures,chinese xml,limit plate_name length,Code decoupling,wxColour use Local Variables

Change-Id: I6434b90efb2f90235527c7dfb3a7ed516ac2cf4b
(cherry picked from commit 0ecfefb0e1cfccbe73b0fcc530e04e6405ecf68a)
2023-07-07 17:25:51 +08:00