Comprehensive Notes on Computer-Aided Design, Geometric Modeling, and Orthographic Projections

Engineering Design Process & Quality Systems

  • Essence of Engineering:

    • Engineering is the utilization of the resources and laws of nature for the benefit of humanity.

    • Professional engineering focuses on obtaining practical solutions to problems by combining three fundamental pillars:

    • Scientific knowledge and physical principles.

    • Empirical knowledge gained through practice and observation.

    • Professional engineering judgement.

    • Physician vs. Engineer Analogy: Both the engineer and the physician utilize scientific knowledge supplemented by empirical findings and professional judgement to solve immediate, pressing problems. In contrast, the scientist's primary concern is uncovering basic, fundamental knowledge.

    • Historical example: James Watt (Engineer and Inventor, born January 19, 1736; died August 25, 1819) developed practical steam engine enhancements, while Dr. Christiaan Neethling Barnard (Cardiac Surgeon, born November 8, 1922; died September 2, 2001) performed the world's first human-to-human heart transplant in 1967.

  • Nature of Design Solutions:

    • Mechanical design is characterized by an almost endless number of workable solutions.

    • No single solution can be declared universally unique or "correct"; however, superior solutions exhibit more sophisticated understanding of underlying technology, greater cost-effectiveness, higher manufacturing efficiency, superior reliability, and aesthetic appeal.

    • Solutions evolve continuously as knowledge, materials, and computational capabilities advance over time.

  • The Five-Step Design Process:

    • Design is an innovative, highly iterative process oscillating between the complete system and its individual components:

    1. Problem Identification: Recognize a pressing need and establish precise goals. In real-world engineering, properly formulating the exact problem statement is often the most difficult task.

    2. Synthesize Possible Solutions: Creative ideation phase aimed at generating a wide variety of conceptual options without premature filtering. Divergent thinking is critical.

    3. Analysis: Apply engineering sciences, physical laws, mathematical modeling, and predictive simulations (stress, kinematics, dynamics, thermodynamics) to optimize ideas and predict physical performance.

    4. Evaluate: Compare performance predictions directly against initial design goals and constraints. Conduct trade-off studies to select the optimal solution.

    5. Present: Formally communicate the final design to stakeholders, manufacturing facilities, suppliers, and regulatory bodies via detailed technical documentation, working drawings, and manufacturing files.

  • Quality Management Standards (ISO 9001 & Derivatives):

    • ISO 9001: The international standard for Quality Management Systems (QMS) published by the International Organization for Standardization. It does not define product-specific technical dimensions; rather, it dictates how an organization controls and audits its processes to reliably and consistently meet customer and regulatory requirements.

    • Clause 8.3 (Design & Development): Specifically governs the engineering design process, establishing strict procedural rigor for design inputs, controls, verification, validation, and design outputs.

    • Industry-Specific Extensions:

    • AS9100: Quality management system standard dedicated to aviation, space, and defense organizations.

    • ISO/TS 16949: Stringent standard for automotive supply chain manufacturing and design.

    • ISO 13485: Regulatory quality standard for medical device design and manufacturing.

  • Requirements, Specifications, and Interfaces (ISO 9001 §8.3):

    • Requirements (Design Inputs):

    • Plain-language statements defining what the product must accomplish functionally, commercially, or environmentally.

    • Established by stakeholders (clients, consumers, safety boards, regulatory codes).

    • Intentionally qualitative or non-numeric at the initial stage (e.g., "the product must be portable," "must survive a drop," "must remain affordable under 5050").

    • Specifications (Design Outputs):

    • Transformation of qualitative requirements into unambiguous, measurable, and testable engineering targets with clear values, units, and validation procedures.

    • Examples: "Portable" becomes mass <2 kg< 2\,\text{kg} and total volume within a 30×20×10 cm30 \times 20 \times 10\,\text{cm} envelope; "Survives a drop" becomes zero functional impairment after a 1.0 m1.0\,\text{m} free fall onto flat concrete per standard test protocols.

    • Interfaces:

    • Physical, electrical, thermal, software, or human boundaries where a component meets another mating part, system, user, or operating environment.

    • Mechanical interfaces require mating dimensions, fits, tolerances, and surface finishes; electrical interfaces require defined voltages, currents, and connectors; user interfaces require ergonomic reach, operational actuation force, and visibility limits.

    • The majority of mechanical and structural failures occur at interfaces rather than within isolated components, typically caused by unverified assumptions made across organizational or system boundaries.

  • Fundamental Design Considerations:

    • Geometry: Geometric layout is constrained by available space envelopes, standard packaging envelopes, off-the-shelf components, and functional clearance.

    • Manufacturability & Producibility: Design geometry specifically tailored to the intended fabrication process (casting, injection molding, CNC machining, stamping, sheet metal bending, additive manufacturing). Use standard, commercial off-the-shelf (COTS) parts (screws, bearings, pins, bushings) to prevent costly custom fabrication.

    • Cost: Custom tooling and complex machining dramatically increase expenditure. Cost scales exponentially as tolerances tighten (turning is cheaper than grinding, which is cheaper than precision honing). Using standard stock raw material sizes minimizes waste.

    • Reliability: The mathematical probability that a component or assembly performs its intended engineering function under specified operating conditions for a stated operating life. System reliability compounds across components according to probability products (Rtotal=∏RiR_{\text{total}} = \prod R_i); hence, an assembly of individually reliable parts can experience high failure rates if complexity is excessive. Reliability is designed into products using safety factors, redundancy, and empirical qualification testing.

    • Safety: Engineers must anticipate hazardous operational modes across the entire life cycle (assembly, operation, maintenance, decommissioning). Designs should prioritize "fail-safe" behavior, ensuring that structural or functional failure defaults to a benign state that protects human life.

    • Historical failure case studies:

      • Tacoma Narrows Bridge (1940): Aerodynamic flutter under moderate winds caused violent twisting oscillations and catastrophic bridge collapse due to lack of dynamic aerodynamic analysis.

      • Alaska Airlines Flight 1282 (Boeing 737 MAX 9, January 5, 2024): An uncontrolled explosive cabin decompression caused by a mid-section door plug blowout at an altitude of 4,876 m4{,}876\,\text{m} (16,000 ft16{,}000\,\text{ft}) over Oregon, highlighting assembly verification and hardware retention failures.

    • Ecological Impact: Minimize consumption of non-recyclable energy, prioritize materials that can be economically recycled at end-of-life, and avoid hazardous substances that produce environmental and thermal pollution.

  • Guiding Design Philosophies:

    • "Kill your darlings" (William Faulkner / Sir Arthur Quiller-Couch): Do not hesitate to discard favored concepts if objective analysis shows they are unnecessarily complex or compromised.

    • "Simplicity is a great virtue, but it requires hard work to achieve it and education to appreciate it. And to make matters worse: complexity sells better." (Edsger W. Dijkstra).

    • "The best part is no part. The best process is no process. It weighs nothing. Costs nothing. Can't go wrong." (Elon Musk).

