xun.zhang
e3f4496adf
ENH: modify filament group strategy
...
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Iac837beeb7a5c4684aea38c3e3925a67cd916fe8
2025-03-22 20:58:14 +08:00
xun.zhang
21379e1336
ENH: do not consider empty filament
...
1. Do not consider empty filament when selecting group for ams
2. Function "collect_filaments_in_groups" is frequently called,
optimize memory allocation to speed up.
jira: NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Iad8c9a257bc2dd832c77e650f8c052fb9d8379a0
2025-03-22 20:58:13 +08:00
xun.zhang
13df1ee7ba
FIX: invalid pop up when changing machine profile
...
1. Machine with multi extruder should set length of extruder offset
to extruder num
2. Register retract_restart_extra
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ic3eb324cb91dc70b091c8922936d2709c361cc38
2025-03-22 20:58:13 +08:00
zhimin.zeng
6b5a0c2d17
FIX: modify the limit of max_volumetric_speed to 200
...
jira: none
Change-Id: Id84707471d4b34ebda9ff56766e3b058ee6a5021
2025-03-22 20:58:13 +08:00
xun.zhang
48023e4c15
FIX: empty filament map
...
1.Caused by uninitialized filament map in mapping for AMS
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I71ce6001fc6f2e72eb9303fcaba0bac16ad70dc9
2025-03-22 20:58:13 +08:00
xun.zhang
1379b83846
ENH: Select group that best fit filaments in AMS
...
1.Only consider groups with a distance within the threshold
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I91526a796a0f7f1ed3e77c41076c1f85620dd944
2025-03-22 20:58:13 +08:00
zhimin.zeng
b17c5e7e01
FIX: flush_volume_matrix and flush_multiplier is incorrect
...
jira: none
Change-Id: Ie2d73b90b9ac7f5a6945b2bac859b76d2132f55a
2025-03-22 20:58:13 +08:00
xun.zhang
3cfb49a1b9
ENH: refine filament group algorithm
...
1.Use max flow network to handle limit
2.Support setting master extruder id
3.Fix the issue in the KMedoids algorithm where data is overwritten
after each retry.
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Idd2bedf39f61e7a65eb4199852f60b8fbebe0a7d
2025-03-22 20:58:12 +08:00
zhimin.zeng
d715353fa6
FIX: fix the crash bug when slicing
...
jira: none
Change-Id: Ieaec4fda4c653e6595322356bd16226640d2e932
2025-03-22 20:54:17 +08:00
zhimin.zeng
20837717d4
FIX: When the printer is inconsistent with the current preset
...
when the ams is 0/0, should not consider the print connect status
jira:none
Change-Id: I2288ff15894d5c734a98b830df6678cab2bd12fc
2025-03-22 20:54:17 +08:00
xun.zhang
d9ea1a4b24
FIX: performance issue caused by copy LayerResult
...
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I5f1bda598ef096999a0eda2fa68d2a24c97c22ca
2025-03-22 20:54:17 +08:00
xun.zhang
b34395358b
ENH: support virtual G1
...
1.We need virtual G1 command for statistics
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0db0f7f0f0c2d61e43582154e0bd76bd0097c8da
2025-03-22 20:54:16 +08:00
xun.zhang
b4d8566332
FIX: crash when ams filament list is empty
...
1.Set the default size of ams filament to 2
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ie985ecfa44cb9fcaf21406303e32bb56e731f351
2025-03-22 20:54:16 +08:00
xun.zhang
2f11ca8a03
ENH: remove a useless assert
...
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ief29b7cc8adc16218f1b3608a35448bd95e54c80
2025-03-22 20:54:16 +08:00
xun.zhang
0b95bdd9d9
ENH: do another map for ams filaments
...
1.If the group result differs little in flush,we will choose the one
that best fits the ams filaments
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Icd147b406e3494c841ef13564ad1b1231ad798fd
2025-03-22 20:54:16 +08:00
xun.zhang
8472e3011c
ENH: add wall vol speed when filament change
...
1.Add placeholder for outer wall volumetric speed when changing
filament
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ib1d5608f95bc12777db5d848f6b037c27ea0fd03
2025-03-22 20:54:16 +08:00
xun.zhang
8c88fabe8f
FIX: missing filament start gcode with 1 color
...
1. Caused by setting the current filament to filaments used
in machine start gcode
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: If6789b1e02aadc6d03610b7b7cc4c829ae767a7d
2025-03-22 20:54:16 +08:00
zhimin.zeng
51de6253ce
NEW: Add "change filament to"
...
jira: none
Change-Id: Ic5550ed257e03033681de91ebca521390f902f66
2025-03-22 20:54:16 +08:00
lane.wei
913bace1eb
FIX: config: fix the 3mf export invalid issue when using single filament
...
JIRA: no-jira
Change-Id: I1faf1fd7ac2b3dfd99594856e3c84da12d805627
2025-03-22 20:53:56 +08:00
lane.wei
2636e44dc0
ENH: config: add exception when load old invalid 3mf
...
some param has been changed for the multi-extruder
currently we popup an exception
JIRA: no-jira
Change-Id: I1e892203d34c569a580694c1c28a1c7d695c1c64
2025-03-22 20:53:56 +08:00
xun.zhang
994e4f4840
ENH: enhance accuracy of weight calculation
...
1.Use float to store the weight copmputed in the procedure.Avoid the
issue where filament weight remains at 0 after changing filaments
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Iff0cfc6e22f34affbc232dbfe196f27ee06d2d9e
2025-03-22 20:53:56 +08:00
zhimin.zeng
fec7129437
FIX: modify unprintable_filament_ids should regroup
...
jira: none
Change-Id: Ifb8105f6e301aaed9ca4e62a37b9d3a1616e755b
2025-03-22 20:53:56 +08:00
zhimin.zeng
d56bf872cf
ENH: some fix of previous commit
...
fix to I0c853de6b1938c7e2addbaab5a45b35daf5a32fa
Change-Id: I307f99b301709fd00090dc234c054dacfda2e76a
2025-03-22 20:53:56 +08:00
zhimin.zeng
3b988f6b77
FIX: incorrect print sequence of support filament on first layer
...
jira: none
Change-Id: I893fc773849a5557c138de3f9bd1c3ec1e1978df
2025-03-22 20:53:55 +08:00
zhimin.zeng
85ebb46995
ENH: Add limited filament maps to slice info
...
jira: none
Change-Id: I7b08943ba5f4e7fa9be18ba3f64caee182888d45
2025-03-22 20:53:55 +08:00
xun.zhang
a16ec053b4
FIX: get abs value for small perimeter speed
...
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I686b22f072ad0f87e50ef2321b92daaa3cb0154f
2025-03-22 20:53:55 +08:00
zhimin.zeng
b620a4122e
ENH: Pass ams information for slicing
...
jira: none
Change-Id: I3fe12189b6e8246fd553dcd8659bf7f98e622767
2025-03-22 20:53:55 +08:00
xun.zhang
f39eabfd9f
ENH: add tpu check when printing by object
...
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I366aa8387dfc8d1c94fe836ee4898424d04737c3
2025-03-22 20:53:55 +08:00
zhimin.zeng
885e96d8db
FIX: fix build error
2025-03-22 20:53:55 +08:00
zhimin.zeng
5aecc67874
ENH: some fix of previous commit
...
fix to If495a343efdb1be6f46d11dd20f6ec7934266e87
Change-Id: I9a0afee5c78a23e92c9c76bceff7937bb983918e
2025-03-22 20:53:54 +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
xun.zhang
c53a35856d
ENH: add filament cluster algorithm
...
1.Add new KMediods algorithm
2.Consider physical and geometric printables
3.Refine code structure
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I1412835c3c6380f9cedb44ff6914004365bba889
2025-03-22 20:53:54 +08:00
zhimin.zeng
ed61d1d31b
FIX: fix flow ratio calib bug for single extruder printer
...
2. modify the filament_flow_ratio to nullable
jira:none
Change-Id: I3f0569ee643cfe9473c6029ca0e04f4b80c8332e
2025-03-22 20:53:54 +08:00
zhimin.zeng
38b3c32b6a
ENH: flow_ratio cali support multi_extuder
...
jira: none
Change-Id: I03399040a772043d3d20116b0588fd04e0725be1
2025-03-22 20:53:54 +08:00
qing.zhang
276c797faf
FIX: remove extra filament change
...
Jira: none
if the fist print filement as same as the filament be set on start gcode
not insert filment change
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0114f287fff9be276a90772537d1910df18dec61
2025-03-22 20:53:54 +08:00
zhimin.zeng
ede9f90a79
ENH: support tpu for multi_extruder
...
jira: none
Change-Id: I556804aadac00406e7214b86f7925170a90c55ce
2025-03-22 20:53:54 +08:00
lane.wei
22feef013c
FIX: model: fix the bbox computing issue when update_instances_print_volume_state
...
JIRA: STUDIO-7498
Change-Id: I80fac3253d1bd6fcc49a4eb08dd68fe2e458c148
2025-03-22 20:53:54 +08:00
lane.wei
62b1d00d1f
ENH: 3dbed: support rendering extruder area with different color
...
JIRA: STUDIO-7494
Change-Id: I717999e8b7ab1d7d350299b412a3a270c6ba7a9e
2025-03-22 20:53:53 +08:00
lane.wei
2d791aea17
ENH: config: set default 'extruder_printable_area' to empty
...
JIRA: no-jira
Change-Id: I5d574a12684281faabbd1cf96e68e9b9ad593edc
2025-03-22 20:53:53 +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
xun.zhang
2ebd14667e
ENH: add some params for multi extruder
...
1. Nozzle Volume and Nozzle Type support multi extruder now
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ie171b5105bd3830db3a992cadd365b785008c47a
2025-03-22 20:53:19 +08:00
xun.zhang
68ed20dd09
ENH: extruder printable area default to be empty
...
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: If4aad7329cd97141eaec3e438dee165e86536c66
2025-03-22 20:53:19 +08:00
zhimin.zeng
8cf72ab46c
FIX: move the lift gcode from change_filament_gcode to GCode.cpp
...
and delete ;nozzle_change_gcode of change_filament_gcode
jira:none
Change-Id: I79c2896afe15b59ba3932240edcb6330e230470f
2025-03-22 20:53:19 +08:00
zhimin.zeng
c1dec339dd
FIX: modify the filament_change_gcode
...
and set 1/4 max_volumetic_speed for TPU
jira: none
Change-Id: I492ce178a88fb702fc051f8a0abec6a4b5706d00
2025-03-22 20:53:19 +08:00
xun.zhang
92fa0ff010
ENH: add ConfigOptionPointsGroups
...
1.Add extruder printable area
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I753344917a67e3d8ac361c15c3d374b5ef951d21
2025-03-22 20:53:18 +08:00
zhimin.zeng
e5d2ea3909
FIX: slice status error when print by object
...
jira: none
Change-Id: Iaa8453cbf79a38984cdae085418165287fee21b1
2025-03-22 20:53:18 +08:00
zhimin.zeng
11f61abefa
ENH: calib support multi_extruder(UI part)
...
jira: none
Change-Id: I3009c2f8b601dc078cfed787dc3531fc1d4848d6
2025-03-22 20:53:18 +08:00
xun.zhang
c6251b4d64
FIX: compile warings caused by 64bit shift
...
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ibce8e160a922c266bfb9b6a52fad01466fee8bef
2025-03-22 20:53:17 +08:00
xun.zhang
1525c3c3ac
ENH: support custom layer sequence
...
jira:NONE
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I73f030f2009b66aef20e3492f742d85970081e8a
2025-03-22 20:53:17 +08:00
xun.zhang
7d4d5f2c9b
ENH: change some params to nullable
...
jira:NEW
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ifd91da26d089c78e2d5036e145b7f4404535b7a5
2025-03-22 20:52:56 +08:00