Geometry and layer height

Spend the fine layers on the shoulder of a dome

A rounded lid can have a smooth vertical skirt and a visibly stepped shoulder. Printing the entire lid at a finer layer height spends extra time on both. A height profile lets you choose where that extra resolution buys something.

Fine parallel ridges follow the curved walls and stepped recess of a white 3D-printed part.
Layer lines follow the contour of a printed surface. The slope determines how far the next line moves sideways. Photo credit

The same Z step leaves different horizontal shelves

Consider a sloped cross-section where the wall moves outward 1 mm for every 1 mm of height. With a 0.20 mm layer, the outline steps about 0.20 mm sideways per layer. On a shallower section that moves 3 mm outward per 1 mm rise, the same layer leaves roughly 0.60 mm of sideways step. Reducing the layer height to 0.10 mm halves both steps. These are geometry estimates. The bead's rounded edge and the viewing angle influence how pronounced the shelves look.

A straight vertical side moves almost nowhere sideways as Z increases. Finer layers still leave a different surface texture, but they do little to improve the accuracy of that straight contour. At the very top of a dome the tangent changes rapidly with height. Keep some fine layers through the shoulder and look closely at the final transition into a flat cap. Prusa's variable layer height editor documents how to generate, edit and smooth a height profile.

A 40 mm lid, counted two ways

For illustration, imagine a 32 mm vertical skirt and an 8 mm curved crown. At a constant 0.20 mm the model takes about 200 layers. At 0.10 mm throughout it takes about 400. Leaving the skirt at 0.20 mm and using 0.10 mm on the crown needs roughly 160 + 80 = 240. The first layer, smoothing and exact model height can change the actual count. The time saving also depends on how long the paths are at each height, so compare the slicer's time estimates on the same model and settings.

First separate a stair step from a flat facet

A cross-section through a finely modeled dome is a smooth curve. The discretization into layers produces a stepped profile in the vertical direction, with each layer presenting an almost horizontal little shelf. Mesh tessellation produces facets in any direction, including long flat strips that run almost vertically around the circumference. Rotate the unsliced model under a light in the preparation view. A polygon edge that is visible at every zoom before slicing has already been written into the input mesh. Slicing it more finely cannot reconstruct the lost curve.

A useful inspection uses two views. In side view, compare the outline of the crown at the layer boundary where the shelf is widest. In top view, follow a single perimeter around the circumference. If that perimeter looks like a many-sided polygon while the side outline improves with finer layers, you are seeing both effects. Ask for a finer mesh export where it matters or use a format your CAD-to-slicer workflow can tessellate at a known tolerance. Avoid blindly subdividing straight triangles after export. More vertices on the same flat plane do not restore the original mathematical surface.

Features at the same height share the decision

Suppose the lid's dome rises beside a tall vertical locking tab. Finer layers through the dome may also make many extra passes through the tab at the same heights. That can be helpful if lettering wraps around it, or costly if it is merely a plain wall. Look at how your slicer applies a height profile to objects printed together. A collection of parts sliced at the same time may impose constraints that a single isolated lid never encountered. The preview, including every object's layers at that Z height, is the record of what the file will actually do.

A pair of parts that fit together deserves inspection at the engagement height. A snap bead on a lid and a matching groove in the rim can land on different discrete Z planes if their height schedules differ. They may each look smooth and still engage differently. Record the Z positions just before and just after the widest part of the bead. Inspect the corresponding groove in the other file. For a functional evaluation, print a narrow sector that preserves both the bead and the groove, including the same orientation and height profile. A smooth isolated dome is a poor proxy for a fit at a discrete ridge.

How to choose the editing range

Start with the minimum and maximum layer heights allowed by the specific nozzle and printer preset you trust. The fact that an editor accepts another number does not demonstrate that the printer can deliver a stable line at it. At the thicker end, the bead must still make enough contact with the material below. At the thinner end, a tiny change in bed or motion accuracy consumes a larger fraction of the intended layer height. The right range on one machine and material may be too aggressive on another. There is no reason to take both limits to their extremes on the first slice.

Mark the bottom and top of the curved feature on the preview's height scale. Change the profile over a slightly wider interval so the transition has room on each side. Re-slice, then read the new layer sequence at three positions: a vertical region below, the steepest change near the shoulder, and the last few layers before the cap. If the fine region extends across a long, straight section, restrict it and compare the layer count again. If the chosen region missed the widest ledge, move it rather than lowering every layer in the model.

This is the first trap in adaptive slicing. A model can be geometrically smoother after adaptation but visually worse, because the boundary between a thick-layer region and a thin-layer region shows up as a change in sheen. The layers are the same material, but they cooled at different rates and the bead shapes differ slightly. A gentle adaptive transition is almost always preferable to an aggressive one, even if the theoretical surface error is larger.

Inspect extrusion demand at both limits

A shift from 0.12 to 0.24 mm doubles the approximate volume required per unit path length if the line width stays fixed. At 0.45 mm width and 60 mm/s, the simple rectangular approximation rises from 3.24 to 6.48 mm³/s. The slicer may also change width, speed or both. Compare the actual flow preview where the visible band is formed. If a slow thin section appears glossy and a fast thick section appears matte, the thermally different surface can dominate the improvement in the underlying contour.

