Commit Graph

261 Commits

Author SHA1 Message Date
zhou.xu 2a7a3f9960 NEW:add "svg" in right menu
jira:none
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: I06bf1e4db0068b8b452083a1624dec2620e5d336
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
Mack 92c85a13d0 NEW: add brim ear gizmo
jira: STUDIO-7378
Change-Id: Ib6b5dbd3b113981612b05e01e59f62054ff0b654
(cherry picked from commit 37120830a2f958f464719db1f5d0180882bc4095)
2024-10-15 15:50:26 +08:00
Arthur 45386c862f NEW: auto arrange after bed size changes
1. auto arrange after bed size changes
When the bed size changes from big to small, auto arrange items outside
beds, while keeping the inside ones still.
This action can be undoed with ctrl+z.
2. Fix the issue that double clicking the orient button of plate causes
a never disappearing busy cursor.
jira: STUDIO-7978

Change-Id: I5ee1f73b80735777c21438a01cbc4649d8cce3fa
(cherry picked from commit f67fd877ea7b07148dc9539938ba319a4f960d0e)
2024-10-15 15:50:26 +08:00
zhou.xu 53d7c755a7 NEW: add "render non_manifold_edges" function
jira: none
Change-Id: I620e095740c60a8c9d4ceb33d6b3a44ab3d17f05
(cherry picked from commit f71b0fdeee18e3fb1482fa3e5f1121d33724b1a7)
2024-10-15 15:50:26 +08:00
zhou.xu 49f67b80e5 FIX:use extruder_clearance_radius para not max radius
jira: STUDIO-7851
Change-Id: I34b00a5997fbebe89519fb17545c8a5f6c948bcf
2024-10-15 15:50:26 +08:00
lane.wei e0b5be5416 FIX: GLVolume: fix the crash under CLI when load object with lod_enabled
add log_enabled param when loading volumes
JIRA: no-jira

Change-Id: I77806622f6b9c5abc723adc389fbb7bd8dc414c5
(cherry picked from commit b2513b139547dfcce0f277fba9ec3d621f09bfa5)
2024-10-15 15:50:26 +08:00
zhou.xu 95e8ca7285 FIX:select all should ban in paint,cut and so on gizmo
jira: STUDIO-7872
Change-Id: Ic6496dbdd892814e1fc41625ee34ffc46f171657
2024-10-15 15:50:26 +08:00
zhou.xu 715d2b9b78 FIX:add can_sequential_clearance_show_in_gizmo api
jira: STUDIO-7836
Change-Id: Ie0cded272596bafee4e491e379722dcc23035dc4
2024-10-15 15:50:26 +08:00
zhou.xu 4bf4e1bb91 ENH:enhance render performance
jira: none
Change-Id: I23ba97d0a00752a131b719436bd062cd0b79e9d2
2024-10-15 15:50:26 +08:00
zhou.xu eec7de441b ENH:add "volume selection" checkbox
jira: none
Change-Id: I68b5f54e37ea2ab9e2b65ac84abc834060f400df
2024-10-15 15:50:26 +08:00
zhou.xu 5a4c51a31f FIX:continuous click can add new plate
jira: STUDIO-7609
Change-Id: I0888c62777c0675be2639e493edbf43d2af90999
2024-10-15 15:50:26 +08:00
zhou.xu bcde272546 ENH:continuous click can add new plate
on same mouse pos
jira:none

