Skip to content

Request: multi-head printing? #30

Open

Description

@Bjohnson131

Hello,
I have a 2 tiered feature request- one is very simple, and one is more complex. I can separate them into two issues if needed.

  1. support multi-head filament changes.
    This means that some printers (like the snapmaker u1) can have 4 filaments ready to load at once. What I'm requesting is a mode where I can set it up such that I only need to swap the filaments once every 4 changes. This support is the simple feature: make it so I can set it so that I have N-printer heads, and only stop after printing N different colors to swap filaments.

  2. More complexly, this means that with N filaments, you can 'batch' layers.
    Say the color order Red-White-Pink-Grey would represent a pixel 1 extremely well. This is good for us. but not all pixels are the same color as 1. some pixels, maybe a pixel 2, would be better represented by the order Red-Grey-Pink-White. With 4 filament heads this is extremely simple for a user to do, and is 100% automatic. so given that for every filament Td < N * Layer_height, the number of unique shades and hues that can be made with N printer heads in N layers is N^N (256 for 4-heads, 3,125 for 5 heads, etc), and the only cost is the time it takes to do N * (N - 1) tools switches (ie tool_heads * layer_count-1), which is automatic.

I'd like to formally request both, but I understand that the optimization algorithm for #2 is.. well, a big challenge, as this means that every group of N layers can be shuffled, and even repeated/omitted if preferable. I'd be happy to lend a hand in programming either of these if contributions are open.

Activity

  1. added
    enhancement
    on Jun 1, 2026
  2. vycdev commented on Jun 1, 2026

    @vycdev
    Owner

    Hi,
    These seems like they could be a nice addition to the app, but I will need some help as I don't have access to a multi-head printer.

    For point 1, I would've assumed that the current 3mf is already enough even for multi-head printers, because the printer would only load a new filament if it doesn't have it available in any of the print heads, but maybe I'm wrong. Perhaps you mean having a single point every 4 filament swaps where all of the print heads change their filament at once, but I think that ties more with your 2nd point.

    As for the 2nd point, it seems complex indeed, right now Kromacut assumes one global filament stack/order for the whole model. What you’re describing would let different pixels or regions use different local filament orders within the same group of layers, which would require a new multi-material model-generation mode and optimizer. I’m open to exploring it, but I’d want to first define a small test case: e.g. 4 tools, 4 layer slots, a tiny 2-color/2-pixel image, and what the expected 3MF/material layout should look like.

    Help would be much appreciated, even with just a plan, more details, or testing, not just programming.

  3. Bjohnson131 commented on Jun 1, 2026

    @Bjohnson131
    ContributorAuthor

    I've started a branch for these features. may take a few weeks, but I'll see about getting something, here.

  4. Bjohnson131 commented on Jun 4, 2026

    @Bjohnson131
    ContributorAuthor

    I've got a branch started, and a POC is working: https://github.com/Bjohnson131/Kromacut-mph/tree/mph-calc

    To get this working as-intended I increased the max palette size to 512. if someone has 5 print heads, it would make sense to up the palette size to 4096. Will upping the palette size to be this large produce any issues?

    Here you can see an example of a mixed layer:

    Image

    I'm going to try printing some small bitmaps later, I'm thinking a simple gradient rainbow.

  5. Bjohnson131 commented on Jun 15, 2026

    @Bjohnson131
    ContributorAuthor

    Another update- the feature is finally nearing completion. I've got a working prototype and some tests established, but I need to rebase with develop branch, and I need to do some additional testing with Orca.

    You see, It seems that Orca slicer is made for edge cases such as what kromacut normally covers, but 3mfs with both multiple printheads and colors is a different beast all together. I've found a few bugs in Orcaslicer during dev of this feature.

    If you want to see what's going on, the branch is https://github.com/Bjohnson131/Kromacut-mph/tree/mph-calc

    You can npm run dev and see how it works.

    Last bit of work is a lot more testing, and re-porting to develop.

  6. vycdev commented on Oct 19, 2026

    @vycdev
    Owner

    Status update after Kromacut 4.2.0:

    Multi-head support is still in progress in #38, which also unblocks #58 (multi-head calibration). develop has changed a lot since #38 was last updated in August, especially the meshing:

    @Bjohnson131, are you still working on #38? If so, the next step would be merging the latest develop into it and routing the mixed-color layers through the shared mesher.

    Claude Opus 5.5 answering on behalf of vycdev.


    Generated by Claude Code

  7. Bjohnson131 commented on Oct 23, 2026

    @Bjohnson131
    ContributorAuthor

    @vycdev I'm splitting the PRs into chunks to make them easier and more focused for reviews. You can see the first one here: #96

  8. vycdev commented on Nov 1, 2026

    @vycdev
    Owner

    Note

    🤖 GPT-6.1-Sol responding on behalf of vycdev

    Both parts of this request are now implemented on develop: scheduled head reloads and different filament orders for different image regions. Your split PRs #96, #97, #98, #99, #100, #101 and #102 are merged. Follow-ups #116, #118 and #119 corrected unused loads, aligned search with the full calibration model, and established reproducible fresh-stack measurements.

    The mode supports 2–8 heads, a Head Schedule, and 3MF export with physical head assignments and reload pause markers. The current guide describes the workflow and fallback behavior. These changes are on develop; the published v4.2.0 release does not contain them.

    Could you verify the generated tool mapping and reload pauses with your OrcaSlicer/printer profile, and confirm whether a small print satisfies the original request? Given the slicer issues discussed above, I would keep this open for that confirmation before closing it as completed.

  9. Bjohnson131 commented on Nov 5, 2026

    @Bjohnson131
    ContributorAuthor

    more testing is needed. I have a half baked PR in right now, I'm going through the test code-- I want unit tests to cover all of multihead, as well as integration tests for a full flow... After that's in develop we can close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions