CAD and CAM

Chapter 6
Surface Modeling, Assemblies and Digital Prototyping

Bachelors Program in Machine Technology
CAD and CAM   •   Bachelor

Surface Modeling, Assemblies and Digital Prototyping

Introduction

Computer-aided design (CAD) has developed from two-dimensional drafting into a product-definition environment in which shape, function, material, manufacturing intent and product behaviour are represented digitally. Surface modeling is essential when the product contains free-form geometry, aerodynamic transitions, styled panels or ergonomic forms that cannot be represented efficiently by simple prismatic solids. Assembly modeling extends this representation from individual parts to complete products. Digital prototyping then uses the assembled model to evaluate fit, motion, mass properties, manufacturability and design alternatives before physical prototypes are built.

This chapter focuses on the integrated use of surface modeling, assembly constraints and digital evaluation. The discussion is applicable to mechanical CAD systems such as SolidWorks, Creo, CATIA, Siemens NX and Fusion-type platforms, although commands and interface names vary. The underlying principles are transferable across systems.

Learning Objectives

By the end of this chapter, a student should be able to:

  1. Distinguish wireframe, surface and solid modeling and select an appropriate modeling strategy.
  2. Explain the role of Bézier, B-spline and NURBS representations in complex-surface design.
  3. Construct and evaluate surfaces using curves, boundaries, lofts, sweeps, trims, joins and thickening operations.
  4. Create multicomponent assemblies using appropriate mates or constraints.
  5. Explain degrees of freedom, configurations, flexible subassemblies and design intent.
  6. Detect geometric interference and perform basic kinematic checks.
  7. Calculate and interpret mass properties and center-of-mass information.
  8. Apply design-for-assembly principles to improve product structure and assembly efficiency.
  9. Assess the strengths and limitations of a digital prototype.

1. Modeling Representations and Design Intent

A CAD model is not merely a visual picture. It is a structured description of geometry and relationships. A robust model records how the design was created so that dimensions, features and components can be changed without destroying downstream geometry.

1.1 Wireframe, surface and solid models

A wireframe model consists primarily of points, lines, arcs and curves. It is useful for layout and early conceptual design, but it does not define enclosed volume or material boundaries. A surface model represents a two-dimensional skin embedded in three-dimensional space. Surfaces may be open, meaning that they have edges, or closed, meaning that they form a complete envelope. A solid model represents a closed volume and supports operations such as mass-property calculation, Boolean subtraction and sectioning.

Surface modeling is preferred when:

  • the external form is more important than internal volume;
  • the geometry contains smooth, sculpted transitions;
  • styling or aerodynamic continuity must be controlled;
  • sheet-like parts have variable curvature; or
  • a solid feature history would be unnecessarily restrictive.

A closed set of properly joined surfaces can usually be converted into a solid. However, a visually closed shape may still contain gaps, inconsistent edge tolerances or self-intersections. Therefore, surface healing and validation are important steps before solid conversion.

1.2 Parametric and direct modeling

In parametric modeling, geometry is controlled by dimensions, constraints, feature order and parent–child relationships. This supports design intent: for example, a hole may remain centered on a face when the face changes size. Direct modeling manipulates faces and edges with fewer explicit historical dependencies. It can be faster for concept modification, imported geometry repair and late-stage adjustment, but design intent may be less explicit.

A sound professional workflow combines both approaches. Parametric features are valuable for engineered dimensions and repeatable design rules; direct edits are valuable for imported or highly sculpted geometry.

2. Mathematical Foundations of Complex Surfaces

2.1 Bézier curves and continuity

A Bézier curve is defined by control points. A degree-n Bézier curve is

C(t) = ∑ᵢ₌₀ⁿ Bᵢ,ₙ(t)Pᵢ, 0 ≤ t ≤ 1

where Pᵢ are control points and Bᵢ,ₙ(t) are Bernstein basis functions:

Bᵢ,ₙ(t) = (n choose i)(1 − t)ⁿ⁻ⁱtⁱ

The parameter t is dimensionless. A Bézier curve generally passes through its first and last control points, while intermediate control points influence its shape without necessarily lying on the curve. High-degree Bézier curves can become difficult to control; consequently, practical CAD systems normally use several lower-degree segments.

Continuity describes how adjacent curves or surfaces meet:

  • C⁰ or positional continuity: the entities share a position.
  • C¹ or tangent continuity: they share position and tangent direction.
  • C² or curvature continuity: curvature also changes smoothly.
  • G¹ and G² describe geometric continuity, allowing parameterization differences while preserving tangent or curvature smoothness.