Change-Id: I45ddd8fb823c470f8417482272b952602e71a6c8
2024-10-15 15:50:26 +08:00
zhou.xu 437dade362 FIX:ban cut connector move
jira: none
Change-Id: If3dcc18d95be1fd13fc806e26066942ce8603e7a
2024-10-15 15:50:26 +08:00
zhou.xu 0e88cb8858 FIX:world to screen calculation was error
jira: none
Change-Id: I13f978e4c15882c271ffe6c6fc5fbcf69482a224
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 2af6c4f4f4 FIX:ban object drag downward when camera is horizontal
jira: none
Change-Id: I8dd64eadb783aababb12a707fe78bfe29d1f8a50
2024-10-15 15:50:26 +08:00
zhou.xu 01e2a2032b ENH:import obj by right menu set new assembly pos
jira: STUDIO-7409
Change-Id: I089aea9333cf0f894dbfa67b09fbb8019c6f6023
(cherry picked from commit ab249fa3b4ec9f5e2965c7cffdbbe1f3f2d14332)
2024-10-15 15:50:26 +08:00
zhou.xu 18a0a7e6e7 ENH: 3d mouse shortcut change to ctrl+m
jira: STUDIO-7448
Change-Id: Ie444d9d84ef644694ab63a16722c9810bc1560fb
(cherry picked from commit 5edced9d4b371f2a7f8c8f511845fc9084db0f87)
2024-10-15 15:50:26 +08:00
zhou.xu 6e458699cf FIX:modify 3d mouse shortcut and add a menu
jira: STUDIO-7290
Change-Id: Ie05b3cfd5d34a5626b39bda16815936cecc1e991
(cherry picked from commit a2b7e0c74289b2faffb6a568c511401540a07dce)
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 2822ac102b FIX:move text should update text info
jira: STUDIO-7038
Change-Id: Ibd760c3655e6ff3f7c0a5604ef66e001f7cdc1fb
(cherry picked from commit aef92cd8eb9bae95939fdc1e8dfadec4ca529a3e)
2024-10-15 15:50:26 +08:00
zhou.xu 795ec50eb4 FIX:return bar pos only been modified in 3d view
jira: none
Change-Id: I353b2245f8032707c593985eff20bbecc6905525
(cherry picked from commit 01bbdc0b303ab3832e88c580159e73aedd80b929)
2024-10-15 15:50:26 +08:00
zhou.xu b035115b06 ENH:modify "return" bar pos and Text
jira: none
Change-Id: I541c0006ffd8d2e8c815c5316c8cc858266da580
(cherry picked from commit bfdf139a41c551c4a62271f8bb34dd0447e68c8d)
2024-10-15 15:50:26 +08:00
zhou.xu 9eb08038b6 ENH:update the camera's horizontal rotation radian
if the camera is already horizontal

jira: none
Change-Id: I45c88d0c394421e90404c8749192bb4bd7b6543b
2024-10-15 15:50:26 +08:00
zhou.xu 0e692f472d FIX:modify range of camera horizontal angle is 9 degree
when drag object
jira:STUDIO-7087

Change-Id: Idd3141daa025cd9c57ba5a1c8df79c583eeb8ed4
2024-10-15 15:50:26 +08:00
zhou.xu 7750c82ebf ENH:"Option" key on Mac is equal to "Alt" key on Windows
jira: STUDIO-7218
Change-Id: Ic2ce789e1b874fdbb7829b8814e7a851f0af8aaa
2024-10-15 15:50:26 +08:00
zhou.xu bd9d5efff9 FIX:ban wipe_tower rotate by page up key
jira: STUDIO-7504
Change-Id: Icffaad78ed5750085da3d42d6f4209bd0d7a21e8
(cherry picked from commit efc768113d42f5278baa72171072f64411256594)
2024-08-26 17:23:33 +08:00
zhou.xu cc010d6593 ENH:translate texts
jira: none
Change-Id: Idce1a24bfb02174874ec5064e8dbe3367e0052c3
2024-06-11 18:17:08 +08:00
zhou.xu 515f947334 ENH:add an tip icon for assembly view
jira: STUDIO-7155
Change-Id: Ie9e4fa578c8aa5bda9ff771d82f396f8b51026bb
2024-06-11 18:17:08 +08:00
SoftFever 98dc111d71 NEW:add tab key to change 3D to preview
jira:none
code is from OrcaSlicer,thanks for OrcaSlicer and SoftFever
commit 2a478ab4f9bdc1bc1fbc9dfadbb717df6e5a38a9
Author: SoftFever <softfeverever@gmail.com>
Date:   Sat Aug 26 18:24:13 2023 +0800

    post changes after merging BS1.7.4

Change-Id: Iec176023f6f8e4b93a3756a78e31f85b249d1dfa
2024-06-11 18:17:08 +08:00
zhou.xu c248f81ba4 FIX: sync ams colors to m_cur_colors_in_thumbnail
jira: STUDIO-6793
Change-Id: I2f180f31f75eac8ea55db659370642721944cbbe
(cherry picked from commit 6b0ef9ba9fb62c0eef18d84f88309cd693564618)
2024-06-11 18:17:08 +08:00
zhou.xu 5ced03779b FIX:fix abnormal pixel issue
Jira: none
Change-Id: Ia2a5a2edf17637338ff88c626294a29df3efde46
(cherry picked from commit 77ef554c94d4153ec3495a1c2b0bbab6b5714af1)
2024-06-11 18:17:08 +08:00
zhou.xu 47c442a61e NEW:add no light thumbnail
Jira: none
Change-Id: I3c0510dd4d7e444f1a6326b7a59a0ebd5e7aa410
(cherry picked from commit a3d8c36783716e24f39803a8c146a43b1014c092)
2024-06-11 18:17:08 +08:00
zhou.xu e222dc21f4 ENH:SLICE_FAILED stats is more obvious
Jira: STUDIO-7051
Change-Id: I743caefa4eb454f36e8b4fb0fd519e6ab9139b29
2024-06-11 18:17:08 +08:00
liz.li 6d0280da16 FIX: add can slice judgement in slice all plates processing
jira: STUDIO-6325