The Digital Thread & Computer-Integrated Manufacturing (CIM)


CIM Lifecycle Wheel
  • Computer-Integrated Manufacturing (CIM):

    • The comprehensive integration of computer applications across all manufacturing and business activities required to convert customer needs into finished products.

    • Spans marketing, product conceptualization, CAD engineering, CAE simulation, Computer-Aided Process Planning (CAPP), CAM machining, quality assurance (CAQ/TQM), shop-floor control, distribution, and post-sale servicing.

    • Objective: Simultaneously achieve superior product quality, reduced manufacturing costs, and compressed development lead times.

    • Product Lifecycle Management (PLM): Serves as the central digital data backbone, maintaining product data integrity, revision history, bill of materials (BOM), and digital threads across global enterprises.

  • The Digital Thread:

    • A seamless, unbroken digital data stream originating in 3D CAD that directly drives engineering analysis (CAE) and automated machine execution (CAM) without manual translation or human re-drafting.

    • Downstream modifications automatically propagate: if a feature's dimension changes in CAD, the CAE structural simulation re-meshes and the CAM toolpaths recalculate without manual intervention.

  • Core Digital Engineering Pillars (CAD, CAE, CAM):

    • Computer-Aided Design (CAD): The use of computer software to generate, modify, analyze, and document precise 2D and 3D digital geometries.

    • Computer-Aided Engineering (CAE): Software algorithms used to evaluate CAD geometry against physical phenomena before physical prototyping:

    • Finite Element Analysis (FEA) for stress, strain, deflection, and modal resonance.

    • Computational Fluid Dynamics (CFD) for internal and external flow profiles and drag.

    • Multi-body Kinematics and dynamic mechanism simulation.

    • Thermal dissipation, electronic circuit modeling, and injection molding mold-flow analysis.

    • Computer-Aided Manufacturing (CAM): Direct translation of 3D CAD solid models into machine-executable Numerical Control (NC) and Computer Numerical Control (CNC) code (e.g., G-code) for multi-axis CNC mills, lathes, laser cutters, waterjets, and 3D printers.


Design and Manufacturing Process Cycle
  • The Integrated Design and Manufacturing Process Cycle:

    • The Design Process:

    • Synthesis Phase: Encompasses design needs identification, specification drafting, feasibility studies, and conceptual design. Synthesis relies primarily on human creativity; parametric CAD allows designers to rapidly explore variations in constraints and dimensions.

    • Analysis Phase: Utilizes CAD geometry directly within CAE tools for stress calculations, interference checking, and thermal/flow simulations, leading into design optimization and evaluation.

    • Design Documentation: Generates definitive, fully dimensioned and toleranced production drawings conforming to national and international drafting standards.

    • The Manufacturing Process:

    • Process Planning (CAPP): Selects necessary fabrication operations, machines, feed rates, spindle speeds, operation order, cutting tools, jigs, and custom fixtures.

    • Production Planning & Procurement: Procures raw materials, schedules shop floor cells, and programs NC/CNC machining centers.

    • Production, Inspection, & Delivery: Parts are cut, assembled, subjected to automated quality control (coordinate measuring machines, vision inspection), packaged, and shipped.

CAD Concepts, Sketching, and Assembly Modeling

  • Historical Evolution of CAD:

    • 1960s–1970s: Transition from manual drafting boards to 2D computer drafting systems. Hand-drawn ink lines were replaced by digital line vectors, but models lacked volumetric awareness.

    • 1980s: Introduction of 3D wireframe and surface modeling systems, allowing complex visualization but lacking internal volume or mass properties.

    • Late 1980s–1990s: Emergence of feature-based parametric solid modeling (pioneered by PTC Pro/ENGINEER in 1988). Models became true manifold solids that retained chronological modeling operations.

    • 2000s–2020s: Collaborative, cloud-based modeling platforms allowing real-time multi-user editing from distributed locations.

    • Present Day: AI-assisted CAD, including generative design, automated drawing dimensioning copilots, and text-to-CAD prompt parsing.

  • Design Intent:

    • The core philosophy that a digital model must capture why a geometry is structured a certain way, rather than merely recording static coordinates.

    • Formalizes geometric rules that must hold true when dimensions are updated (e.g., maintaining a through-hole centered precisely on a mounting lug, regardless of plate width adjustments).


