G-code Workflow
MechAMS uses a generated change-filament sequence rather than a public copy/paste example. The unlocked generator combines your printer settings, measured calibration values, and licensed server-side templates into a watermarked output file.
- Unload the active filament using your configured retract settings.
- Move the mechanism through calibrated positions available after access is confirmed.
- Load and purge the next filament using the selected slicer profile settings.
- Return to printing after the generated sequence completes.
Exact movement commands, slot coordinates, and generated machine instructions are available only inside the unlocked generator flow.
- Create a MechAMS printer profile in Bambu Studio or Orca Slicer.
- Unlock the generator with your purchase email and generate the setup-specific toolchange macro.
- Put the generated macro in the profile area described by the buyer setup guide.
- Regenerate it only when calibration, slot count, printer version, or mechanism tuning changes.
- Load the physical slots to match your written slot map.
- Assign the model colors or materials to the matching filament numbers in the slicer.
- Slice and send the job normally once the MechAMS profile is selected.
- Do not hand-edit every print file unless a support note tells you to for a specific test.
Slot numbers are physical filament paths, not sensor-reported colors. If the slicer calls a color filament 3, MechAMS treats that as the third configured path in your slot map. The printer does not detect that slot 3 is red, PETG, support material, or anything else.
Slots 5-8 are expanded paths for builds that are configured and validated for them. Keep unused paths disabled or unassigned. Choose the A1 or A1 mini printer preset in the unlocked generator before exporting the final macro.
The intended workflow is a one-time MechAMS slicer profile plus generated profile G-code, then normal slicing for each model. Standalone utility files are different: they are no-object jobs for a known loaded state, such as loading, unloading, or changing a slot outside a normal print.
A print can finish with a filament still loaded in the toolhead. The unlocked generator now includes three experimental paths for this: a start-load snippet for Machine start G-code, an end-unload snippet for Machine end G-code, and utility files for known-state load, unload, and slot-change jobs. Use utility files only when the current loaded slot is known; if the state is unknown, verify the printer manually before sending a remote utility file.
The end-unload snippet is meant to be pasted before heater-off commands in the slicer's Machine end G-code. It must be validated on the actual printer before being used on real jobs. If the slicer rejects the final-slot placeholder in Machine end G-code, use the standalone unload utility instead.
The start-load snippet is the matching half of the empty-toolhead workflow. Paste it after homing and before the slicer purge or prime line so the first filament used by the job is loaded automatically. If the slicer rejects the first-slot or initial-layer temperature placeholders, use the standalone load utility instead.