Change-Id: Ic7fb8cef000c03210bb77289a570ee6b60b6083e
2024-05-13 09:20:46 +08:00
zhou.xu b02661e85f FIX:add exit_gizmo before slice model
jira: STUDIO-5531
Change-Id: Icddc9d73b3d91bb68e9768d13e48cbae0680e58e
2024-05-13 09:20:46 +08:00
zhou.xu 1804290caa FIX:force_native_colol should be false in gizmo text
Jira: STUDIO-6778
Change-Id: Ib3b75ed3160f3ec41d3130cd37d14d77afc30f64
2024-04-10 20:03:44 +08:00
zhou.xu d02f9561a8 FIX:not need deal SINKING logic in assembly view
jira: STUDIO-6730
Change-Id: Idca375293377ec219f79873d29e963b50cafa8df
2024-04-08 19:50:03 +08:00
zhou.xu 4cb8bac4e2 FIX:allow some case to modify distance
Code fallback:reload scene
in 3D view  GLVolume::explosion_ratio  = 1.0
hide "Edit to scale" icon
Jira:STUDIO-6727

Change-Id: Ib7079077f5b39930891869af618b93861f3aa178
2024-04-08 19:50:03 +08:00
zhimin.zeng 309010fff2 ENH: add precise_z_height
jira: none
Change-Id: Idb9fcf0063e773f1531a49961478460b91ded10f
2024-04-08 19:50:03 +08:00
zhou.xu fa53be3736 NEW:add measure gizmo in assemble view
Jira: STUDIO-6545
Change-Id: I83b85f26305754c99088abb81fe568619151d32f
2024-04-08 19:50:03 +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 26b72e36c3 FIX:array bound in m_font_names array
and confirm selected model_object at corresponding plate
Jira: STUDIO-6548
Change-Id: I3c2927305fc9007918deb83e5a38734427eaf30f
2024-03-25 15:29:19 +08:00
Arthur 6a7d3e44b3 NEW: switch to object panel if double click on object
jira: none

switch to object panel if double click on object,
otherwise switch to global panel if double click on background.

Change-Id: I6e54d7957aa19f1ebb1f993bc38125bbee8a1c98
(cherry picked from commit cc2e07bc9489c76a7d767acff0406c83c996504c)
2024-03-25 15:29:19 +08:00
Arthur 90defdd578 FIX: auto arranging spacing can't be adjusted correctly
jira: none
Change-Id: Ibddfe85aab9f3fad6a1612e8db437e52c40e20a3
(cherry picked from commit 136bca01f45e62042bd699a9a0a9f6d13519712c)
2024-03-25 15:29:19 +08:00
zhou.xu b5fbcc9e8f ENH:hide inactive plate
when open cut,text gizmo
Jira:STUDIO-6478