Dimensions and Geometric Constraints
  • The 2D Sketch Foundations:

    • Solid features originate as 2D closed planar sketches situated on primary coordinate planes (XYXY, YZYZ, ZXZX) or planar faces of existing geometry.

    • Closed Profile Rule: To be extruded, revolved, or swept into a solid, sketch profiles must form continuous, closed loops without self-intersections or gaps.

    • Fully Defined Sketches:

    • Every sketch entity (vertex, line, arc, center) must have its position, orientation, and size explicitly fixed relative to the coordinate origin.

    • Underdefined entities (indicated by color coding) can deform, twist, or snap unexpectedly when upstream dimensions are edited.

    • Geometric Constraints: Mathematical rules enforcing relationships between geometry:

    • Horizontal / Vertical: Aligns lines parallel to primary sketch axes.

    • Parallel / Perpendicular: Locks angular relationships to 0∘0^\circ or 90∘90^\circ.

    • Coincident: Glues points together or locks points onto lines/curves.

    • Concentric: Forces circles and arcs to share an identical center point.

    • Tangent: Ensures smooth continuous transitions between curves and lines (C1C^1 continuity).

    • Symmetric: Forces entities to maintain identical mirrored spacing across a centerline.

    • Dimensional Constraints: Numerical values controlling sizes and positions (linear distances, diameters, radii, included angles).

  • From 2D Sketch to 3D Solid:

    • Four fundamental primary generative operations generate solid bodies:

    • Extrude: Projects a closed 2D planar profile linearly along a normal vector by a specified depth.

    • Revolve: Sweeps a 2D profile about a central coplanar axis through an angle up to 360∘360^\circ.

    • Sweep: Guides a 2D profile along an arbitrary 2D or 3D trajectory path curve.

    • Loft: Blends smoothly between two or more distinct cross-sectional profiles on offset planes, often guided by rail curves.


Applied Dress-Up Features
  • Applied "Dress-Up" Features:

    • Applied directly to existing solid geometry without requiring separate 2D sketches:

    • Fillet: Replaces sharp internal or external edges with smooth tangential cylindrical or circular blends.

    • Chamfer: Bevels sharp edges at a designated angle and distance.

    • Shell: Hollowing out a solid body, removing chosen faces and leaving a uniform, defined wall thickness.

    • Hole: Creates standardized clearance, tapped, counterbored, or countersunk cylindrical holes using native parametric parameters.

    • Mirror / Pattern: Duplicates selected features across a mirror plane or repeats them in linear, circular, or curve-driven arrays.

  • The Feature Tree & Modeling History:

    • Solid modelers record features in a chronological, ordered feature tree (the modeling "recipe").

    • Parent-Child Dependencies: Downstream features depend directly on geometry established by upstream features (e.g., an edge fillet is a child of the extrusion that created the edge).

    • Editing an early parent feature causes all downstream children to re-evaluate and regenerate. Improperly managed dependencies can cause downstream features to lose reference geometry and fail.

  • Parametric vs. Direct Modeling:

    • Parametric (History-Based) Modeling: Retains full history tree and constraint logic. Ideal for precision production parts, parametric part families, and structured design updates. Used in software like CATIA, PTC Creo, and SolidWorks.

    • Direct Modeling: Allows geometry to be directly pushed, pulled, and rotated without maintaining a history tree. Rapid, robust for imported, neutral STEP/IGES geometry, and ideal for early-stage industrial styling. Autodesk Fusion offers a hybrid environment.

  • Assemblies, Mates, and Kinematic Degrees of Freedom:

    • Degrees of Freedom (DOF): An unconstrained rigid body in 3D space possesses 6 independent degrees of freedom: 3 translational (Tx,Ty,TzT_x, T_y, T_z) and 3 rotational (Rx,Ry,RzR_x, R_y, R_z).

    • Assembly Structure:

    • Components are assembled into products by applying joints or mates that sequentially eliminate degrees of freedom.

    • Root Component: The initial base part must be fully grounded/fixed to establish an absolute coordinate reference (00 free DOFs).

    • Standard Joint and Mate Types:

    • Rigid / Fixed: Eliminates all 66 DOFs (00 DOFs remaining); components are locked rigidly together.

    • Revolute / Hinge: Permits 11 rotational DOF; removes 55 DOFs.

    • Slider / Prismatic: Permits 11 translational DOF along a straight axis; removes 55 DOFs.

    • Cylindrical: Permits 22 DOFs (11 translation and 11 coaxial rotation along a single axis); removes 44 DOFs.

    • Planar: Permits 33 DOFs (22 in-plane translations and 11 normal rotation); removes 33 DOFs.

    • Ball / Spherical: Permits 33 rotational DOFs; removes 33 translational DOFs.

    • Contact / Tangent: Constrains surfaces to touch while preserving tangential sliding motion.

    • Assembly Paradigms:

    • Bottom-Up Assembly: Parts are modeled completely independently in separate files, then imported into an assembly file and mated. Clean file independence, but interface revisions require manual component adjustments.

    • Top-Down Assembly: Components are modeled directly within the assembly context, referencing edges and faces of adjacent mating parts. Updates to base geometry automatically drive updates in mating parts, but creates complex cross-file dependencies.

    • Nested Sub-Assemblies: Hierarchical organization where sub-assemblies (e.g., a wheel-and-axle unit) are inserted as discrete components into larger parent assemblies (e.g., an entire airplane landing gear).

