kapy academy

Modifiers by region and height

13 min readUpdated Nov 2026

A profile applies the same values to the whole part, but a part is almost never uniform: the boss that takes a screw needs solid plastic, and the decorative shell above it does not. Raising walls or infill across the whole part for one spot costs time and filament everywhere. The rule is to change each setting at the smallest level that contains it: the object for one part on the plate, a modifier volume for a region, a height range for a band of Z, and the layer slider for temperature or a pause.

Object, volume and height range

Slicer labels are quoted as they read on screen at the end of 2026. Precedence: the modifier overrides the object, and the object overrides the process profile. The value closest to the geometry wins; anything you leave unset is inherited from the level below (Printer, filament and process profiles).

Per-object settings. In OrcaSlicer and Bambu Studio, switch the process panel from "Global" to "Objects", or right-click the object in the list and add settings to it. In PrusaSlicer, right-click the object and choose "Add settings". In Cura, use the "Per Model Settings" tool. The typical case is a bracket that has to fit and a decorative lid on the same plate, each with its own walls, infill and seam. Those settings live in the 3MF project and nowhere else (STL, 3MF or STEP for the slicer).

Modifier volume. A shape that does not print: it marks a region of the part where different settings apply. In PrusaSlicer, Orca and Bambu Studio, right-click the object and choose "Add modifier". The primitives are box, cylinder, sphere and slab in PrusaSlicer; cube, cylinder, sphere and cone, among others, in Orca and Bambu Studio. All three let you load your own mesh as a modifier. In Cura any mesh will do: select it, open "Per Model Settings" and choose "Modify settings for overlaps".

The same menu holds look-alike options that do something else. The negative volume ("Negative volume" in PrusaSlicer, "Negative part" in Orca and Bambu Studio) subtracts geometry and nothing more: it carries no settings. The support blocker and support enforcer decide where support goes (Support settings). "Add part" adds geometry that does print. A modifier never changes the shape of the part; if the outline in the preview has changed, you have added something else.

Height range modifier. A band between two Z heights with different settings, layer height included. In PrusaSlicer you add it with "Height range modifier" in the object's context menu, which opens a "Height Ranges" panel; Orca and Bambu Studio inherited it from PrusaSlicer. Cura has no height range modifier. For walls, infill or speed, a box-shaped modifier mesh spanning the whole cross-section does the same job. For layer height, Cura only offers "Use Adaptive Layers", which sets it automatically.

ZObjectwalls, infill and seam for this partModifier volumesettings by region; no layer heightHeight rangesettings and layer height for a band of ZLayer slidertemperature, pause, color: from this layer up
Four places where a setting changes for only part of the print. The object and the volume act by region; the height range and the slider act by height. Only the height range changes layer height, and only the slider changes the machine's state.

What a modifier can and cannot change

A modifier changes what the slicer decides per region within a layer: walls, top and bottom layers, infill density and pattern, solid infill, speeds, line widths, ironing and fuzzy skin. In "Simple" and "Advanced" mode, PrusaSlicer only offers the "Infill" and "Layers and perimeters" categories; speed, extrusion width, ironing and fuzzy skin appear in "Expert" mode. In Cura the list shows only the settings that accept a per-mesh value.

It does not change object settings. In PrusaSlicer, Orca and Bambu Studio, seam position and the support settings apply to the whole object. The seam is changed per object, and in a specific region with seam painting (Where the seam goes). Support is configured per object, and inside a part you only decide where it goes, with painting, blockers and enforcers (Support settings). Cura does let you enable support per mesh.

A volume cannot change layer height. Each layer is a Z height shared by the whole object: a cylinder in the middle cannot have thinner layers than the plastic around it. Layer height changes only by height, with a height range or with variable layer height (Layer height and line width). If a fine detail and a bulky body sit at the same height, accept the fine layer across that whole band.

No modifier changes filament or printer settings. Nozzle and bed temperature, fan, retraction and flow ratio belong to those profiles and apply to the whole layer at once. To change temperature from a given layer up, insert custom G-code on the layer slider in the preview. In PrusaSlicer, Orca and Bambu Studio, right-click the slider (or press its "+" button) and choose "Add custom G-code". M104 S<temp> sets the nozzle temperature and holds until the end of the print, because the slicer does not write it again in a single-material print. In Cura you do it with Extensions › Post Processing › Modify G-Code and the "ChangeAtZ" script, flagged as experimental. Pauses and color changes go on the same slider (Embedding magnets and nuts mid-print, Assigning colors in the slicer).

The fan is the awkward exception. M106 S<0–255> sets the part-cooling fan in Marlin and Klipper, from 0 (off) to 255 (100 %), but in PrusaSlicer, Orca and Bambu Studio a manual M106 lasts only until the next fan change the slicer writes: a bridge, an overhang, a short layer. To run the fan lower for a whole part, lower the minimum and maximum in the filament profile. ChangeAtZ in Cura does hold it, because it rewrites the M106 commands that follow.

The split has a physical reason. Each region of a layer can follow its own toolpath rules, but at any given moment the hotend has one temperature and the fan one speed. Machine state changes over time, layer by layer, never from one region to another. A temperature tower is exactly that: one temperature per band (Temperature towers and retraction tests).

Where each change goes
You want to change Where Why
Walls, infill, seam for a whole part Per-object settings Affects that whole object and no other
Walls, infill, speed in a region Modifier volume Per-region setting, in space
Seam in a region Seam painting The seam is an object setting, not a region one
Layer height in a band Height range or variable layer height The layer is shared by the whole object at that Z
Walls, infill, speed in a band Height range Same mechanism, without drawing a box
Nozzle or bed temperature G-code on the slider Machine state: changes by layer
Fan Filament profile (Cura: ChangeAtZ) The slicer rewrites the fan as it goes
Pause, color change Layer slider A machine action at a specific layer

