Commit Graph

137 Commits

Author SHA1 Message Date
zhimin.zeng f3d67a98ac ENH: support delete any filament id
Change-Id: I71bcd54985b3f9e19a19d04327d00b402ec22380
2025-03-22 20:31:42 +08:00
zhimin.zeng 6fbad9ed33 ENH: flush_volume support multi_extruder and fix bug
Change-Id: Id6b041f71ee6e55e68a6937f24ce791caac8e708
2025-03-22 20:31:42 +08:00
zhimin.zeng 8b2544df41 FIX: Use the same api to get the extruder id
jira: none
Change-Id: I05b3040b176374deee3e95bc52364fe7b33bb257
2025-03-22 20:31:42 +08:00
lane.wei 03058ba29d NEW: config: add logic in config system to support multiple extruder
1. add nozzle_volume_type
2. add extruder_variant_list
3. add printer_extruder_variant,print_extruder_variant, filament_extruder_variant
4. construct backend fullprintconfig

Change-Id: I50659634e2cde363112ff5ded6c199d7548c6f2f
2025-03-22 20:31:42 +08:00
Stone Li def9223e6e ENH: optimize one message
JIRA: STUDIO-9527

Change-Id: I789e04a1727b16a8de8eac975ef6a3fea5c59d56
Signed-off-by: Stone Li <stone.li@bambulab.com>
2025-01-09 19:32:26 +08:00
maosheng.wei e5dab14871 ENH: Optimize the number of function calls during information parsing
During the printer connection cycle, each Filament and slot is only judged once
When deleting custom filaments or modifying the temperature of custom filaments, re evaluate

Jira: XXXX

Change-Id: If495a343efdb1be6f46d11dd20f6ec7934266e87
2024-10-15 15:50:26 +08:00
maosheng.wei ddbecb4f5e FIX: preset without compatible_printer cannot be exported
github: #4290

Change-Id: I42dff3380a698ff86dba6409e61442357759a7c4
2024-10-15 15:50:26 +08:00
xun.zhang 8be37b1a73 ENH: profile description support inherits
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I8c49101cbc38b5d9364f28c6a0b82acdb47a2a80
2024-10-15 15:50:26 +08:00
lane.wei fa2caa8bc8 ENH: config: add version different check logic
jira: STUDIO-7361
Change-Id: I0541d2cdd3bcef059f50ad3accf92bf4bdeaa670
2024-08-26 17:23:33 +08:00
maosheng.wei 3b2b9e5893 FIX: [7085] crash when connected printer
Jira: STUDIO-7085

Change-Id: I8509a4261885b255dac2e4423f6e641f942f762c
2024-06-11 18:17:08 +08:00
Kunlong Ma dbff3729a4 FIX: Incorrect multiplier, when the multiplier is set to below 1
github: #3987 #3805
1. In some languages that use commas as decimal points, setting multiplier below 1 will resolve to 0
2. Unable to save multiplier correctly

Change-Id: I62bc55e270929ebb5e910eb79c6f97106e842b93
2024-05-13 09:20:46 +08:00
Stone Li e4288407b9 NEW: support multi device
JIRA: STUDIO-6072

Change-Id: Ic514c4097767b0a728368c9ea48ee103c031fbb0
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-04-23 20:07:49 +08:00
maosheng.wei eb9c334c27 FIX: [6510] set nozzle temp incorrectly when popup AMS Setting
Change-Id: I898f0b94794a3d67017b1917ce196c4019f5eb4a
2024-03-25 15:29:19 +08:00
maosheng.wei 5929a0a431 FIX: fix change nozzle temp in Studio but printer not change
Jira: 6510

Change-Id: Ia0e1ac586ff41ddbabdac0845415e70774299387
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2024-03-25 15:29:19 +08:00
maosheng.wei 2cc42a0fd9 FIX: No data in the drop-down menu of the AMS settings page
Jira: 6342 6343

Change-Id: I6938fb4a7ae2816a4675d8d739622e25f219f469
2024-03-25 15:29:19 +08:00
maosheng.wei 626e2a9f79 ENH: custom filament sync with printer
1. prompt sync user presets when create custom filament
2. Fix the issue of not displaying printers when creating custom Filaments based on presets when selecting PLA Aero Type.
3. Optimizing the traversal logic during AMS Setting Pop up reduces time complexity and allows for quick pop ups. Additionally, using nozzle calibers for retrieval and repairing custom materials may result in inaccurate retrieval.
4. Implement synchronization logic with the printer
	-a. Received slot information, reset the slot when the "filament_id" in the information does not exist in Studio
	-b. Received slot information, the nozzle temperature in the information is different from the preset nozzle temperature in Studio, reset the current temperature.

