Commit Graph

85 Commits

Author SHA1 Message Date
jun.zhang cd3b96c7f5 ENH: add fxaa for thumbinal
jira: STUDIO-10640

Change-Id: Ia949904f687b0050514e07e439d82312db473557
(cherry picked from commit a823435a282129a8020e5bf811f6b4203d2a7e89)
2025-03-24 09:14:27 +08:00
Arthur 2fd184f754 FIX: auto arranging crash
1. Use map<int, std::string> extrude_id_filament_types to avoid mismatching of extruder ids and filament types.
  jira: STUDIO-10708
2. fix plate level arranging not working
  jira: STUDIO-10733, STUDIO-10721
3. fix auto arranging may put objects overlapping with fixed ones when
  changing printer profile.
3. fix auto arranging puts large objects overlapping with occlusion area
4. add alt+a to trigger auto arranging for out of plate objects
4. fix several texts not translated.

Change-Id: Ie43624cb20304f27649d3ce24efa01394f30188e
2025-03-24 09:12:13 +08:00
zhou.xu fcfe5648ca NEW:add "select triangle" mode in "lay on face" gizmo
jira: STUDIO-10200
Change-Id: I7ce594a527ef220ef9dec56d370b9de2616ad92a
(cherry picked from commit ab89fa6ea1bb3345182b41d64acde27ec3e3c24a)
2025-03-24 09:10:30 +08:00
jun.zhang 9f060f9135 NEW: cherry-pick rendering-stuff to github branch
jira: no-jira

Change-Id: If615d572b2021e707cc9ff037fefeabf46dacfa4
2025-03-24 09:04:57 +08:00
Arthur 2dfb9a15f4 ENH: auto arrange wipe tower when changing bed
Allow wipe tower to be arranged with highest priority.

jira: STUDIO-10225
Change-Id: Ia88374666906afd226bf8580d28fe788dad5f4c0
2025-03-24 09:03:27 +08:00
zhou.xu cfece4cd1b FIX:Adjust the maximum height of thumbnails in the slice
jira: none
Change-Id: If066005fb3e0dc6896c9c193f3160595e6188703
2025-03-24 09:03:26 +08:00
Arthur c414e51999 FIX: several auto arranging bugs
1. fill bed crash (jira: STUDIO-10350)
2. reset arranging settings gives wrong sequential printing order (jira: STUDIO-10346)
3. do not show "arranging done" message when there is no model

Change-Id: Ic1c7eac75e3917b9f1d87ab6acc403f78e0c9f7c
2025-03-24 08:34:27 +08:00
xun.zhang f79ba9e315 FIX: always empty popup in unprintable case
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I90fcb90ef01e8cc398683bf00eb8d87eefe95069
2025-03-23 20:29:33 +08:00
xun.zhang 086e977d89 ENH: update extruder unprintable tip before slice
jira:none

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I3a47e1505c3410e1ba41e4d12903ccf4db486240
2025-03-23 20:29:08 +08:00
zhimin.zeng 903b230f38 ENH: Add prompt information when mixture of PLA and PETG
jira: STUDIO-9659
Change-Id: I03a09dd796074d0872010672bdd85688bb7f1715
2025-03-23 20:21:47 +08:00
zhimin.zeng b68a7b3bd6 ENH: add PPS-CF/PPA-CF detection for multi-extruder printer
jira: STUDIO-9660

Change-Id: I1df024e178b8561569b493888d6057d8f96aea3c
2025-03-23 20:19:23 +08:00
zhou.xu f7995d5a9f ENH:add "SyncAmsInfoDialog"
JIRA: none

Change-Id: I8e26178f6da816e102a40b429c565696924c58ea
(cherry picked from commit 2a46460d5a65279cbb42c8aef2474172b1e1ae30)
2025-03-23 20:14:29 +08:00
zhou.xu 7cc21b5e97 NEW:add "obj preview thumnailData" function
jira: none

Change-Id: I688c2f05bf85fca376418115acddb5066ef980eb
(cherry picked from commit 16f2b2bcb5fd157f25aa7012dabd99a8d31aec07)
2025-03-22 21:54:20 +08:00
jun.zhang fd2524a09e NEW: add silhouette effect
jira: STUDIO-8928

