CAD Workflow: Parametric versus Direct Modeling
What You'll Learn
- 1Model a feature tree as a directed acyclic graph and compute its rebuild order
- 2Derive a break-even point for parametric against direct editing
- 3Count configurations produced by a variable table
- 4Predict rebuild failure probability from the affected feature count
The choice between a feature history and direct geometry edits decides how a part behaves six months later when the design changes. Parametric models rebuild from a recipe, so one dimension edit ripples through every dependent feature and can also break that recipe in ways that take an hour to untangle. Direct models edit faces immediately and never fail to rebuild, but they carry no record of intent. This lesson gives both workflows a quantitative treatment so the choice can be made with numbers instead of habit.
Theory and Foundations
Because the graph is a DAG, a topological sort always exists and defines a valid rebuild order. The practical consequence is that an edit to feature does not rebuild the whole tree; it rebuilds and everything reachable from downstream. Let be that descendant set:
Editing the base extrude of a 200 feature tree may touch all 200 features, while editing a fillet added last touches only that fillet and its few children. This is why feature order is not cosmetic: it sets the size of every you will ever compute.
The cost of a parametric change is setup plus rebuild, while the cost of a direct change is one face operation per touched entity:
where is the time to open the sketch or equation, is the rebuild cost per feature, is the number of faces you must move by hand, and is the time per manual move. Setting the two equal gives the break-even count:
Below direct editing wins; above it, parametric wins. This one formula is the whole decision for one-off edits.
Configuration volume is where parametric modeling stops being a preference. If a base part is driven by variables that each take discrete values, the catalog size count is the product:
Six variables with 3, 2, 4, 2, 2, and 3 values give configurations from a single file, while direct modeling would need 288 separate solids and 288 separate edit sessions.
Reliability is the counterweight. If each feature has probability of producing a rebuild error when its parent geometry moves, and features are re-evaluated, then under an independence assumption the probability that the rebuild survives is:
With and the survival probability is , so roughly one edit in seven leaves at least one red flag. Push to 120 and survival drops to , which is why editing deep in a long tree feels like gambling.
Direct modeling has its own arithmetic. Imported STEP and IGES solids arrive as a boundary representation with edges that may not close. An edge counts as open when the gap between adjacent faces exceeds a healing tolerance , and a solid is watertight only when:
Healing at mm typically closes the 12 open edges of a routine supplier model, while healing at mm leaves many of them open and healing at mm silently distorts the part. Choose from the drawing tolerance, not from what makes the error list go empty.
A final metric worth tracking on any team is the dangling reference ratio, the fraction of features whose parents have moved or vanished:
A healthy production tree holds near zero. Values above about 0.02 mean the tree is one edit away from a cascade, and the fix is to repoint or absorb references rather than to keep editing.
Key Formulas
Worked Examples
| Aspect | Parametric | Direct |
|---|---|---|
| Geometry source | Sketch plus ordered faces | Faces moved explicitly |
| Edit cost model | Setup plus rebuild of descendants | One move per touched face |
| Failure mode | Regeneration error in the tree | Lost local reference, manual cleanup |
| Configuration leverage | N equals the product of variable counts | One file per configuration |
| Best fit | Configurable production parts | Imported or concept geometry |
| Input situation | Recommended workflow | Governing number |
|---|---|---|
| STEP file, five final hole moves | Direct | m below m star |
| 288 catalog sizes | Parametric | N equals 288 |
| Concept shell, shape still moving | Direct until frozen | Zero history to break |
| Change touching 120 features | Parametric, after reference cleanup | P equals 0.618 otherwise |
Real-World Examples
- STEP import repair - A delivered solid arrives with 12 open edges, stitched to 0.01 mm and then rebuilt as parametric faces, which is 0.01 mm against a 0.05 mm drawing band and therefore safe.
- Configurable bracket - One base part with 6 driving variables generates 288 catalog sizes without any manual rework, replacing 288 separate CAD files.
- Concept housing - A pushed and pulled organic shell stays direct until the shape is frozen, then gets wrapped in history with fewer than 40 features and a 0.15 s rebuild.
- Legacy gearbox cover - An old cast part with no history is edited directly rather than reverse engineered feature by feature, because the alternative is 200 hours of modeling for a part that will not change again.
đĄFreeze Then Parameterize
Common Mistakes
Deleting features in the middle of a tree
Fix: Suppress instead of delete, and check that the descendant count is zero before removing anything.
Sharing one sketch across many features
Fix: Give each feature its own sketch so edits stay local and predictable.
Rebuilding an imported part from scratch
Fix: Only reverse engineer when the part needs systematic configuration or changes.
Key Takeaways
- A feature tree is a DAG, and an edit rebuilds the descendant set D of i, not the whole file.
- Break-even is m star equals T_p over t_m; above it parametric wins, below it direct wins.
- Configuration count is the product of variable counts, and 6 variables already gave 288 sizes.
- Rebuild survival is (1 minus p) to the power n, so shrinking the affected set is a reliability tool.
Frequently Asked Questions
Can a direct model become parametric later?
Yes, by creating features that capture the existing faces, but the effort is only justified when future changes must be systematic. If the part will change once, the break-even formula says to stay direct.
Why does my rebuild fail after a simple edit?
Usually a feature references geometry that moved or disappeared, so inspect the error flag and repoint the dangling reference. Track the dangling reference ratio, since a value above about 0.02 means the cascade is waiting to happen.
Which is faster for one small change?
Direct editing usually is, because there is no regeneration sequence and no downstream children to evaluate. Run the break-even: with 45 s of setup and a 0.15 s rebuild over 40 descendants you start at 51 s, which a single 20 s face move already undercuts.
Interview Questions
Q1: You receive a STEP file and must change five hole positions. What do you do?
Compare m with m star: five moves at 20 s each is 100 s direct against 51 s parametric, so build a parametric wrapper if the holes will keep moving and edit faces directly if the change is final.
Q2: What makes a feature tree fragile?
Chained references, shared sketches, and patterns that depend on deleted edges all enlarge the descendant set and drive the rebuild survival probability (1 minus p) to the n downward.