Gradient is just 50/50 mix
Is there an existing issue for this problem?
- [x] I have searched the existing issues
Snapmaker_Orca Version
2.3.5 beta
Operating System (OS)
Linux
OS Version
Fedora 44
Additional system information
No response
Printer
U1
How to reproduce
- Select +Colour Mixing
- Select gradient
- Choose gradient colours
- Apply to model
- Slice
Actual results
50/50 colour mix
Expected results
Expected that a gradient from bottom to top would occur
Project file & Debug log uploads
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
No response
@slm020 Hi, when using the gradient feature, please also enable “Subdivide Mix Layer” + “Full domain” under the Filament tab, and make sure the mixed-color region is actually painted onto the model — the gradient will then take effect. Otherwise, you can only approximate it with manual layering / manual patterns. We’re aware of this issue, and the plan is to make these options turn on automatically when the gradient feature is used in a future release. Thanks for your feedback!
I think it is indeed a bug; the same thing happens to me, but it works now after switching the language from Spanish to English—perhaps because of the decimal separators?
In Spanish, when i create a gradient mix i only see solid color icons in Color Mixing tab, once change language to English and create a new gradient mix then can see the gradient icons
@villamany Ah, I see. We’re already aware of similar bugs—the issue is that under the German language environment, the subdivision layers for color mixing malfunction. This bug is currently being fixed and will be resolved in an upcoming release.
However, we need to confirm whether Spanish is affected in a similar way.
Thanks—if we reach a conclusion, we’ll let you know right away.
@villamany Yep, it is the same issue as with the German language and will be fixed in the upcoming release!
A measured data point for this, on Snapmaker Orca 2.4.1 (command line, macOS, U1 0.20 mm profile, English): a 20 mm cube, two PLA filaments, the whole object assigned to one mixed filament in gradient mode, 80% of filament 1 at the bottom to 20% at the top. Share of filament 1 extruded in five height bands of the G-code:
| settings | distinct Z heights | share of filament 1, bottom to top |
|---|---|---|
| defaults | 100 | 57, 50, 50, 50, 44 % |
| "Subdivide Mix Layer" only | 100 | 57, 50, 50, 50, 44 % |
| "Subdivide Mix Layer" + "Full domain" | 199 | 65, 56, 50, 44, 38 % |
| the same + "Apply subdivision to infill" | 199 | 78, 62, 50, 38, 25 % |
So in 2.4.1 the default is still 1:1. The two options recommended above do give a ramp on a whole object without painting, but about half the range asked for, because the infill stays 1:1; with "Apply subdivision to infill" it comes close to the 80 → 20 requested. If the options are going to be turned on automatically for gradient mode, the infill one seems to belong in that set.
Another user ran into this yesterday on the forum, with a print that came out as one flat blended colour: https://forum.snapmaker.com/t/44226
The numbers come from tools/mix_by_height.py, which adds up the extrusion per head by height. Limits: one cube of mine, nothing printed, painted regions not tested, only the English locale.
Root cause confirmed: dithering_local_z_infill ("Apply subdivision to infill") defaults to false and is only auto-enabled by the GUI handler — the CLI never runs it, so a CLI gradient keeps its infill unsubdivided (flat 1:1) even with SML on, contradicting the option's own tooltip ("enabled automatically with Subdivide Mix Layer").
Fix: the default is now true, so the tooltip holds on every route. The option only takes effect while SML is on, and it can still be turned off explicitly. This addresses the infill half; the "Full domain" requirement for whole-object gradients is unchanged (a follow-up).
PR: https://github.com/Snapmaker/OrcaSlicer/pull/1201
I re-ran the same cube on the official 2.4.2-alpha (Snapmaker_Orca_Mac_universal_V2.4.2-alpha.dmg, command line, macOS, English), since release notes 9, 10, 12 and 13 touch sub-layer mixing and someone may read them as covering this issue. For the gradient case they do not change the sliced file: every row is identical to 2.4.1.
Same input as my table above: 20 mm cube, two PLA filaments, whole object on one mixed filament in gradient mode, 80% of filament 1 at the bottom to 20% at the top. Share of filament 1 in five height bands:
| settings | distinct Z heights | 2.4.1 | 2.4.2-alpha |
|---|---|---|---|
| defaults | 100 | 57, 50, 50, 50, 44 % | 57, 50, 50, 50, 44 % |
| "Subdivide Mix Layer" only | 100 | 57, 50, 50, 50, 44 % | 57, 50, 50, 50, 44 % |
| "Subdivide Mix Layer" + "Full domain" | 199 | 65, 56, 50, 44, 38 % | 65, 56, 50, 44, 38 % |
| the same + "Apply subdivision to infill" | 199 | 78, 62, 50, 38, 25 % | 78, 62, 50, 38, 25 % |
So on the alpha the default is still 1:1, and the options are not switched on automatically yet, at least on the command line: the settings block of the default file still has dithering_local_z_mode = 0, dithering_local_z_whole_objects = 0 and dithering_local_z_infill = 0. The only mixing default I see changed between the two versions is dithering_local_z_direct_multicolor, 0 in 2.4.1 and 1 in the alpha, and it does not change these numbers.
Limits: one cube of mine, whole object and not a painted area, nothing printed, command line only, so I cannot say what the GUI of the alpha switches on by itself, and I did not test the fixed-ratio case that note 9 describes or a non-English language. Measured with tools/mix_by_height.py.
Thanks for re-running this so carefully on the alpha — your table is exactly the confirmation this needed. I traced the same path while working on this issue: the infill stays 1:1 from the CLI because dithering_local_z_infill ("Apply subdivision to infill") defaults to off and is only auto-enabled in the GUI — Tab::on_value_change turns it on when Subdivide Mix Layer is toggled, and the CLI never runs that handler. So a gradient sliced from the CLI keeps its infill unsubdivided even with SML on, which directly contradicts the option's own tooltip ("This is enabled automatically with Subdivide Mix Layer").
Your numbers line up with that: SML alone changes nothing, and the ramp only appears once subdivision reaches the infill (78, 62, 50, 38, 25% — close to the requested 80→20). The alpha's notes 9/10/12/13 don't touch this path, which your identical 2.4.1 vs 2.4.2-alpha rows confirm.
I've put up a fix for the infill half of this: PR #1201 makes the default match the tooltip, so CLI gradients get infill subdivision. One caveat: whole-object gradients still need "Full domain" on as well — your SML + Full domain row shows why, it's half the range without it — and I left that default alone, since changing it would raise toolchanges for all Local-Z users.