Commit Graph

100 Commits

Author SHA1 Message Date
Noisyfox
f050dc3430 Fix option nullable 2025-10-10 16:57:16 +08:00
Noisyfox
a36f8eddab Revert "ENH:instead of prime_volume by filament_prime_volume"
This reverts commit e7e6405ad3.
2025-10-05 19:16:05 +08:00
Noisyfox
4f2ad2527b Fix value type 2025-10-05 18:49:06 +08:00
lane.wei
fe9a4c62c2 FIX: CLI: refine the download check logic for multi-extruder printer
use the shared printable area
jira: no-jira

Change-Id: I23e97a06b0ca9573c84fe4081496bae2e8e92382
(cherry picked from commit 3245ea6f6dd54bfaae30e76c903abfd632972544)
2025-10-05 00:02:23 +08:00
lane.wei
b09bf85e19 FIX: CLI: fix a crash issue when slicing
report from cloud team
jira: no-jira

Change-Id: I880d0fbf0ee6fac00eded9e8b3f52c0cfb6de870
(cherry picked from commit 1128c0087e980f70865dff6185f1f7ad540cf6db)
2025-10-03 23:08:56 +08:00
lane.wei
ea62021966 ENH: CLI: add support for single extruder with multiple nozzle volume type
jira: no-jira
Change-Id: Ibb16fd87e5df074bca0068446782109100310ee1
(cherry picked from commit 304070083cbfc7098bbd95a3ae31c845cd53134d)
2025-10-03 22:01:31 +08:00
Noisyfox
115b4c1d86 Rename wipe tower ribs related options 2025-10-02 22:56:54 +08:00
lane.wei
e46c3fa945 FIX: CLI: don't turnoff wipe tower when wrapping detect enabled
jira: no-jira
Change-Id: I242a9b18d03565e4d4add0e6e60c4b7f8fd6692a
(cherry picked from commit 00366eba96e6eec8173b6d2db9d1c3e52a24089d)
2025-10-02 17:59:37 +08:00
shan.chang
5cacd34a5c ENH: add new arrangement features for wrapping detection area
Jira: STUDIO-13735

Change-Id: I198d19f5e6ef70f0adfa6370269290c81d21a557
(cherry picked from commit dc83637652526111611d0833d5f5798aaa3e7be7)
2025-10-02 17:41:41 +08:00
songwei.li
f36f5f0a0c FIX: Printable area check results in gcode_check_result
Added a check for Gcode traces outside the printable area after the backend slicer, allowing command-line slicers to detect abnormal results. The GCodeProcessor's m_result.gcode_check_result.error_code now includes not only dual-head print range checks, but also checks for the machine's plate print range, wrapping detection area, and height violations.

jira: none
Change-Id: I44072ece3b4b525c77328cec2f76e205eb559cc4
(cherry picked from commit 054f936243968687f536170374a233ec912e8e42)
2025-10-02 17:07:21 +08:00
lane.wei
cb70e9f92c ENH: CLI: add logic to process wrapping detect
jira: no-jira
Change-Id: Iacf689208a2fc26437892f9f5d847c53a21bf264
(cherry picked from commit 6c2e71c8f51a0384e6fdf784421490820282d3cc)
2025-10-02 17:07:21 +08:00
zhimin.zeng
1355b6bc88 ENH: add wrapping detection
jira: STUDIO-13192
Change-Id: I0fb5692b18cdb3b7af624a831dcfb0f635b165f0
(cherry picked from commit 89a8b6ea5e34340cba3750416ce3100dcc39f5c2)
(cherry picked from commit 50bc8c10a7b4ddc0b2dfe9cbab438b9d307b7fc0)
2025-09-30 15:32:44 +08:00
xun.zhang
320b7e2fe7 FIX: potential cli crash caused by missing params
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I1b61e44414118e40e421592649928664fdecf092
(cherry picked from commit 6deb3db25b7a7e4bc7a71d75f661b3f4b996d73f)
2025-09-29 20:43:20 +08:00
xun.zhang
270ebc2688 FIX: crash and wrong flush data in cli mode
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ibaad369e4dc6d0307f709c1c6e543a7a985b0345
(cherry picked from commit 83a2c405e282a1fe39b1dbd637e480765b6b6551)
2025-09-29 20:41:07 +08:00
xun.zhang
7000f04666 FIX: display the minimum flush data
1. Use the minimum flush between nozzle volume and flush in datalist
2. Add a new param to decide the datalist to use

