Commit Graph

301 Commits

Author SHA1 Message Date
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
xun.zhang 8cf98f10a4 ENH: optimize error notification when slicing
support error notification if max_z_layer height exceed max print height

Change-Id: I02d3f479f09df7ca01c85c97aa471f50b3cf9b46
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
liz.li a66c2d6d13 NEW: add meshboolean gizmo
Change-Id: I89a343a2ed3b43f97b87d99a0836abf4b291a4f8
2023-07-07 17:29:08 +08:00
Stone Li 2910014887 NEW: render cali lines for X1 series printer
Change-Id: I0edbe9cac3be837702e0b03d66766291b012b4b8
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-07-07 17:29:08 +08:00
chunmao.guo 46fa0867fb FIX: [STUDIO-2976] handle Shift+Tab on key down
Change-Id: I67703b0c58f61ccd15297a5f2a0a9b60cf7afb2e
2023-07-07 17:29:08 +08:00
liz.li 373152c78a FIX: print button enable status [STUDIO-3136]
on all plates stats page, should disable print button

Change-Id: I27dbc87c6a3ffda8f58a8544aae71618bffb3272
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
lane.wei d1c6cc03d5 ENH: disable MSAA for picking in framebuffer_ext
Change-Id: I768b87826cdb747bea45fef8b490b04eb559e133
2023-07-07 17:29:08 +08:00
lane.wei b62e3f5114 ENH: disable MSAA for picking
Change-Id: I44b8dc1ec89d20d57a92a7b6c6a390eee603b6d9
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
manch1n 7ba1ac9d15 ENH: [STUDIO-2773] block notification
Change-Id: I97b556b5ad1f25d8c4118e1f271c0756084d83cc
2023-07-07 17:29:08 +08:00
lane.wei 4bd1ab4e3c ENH: adjust the black color for the thumbnail rendering
(cherry picked from commit 2319ad511ff8d9dcbe0ac7060e098ed921fff40e)

Change-Id: I13512d1bac78c46257ceb907d5c2233976552a18
2023-07-07 17:25:51 +08:00
lane.wei bda8d1cb98 FIX: fix the print_seq not display issue
the by_object setting is in plate
previous judge logic doesn't handle it

Change-Id: I7e32c9a6decc0797f7098e9e4c53ab53d17c072e
(cherry picked from commit 3c712001239002eb1b5c79e291069ed424f8141a)
2023-07-07 17:25:51 +08:00
liz.li ab0c6611c8 NEW:add paint tool in assembly view
Change-Id: I108e1e24ca9d033d2279c8153585166971a347a6
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
manch1n 35d6b072d3 ENH: merge all error when multi obj have empty layer
Change-Id: Iff091babff67050fe512a3cffe6cb2af0e91efa5

STUDIO-2540
(cherry picked from commit e23781245e3a6ae9bffcff869aa8991eb0298243)

Change-Id: Ia90ffa1244ef8a89c8d3007ca65b68439b09249b
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
liz.li 000fab5261 FIX: thumbnail in preview display problem(STUDIO-2578)
after a .gcode.3mf file loaded, the thumbnail in preview will not show
until click the canvas3D region.

Change-Id: Ia58e5a44ea3dc87ac7609d434aebbf0e89cf3023
2023-07-07 17:25:51 +08:00
Arthur 62b4be7341 FIX: close conflict notification after move obj
Jira: STUDIO-2720

Change-Id: Icb7bc2ed76aa28c7b8227a219cb57da412aab12d
(cherry picked from commit 47e04a1bd7118de95c4a964fea38d8c09f53a200)
2023-07-07 17:25:51 +08:00
manch1n 87eb0f3665 ENH: show the layer and height of conflict position
Change-Id: If80e81b5556f5afc3228a00edc2593bd8cfe63e4
(cherry picked from commit 895e0f2ecf8e259cfdb7c27081b767bfbaa3ffb6)
2023-04-17 15:39:02 +08:00
manch1n 40068156fe FIX: correct the translation of conflict check
Change-Id: Idbc9114926a8ad7baad38bf8e2709f2a5442b5b4
(cherry picked from commit 9688a514d37fd3ff7152378463d10683acd58cb9)
2023-04-17 15:39:02 +08:00
manch1n 29459fe4cb FIX: avoid wipe tower conflict with objects
Change-Id: I09f6937a4bb698e4981c094c5694b3ce50efd2b4
(cherry picked from commit 2fc3f05732b8e5c7132b6c8a5f4403d30c516bff)
2023-04-17 15:39:02 +08:00
manch1n dd473bdc3f FIX: avoid wipe tower conflict with objects
Use a more accurate way to estimate wipe tower:
1. read wipe configure from front-end (the positions may be different at
different plates).
2. when depth is unavailable, use all materials to estimate depth (the
estimated wipe tower may be larger than the actual generated one).