Change-Id: Ia64a96e7e13e65d8be85fddfedcfdc4e5cff4ed5
(cherry picked from commit f090726830ea0490994b62c93c93e18ead731681)
2025-03-22 21:54:20 +08:00
zhou.xu 6b3a6a40b1 NEW:add "fit camera" button
jira: none
Change-Id: I97d4dd3d79ec8550e73ed21928133be4b4a8c92b
(cherry picked from commit 99736e4ccc89f3f6af922ef2936e5e3e06a1bedf)
2025-03-22 21:38:04 +08:00
lane.wei f9cd3dd876 FIX: cali: fix the 3mf wrong issue when cali for multi-extruder
jira: no-jira
Change-Id: I352e4dd499f4e4dd22cdc21f3f62428a0baa5bfb
2025-03-22 21:35:24 +08:00
zhimin.zeng 933adbaaf0 ENH: Add extruder_printable_height
to support different printable height of multi_extruder
jira:none

Change-Id: I265c65e15fc8f598c3456556557bb6977b5de820
2025-03-22 21:09:55 +08:00
zhimin.zeng 60cdf3b655 ENH: add tpu check before slicing
jira: none
Change-Id: I7d4f053e67f4a4aa22ef990d597d28cb894c4195
2025-03-22 20:59:25 +08:00
lane.wei 270ae086fb ENH: Scene: check object position error in 3DScene for multi-extruder
for some obvious error, we identified it and show to user

JIRA: no-jira
Change-Id: Id0365e89c4121ccccb9b5627a98428704432ab58
2025-03-22 20:58:36 +08:00
zhimin.zeng c75c10e312 ENH: Add gcode check for multi_extruder
jira: none
Change-Id: Iebc43e608c4509eb62b280af2d401fa9e0e089ba
2025-03-22 20:53:54 +08:00
lane.wei e5be69dedd ENH: dual_extruder: add logic to process extruder_printable_area
JIRA: STUDIO-7498
Change-Id: I1cf53db93acf41b06cb1b9569a0679487c9f1e41
2025-03-22 20:53:19 +08:00
zhou.xu 48c1710acf NEW:add "camera navigation" function
jira:none
code is from OrcaSlicer, thanks for OrcaSlicer and Noisyfox
commit bf4d59a6764ddadd23ae566bf178f98e06bc3b5c
Author: Noisyfox <timemanager.rick@gmail.com>
Date:   Tue Feb 27 21:57:31 2024 +0800

    QoL: 3D navigator (#4181)

Change-Id: I19f83d6dd7244c4daaa9c9993378cbd90333c3b9
(cherry picked from commit 74903968fdc8bd25ab48a722f893c38c801417d3)
2025-03-22 20:21:52 +08:00
qing.zhang 67039a6f4d ENH: check wethether filaments print on first layer
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I1cc7cd9e9bbbcdf72112c0949196c09ef414cf91
2024-11-12 15:35:32 +08:00
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
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 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 eec7de441b ENH:add "volume selection" checkbox
jira: none
Change-Id: I68b5f54e37ea2ab9e2b65ac84abc834060f400df
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 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 515f947334 ENH:add an tip icon for assembly view
jira: STUDIO-7155
Change-Id: Ie9e4fa578c8aa5bda9ff771d82f396f8b51026bb
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 b02661e85f FIX:add exit_gizmo before slice model
jira: STUDIO-5531
Change-Id: Icddc9d73b3d91bb68e9768d13e48cbae0680e58e
2024-05-13 09:20:46 +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
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
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
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 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
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
Arthur 6c6934bf81 FIX: crash of "filling bed"
"get_arrange_settings() const" gets trapped in infinite recursive calling.
Now we delete this function.

jira: STUDIO-5688
Change-Id: Ia39974734bb37b2a2f06b5bf78185f01be726872
(cherry picked from commit 631365822319139ae84e8cd8cbad5f10d9a10c4a)
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
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
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
Arthur 590444d92f FIX: cli arrange failed in some cases
1. set different bed_shrink for seq_print and layered print
2. fix the bug that seq_print arranging may get collision with exclusion
   area.
3. remove unused functions.

Jira: STUDIO-4663

Change-Id: I8b726704cca33fe37bb3cb7c4502963a9ad8d16b
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