From Carving to Building
Picture two ways of making a small wooden chess piece. A woodcarver starts with a solid block of wood and removes material — chip by chip, shaving by shaving — with a chisel, until only the king's crown-shaped figure remains. Everything that isn't the chess piece ends up on the workshop floor as sawdust. Now picture a different approach: instead of starting with a solid block, you build the same chess piece by stacking together thousands of paper-thin discs of wood, one on top of the other, each disc cut to the exact outline needed at that height. The bottom disc is wide (the base), the middle discs narrow and widen again (the stem and crown), and the top disc is tiny. Stack them all in the right order, glue each one to the one below it, and you get the same chess piece — but you never removed anything. You only added material, exactly where it was needed.
The woodcarver's method is called subtractive manufacturing — you start with more material than you need and cut away the excess. The stacking method is called additive manufacturing, and it is exactly how a 3D printer works. It does not carve. It builds an object upward, one wafer-thin layer at a time, by depositing material only where the object actually needs to be at that height. This single idea — build up instead of cut down — is the foundation of everything else in this chapter.
Additive Manufacturing: Building Objects Layer by Layer
A 3D printer takes a digital 3D model of an object and physically recreates it by depositing material in a sequence of flat, horizontal layers, each one bonding to the layer beneath it. The most common type of 3D printer used in Indian school labs, Atal Tinkering Labs, and hobbyist desks is called an FDM printer — Fused Deposition Modeling. FDM printers melt a thin plastic thread called filament and push it through a heated nozzle, drawing each layer's shape the way you might trace a shape with a glue gun, except with molten plastic that cools and hardens within seconds.
Because the printer works layer by layer, it can build shapes that would be extremely difficult or even impossible to carve from a solid block — hollow interiors, interlocking parts printed already assembled, and internal honeycomb-like structures that a drill or a cutting tool could never reach inside a solid piece. This is the real advantage of additive manufacturing: it isn't just a different way to make the same shapes, it opens up entirely new categories of shape.
How the Printer "Sees" a Shape: The STL File
Before any plastic melts, the object has to exist as a digital model — usually created in CAD (Computer-Aided Design) software. But a 3D printer's control software does not understand curves and smooth surfaces the way a design program does. It needs the surface of the object broken down into simple flat pieces it can reason about mathematically. So the design is exported into a file format called STL (named after stereolithography, the technology it was first built for). An STL file describes an object's entire outer surface as a mesh of tiny flat triangles, each one defined by the three-dimensional coordinates of its three corners. A curved surface like a sphere is approximated by thousands of small, flat triangular facets stitched edge to edge — zoom in close enough on a 3D-printed sphere and you can sometimes actually see the triangular facets as faint flat patches.
This triangle-mesh idea is worth pausing on, because it is a common source of confusion. The STL file contains no information about layers, no information about the printer, and no color or material data — it is purely a description of the outer shape as a cloud of connected triangles. Converting that shape description into something a printer can actually execute is a separate job, done by another piece of software entirely.
Slicing: Turning a Shape into Instructions
That separate job belongs to slicer software (examples include Ultimaker Cura and PrusaSlicer). The slicer takes the STL mesh and mathematically cuts it into a stack of thin horizontal cross-sections — imagine running a knife through the triangle mesh at regular height intervals and looking at the outline exposed at each cut. Each cross-section becomes one printable layer. The vertical distance between consecutive cuts is called the layer height, and it is one of the most important settings in the entire printing process, because it directly controls two things that pull against each other: surface quality and print time.
A smaller layer height (say 0.1 mm) means each layer is thinner, so the "steps" between layers are less visible and the final surface looks smoother — but it also means many more layers are needed to reach the same total height, so the print takes longer. A larger layer height (say 0.3 mm) prints faster but leaves more visible ridges, like the growth rings on a tree stump. This trade-off is a real engineering decision every time someone sets up a print, not just a technical detail — it is the printer's version of choosing between speed and finish quality.
Worked Example: Counting Layers and Estimating Time
Suppose you are 3D printing a small pen stand for your study table, and the finished object will stand 40 mm tall. Your slicer is set to a layer height of 0.2 mm. How many layers will the printer actually produce?
This is simple division — the total height divided by the height of a single layer:
number of layers = total height / layer height
number of layers = 40 mm / 0.2 mm
number of layers = 200 layers
So the printer will lay down 200 separate horizontal slices, stacked one on top of another, to build a pen stand only 4 centimetres tall. That is a good sense-check to keep in mind: even small objects are made of a surprising number of layers.
Now let's estimate how long that might take. Real slicer software calculates print time precisely, based on the exact length of plastic path traced in every single layer and the print speed at each point — but we can build a reasonable intuition with a simplified estimate. Suppose, on average, each layer of this pen stand (tracing its outer wall, inner wall, and a bit of internal infill) takes about 45 seconds to print:
total time = number of layers x time per layer
total time = 200 x 45 seconds
total time = 9,000 seconds
9,000 seconds / 60 = 150 minutes
150 minutes / 60 = 2.5 hours
A pen stand you could hold in one hand takes roughly two and a half hours to print. This is why 3D printing is described as "slow but capable" — it can build shapes nothing else can build as cheaply, but it trades away speed to do it.
Reading G-code: The Printer's Actual Program
Once the slicer finishes cutting the model into layers, it does one more job: it writes out the precise sequence of movements the printer's motors and nozzle must perform to trace every layer, in order. This output is called G-code, and it is worth reading closely, because it reveals that a 3D print is, underneath everything, just a long list of simple instructions executed one after another — an algorithm, in the same sense as a program you might write in a coding class.
G28 ; home all axes - move nozzle to reference point (0,0,0)
G1 Z0.2 F300 ; raise nozzle to the height of layer 1 (0.2 mm)
G1 X50 Y50 F1500 ; travel move to the starting point (no plastic extruded)
G1 X60 Y50 E1.2 F900 ; extrude plastic while moving right, drawing a line
G1 X60 Y60 E2.4 ; extrude plastic while moving up, drawing the next edge
G1 Z0.4 ; raise the nozzle - begin the second layer
Each line is one instruction. G1 means "move in a straight line." X and Y give the target position on the build plate, in millimetres, exactly like coordinates on a graph. Z tells the nozzle which layer height to move to — this is literally the value that increases every time the printer starts a new layer, which is why Z0.2 becomes Z0.4 between the two layers shown above. F sets the feed rate, the speed of the movement in millimetres per minute. And E is the most interesting field: it is the cumulative total length of filament, in millimetres, that has been pushed through the nozzle since printing began. Notice that E does not reset to zero on each line — it climbs steadily (1.2, then 2.4, and so on). The printer's firmware compares each new E value to the previous one; the difference tells it exactly how much fresh filament to push through the nozzle during that specific movement. A line with no E value at all — like the travel move to X50 Y50 — means the nozzle moves without extruding anything, repositioning itself in mid-air before starting to draw again.
This is genuinely no different in spirit from a program that says "move forward, turn, draw a line, move forward again" — it is sequential, it is precise, and every single line matters. A single wrong coordinate in the G-code and a wall of the object simply will not be there.
Inside the FDM Printer
With the G-code loaded, here is what physically happens inside the machine. A spool of solid plastic filament (typically 1.75 mm thick) feeds into a drive mechanism that pushes it into a heated block called the hot end. Common filaments include PLA (polylactic acid, a plant-starch-based plastic that melts around 190–220°C and is the easiest to print with) and ABS (the harder, more heat-resistant plastic used in items like Lego bricks, which needs a hotter nozzle, around 230–250°C, and a heated build plate to stop it warping as it cools). Inside the hot end, the filament melts into a soft, workable state — not a runny liquid, but soft enough to be pushed through a narrow nozzle opening, often just 0.4 mm wide.
The nozzle then moves across the build plate in the X and Y directions exactly as instructed by the G-code, extruding this softened plastic in a continuous thin line that cools and re-solidifies within a second or two of leaving the nozzle — bonding to the layer beneath it as it does. Once an entire layer's outline and interior are traced, the whole print head (or, in some printer designs, the build plate) shifts up by exactly one layer height in the Z direction, and the process repeats for the next layer.
Infill: Why Most 3D-Printed Objects Are Hollow Inside
If you cut open a 3D-printed object, you will almost never find it completely solid inside. Instead, you'll find a solid outer shell (usually 2-4 layers thick on the walls, top and bottom) with a sparse, repeating pattern filling the interior — triangles, hexagons, or zig-zag lines, depending on the pattern chosen. This interior pattern is called infill, and the fraction of the interior volume that's actually filled with plastic is called the infill percentage. A typical everyday print uses around 15-25% infill: enough internal structure to support the walls and resist reasonable force, without wasting filament, weight, or time on plastic that is mostly acting as a spacer.
Let's work through what that actually saves. Suppose the slicer reports that, for our pen stand, the solid outer shell requires 25 cm³ of plastic, and the space it encloses (the part that infill would fill) is 80 cm³. At 100% infill (fully solid), the total material used would simply be the shell plus the fully filled interior:
solid total = shell + interior
solid total = 25 cm3 + 80 cm3 = 105 cm3
Now compare that with a sensible 20% infill setting. Only one-fifth of that interior volume is actually filled with plastic (arranged as a lattice, not a solid block):
infill material = 20% x interior volume
infill material = 0.20 x 80 cm3 = 16 cm3
total material = shell + infill material
total material = 25 cm3 + 16 cm3 = 41 cm3
That is less than half the plastic of the fully solid version — a saving of 105 - 41 = 64 cm³, roughly 61% less material, for an object that is still plenty strong for holding pens. We can convert this to something more tangible: mass. PLA plastic has a density of about 1.24 grams per cubic centimetre, so:
mass at 20% infill = 41 cm3 x 1.24 g/cm3 = 50.8 g (approx. 51 g)
mass at 100% infill = 105 cm3 x 1.24 g/cm3 = 130.2 g (approx. 130 g)
And since PLA filament in India typically costs somewhere around ₹1,000-1,500 per 1 kg (1000 g) spool depending on brand and colour, we can estimate cost too. Using ₹1,200/kg as an example price:
cost at 20% infill = (51 g / 1000 g) x Rs.1200 = approx. Rs.61
cost at 100% infill = (130 g / 1000 g) x Rs.1200 = approx. Rs.156
Lower infill isn't just faster to print — it is also lighter and noticeably cheaper, which is exactly why almost nobody prints objects fully solid unless the object genuinely needs maximum strength, such as a load-bearing mechanical bracket.
Common Misconception: "The Printer Can Build Any Shape, However It's Oriented"
A very natural assumption is that because a 3D printer can build "anything," it can print any shape in any orientation without difficulty — including, say, the letter "T" printed so the horizontal bar sits high up in mid-air with only a thin vertical stem beneath it. This is false, and understanding why reveals something important about how additive manufacturing actually works.
Remember that every layer is built directly on top of the layer beneath it. When the nozzle extrudes plastic for a new layer, that plastic needs something solid immediately underneath it to bond to and rest on while it cools. If a layer's shape sticks out sideways far beyond the layer below it — an overhang — there is nothing there to support the freshly extruded, still-soft plastic. Gravity pulls it downward before it has time to cool and harden, and it sags, drips, or fails to print at all. As a rough rule of thumb, overhangs steeper than about 45° from vertical usually need help.
That help comes in the form of support structures — thin, easily removable lattices of extra plastic that the slicer automatically generates underneath overhanging sections, purely to give the nozzle something to print onto. Once printing finishes, these supports are snapped or cut away and discarded; they were never part of the intended object. So the honest version of "the printer can build any shape" is: it can build almost any shape, but overhanging geometry often requires temporary scaffolding material that has to be planned for and later removed — it is not a free, automatic capability.
Post-Processing: Printing Doesn't End When the Nozzle Stops
A second misconception worth correcting directly: many people assume a 3D print is a finished, ready-to-use object the instant the printer shuts off. In reality, most prints need some amount of post-processing before they're truly done. Support structures need to be removed, often leaving small rough marks where they attached. Visible layer lines on curved surfaces can be sanded smooth. Multi-part designs sometimes need separately printed pieces glued together. And for a different, resin-based printing technology, the object comes out of the printer covered in sticky, uncured liquid resin that must be washed off and then cured further under UV light before it reaches its final hardness. None of this is a flaw in the technology — it's simply part of the complete process, the same way a photograph isn't "done" the instant the shutter clicks; it still needs developing.
Beyond FDM: SLA and SLS in Brief
FDM is the most common desktop technology, but it is not the only additive manufacturing method. SLA (Stereolithography) printers use a UV laser or light source to selectively cure liquid photopolymer resin, layer by layer, inside a vat — producing far smoother, more detailed surfaces than FDM, which is why SLA is popular for jewellery models, dental moulds, and detailed miniatures, though the resin is typically more expensive and requires careful handling. SLS (Selective Laser Sintering) printers use a laser to fuse together fine particles of powder (commonly nylon) layer by layer; because the object sits surrounded by loose, unfused powder throughout printing, that powder itself supports any overhangs, so SLS prints often need no separate support structures at all. Both technologies follow the same underlying principle as FDM — slice a model into layers, then build it layer by layer — but change what material is used and how each layer is solidified.
Real-World Impact: From ISRO to Prosthetics
Additive manufacturing has moved well beyond hobby projects. India's space agency ISRO has used 3D printing to manufacture rocket engine components at its Liquid Propulsion Systems Centre — most notably redesigning an injector head for the PS4 engine (used in the upper stage of the PSLV rocket) as a single 3D-printed part, replacing a design that previously required about fourteen separate pieces to be individually machined and welded together. Fewer joints means fewer potential failure points in a component that has to survive extreme heat and pressure, and the engine has been successfully hot-tested with its printed part. In healthcare, several hospitals and nonprofit groups in India now use 3D printers to make low-cost prosthetic hands for children — because each hand can be custom-scaled to a child's exact measurements from a 3D scan, and cheaply reprinted at a larger size as the child grows, something traditional prosthetic manufacturing struggles to match on cost. And closer to your own classroom, many schools running NITI Aayog's Atal Tinkering Labs (ATL) include a desktop 3D printer among their standard equipment specifically so students can move from a CAD design on screen to a physical object in their hands within the same school day.
Check Your Understanding
- A model is 60 mm tall. Using a layer height of 0.15 mm, how many layers will the printer produce?
- Why can't an FDM printer simply extrude plastic into open air to create a large overhang, with nothing printed underneath it yet?
- In a G-code line like
G1 X60 Y60 E2.4, what does the E value represent, and why does it increase rather than reset on every new line? - A design has a shell requiring 25 cm³ of plastic and an interior volume of 80 cm³. At 25% infill, how much total material (in cm³) will the print use? If PLA density is 1.24 g/cm³, what is the approximate mass?
- Give one reason additive manufacturing can create shapes that subtractive manufacturing (like CNC machining) cannot.
Answers:
- 60 / 0.15 = 400 layers.
- Freshly extruded plastic is soft and needs a solid surface directly beneath it to bond to and cool against. With nothing underneath, gravity pulls the soft plastic down before it hardens, causing it to sag or fail — which is why slicers generate temporary support structures under steep overhangs.
- E is the cumulative total length of filament (in mm) extruded since printing began. It keeps increasing because the printer's firmware calculates how much new filament to push through by comparing each E value to the one before it — the difference tells it exactly how much material that specific movement needs.
- Infill material = 0.25 x 80 = 20 cm³. Total material = 25 + 20 = 45 cm³. Mass = 45 x 1.24 ≈ 55.8 g, approximately 56 g.
- Additive manufacturing can create enclosed internal cavities, hollow lattice structures, and interlocking geometry that a cutting tool could never physically reach inside a solid block — because material is only ever added where it's needed, not carved out from the outside in.
Summary
3D printing is additive manufacturing: building an object upward by depositing material in a stack of thin horizontal layers, rather than cutting material away from a solid block as subtractive processes like CNC machining do. A digital 3D model is first exported as an STL file — a mesh of connected triangles describing the object's outer surface — and then processed by slicer software, which mathematically cuts that mesh into layers at a chosen layer height and generates G-code: a precise, sequential list of X-Y-Z movements and extrusion amounts (E) that the printer's motors execute one line at a time. In the most common technology, FDM, a heated nozzle melts plastic filament and traces each layer's shape onto the layer below, building the object from the build plate upward while the print head moves along the X, Y and Z axes. Most prints are hollow inside, filled only partially with an internal lattice called infill, which trades a small amount of strength for large savings in material, weight, cost and print time. Steep overhangs need temporary support structures because unsupported molten plastic sags under gravity, and most prints require post-processing — removing supports, smoothing layer lines — before they're truly finished. Beyond desktop FDM, technologies like SLA (laser-cured resin) and SLS (laser-fused powder) apply the same layer-by-layer principle with different materials, and the same principle now shapes objects as small as a phone stand and as demanding as an ISRO rocket engine component.
Practice Exercises
Now it is time to practice! Complete these challenges to solidify your understanding:
- Exercise 1: Write a short program that demonstrates the core concept from this chapter. Test it with at least 3 different inputs.
- Exercise 2: Find a real-world example where 3d printing is used in an Indian company (like TCS, Infosys, Flipkart, or ISRO). Write a paragraph explaining the connection.
- Exercise 3: Create a mind-map connecting 3d printing to at least 3 other topics you have studied.