Jira: none

Change-Id: I511dc82563ec77a341839671d398607048ce1985
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2024-03-25 15:29:19 +08:00
Stone Li 9787cdb5a3 ENH: skip more print_host related info
JIRA: STUDIO-6247

Change-Id: I32e4c24f377e90c79370f33282e1a4b84477d57e
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-03-25 15:29:19 +08:00
maosheng.wei f0359e9304 FIX: [5779] fix show alias logic when load preset
Jira: 5779

Change-Id: I4fefe3c1ffbca9bd8296f1b3fdd5de48c6a36a28
2024-03-25 15:29:19 +08:00
maosheng.wei 139df6a9a4 FIX: ENH: Cannot save when illegal characters in the preset name
Jira: 5981

Change-Id: I5cce1a258230ea2d23f6f2400a14dee7e53b7705
2024-03-25 15:29:19 +08:00
Kunlong Ma 62b872888f FIX: The flushing was not auto-calc when sync ams list
JIRA: STUDIO-5551

1. flushing volume auto-calc when sync ams list
2. flushing volume takes the larger calculation value when filament has
   multi-colors

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I72e6f9780ea56103a44c2da6068440a4615c254d
2024-03-25 10:42:29 +08:00
chunmao.guo 657050aa5c ENH: support preset description(tooltip)
Change-Id: Iff005baac4974c538d1109fb0ba1df20b04a8f69
Jira: STUDIO-5754
2024-03-25 10:42:29 +08:00
chunmao.guo 9319440d74 FIX: Prefer old selection when sync AMS not compatible
Change-Id: I6b18db51887132a997cf78d70fff9a92e23bc44a
Jira: STUDIO-5416
2024-03-25 10:42:29 +08:00
maosheng.wei dc47541220 FIX: add log for base_id and filament_id
github: #3087

Change-Id: Iebfbd0f224fce49f33fc81c71e6108f6e3abb5ff
2024-03-25 10:42:29 +08:00
Bastien Nocera f54fb4a1cf libslic3r: Fix missing includes
Fix a lot of "undeclared" errors during compilation on top of the
current GNOME 45 Flatpak SDK.
2024-01-02 17:42:37 +08: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
wenjie.guo 270e3724a2 FIX: the preset is the same with the first one when switching printers
Jira: STUDIO-5433

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: Icf1979f2bcffbc9c59a072924df5073fc3eac363
2023-12-14 22:08:53 +08:00
maosheng.wei e0d38f15cb FIX: [4492 4851 4883 5121] create printer issue
Jira: 4492 4851 4883 5121

Change-Id: If252b5f30be0403f79410aa8c00fc14b066d5bbd
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
lane.wei 48644e1fb4 ENH: CLI: add some params to support more functions
1. uptodate_filaments to support update the original filaments to newest config
2. allow_rotations/avoid_extrusion_cali_region for auto-arrange
3. skip_modified_gcodes to support skip modified gcodes

JIRA: STUDIO-5112
Change-Id: I95c09af1b5462cce3bf27aea32228d6d1d1d201d
2023-11-09 10:09:10 +08:00
chunmao.guo 575f188436 FIX: take custom root as AMS sync candicate
Change-Id: I9c71babcd74238d1533b15d77a978b19997c70c0
Jira: none
2023-11-09 10:09:10 +08:00
maosheng.wei 5f0dc7faed FIX: export and import configs issue
Jira: XXXX
import config lose xxx_settings_id issue
export process config should not have user printer
export process config shoule remove duplicate presets
export filamnent config: filament list should have no third print compatible presets

Change-Id: I94bac062e07b3a989ff86142e3fb8266a48364c6
2023-11-09 10:09:10 +08:00
maosheng.wei 44d61cd0a6 FIX: enable yes/no to all button
Jira: XXXX

Change-Id: I34bdefd1a14a24de7973e23f8d92cb3da296d017
2023-11-09 10:09:10 +08:00
maosheng.wei 7ea13aad76 FIX: import config and update compatible
Jira: XXXX

Change-Id: Ic91a1021e7fab7c77454538336765c1017a41427
2023-11-09 10:09:10 +08:00
maosheng.wei 1d08d427ac FIX: fix create nozzle for exist printer issue
Jira: XXXX
copy some new parameter for new preset

Change-Id: If17f329eea541d9da332185367b2ea1b7972d2dd
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
maosheng.wei 042bf04446 FIX: add import and load config log
Jira: XXXX

Change-Id: Id32e28cf2cf30816d14f9810feb29eaf24e83231
2023-11-09 10:09:10 +08:00
maosheng.wei adbed9c88d NEW: [4073] create new nozzle for exist printer
Jira: STUDIO-4073

