Basic exercise 12
Exercise 12: Hub with keyway
A steel hub with a Ø20 bore and a keyway. The keyway is dimensioned the way machinists measure it: from the far side of the bore to the top of the slot, 22.8 mm.

- Level
- Basic
- Time
- 15 min
- Material
- Mild carbon steel, 7.85 g/cm³
- Check mass
- 552.80 g
The drawing
What you practise
- Bore through a disk
- Rectangular cut overlapping the bore
- Keyway depth dimension across the bore
How to approach it
- Disk Ø80 × 15 with a Ø20 bore.
- Sketch a 6 mm wide rectangle centred on the vertical axis reaching 12.8 mm above the centre.
- Cut Through All.
Check your result
Apply the material — Mild carbon steel — or a custom material with a density of 7.85 g/cm³, then open Evaluate → Mass Properties. The mass should be 552.80 g (volume 70,420.15 mm³). If you are out by a factor of 1,000, the density units are wrong; check them with the mass calculator. Mass properties are explained in the mass properties lesson.
Next: exercise 13.
Download files
Commands used
Show solution
- Ø80 and Ø20 circles → Extrude 15.
- Rectangle 6 wide from inside the bore to 12.8 above the centre → Cut Through All.
- Check: bore bottom to keyway top = 10 + 12.8 = 22.8 mm.
Frequently asked questions
Why 22.8 mm?
+
It is measured across the bore to the keyway bottom, so it can be checked with a caliper: 20 mm bore plus 2.8 mm keyway depth.
What is the mass of exercise 12?
+
552.80 g in mild carbon steel at 7.85 g/cm³ — a volume of 70,420.15 mm³.
Related
- Exercise 13: Counterbored blockSOLIDWORKS practice exercise 13, counterbored block: hole Wizard counterbore type. Dimensioned drawing, STEP file and a check mass of 234.33 g.
- Exercise 11: U-channelSOLIDWORKS practice exercise 11, u-channel: closed profile from lines. Dimensioned drawing, STEP file and a check mass of 263.25 g.
- SOLIDWORKS rectangle toolsHow to sketch rectangles in SOLIDWORKS: Corner, Center, 3 Point Corner, 3 Point Center and Parallelogram, with construction lines and centring.
- Mass calculator for SOLIDWORKS and CSWA problemsCalculate part mass from volume and density in mm, cm, m or inches, with typical densities for steel, aluminium, brass and copper. Built for CSWA checks.