For visible product surfaces, G¹ continuity is often the minimum acceptable condition, while G² continuity is preferred where reflections and highlights must flow smoothly.

2.2 B-spline and NURBS surfaces

A tensor-product B-spline surface is represented by

S(u,v) = ∑ᵢ∑ⱼ Nᵢ,p(u)Nⱼ,q(v)Pᵢⱼ

where Pᵢⱼ are control vertices, Nᵢ,p and Nⱼ,q are B-spline basis functions of degrees p and q, and u and v are surface parameters. The control net influences the surface locally rather than globally, making B-splines easier to edit than a single high-degree Bézier surface.

Non-uniform rational B-splines (NURBS) add weights wᵢⱼ:

S(u,v) = [∑ᵢ∑ⱼ Nᵢ,p(u)Nⱼ,q(v)wᵢⱼPᵢⱼ] / [∑ᵢ∑ⱼ Nᵢ,p(u)Nⱼ,q(v)wᵢⱼ]

Weights permit exact representation of conic sections such as circles and ellipses. In the equation, Pᵢⱼ have units of length, while basis functions and weights are dimensionless. NURBS are widely used in industrial CAD because they combine free-form flexibility with exact analytic geometry.

2.3 Surface construction operations

Common operations include:

  • Extruded surface: extends a planar curve along a direction.
  • Revolved surface: rotates a profile about an axis.
  • Swept surface: moves a section along a path, often with guide curves.
  • Lofted surface: interpolates or approximates several section profiles.
  • Boundary surface: spans selected edges or curves, allowing directional control.
  • Filled surface: closes a bounded region.
  • Trim and untrim: remove or restore portions of a surface.
  • Knit or sew: join adjacent surfaces within a specified tolerance.
  • Offset surface: creates a surface at a specified normal distance.
  • Thicken: converts a surface into a shell or solid of specified thickness.

A loft should not be treated as a purely automatic operation. Section order, connector alignment, guide-curve quality and parameterization determine whether the result twists, develops wrinkles or fails to maintain intended continuity.

2.4 Surface-quality evaluation

Visual inspection alone is insufficient. Useful analysis tools include zebra stripes, curvature combs, isophotes, draft analysis, reflection analysis and section plots. Zebra stripes reveal discontinuities because reflected bands break or change direction at poor joins. Curvature plots show rapid changes that may create manufacturing or appearance problems.

Surface quality must also be evaluated against manufacturing requirements. A mathematically smooth surface may be unsuitable if it has insufficient draft for molding, excessive curvature for sheet forming or inaccessible regions for machining.

Surface modeling workflow Design curvesprofiles and guides Surface patchesloft, sweep, boundary Heal and knitcheck gaps and continuity Solid or release modelvalidate and document Controlled surface-modeling process At every stage: preserve design intent, inspect continuity, and verify manufacturing feasibility.
Surface modeling workflow from curves to validated solid
Figure: Surface modeling workflow from curves to validated solid

Figure: A controlled workflow for developing and validating complex surfaces.

3. Assembly Modeling

An assembly is a collection of components positioned through geometric, dimensional or functional relationships. Components may be native parts, imported files, standard hardware or subassemblies.

3.1 Degrees of freedom

A free rigid body in three-dimensional space has six degrees of freedom (DOF): translation along x, y and z, and rotation about x, y and z. Assembly mates remove selected freedoms. A coincident mate may remove one translational freedom, while a concentric mate commonly removes two translational freedoms and two rotational freedoms, depending on the geometry and system implementation.

The objective is not to add as many mates as possible. The objective is to remove exactly the freedoms that should not exist while preserving intended motion. Over-constraining produces conflicts and makes the assembly difficult to edit. Under-constraining permits unintended motion.

Common mates include coincident, concentric, parallel, perpendicular, tangent, distance, angle, width, gear, rack-and-pinion and path mates. A revolute joint, for example, should retain one rotational DOF and eliminate the remaining five rigid-body freedoms.

3.2 Bottom-up and top-down assembly methods

In bottom-up design, parts are modeled independently and inserted into an assembly. This approach supports reuse, purchasing and distributed work. In top-down design, major layouts, skeletons or master surfaces are created first and component geometry is derived from them. Top-down modeling improves coordination of complex interfaces but can create strong dependencies that complicate reuse.

A practical product-development process often combines the two: a top-level layout controls interfaces and motion, while standard and purchased components remain independent bottom-up models.

3.3 Configurations and product variants

Configurations represent controlled variants within a part or assembly. A configuration may change dimensions, suppress features, replace components or alter mates. They are useful for product families, left- and right-hand versions, service positions and manufacturing alternatives.

