Commit Graph

166 Commits

Author SHA1 Message Date
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