Skip to content

K-Profiles

K-Profiles are BamDude's representation of slicer-grade print parameters tuned per printer — pressure-advance / linear-advance values, nozzle/bed temps, flow ratios, retraction settings. Profiles travel with your install: backed up over Git on a schedule, exported as a single JSON file when you want to migrate, applied per spool from the inventory page.

This page covers the profile mechanics. For the spool side (assigning a profile override to a specific spool / colour) see Spool Inventory.


What is Pressure Advance?

Pressure advance (also called "K-factor", "linear advance", or just "K") compensates for the lag between the extruder motor pushing filament and the molten plastic actually leaving the nozzle. The wrong K value shows up at every direction change of the print head — corners, perimeter starts, retract→prime points:

  • Too low — bulged corners, blobby seams, over-extrusion at perimeter starts. The motor keeps pushing while the head is still decelerating.
  • Too high — gaps at corners, thin lines, weak perimeter joins. The motor backs off too aggressively and the nozzle starves.
  • Just right — sharp clean corners, consistent line width across the layer, no blobs at line starts.

Different filaments compress differently — softer/wetter materials (PETG, TPU) need higher K than stiff PLA — so you need a separate value per material, sometimes per brand within a material.

Storage model

BamDude keys a K-profile on five things: printer × filament × nozzle diameter × extruder × flow type.

Dimension Why it matters
Printer Same filament on different printers may need different K — different extruder geometry, different bowden length, different firmware tuning. Profiles belong to one printer, not to a printer model: two printers of the same model keep separate values.
Filament PLA needs different K than PETG, TPU, ABS, PA — material compressibility varies by an order of magnitude. The key is the filament's own id — the identity the slicer and the AMS slot use — not just the material type.
Nozzle diameter A 0.2 mm nozzle has a different pressure profile from a 0.6 mm — the K value tracks nozzle diameter, not just material. The printer keeps a separate profile table per diameter.
Extruder On a two-nozzle printer the left and the right hotend are calibrated separately, and the printer numbers its profiles per hotend. A single-nozzle printer has one extruder.
Flow type Standard or High Flow — see Flow Type below. A printer that reports no flow type stores its profiles as Standard.

Several calibrations can be stored for one combination; one of them is the active one, and that is what a slot gets by default.

So a farm of 3 single-nozzle printers running 4 filaments at 2 nozzle sizes ends up with up to 3 × 4 × 2 = 24 distinct combinations; a second extruder or a second flow type multiplies that further. The profile picker filters down to the relevant subset for whatever printer, filament and nozzle you're configuring.


Where profiles live

Surface What it does
Profiles in the sidebar The profile list. Filter by printer model, search by name, edit, clone, import, export.
AMS slot card (Printers page) Shows the K value the slot is calibrated with under the material — K 0.024 — on AMS, AMS HT and external-spool slots, without hovering. A slot with no known calibration shows nothing, never a default.
Spool detail (under Inventory) "K-profile override" — pick a profile to use whenever this spool is assigned to an AMS slot. Useful for off-spec filaments.
Settings → Backup → Git Schedule profiles + cloud profile snapshots to GitHub / GitLab.

Cloning vs editing

A profile can be in three states:

  • System default — shipped with BamDude, read-only. Clone to customise.
  • User-owned — created by you, fully editable.
  • Imported — pulled in from another install / Git restore. Editable, but the import metadata stays attached so you can tell where it came from.

Cloning a system default produces a user-owned copy with the same parameters; the original system row is untouched. Most BamDude operators end up with one user-owned per (printer model × material) pair.

Dual-nozzle gating

H2D / H2D Pro carry a second nozzle; their profiles need to expose two parallel sets of flow / temperature parameters. BamDude detects dual-nozzle at runtime from MQTT telemetry — specifically, when the printer publishes a nozzle_2 key in its temperature stream BamDude flips the printer's dual-nozzle flag. There is no serial-prefix lookup table for this; the detection is purely capability-based, so any future Bambu model that publishes a second nozzle key will be picked up automatically. Once detected, BamDude:

  • Filters the profile picker to dual-nozzle profiles when the target is a dual-nozzle printer.
  • Hides the secondary-nozzle UI block on single-nozzle profiles to reduce noise.
  • Refuses to assign a single-nozzle profile to a dual-nozzle printer (and vice versa) — you'll see a clear error in the UI rather than a silent malfunction during print.

