# Anti-Aliasing for FDM 3D Printing Is Finally Here (Micro-Non-Planar Printing)

## Метаданные

- **Канал:** CNC Kitchen
- **YouTube:** https://www.youtube.com/watch?v=0Hi9lBjZGIM
- **Дата:** 07.02.2026
- **Длительность:** 16:35
- **Просмотры:** 314,665
- **Источник:** https://ekstraktznaniy.ru/video/46652

## Описание

Discover pocket-sized precision for yourself with the Surftest SJ-220 here: https://mitutoyo.eu/product-highlight...

In this video, I test Z Anti-Aliasing, a new slicing technique related to non-planar printing that dramatically reduces stair-stepping on FDM prints by making tiny Z-height adjustments — no special hardware required. Using real surface roughness measurements, we’ll see how much smoother prints get, where ZAA works best, and what its current limits are.

Check out our CNC Kitchen products at https://cnckitchen.store/ or at our global resellers https://www.cnckitchen.com/reseller

ZAA Bambu Studio: https://github.com/adob/BambuStudio-ZAA
GCode ZAA Post Processor: https://github.com/Theaninova/GCodeZAA
Z Anti-Aliasing paper: https://arxiv.org/abs/1609.03032

Non-Planar 3D Printing by ‪@TeachingTech‬ :    • Non-planar 3D printing in a modern slicer ...  
3D Print Anything without supports by ‪@joshuayjbird‬ :    • 3D Print Anything Without Supports  
Nozzle Camera by 3DO: h

## Транскрипт

### Introduction []

Today we’re going to talk about anti-aliasing - and not the kind you know from video games, but anti-aliasing in 3D printing. This is a new method of non-planar printing that can be activated by a simple checkbox in a special version of Bambu Studio and that tremendously reduces the stair-stepping effect on FDM 3D prints. With just a bit of slicer trickery, you get sub-layer accuracy, especially on shallow-sloped surfaces. And this method doesn’t require any special hardware, is more or less universally usable, and with just a bit more work could make 3D prints smoother and more accurate. So let’s find out more! Guten Tag everybody, I’m Stefan, and welcome to CNC Kitchen. This video is sponsored by Mitutoyo and their new Surftest SJ-220 Portable Surface Roughness Tester. This amazing piece of measurement equipment helped me put numbers to something I was previously only able to subjectively grasp by feeling and scratching the samples. But more on that later. Almost every 3D print that is made these days is, in reality, more of a 2. 5D print. What I mean by this is that even though the process itself produces a three-dimensional object, the way parts are typically printed is by stacking two-dimensional layers on top of each other. Most of the time, the printhead only moves in a flat plane when it’s laying down material, and only after one of these layers is finished does the nozzle move up by one layer height and continue printing the next one - creating the typical stair-stepping effect we see on additive parts. But this is still how most thermoplastic, resin, and even metal 3D prints are produced. The reason for this approach is pretty simple. 3D printing preparation software is called a slicer because it cuts the three-dimensional models into thin slices and then processes these slices and fills them with print moves. This isn’t just mathematically simple and robust, it also avoids collisions with other parts of the print, because the printhead always moves above the highest point of the model. So in order to get away from stair steps, we’ve seen several different approaches to non-planar

### Non-planar printing [2:06]

printing over the last few years. Non-planar means that the layers are no longer flat planes, but instead curved to better follow the geometry. Sometimes this approach is only used for the top layer, but in other cases every layer is printed in a three-dimensional fashion. So you might ask yourself why non-planar printing is not a feature in any major slicer today. In my opinion, there are two major reasons for this. The first is that non-planar slicing is simply complex. There are so many edge cases where it just doesn’t work, so there is currently no general non-planar algorithm, and most examples focus on relatively simple geometry. The second reason is hardware. If you want to print non-planar, the printhead is constantly moving up and down. And since the cooling shroud of a printer is typically very close to the nozzle, the slicing algorithm has to ensure that no part collides with already printed sections. This has led in the past to some very interesting hotend and cooling shroud designs. So general non-planar slicing in this sense is simply not easy.

### Z Anti-Aliasing [3:15]