Geometric Modeling Systems & Boundary Representation (B-Rep)

  • Commercial Geometric Modeling Kernels:

    • Parasolid: Owned and developed by Siemens Digital Industries Software. Powers Siemens NX, SolidWorks, and Onshape.

    • ACIS (3D ACIS Modeler): Owned by Dassault Systèmes. Originally created by Alan Grayer, Charles Lang, and Ian Braid (Three-Space Ltd). Powers Ansys SpaceClaim and numerous CAE toolsets.

    • ShapeManager: Developed by Autodesk, originally branched from ACIS. Serves as the internal kernel for Autodesk Fusion and Inventor.

    • CGM (Convergence Geometric Modeller): Proprietary kernel developed in-house by Dassault Systèmes to drive CATIA (V5 and beyond).

  • Classification of Geometric Modeling Representations:

    • Wireframe Modeling:

    • Geometry stored exclusively as a collection of 3D spatial points (vertices) connected by lines or space curves (edges).

    • Lacks boundary or surface definition: the computer cannot distinguish between the interior, the exterior, or the solid wall of an object.

    • Inherently ambiguous: a single wireframe diagram can correspond to multiple valid physical solids.

    • Cannot compute mass, volume, surface area, center of gravity, or moments of inertia. Incapable of driving automated FEA meshing or CAM toolpath generation.

    • Surface Modeling:

    • Encloses geometry using mathematically defined surface patches stitched over a wireframe skeleton.

    • Stores surface curvature and surface adjacency.

    • Crucial for aesthetic automotive styling, complex ergonomic skins, and toolpaths for complex multi-axis sheet machining.

    • Still lacks volumetric "meat": cannot verify whether an arbitrary point resides inside or outside the component volume unless surfaces form a strictly closed, watertight shell.

    • Solid Modeling:

    • Represents a closed, manifold, watertight 3D volume.

    • Mathematically unambiguous: for any 3D coordinate point (x,y,z)(x, y, z), the system can deterministically identify whether the point is inside, outside, or on the boundary of the solid.

    • Provides full capability to calculate mass properties, moments of inertia, automated interference and clearance checking in assemblies, FEA volume meshing, and automated CNC toolpaths.

  • Stereolithography (STL) Tessellation Format:

    • Industry-standard format for additive manufacturing (3D printing) and 3D surface scanning.

    • Replaces exact analytical mathematical surfaces with an unstructured planar triangular mesh (tessellation).

    • File Structure: Stores triangular facets defined by an outward unit normal vector and three Cartesian corner vertices: text facet normal nx ny nz outer loop vertex x1 y1 z1 vertex x2 y2 z2 vertex x3 y3 z3 endloop endfacet &nbsp;&nbsp;&nbsp;&nbsp;

  • Highly portable, but discards exact mathematical curvature, parametric feature history, and geometric dimensions. Unsuitable for precision engineering modifications.


B-Rep Data Structure Scheme
  • Boundary Representation (B-Rep) Architecture:

    • The dominant mathematical data structure inside modern CAD solid modeling kernels.

    • Divides the representation into two coupled domains: Topology (connectivity and orientation) and Geometry (precise mathematical equations of shapes).

    • Topological Entities:

    • Vertex: A 0D point marking the end of an edge.

    • Edge: A bounded 1D curve segment connecting two vertices.

    • Face: A bounded 2D patch of a surface, delineated by one or more closed loops of edges.

    • Loop: An ordered, closed circuit of edges bounding a face (an outer boundary loop or internal hole loops).

    • Shell: A connected set of faces forming a closed boundary.

    • Geometric Entities:

    • Coordinates for Vertices (x,y,zx, y, z).

    • Curves for Edges (Line, Circle, Conic, or NURBS curve).

    • Surfaces for Faces (Plane, Cylinder, Cone, Sphere, Torus, or NURBS surface patch).

    • Orientation and Inside/Outside Evaluation:

    • When viewing a face from the outside of the solid, its boundary edges are ordered in a counter-clockwise (CCW) traversal direction.

    • When viewed from the inside, traversal appears clockwise (CW).

    • The outward normal is computed via the right-hand rule from the edge loop direction, enabling algorithms to classify interior versus exterior regions.

  • The STEP File Architecture (ISO 10303-242 / ISO 10303-21):

    • Standard for the Exchange of Product Model Data (STEP): A vendor-neutral, plain-text standard enabling lossless exchange of exact B-Rep models between diverse CAD packages (e.g., Fusion 360 to SolidWorks to CATIA).

    • Structure:

    • HEADER: Documents schema name (e.g., AP242_MANAGED_MODEL_EDITION), file creation timestamp, originating software, and author.

    • DATA: Contains numbered B-Rep entities pointing sequentially to each other:

      • #10 = CARTESIAN_POINT('', (4.0, 0.0, 0.0)); (Geometry: 3D point).

      • #12 = VERTEX_POINT('V2', #10); (Topology: Vertex referencing point).

      • #15 = EDGE_CURVE('E1', #5, #6, #8, .T.); (Topology: Edge referencing vertices and curve geometry).

      • #18 = ORIENTED_EDGE('', *, *, #15, .T.); (Topology: Edge with directional traversal flag).

      • #21 = EDGE_LOOP('', (#18, #19, #20)); (Topology: Closed circuit of edges).

      • #22 = FACE_OUTER_BOUND('', #21, .T.); (Topology: Outer boundary perimeter).

      • #24 = ADVANCED_FACE('F1', (#22), #23, .T.); (Topology: Face linking boundary loop to underlying surface geometry).

      • #29 = CLOSED_SHELL('', (#24, #25, #26, #27, #28)); (Topology: Watertight group of faces).

      • #30 = MANIFOLD_SOLID_BREP('solid', #29); (Solid volume definition).

    • Format Comparison:

    • Native Files (.sldprt, .f3d, .CATPart): Contain exact B-Rep geometry and full parametric feature history; cannot open natively across competing systems.

    • STEP Files (.step, .stp): Contain exact B-Rep geometry, assembly structures, and AP242 tolerances; lose parametric feature history (opens as a "dumb" solid body).

    • STL Files (.stl): Contain approximated triangular planar meshes; no exact surfaces, no feature history, no topology tables.

