Commit Graph

192 Commits

Author SHA1 Message Date
xun.zhang 6e74a4a77b ENH: seperate timelapse time in preview
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I8cc57c70743019baeabe365dbec73affdf5149fe
2025-03-24 08:35:25 +08:00
xun.zhang 82d13205d5 FIX: h2d do not support timelapse in sprial mode
jira:STUDIO-10402

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I5d012a4665bf5715d90fcb973a589d3a500ded13
2025-03-24 08:34:31 +08:00
xun.zhang 16813aa460 FIX: missing gcode line caused by gcode GCodeEditor
In the original logic, the gcodeEditor did not parse gcode lines with
leading spaces. In recent changes, all leading spaces in gcode lines
were removed, causing all gcode to be parsed. However, some certain cmd
perform additional actions, leading to incorrect state recording. As a
result, based on the erroneous state, some gcode lines that should not
be deleted are being removed.

This logic needs to be optimized in the future.

jira:10357,10367

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: If34b9c3b2913768b824030685e0a36708ca3a5ca
2025-03-24 08:34:29 +08:00
xun.zhang f2d9902ff3 ENH: update timelapse for X,P
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I32c8288511da98cc1806697673b476b17556164c
2025-03-24 08:25:45 +08:00
xun.zhang 1c8da5f99c ENH: add timelapse for A series
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I9028d7117d1d184a8f7baad0b0ae4492a35481f4
2025-03-24 08:25:45 +08:00
zhimin.zeng 5c3d804b9f FIX: Detach the timelapse gcode from layer_change_gcode
for X and P machine
2. remove lift and retract in filament_change_gcode and layer_change_gcode
jira: none

Change-Id: I3da2d3ac7f0100d1963dcbb1228323666a060534
2025-03-24 08:24:22 +08:00
zhimin.zeng fff7873456 FIX: enhance for timelapse gcode
1. support traditional timelapse for H2D when printing by object
2. insert timelapse gcode when close wipe tower
3. remove hard gcode before filament gcode
jira: none

Change-Id: Ib56c21b1f07832f2cbc8ba5ab7f2e8653b3105bf
(cherry picked from commit 7613474cefd210685d16a5585608c0c7cb7efa95)
2025-03-24 08:24:22 +08:00
xun.zhang a780ed9e1d ENH: set default nozzle volume type to standard
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia7c0118f89aee4e55c4c4b466957d80453775237
2025-03-23 20:31:26 +08:00
xun.zhang 8e48e10f51 ENH: add virtual nozzle temp command in H2D gcode
jira:STUDIO-10104

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I47b083384e6730cf973dc865e821dce3a7e46277
2025-03-23 20:31:26 +08:00
zhou.xu e74c9e710b ENH:add "not support bed type" function
jira: STUDIO-9028
Change-Id: Id1c6cc9005fc5073d885274e360d31282063a9a3
2025-03-23 20:31:25 +08:00
xun.zhang 785e029971 ENH: update custom gcode for H2D
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I6c69c6ee3cd77c7b82d6b37592e9fc4ebfd539d9
2025-03-23 20:30:10 +08:00
xun.zhang 3213963399 ENH: update nozzle volume for H2D
jira:none

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I21e56af3d4d2d3eb2ec4265ce3f34bac649b18f0
2025-03-23 20:29:35 +08:00
xun.zhang 4967862978 ENH: update custom gcode for H2D
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I5747a7cf019fee24a79c26743fcd227948846b51
2025-03-23 20:29:09 +08:00
xun.zhang d3927a59e9 ENH: modify nozzle diameter sequence
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia17f86e3f035ad9389d0f44f8378c822f8cc947e
2025-03-23 20:21:29 +08:00
xun.zhang dd3e3fe750 FIX: cooling the unused extruder if only using one
1.Always add extruder usage block in filament change and end gcode
2.Modify the heating rate

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I099b306ea6e4c6296ac1dc15bc6a67ed15a29b0f
2025-03-23 20:20:35 +08:00
xun.zhang 1770615144 ENH: update gcode for H2D
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I8b33061aba2ba142bc435c56148e3a5ac500e413
2025-03-23 20:20:35 +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
Arthur 0f37893bea ENH: set H2 series' best_object_pos to 0.3x0.5
So objects are auto arranged near the chamber fan.

