CAD/CAM models and integration
CAD defines the part; CAM turns that definition into manufacturing instructions. Keep the geometric model, its topological validity, the process plan and the machine-specific program distinct.
1.1 Design-to-manufacture information flow
Computer-aided design (CAD) creates, modifies and documents product geometry. Computer-aided manufacturing (CAM) uses computer support to plan and control manufacture. A shared, consistent product database reduces repeated entry of geometry and dimensions.
| Tool or stage | Information handled | Revision cue |
|---|---|---|
| CAD | Geometry, dimensions, tolerances, material and features | What the part is |
| CAE | Analysis of design performance | Whether the design meets requirements |
| CAPP: computer-aided process planning | Operations, sequence, machines, tools and setups | How the part will be made |
| CAM tool-path generation | Cutter locations, feeds, approach and clearance moves | How the cutter should move |
| Postprocessor | Machine/controller-specific NC blocks | Translate tool-path data for the selected machine |
| CNC controller | Decode blocks, interpolate, command drives | Execute motion and auxiliary actions |
| Inspection feedback | Measured dimensions and deviations | Compare the made part with its definition |
Variant CAPP retrieves and adapts a plan for a similar part family. Generative CAPP builds the plan using manufacturing knowledge and decision rules. Group technology forms families using design/manufacturing similarities; a manufacturing cell groups resources for a family. These are integration concepts, not merely file conversion.
Computer-integrated manufacturing (CIM) connects design, planning, production and business information. A flexible manufacturing system (FMS) combines programmable workstations, automated handling/storage and coordinated control to make a range of parts with short changeovers.
| Automation type | Product variety and changeover | Typical application |
|---|---|---|
| Fixed | Low variety; dedicated equipment; expensive changes | Transfer line for a stable high-volume product |
| Programmable | Batch changes need reprogramming and setup | CNC batch production |
| Flexible | Designed for frequent changes within a defined part family | Integrated machining cell with automated handling |
From product definition to checked machine instructions; feedback closes the information loop.
1.2 Geometric representations and exchange
Past papers · ME 2020–2026 (10 papers): 1 question, 1 mark
Geometry specifies shapes and sizes; topology specifies connections such as which faces meet at an edge. A drawing of visible edges alone does not uniquely define a solid.
| Representation | Stored description | Strength and limitation |
|---|---|---|
| Wireframe | Points and edges | Compact; can be ambiguous about inside/outside and hidden faces |
| Surface model | Surface patches and their boundaries | Describes outer shape; an open collection need not enclose a volume |
| Boundary representation (B-rep) | Oriented faces, edges, vertices and connectivity enclosing the solid | Supports solid modelling when the boundary is valid and closed |
| Constructive solid geometry (CSG) | Primitive solids and a Boolean construction tree | Union, intersection and difference build the final volume |
| Sweep representation | Profile moved along a path or about an axis | Extrusion and revolution are common constructions |
| Feature-based parametric model | Features, dimensions and constraints | Changing a dimension regenerates dependent geometry |
Bézier, B-spline and NURBS curves describe geometry; they are not by themselves closed solid representations. NURBS surfaces can form the geometric faces of a B-rep solid when suitable topology is supplied.
| Exchange tool | Essential distinction |
|---|---|
| IGES | Exchange of geometric entities; transfer does not guarantee a complete solid or its design history |
| STEP | Product-model exchange; supported geometry and attributes depend on the application protocol and implementation |
| STL | Triangular approximation of a boundary; no native exact curved faces, feature history or explicit unit field |
| Native CAD format | Can retain feature/constraint history; compatibility depends on the software |
A usable closed STL mesh needs consistent facet orientation and connectivity. Missing facets create openings; degenerate facets have zero area; non-manifold edges/vertices break the intended solid-boundary structure. The staircase effect comes from layerwise manufacture, not from a missing STL facet. Additive process details: see the Manufacturing Processes handbook.
1.3 Euler checks for solid topology
Past papers · ME 2020–2026 (10 papers): 1 question, 2 marks
Count shared edges and vertices once for the whole model. A face may have one outer boundary and additional inner boundary loops. A tunnel changes genus; a blind pocket does not necessarily do so.
With no enclosed cavities, shell count equals the number of disconnected solid bodies. If a question writes for bodies and excludes cavities, use . If its counts all loops, substitute .
1.4 Coordinate transformations
Use active transformations: the point moves while the axes stay fixed. Positive planar rotation is anticlockwise from towards , viewed from . Length coordinates and translations must use the same unit.
1.5 Parametric curves and continuity
A parametric curve gives all coordinates as functions of a parameter . The parameter need not be distance or time. At a regular point, gives the tangent direction.
| Join condition | Meaning at the joining parameter values |
|---|---|
| Endpoint positions match | |
| Positions match and nonzero tangent vectors have the same direction (positive scalar multiple) | |
| Positions and first derivatives match for the stated parameterisation | |
| Positions, first and second derivatives match |
implies at a regular join; need not imply equal tangent magnitudes. Derivatives must be converted to the same parameter scale before comparing them.
1.6 Bézier curves
A Bézier curve with control points is a polynomial of degree at most . It interpolates its first and last control points; intermediate control points usually guide rather than lie on the curve.
For a cubic, the four weights are , , and . Moving one control point generally affects the entire segment. Affine transformations can be applied to the control points before or after evaluating the curve with the same result.
An original cubic Bézier segment and its control polygon.
1.7 B-splines, NURBS and surface patches
A B-spline separates degree from the number of control points. Knots divide its parameter domain into spans. Moving one control point affects only the spans where its basis function is nonzero.
| Property | Result |
|---|---|
| Degree and order | Order |
| Support of one basis function | vanishes outside |
| Interior knot of multiplicity | Generally continuity for ; special control data can be smoother |
| End knot repeated times | Clamped curve interpolates that endpoint control point |
| Degree with only two knots, each repeated times | Bézier segment |
| Rational weighting | Can represent conic arcs exactly; ordinary polynomial curves cannot exactly represent a nontrivial circle arc |
Last-minute recall
- CAD geometry, process planning, tool-path generation and postprocessing perform different jobs.
- Variant CAPP adapts a family plan; generative CAPP constructs a plan from rules.
- B-rep needs topology as well as geometric faces; curves alone do not enclose a solid.
- Euler's equation rejects inconsistent counts but cannot certify a valid solid.
- Count inner loops separately; cavity shells are not extra solid bodies.
- Column transformations act rightmost first; rotations and translations usually do not commute.
- A Bézier segment interpolates endpoints and stays in its control-point convex hull.
- B-spline degree does not grow merely because more control points are added.
- NURBS weights enable exact conic representation; equal weights give a B-spline.