Mathematical Representation of Curves & Surfaces

  • Parametric vs. Non-Parametric Equations:

    • Explicit Non-Parametric Form (y=f(x)y = f(x)):

    • Generates only a single dependent yy coordinate for each independent xx.

    • Cannot represent vertical tangents, as the slope derivative approaches infinity: dydx=∞\frac{dy}{dx} = \infty.

    • Cannot loop back on itself or easily represent closed contours.

    • Implicit Non-Parametric Form (f(x,y,z)=0f(x, y, z) = 0):

    • For a circle: x2+y2−r2=0x^2 + y^2 - r^2 = 0, yielding y=±r2−x2y = \pm\sqrt{r^2 - x^2}.

    • Computationally difficult for sequential display evaluation because it requires solving multi-valued square roots and selecting appropriate signs.

    • Parametric Form (x=x(u)x = x(u), y=y(u)y = y(u), z=z(u)z = z(u), where 0≤u≤10 \le u \le 1):

    • Standard format for CAD: coordinates are independent functions of parameter uu.

    • For a circle:       x(θ)=rcos⁡(θ)x(\theta) = r\cos(\theta)       y(θ)=rsin⁡(θ)y(\theta) = r\sin(\theta)       z=0z = 0       for 0≤θ≤2π0 \le \theta \le 2\pi.

    • Curve evaluation is performed by sequentially incrementing the parameter uu at uniform intervals, computing discrete coordinates to render connected linear display vectors on screen.

  • Homogeneous Coordinate Transformations (4x4 Matrices):

    • Homogeneous coordinates represent a 3D position vector as a 4D column vector: P=[xyz1]T\mathbf{P} = \begin{bmatrix} x & y & z & 1 \end{bmatrix}^T.

    • Allows linear translation, rotation, scaling, and reflection to be combined into composite transformation matrices via matrix multiplication:     Pworld=T⋅Plocal\mathbf{P}_{\text{world}} = \mathbf{T} \cdot \mathbf{P}_{\text{local}}

    • Translation Matrix by displacements tx,ty,tzt_x, t_y, t_z:     Ttrans=[100tx010ty001tz0001]\mathbf{T}_{\text{trans}} = \begin{bmatrix} 1 & 0 & 0 & t_x \\ 0 & 1 & 0 & t_y \\ 0 & 0 & 1 & t_z \\ 0 & 0 & 0 & 1 \end{bmatrix}

    • Rotation Matrices by angle θ\theta:

    • Rotation about the XX-axis:       Rx(θ)=[10000cos⁡(θ)−sin⁡(θ)00sin⁡(θ)cos⁡(θ)00001]\mathbf{R}_x(\theta) = \begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & \cos(\theta) & -\sin(\theta) & 0 \\ 0 & \sin(\theta) & \cos(\theta) & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix}

    • Rotation about the YY-axis:       Ry(θ)=[cos⁡(θ)0sin⁡(θ)00100−sin⁡(θ)0cos⁡(θ)00001]\mathbf{R}_y(\theta) = \begin{bmatrix} \cos(\theta) & 0 & \sin(\theta) & 0 \\ 0 & 1 & 0 & 0 \\ -\sin(\theta) & 0 & \cos(\theta) & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix}

    • Rotation about the ZZ-axis:       Rz(θ)=[cos⁡(θ)−sin⁡(θ)00sin⁡(θ)cos⁡(θ)0000100001]\mathbf{R}_z(\theta) = \begin{bmatrix} \cos(\theta) & -\sin(\theta) & 0 & 0 \\ \sin(\theta) & \cos(\theta) & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix}

  • Curve Continuity Conditions:

    • C0/G0C^0 / G^0 Continuity (Positional): Endpoints touch (f(u1)=g(u0)f(u_1) = g(u_0)). Curves meet at a shared point, but exhibit a sharp corner or visible crease.

    • C1/G1C^1 / G^1 Continuity (Tangential): First derivatives are continuous (f′(u1)=g′(u0)f'(u_1) = g'(u_0)). Curve tangents share the exact same collinear direction at the joint. The curve appears visually smooth, but reflections display sharp breaks.

    • C2/G2C^2 / G^2 Continuity (Curvature): Second derivatives are continuous (f′′(u1)=g′′(u0)f''(u_1) = g''(u_0)). Curvature changes continuously across the joint. Highlight reflections transition seamlessly with no abrupt variations; ambient shadows grade smoothly.

    • Cubic Polynomial Rationale: 3rd-degree (cubic) curves are the standard default in CAD because they represent the lowest polynomial degree capable of maintaining C2C^2 curvature continuity at joints between adjacent curve segments without introducing unwanted oscillatory wiggles.

  • Bézier Curves:

    • Formulated independently in the 1960s by Pierre Bézier (Renault) and Paul de Casteljau (Citroën) to design smooth, aerodynamic automotive car bodies.

    • Linear Bézier (n=1n=1):     C(u)=(1−u)P0+uP1\mathbf{C}(u) = (1-u)\mathbf{P}_0 + u\mathbf{P}_1

    • Quadratic Bézier (n=2n=2, via de Casteljau geometric interpolation):     C(u)=(1−u)2P0+2u(1−u)P1+u2P2\mathbf{C}(u) = (1-u)^2 \mathbf{P}_0 + 2u(1-u)\mathbf{P}_1 + u^2 \mathbf{P}_2

    • Cubic Bézier (n=3n=3):     C(u)=(1−u)3P0+3u(1−u)2P1+3u2(1−u)P2+u3P3\mathbf{C}(u) = (1-u)^3 \mathbf{P}_0 + 3u(1-u)^2 \mathbf{P}_1 + 3u^2(1-u)\mathbf{P}_2 + u^3 \mathbf{P}_3

    • Bernstein Blending Polynomials for degree n=3n=3:     B03(u)=(1−u)3B_0^3(u) = (1-u)^3     B13(u)=3u(1−u)2B_1^3(u) = 3u(1-u)^2     B23(u)=3u2(1−u)B_2^3(u) = 3u^2(1-u)     B33(u)=u3B_3^3(u) = u^3     where ∑i=03Bi3(u)=1\sum_{i=0}^3 B_i^3(u) = 1 (partition of unity).

    • Matrix Formulation for a cubic Bézier:     P(u)=[1uu2u3][1000−33003−630−13−31][P0P1P2P3]\mathbf{P}(u) = \begin{bmatrix} 1 & u & u^2 & u^3 \end{bmatrix} \begin{bmatrix} 1 & 0 & 0 & 0 \\ -3 & 3 & 0 & 0 \\ 3 & -6 & 3 & 0 \\ -1 & 3 & -3 & 1 \end{bmatrix} \begin{bmatrix} \mathbf{P}_0 \\ \mathbf{P}_1 \\ \mathbf{P}_2 \\ \mathbf{P}_3 \end{bmatrix}

    • Properties & Limitations of Bézier Curves:

    • Endpoint Interpolation: Curve originates precisely at P0\mathbf{P}_0 and terminates at P3\mathbf{P}_3.

    • Convex Hull Property: The curve is entirely contained within the convex hull formed by its control polygon.

    • Global Modification: Moving a single control point alters the mathematical shape across the entire curve span (0≤u≤10 \le u \le 1).

    • Degree Coupling: Polynomial degree is locked to the number of control points (Degree=n−1\text{Degree} = n - 1). A curve with 10 control points requires a 9th-degree polynomial, leading to computational instability and undesirable oscillations.

  • B-Splines (Basis Splines):

    • Overcomes Bézier limitations by constructing a curve from piecewise polynomial segments joined at parameter values called knots.

    • Knot Vector T=[t0,t1,…,tm]\mathbf{T} = [t_0, t_1, \dots, t_m]: A non-decreasing sequence of parameter values delineating segment boundaries.

    • Local Modification Property: Blending functions have non-zero values only over a localized window of knot spans. Moving a control point reshapes only the immediate neighboring region of the curve, leaving distant sections unaltered.

    • Degree Independence: The polynomial degree is selected independently of the number of control points. A designer can add dozens of control points to model intricate profiles while keeping the polynomial degree capped at cubic (p=3p=3).

    • Clamped Endpoints: Repeating knots at the beginning and end with multiplicity p+1p+1 forces the B-spline to interpolate the initial and final control points.

    • Limitation: Standard polynomial B-splines cannot represent conic sections (circles, ellipses, parabolas, hyperbolas) exactly; they can only approximate them.

  • Non-Uniform Rational B-Splines (NURBS):

    • The universal internal standard for modern CAD kernels.

    • Extends B-splines by assigning an individual scalar weight (wiw_i) to each control point in 4D homogeneous space: Piw=[xiwiyiwiziwiwi]T\mathbf{P}_i^w = \begin{bmatrix} x_i w_i & y_i w_i & z_i w_i & w_i \end{bmatrix}^T.

    • NURBS Curve Equation:     C(u)=∑i=0nNi,p(u)wiPi∑i=0nNi,p(u)wi\mathbf{C}(u) = \frac{\sum_{i=0}^n N_{i,p}(u) w_i \mathbf{P}_i}{\sum_{i=0}^n N_{i,p}(u) w_i}

    • Properties:

    • Geometric Influence of Weight: Increasing wiw_i pulls the local curve closer to Pi\mathbf{P}_i; reducing wiw_i pushes the curve away.

    • Exact Conics: Can mathematically represent true circular arcs and conic sections. A exact 90∘90^\circ circular arc is achieved with three control points and intermediate weight w1=22≈0.7071w_1 = \frac{\sqrt{2}}{2} \approx 0.7071.

    • Generalization: If all wi=1w_i = 1, the equation reduces to a standard polynomial B-spline. If the knot vector has no interior knots, it reduces to a Bézier curve.