Where a material profile applies a maximum volumetric speed, the thicker section may automatically slow down. That changes the time estimate relative to an estimate based on layer count alone. Conversely a tiny top may encounter minimum layer time on every fine layer, stretching out the last few millimeters of a print. Note the footprint of the fine region as well as its height. A narrow tip with very short paths can behave differently from a broad low dome with long fine perimeters, even if both use exactly the same minimum layer height.

Preserve the baseline when comparing crops

A sliced test cut from the top of the model may start at a new Z origin. A manually painted height profile attached to the original object may no longer cover the same portion of the surface. Reopen the crop in the editor and verify its layer heights instead of assuming the translation carried every relevant setting with it. A horizontal cut also changes the area resting on the bed and the cooling of neighboring features. If the purpose is purely to compare a surface contour, that may be acceptable. If the purpose is a snap fit or dimensional check, preserve its neighboring walls and fastening geometry as well.

Photograph the finished pair with a straight edge or grid in the background and the light grazing the shoulder. Rotate it under ordinary room lighting too. A shelf visible only under magnification may be an acceptable price for a shorter print, while a single coarse ring crossing the center of a display lid can make a more elaborate profile worthwhile. Keep the original fixed-height slice alongside the chosen schedule so its extra layers have an identifiable purpose.

Set a height allowance for a captured sliding tab

A drawer guide may have an upper lip and a lower rail that together define the opening for a separately printed sliding tab. The designer can specify the clear opening along Z even though all three features are manufactured as stacks of layers. Suppose the intended lower bearing surface is at 6.00 mm and the intended underside of the lip is at 8.40 mm, measured from the same local datum. The nominal opening is 2.40 mm. A sliding tab with an actual thickness of 2.15 mm would have 0.25 mm of total vertical clearance if the guide reproduced those two surfaces exactly.

In the slice, inspect the last material forming the lower bearing surface and the first material forming the underside above the opening. A displayed extrusion Z position typically identifies the nozzle elevation for that layer, so the underside of the first lip layer and the top of that layer must be distinguished. Use the local layer height and the application's section convention to estimate the two physical boundaries in the planned stack. Reading the two nozzle heights as the two facing surfaces would overstate the available opening by the thickness of the lip's first layer.

For illustration, suppose those inferred boundary positions are 6.07 mm for the lower face and 8.34 mm for the upper face. The planned gap is 2.27 mm, leaving 0.12 mm above the measured tab. Seven hundredths lost at the bottom and six hundredths lost at the top have both consumed clearance. Two surfaces displaced upward by the same amount would instead preserve the gap while shifting its position relative to the housing. Report the actual signed differences at each face. Assuming every surface lands within half the nominal layer height can be misleading after smoothing, a nonstandard first layer or a different slicing convention.

Now reserve room for what the preview cannot predict. The material at the underside of the lip might sag slightly. The separate tab may vary in thickness across its width, and a bowed rail may make the opening shallower at one end. If an assembled guide requires at least 0.15 mm of clearance everywhere, the illustrative planned 0.12 mm already falls short before any of these effects. A finer band limited to the region of the two bearing faces is worth comparing. Slice again and recalculate the two actual boundaries. More layers near the lip do not guarantee a bigger or more appropriately located gap.

Keep the original datum when cutting a short test section. A useful section contains both faces, the same support or bridge geometry under the lip and enough rail length to reveal binding. Test the manufactured tab at the entrance and farther along the guide. A tab that enters freely but binds halfway points to variation along the rail, even if a section at the entrance meets the height allowance. If both candidate schedules deliver the needed clearance and the tab lies at the correct installed height, choose between them on the extra layer time and finish elsewhere on the housing.

Read the proposed height profile before printing

  1. Slice a constant-height baseline. Find the first obvious shelf on the shoulder and note its Z position. Compare that section with the source model. Polygon facets visible in the mesh will survive a change in layer height.
  2. Apply variable height within the allowed range for the selected printer and nozzle. Concentrate finer steps around the shoulder. Inspect the layer-height preview or individual Z positions to see exactly where the transition begins.
  3. Look at the outside perimeter immediately below and above the transition. A sudden band can change extrusion demand and cooling behavior on a visible face. Smooth the transition or move it below a natural edge, then compare the same region again.

Use the constant-height and variable-height versions for one short comparison. Illuminate both from the side and inspect the crown, skirt and transition separately. If the only defect is lines across a horizontal top face, follow the top-surface ironing guide. If a ridge repeats at fixed heights on a vertical wall in both versions, inspect Z banding. Neither observation justifies turning the entire model into a fine-layer job.

A final check belongs at the model's base. Variable-height tools generally preserve a separately configured first layer. A thicker first layer can place subsequent boundaries at different heights from those in an example that assumes a uniform start. If there is a short bevel in the first millimeter, inspect the first few actual extrusion levels in the output. A missing edge there may have been consumed by the first layer or by first-layer compensation before the adaptive schedule had any opportunity to describe it. Changing the shoulder profile at the top of the object will not recover a bevel that never received a path at the bottom.