Repository navigation
Idea: colour changes by height in a 3MF (Bambu Studio, PrusaSlicer) #2108
Replies: 2 comments 2 replies
|
@plazmabokor thanks, that's a good find, and the test file helps. Yes please, go ahead with 1 as one small PR, with the question on import whether to split. If someone says no, it should open as it does today. |
|
@henmedia the cutting into colours is in #2116. One more idea on top of it, for the same files: a Flat inlay choice in the question, as the name and icon tags have. The first colour band becomes the base, at its own height (3.24 mm on the gnome), in the outline of the whole object. Each colour above it is sunk into the base's top, 0.8 mm deep, where it shows from above. All colours then end on one flat face, printed face down, as a flush tag. The question would have three answers: Cut into colours / Flat inlay / Keep in one piece. Would you like that as a separate small PR after #2116? |
Uh oh!
There was an error while loading. Please reload this page.
Many 3MF files, a lot of them on MakerWorld, get their colours from filament changes at set heights rather than from coloured parts or painting: one object on filament 1, plus a list of heights where the printer switches filament. Layerling reads the parts' and the painted triangles' colours, so such a model comes in all in the first filament's colour, here all white.
A real example: Gnome Ho Ho Ho on MakerWorld, white up to 3.24 mm, black to 5.16 mm, red to 6.12 mm and a skin colour to the top. It opens all white in Layerling.
Where it is stored:
Metadata/custom_gcode_per_layer.xml, one<layer top_z="…" extruder="…" color="…" gcode="tool_change"/>per change, with the filament colours inMetadata/project_settings.config(filament_colour).Metadata/Prusa_Slicer_custom_gcode_per_print_z.xml, the same withprint_z.Test file: colour-changes-by-height.3mf, a 30 × 30 × 8 mm block on filament 1 (white) with changes at 2, 4 and 6 mm to black, red and a skin colour, saved the way Bambu Studio saves it.
Two ways I can see:
Would you like one of these? I would start with 1, perhaps asking on import whether to split.
🤖 Generated with Claude Code
All reactions