import json
import os
os.makedirs(os.path.join('content', 'Sem1', 'MEC136', 'unit1'), exist_ok=True)
notes_md = """---
unitNumber: 1
unitTitle: "Introduction to Engineering Drawing"
readTime: "40 min read"
Unit 1: Introduction to Engineering Drawing
1. Why It Matters: The Universal Graphic Language of Engineering
Engineering drawing is the formal graphic language employed by engineers, architects, and industrial designers across the globe to communicate technical intent, spatial geometry, and manufacturing tolerances. While spoken languages are subject to regional ambiguity and translation errors, standardized technical drawings communicate unambiguous physical specifications that can be interpreted and manufactured with micron-level precision anywhere on Earth.
CODE+-------------------------------------------------------------------------+ | THE TECHNICAL COMMUNICATION PIPELINE | +-------------------------------------------------------------------------+ | Design Conceptualization -> Standardized Graphic Modeling -> Production | | (Ideation & CAD) | (ISO/BIS Standards, Tolerances) | (CAM/CNC, Fab) | +-------------------------------------------------------------------------+
Mastering the foundational tools, line types, dimensioning systems, scales, and Computer-Aided Design (CAD) environments is essential for transforming mental concepts into physical reality.
2. Drawing Instruments and Sheet Standards
Precision technical drawings require standardized tools and designated drawing sheets to maintain geometric accuracy.
2.1 Essential Drawing Instruments
- Drawing Board: Manufactured from seasoned soft woods (such as pine or fir) to prevent warping and allow paper fixing pins or drafting tape. Standard sizes range from () to ().
- Mini-Drafter: A modern articulated instrument combining the functions of a T-square, set-square, protractor, and scales into a single clamped drafting arm. Its two graduated blades are fixed at exactly 90^\\circ.
- Set-Squares (Triangles): Two transparent celluloid triangles—the 45^\\circ triangle (45^\\circ-45^\\circ-90^\\circ) and the 30^\\circ-60^\\circ triangle (30^\\circ-60^\\circ-90^\\circ)—used independently or in combination to project angles in 15^\\circ increments.
- Compass and Dividers: Precision instruments with steel points used for drawing circles, arcs, and transferring dimensional measurements without scaling distortion.
2.2 Standard Drawing Sheet Sizes (ISO 216 / BIS SP 46)
Standard drawing sheets follow the geometric relationship where the surface area of the base size () is exactly , and the ratio of width to length is strictly :
| Sheet Designation | Trimmed Dimensions ( in mm) | Untrimmed Size (mm) | Surface Area |
|---|---|---|---|
Relationship: Halving an sheet parallel to its shorter edge yields the next smaller sheet size .
2.3 Sheet Layout and Title Block
- Margins: A border line of width on the left-hand filing edge (to accommodate binding) and on the remaining three edges for sheets ( on all edges for ).
- Title Block: Located strictly at the bottom right-hand corner of every drawing sheet. Standard dimensions specified by Bureau of Indian Standards (BIS) are , containing legal metadata: Course/Company Name, Title of Drawing, Sheet Number, Scale, Date, Projection Symbol, and Approvals.
3. Pencil Hardness Grades and Line Conventions
3.1 Pencil Hardness Spectrum
Drafting leads consist of a kiln-fired mixture of graphite and kaolin clay. Increasing the clay proportion increases hardness and lightness; increasing graphite increases softness and darkness:
- / : Used for light construction lines, projection rays, dimension extension lines, and center line paths.
- : Used for visible outlines, finished geometric features, section hatching, and dimension lines.
- : Used for lettering, dimension numerals, title block entries, and prominent arrowheads.
3.2 Standard Line Types (ISO 128 / BIS SP 46)
| Line Description | Visual Appearance | Standard Thickness | Primary Engineering Applications |
|---|---|---|---|
| Continuous Thick | ━━━━━━━━━━━━━━━━ | Visible object outlines, visible edges, crests of screw threads. | |
| Continuous Thin | ──────────────── | Dimension lines, extension lines, leaders, hatching lines, projection lines. | |
| Continuous Thin Freehand | ~~~∿∿∿~~~~∿∿~~~ | Limits of partial or broken views, manual break lines. | |
| Continuous Thin with Zigzags | ───/\\───/\\─── | Long break lines in architectural or machine members. | |
| Dashed Thin | ── ── ── ── ── | Hidden outlines, hidden edges, obscured internal holes. | |
| Chain Thin (Long Dash-Dot) | ─── · ─── · ─── | Center lines, axes of revolution, pitch circles, symmetry lines. | |
| Chain Thin, Thick at Ends | ━━ · ── · ── · ━━ | Ends: , Body: | Cutting planes for sectional views. |
Precedence of Coinciding Lines: Visible Outlines Hidden Lines Cutting Plane Lines Center Lines Projection Lines.
4. Engineering Lettering and Dimensioning Systems
4.1 Engineering Lettering Standards
- Style: Single-stroke sans-serif Gothic lettering executed vertically (90^\\circ) or inclined at 75^\\circ to the horizontal.
- Legibility Rules: All characters must be uniform in height, stroke width, and spacing. Lowercase letters are avoided on general production drawings except for standard metric abbreviations (e.g., ).
- Nominal Heights (): Standardized as . Main titles typically use or ; subheadings use ; dimension numerals and notes use .
4.2 Anatomy of a Dimension
- Dimension Line: Continuous thin line indicating the extent and direction of the measured distance, terminated by arrowheads.
- Extension Line (Projection Line): Continuous thin line projected perpendicular to the measured feature, extending roughly beyond the arrowhead.
- Leader Line: Continuous thin line directing a note, label, or callout to a specific feature, terminated with an arrowhead (pointing to an edge) or a dot (placed on a face).
- Arrowhead: Standardized closed and filled triangular tip with an aspect ratio of (length to maximum base width).
CODEExtension Line Extension Line │ │ │<────────────── 50 mm ──────────────────────>│ │▲ ▲│ ││ Dimension Line ││ ┌────┴┴───────────────────────────────────────────┴┴────┐ │ │ │ Engineering Feature │
4.3 Dimensioning Systems: Aligned vs. Unidirectional
| Characteristic | Aligned System | Unidirectional System |
|---|---|---|
| Orientation of Values | Dimensions are placed parallel to the dimension lines and read from the bottom or right-hand edge of the sheet. | Dimensions are always placed horizontally, regardless of the angle of the dimension line. |
| Dimension Line Treatment | Dimension line is continuous; text is placed above and clear of the line. | Dimension line is broken near its midpoint to insert the horizontal text. |
| Reading Ergonomics | Reader may need to rotate viewing angle to read inclined/vertical dimensions. | Entire drawing can be read from the bottom edge without rotating the sheet. |
| Dominant Industry | Traditional civil, architectural, and structural drawings. | Modern mechanical engineering, CAD drafting, and aircraft manufacturing. |
5. Engineering Scales and Representative Fraction (RF)
A scale is the ratio between the linear dimensions of an element as represented on a drawing and the actual physical dimensions of the corresponding object.
5.1 Representative Fraction (RF)
The Representative Fraction is a dimensionless ratio defined as:
Rule: Both numerator and denominator must be converted to identical units before calculating RF.
5.2 Classification of Scales
- Full Size Scale (): Object is drawn to its exact physical size.
- Reducing Scale (): Used for large objects (buildings, aircraft, engine blocks). Standard ratios: .
- Enlarging Scale (): Used for micro-components (watch gears, semiconductor dies, precision surgical needles). Standard ratios: .
5.3 Types of Scales in Technical Drafting
- Plain Scale: Reads two consecutive metric units (e.g., meters and decimeters, or centimeters and millimeters).
- Diagonal Scale: Utilizes the principle of similar triangles to read three consecutive units (e.g., meters, decimeters, and centimeters) or measurements up to two decimal places.
- Vernier Scale: Employs a primary scale and a sliding fractional vernier scale to achieve micro-fractional readings.
6. Introduction to Computer-Aided Design (AutoCAD)
Computer-Aided Design (CAD) replaces physical drawing boards with digital vector geometry engines, enabling parametric modeling, layer separation, and automated precision.
CODE+-------------------------------------------------------------------------+ | AUTOCAD DIGITAL DRAFTING ENVIRONMENT | +-------------------------------------------------------------------------+ | Graphics Screen | User Coordinate System (UCS) Icon | Command Line Prompt| | Ribbon Toolbars | Object Snaps (OSNAP) | Layer Properties | +-------------------------------------------------------------------------+
6.1 AutoCAD Coordinate Systems
All geometric entities are positioned relative to the Cartesian coordinate plane :
- Absolute Cartesian Coordinates (): Points are referenced directly from the global origin . Example:
100,75. - Relative Cartesian Coordinates (
@ΔX,ΔY): Points are positioned relative to the previous point entered. Example:@50,30moves units right and units up. - Relative Polar Coordinates (
@Distance<Angle): Points are defined by a linear distance and an angular inclination measured counter-clockwise from the positive X-axis. Example:@100<45.
6.2 Essential AutoCAD Command Taxonomy
| Category | Primary Commands | Operational Purpose |
|---|---|---|
| Setup | LIMITS, UNITS, ZOOM [All] | Configures drawing boundaries, decimal/architectural units, and grid extents. |
| Draw | LINE (L), CIRCLE (C), RECTANG (REC), ARC, PLINE | Generates basic vector primitives and continuous polylines. |
| Modify | TRIM (TR), EXTEND (EX), OFFSET (O), FILLET (F), MIRROR | Edits, fillets, duplicates parallel vectors, and trims geometric intersections. |
| Precision | OSNAP (F3), ORTHO (F8), POLAR (F10) | Locks cursor to geometric points (endpoints, midpoints, centers) or orthogonal axes. |
| Organization | LAYER (LA), LINETYPE, MATCHPROP | Manages vector layers, line colors, line weights, and line types. |
7. Common Pitfalls & Exam Tips
- Incorrect Dimensioning Spacing: Dimension lines must never be drawn too close to object outlines. Maintain at least clearance from outlines and between parallel dimension lines.
- Crossing Extension and Dimension Lines: Extension lines may cross each other, but dimension lines should never cross other lines. Place smaller dimensions closer to the object and larger overall dimensions further out.
- RF Unit Conversion Errors: Always convert kilometers, meters, or centimeters to millimeters before evaluating Representative Fractions (; ).
- Precedence Confusion: When a hidden line coincides with a visible outline, the visible outline always takes visual precedence.
8. Quick Revision Summary
- Standard Sheet Sizes: is () with a aspect ratio; halving yields .
- Title Block: Standard dimensions are , placed at the bottom-right corner.
- Pencil Grades: for construction, for outlines/dimensioning, for text and arrows.
- Line Standards: Continuous thick for visible edges; dashed thin for hidden details; chain thin for centerlines.
- Dimensioning: Arrowheads follow a ratio; Aligned system places text along dimension lines, Unidirectional places text horizontally.
- Scales: ; plain scales read 2 units, diagonal scales read 3 units.
- AutoCAD: Uses Absolute (), Relative (
@ΔX,ΔY), and Polar (@Dist<Angle) coordinate systems controlled via commands andOSNAPprecision modes.
"""
with open(os.path.join('content', 'Sem1', 'MEC136', 'unit1', 'notes.md'), 'w', encoding='utf-8') as f:
f.write(notes_md.strip() + '\n')
print("Wrote notes.md for MEC136 Unit 1")