Curves, Surfaces and Solid ModelingIntroductionComputer-aided design (CAD) represents engineering products as mathematical and geometric models. The quality of a CAD model affects visualization, analysis, manufacturing, inspection, tooling, product data exchange, and later design modification. Mechanical engineers therefore need to distinguish between wireframe, surface, and solid representations and understand how curves and surfaces are constructed. A wireframe model describes an object using points, lines, arcs, and curves. A surface model adds faces that define an object's exterior skin but does not necessarily define its interior volume. A solid model represents a closed, volumetric object and supports mass-property calculation, interference checking, Boolean operations, and many manufacturing functions. This chapter develops the principles of Bézier curves, B-spline curves, and non-uniform rational B-splines (NURBS), followed by surface modeling and solid-modeling methods including boundary representation (B-rep), constructive solid geometry (CSG), sweeping, and Boolean operations. Learning ObjectivesAfter studying this chapter, the reader should be able to: - distinguish wireframe, surface, and solid models;
- explain parametric curve and surface representations;
- construct and interpret Bézier, B-spline, and NURBS geometry;
- analyze continuity, control points, weights, knots, and parameterization;
- describe B-rep, CSG, sweeping, and Boolean modeling;
- select an appropriate representation for design and manufacturing tasks;
- identify modeling errors that affect downstream engineering applications.
1. Geometric Modeling Representations1.1 Wireframe modelsA wireframe model consists only of geometric entities and their connectivity. It may include vertices, straight edges, circles, arcs, and free-form curves. Wireframes are computationally simple and useful for layout, skeleton design, and defining the path of a sweep. Their principal weakness is ambiguity. The same collection of edges may describe several possible surfaces or solids. A wireframe also does not reliably identify inside and outside, so hidden-line removal, volume calculation, and automated machining are difficult. 1.2 Surface modelsA surface model represents the boundary skin of an object. It is useful for automobile bodies, aircraft fairings, consumer products, molds, and other components in which aerodynamic or aesthetic shape is important. Surfaces can be trimmed, joined, offset, and analyzed for curvature. A surface model may be open, meaning that gaps exist between patches, or closed, meaning that the patches form a complete shell. A closed shell is not automatically a valid solid: edges must be properly connected, orientations must be consistent, and the shell must generally be manifold. 1.3 Solid modelsA solid model represents a bounded three-dimensional volume. It supports: - volume, mass, center-of-gravity, and moment-of-inertia calculations;
- sectioning and interference detection;
- finite-element preprocessing;
- Boolean addition, subtraction, and intersection;
- tool-path generation and inspection planning.
Two broad solid representations are CSG and B-rep. CSG records how a solid is constructed from primitives, whereas B-rep records its faces, edges, vertices, and topological relationships. 1.4 Geometry and topologyGeometry concerns shape and dimensions: coordinates, radii, lengths, and curvature. Topology concerns connectivity and incidence: which vertices bound an edge, which edges bound a face, and which faces bound a shell. A robust CAD system maintains both. For example, changing the radius of a cylindrical face is a geometric operation; determining which two circular edges bound that face is a topological relationship. 2. Parametric CurvesA parametric curve is written as a position vector depending on a parameter t: 𝐂(t) = [x(t), y(t), z(t)], a ≤ t ≤ b Here, t is a dimensionless curve parameter unless a different convention is specified. The parameter is not necessarily physical distance. The tangent vector is d𝐂/dt and the unit tangent, where the derivative is nonzero, is 𝐓(t) = (d𝐂/dt) / ||d𝐂/dt|| The curvature of a planar curve can be expressed as κ = ||𝐂′ × 𝐂″|| / ||𝐂′||³ For a planar curve, the cross product is interpreted by embedding the curve in three-dimensional space. Curvature has units of inverse length. These expressions assume that the curve is sufficiently differentiable and that ||𝐂′|| ≠ 0. Parametric representation is preferred to explicit forms such as y=f(x) because it can represent vertical tangents, closed curves, and three-dimensional paths without special cases. 3. Bézier CurvesAn nth-degree Bézier curve is defined by control points 𝐏0, 𝐏1, …, 𝐏n and Bernstein basis polynomials: 𝐂(t) = ∑ᵢ₌₀ⁿ Bᵢ,ₙ(t)𝐏ᵢ, 0 ≤ t ≤ 1 where Bᵢ,ₙ(t) = (n choose i)tⁱ(1 − t)ⁿ⁻ⁱ The control points may be two- or three-dimensional position vectors. The Bernstein basis functions sum to one, are nonnegative on the parameter interval, and provide affine invariance. Consequently, the curve lies within the convex hull of its control points. The endpoints interpolate the first and last control points: 𝐂(0) = 𝐏₀, 𝐂(1) = 𝐏ₙ Endpoint derivatives are 𝐂′(0) = n(𝐏₁ − 𝐏₀), 𝐂′(1) = n(𝐏ₙ − 𝐏ₙ₋₁) Thus, the first and last control-polygon segments determine endpoint tangent directions. The curve generally does not pass through interior control points. Worked example: quadratic Bézier curveLet 𝐏₀=(0,0), 𝐏₁=(2,4), and 𝐏₂=(5,0). For a quadratic curve, 𝐂(t) = (1−t)²𝐏₀ + 2t(1−t)𝐏₁ + t²𝐏₂ At t=0.5, the basis values are 0.25, 0.50, and 0.25. Therefore, 𝐂(0.5) = 0.25(0,0) + 0.50(2,4) + 0.25(5,0) = (2.25, 2.00) The result has the same length units as the control-point coordinates. This curve is suitable for a simple smooth profile, but increasing the degree to represent many local shape changes makes editing difficult. This limitation motivates B-splines. 4. B-Spline CurvesA B-spline curve is a piecewise polynomial curve defined by control points, degree p, and a nondecreasing knot vector U={u₀,u₁,…,um}: 𝐂(u) = ∑ᵢ₌₀ⁿ Nᵢ,ₚ(u)𝐏ᵢ The basis functions are defined recursively. For degree zero, Nᵢ,₀(u) = 1, if uᵢ ≤ u < uᵢ₊₁; otherwise 0 For p > 0, Nᵢ,ₚ(u) = [(u−uᵢ)/(uᵢ₊ₚ−uᵢ)]Nᵢ,ₚ₋₁(u) + [(uᵢ₊ₚ₊₁−u)/(uᵢ₊ₚ₊₁−uᵢ₊₁)]Nᵢ₊₁,ₚ₋₁(u) A term with zero denominator is defined as zero. This recursion is the Cox–de Boor definition. A valid parameter interval for the curve is normally uₚ ≤ u ≤ uₙ₊₁. The number of knots satisfies m=n+p+1. B-splines provide local control: moving one control point generally changes only a limited portion of the curve. Repeated knots reduce continuity and can force the curve toward a control point. With a simple internal knot and degree p, continuity is normally Cp−1; a knot of multiplicity r normally gives Cp−r continuity, provided the relevant derivatives exist. A clamped knot vector repeats the first and last knots p+1 times. The resulting curve interpolates the first and last control points, while an unclamped curve generally does not. Knot insertion changes the representation without changing the curve and is therefore valuable for refinement and editing. 5. NURBS CurvesNURBS extend B-splines by assigning a positive weight wᵢ to each control point: 𝐂(u) = [∑ᵢ₌₀ⁿ Nᵢ,ₚ(u)wᵢ𝐏ᵢ] / [∑ᵢ₌₀ⁿ Nᵢ,ₚ(u)wᵢ] Weights are dimensionless and normally positive. Increasing a control point's weight pulls the curve toward that point. The denominator must be nonzero over the parameter interval. When all weights are equal, the NURBS curve reduces to a polynomial B-spline. NURBS can represent conic sections exactly, including circles and ellipses, whereas ordinary polynomial Bézier and B-spline curves generally approximate them. This is a major reason NURBS are common in industrial CAD exchange standards and high-quality surface design. NURBS are rational because they are ratios of polynomial functions. A useful computational interpretation is to represent a point 𝐏ᵢ in homogeneous coordinates as (wᵢxᵢ,wᵢyᵢ,wᵢzᵢ,wᵢ), perform polynomial B-spline operations in four-dimensional homogeneous space, and project back to three dimensions. 6. Parametric SurfacesA tensor-product parametric surface is written as 𝐒(u,v) = ∑ᵢ∑ⱼ Nᵢ,ₚ(u)Nⱼ,₍q₎(v)𝐏ᵢⱼ where u and v are surface parameters, p and q are degrees in the two parameter directions, and 𝐏ᵢⱼ are a rectangular array of control points. A NURBS surface uses weights: 𝐒(u,v) = [∑ᵢ∑ⱼ Nᵢ,ₚ(u)Nⱼ,₍q₎(v)wᵢⱼ𝐏ᵢⱼ] / [∑ᵢ∑ⱼ Nᵢ,ₚ(u)Nⱼ,₍q₎(v)wᵢⱼ] The surface tangent vectors are 𝐒u=∂𝐒/∂u and 𝐒v=∂𝐒/∂v. A normal direction is obtained from 𝐧 = (𝐒ᵤ × 𝐒ᵥ) / ||𝐒ᵤ × 𝐒ᵥ|| when the cross product is nonzero. Surface orientation matters in solid modeling because it determines the inside/outside convention. Surface continuity includes positional continuity C⁰, tangent continuity C¹, and curvature continuity C². Visual smoothness does not always imply curvature continuity; tooling and aerodynamic applications may require explicit curvature analysis. Curves and surfaces in practical designA designer may create a surface by lofting through section curves, sweeping a profile along a spine, revolving a profile about an axis, or filling a boundary loop. The resulting patches must be checked for gaps, self-intersections, undesirable parameterization, and abrupt curvature changes. Surface deviation analysis compares a designed surface with a nominal or scanned shape and displays error using color maps or tolerance bands. 7. Solid-Modeling Methods7.1 Constructive solid geometryCSG constructs a model from a set of primitives such as blocks, cylinders, spheres, cones, and tori. A CSG tree records the operations used to combine them. The principal regularized Boolean operations are: - union: A ∪ B, material in either A or B;
- intersection: A ∩ B, material common to A and B;
- difference: A − B, material in A but not in B.
Regularization removes lower-dimensional remnants such as an isolated face or edge that would otherwise result from a tangential operation. CSG is compact, history-based, and easy to edit when the design is naturally described by primitives. It is less convenient for highly free-form shapes and may require conversion to B-rep for manufacturing or analysis. 7.2 Boundary representationA B-rep describes a solid by its boundary. Its entities commonly include: - vertices: zero-dimensional points;
- edges: bounded curve segments between vertices;
- loops: ordered edge circuits;
- faces: bounded surface regions;
- shells: connected collections of faces;
- solid regions: volumes enclosed by shells.
A valid manifold B-rep generally requires each edge to belong to the appropriate number of faces, consistent face orientations, closed shells, and no unintended self-intersection. Euler's relation for a simple connected, closed polyhedral solid is V − E + F = 2 where V, E, and F are the numbers of vertices, edges, and faces. This relation is a useful diagnostic for simple genus-zero polyhedra, but it must be modified for objects with through-holes or multiple handles. For a connected orientable polyhedron of genus g, the relation is V−E+F=2−2g. CAD kernels also need geometric tolerance handling because exact coincidence is rarely achieved with finite-precision arithmetic. B-rep is highly suitable for feature-based design, fillets, chamfers, shelling, drafting, mass properties, and manufacturing. Its limitation is that a complicated boundary can be more difficult to edit than the compact construction history that generated it. 7.3 Sweeping and skinningA sweep moves a profile along a path. If the profile remains constant, the result is a translational or path sweep; if the profile changes through several sections, the operation is often called lofting or skinning. A sweep must specify orientation, scale, and possibly twist along the path. Poor frame control can cause unwanted rotation or discontinuities. For a simple translational sweep, if profile coordinates are 𝐫(s) and path position is 𝐩(t), a basic surface can be represented as 𝐒(s,t) = 𝐩(t) + 𝐫(s) This expression assumes that the profile coordinate system remains parallel to a fixed frame. General sweeps require a moving frame, and the choice of frame affects twist and stability. Revolution rotates a profile through an angle about an axis and is especially useful for shafts, pulleys, vessels, and rotationally symmetric components. Lofting interpolates or approximates multiple section curves and is useful for transition ducts, housings, and aerodynamic forms. 8. Boolean Operations and Feature-Based DesignBoolean operations combine volumes, while feature-based modeling organizes them into design intent. A typical mechanical part may begin with an extruded block, receive holes through subtraction, gain a boss through union, and receive fillets and chamfers as finishing features. Boolean operations can fail when operands merely touch, contain coincident faces, have tiny sliver faces, or contain invalid self-intersections. Robust kernels use tolerances, geometric classification, and topology repair. The designer should avoid unnecessarily small features, maintain meaningful dimensions, and inspect the result after every major operation. Feature order matters. A fillet applied before a hole may produce a different result from a fillet applied after the hole. A design tree should therefore reflect functional intent rather than merely the order in which commands happened to be selected. 9. Model Validation and Data ExchangeA model intended for production should be validated geometrically and topologically. Important checks include: - closedness and watertightness;
- face-normal consistency;
- absence of self-intersections;
- minimum wall thickness;
- small edges and sliver faces;
- continuity between surface patches;
- units, coordinate systems, and tolerances;
- manufacturability and accessibility.
Common exchange formats include STEP for product-model data, IGES for curves and surfaces, and STL for triangulated representations commonly used in additive manufacturing. STL does not preserve exact analytic surfaces, feature history, or material semantics; tessellation tolerance must therefore be chosen carefully. STEP generally carries richer product information, but successful exchange still depends on healing, tolerance, and interpretation by the receiving system. The distinction between design accuracy and display accuracy is important. A shaded display may look smooth because of visual tessellation even when the underlying model contains a discontinuity. Conversely, a mathematically exact model may display poorly if the tessellation tolerance is too coarse. 10. Applied Case: Illustrative Pump Housing ModelBackgroundConsider an illustrative centrifugal-pump housing designed for machining and casting studies. The housing contains a circular inlet, a volute-like curved passage, mounting pads, and bolt holes. The product must support volume estimation, casting inspection, and CNC fixture planning. ProblemAn initial wireframe layout defined the inlet axis, outlet direction, mounting locations, and several cross-sections. It could communicate the design concept but could not reliably determine wall thickness, volume, or interference between the passage and mounting pads. Analysis and approachThe designer first created inlet and outlet section curves using constrained arcs and NURBS segments. NURBS were selected because the transition required smooth curvature and the circular inlet needed exact conic geometry. Several sections were lofted to form the outer housing and inner flow passage. The passage was subtracted from the outer volume using a Boolean difference. Mounting pads were generated by extruding closed profiles and joining them to the housing. Bolt holes were subtracted using cylindrical tools. Fillets were applied only after the primary volumes and holes had been validated. The resulting object was represented as a B-rep with oriented faces and a closed shell. Validation included a watertightness check, face-normal inspection, wall-thickness analysis, and interference checking between the passage, bolt holes, and machining allowances. The model was exported in STEP for manufacturing review and tessellated separately for visualization. OutcomeThe solid model enabled volume and mass-property estimation, automated section views, and reliable fixture planning. The surface-curvature inspection identified an abrupt transition near the outlet, which was corrected by adjusting section control points before finalizing the B-rep. Learning pointsThe case demonstrates that no single representation is universally best. Wireframe geometry was effective for layout, NURBS surfaces for smooth transitions, and B-rep solids for verification and manufacturing. It also shows why feature order, surface continuity, topology, and validation are engineering concerns rather than merely software concerns. 11. Limitations, Professional Practice, and Emerging TechnologyFree-form modeling involves a trade-off between flexibility and control. High-degree curves may provide shape freedom but can become numerically sensitive and difficult to edit. Excessive trimming can create fragile topology. Approximate imported geometry may produce gaps that prevent solid creation. Designers should prefer the simplest representation that preserves design intent. CAD models are engineering records. Incorrect units, hidden assumptions, poor tolerances, or unverified imported geometry can lead to defective parts, unsafe assemblies, and costly tooling errors. Model ownership, revision control, traceability, and configuration management are therefore essential. Engineers must not treat an automatically generated or AI-assisted shape as validated merely because it appears visually plausible. Contemporary systems increasingly combine parametric CAD, direct modeling, topology optimization, scan-to-CAD reconstruction, and generative design. AI can assist with feature recognition, repair suggestions, and design-space exploration, but human engineers remain responsible for boundary conditions, manufacturability, tolerances, safety, intellectual property, and verification. A generated model should be checked against requirements, not accepted on visual quality alone. Best practice is to: - establish units, datums, tolerances, and design intent before modeling;
- use constrained sketches and meaningful parameters;
- choose Bézier, B-spline, or NURBS according to the required control and continuity;
- maintain clean topology and avoid unnecessary tiny features;
- validate geometry after major operations;
- retain native parametric data when future editing is expected;
- export with documented format, units, tolerance, and version information;
- verify the exchanged model in the downstream CAM, CAE, or inspection system.
Chapter SummaryWireframe models provide geometric frameworks but are ambiguous for volume-based operations. Surface models define exterior shape and are central to free-form product design, while solid models define bounded volume and support mass properties, interference checking, Boolean operations, and manufacturing. Parametric curves describe geometry through a parameter rather than an explicit function of one coordinate. Bézier curves use Bernstein polynomials and a global control polygon. B-splines use piecewise polynomial basis functions, knots, and local control. NURBS add weights and can represent conic sections exactly. Surface models extend these concepts to two parameters and require attention to tangent directions, normals, continuity, and trimming. CSG represents a solid as a Boolean tree of primitives. B-rep represents vertices, edges, loops, faces, shells, and their topology. Sweeping, lofting, and revolution are powerful methods for constructing engineering shapes. Robust CAD practice requires geometric and topological validation, careful tolerance management, suitable data exchange, and human verification of automated results. Key TermsParametric curve: A curve defined by coordinates that depend on one or more parameters. Control point: A point that influences, but usually does not lie on, a free-form curve or surface. Bézier curve: A polynomial parametric curve defined using Bernstein basis functions. Bernstein polynomial: The basis function used in Bézier representation. B-spline: A piecewise polynomial spline controlled by knots and control points. Knot vector: A nondecreasing sequence of parameter values defining B-spline intervals. Knot multiplicity: The number of times a knot is repeated. NURBS: A non-uniform rational B-spline representation using weighted control points. Weight: A dimensionless factor that attracts a NURBS curve or surface toward a control point. Continuity: The smoothness relationship between adjoining curve or surface segments. Wireframe model: A model consisting primarily of vertices, edges, and curves. Surface model: A model representing an object's boundary skin. Solid model: A model representing a closed three-dimensional volume. CSG: Constructive solid geometry based on primitives and Boolean operations. B-rep: Boundary representation based on faces, edges, vertices, and topology. Boolean operation: Union, intersection, or difference between geometric sets. Sweep: A modeling operation that moves a profile along a path. Loft: A surface or solid formed through multiple section profiles. Watertight model: A closed model with no unintended gaps or open boundaries. Tessellation: Approximation of exact geometry by discrete polygons or triangles. Review QuestionsShort Answer Questions- What is the principal limitation of a wireframe model?
- State the endpoint interpolation property of a Bézier curve.
- What is the purpose of a knot vector in a B-spline?
- Distinguish geometry from topology in a CAD model.
- Name the three principal regularized Boolean operations.
Long Answer Questions- Compare wireframe, surface, and solid models in terms of representation, advantages, and engineering applications.
- Explain Bézier, B-spline, and NURBS curves, including control, continuity, and editing behavior.
- Describe the entities and validity requirements of a boundary-representation solid.
- Explain how sweeping, lofting, and revolution are used to construct mechanical components.
- Discuss the role of tolerances, healing, and validation in CAD data exchange.
Analytical / Application Questions- A designer must model a housing with an exact circular inlet and smoothly varying outer sections. Which curve and surface representations would you select, and why?
- A Boolean subtraction fails after importing a model because several faces nearly coincide and small sliver edges are present. Diagnose the likely causes and propose a repair workflow.
- A part looks smooth when shaded but produces an abrupt highlight and inconsistent machining results. Explain how geometric continuity, tessellation, and topology could contribute, and identify appropriate checks.
Multiple Choice Questions with AnswersQuestion 1Which model type directly represents a bounded three-dimensional volume? A. Wireframe model B. Solid model C. Control polygon D. Open curve network Correct Answer: B. Solid model Question 2For a Bézier curve, which points are guaranteed to be interpolated? A. All interior control points B. Only the midpoint control point C. The first and last control points D. No control points Correct Answer: C. The first and last control points Question 3What is the principal advantage of B-spline local control? A. Every control-point change affects the entire curve B. A local control-point change generally affects only part of the curve C. It removes the need for knots D. It prevents all curvature changes Correct Answer: B. A local control-point change generally affects only part of the curve Question 4What additional quantities distinguish NURBS from ordinary non-rational B-splines? A. Weights B. Vertices only C. Boolean trees D. Tessellation triangles Correct Answer: A. Weights Question 5Which representation records faces, edges, vertices, and their connectivity? A. CSG B. B-rep C. Wireframe-only layout D. Raster image Correct Answer: B. B-rep Question 6Which Boolean operation retains the material common to solids A and B? A. Union B. Difference C. Intersection D. Offset Correct Answer: C. Intersection Question 7For a simple connected closed polyhedron without handles, Euler's relation is: A. V + E + F = 2 B. V − E + F = 2 C. V − E − F = 2 D. V × E × F = 2 Correct Answer: B. V − E + F = 2 Question 8What does increasing a positive NURBS control-point weight generally do? A. Repels the curve from that control point B. Pulls the curve toward that control point C. Deletes the control point D. Changes the model units Correct Answer: B. Pulls the curve toward that control point Question 9Which operation moves a profile along a path to create geometry? A. Sweeping B. Tessellation C. Healing D. Trimming only Correct Answer: A. Sweeping Question 10Why is a closed surface shell not automatically a valid solid? A. A solid cannot contain faces B. The shell may have gaps, inconsistent orientations, or non-manifold topology C. Closed shells contain no geometry D. Surface models cannot use curves Correct Answer: B. The shell may have gaps, inconsistent orientations, or non-manifold topology
|