jira: none

Change-Id: Ia7c76c0b048fad51728d2b24c9dd6530c8c30497
2025-03-23 20:19:23 +08:00
xun.zhang c99fcd454c ENH: refine time estimation in filament change
1.Add sync command. Now gcode and dirrectly add time sync command
2.Add support for ceil and floor in placeholder
3.Update change filament gcode for H2D

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I6dd97cbd96bae1c2751c08357ff64947876d7471
2025-03-23 20:18:28 +08:00
xin.zhang 0bbc185b71 FIX: the extruder diameter check fault
jira: [none]
Change-Id: Ib5719996b0b660bb68ab20c7c38cc6b2ce3a9286
2025-03-23 20:18:02 +08:00
zhimin.zeng db5e28ddaa FIX: modify the timelapse gcode
recover the y position when timelapse gcode end
jira:none

Change-Id: I80b9b65395722e0190aa7d50bb064e095d8ec09d
2025-03-23 20:15:02 +08:00
jiangkai.zhao 17771d0fbf ENH: Add gaps in the outer wall of the wipe_tower
and modify the path of travel to the wipe_tower after flushing

jira:none

Change-Id: Id4b0571fd12372c59cf522c13e256c7cc4ac3565
2025-03-23 20:15:00 +08:00
zhimin.zeng c141ed25f5 FIX: add timelapse_gcode for H2D
jira: none
Change-Id: Iab0248c22963ca7d0dc75fc03d2ccda147059226
2025-03-23 20:14:42 +08:00
xun.zhang ce7a244c3d ENH: optimize custom gcode for H2D
1.Add AMS empty print detection switch
2.Enable heated bed tilt compensation
3.Increase material length for easier bundling
4.Add Z-axis vibration compensation

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I9e51d3812eab51447c47f947447b5e1f281ab9a7
2025-03-22 22:11:29 +08:00
xun.zhang 90ffa139a5 ENH: add profiles for H2D
1.Sync profiles with master branch
2.Add profiles for H2D
3.Add new filament bambu PC FR

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I11d1fff8bd494c59790f22419ef08b9b6096436a
2025-03-22 21:46:43 +08:00
xun.zhang 16cadec565 ENH: add grab length
1.During the filament change, the extruder will extrude an extra length
of grap_length for the corresponding detection, so the purge volume can
reduce this length.

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I14f55a3200c1dd48b1603e50280d0c29e1319ebe
2025-03-22 20:32:27 +08:00
xun.zhang 01ed326feb ENH: update timelapse for A series
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Id739fa9be67d679c31ad81a3ad4c3b75e3afccbf
2025-02-18 17:19:01 +08:00
xun.zhang 51e8d57347 ENH: update timelapse for X,P
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I5de6cb7ca2441c1ad025c9a448b4763f98013325
2025-02-18 17:19:01 +08:00
xun.zhang 6d66c520d0 ENH: update A series gcode
1.Add long retraction when cut

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I423932bd64d229db3da75578a25136bc99550b0a
2025-01-09 19:32:26 +08:00
Arthur 1656cf084b FIX: simple way to avoid collision of seq printing
A simple way to avoid collision of seq printing by object of A1 series
printers, at the cost of reduced area of sequential printing.
Add new option extruder_clearance_dist_to_rod.

jira: STUDIO-8137
Change-Id: I033220e090b071c76f5c5be0d0b471e428d807ec
2024-11-12 15:35:32 +08:00
Arthur 13ca5a05d8 ENH: move X1 series' purge line to the front
Previously we moved X1 0.4 nozzle's purge line to the front for easier removal. Now we do this for all the other nozzles.

jira: none
Change-Id: If9c7980f33ae09575b830743d7d450cc38480aa4
2024-10-28 20:51:35 +08:00
xun.zhang 70a7e837d4 ENH: enable filament_long_retraction for A series
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I7189a0a43736f45043f3600128db5aa03e2d2bfe
2024-10-28 20:51:35 +08:00
Arthur Tang 3e35fd82d5 ENH: move the purge line to the front of X1's plate
jira: STUDIO-7791
github: #4580