github:7445

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Id87c98ca5069e7b328974d641d7a81dfbf9c50a0
(cherry picked from commit 2be29b784727330732170b5c2ff0ba9d5e79d82f)
2025-09-29 20:38:38 +08:00
lane.wei
bed6754d57 FIX: CLI: fix the default wipe_tower_x incorrect issue
jira: no-jira
Change-Id: I847a0fc0e69bfdf80cea68cafabaac1daee98b8a
(cherry picked from commit 5b8af6cbe60c1a6a3fc11b5275131d4895d2f838)
2025-09-25 17:22:35 +08:00
lane.wei
bb6690280f FIX: CLI: fix a crash issue when using old presets
jira: no-jira
Change-Id: Id7fae9b9c92a3e28e989a6567b068f3ada7e4bbd
(cherry picked from commit 77ff64b7cdded17c19f1699db9122ea6f41a2ba1)
2025-09-24 11:42:03 +08:00
zhimin.zeng
32aac4060a FIX: Command line slice error of filament printable
jira: none
Change-Id: I89724d3934c5c1e5ef75d3e046e84600873516ec
(cherry picked from commit 5f9093dc8e7a222857037016940c43e2ad227eaa)
2025-09-23 09:04:01 +08:00
zhimin.zeng
b38145a291 ENH: add filament_printable and delete unprintable and printable list
jira: none

Change-Id: I643ab11831ceac1fe0793510f64b288cbd16415a
(cherry picked from commit 3dd5a601547485bfcc4188727343a52c30bb6a73)
2025-09-21 13:48:08 +08:00
zhimin.zeng
442e454008 ENH: add printable filament types for extruder
jira: none

Change-Id: Ie6ada223bc11a53b975c8c20b4a41e7cdc2d524c
(cherry picked from commit c64270f506a4d004f66aef3ff31760f793eca489)
2025-09-21 13:48:07 +08:00
Noisyfox
a2ce2695eb Fix build error caused by cyclic include 2025-09-21 13:48:03 +08:00
lane.wei
50ed6100e8 FIX: CLI: process travel_acceleration for old files
jira: no-jira
Change-Id: Ica49d5d9d184a72de450c147c227f5b6e1f288ff
(cherry picked from commit 9d4fafc646849497718c1ca4fe9ff3b0df282928)
2025-09-21 13:47:56 +08:00
lane.wei
82c112648e ENH: CLI: add allow_mix_temp option
jira: no-jira
Change-Id: Idff6ff2f11b4b0a1fb3a4a410fa46c78d38d1a6e
(cherry picked from commit 4ffa7b505a4c1b1f27152c5f5198c9571939de40)
2025-09-20 15:37:12 +08:00
xun.zhang
01cae10bf7 FIX: missing nozzle volume type in old 3mf
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I95c85b54f13950a0859297dcb28edcb73d841276
(cherry picked from commit cfe3aad3fc0f475a5cd31bb5a25a62a19c872ba5)
2025-09-18 17:05:36 +08:00
xun.zhang
66be72ff65 ENH: update flush data for H2D
1.Alsoe set default flush from support to 700