NURBS Parameter Square Mapping


2D Basis Function Product Bump
  • NURBS Surfaces:

    • Formed by evaluating a 2D rectangular grid of control points (the control net Pij\mathbf{P}_{ij}) parameterized across two independent variables, uu and vv, bounded by the unit square (0≤u,v≤10 \le u, v \le 1):     S(u,v)=∑i=0n∑j=0mNi,p(u)Nj,q(v)wijPij∑i=0n∑j=0mNi,p(u)Nj,q(v)wij\mathbf{S}(u, v) = \frac{\sum_{i=0}^n \sum_{j=0}^m N_{i,p}(u) N_{j,q}(v) w_{ij} \mathbf{P}_{ij}}{\sum_{i=0}^n \sum_{j=0}^m N_{i,p}(u) N_{j,q}(v) w_{ij}}

    • Isoparametric Curves (Isoparms): Curves formed on the surface by locking one parameter to a constant value (e.g., u=0.6u = 0.6) while varying the second parameter (vv).

    • Surface Types Represented:

    • Quadric Surfaces: Cylindrical, conical, spherical, paraboloidal, and hyperboloidal geometries are represented exactly using degree 2 in uu and vv.

    • Quarter Cylinder Example: Degree 2 in uu, degree 1 in vv; 3×23 \times 2 control net; weights 1,0.7071,11, 0.7071, 1 in both rows; knot vectors U={0,0,0,1,1,1}\mathbf{U} = \{0,0,0,1,1,1\}, V={0,0,1,1}\mathbf{V} = \{0,0,1,1\}.

  • T-Spline Surfaces:

    • An advanced extension of NURBS that eliminates the rigid requirement that control points must lie on a structured, rectangular grid.

    • Permits "T-junctions" (partial rows of control points terminating at an edge) and "star points" (extraordinary vertices where 3 or 5 faces meet).

    • Prevents the proliferation of superfluous control points across entire models, making organic sculpting in tools like Autodesk Fusion far more efficient.

  • Kinematic Surface Generation (Sweeps and Revolutions):

    • Sweep Surfaces: Generated by translating a 1D parametric cross-sectional profile C(u)\mathbf{C}(u) along an arbitrary spatial transformation path matrix T(w)\mathbf{T}(w):     P(u,w)=C(u)T(w)\mathbf{P}(u, w) = \mathbf{C}(u) \mathbf{T}(w)

    • Surfaces of Revolution: Formed by revolving a planar profile curve P(u)\mathbf{P}(u) around a designated spatial axis of rotation defined by unit vector r=[rxryrz]T\mathbf{r} = \begin{bmatrix} r_x & r_y & r_z \end{bmatrix}^T through an angle θ∈[0,2π]\theta \in [0, 2\pi]:     P(u,θ)=P(u)T(θ)\mathbf{P}(u, \theta) = \mathbf{P}(u) \mathbf{T}(\theta)     where T(θ)\mathbf{T}(\theta) is the 3D Rodriguez rotation matrix:     T(θ)=[rx2+cos⁡(θ)(1−rx2)rxry(1−cos⁡(θ))−rzsin⁡(θ)rxrz(1−cos⁡(θ))+rysin⁡(θ)rxry(1−cos⁡(θ))+rzsin⁡(θ)ry2+cos⁡(θ)(1−ry2)ryrz(1−cos⁡(θ))−rxsin⁡(θ)rxrz(1−cos⁡(θ))−rysin⁡(θ)ryrz(1−cos⁡(θ))+rxsin⁡(θ)rz2+cos⁡(θ)(1−rz2)]\mathbf{T}(\theta) = \begin{bmatrix} r_x^2 + \cos(\theta)(1-r_x^2) & r_x r_y(1-\cos(\theta)) - r_z \sin(\theta) & r_x r_z(1-\cos(\theta)) + r_y \sin(\theta) \\ r_x r_y(1-\cos(\theta)) + r_z \sin(\theta) & r_y^2 + \cos(\theta)(1-r_y^2) & r_y r_z(1-\cos(\theta)) - r_x \sin(\theta) \\ r_x r_z(1-\cos(\theta)) - r_y \sin(\theta) & r_y r_z(1-\cos(\theta)) + r_x \sin(\theta) & r_z^2 + \cos(\theta)(1-r_z^2) \end{bmatrix}

