Skip to content

Filament Routing

BamDude checks every filament channel used by the selected plate before assigning a sliced 3MF to a printer. The printer model alone is not enough: two printers of the same model may have different AMS units, external spools, or nozzle configurations.

These rules apply when adding work through Auto-Queue, printer queues, order plans, library files, archives, and queue-mode virtual printers.

Choose the source

In the Auto form, Filament source offers:

Choice What may supply the plate
Automatic: AMS or external spool Any complete supported combination of AMS and external feeds.
AMS only Every used channel must have a suitable AMS source.
External spools only Only supported external feeds, including on a printer that also has AMS connected.

Automatic source does not mean that an empty AMS slot or an unknown configuration is acceptable. Each used channel needs a loaded source with the required material and the correct nozzle binding.

Filament Track Switch (FTS)

FTS has full end-to-end support: its live state, mapping picker, preview, printer queues, Auto-Queue and final dispatch use the same topology. When FTS is installed, any loaded AMS source can feed either nozzle, so BamDude removes the ordinary per-nozzle AMS restriction. External holders are different: firmware does not permit an external-holder print while FTS is connected, including a holder physically installed after the switch. They are therefore excluded from automatic and external-only routing, the mapping picker, Auto-Queue and the final pre-print check. Removing FTS restores the ordinary external-feed rules after the printer reports the change.

An explicit physical slot selection stays tied to that printer and source. BamDude does not silently replace it with another tray or external spool.

An ordinary add to a printer is not a hand pin. A pin is a slot the operator chose, or a mapping stored with the job — a Bambu Studio Send to printer job with save AMS mapping on, for example. With base-material matching on, such a job is not sent back for review merely because the spool in that slot was re-tagged with another profile; its material, colour, nozzle binding and slot identity are still checked.

Match by base material

The Print and Auto forms have Allow match by base material (allow_base_material_match). It is on by default.

When it is on, the comparison is between the material the file itself declares — PETG, ABS, PA-CF — and the material of each loaded source, after the small equivalence table described below. The profile either side carries plays no part: a profile id is neither a condition for compatibility nor a preference when a source is chosen. A file sliced with a custom 333Print PETG profile therefore prints from a loaded Generic PETG spool. This is a material-class match; it does not claim that the two profiles have identical temperatures or calibration.

The catalogue may supply display information, but never replaces the declared material. No Bambu Cloud or Orca Cloud sync is required: files from other people's slicers with unknown local or cloud profiles match using their structured material field — PETG to PETG, ABS to ABS. A display name such as Test-test is never used to infer a material.

Bundled profiles are available offline; optional cloud sync only adds the connected account's presets. Profiles from other people's computers may remain unknown, which is a normal farm workflow.

When the switch is off, the profile becomes a condition of its own: wherever both the file and the loaded source name one (tray_info_idx), they must name the same one. The rule reads identically in the dialog and on the printer's own routing, whether or not the profile can be resolved to a family. An explicit per-channel material override still applies instead of the material the file declares for that channel.

Material names are compared case-insensitively through the small compatibility table shared by routing paths (currently PA-CF, PA12-CF, and PAHT-CF form one group). Other product variants are not made interchangeable merely because exact colour matching is off.

Decide which colors matter

Default colour policy

Settings → Printing → Force color match by default can select exact colours for new order-plan jobs and the initial checkbox in a fresh Print/Schedule dialog. It starts off. You can change the dialog's choice; existing jobs, copied routing choices and virtual-printer policies keep their own settings. A registered plan submission keeps the choice it captured even if the setting changes before execution or retry. Direct API clients keep their existing defaults and should send an explicit force_color_match when colour matters.

Force exact color match is off by default. With it off, an exact RGB colour is still preferred over another compatible colour; it is not required. Turning it on requires the colour for every used channel. The colour comparison is exact after normalising #RRGGBB / #RRGGBBAA; it does not use a “similar colour” threshold.

For a mixed requirement, set a channel's color and tick Require this color. That channel stays color-constrained even when the global switch is off. For example, a visible logo can require red while another channel may use whichever suitable color is loaded.

The number of copies never changes these rules. A batch of one and a batch of one hundred use the choices you made; there is no automatic “mass production” mode that grants permission to change colors.

Multiple channels and nozzles

Multicolor jobs can use Auto-Queue. Every used channel needs a distinct physical source, even if two channels have the same material and color — except on a direct-connected rack. Turning off exact color matching does not combine them into one channel.