Configurations must be governed carefully. A variant matrix should identify which components, dimensions, materials and constraints change. Uncontrolled configuration proliferation increases file-management risk and makes verification difficult.

4. Interference, Clearance and Kinematic Validation

Interference detection identifies overlapping volumes that should be separate. It is especially valuable for fasteners, housings, seals, cables, moving links and imported components. Clearance analysis goes further by checking whether a minimum gap exists between components.

A negative clearance or volume overlap is not always an error: a press fit, interference fit or gasket compression may be intentional. Consequently, automated results require engineering interpretation and documented acceptance criteria.

Kinematic checks evaluate whether an assembly moves as intended. A useful sequence is:

  1. Fix or ground the appropriate reference component.
  2. Apply joints or mates representing actual motion.
  3. Define limits, drives or input motion.
  4. Check travel, collision and end positions.
  5. Inspect velocity, acceleration or force results when the software supports them.

A kinematic simulation is only as credible as its assumptions. Flexible deformation, friction, backlash, compliance and contact conditions may be omitted in a basic rigid-body study. Results should therefore be described as design verification, not automatically as a complete physical prediction.

5. Mass Properties and Engineering Interpretation

For a homogeneous body of density ρ and volume V, mass is

m = ρV

where m is mass in kilograms when ρ is in kg/m³ and V is in m³. For a non-uniform body, the general expression is

m = ∫ᵥ ρ dV

The center of mass is

r̄ = (1/m)∫ᵥ rρ dV

For discrete components,

r̄ = (∑ᵢ mᵢrᵢ)/(∑ᵢ mᵢ)

where mᵢ is the mass of component i and rᵢ is its position vector measured from a common reference origin. The formula assumes that component masses and positions are known consistently in the same unit system.

CAD systems also calculate moments and products of inertia. About a specified axis, the mass moment of inertia is

I = ∫ r² dm

where r is the perpendicular distance from the mass element dm to the axis. Inertia depends on both mass distribution and reference axis; it is not a material constant alone.

Worked example: assembly center of mass

An assembly contains two components. Component A has mass 4 kg and its x-coordinate is 0.10 m. Component B has mass 6 kg and its x-coordinate is 0.50 m. The center-of-mass coordinate is

x̄ = (4 × 0.10 + 6 × 0.50)/(4 + 6) = 3.4/10 = 0.34 m

Thus, the assembly center of mass lies 0.34 m from the chosen origin along x. The same calculation must be performed independently for y and z. This result is useful for balancing, mounting, lifting and actuator sizing, but it does not by itself prove stability or structural adequacy.

6. Design for Assembly and Digital Prototyping

Design for assembly (DFA) seeks to reduce assembly time, error probability, tooling complexity and total cost while preserving product function. Important principles include:

  • reduce the number of separate parts;
  • prefer parts that cannot be assembled incorrectly;
  • provide clear orientation and insertion directions;
  • avoid unnecessary reorientation of the product;
  • provide access for tools and inspection;
  • use standard fasteners and common hardware;
  • include lead-ins, chamfers and alignment features;
  • avoid hidden fasteners unless they provide a clear benefit;
  • design for ergonomic handling and safe force application; and
  • separate serviceable modules from permanently joined components.

A digital prototype should evaluate more than appearance. It should answer whether components fit, move, can be assembled, can be manufactured and can be serviced. Section views, exploded views, assembly animations, tolerance studies and virtual human-access checks can support these questions.

Tolerance analysis is essential because nominal CAD geometry does not represent manufacturing variation. In a simple worst-case linear stack, the maximum variation is the sum of absolute component tolerances:

Ttotal = ∑ᵢ |Tᵢ|

where Tᵢ is the signed tolerance contribution of dimension i. This method assumes independent dimensional limits and evaluates the extreme combination. Statistical methods may predict a lower likely variation, but they require justified distributions, process capability data and an appropriate risk policy; they must not replace worst-case analysis where safety or function demands it.

7. Illustrative Case: Digital Prototype of a Compact Gearbox

Background

The following is an illustrative case. A design team is developing a compact gearbox for a small automated handling machine. The product includes a cast housing, two shafts, gears, bearings, a cover, seals and fasteners. The housing has curved external surfaces for weight reduction and clearance around the gear train.

Problem

The first CAD assembly shows acceptable external appearance, but the cover intersects a bearing shoulder, one shaft has no defined axial location, and the center of mass is displaced from the mounting plane. The team must correct the design before prototype tooling is released.

Analysis

The housing exterior is rebuilt using boundary surfaces controlled by section curves and guide curves. Zebra analysis reveals a tangent discontinuity near the motor flange. The surface is adjusted to achieve smoother curvature, then knitted and thickened with a nominal wall thickness.