Change-Id: Idee8067faf96d75cdf20928559c05debcf9b3f3b
2023-11-09 10:09:10 +08:00
maosheng.wei 735ef3dc8a ENH: remove create filament entry to guide
Jira: 4036

Change-Id: I86aa3423761956120e9bf42dcb8eca76dd44202b
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2023-11-09 10:09:10 +08:00
lane.wei 6c2ad86415 ENH: preset: add logic to check the modified gcodes when loading 3mf
when the 3mf contains modified gcodes or self defined presets
a popup window will be shown
JIRA: STUDIO-4628

Change-Id: I975758132ba9d200255e7bf7d3a606fd609da5c8
2023-11-01 09:33:21 +08:00
lane.wei f2ee0daef5 ENH: config: add local logic into config.load
JIRA: github-2569
Change-Id: If593b9faee324dda096a27873587db27aa22129e
2023-11-01 09:33:21 +08:00
lane.wei 38b86616ce FIX: fix the config parse error for some language
JIRA: github-2568
Change-Id: Idd1ccb118dde4d0fe663ee4d1e4426c0e504ff1e
2023-11-01 09:33:21 +08:00
maosheng.wei 998f53a585 ENH: [STUDIO-4047] Export presets dialog
Jira: 4047

Change-Id: I91c5b684784c6c3e31fa0ac53698976732f843cf
2023-11-01 09:33:21 +08:00
xun.zhang c00f944308 ENH: add func to get filament hrc by type
1.Support get filament required hrc by filament type

jira:STUDIO-3518

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: If0c1699331b75da17380b9eeca7bb155d98a14c2
2023-11-01 09:33:21 +08:00
maosheng.wei 743f485fad NEW: [STUDIO-4036 STUDIO-4073] create filament and printer dialog
Jira: 4036 4073

Change-Id: I073ee4a2af4c86332e6d052f5d7322c9f2784184
(cherry picked from commit f4ec32929e1e6ebecd87e2e709636a43be497265)
2023-11-01 09:33:21 +08:00
chunmao.guo 0db3fd9f81 ENH: [STUDIO-4034] add functions for custom printer/filament
Change-Id: I0fc2738392970b19c0ae8263ea7d968cc8f23c2f
JIRA: STUDIO-4034
(cherry picked from commit 30e5b3f61f2f5aae308d5e454f71d69939104ebb)
2023-11-01 09:33:21 +08:00
chunmao.guo f4ffe8621b ENH: [STUDIO-4005] support custom root preset
Change-Id: I0cf2142a2d3cee7269b53b73ad44e05934c2e9e6
Jira: STUDIO-4005
2023-11-01 09:33:21 +08:00
slynn1324 6f1d04f270 ENH: support thumbnail in gcode for 3rd printers
Thanks @slynn1324
1. Add thumbnail size in printer params page
2. Optimize writing thumbnail data in gcode

jira:STUDIO-3942
Github: #2166
Github pull request: #2333

Change-Id: I6897cfddfa6a1b0c95decf67329a486d40ec0cc2
2023-11-01 09:33:21 +08:00
chunmao.guo a9e436e557 FIX: [STUDIO-3735] unload default user filament/process presets
Change-Id: I24e54823e91ea8f6cad9bfbdf69ee838e75f8190
2023-11-01 09:11:19 +08:00
chunmao.guo 1c4d0e9bc1 FIX: use prefer preset after reset project presets
Change-Id: Idadee17f28f345cccccf35ec2da2b0786799840d
2023-07-07 17:52:43 +08:00
chunmao.guo 03054a3b80 FIX: [STUDIO-3313] fix preset selection on load_user_presets
Change-Id: I46849869d2b84211b1b7802cf886bb0d83d10649
2023-07-07 17:29:08 +08:00
Stone Li efd65561a2 NEW: add Device view for third-party printers
cherry-picked from SoftFever

Change-Id: I36b2fa0227886e4fac494c8b83e12f4fc0b04e17
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-07-07 17:29:08 +08:00
chunmao.guo 10838680dd FIX: handle empty AMS filament type
Change-Id: I76b931a28fef4aaf18c2ca0a472fcbefee4663b8
2023-07-07 17:29:08 +08:00
liz.li d53bd3394a ENH:calibration
1.adjust interaction of calibration
    add select my device
    add select multi-amstray
    modify ams selector
2.add some x1c calibration command