Change-Id: Idd9e25c4d46b58c51ef440eb20bcefdaecef53c2
2024-03-25 15:29:19 +08:00
zhou.xu fc114bff4e ENH:disable right-click menu display in gizmo
Jira: STUDIO-6417
Change-Id: I5e8d105280a159624fd131026f555877ed572f43
2024-03-25 15:29:19 +08:00
zhou.xu a6e9ffc131 FIX:finish init "return" icon and hide it
Jira: STUDIO-6350
Change-Id: I0f1efd4a64ea204daeac7de822602ef6dfa3e4a5
2024-03-25 15:29:19 +08:00
zhou.xu c3d50c362a ENH:Gizmo click on blank space without exit
Jira: STUDIO-6350
Change-Id: Iad8cfaca1b90fd64f7fa6b1aa5632f6eaecabbdc
2024-03-25 15:29:19 +08:00
zhou.xu d9d95294d3 NEW: add api of "toggle_selected_volume_visibility"
Jira: STUDIO-6166
Change-Id: I77eb988a3ea43cd37d50888d1753b973795d8b36
2024-03-25 15:29:19 +08:00
Kunlong Ma dfeb1eba09 FIX: Incorrect value in burying point
JIRA: STUDIO-6104 STUDIO-6100

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I6360d30900b020c067d85ac48b741dda7eb354ba
2024-03-25 15:29:19 +08:00
zhou.xu 6794431302 ENH:translate some text
Jira: STUDIO-6233
Change-Id: Idea2d9db3942fadb803251f9e3bd5cc43f23afc9
2024-03-25 15:29:19 +08:00
zhou.xu 3e0d5f7a30 ENH:upgrade tips for gizmo tool
Jira: STUDIO-6167
Change-Id: I3890bff060c1a507ea3a3831930d24301ab19dc6
2024-03-25 15:29:19 +08:00
hu.wang 7c9ab11bb5 NEW:Dye materials above grade 10 with shortcut keys
JIRA:STUDIO-5827
Change-Id: I002ecdd19167fb36772e4b4e9e2f7760e21079db
2024-03-25 15:29:19 +08:00
zhou.xu 3225124a7c ENH:The first object should locate at plate center
Jira: STUDIO-6023
Change-Id: If4284136fe63ca576463445f3ab16b6e18ead30f
2024-03-25 15:29:19 +08:00
lane.wei 1baf3a1e52 ENH: use std::shared_ptr to save memory for GLVolume
to save memory for copied objects

JIRA: STUDIO-5984
Change-Id: Ie232287fa2d5b0148cd9bca09c560d8de3db9df7
(cherry picked from commit 4d2382810d99701c572b6faa09442c7cda540563)
2024-03-25 15:29:19 +08:00
zhou.xu c31f6e5bf3 FIX:not render plate pick when open paint gizmo
Jira: STUDIO-5785
Change-Id: I88bb10e525319eb4428b8cc59a8110565eeb3be6
2024-03-25 10:42:29 +08:00
zhou.xu 91f5bc4b52 FIX:Right click is invalid on blank space in the assembly view
Jira:STUDIO-5950
modify the menu content of the left UI list

Change-Id: I9784386d8d221a88bf165953b2fc593dc21e3cf4
2024-03-25 10:42:29 +08:00
Kunlong Ma 8cba6a3566 FIX: Copywriting updates
JIRA: NONE

Change-Id: I6df034f95b4e6d517c57286dd6f564510b9fa4ab
2024-03-25 10:42:29 +08:00
zhou.xu 5cb3fc86c5 FIX:don't use clipping plane in text gizmo
Jira:STUDIO-5811
when z<0, text is clipped

Change-Id: I051a0733cdc3255867b5eb586e07ca2928a9aea8
2024-03-25 10:42:29 +08:00
Kunlong Ma 3d16dc2fee ENH: Optimize buried point information
JIRA: NONE

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I7186844e84a6ad77907beab4af5088ccb7bec930
2024-03-25 10:42:29 +08:00
zhou.xu b5a913e127 FIX:do not render plate pick when open gizmo
Jira: STUDIO-5785
Change-Id: I8e417d04c6f3b8c1ea049efb23c74e51ab916529
2024-03-25 10:42:29 +08:00
Arthur 3ef065a4ed FIX: auto arranging short objects gives overlapping results
jira: STUDIO-5778
Change-Id: I6761875d653fbed1beadd6480d37b97f71dfdf24
2024-03-25 10:42:29 +08:00
Arthur 472640c1f1 NEW: add nozzle_height to machine profile and do not detect conflict
Jira: request from 1.9

1. add nozzle_height to machine profile
2. auto arranging and sequential_print_clearance_valid don't consider objects conflicting if they are all shorter than nozzle_height and close.
3. do not detect conflict when all models are short.

Change-Id: I8d1eebb15d5bfa8c40d7491e033149e360531b89
(cherry picked from commit 6b4b52653db5f08d724a556c5c766c0bfa00f34d)
2024-03-25 10:42:29 +08:00
zhou.xu 9b71e176d9 FIX:gcode.3mf file needs to open the plate_toolbar
Jira: STUDIO-5686
Change-Id: I43824cbaaae59e54ccab2298da52c080e1567713
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 7faa61c5dd FIX:frequent calls to _update_imgui_select_plate_toolbar
Jira: STUDIO-5488
Change-Id: I12e6f37c2fe94de004aa6da43421970d6df10f0f
2024-03-25 10:42:29 +08:00
Arthur f6ea300aa0 FIX: global arrange setting is wrong
global arrange setting is wrong if a plate's setting is changed from object list

