Feature tree

Also known as: history tree · design history

On this page 7

A feature tree is the ordered record of every sketch, operation and reference that a parametric CAD program uses to build a solid model, replayed from top to bottom each time the model changes. In CAD for makers and in the wider field of 3D printing & making, it is also called the history tree or design history, and it is the reason a printable part can be resized, re-toleranced or modified without being redrawn from scratch.

Each entry in the tree depends on the entries above it, so the feature tree is both a construction log and a dependency graph. Understanding how it is evaluated, ordered and repaired separates models that adapt cleanly to new requirements from models that collapse with rebuild errors after a single dimension change.

How a feature tree is evaluated

A feature tree is evaluated by regenerating each feature in sequence, starting from the origin planes and ending with the last operation. A typical sequence begins with a CAD sketch on a base plane, controlled by geometric constraints and dimensions, which an extrude or revolve turns into a first solid body. Later features such as holes, shells, fillets and patterns modify that body in the order they appear.

Every feature stores parameters and references rather than final geometry. A hole feature remembers its diameter, its depth and the face it was placed on. When a parameter upstream changes, the kernel discards the old result and recomputes all dependent features, which is the core promise of parametric modeling.

The table below lists the main entry types found in most feature trees and the role each plays in the rebuild.

Entry typeWhat it storesTypical role
Origin and planesDefault XY, XZ and YZ planes, axesStable anchors for the first sketches
Sketch2D curves, constraints, dimensionsProfiles for solid features
Solid featureExtrude, revolve, sweep, loft parametersCreates or removes material
Dress-up featureFillet, chamfer, shell, draft valuesRefines edges and walls
Pattern or mirrorSeed feature, count, spacing, planeRepeats geometry predictably
Reference geometryOffset planes, axes, pointsDecouples features from model faces
Common entries in a feature tree

Parent-child dependencies and rollback

The relationships inside a feature tree are called parent-child dependencies. A sketch drawn on the top face of an extrusion is a child of that extrusion; if the extrusion is deleted or its face disappears, the child loses its reference and fails to rebuild. Long chains of such dependencies make a model fragile, because one change near the top can ripple through dozens of features below it.

Most programs offer a rollback bar or history marker that suppresses every feature below a chosen point. Moving the marker lets a designer insert a feature earlier in the history, inspect the model as it existed at that stage, or diagnose which step produced a defect. Suppressing and reordering features are legitimate tools, but reordering is only possible when no child would end up above its parent.

The most notorious dependency failure is the topological naming problem. When a rebuild changes the number or order of faces and edges, the program may lose track of which face a later feature was attached to. Different kernels handle this with varying robustness, and it has historically been a known weakness in FreeCAD, which has received substantial mitigation work in recent releases.

Feature trees in common maker CAD tools

Feature trees appear in nearly every parametric CAD tool used for 3D printing, but they differ in presentation and in how strictly they enforce order. The following comparison summarizes how popular programs expose the design history.

ToolHistory presentationNotable behavior
SOLIDWORKSFeatureManager design treeRollback bar, folders, feature reorder
Autodesk FusionTimeline along the bottom edgeHistory can be turned off for direct edits
OnshapeFeature list in the Part StudioCloud versions and branches of the history
FreeCADModel tree with Body containersTip marker defines the active result
OpenSCADScript text instead of a treeHistory is the code, evaluated every render
TinkercadNo parametric historyShapes are combined without a rebuild log
How popular tools present design history

Tools without a feature tree, such as Tinkercad and most mesh editors, rely on direct modeling or primitive grouping. They are faster for one-off shapes but cannot propagate a dimension change through a sequence of operations.

Building a robust feature tree

A robust feature tree is one that survives dimension changes without errors. The most reliable habit is to reference origin planes and named reference geometry instead of generated faces and edges, because default planes never disappear during a rebuild. A second habit is to apply fillets and chamfers late in the history, since they consume edges that other features might need.

The decision table below captures practices that experienced designers apply when preparing parts for printing.

SituationRecommended practiceReason
Placing a new sketchUse origin or offset planesFaces can renumber after edits
Adding edge roundsFillet near the end of the treeFillets split edges and faces
Repeated holes or ribsPattern one seed featureOne edit updates every copy
Critical fit dimensionsDrive them with named parametersClearances change per printer
Large assemblies of featuresRename and group key stepsOthers can read the intent
Printer-specific tweaksKeep them as separate final featuresEasy to suppress for a new machine
Practices for a stable design history

Naming features descriptively, for example “Bolt clearance holes” instead of “Extrude7”, turns the tree into readable design intent. For printable parts, storing a tolerance or clearance parameter in a user parameter table lets one value adapt snap-fit joints, heat-set insert bores and sliding fits to a new printer or material.

Limitations and common mistakes

A feature tree adds rebuild time and complexity that some parts do not need. Very long histories, with hundreds of features, can slow regeneration noticeably and make the cause of a failure hard to find. The table below lists frequent symptoms, their usual causes and the standard fix.

SymptomLikely causeFix
Sketch flagged as danglingReferenced face no longer existsRe-attach the sketch to a stable plane
Fillet fails after an editSelected edge was split or removedReselect edges or move the fillet later
Pattern produces wrong countSpacing or extent conflictsCheck pattern parameters and direction
Model rebuilds very slowlyHeavy patterns or complex loftsSuppress features while editing
Imported STEP has no historyNeutral formats store final geometry onlyUse direct edits or rebuild key features
Typical feature tree failures

A frequent misconception is that exporting to STL or 3MF preserves the history. Both formats store only the final mesh, and STEP stores only boundary geometry, so the feature tree stays in the native CAD file. Designers who share printable parts should therefore publish the native file or a parameterized source alongside the mesh if they want others to remix it reliably.

The short version

A feature tree is like a recipe for a 3D part. It does not store only the finished shape. It remembers every step. Draw this outline. Pull it up 20 mm. Cut a hole here. Round these corners.

The steps are saved in order. You can go back, change one number and let the program cook the part again. The catch is that later steps depend on earlier ones. If you remove an ingredient that a later step needs, that step breaks until you fix it.

Where it makes a difference

A hobbyist designs a wall-mounted holder for a cordless drill in a parametric CAD program. The feature tree starts with a sketch on the front plane, extrudes a 4 mm back plate, adds a cradle sized to a drill grip diameter parameter of 52 mm, and finishes with two countersunk screw holes and 2 mm fillets on the outer edges.

Months later, a friend asks for the same holder for a larger drill with a 58 mm grip. Because the cradle, the screw spacing and the fillets all depend on named parameters and stable planes, changing one value regenerates the whole part in seconds. The new STL prints on the first attempt, and the friend can later edit the same file for a third tool. Without the feature tree, the cradle would have to be redrawn and every rounded edge recreated by hand.