Fetch from Printer / Push to Printer

Profiles round-trip with the printer over MQTT. Two directions:

Fetch from Printer

  1. Open K-Profiles, select the printer.
  2. Click Fetch from Printer.
  3. BamDude reads the printer's currently-stored K values for every loaded filament and creates / updates the matching profile rows.

Use this after manual on-printer calibration — it pulls the freshly-tuned values straight into BamDude.

Push to Printer

  1. Select the profiles you want to send.
  2. Click Push to Printer.
  3. BamDude writes the K values via MQTT command.

Push overwrites the printer's current K

Pushing profiles overwrites the printer's stored K values for the matching filament. If you've been tuning on-printer, fetch first to avoid clobbering uncommitted tuning work.

Saving and deleting wait for the printer's verdict. BamDude does not report success the moment the command is sent: it waits for the printer's answer, and if the printer says no, you see its own reason.

A printer that stays silent: sent, not confirmed

No answer is not evidence of refusal, so the save or delete still goes through — but it is not reported as confirmed either. On a printer that has answered such a write earlier in the same connection, a missing answer shows as a warning: K-profile sent, but the printer did not confirm it. Refresh to check. (deletes and imports say the same about themselves). Firmware that never answers these writes gets no such warning — there silence says nothing.

A table the printer did not answer for is not an empty table. When the printer does not reply to the K-profile request, the page shows K-profiles could not be read — The printer did not answer the request. Its profiles are still on the printer - refresh to read them again. — instead of No K-Profiles, and nothing BamDude knows about that nozzle's profiles is removed. The Configure AMS Slot dialog says the same in its K-profile block; saving it then keeps the K-profile the slot is on.

Nozzle size on a profile

The printer reports the nozzle size once, on the envelope of its reply — each reply is the complete profile table for one nozzle diameter. On single-nozzle models the individual profile entries carry no size at all, so a profile's size is read from that envelope; the H2D's firmware repeats the size on every entry. BamDude files each reply under its own diameter, so a profile made for a 0.6 or 0.8 mm nozzle is listed, edited and deleted as that size. The size is more than a label:

  • Editing a profile changes that row in place on every printer, as Bambu Studio does, and the dialog rebuilds the nozzle fields from the profile's own size — saving an untouched 0.6 mm profile stores it back as 0.6 mm.
  • Deleting a profile aims the command at that profile's nozzle.
  • Assigning a spool's saved calibration to an AMS slot matches on nozzle size (and extruder), so the slot gets the printer's entry for the nozzle it actually feeds.

Flow Type (Standard / High Flow)

A K-profile can be Standard or High Flow, but only some firmware stores the choice; the rest accept it and keep Standard whatever you pick. BamDude follows the same rule Bambu Studio uses for its own calibration window, read from the printer definitions it ships:

Flow Type field Models
Shown H2 series, X2D, P2S
Hidden X1, X1 Carbon, X1E, P1P, P1S

This is not the single- versus dual-nozzle split — the P2S is single-nozzle and does offer both flows.

A profile carrying no flow type at all reads as Standard, the way the slicer reads it — on import as well.

Sync status indicators

Each profile shows one of three sync states:

Status Meaning
Synced BamDude's value matches the printer's last known K.
Modified BamDude has local edits that haven't been pushed yet.
New Profile created in BamDude, never pushed to this printer.

After firmware updates or factory resets the printer's stored K may diverge from BamDude's view — re-Fetch to re-establish ground truth.

Direct rack (H3C, P3C)

An H3C or P3C keeps one K-profile table for all its hotends, and BamDude reads it whole, as Bambu Studio does. A K value belongs to the hotend's kind — filament, nozzle size and flow — not to a dock: a slot is offered the K values of the hotend it feeds, and a K measured on PrintTool 6 serves every hotend of the same kind, as the printer applies it.