The assembly is reorganized into functional subassemblies: housing, input shaft, output shaft and cover. The housing is grounded. Concentric and coincident mates locate the bearings, while a width mate centers the cover. The shaft constraints preserve rotation but remove unwanted axial translation. A motion study rotates the input shaft and verifies that the gears maintain engagement throughout the specified angle.

Interference detection identifies the cover–bearing collision. A section view confirms that the problem is not a display artifact. The cover is revised with a local relief and the seal groove is moved to maintain the required sealing land. Mass properties are recalculated using the assigned material densities. The new center of mass is moved closer to the mounting plane by reducing an unnecessary external boss and relocating two fasteners.

Outcome

The revised digital prototype passes the nominal interference check, retains the required shaft rotation, and provides tool access for cover removal. The team also creates a configuration for the service position and an exploded assembly drawing. A physical prototype is still required to validate sealing, vibration, tolerance accumulation and thermal behaviour, but the digital model has removed several predictable design errors.

Learning points

  1. Surface quality must be judged by continuity and manufacturing requirements, not appearance alone.
  2. Assembly mates should represent functional relationships rather than merely force components into position.
  3. Interference results require engineering interpretation.
  4. Mass properties are useful only when material assignments and reference systems are correct.
  5. Digital prototyping reduces risk but does not eliminate physical validation.

8. Challenges, Limitations and Professional Practice

Imported geometry may contain gaps, duplicate faces, invalid parameterization or incompatible tolerances. Healing tools can repair some defects, but excessive automatic repair may alter the intended shape. Maintain a clean master model and record significant repair operations.

Large assemblies create performance problems. Suppression states, lightweight representations, simplified hardware and level-of-detail controls improve responsiveness. However, simplification must not remove geometry relevant to clearance, mass or motion checks.

Version control is also critical. A released assembly must identify component revisions, material assumptions, units, coordinate systems and analysis status. A screenshot is not a substitute for controlled CAD data and a documented verification record.

Ethically, engineers must not report a digital test as physical proof, conceal failed interference checks or use incorrect material data to achieve a desired mass result. Product data may also contain proprietary geometry and personal or customer information; access control, revision discipline and secure data exchange are part of professional CAD practice.

9. Contemporary Developments

Cloud collaboration, model-based definition, generative design, reality capture and additive manufacturing are extending digital prototyping. Artificial intelligence can assist feature recognition, topology suggestions, drawing automation and clash prioritization. These tools remain advisory: engineers must verify boundary conditions, manufacturability, material assumptions and design intent.

Digital threads increasingly connect CAD models with simulation, product lifecycle management, manufacturing planning and service records. The value of this integration depends on semantic consistency. A part name, material, revision and coordinate system must mean the same thing across connected systems.

Best-Practice Workflow

  1. Establish units, datums, coordinate systems and naming conventions.
  2. Define functional requirements and surface-quality criteria.
  3. Build primary curves and reference geometry before detailed patches.
  4. Inspect continuity, gaps, curvature and manufacturability.
  5. Convert or knit surfaces into validated solids where appropriate.
  6. Structure the assembly around functional subassemblies and interfaces.
  7. Apply the minimum complete set of mates.
  8. Create meaningful configurations and document their differences.
  9. Run interference, clearance, motion and mass-property checks.
  10. Evaluate assembly access, tolerance implications and serviceability.
  11. Record assumptions, results, unresolved risks and revision status.
  12. Confirm critical results with physical tests or higher-fidelity analysis.

Chapter Summary

Surface modeling represents complex geometry through curves and parametric patches, with Bézier, B-spline and NURBS methods providing controllable mathematical descriptions. Continuity, curvature and surface validation are essential to both appearance and manufacture. Assemblies organize components through mates that remove unwanted degrees of freedom while preserving intended motion. Configurations support product variants, but they require disciplined management.

Interference and kinematic checks reveal many errors before fabrication, while mass-property calculations support balancing, mounting and mechanism design. Design for assembly reduces part count, handling difficulty and error risk. A digital prototype is a powerful decision-support model, but its conclusions depend on accurate geometry, materials, constraints and assumptions. Professional practice therefore combines CAD automation with engineering judgment, documentation and physical validation.

Key Terms

Surface model: A geometric skin representing faces and boundaries without necessarily enclosing a volume.

Solid model: A CAD representation defining a closed three-dimensional volume.

Bézier curve: A polynomial curve controlled by a set of control points and Bernstein basis functions.

B-spline: A piecewise polynomial curve or surface with local control through basis functions.

NURBS: Non-uniform rational B-spline representation capable of exact conic and free-form geometry.