Change-Id: I403446cc0cd3ae5e1dec5d2dc97920ff334522da
2023-07-07 17:25:51 +08:00
chunmao.guo fd787adf6b FIX: unload default user presets
Change-Id: I55e289708603f06263a64d4cfbfd1db596fdc864
2023-04-17 15:39:02 +08:00
zhimin.zeng de3bb7eb4f FIX: new project use the app_config flush_multiplier
Change-Id: I5b820399a814a043581fcfadb9629cbe15dd1c52
2023-04-17 15:39:02 +08:00
chunmao.guo e11c004de4 FIX: [BLPIOT-64] only default or user presets
Change-Id: I1c846aa26fdac95652ae8e7b3d01c30f99e7ef61
2023-04-17 15:39:02 +08:00
chunmao.guo 32b6952950 FIX: [STUDIO-2596] import preset missing base_id
Change-Id: I2725906da26a471aef66eb8f29bf156ad00b1ec0
2023-04-17 15:39:02 +08:00
chunmao.guo 2a1f8af62e FIX: [STUDIO-2547] import config yes/no to all
Change-Id: Ib5812c4af3d9fcbe45fe1d884a8bcf29d2f4f704
2023-04-17 15:39:02 +08:00
chunmao.guo 89fc178dd0 FIX: [STUDIO-2425] default filament color
Change-Id: I85871885e5e6976e6479410a93a5f14ccd61a8cd
2023-04-17 15:39:02 +08:00
chunmao.guo c945c47383 FIX: [STUDIO-2150] export config not work
Change-Id: I05915a9dc5e767273e09ecdebaf5a679435c080f
2023-04-17 15:39:02 +08:00
chunmao.guo 06daf3bc45 FIX: [STUDIO-2323] force colors the same number as filaments
Change-Id: Ib57fccc0961cb680502aad6ef039c637cffe0f6b
2023-02-24 17:44:15 +08:00
chunmao.guo 25bcd9a517 FIX: update compatible after remove user presets
Change-Id: Ib989501429d4faf767bd59ea13a458b2367998ef
2023-02-24 17:44:15 +08:00
chunmao.guo 5c61c834b0 FIX: [STUDIO-2207] update_compatible on load user presets
Change-Id: Id410c9e0ec68031c0517285daf8a24b998ba2eda
2023-02-22 20:09:17 +08:00
chunmao.guo d0f2f0b28d FIX: [STUDIO-2183] presets/filaments unorderd in BambuStudio.conf
Change-Id: I3a286c356cc23f970462e6f24d99b4b038e321e7
2023-02-22 20:09:17 +08:00
chunmao.guo 881e25e2a2 FIX: [STUDIO-2150] not save remain configs on no-to-all
Change-Id: I7174a0639599919e43c9110016911db179178d7c
2023-02-22 20:09:17 +08:00
chunmao.guo b3a4384aec ENH: save ams list to compare with last sync
Change-Id: I44db0b0a61cf366929aed6ab703407e5d9b170b7
2023-02-22 20:09:17 +08:00
zhimin.zeng a52e423416 FIX: crush when slicer multi-color model
the root cause is a mismatch between the dimensions of flush matrix and the number of extruders

Change-Id: I3a4ca706cb24d9e5d33969b9e6f5b288e71bb8f2
(cherry picked from commit 7399037eaacdfd7d8407667a2e5a097757265254)
2023-02-01 16:24:44 +08:00
chunmao.guo ae959b7400 ENH: [STUDIO-1871] merge changes of user presets from other sessions
Change-Id: I2841ff4e23b18ebe7cdf374b69a494a4c05a49ee
2023-01-10 19:08:26 +08:00
chunmao.guo a4cf284c3d ENH: adjust user preset handling
1. async fetch user presets from server (in thread)
2. always load default user presets
3. load user presets from cache immediately
4. not remove user presets cache
5. hide some loading ui

Change-Id: I1d29ed18e09606d0b2f69a69eea2eb5042c26223
2023-01-10 19:08:26 +08:00
chunmao.guo 8cee81b5ef FIX: [STUDIO-1574] not switch filament preset after wizard
Change-Id: Ica703553a6994456f12b509564443902697ed374
2022-12-15 04:38:15 -05:00
lane.wei 8375c73ac9 ENH: CLI: some refines on compatible logic
1. export compatible related values to 3mf
2. process compatible related values when loading

Change-Id: Ib7ed3d165cda5d62e0074652d474567494141631
(cherry picked from commit 989fe6439d573457fa78afc5376d04d3120dbbfd)
2022-12-15 04:38:15 -05:00
chunmao.guo 5276528e04 FIX: [STUDIO-1592] float number format of German for flush volumes
Change-Id: I78a5d7aed836cc4ed980496f68d22c68c11c2b77
2022-12-15 04:38:15 -05:00
yifan.wu 41fcf8eb1e ENH: optimize WipeTowerDialog logics
1. flush_multiplier will be apply the the flush volume during slicing
   rather than only in auto-calc