Change-Id: I42ffd03d9817b57f5023a6820cda0032509c6fe5
(cherry picked from commit 77ba9757023afb9160c996eeea6ead8a27b50ce4)
2023-04-17 15:39:02 +08:00
lane.wei 90760e0d07 ENH: refine the thumbnail rendering
1. add specific shader for thumbnail
2. do not render the negative-z part
3. fix the sinking related issue under cli

Change-Id: Ia59083437544c1c0bd924c811274ccbb137e9eb7
2023-04-17 15:39:02 +08:00
liz.li bd29e371a6 FIX: shortcu key tooltip on aseembly view
Change-Id: Ibf02cd7caf68bb7624021e469aab00bcc2ccb77e
2023-04-17 15:39:02 +08:00
yifan.wu 34ec55db80 ENH: optimize thumbnail effect
1. enlarge objects in thumbnail
2. restore the background color to the light color

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I0829f93f619c48467c91d55267cdaf5bf43c5beb
2023-04-17 15:39:02 +08:00
liz.li 87df72a67f ENH: modify zoom interaction
Change-Id: I7a888a8980b5b10e5d2c515158c9c4cdf8654b7c
2023-04-17 15:39:02 +08:00
liz.li 3c6e68553b ENH: add height_range
Change-Id: Ica4def5d54f9e0906d424eea1efd3545b79ed186
2023-04-17 15:39:02 +08:00
lane.wei 59a7cd3ef9 ENH: thumbnail: improve the effect of thumbnail
1. adjust the background color
2. add a bit more emission factor
3. adjust the thumbnail rendering size in preview
4. change the font to white of thumbnail preview

Change-Id: Ifbcac94383608054759a7a31ec357233c7fb57a9
(cherry picked from commit ac577934f11edd56069584d1450734df59e17989)
2023-04-17 15:39:02 +08:00
manch1n d72b4c1bfe FIX: Disable print button when gcode has conflict
Also fix a crash bug due to setStarted and setDone.

Change-Id: Ib9b069fe4b7e5d1fc359f48e44b4032dd8249428
(cherry picked from commit 9ef190ed3ecd66d12617ad96e927ff34251395a2)
2023-04-17 15:39:02 +08:00
liz.li 9b47255bc1 ENH:adjust assembly view toolbar UI (STUDIO-1213)
https://jira.bambooolab.com/browse/STUDIO-1213

Change-Id: I3b17b37a229348d347f56d0672f2c258fbeb91e1
2023-04-17 15:39:02 +08:00
chunmao.guo c44a240ec0 FIX: [STUDIO-2511] handle dbl click in ComboBox
Change-Id: I27075e43de4a78446972806b57771f0880677935
2023-04-17 15:39:02 +08:00
liz.li b193566996 FIX:Canvas focus (STUDIO-2384)
https://github.com/bambulab/BambuStudio/issues/1465
https://github.com/bambulab/BambuStudio/issues/1339
two enhancement:
Moving mouse cursor to GLCanvas shouldn't cause focused parameter textbox lose its focus.
When GLCanvas lose focus, the imgui textInput should lose focus too.

Change-Id: I616bb98f87c2dc59669220d3b5a6c3e120a8f06f
2023-04-17 15:39:02 +08:00
liz.li 3f2ee4062b ENH: zooming at mouse position
https://github.com/bambulab/BambuStudio/issues/1321