Technical Drawings & Orthographic Projections


Classification of Projection Types
  • Classification of Graphical Projections:

    • Multiview (Orthographic): Pure 2D flat projections viewing the object square-on from orthogonal directions. No pictorial depth; preserves true dimensional scale and shape. Used exclusively for production engineering drawings.

    • Axonometric (e.g., Isometric): Parallel projection where viewing rays are perpendicular to the projection plane. Lines parallel in space remain parallel on the drawing; true lengths are preserved along primary coordinate axes.

    • Oblique: Parallel projection where rays strike the viewing plane at an oblique angle. The front face appears in true size and shape, while depth axes are drawn at an angle (30∘30^\circ or 45∘45^\circ). Primarily used for quick conceptual hand sketching; not used in CAD.

    • Perspective: Viewing rays converge to one or more focal vanishing points. Mimics human vision and photography; foreshortens distant geometry. Used for photorealistic rendering, but unsuited for dimensional manufacturing drawings.

  • Why 2D Drawings Remain the Primary Reference:

    • While a 3D CAD model encapsulates nominal geometric shape, modern manufacturing facilities, machine shops, quality inspectors, and procurement vendors still work from 2D production drawings.

    • Critical metadata—such as geometric tolerances (GD&T), explicit surface roughness values (RaR_a), heat treatments, plating requirements, and legal design acceptance notes—rarely survive neutral translation between different CAD systems without corruption.