jira: STUDIO-10595

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0d0a85cdac5e63b787c16b35ed6c05afc885a715
(cherry picked from commit 5fea5e6696a28d7ec9edcde38c43700cb3b7f596)
2025-09-18 16:49:36 +08:00
lane.wei
fd60dbd1a0 ENH: CLI: check filament mapping error before process
jira: no-jira
Change-Id: Ie82a1faba93a4f80281615c803a45a93206ddf02
(cherry picked from commit 5869d33d519b617dbcee05a74f81fb1951330633)
2025-09-18 16:19:24 +08:00
lane.wei
2d164b8b07 FIX: CLI: use the correct wipe tower width after estimation
jira: STUDIO-10900
Change-Id: Id6ea3c3a7e0c37001a5cc118eea7459ffeb48469
(cherry picked from commit 31fbdd29e7eebb9b12c8204bec3c82f1598367e1)
2025-09-18 16:13:30 +08:00
zhou.xu
a1cd1daa68 ENH:Obj import supports up to 32 colors
jira: STUDIO-10927
Change-Id: I46b2c63a625f91d0caafa78cf47bf0fc8589015b
(cherry picked from commit 9e2bfb7d7e56d886a85c0ee8c0e90dbc6ccfa932)
2025-09-18 16:10:27 +08:00
zhimin.zeng
14a032454d FIX: Remove unprintable_filament_map
jira: none
Change-Id: I30285d0cc98a974e71f16fd9adb57dfcccb39415
(cherry picked from commit 1959fa7d5c213a7720b8f215f1578597278e6920)
2025-09-18 14:13:51 +08:00
lane.wei
c1fc3579e1 ENH: CLI: fix some potential issue under cli
jira: no-jira
Change-Id: I411e7a18b0eacc27f28a4b6d2205cd6460b6cd1a
(cherry picked from commit 84bbf31ab5d4a30afde7c512147fcbe9b85fb57b)
2025-09-18 11:06:36 +08:00
xun.zhang
d64740985c ENH: add default value in extruder info for cli
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I15fb33c55a8f8e5bf75807ca16b00d50226ee156
(cherry picked from commit bf97aea2e405e41031de7b20eb59054f65b9a0fa)
2025-09-18 10:08:33 +08:00
lane.wei
8f7ac809a2 ENH: CLI: only check filament conflicts before slicing when there is one color
jira: no-jira
Change-Id: I17fc917b624578491170656372e4c4d1b43f0412
(cherry picked from commit 53a551174e682694374e539572e5337791e0a7d8)
2025-09-17 23:31:09 +08:00
lane.wei
ce534972e2 ENH: wipe_tower: use uniform wipe tower logic for cli and gui
jira: no-jira
Change-Id: I179212585871071cd17bd37c2756444a2d7aba1f
(cherry picked from commit 1f3dde94980d3685bb4d1266e8a5448b8f231b9f)
2025-09-17 23:29:14 +08:00
lane.wei
e9ed04cc9e ENH: CLI: keep the params of old version
jira: STUDIO-10695
Change-Id: I4b0a768bc4fc6c856c9c92fa4a05007a3097df35
(cherry picked from commit a44da293ad3a1fbc62e318c20b3ba7c187fc1d25)
2025-09-17 23:09:07 +08:00
zhou.xu
4e51e402a3 FIX:set "ban_light" true for picking_thumbnail in linux
jira: none
Change-Id: I68912a17f6bd3ffb73fc6480e5fd95a690c1c872
(cherry picked from commit 1acfe83fc0c49734996a0e2596856fd7881b4d68)
2025-09-17 21:49:40 +08:00
lane.wei
1d81bef41d FIX: CLI: fix the filament_map incorrect issue
jira: no-jira
Change-Id: I8f389ae1dca2cbe79a2db7a5e9fbb94da430d037
(cherry picked from commit 89308c8676e4f953a69198f706852e8b6d42231c)
2025-09-17 17:53:45 +08:00
lane.wei
68c6c8e994 FIX: CLI: fix the crash issue caused filament_id missing
jira: no-jira
Change-Id: I6256a846cf30f304deda32f61ed5329aacdb5f73
(cherry picked from commit d14e3f42a0a16951651a47d49e05e509ee4696c0)
2025-09-17 10:21:15 +08:00
lane.wei
2d6d07d6f8 FIX: CLI: fix the stl name not correct issue when using export-stl
jira: no-jira
Change-Id: I5cd83c9fb787416d5045470025fa96696d8bfab9
(cherry picked from commit 49b1568877345b1eb9bdfacac19d451569433f3f)
2025-09-16 15:42:48 +08:00
qing.zhang
8c7475eded ENH:instead of prime_volume by filament_prime_volume
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I96e7d0604da8f90678feed81833e3a634752ffff
(cherry picked from commit be02e769bb49680d6be678fc5fa73a141ca8da1c)
2025-09-16 10:39:19 +08:00
jiangkai.zhao
03998203fb ENH: enhance some functions of the wipe_tower
1.Add automatic calculation of the wipe_tower's brim width by height;
2.modify the min_depth_per_height and the default ridwidth