Change-Id: If67da5bb6aae95bf0faf4092429b7e14b8459d9c
2024-10-15 15:50:26 +08:00
xun.zhang f5b54f619c FIX: no retraction after extruding compensation
1.Fix no retraction after extruding compensation for multiple
data lines in N1/N2S execution

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I05ef647a164aea6bfa9085e0eafed8d921796f06
2024-09-18 21:27:27 +08:00
lane.wei f02d08cdf7 FIX: config: fix the height_to_lid of A1 mini
use 180 instead of default
JIRA: no-jira

Change-Id: I323c2a1d0919e7409463da542221d701ca061ccb
2024-09-18 21:27:27 +08:00
qing.zhang 480b061f06 ENH: add M984 cmd for A serise
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I523bb9be0a2374ceae9ffb2d51e339ee2d0d2617
2024-08-26 19:47:32 +08:00
xun.zhang 48abca1c95 ENH: use petg-hf as default petg
1.replace petg basic for petg hf as default filament

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ibb82527e0fc373a50da7df287dc27b5998ee5510
2024-08-26 17:23:33 +08:00
qing.zhang 05e7d72cd2 FIX: manual calibration K value not work for A1
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I7a59885629164c96b6407944d2cee32dd61a3c89
2024-08-26 17:23:33 +08:00
qing.zhang 7e5db7210f FIX: toolchange outside the trash box
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I4140d3b0dfd1c71bb5566007ff4d726567e9b736
2024-06-21 09:15:34 +08:00
xun.zhang 764095ca3b ENH: update X1 start & end gcode
1.add printer start and finish music
2.sync code difference

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ic800f0d243cb3b8b9559aaa95a68cda9c61ed706
2024-06-11 18:17:08 +08:00
xun.zhang caf31f6279 ENH: Add nozzle wrap detection for the third layer
1.Add nozzle wrap detection for the third layer
2.Adjust the calibration  extrusion line width

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I7110163b08e889dd2683d2705056b53ac70b793c
2024-06-11 18:17:08 +08:00
xun.zhang 01b04bf963 ENH: update PLA fan logic
jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I82282e8a23cd56e6995c835e33c1b70675e20b04
2024-06-11 18:17:08 +08:00
xun.zhang 9d286ee936 ENH: update A1 gcode
1.Modify the width of extrusion compensation line

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I90543758c866d74f2154e3135d7569109def84b8
2024-05-13 09:20:46 +08:00
xun.zhang 86d345eee8 FIX: logic error in PLA fan control
github PR: #3948

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I28e4a673e590e83d151e92cc82caab45012aeabe
2024-05-13 09:20:46 +08:00
xun.zhang 43b1113b88 FIX: minor spelling mistake in gcode
github:#3477

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Id3201bf8b8125ce060e2cac102ab2525877e27c1
2024-05-13 09:20:46 +08:00
xun.zhang 2c882da3e2 ENH: update A1 machine gcode
1.Adjust the y position of the A1 extrusion compensation line

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Iea690a0184ae10a47f53e1532272c31fc0a04cfa
2024-05-13 09:20:46 +08:00
afriede 437e445dc8 fixed logic error in PLA jamming gcode for P1S 2024-05-06 11:09:07 +08:00
xun.zhang 2a3b8d7a28 FIX: wrong default value for long retraction
jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ifc2ec57a320fdb14e7ca746e5795501ed146ff32
2024-04-23 20:07:49 +08:00
xun.zhang ba7cc12893 ENH: add long retraction for P series
jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I6890695b67e674fc5cdc2a208e89bd9e41404213
2024-04-23 20:07:49 +08:00
xun.zhang d7fbb90369 ENH: update A1 series gcode
1.Update filament change gcode and machine start gcode for
  A1 and A1 mini

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I2f3be3fd89fef21e717a32f2b89985fc046f7f6e
2024-04-23 20:07:49 +08:00