The problem
A battery housing has sealing faces, mounting holes and module locating features that must line up with the frame and lid every time. A model on its own does not tell a supplier what matters. Production drawings with a clear datum scheme and geometric tolerances are how a design team communicates function to a machine shop or die caster, and they are a core skill employers check in fresh mechanical graduates.
Objectives
- Model a battery housing with sealing flange, mounting bosses and module locating holes using design intent.
- Choose a functional datum reference frame based on how the housing is mounted and sealed.
- Apply flatness, position, perpendicularity and profile tolerances with correct feature control frames.
- Produce a drawing set with views, sections, details, hole callouts, notes and a revision table to ISO or ASME conventions.
- Check the drawing against a self-review checklist and a mock supplier query.
What you need
Tools and toolboxes
- SOLIDWORKS Part — Housing model with Extrude, Shell, Fillet and Hole Wizard holes so callouts carry thread and depth data.
- SOLIDWORKS Drawings — Standard, section, detail and auxiliary views, Model Items import, Geometric Tolerance and Datum Feature tools, Hole Callout and Revision Table.
- DimXpert (optional) — Auto Dimension Scheme on the part to see a tolerance scheme in 3D before detailing the 2D drawing.
- Sheet Format editor — A title block with linked custom properties (part number, material, mass, drawn by, scale, general tolerance note).
Software
- SOLIDWORKS 2023 or later
- A PDF viewer for the issued drawing
Extra parts and data
None beyond the software above.
Key concepts
- Datum reference frame
- Three mutually perpendicular datum planes, picked from the features that locate the part in its assembly. All geometric tolerances are measured relative to it, so the choice should follow function.
- Feature control frame
- The box that states a geometric characteristic, its tolerance zone, any material condition modifier and the datums it refers to, for example a position tolerance at MMC relative to datums A, B and C.
- General tolerances (ISO 2768)
- A title-block note such as ISO 2768-mK covers every dimension not individually toleranced, which keeps the drawing readable while still controlling all features.
- Maximum material condition
- The state where a feature holds the most material (smallest hole, largest pin). Tolerancing at MMC allows bonus tolerance as the feature departs from it, which suits clearance holes for bolts.
Step-by-step guide
- 1
Define the housing and its function
Write a short brief for an example housing: an aluminium tray about 400 × 250 × 120 mm holding two battery modules, bolted to the frame through four bosses and closed by a gasketed lid on a top flange. List the functional features: the flange face that seals, the four mounting holes, the module locating dowel holes and the cable gland boss. Decide whether it is machined from billet or die cast, since that changes the drafting of tolerances and surface finish.
Checkpoint: A one-page brief listing each functional feature, what mates with it and which ones are critical to sealing or alignment.
- 2
Model with design intent
Start from a centred rectangle sketch on the Top Plane, extrude the outer block and use Shell to leave a 4 mm wall with the top face removed. Add the flange with a Thin feature or an extruded offset sketch, then the mounting bosses with Mirror about the two main planes. Insert holes with Hole Wizard (for example M8 tapped holes in the flange and 9 mm clearance holes in the bosses) and use Linear Pattern so a change in spacing updates every hole.
Checkpoint: Changing the overall length in one sketch dimension rebuilds the model with holes, bosses and flange still correctly placed and no rebuild errors.
- 3
Choose the datum scheme
Decide how the housing sits in its assembly. A common choice is the bottom mounting face as primary datum A (three-point contact), one mounting hole as secondary datum B and a second hole as tertiary datum C, giving a hole-and-slot style location. Sketch the scheme on paper first, then optionally run DimXpert Auto Dimension Scheme on the part to see how the software proposes datums and compare it with your functional reasoning.
Checkpoint: A sketch of the datum reference frame with a one-line reason for each datum tied to how the part is assembled.
- 4
Set up the drawing template
Create a drawing from an A3 or A2 sheet and set Document Properties to the ISO or ANSI drafting standard your institute uses, with millimetres and the correct projection angle (first angle is common in India). Edit the Sheet Format so the title block links to custom properties such as PartNo, Material and Mass using $PRPSHEET notes. Add a general tolerance note, for example ISO 2768-mK, and a default surface finish note.
Checkpoint: A new drawing from the template fills the title block automatically from the part custom properties, including material and mass.
- 5
Place views and sections
Insert front, top and right views plus an isometric. Add a Section View through the mounting bosses and the flange so wall thickness and hole depth are visible, and a Detail View on the gasket groove or flange edge at 2:1 or larger. Use an Auxiliary View if any feature is on an angled face. Hide tangent edges where they clutter and set view display to Hidden Lines Removed except where hidden detail is essential.
Checkpoint: Every feature of the part is fully shown in at least one view without needing hidden lines to understand it.
- 6
Dimension the part
Use Model Items to import sketch dimensions, then clean them up: move each dimension to the view where the feature is seen in true shape, delete duplicates and add any missing ones manually. Dimension from the datums rather than chaining feature to feature. Use Hole Callout on Hole Wizard holes so thread size, depth and counterbore data appear automatically. Mark reference dimensions in brackets where a value is for information only.
Checkpoint: No duplicate or missing dimensions, checked by walking through each feature and confirming its size and location are defined once.
- 7
Apply geometric tolerances
Attach Datum Feature symbols A, B and C to the chosen faces and holes. Apply a flatness tolerance on the sealing flange (an example of 0.1 mm), a position tolerance at MMC on the clearance holes relative to A, B and C, perpendicularity on the dowel holes to A, and a profile of a surface tolerance on the outer envelope if it matters for packaging. Use the Geometric Tolerance tool so the feature control frames follow the selected standard.
Checkpoint: Each feature control frame reads correctly, references only existing datums and the tolerance values are justified in a short table.
- 8
Check tolerance values against function
For the bolt pattern, use the fixed-fastener or floating-fastener formula to confirm the position tolerance is compatible with the clearance hole and bolt size. For the flange, check that the flatness value is achievable by the chosen process and compatible with the gasket compression range from an example datasheet. Note any tolerance tighter than the process normally holds and either relax it or flag it for a machined operation.
Checkpoint: A worked hand calculation showing that the stated position tolerance lets the bolts assemble at worst case.
- 9
Add notes, finishes and revisions
Add surface finish symbols on the sealing face and bores, a note on edge breaks and burrs, the material and treatment (for example an aluminium casting alloy with anodising, as an example), and a Revision Table. Issue the drawing as revision A, then make a deliberate change such as moving a cable gland boss, update the model and log revision B with a description and zone. This shows how the drawing and model stay linked.
Checkpoint: Revision B updates every affected view automatically, and the revision table records what changed and where.
- 10
Review, export and report
Run a self-check against a checklist: projection symbol, scale, units, title block complete, datums defined before use, every hole called out, general tolerance stated. Ask a classmate to act as the supplier and raise queries from the PDF alone, then answer or fix each one. Export PDF and DXF, and write a short report explaining the datum choice, the key tolerances and how each relates to sealing or assembly.
Checkpoint: The mock supplier review raises no unanswered questions, and the report links every critical tolerance to a function.
Testing & validation
- Model rebuilds without errors after changing key dimensions.
- Every feature is fully dimensioned exactly once on the drawing.
- Position tolerances are checked with a fixed- or floating-fastener calculation.
- Datums are defined before they are referenced, and feature control frames follow the chosen standard.
- A peer acting as supplier can quote and inspect the part from the PDF alone.
Expected results
A parametric battery housing model and an issued drawing set with a functional datum scheme, GD&T on sealing and mounting features, hole callouts, notes, finishes and a revision history, plus a short rationale report.
Take it further
- Convert the drawing to a model-based definition using DimXpert and compare the two approaches.
- Draw the matching lid and gasket and check the full assembly fit with a simple tolerance stack.
- Prepare a coordinate measuring machine inspection plan from the GD&T callouts.
Viva and review questions
Why did you choose the bottom face as datum A?
Because the housing is bolted down onto that face, so it is the surface that actually locates the part in the vehicle. Datums should follow how the part is held and functions, not just which face is convenient to measure.
What does MMC on a position tolerance give you?
It allows bonus tolerance as the hole gets larger than its smallest size, so more parts pass inspection while bolts still assemble. It suits clearance holes, where only assemblability matters.
Why use ISO 2768 general tolerances?
They cover every dimension not toleranced individually, so the drawing stays readable and every feature still has a limit. Critical features then get specific tolerances or GD&T.
How do you keep the drawing and model consistent?
The drawing views and Model Items are linked to the part, so changes propagate. I log each change in the revision table and re-check the affected dimensions.
Learn it at DIYguru
These DIYguru courses and programmes teach what this project needs.