Control point: A point that influences the shape of a parametric curve or surface.

G¹ continuity: Geometric tangent continuity between adjacent entities.

G² continuity: Geometric curvature continuity between adjacent entities.

Knit: The operation of joining adjacent surface faces.

Thicken: The conversion of a surface into a shell or solid with specified thickness.

Mate: An assembly relationship that controls relative position or motion.

Degree of freedom: An independent translational or rotational movement available to a body.

Configuration: A controlled variation of a part or assembly model.

Interference: Unintended overlap between component volumes.

Clearance: The separation or gap between components.

Kinematic analysis: Evaluation of motion resulting from defined joints and inputs.

Mass property: A quantity such as mass, center of mass or moment of inertia derived from geometry and material.

Design for assembly: A design approach that improves ease, speed and reliability of product assembly.

Digital prototype: A validated virtual representation used to evaluate a product before physical manufacture.

Model-based definition: A product-definition method in which the three-dimensional model carries authoritative design information.

Review Questions

Short Answer Questions

  1. What is the difference between a surface model and a solid model?
  2. Why is G² continuity often preferred for visible product surfaces?
  3. What is the purpose of an assembly mate?
  4. Define interference detection and clearance analysis.
  5. State two applications of center-of-mass information.

Long Answer Questions

  1. Explain Bézier, B-spline and NURBS representations and compare their usefulness in industrial CAD.
  2. Describe a robust workflow for creating, healing and validating a complex surface.
  3. Explain how degrees of freedom should guide the selection of assembly mates.
  4. Discuss the role of configurations in product-family and service-position design.
  5. Explain the principles of design for assembly and their relationship to digital prototyping.

Analytical / Application Questions

  1. An assembly contains components of 2 kg, 3 kg and 5 kg located at x = 0.1 m, 0.3 m and 0.8 m respectively. Calculate the x-coordinate of the center of mass and explain one design implication.
  2. A rotating linkage passes a fixed housing in the nominal CAD model but has only 0.2 mm clearance. Identify the additional digital and physical checks required before release.
  3. A surface loft twists between two sections and produces broken zebra stripes. Diagnose likely causes and propose a correction sequence.

Multiple Choice Questions with Answers

Question 1

Which representation is most suitable for exact circles together with free-form surface control?

A. Wireframe model

B. NURBS model

C. Raster image

D. Polygon count table

Correct Answer: B. NURBS model

Question 2

What does G¹ continuity primarily indicate between two surface patches?

A. Equal material density

B. Shared curvature magnitude only

C. Tangent-direction continuity

D. Identical feature history

Correct Answer: C. Tangent-direction continuity

Question 3

A revolute joint in an ideal rigid assembly normally preserves which motion?

A. One rotation

B. Three translations

C. Two translations and two rotations

D. No motion

Correct Answer: A. One rotation

Question 4

Two components have masses 4 kg and 6 kg at x = 0.10 m and x = 0.50 m. What is their x-coordinate of center of mass?

A. 0.24 m

B. 0.30 m

C. 0.34 m

D. 0.40 m

Correct Answer: C. 0.34 m

Question 5

Which CAD operation joins adjacent surface faces into a connected surface set?

A. Knit

B. Explode

C. Pattern

D. Draft

Correct Answer: A. Knit

Question 6

What is the principal purpose of interference detection?

A. To assign colors to components

B. To identify overlapping component volumes

C. To calculate drawing scale

D. To increase mesh density automatically

Correct Answer: B. To identify overlapping component volumes

Question 7

Which practice best represents design for assembly?

A. Increasing the number of unique fasteners

B. Hiding all assembly interfaces

C. Providing clear orientation and tool access

D. Removing all alignment features

Correct Answer: C. Providing clear orientation and tool access

Question 8

For a homogeneous component, mass is calculated from which relationship?

A. m = ρV

B. m = ρ/V

C. m = V/ρ

D. m = ρ + V

Correct Answer: A. m = ρV

Question 9

Why can a digital kinematic simulation fail to predict actual product behaviour?

A. CAD systems cannot display motion

B. Rigid-body assumptions may omit friction and compliance

C. Mates never control relative motion

D. Mass properties are unrelated to geometry

Correct Answer: B. Rigid-body assumptions may omit friction and compliance

Question 10

What is a major risk of excessive assembly mates?

A. The model becomes under-constrained in every case

B. The assembly may become over-constrained and difficult to edit

C. Surface curvature automatically improves

D. Material density becomes dimensionless

Correct Answer: B. The assembly may become over-constrained and difficult to edit

CAD and CAM
Chapter 6 of 15