jira: none
Change-Id: Idd96bc90e8e631aa8481b559e1e9fec24c6b822f
(cherry picked from commit 4dd4e9e12c02d945a0ac3fd2020f75313c5b2cc9)
2025-09-13 18:49:41 +08:00
zhou.xu
96843fc3bd FIX:add error deal:mtl file lost some material
jira: github 5687
Change-Id: I2394d27b027cfe34ac3cb260735aceaee65ff6d9
(cherry picked from commit 58f9c7d0b2800c4b8b67991f5d3e43d57a6cd1eb)
2025-09-09 10:14:19 +08:00
zhou.xu
8d1369d3cf NEW:add "obj preview thumnailData" function
jira: none

Change-Id: I688c2f05bf85fca376418115acddb5066ef980eb
(cherry picked from commit 16f2b2bcb5fd157f25aa7012dabd99a8d31aec07)
(cherry picked from commit 7cc21b5e9745a84d75ea13b66f5653520bb1cba3)
2025-09-09 09:39:43 +08:00
lane.wei
77c05615bb ENH: CLI: add support for colored obj
jira: no-jira
Change-Id: If9e698d60b71e8835a3ae46c75e9c8c2878556a7
(cherry picked from commit a2b2ec9cb80e3bafabd07a377aff9e11188be346)
(cherry picked from commit 201d3b18cc9d482192c9962717527f9e12ed6603)
2025-09-07 23:58:51 +08:00
xun.zhang
7e0c71286c FIX: crash of filament group in cli mode
1. Add protection for building machine filaments.Sometimes we don't
know the info about maahcine filament

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I3198d3a1a8825aa50aa49734f60a32620fc4f890
(cherry picked from commit 0c60cefe5e188ba966f4c254f833ae81bc5da476)
2025-09-07 00:47:24 +08:00
xun.zhang
f5a8c96924 ENH: filament map params switch to global param
1.Add more filament map modes
2.Filament map and mode are set as project config
3.Plate filament map is only valid when plate filament mode is
manual

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I33b2f853e0b77b9d605be1f2f1172b44df43da15
(cherry picked from commit e45f8c6dc2146e1e31a1c21e8aaada540af112d0)
2025-09-06 23:49:11 +08:00
lane.wei
e1a158d69c ENH: CLI: fix an exception in CLI testing
when update filament configs, we need to use the old filament variant count
jira: STUDIO-9201

Change-Id: Ibc0084997c264d8527dc9998018907c8af4b2043
(cherry picked from commit 462bfb0b6e941e2771440d8ee06cea149162b595)
(cherry picked from commit a54abad44c572cee0e39ef60822033739b3c3306)
2025-09-05 17:46:35 +08:00
lane.wei
de0ad1b642 FIX: CLI: fix the crash issues after new print_diff logic
jira: no-jira
Change-Id: I47beb83b96fcbd2322c878fa4edd5675749f0791
(cherry picked from commit c863a8268fea8fe79cbc4522d6642533474d429b)
2025-08-28 11:23:15 +08:00
lane.wei
19a450d910 ENH: version: refine file version process logic
only compare minor version when major equals
jira: no-jira

Change-Id: I0159c1b15db30238ad05b8ff7c83f6668fd11ac2
(cherry picked from commit e50e6985925582b4b686793244cc88bde3515d07)
2025-08-26 21:14:51 +08:00
lane.wei
6957d31c6b ENH: config: refine the object config logic when extruder count changes
1. add logic in CLI
2. add logic to process height range
jira: no-jira

Change-Id: I8a7ba1a78dacad7131cafa3fb8b742027276c7e8
(cherry picked from commit 9a6624653b7b66101f1a74715227a0f2b4588f16)
2025-08-26 10:11:47 +08:00
lane.wei
671dfa5f0c ENH: buildvolume: add logic to support extruder_printable_height
jira: no-jira
Change-Id: I962c4aed8c536c0fd8b89ae090cd0463c5d645db
(cherry picked from commit 43773d77010492453473797e77e83e9a4630c25f)
2025-08-24 23:18:30 +08:00