Change-Id: Ifa5c2b2931a5d80c3e5e5cc05eda76263a5ac570
2023-04-17 15:39:02 +08:00
liz.li 5b2ef59c9f ENH:rotate object by pressing page down and page up
Change-Id: I888f7c71655548085cd15fe88b16087cf115933a
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
chunmao.guo 0ce72dfcb7 ENH: Revert "remove the sinking logic"
This reverts commit 17dded5d4aa54a330174788f3d6fbd583f63f8e1.

Change-Id: I51816d8357076a07c500a1bd006b08c15d7467e6
2023-04-17 15:39:02 +08:00
Arthur e4f6315da0 FIX: update_sequential_clearance may crash due to clipper's bug
m_hull_2d_cache must be set since later on we'll use its point number, which is a very large number when not inited.
This will cause a fatal out-of-memory error.

Jira: STUDIO-2452
Change-Id: I9b397a53bdcdf555eccf745f1b96786010ebe309
(cherry picked from commit 6802be53709649e75a1562d29e14559c766d427b)
2023-04-17 15:39:02 +08:00
Arthur aebbe807f2 FIX: update_sequential_clearance may crash due to clipper's bug
offset may give empty results.
The previous patch solved the issue that the studio crashes immediately when selecting by-object printing.
This patch solves the issue that the studio crashes when moving objects with mouse after selecting by-object printing.

Jira: STUDIO-2452
Change-Id: Iacd69e67386b0750f24e5af2799ff9c0da130e88
(cherry picked from commit 8ea4379d0b6d61e91bd6704e4b1e8309cb42b924)
2023-04-17 15:39:02 +08:00
zhimin.zeng c098e01b22 FIX: modify plate print sequence, the wipe tower is not update
STUDIO-2279 STUDIO-2280

Change-Id: I9a65ae4c02afc48666131b37d0282d59aa25c560
2023-04-17 15:39:02 +08:00
lane.wei c65a5f8bf5 ENH: thumbnail: add top_view thumbnails and picking thumbnails
1. add top view thumbnail for each plate
2. add picking thumbnails for each plate
3. save model object id for picking

Change-Id: I1d7f6ade22726ff12c282cb12e4a78e6b444a070
2023-04-17 15:39:02 +08:00
liz.li db86541df7 FIX: show label function display chinese incorrectly STUDIO-2097
https://jira.bambooolab.com/browse/STUDIO-2097

Change-Id: Ia2e213b08e184c0363a30967f84e7cb5e3bb3642
2023-04-17 15:39:02 +08:00
liz.li 1d94e0c021 FIX: remove text translate of all plates stats button
Change-Id: If19e522051cb81f69c37b1fb37d4db2b516ccdc9
2023-02-28 18:44:28 +08:00
liz.li 98b5e60c25 FIX:text above assemble view doesn't align center
Change-Id: I46b3993416634f6dab1ae9de77199bb19e52e6ad
2023-02-24 09:23:57 +08:00
liz.li 3be3c5553e ENH:add some translations
Change-Id: Iec4b31ada7d1f21f7ddb12fd777fd284298a0cde
2023-02-24 09:23:57 +08:00
liz.li c09fca6e60 FIX:cannot load .gcode file
Change-Id: I14d42d8fb4b6370ac01c8e5325b561520fa94072
2023-02-24 09:23:57 +08:00
liz.li 72c80aaad8 FIX: assemble hide cannot work in multi-color case
Change-Id: Icde1812012bbd436efb2a60c29870627b9cfff71
2023-02-22 20:09:17 +08:00
liz.li 0576e3e4fd FIX: all plates stats crash
Change-Id: Iad42b9777e4f3fab4a432b73865d4bd7dd530fd3
2023-02-22 20:09:17 +08:00
liz.li 6114a415cf NEW:add statistics of all plates in preview
Change-Id: Ia93ca5a31d07ae5d52a37bb7b6fb0e3b26cfd012
2023-02-22 20:09:17 +08:00
liz.li 8c923804fc ENH:adjust preview slider UI
Change-Id: Idc5ba3ed44d04cdcd0d7d124d57b689e1af2a8b1
2023-02-22 20:09:17 +08:00
liz.li aac9bfd593 ENH:add some shortcut of gizmo
Change-Id: Ie639483663f5fa9fe3cd597fb279d95474969408
2023-02-22 20:09:17 +08:00
lane.wei 1fe0d7be8c ENH: refine some small logic
1. continue post_init when gl window not ready under linux
2. use deleted_wipe_towers in reload_scene to judge whether it is deleted