Each profile still names the PrintTool whose hotend measured it. The K-Profiles tab has a PrintTool filter (All PrintTools, PrintTool 1 … n), and under All PrintTools each profile shows its Nozzle ID — the PrintTool, R for a nozzle the printer reported on the toolhead, N/A when it is not known. The hotend number follows the holder: when a hotend is moved to another holder, its number follows. In a slot's settings the K values are listed as 3 | PLA Basic, PrintTool first. Deleting a profile tells the printer which hotend's row it was.


Editing K-profiles & value guidelines

Click any profile row to edit. The K-factor field accepts a decimal number. An edit keeps the profile's N coefficient — a printer-measured profile has one of its own — and a new profile is filed under the filament's preset for that printer and nozzle, as Bambu Studio files it. Typical starting points per material:

Material Typical K range
PLA 0.02 – 0.04
PETG 0.03 – 0.06
ABS / ASA 0.02 – 0.04
TPU 0.05 – 0.10

Starting points, not absolutes

These are calibration starting points. Actual optimal K depends on your specific printer, filament brand, nozzle diameter, and even ambient temperature. Always run a calibration pass after picking a starting value — see below.

Add a free-form note per profile (brand, purchase batch, tested 2026-04-01, …) so you remember why a value was set the way it is.


Adding K-profiles

Three ways to create a profile from scratch:

Manual entry

  1. Click Add K-Profile.
  2. Pick the filament family (the same picker the spool form uses — see Filament Families; custom families included), the nozzle diameter, and (if multiple) the target printer.
  3. Enter the K-factor.
  4. Save — sync state lands as New until you push.

Auto-matching between spools and profiles keys on the family — which is what lets a custom filament (your own vendor and name) find its own calibration instead of collapsing onto Generic.

A spool needs no link of its own. Unless you picked a profile for it by hand, a spool assigned to a slot gets the active calibration of its filament for that printer, the nozzle the slot feeds and that nozzle's flow type — a new spool of a filament you already calibrated prints with that calibration.

On a two-nozzle printer every slot is bound against the nozzle it feeds. Right after connecting the printer may not have said yet which nozzle an AMS feeds; such a slot is left unbound rather than given the right-hand nozzle's profile by guess, and is bound once the printer reports it.

From calibration result

After running flow / pressure-advance calibration on the printer:

  1. Note the optimal K reported by the calibration screen.
  2. Either Fetch from Printer (if the printer stored the result) or add it manually.
  3. The profile is now reusable across slicer round-trips.

From an export file

Import a file exported from another printer — see Import & export below.


Calibration walkthrough

Built-in flow calibration (Bambu Lab printers)