Plate and available printer Result
One PLA channel; matching model with one loaded external PLA spool Can route with automatic or external-only source rules, subject to color and nozzle requirements.
Two channels; a single-nozzle printer with one external spool and no AMS Cannot route: one spool cannot supply both channels automatically.
Two channels on one nozzle; enough suitable AMS slots Can route when each channel has its own compatible slot.
A supported dual-nozzle printer; AMS on one nozzle and external on the other Can route when the file and current printer state establish those nozzle bindings, with automatic source rules.
A supported dual-nozzle printer; one external feed for each nozzle Can route if the plate uses those two feeds and both meet its requirements.
An FTS-equipped printer; enough suitable AMS slots Can route to either nozzle through FTS. External holders cannot be used while FTS is connected.

Dual-nozzle support follows the printer's capabilities; it is not limited to one model. Two available spools do not help if they feed the wrong nozzle. Missing nozzle or feed information causes a wait or a source error, depending on which information is missing.

Only channels actually used by the selected plate count. An unused color in the 3MF does not add a requirement, but a channel with a very small positive usage still counts.

Direct-connected rack (H3C, P3C)

An H3C or P3C has one toolhead and a rack of hotends, and the slot decides which hotend prints: AMS 3H / 3P slot n feeds PrintTool n, Ext-n feeds PrintTool n, and a slot of an AMS bound to a hotend feeds that hotend. So BamDude does not pick a nozzle — it picks slots whose hotend has the nozzle size and flow the file was sliced for, as Bambu Studio does:

  • each hotend offers the slot bound to it (the one it is fed from now, else its rack slot, else its input; a TPU285 hotend on an H3C its input) and the slots of the AMS bound to it;
  • an automatic mapping skips a slot the printer will not feed by itself — an unloaded input, an AMS 3P slot, a slot whose hotend already holds filament it cannot unload; picked by hand in the dialog it is used, and the dialog says the PrintTool needs a hand;
  • two channels may take the same slot;
  • two different sources on one PrintTool (its rack slot or input and a slot of its bound AMS) are allowed, with a warning: the print will stop for a manual change.

The dialog names the slots AMS-3H 5, Ext-3. A job waits while the rack moves, and is refused when there is no hotend, a tool is detached, no dock is calibrated, no hotend matches the file, or the file was sliced with a dynamic nozzle map. Material and colour rules are the same as on every printer.