Change-Id: I5be2ac876842e5432d254d47e4fe31f066455106
(cherry picked from commit 5e61a21d5662ccc656136b6a219c2358364c36d9)
2023-02-02 12:14:41 +08:00
Joshua Wise aa2d692910 Linux: ensure that a GLCanvas3D can become active before attempting to start OpenGL (fixes #1149)
On Linux, GLEW requires (at least, in EGL land) that an OpenGL context be
active before glew_Init is called -- otherwise, GLEW doesn't know what
extension symbols to look up.  If glew_Init fails, then some symbols
elsewhere will not exist, and the app will shortly crash.  We work around
this by detecting if we're actually ready for postinit, and if not,
resetting the flag so that wxEVT_IDLE will cause us to try again later, when
the window hopefully has gone into the foreground and is ready to be used.
2023-02-01 16:24:44 +08:00
Joshua Wise a082ce50ed slic3r: address sanitizer cleanup around wipe tower deletion
When determining whether or not we need to update the object list, we check
all of the objects that are being deleted to see if they're a wipe tower.
Unfortunately, by the time we check, the objects have already been deleted,
and the memory has been freed!  Avoid this by writing down for deleted
objects whether they are wipe towers, and if they were, we can indeed skip
updating the object list.
2023-02-01 16:24:44 +08:00
liz.li fdba5967fa ENH:optimize method of gcodeviewer marker get current move
Change-Id: I935d8da52212156b4158d727b49d8b0e51105fa3
(cherry picked from commit 4826570649608691184c05260edf4c074dccb780)
2023-01-10 19:08:26 +08:00
liz.li b27a9e27ce ENH: preview slider behavior
1.add pauseprint will not cause preview page refresh
2.fix add custom Gcode window and jump to layer window cannot input after reslice

Change-Id: I4f75457b6d6172080715393c975169c8f16464b9
2023-01-10 19:08:26 +08:00
tao.jin 1cbaa6e312 FIX: refine shortcuts on collapse/expand sidebar
Change-Id: I2332617e69ee73edeaabb5b6fd7a225ac073b76e
2023-01-10 19:08:26 +08:00
liz.li 5fc3694e08 NEW:add hide function in assemble_view menu
1.support hide funtion in assemble view
2.fix an issue that switch printable in assemble view will make
model-in-assemble-view turn transparent instead of model-in-view3D
3.fix a crash: right-click on objectlist after entering assemble view

Change-Id: Ia1a7ca492637eeaacd862ba015c440a55a83ca6e
2023-01-10 19:08:26 +08:00
zhimin.zeng 93b1a335d2 ENH: allow generate wipe tower when print ByObject
allow generate wipe tower when print ByObject if there is only one object

Change-Id: I199e9cab7bd7c963edf58e829c663bb91c12f4f8
(cherry picked from commit 7153c30800022f3afb9811c67f88ba28c9b25d20)
2023-01-10 19:08:26 +08:00
lane.wei 4385a8b33e FIX: fix the seq_print circle size not correct
Change-Id: Ie0674c2653e1db691447c150d9c669967960650e
2022-12-26 05:31:54 -05:00
tao wang 51deb70f64 FIX:fixed the side menu popup cannot be selected on macos 13
Change-Id: Ic4e9182a1a7175b89f37114b3857e813f299989d
2022-12-26 05:31:54 -05:00
liz.li 110d81f6f7 ENH: font preview
Change-Id: I8151036cedcba9c57183414a9d134741bb2166a5
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:38:15 -05:00
liz.li a9c180df24 FIX: dark mode 3rd printer bed display
1.fix custom bed render grid inappropriately
2.optimize: do not init toolbar every time switch dark mode

Change-Id: I354496c6c982d9f72b22629f6973a79d65189dda
2022-12-15 04:38:15 -05:00
liz.li 6c04bebc3d FIX: Preview slider jump layer and inappropriate log
Change-Id: I484c52087741a8f5ee4da6bc240c9897e3f94bd3
(cherry picked from commit a2862f87369f78a39caf427a924a756f7115e1b5)
2022-12-15 04:38:15 -05:00
lane.wei f2aaddebb8 FIX: fix the assemble view display issue when enter firstly
Change-Id: Idf432df9d3bb8eef1d57b08b6d345bc1867fe955
2022-12-15 04:38:15 -05:00
liz.li aab62b77bf ENH:refine GLCanvas update dark mode logic
Change-Id: Id4c4f00a18fa0672eab528a6819b6665031a8915
2022-12-15 04:38:15 -05:00
liz.li cfafbc812f FIX: switch dark mode bug
1.selected tool item in support,seam,mmu will be invalid after swich dark mode
2.add reset direction button in mmu
3.if don't switch dark mode in prepare page,toolbar doesn't change color

Change-Id: Ibaaaee5c0cc03f66682f5eb0daafcd143b9d9edc
2022-12-15 04:38:15 -05:00
liz.li e65e27ee57 ENH:add reset direction function
Change-Id: I3d89a738434f92ee34e9713d734347e3ea542497
2022-12-15 04:38:15 -05:00
yifan.wu 98686a708f FIX: cannot input hotkey chars in 3D Text tool
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: Ie28fc3943ddcde1e2fa1f607fe9e8d0125399a74
2022-12-15 04:38:15 -05:00
lane.wei c3a6b207b5 ENH: optimize the sequent-print behavior
1. don't sort automatically
2. enable the dragging on the object list to adjust the arrange order
3. adjust the object list order after auto-arrange
4. turn off label by default
5. add the snapshot key for label
6. check the the validation of the order

Change-Id: I91461c475cda5335b01a9a608143aa1df31741ab
2022-12-15 04:38:15 -05:00
liz.li 895e90733b FIX:mousewheel delta of slider turn to 5 at times
Change-Id: I64db714b26a315fa443a0ab2796b4bf21a6ec2f5
2022-12-15 04:38:15 -05:00
liz.li 5afc02ee72 ENH:show several items in GcodeViewer
1.show developer mode items and adjust layout
2.fix checkBox cannot response

Change-Id: I9856fa0a781cfaa574cb6dfc4530fe52fa733154
2022-12-15 04:38:15 -05:00
lane.wei 45dd07cfe4 FIX: fix serveral issues in multi-plate slicing
1. fix the thumbnail white issue in some random case
2. fix the thumbnail not update issue under preview panel
3. fix the previous panel's toolpath not clear issue while switch panel
   under preview
4. fix the toolpath not clear issue while switch from 3d to preview in
   some corner case

Change-Id: I158eba35e3b5d8a1e77f19ee9f86801e6a6dbd86
2022-12-15 04:38:15 -05:00
liz.li df260dd724 ENH:dark mode of imgui part
Change-Id: I42975f9004be1a348db83f1a5790490dbc444c9d
2022-12-15 04:38:15 -05:00
Arthur 869b93e270 ENH: improve auto-arrange compactness around wipe tower
1. improve auto-arrange compactness around wipe tower
2. do not show "Avoid extrusion calibration region" for P1P
3. encourage objects with similar height to be arranged together

Jira: STUDIO-1364

Change-Id: I5efa61a676c453618cdb3915fb98928d07138deb
(cherry picked from commit 571ee0c6d91d8a5f6a60838052f09d49d85f12ed)
2022-12-15 04:38:15 -05:00
lane.wei eecc2a738c ENH: label: refine some label logic
1. only show label of object in current partplate
2. disable label under gizmo
3. fix a issue of label not updated in time
4. add some logs

Change-Id: If20196a566cc45a4a0c2bcc6bbe212aaa9f74dd3
(cherry picked from commit 3e92ed61e9687d5351a9bb2bc6d25b568cd1c973)
2022-12-15 04:38:15 -05:00
chunmao.guo b918052a97 ENH: [STUDIO-1185] jump to object in slice error notification
Change-Id: I0d8c3de78ac326f5ab0802fd301defaaac376bb6
2022-12-15 04:33:48 -05:00
liz.li 7f3d9a8edd FIX:fix when layers editing mouse click activate model by mistake
Change-Id: I4a457a1deb9fd7100d7d01fb2e29d6216bc3d9fa
2022-12-15 04:33:48 -05:00
liz.li ba1cb7820a FIX:cannot quit layers edit if new project
Change-Id: Id04a0386ab022283fd42503a1c363dc10535d5c6
2022-12-15 04:33:48 -05:00
liz.li 22dd20ab58 NEW:add variable layer height
Change-Id: Idef7f0dea32e4faaeb4d6eb188695cc7b554099c
(cherry picked from commit 4969835159eebb356e9b26dab223ad0a18882b70)
2022-12-15 04:33:48 -05:00
liz.li 8278be8d26 NEW:support jump to specific layer in preview
Change-Id: Ia2396c3512f521e31e440783e2ce12926f1ddeca
2022-12-15 04:33:48 -05:00
lane.wei a9a228d071 ENH: wireframe: refine the rendering logic under paint
1. remove wireframe in 3d view, only keep in paint;
2. pass barycentric_coordinates from outside
3. add shortcut hints

Change-Id: I911e5cdf3475926d9527dc0839fdce072ed54746
(cherry picked from commit 6e16d0ccfb71741e55daabd757be9f9e7613e695)
2022-12-15 04:33:48 -05:00
lane.wei 79b5c94f4f ENH: enable wireframe
This reverts commit ed6e149381240fd83b61da70891127d400f30a39.

Change-Id: I010871fcf22322214c627fe907539c0916fa6ff5
2022-12-15 04:33:48 -05:00
lane.wei c79af29ad4 ENH: refine the label logic of seq_print
use the arrange_order computed by Print
turn on label by default when switch to sequent print

Change-Id: I7063bcc9494bbfc14a3cee85eaf30a9eb52c99d2
2022-11-01 20:52:23 +08:00
yifan.wu 368badd225 ENH: delete objects/parts by back key on macOS
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I4fb5a940955a3f165fe61b7499509c5c72c53460
2022-10-20 19:34:37 +08:00
lane.wei b4d66394e7 NEW: add the wireframe rendering mode for debug
currently we can turn on/off it by 'ctrl+shift+enter'

Change-Id: Ic9e5460e8955376e8e2c1a3701e12a1f0b4216ad
2022-10-20 19:34:37 +08:00
zhimin.zeng f996eedf49 FIX: allow smooth timelapse without wipe tower
Change-Id: I60d487faa96641dbf88f5502d2fa9ccb83e622c6
(cherry picked from commit 0286a7add9c698a2efd6d40910d72a83f06edba5)
2022-10-20 19:34:37 +08:00
liz.li 143c0f3750 NEW:add section view at assemble_view
Change-Id: I05b77e96e0d382b34ef80f622c71deca1eeb93b8
2022-10-20 19:34:37 +08:00
tao.jin 31ba41ec3e NEW: move selected model to the center of selected plate
Change-Id: I7af49e98e83f5eef690f7d30d10a2cc240046466
2022-09-29 11:16:43 +08:00
Arthur 9edc90704a ENH: unify multi-object copy with single copy
Also adapt empty cell stride with object size plus 1mm.

Change-Id: I47ac98bede196d636ebb3da549c16e393756de0a
2022-09-29 11:16:43 +08:00
zhimin.zeng 05625a5e43 ENH: add traditional timelapse without wipe tower
Change-Id: I77792fb1a7af2ee95242c6f2501371dc0745287f
(cherry picked from commit f6d434cc8b6c8d11d16bbabf9600c2f2b63868db)
2022-09-08 21:49:36 +08:00
Tao Wang 0ed1d2ed34 FIX:fixed crashed when starting Studio on secondary display
Change-Id: I0392607479a25b5e2b2704f5569d6b8b94ba7e3d
2022-09-08 21:49:36 +08:00
zhimin.zeng db83a1c193 FIX: STUDIO-795 crash in painting mode with Ctrl+A
Change-Id: I10e49eb704b4b2bf6b4059242b2cb6374ec91ded
(cherry picked from commit 44089d5a783121d1c8c0c98b53f5d78d868567af)
2022-09-08 21:49:36 +08:00
Stone Li c7b698f4f1 ENH: modify default view to current plate view
Change-Id: I32cecfe20e01011089928e24058c4ff89aca074a
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-09-02 12:52:18 +08:00
lane.wei 0898817053 ENH: rotate: refine the behavior of assemble rotation
use the logic of rotate_local_with_target

Change-Id: I181372b6784c5d025bc3748377f6130f15a80d85
2022-09-02 12:52:18 +08:00
lane.wei 5a2b0e845e ENH: rendering: refine the rendering logic of GLVolume
1. set the unprintable volume to black even if it is mmu painted
2. add the bounding check logic when the object is partly inside of current plate

Change-Id: I69ce25eb85a71398ed8fb1d275136c5d943796d6
2022-09-02 12:52:18 +08:00
xiangdong.yang dbe354995e ENH:Optimized Gizmo toolbar layout
Change-Id: I9e323c310abd2afcf0f9586ba261f714dd718f38
2022-09-02 12:52:18 +08:00
xiangdong.yang 65393b8f73 NEW:add 3Dconnexion dialog
Change-Id: I0dd1160decb11e5040399bb9c27f571a03b1d082
2022-09-02 12:52:18 +08:00
zhimin.zeng f745c5fea2 ENH: Optimize and design the time-lapse wiper tower
Multiplex existing wipe tower and revert old time-lapse wipe tower code

Change-Id: Ia1cba9808647ea900f691b2c5d5887077be12d89
(cherry picked from commit 61f41df572d11b7cc738c34f2624fd123cd9a6df)
2022-08-26 09:25:59 +08:00
liz.li 59dcd623b3 FIX:the position of Notification is too low in preview
Change-Id: I881ee24722711517fe61ce7bc1be3ad6400d0938
2022-08-26 09:25:59 +08:00
liz.li 2c99301fe6 FIX:Notification border rounding on macos
Change-Id: Ic4ca4ae93ad981fe5b07f55d7451559ab99f22f2
2022-08-26 09:25:59 +08:00
Stone Li ea7aaf7a8d FIX: seprate filament_type and display_filament_type
special case for "Support G" and "Support W"

Change-Id: I26f873083d6afb58fb10ebc9beef54fbf5e18320
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-08-05 16:11:42 +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
xiangdong.yang cd907bbc9a ENH:Gizmo shortcut key added
Change-Id: I4d089ef521b16d3ffedd07ba8b22043b899fe7b2
(cherry picked from commit 2f425b8321b3d24d24928185d0c33d54a3a9126b)
2022-08-05 16:11:42 +08:00
yifan.wu d14e5c9d59 ENH: change alt behavior for part selection
1. Alt is no long for object/part delection
2. Alt is defined to select part in View3D

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: If0f14f79a321be2d0320a841e15dc973715364ea
(cherry picked from commit 9c092f2d20b89470202df037180425b2ecb8ef82)
2022-08-05 16:11:42 +08:00
chunmao.guo ddee1dacaf FIX: modify touchpad translate in Canvas3D
1. invert touchpad move direction
2. fix canvas 3d move with rotation
3. press shift for move

Change-Id: I9c7f39eba45a168c92d4459cd88896d26ec6e8db
2022-08-05 16:11:42 +08:00
chunmao.guo 1705f3d5b7 FIX: transfer touch wheel event to pan gesture
Change-Id: Ic74662849a3728017a557417ec8cb1bf49826f15
(cherry picked from commit ccd1aa95de4abecbddecc0fb43ae7ce2296c6ede)
2022-08-05 16:11:42 +08:00
chunmao.guo 0d94bc619e FIX: handle gesture event in GLCanvas
Change-Id: I2e0af39d30693e997bf0c0bb68edb6c40c484864
2022-08-05 16:11:42 +08:00
Stone Li 9a640be43c FIX: fix bug that thumbnail is not display
Change-Id: Ic974e378fbcaea096f5e2aa8b40092d2ef3e8e54
2022-08-05 15:28:01 +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