jira: STUDIO-5438
Change-Id: Iaa7f35837edbacff9b97ca17a8ab34c8e6bb023d
(cherry picked from commit fa2f56575b2e4305e35dd59ff55e0881720de025)
2024-03-25 10:42:29 +08:00
Leland Lucius 2b6800b026 Only use modified scaling on Windows
And only if the system's scaling factor is greater than 300%.
2024-01-05 22:36:18 -06:00
Leland Lucius a77847c2ad Fix garbled text when display scalling > 300%
On Windows, if your display scaling is greater than 300%,
the text rendered by imgui will be garbled. Allowing imgui
to do the scaling instead of making the font to large
corrects the issue.
2023-12-31 18:48:45 -06:00
zhou.xu 4b8f9a4cc6 NEW:add "bed type to follow machine preset" function
Jira: STUDIO-5535
Change-Id: I2ef99a0a783a074d9379685adde11fddfd6f8cec
2023-12-14 22:08:53 +08:00
liz.li 0dae851dc6 FIX: there is no object can be jumped to in notification
jira: new

Change-Id: Ib81bf49236952ede24a2de126051572d63916e01
2023-11-30 09:51:52 +08:00
liz.li ac84186368 FIX: clone shortcut key issue on macos
jira: STUDIO-5166

Change-Id: I1967da1d443ed43bd750dad8e11560688d7bd533
2023-11-22 08:23:38 +08:00
Kunlong Ma 768fcd164d ENH: Add buried points for cut and meshboolean
JIRA: NONE

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I67ce498d0c335dd7a8582f56b880c2c8314f8541
2023-11-22 08:23:38 +08:00
liz.li 433a4b2a7f FIX: clone shortcut key conflict with quit in macos
jira: STUDIO-5166

Change-Id: I548f275bb68d3b0e6bb3cfad6fe93df09d507da3
2023-11-09 10:09:10 +08:00
liz.li 0c7f991e5f FIX: dailytips adapts screen scale
jira: STUDIO-5019 STUDIO-5026 STUDIO-5027 STUDIO-5028 STUDIO-5025

Change-Id: I63d3af1870218ba8e0f048a6ef03fb29fabe27cb
2023-11-09 10:09:10 +08:00
liz.li d7283d48a1 FIX: wipetower position problem
jira: STUDIO-4914

Change-Id: I7b05d3c53931ed8ce3d4603ff21ee6ef675611e5
2023-11-09 10:09:10 +08:00
liz.li 6078adf9a2 FIX: variable layer height toolbar input problem
jira: STUDIO-3917

Change-Id: I6c490b5455478edf8781106df17b64fcf9c8ee09
2023-11-09 10:09:10 +08:00
liz.li dd666a6313 ENH: refactor DailyTips
jira: new

1. Refactor the UI:
	put dailytips into slicing notification
	add image for dailytips
	adjust Layout and UI control
	adapts retina scale, adapts dark mode color
2. New Features
	ability to expand/collapse the dailytips
	ability to freely go to next/prev page of dailytips
	show a random dailytip each time when begin to slice
	ability to remember the default statet add .
	of whether expand the dailytips
3. Remove original hintNotification related logic

Change-Id: I99bfa8c19c9417d25cb2f6e205f5e66b7680b189
2023-11-09 10:09:10 +08:00
Arthur 63c33c90e6 ENH: do not clone object to plate boundary
Jira: none
Change-Id: I72f33d7633bd6ccd43cabbfd0262818b1655c21b
(cherry picked from commit 99ea969b30a25ddd063da5fb0e246ce01d4b6764)
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
Arthur 8d74732348 FIX: auto arrange estimates wrong wipe tower
Jira: STUDIO-4678
Change-Id: Iff2273b464db939a2b5e19f8791bd2a4d67ce8c1
(cherry picked from commit fe4b1f79faeade42300622367fb23d7bd1079785)
2023-11-09 10:09:10 +08:00
lane.wei caedbfd24c FIX: CLI: fix the wipe tower depth not correct issue
estimate the wipe tower depth using more logic
JIRA: MAK-XXXX