More plastic where the load is

In bending, the walls carry the load (Walls, perimeters and infill). In a boss for a screw, an insert or the face of a clamp, the load enters through a small volume, and what counts is solid plastic right there. Raising infill across the whole part puts the extra plastic inside, nearer the neutral axis than the walls, where it does little work. And it costs time: on a fast machine, infill already runs at the flow ceiling, so raising its speed in the profile will not make it faster. That ceiling is the hotend's flow: speed = flow / (line width × layer height) (Volumetric flow sets the speed).

Recipe 1: solid round a hole. Place a modifier cylinder coaxial with the hole. Its diameter is the hole plus twice the wall thickness you want. For an M3 heat-set insert, a 4.0 mm hole and a 1.6 mm minimum wall: 4.0 + 2 × 1.6 = 7.2 mm (Designing for heat-set inserts). Give it 100 % infill or solid infill. Vertically, start it one layer above the bottom face and end it one layer below the top, so it leaves the visible layers alone.

Recipe 2: more walls round a hole. The same cylinder, with more walls. In PrusaSlicer, Orca and Bambu Studio, a modifier that changes the wall count is sliced as a region of its own, so the slicer also traces walls along the modifier's outline, inside the part, not only round the hole. Those extra loops land in the infill zone; they are almost always harmless, and occasionally split a top layer in two. A modifier that changes only infill adds no outline walls in those three. That is why Cura offers two variants under "Modify settings for overlaps": "Infill mesh only" changes infill without tracing new walls, and "Cutting mesh" turns the intersection into a region with walls of its own. For solid material, recipe 1. For walls, this one, and always with the preview in front of you.

WallsHoleInfillModifier outlineSolid infillWalls on the modifier outlineNo modifierInfill modifierWall modifierOne layer short of each face
The same layer treated three ways. A modifier that changes only infill fills the ring without touching the walls; one that changes the wall count also traces loops along its own outline, inside the infill. Below, in section: the modifier starts one layer above the bottom face and ends one layer below the top face.

Recipe 3: solve it in the model. If every print of that part needs it, model it. A boss with the right outside diameter, or a rib, makes the slicer generate walls there with any profile and in any slicer. For an M3 self-tapping screw, a 2 × d = 6 mm boss leaves 1.75 mm of wall round the 2.5 mm pilot. That is about 4 beads at 0.45, more than the 3 wall beads that Self-tapping screws in plastic asks for, and with 3 walls in the profile the slicer prints it almost solid without any modifier. A modifier stays in one slicer's project; geometry travels with the STL or the STEP.

Less plastic where there is no load. It works the other way round too: a modifier box with less infill, or 0 % with the walls intact, in a bulky region that carries nothing. On display pieces, adaptive patterns (Adaptive Cubic, Lightning) or Cura's "Gradual Infill Steps" already concentrate infill under the top surface (Walls, perimeters and infill).

Changes by height band

Layer height by band. A box with a dome on top, or a logo in the top 2 mm: set a height range at 0.12 mm over the detail and leave 0.20–0.28 mm below (useful range with a 0.4 nozzle: 0.08–0.28 mm). It is predictable and repeatable, which the automatic smoothing of variable layer height does not guarantee. Band limits snap to whole layers: the slicer rounds the range to the layer grid, so expect the limit to land up to one layer away from the height you typed.

Settings by band. More walls in the bottom 10 mm of a tall hollow part that takes a threaded base. A single wall and no infill in the top band of a part you will cut afterwards. A slower outer wall in the top band of a tall, slender part that wobbles: a height range can do that because speed is a per-region setting.

Color by height uses the same range or the slider; it is covered in Assigning colors in the slicer. What survives moving a project from one slicer to another is covered in Orca, Bambu Studio, PrusaSlicer and Cura.

When it fails

Symptom, cause and fix
Symptom Cause Fix
The modifier does nothing It does not intersect the part, the setting is not per region (temperature, fan, seam, support), or it belongs to another object Check the intersection in the sliced preview, not the prepare view; a modifier only acts on the object you added it to
Extra loops or a split top layer inside the part Outline walls from a modifier that changes the walls Shrink the modifier, shorten it by one layer at each end, or change infill instead of walls
The fan reverts to its value after a few layers The slicer rewrites M106 on bridges, overhangs and short layers Change the fan in the filament profile
The setting starts or ends at the wrong height The range is stored as object Z heights and does not follow the geometry If you rotate, reorient or scale the part afterwards, check the limits
Settings vanish when the file is opened elsewhere Modifiers, per-object settings and slider G-code are stored in the project Save the 3MF project; an STL keeps nothing, and between Cura and the PrusaSlicer family almost everything is lost
Two modifiers overlap and you cannot tell which wins None of PrusaSlicer, Orca or Bambu Studio clearly documents which one wins where they overlap Avoid overlaps or check the result in the preview; in Cura, "Mesh Processing Rank" decides

How to test it

Slice and step through the preview with the layer slider: the first and last layers of the modifier and one in between. Color by line type: the solid infill or the extra walls must appear only inside the modifier's outline, and the visible layers at the top and bottom must look the same as without it. If you changed the temperature on the slider, find the M104 in the G-code at the height you chose.

See also

Design it in KapyCAD

Many of these problems are cheaper to fix in the model than in the slicer: wall thickness, overhangs, the face the part stands on.

Free plan, no card. Runs in your browser, nothing to install.

Open the editor

Still have a question?