2. mark too small flush volume as red instead of a warning dialog
3. do not forbidden flush volume lower than the nozzle volume
4. fix incorrect focus status of text input box in WipeTowerDialog
5. check the minimum flush volume based on flush_multiplier
6. limit the decimal digit to two places

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: Icdcc50c88ecd9463fb9ce73f996d57c2d9f0187f
(cherry picked from commit 60e01edc511f117b05a8a9b92aaf6fd55325e485)
2022-12-15 04:38:15 -05:00
lane.wei b65d47b544 FIX: fix the default materials loading failed issue
Change-Id: I9341e6ec209673585a9ed3a981db92d28ac30659
2022-12-15 04:38:15 -05:00
chunmao.guo 67fd44c551 FIX: [STUDIO-909] not dynamic inc filament_presets size
Change-Id: Ie231667213cceec1bca56e1af8eabd6503bd3fed
2022-12-15 04:33:48 -05:00
chunmao.guo 9c57c808fa FIX: [STUDIO-1249] tips on syncing unknown ams filaments
Change-Id: I754ca576e1e0e832a6c69a2bf4bef58900252040
2022-12-15 04:33:48 -05:00
chunmao.guo 711f5906b9 FIX: save and restore filament colors and flush volumes
Change-Id: I04b80d95e6a3e23ef3561e512673ea39dfc3ff0c
2022-12-15 04:33:48 -05:00
zhimin.zeng 13df80ffb7 ENH: remember the filament_opts and limit minimum flushing volumes
Change-Id: I7b2538fcaf5b5fc5e4f86191207de981bd766a89
(cherry picked from commit 392be8d2a4e9465fffc4018da77c6ee00ad46ade)
2022-12-15 04:33:48 -05:00
liz.li 0b84ca62bf NEW: add custom printer config wizard
Change-Id: I48f34039635803c3f1cee4cc2c853a0ffa5b451a
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 387ba2a5aac05d3b3af0923f88415188ae8cb44e)
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:33:48 -05:00
Stone Li 239f7e3e32 FIX: clean preset_folder when logging out
Change-Id: I0a61db6b6ae0fc4bad1f178e1492384a42de1501
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-11-07 19:59:23 +08:00
lane.wei 0693f8c8c6 Fix: fix the user directory not found issue
wrongly delete by update_user_presets_directory with empty username

Change-Id: I88521cddde5db5aeaccdbc62b09db74f5f596fbe
2022-10-20 19:34:37 +08:00
lane.wei 631897c0a6 ENH: add logic to load default filaments of newly added model
1. fix the prefer_model issue
2. when a printer is visible and no filament is selected, just set its default materials to visible
3. add some log for shutdown debug

Change-Id: I599dbd9c8b180c944ff4086c7638267ff002f94a
2022-10-20 19:34:37 +08:00
Stone Li f968374b46 ENH: some improvements and fixs
1. create user folder if not exists
2. add a tips for binding a printer
3. fix sdcard tips
4. modify icons
5. refine layout of task options

Change-Id: Ic0529cf1e8bdde0128052bc42454f6e6aaae87ca
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-10-20 19:34:37 +08:00
lane.wei 5cee2208d7 ENH: do not throw exception when data directory creating failed in some cases
if the directory already created by other instance
do not throw exception

Change-Id: I3ebde1ab62fa85ea946b6aeafc87aa7468327ce6
2022-10-20 19:34:37 +08:00
chunmao.guo 673b6418c1 ENH: sync with ams filament
Change-Id: Ifa8b9487c934a18ad1003f380bbb53fa9288e387
2022-09-29 11:16:43 +08:00
zhimin.zeng 11c24053dd FIX: remove user preset folder when logout
Change-Id: I64f0e46de7a91264c3c50188bbad2ac1409bcc0d
2022-09-02 13:16:54 +08:00
chunmao.guo 115995e46d ENH: export current preset configs
Change-Id: I75642f9786ed14e4e6e2048f4a70e7bb49bff03f
(cherry picked from commit 31886319c0a3f1adea301e01a9f49834c1c92670)
2022-09-02 12:52:18 +08:00
lane.wei 77afdc6467 Fix the preset incorrect issue caused by logout
when logout, if the preset selected is still there
we should not select it by force, which will cause the edited preset cleaned

Change-Id: I930cfcb04eae7473f6bc5f037d26b852013b6f42
2022-08-05 16:11:42 +08:00
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00