Chapter 1

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 stageInformation handledRevision cue
CADGeometry, dimensions, tolerances, material and featuresWhat the part is
CAEAnalysis of design performanceWhether the design meets requirements
CAPP: computer-aided process planningOperations, sequence, machines, tools and setupsHow the part will be made
CAM tool-path generationCutter locations, feeds, approach and clearance movesHow the cutter should move
PostprocessorMachine/controller-specific NC blocksTranslate tool-path data for the selected machine
CNC controllerDecode blocks, interpolate, command drivesExecute motion and auxiliary actions
Inspection feedbackMeasured dimensions and deviationsCompare 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 typeProduct variety and changeoverTypical application
FixedLow variety; dedicated equipment; expensive changesTransfer line for a stable high-volume product
ProgrammableBatch changes need reprogramming and setupCNC batch production
FlexibleDesigned for frequent changes within a defined part familyIntegrated machining cell with automated handling

From product definition to checked machine instructions; feedback closes the information loop.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.

RepresentationStored descriptionStrength and limitation
WireframePoints and edgesCompact; can be ambiguous about inside/outside and hidden faces
Surface modelSurface patches and their boundariesDescribes outer shape; an open collection need not enclose a volume
Boundary representation (B-rep)Oriented faces, edges, vertices and connectivity enclosing the solidSupports solid modelling when the boundary is valid and closed
Constructive solid geometry (CSG)Primitive solids and a Boolean construction treeUnion, intersection and difference build the final volume
Sweep representationProfile moved along a path or about an axisExtrusion and revolution are common constructions
Feature-based parametric modelFeatures, dimensions and constraintsChanging 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 toolEssential distinction
IGESExchange of geometric entities; transfer does not guarantee a complete solid or its design history
STEPProduct-model exchange; supported geometry and attributes depend on the application protocol and implementation
STLTriangular approximation of a boundary; no native exact curved faces, feature history or explicit unit field
Native CAD formatCan 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 BB for bodies and excludes cavities, use Sb=BS_b=B. If its LL counts all loops, substitute Li=L−FL_i=L-F.

1.4 Coordinate transformations

Use active transformations: the point moves while the axes stay fixed. Positive planar rotation is anticlockwise from +x+x towards +y+y, viewed from +z+z. 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 uu. The parameter need not be distance or time. At a regular point, dC/dud\mathbf C/du gives the tangent direction.

Join conditionMeaning at the joining parameter values
C0C^0Endpoint positions match
G1G^1Positions match and nonzero tangent vectors have the same direction (positive scalar multiple)
C1C^1Positions and first derivatives match for the stated parameterisation
C2C^2Positions, first and second derivatives match

C1C^1 implies G1G^1 at a regular join; G1G^1 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 n+1n+1 control points is a polynomial of degree at most nn. 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 (1−u)3(1-u)^3, 3u(1−u)23u(1-u)^2, 3u2(1−u)3u^2(1-u) and u3u^3. 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.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.

PropertyResult
Degree and orderOrder =p+1=p+1
Support of one basis functionNi,pN_{i,p} vanishes outside [ui,ui+p+1)[u_i,u_{i+p+1})
Interior knot of multiplicity rkr_kGenerally Cp−rkC^{p-r_k} continuity for 1≤rk≤p1\le r_k\le p; special control data can be smoother
End knot repeated p+1p+1 timesClamped curve interpolates that endpoint control point
Degree nn with only two knots, each repeated n+1n+1 timesBézier segment
Rational weightingCan 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.

Revise offline: the whole CAD/CAM and Automation handbook as one PDF

40 pages · 1.8 MBFree to read online. Sign in to download the PDF.We save the handbook, version and request time in My downloads. Privacy policy

All chapters · Corrections