But this is exactly where Z Anti-Aliasing — or ZAA for short — comes in. If you’ve ever played a video game or worked with computer graphics, you know that anti-aliasing is used to reduce the visible stair-stepping you get when diagonal or curved edges are approximated by square pixels. Without anti-aliasing, an angled line on a screen can only jump from one pixel to the next, creating that jagged, blocky look. Anti-aliasing works by slightly adjusting or blending those pixels so the edge follows the intended shape more closely — even though the underlying grid is still there. Z Anti-Aliasing applies the same idea to 3D printing. Instead of square pixels, we’re dealing with flat layers stacked on top of each other. And instead of smoothing things in X and Y, ZAA smooths the surface in the Z direction by making tiny, controlled height adjustments within a layer. The part is still sliced into layers, but the top surface is no longer forced to be perfectly flat at each step — it can gently follow the actual geometry of the model. The initial idea for this appeared in a 2017 paper by French researchers. Theaninova, without even knowing of the paper's existence, implemented a similar idea two years ago as a post-processing script for OrcaSlicer, which Aleksandr Dobkin then used as the basis for creating a version of Bambu Studio that I’ve been using for this video. You simply download it, and you get a new option under the Quality tab in ZAA Bambu Studio. When you turn it on and slice a part, you can already see that layers on sloped surfaces that used to be completely flat are now slightly contoured, following the shape of the part much more closely. When you print a part, it doesn’t look dramatically different at first glance compared to one without ZAA. But when you touch or scratch it, you immediately notice that the discrete steps on top surfaces are almost gone, and the print feels noticeably smoother. You can still feel that the surface has a roughness similar to that of any other top surface of a print, but the steps are almost gone. The way Z Anti-Aliasing works is both simple and very clever. First of all, it only affects top surfaces of a part, so most areas of a print aren’t touched at all. To illustrate the method, let’s look at the side of a simplified part. The dashed line represents the edge of our geometry. In conventional slicing, the part is cut in the middle of a layer, and the nozzle moves on a plane while extruding plastic. Then the nozzle moves up by one layer height and does the same thing again, creating the typical FDM stair steps. Z Anti-Aliasing is smarter than that. The algorithm projects the toolpath of up-facing, outer surfaces onto the actual geometry and therefore follows the shape of the part by dynamically varying the layer height in a small margin. This way, you avoid most of the major collision problems associated with other non-planar approaches, while still following the slope of a part almost perfectly. And this doesn’t just get rid of stair-stepping - dimensional accuracy also improves, because you get rid of over-extrusion in some areas and fill voids in others. And you can’t just feel that effect - you can measure it. This is where

### Sponsor [6:34]

today’s video sponsor Mitutoyo comes in, and I’m seriously honored to have them support the channel and projects like this. For more than 90 years, Mitutoyo has been building precision measurement equipment in Japan, not just for industry but also for serious makers. I’m sure many of you have one of their calipers on your desk or in a drawer somewhere. For this video, they provided their new Surftest SJ-220 Portable Surface Roughness Tester. It uses a tiny diamond with a stylus tip radius of only 2 µm that carefully drags across the surface of your part and measures even the smallest deviations. Thanks to its compact size, it’s portable and can be used almost anywhere. The intuitive touchscreen lets you quickly adjust settings or analyze your measurements, and not only is the built-in battery charged via USB-C, it also offers a wide range of communication options. Check it out using the link below and see it in use right now!

### Measuring the Effects [7:29]

Let’s start by measuring the effect of Z Anti-Aliasing on these simple samples with surface angles of 5, 10, 15, 20, and 25 degrees. Both sets were printed at a 0. 2 mm layer height in PLA, with the only difference being that ZAA was enabled for one and disabled for the other. Even though you can’t easily see the difference from above, a closer inspection reveals visible stair-stepping on the conventional part, while it’s almost gone on the ZAA sample. I measured each slope twice by gently placing the measuring tip of Mitutoyos Surfacer Tester onto the part. Within a few seconds the Tester drags the tip over the surface measuring the surface profile and then processes it to give me the roughness values. I focused on Ra, which is the arithmetical mean roughness. In simple terms, it’s the average height deviation of the surface from a perfectly smooth reference line. If you imagine dragging your finger across a surface, Ra is a good indicator of how smooth it feels overall. Lower Ra means a smoother surface. The biggest improvement is visible on shallow slopes, where stair-stepping is normally most pronounced. Here, the conventional Ra roughness is around 80 microns, compared to just 25 microns with Z Anti-Aliasing. That’s more than a threefold improvement. As the slope angle increases, the conventional roughness gradually decreases, but the ZAA parts are always smoother and, interestingly, at a very consistent level. At some point - here at 25 degrees - the curves converge. At this point the step length is smaller than the extrusion width, so path can’t be moved anymore. At even steeper angles than this, ZAA simply doesn’t have an effect anymore, and you’re left with the roughness inherent to the technology.

### Advantages [9:17]