The dialog also warns, as Bambu Studio does, without refusing: when a hotend in the rack may not have been fed properly (with a link to Bambu's wiki), when TPU in a slot may slip out during a PrintTool change (H3C PrintTool 6, P3C PrintTool 4, with two or more filaments), when a filament that needs a warm chamber prints with the door open, and when the unknown filament on the toolhead may soften in the chamber.

How an automatic mapping is chosen

Compatibility comes before preference. BamDude first filters every source by source policy, material rule, variant rule where applicable, nozzle binding, and required colour. It then searches for a complete, distinct-source mapping across all used channels. This is not a greedy first-slot assignment: a flexible channel is not allowed to consume the only source that a pinned or colour-strict channel needs. A manually pinned source is never re-ranked.

For Auto-Queue, a ready compatible printer wins over one that is only compatible but held by a start gate; the next preference is the number of exact colour matches. Then the printer order decides. The “drain” setting chooses the sources on the chosen printer and separates only printers with an equal place in that order.

Drain the emptiest spool first

Drain the emptiest spool first (prefer_lowest_filament) is a farm setting under Settings → Filament → Filament checks and is on by default. It applies wherever BamDude automatically maps sources: Print, the per-printer queue, Auto-Queue, and Virtual Printer.

It never relaxes material, source, nozzle, physical-pin, or strict-colour rules. An exact colour remains preferred; among otherwise equivalent candidates it picks the lower remaining source. For a bound AMS spool, BamDude/Spoolman tracked remaining grams rank before firmware-only estimates. Unbound sources use the printer-reported remaining percentage; an unknown percentage ranks after a known one. Grams and percentages are separate tiers and are never converted or compared as if they were the same unit. A final stable slot order breaks a real tie.

The preference is deliberately skipped for an automatic mapping when AMS Filament Backup is known to be off: choosing a nearly empty spool would otherwise make a print more likely to run out without an automatic same-material fallback. An unknown backup state keeps the preference enabled.

Read the compatibility preview

The Auto form groups printers by model, nozzle count, and AMS state:

  • AMS connected;
  • Without AMS;
  • AMS state unknown.

For example, ten P2S printers with AMS fitted on only five appear in separate configuration groups. P1P, P1S, and P2S remain separate models; a similar name is not a model match.

A refusal names the channel, what it needed and what is loaded — Channel 1 needs ABS (Pa240002); loaded: PETG (GFG99), ABS (GFB99), ABS (GFB00) — in the Auto queue's waiting reason, in the log, and on a queue row deferred at dispatch. The preview groups printers, so there it names what the file needs without listing any one printer's trays.

Compatible means the loaded sources can satisfy the whole plate under its rules. Ready also accounts for the printer's current state. Plate-clear confirmation, drying, and staggered start can hold a compatible job; see Routing is not dispatching.

The preview does not reserve a printer, and the Print / Add to queue button follows it rather than the printer's current occupation. A busy printer, an uncleared plate, drying and staggered start never disable the button: those are reasons a job waits, not reasons it cannot be queued.

What the check found The button
Compatible, or compatible but only waiting Enabled.
Not fully verified — the printer is offline, its telemetry is incomplete, or the preview failed Normal action disabled. Shows the uncertainty and Retry; explicitly queuing to wait requires confirmation and a readable source. This is not a claim of incompatibility.
Nothing loaded can supply it — a used channel has no source on the selected printer as it is loaded now; in Auto, every candidate is conclusively incompatible Disabled, with the routing reason and a separate Queue anyway — wait for compatibility action.
No target model in the selected scope — AutoQueue has no active printer of the plate's model in this farm/location Normal action disabled. Names the missing model and offers Save in AutoQueue for the future, with explicit confirmation.
Wrong machine for this file — the plate was sliced for a model this printer cannot take (X1, X1C, X1E, P1P and P1S count as one family) Disabled, with no override.

Queue anyway asks for confirmation: the job will wait for confirmed compatibility, which may require changing filament, settings or hardware. A waiting job can hold up later jobs in that printer's queue until resolved, moved or removed. AutoQueue continues considering other jobs. On Print now, the override creates a printer-queue job rather than starting a direct print; print and delete does not delete the library file when it is queued. While editing an existing job, the verdict is informational and does not block saving.

Unknown telemetry is not proof of incompatibility or of absent AMS. A partial check can report a profile mismatch in known trays while its overall result remains unverified; the dialog shows both, and the preview separates incompatible and unverified counts. Conversely, a complete preview with no target printers is a known missing target, not unknown telemetry. At least one confirmed compatible candidate per plate is enough for normal AutoQueue submission, even if other printers are unknown or busy. All actions remain subject to the fresh dispatch checks.

For selected printers, the server checks a complete assignment for each plate/printer pair that will receive copies, including manual choices, material overrides, feed policy and nozzles. A populated tray dropdown alone is not proof of compatibility. Automatic selections use the dispatch resolver's ranking with the base-material option both on and off. State can still change before dispatch, which performs its own fresh check.

A silent batch opens the dialog before submitting when its completed check is unknown or failed; it only waits invisibly while the request is in flight.

Plate selection and source errors

Requirements come from the selected plate in the sliced 3MF and its matching G-code. For a multi-plate file, choose the plates explicitly. Whole file is accepted only when one printable plate can be identified unambiguously; its actual number is preserved, even if it is not plate 1.

A missing selected plate, missing G-code, unreadable filament usage, or missing required nozzle bindings blocks adding the job. Recheck the file or re-slice it with the correct model and plate. Loading a spool cannot repair missing file information.

Order plans use the same check before creating queue items. A product recipe may keep its Whole file selection while the queued print receives the resolved plate number. Counts, order-line attribution, and the chosen alternative file stay with that work.

What happens before printing

The server checks the source and routing before preparation and again immediately before sending the start command. If the spool, printer connection, file, or ownership of the pending job changes, an attempt can be deferred.

  • A queued job returns to waiting with a reason. Check that reason, the printer's reported feed state, and the saved requirements.
  • A refused Print Now attempt does not create a hidden future print.
  • Preparation that never starts a print is excluded from print and production totals, and the original source file is retained.

The slot mapping actually sent to the printer is used for filament attribution. See how an automatic mapping is chosen for the colour and remaining-filament ranking, including its AMS Filament Backup gate.

Edit, copy, retry, and repeat

A schedule-only edit preserves the original physical pin, even when it sends the same tray numbers again: it does not approve a spool changed since queueing. A manual choice for one printer or plate does not pin other automatically mapped targets.

Each printer-queue item keeps its own routing rules after Auto-Queue assigns it. Removing the original Auto-Queue row does not remove those rules. Changing only the schedule, cloning, retrying, or repeating retains them.

Moving a manually mapped job to another printer or plate requires a new mapping answer. A tray number on one machine does not identify a spool on another. In grouped additions, channel-specific choices belong to the current file: the next file opens for review instead of silently inheriting those choices.

After upgrading, older jobs keep restrictions that can be established from their saved data. An explicit external-only choice stays external-only; a saved physical AMS mapping remains physical intent. Missing or unrecognized routing evidence requires review rather than a guessed mapping.

Raw G-code and server-created calibration jobs have separate workflows. Their special handling does not bypass validation for an ordinary sliced 3MF.