Bambu printers ship with a flow / pressure-advance calibration routine:

  1. Load the filament you want to calibrate.
  2. From the printer's Calibration menu (or via Bambu Studio → Calibration → Pressure Advance), run flow calibration.
  3. Inspect the test pattern on the build plate — the optimal K is the one that produces the cleanest corners and most consistent extrusion.
  4. Note the value, then either Fetch from Printer in BamDude (printer-side calibration writes back to the printer's K store) or update the profile manually.

Third-party methods

If you prefer to calibrate by eye:

  • Pressure-advance line test — print a series of single-perimeter lines at increasing K. The cleanest line wins.
  • Pressure-advance tower — vertical tower with K incrementing per layer, measure the layer where corners are sharpest.
  • Corner flow test — print a test cube and inspect the four corners under raking light.

Whatever method you use, the resulting K value goes into the BamDude profile via Add K-Profile or by editing the existing row.


Copying profiles between printers

Right-click any profile row → Copy to printer…, pick the destination printer. BamDude clones the profile (same K, material, nozzle) onto the new printer with sync status New.

Fine-tune after copying

Different printers — even of the same model — can have subtly different extruder behaviour. Treat a copied profile as a starting point and re-run calibration on the destination if you want best-quality output.


Comparing values across printers

The K-profiles page has a Compare view — pick a material + nozzle and BamDude shows a column-per-printer table of the K values stored for that combination. Use this to:

  • Spot one outlier printer that needs re-tuning,
  • Decide which printer's profile to use as the canonical "copy from" source,
  • Audit drift after firmware updates across the farm.

Import & export

Export saves the selected printer's profiles for the nozzle size shown as one JSON file: each profile's name, K and N, filament, nozzle and extruder.

Import reads such a file into the selected printer: each profile is added as a new one. A file exported before N was included imports its profiles with N 0.

Git-backup integration

Settings → Backup → Git can push your profile catalogue (plus the BamDude config snapshot) to a GitHub or GitLab repo on a schedule. The repo holds:

  • A flat directory of profile JSONs under kprofiles/ (one file per profile, named by ID).
  • A kprofiles_index.json listing every profile by hash + name + printer-model so a partial restore is unambiguous.
  • The matching spool overrides (spool_kprofiles/).
  • An audit log entry per scheduled commit.

Restore from Git is partial-by-default: you can pick specific profiles to pull back, or "everything since the last backup". The Git history itself is your version archive — every commit is a profile catalogue snapshot you can roll back to.

Permissions

Permission Effect
kprofiles:read View profile list, see settings. Default for Viewers.
kprofiles:create Make new profiles or clone existing ones.
kprofiles:update Edit user-owned / imported profiles.
kprofiles:delete Remove user-owned profiles (system defaults can never be deleted).

Spool overrides (spool_kprofile) are governed by inventory:update — same surface as editing a spool.


RFID re-tap and live calibration preservation

When an AMS slot reads a Bambu RFID tag and the matching spool has a K-profile registered for the same printer + nozzle diameter, BamDude pushes that profile's calibration index to the slot. So any time you re-insert a calibrated spool, the slot snaps back to the correct K immediately — you don't have to re-pick it from the printer screen.

If the spool has no stored K-profile for that specific printer + nozzle combo (you've calibrated this filament on Printer A but just inserted it into Printer B for the first time, or you've changed the nozzle and haven't re-calibrated yet), BamDude preserves the slot's currently-selected calibration instead of letting the firmware silently snap it to slot 0. The exact behaviour:

  • The slot's live cali_idx (whatever profile was already loaded — manually picked from the printer screen, or carried over from the previous spool in the same slot) is re-issued to the AMS so it sticks.
  • If the slot has no calibration loaded at all (cali_idx < 0), no command is sent — the firmware default behaviour stands.
  • A diagnostic log line records No stored K-profile for spool … — preserved live cali_idx=N so the choice is observable in the log: Information → Application Logs.

Why this matters: on some firmware revisions a re-tap with nothing re-issued lets the slot fall back to calibration index 0 without a word, and the first sign is a quality drop mid-print. Re-issuing the live index changes nothing for a slot that already holds your manually-picked calibration, and corrects the rare slot that would otherwise regress.


Troubleshooting

Fetch from Printer fails

  • Verify the printer is online and BamDude shows a green status dot.
  • Make sure the printer isn't mid-print or actively running its own calibration — MQTT commands can be queued behind the active operation.
  • Check the log (Information → Application Logs) — fetch is a regular MQTT command and surfaces the same way as any other.

Push to Printer fails

  • Confirm the printer is idle. Some firmware versions reject K-write commands while a job is loaded but not yet started.
  • Try a known-good profile to rule out a malformed K value (BamDude clamps to sensible ranges, but a manually-imported bundle could theoretically contain garbage).
  • After firmware updates, the printer may temporarily reject commands until its first reboot completes — wait, retry.

Pushed values don't seem to apply during printing

  • Re-slice the model after the push — slicer-embedded K values can override printer-side K depending on slicer/firmware version.
  • Verify the material name in your slicer matches the profile's material — BamDude maps profiles to materials by name, so a mismatch silently bypasses the profile.
  • Some firmware versions need a printer reboot before K-write takes effect.