Change-Id: Ieb66ebb7e75b20e61b7c0cb8e60496287434d31b
(cherry picked from commit 6b4d9d054fa52f7ff8ffd16461f686f54cab97fb)
2023-11-01 09:33:21 +08:00
shuai.liu a939c6e434 ENH: auto adapt distance in arrangement
JIRA: STUDIO-4408
1. if min_obj_distance is 0, use auto mode
2. normal support, 5mm gap, tree support, 22mm gap, no support, 0.1mm
   gap

Change-Id: I906ccf267bef1f33a946572614d658fd50cfcda3
(cherry picked from commit 771efc935da625d8faa4cc5b77fedc5055f93c6c)
2023-11-01 09:33:21 +08:00
Arthur 76d073a9ea ENH: improve auto arranging's wipe tower logic
1. If there is already a wipe tower on current plate, leave it there regardless need_wipe_tower flag.
This is useful when we have toolchange custom gcodes.
2. Correct wipe tower pos to prevent it outside bed.

Jira: STUDIO-4426
Change-Id: Iedecc7c5fe7ced01533d0a302253841046a7fb42
(cherry picked from commit e8d728e46b12baaf9fb0e87e3d14197ae3616826)
2023-11-01 09:33:21 +08:00
manch1n 2a79af5729 NEW: add align_to_y_axis option for auto-arrange
1. Add align_to_y_axis option for auto-arrange.
   This is useful for auto-arranging of i3 type printers.
2. Change default value of align_to_origin to true when switching
   from non-i3 printers to i3 printers.

JIRA: STUDIO-2583

Change-Id: I7dabab846022a0da030a9fec060a60a4207537a0
(cherry picked from commit 9c549c18ecc1f513644e1bc4a60d6936721a13ac)
2023-11-01 09:11:19 +08:00
Kunlong Ma ab0f9d95fc FIX:[STUDIO-3974] Model reset by plate center when machine switching
jira:STUDIO-3974

Change-Id: I44f5d238a5e7afffc24bbc4359c7ede226d24b4a
2023-11-01 09:11:19 +08:00
Kunlong Ma eb417083e0 FIX:[STUDIO-3565] icons grayed out unavailable
jira:STUDIO-3565

Change-Id: I7a005ab0d4f291ee664d37cc0f5a4890f848fa0d
2023-11-01 09:11:19 +08:00
zhimin.zeng 981a46920f FIX: the position of wipe tower is nor correct when multi-plate
Change-Id: Idabea67591102ee0f4595793e1ab027e805ace7a
2023-11-01 09:11:19 +08:00
zhimin.zeng 13857dba34 FIX: modify the default position of wipe tower
Change-Id: I27eacb73a7e32d20416da785378d3ff0c31f5c23
2023-11-01 09:11:19 +08:00
liz.li 0167baee89 ENH: add shortcut key of clone
Change-Id: I63a570ac05695d6cd1e36293f7ca9858d9f7f358
2023-11-01 09:11:19 +08:00
liz.li c5ea3c8b71 FIX: fedora: cannot select preview plate thumbnail
Change-Id: I1bb774f7f48a7b905498d5c1cc06263aa3b01ce9
2023-11-01 09:11:19 +08:00
liz.li 90e0184313 ENH: adjust imgui plate thumbnail color
Change-Id: Iec5cb3162c55e44eef2c67a3e5d8c65b5eadd785
2023-07-31 14:29:15 +08:00
zhimin.zeng 9da629003a FIX: the position of wipe tower is not correct when switch printer
Change-Id: Ia3195834c13f4341d6a020afe52e22370385eaee
2023-07-31 14:29:15 +08:00
lane.wei 0fc5c074cf FIX: thumbnail: fix the thumbnail wrongly clip issue
Change-Id: I0f2040b8263aa3ea5c82278eabc8e6d0845bfa73
2023-07-31 14:29:15 +08:00
Kunlong Ma b3f519a0d4 NEW:Add buried points at panel buttons
Change-Id: Idfdcd964b03ea06e832e9e7c2cfaac232212f518
2023-07-31 14:29:15 +08:00
lane.wei a2da7e391b ENH: thumbnail: optimize the thumbnail
1. set background to transparent
2. set the view to iso

Change-Id: Ib3371e60bea743ade55430a5d39b58f9b9acf050
2023-07-31 14:29:15 +08:00
chunmao.guo e027054672 FIX: [STUDIO-3460] invert direction of PAN gesture
Change-Id: Iab67c6fa1d346cfc8390df8449cc3fd77277c6cc
2023-07-07 17:52:43 +08:00