These numbers also show that Z-contouring clearly works. Visually, it may not look as dramatic as some other non-planar approaches we’ve seen in the past, because the top surface is still divided into individual layers and you can see the boundaries. But there are still some very significant advantages. One of them is post-processing. When sanding and filling parts in the past - especially on shallow slopes - you often had to fill deep voids and sand down excess material over and over. To illustrate this, I printed the top halves of a sphere. This could be something like the top of a helmet - one with ZAA and one without. I measured surface roughness in three directions. The conventional part started with an Ra of 50 microns, while the ZAA part was already down to 21 microns. I then applied spray filler, which really highlighted the stair pattern. After letting it dry overnight, I lightly sanded both parts and measured them again. This first post-processing step roughly halved the roughness of both samples, but neither was perfect yet. After a second round of filler and sanding, the ZAA part again nearly halved its roughness and already felt extremely smooth, while the conventional part only showed a small improvement. In the end, the conventionally printed part only reached the same roughness level as the ZAA part had straight off the printer - and I think that clearly shows how powerful this technique can be, especially for anyone who post-processes their parts or needs smooth sliding surfaces in mechanical applications. The other big point is print time. I printed several test parts at different layer heights, because with conventional slicing, the thicker the layers become, the rougher they are, simply because the steps between the layers become steeper. But with Z Anti-Aliasing, we can smooth that out! When we add the ZAA results to the plot, something interesting shows. A part printed at 0. 2 mm layer height with ZAA is just as smooth as one printed conventionally at 0. 1 mm. And it gets even crazier: if we increase the layer height to 0. 3 mm and keep ZAA enabled, the surface roughness stays almost exactly the same. This means we can theoretically print at three times the layer height while keeping top surface roughness nearly constant. A few years ago, when printers were primarily speed-limited by their movement speed, this meant massive print-time savings. Today, with fast machines that are often melt-rate limited, the benefit is smaller - but a print-time reduction of around 50% is still very realistic for some parts because Z Anti-Aliasing shouldn’t add a significant amount of print time due to only small print movements.

### Why better than Variable Layer Height? [11:59]

You might ask whether variable layer height, a slicer feature we already had for years, could also be a good solution for smoother top surfaces. And in a way, it does - but it has two downsides. First, it adds more layers, which increases print time. Second, while it works well for simple parts, complex geometries almost always have at least one shallow section at every layer, which forces the entire part to be printed at lower layer heights. Z Anti-Aliasing, on the other hand, lets you print the whole part with thicker layers and only modifies the toolpaths exactly where it’s necessary.

### Challenges [12:34]

Up to this point, this all sounds pretty amazing, so you might be wondering why this isn’t already part of mainline Bambu Studio or OrcaSlicer. As always, there are some challenges - but in my opinion, they’re much smaller than with other non-planar approaches. My explanation so far has been simplified, and reality is a bit more complex. You might have already noticed on some printed parts that surface quality with ZAA can vary over a print. Earlier, I said that ZAA avoids the collision problems of other non-planar approaches - and while that’s mostly true, it’s not entirely. Even though the cooling shroud isn’t an issue, the nozzle itself can still collide with already printed material, because the lower part of the nozzle is typically wider than the extrusion. The current ZAA implementation takes planar toolpaths and adjusts only the Z component to better follow the geometry. This can lead to problems depending on the order in which the lines are printed. If a surface is filled from low to high, everything works fine. But if it’s filled from high to low, the side of the nozzle can collide with previously printed lines, leading to rougher surfaces. On complex prints, this is almost unavoidable and shows on the parts right now. Solving this properly will likely be the biggest task before ZAA becomes a fully finished feature. We should already be able to get better results if we used pointy nozzles where the lower part doesn’t have that big flat section anymore but this would kind of defeat the “no-hardware modification necessary” premise. There is also another solution. The original 2017 paper splits extrusion paths by height and prints them from lowest to highest, avoiding interference entirely. Since this creates a large number of individual paths, the authors also propose an optimization algorithm to reduce travel moves and also place the remaining seams in less visible areas. Going into more detail would be too much for this video, so if you’re interested, I’ve linked the paper below. There are also still some minor bugs and edge cases in the current implementation. Sometimes I had gaps between the layers because the z-height wasn’t reset. I also noticed gaps in my top layers. Upon further inspection, I saw that on flat, sloped surfaces, the extrusion transitioned from low to high or high to low, but it jumped depending on the direction. You see, our 3D printer G-Code doesn’t have a command to move from point A to point B and transition from low to high material flow, as would be necessary for our variable layer height. So we typically divide paths and vary flow in steps. Sometimes the current implementation does that, like on the sphere, but it doesn’t do that on my wedges. But this can all be polished, and overall, I think this is a technique that could realistically be integrated into mainstream slicers - unlike many other non-planar approaches that are limited by hardware constraints.

### Summary [15:33]

In my opinion, Z Anti-Aliasing is a very exciting technique that again shows how much potential still lies in clever slicing algorithms. The current Bambu Studio implementation is already a great proof of concept, and with a bit more development, this could become an amazing option for smoother or faster prints - without all the complexity of full non-planar printing. A big shout-out goes to Thea and Aleksandr for the massive amount of work they put into making this already usable today. But what do you think about Z Anti-Aliasing? Would you like to see this as a standard slicer feature, or would you rather have true non-planar printing instead? Let me know in the comments!