Six Principal Views in Orthographic Projection
  • The Glass Box Concept and Principal Views:

    • Envision the 3D component suspended inside an imaginary transparent glass box, with the viewer observing each face square-on through the walls.

    • Unfolding the Box: Unfolding the six glass walls into a single flat sheet establishes the spatial alignment of the six principal orthographic views: Front, Top, Right Side, Left Side, Bottom, and Back.

    • Shared Dimensions Across Views:

    • Width (WW): Vertically aligned between Front and Top views.

    • Height (HH): Horizontally aligned between Front and Side views.

    • Depth (DD): Shared between Top and Side views; mapped across views using a 45∘45^\circ miter line in the corner projection fold.

  • First-Angle vs. Third-Angle Projection Systems:

    • Third-Angle Projection (North American standard: ASME Y14.3; also standard in Japan and Australia):

    • The imaginary projection plane (the glass) is positioned between the observer and the object.

    • Each view is drawn on the plane looked through:

      • The Top View is located directly above the Front View.

      • The Right Side View is located directly to the right of the Front View.

      • The Bottom View is located directly below the Front View.

    • First-Angle Projection (ISO 128 standard; common in Europe and most of Asia):

    • Originated from Gaspard Monge's descriptive geometry (France, 1795–1799).

    • The object is positioned between the observer and the projection plane; views are projected through the object onto the wall behind it:

      • The Top View lands below the Front View.

      • The Right Side View lands to the left of the Front View.

    • Drawing Identification: ISO 128 permits both methods. Engineering drawings must prominently display the truncated cone projection symbol near the title block to identify the projection system.


Third-Angle Projection Symbol
  • Surface Classifications in Orthographic Projections:

    • Normal Surface: Aligned perfectly parallel to a primary projection plane. Appears in true size and true shape in that specific view, and projects as a single edge line in the other two orthogonal views.

    • Inclined Surface: Tilted relative to two projection planes while perpendicular to the third. Appears as a single line (its edge view) in the perpendicular view, and as a foreshortened, compressed area in the remaining two views. Quick rule: a flat planar face retains the exact same number of corners across every view where it is not seen edge-on.

    • Oblique Surface: Tilted at compound angles to all three principal projection planes. Appears as a foreshortened area in all views; never projects as a line in any standard view.


Inclined Surface Projection
  • Standard Line Types and Overlap Precedence:

    • Visible Lines: Thick, solid continuous lines showing exposed, directly visible exterior edges and silhouettes.

    • Hidden Lines: Thin, evenly dashed lines revealing internal, obscured, or undercut edges located behind opaque material.

    • Centerlines: Thin lines composed of alternating long and short dashes. Used to mark axes of rotational symmetry (holes, bosses, shafts) and center points of circular arcs (intersecting short dashes).

    • Overlap Hierarchy: When multiple line types coincide on the same drawing coordinate, the order of display precedence is:     Visible Line>Hidden Line>Centerline\text{Visible Line} > \text{Hidden Line} > \text{Centerline}

    • A visible line overrides and conceals co-linear hidden lines and centerlines. Hidden lines should never be dimensioned.


Geometric Ambiguity in Two Views
  • Number of Views and Resolving Ambiguity:

    • Sufficiency Rule: Provide the minimum number of views necessary to completely describe geometric shape without ambiguity, and no more.

    • Simple cylindrical parts typically require only 2 views (or even 1 view if a diameter symbol ∅\varnothing is used).

    • Ambiguous Views: Multiple distinct 3D objects can share identical Front and Top views. For example, a rectangular block, a triangular wedge, and a quarter-cylinder block all project identical rectangular boundaries in Front and Top views; only a distinct Right Side View reveals their actual profiles.

  • Step-by-Step 3D CAD Modeling Procedure from 2D Projections:

    • Step 1 — Choose the Base Feature and Its Sketch Plane: Select the view displaying the highest 2D geometric complexity as the initial sketch profile.

    • Step 2 — Sketch and Fully Constrain the Profile: Trace the outer profile as a closed loop on the corresponding plane, applying geometric constraints and dimensions until fully defined.

    • Step 3 — Extrude the Base Feature: Extrude using the depth value obtained from an adjacent view (depth for a front sketch must come from the top or side view, never the front view).

    • Step 4 — Cut Secondary Features Altering the Silhouette: Model external cuts, steps, angled chamfers, and major pockets before internal details.

    • Step 5 — Add Holes: Use dedicated parametric Hole features rather than sketched extruded cut circles to maintain editable diameter and depth parameters.

    • Step 6 — Add Fillets and Chamfers Last: Apply edge dress-up features at the end of the feature tree, as they rarely modify the outer envelope.

    • Step 7 — Verify Against All Three Original Views: Orient the 3D model to Front, Top, and Right orthographic directions; verify that all visible silhouettes and internal hidden lines match the 2D source drawing.

Review & Concept Verification (Q&A)

  • Question 1: "The new iPhone must have the largest display of all iPhone models" is an example of what?

    • Answer: A requirement. (It states qualitative stakeholder intent without specific numerical values, tolerances, or test standards).

  • Question 2: "The new iPhone has a 7.6-inch Super Retina XDR folding display" is an example of what?

    • Answer: A specification. (It provides measurable, testable engineering dimensions and specific display parameters).

  • Question 3: What can make manufacturing easier and cheaper?

    • Answer: Using larger (looser) tolerances. (Loose tolerances permit faster machining operations like turning rather than precision grinding or honing, minimizing scrapped parts and tooling wear).

  • Question 4: Why must a CAD sketch be fully defined?

    • Answer: All of the above: to avoid unexpected deformations of the sketch, to ensure design intent holds true, and to remove ambiguity about sketch dimensions and shape.

  • Question 5: A straight, circular cylinder with uniform radius can be constructed using what operation(s)?

    • Answer: Any of the following primary CAD modeling operations:

    • An extrusion of a 2D circle normal to the sketch plane.

    • A revolution of a 2D rectangle through 360∘360^\circ about one of its edges.

    • A sweep of a 2D circle along a linear trajectory path perpendicular to the circle's face.

    • A loft connecting two identical, axially aligned, parallel circular sketches.

  • Question 6: How many degrees of freedom does a cylindrical joint have?

    • Answer: 22 degrees of freedom (11 translational sliding motion along the cylinder's longitudinal axis, and 11 rotational motion around that same axis).