How to put bolt holes on a PCD in 3D CAD: a flange with Circular Pattern, free in your browser
Place one bolt hole on the pitch circle, copy it with Circular Pattern, then change 4 holes to 8. Hole positions, spacing and volume all checked by hand.
Flanges, bearing housings, pulleys, motor mounts and manhole covers all have the same detail: a ring of equal holes on a pitch circle diameter, usually written PCD or bolt circle. Drawing each hole by hand with trigonometry works, but it breaks the moment someone asks for six holes instead of four. The quicker way is to model one hole and let Circular Pattern make the rest.
This guide builds a simple flange in Trevolyx, our free 3D CAD app that runs in Chrome or Edge with no install or account. Every number below came from the live app on 30 Nov 2026 and was checked by hand.
The part
| Feature | Size |
|---|---|
| Outside diameter | 150 mm |
| Bore | 60 mm diameter, through |
| Thickness | 16 mm |
| Pitch circle diameter (PCD) | 120 mm |
| Bolt holes | 4 x 18 mm, then changed to 8 x 18 mm |
An 18 mm hole is the ISO 273 medium clearance hole for an M16 bolt. The sizes show the method and are not copied from a flange table, so for a real pipe flange take the outside diameter, PCD, hole count and hole size from the standard you are working to, such as ASME B16.5 or EN 1092-1.
Where the holes go: the maths in one table
With n equal holes on a pitch circle of radius R = PCD / 2, hole k sits at angle a = a0 + k x 360 / n. Its centre is at x = R cos a and y = R sin a. The straight distance between neighbouring centres is the chord, PCD x sin(180 / n).
Where you start matters. ASME B16.5 says bolt holes come in multiples of four, are equally spaced, and that pairs of holes straddle the centrelines. So no hole sits on the vertical or horizontal line. For 4 holes that means starting at 45 degrees. For 8 holes it means starting at half a step, 22.5 degrees.
| Holes | First hole at | Step | Centre of first hole (x, y) | Chord between centres | Metal between holes (chord minus 18) |
|---|---|---|---|---|---|
| 4 | 45° | 90° | 42.426, 42.426 mm | 84.853 mm | 66.85 mm |
| 8 | 22.5° | 45° | 55.433, 22.961 mm | 45.922 mm | 27.92 mm |
The radial check matters as much as the spacing. From the hole edge to the outside of the flange is 75 minus 60 minus 9 = 6 mm, and from the hole edge to the bore is 60 minus 9 minus 30 = 21 mm. A thin outer edge like that 6 mm is the first thing to question on a real part.
Step 1: the disc
- Open Trevolyx in desktop Chrome or Edge and start a new Part.
- Start a sketch on the Top Plane so the flange lies flat. Draw two circles on the origin, 150 mm and 60 mm in diameter.
- Exit the sketch and press Extruded Boss/Base, Blind, 16 mm. The region between the circles becomes a ring with the bore already in it.
Step 2: one hole on the pitch circle
- Start a second sketch on the Top Plane. Draw a construction circle on the origin and give it a 120 mm diameter dimension. This is the PCD.
- Draw a construction line from the origin out to the right, and make it horizontal. Draw a second construction line from the origin to a point on the PCD circle.
- Draw an 18 mm circle centred on that point, and add a 45 degree angle dimension between the two lines.
- Exit and press Extruded Cut with the end condition Through All.

Dimensioning the PCD and the angle, rather than typing x and y coordinates, is the point. When the PCD changes, every hole follows.
Step 3: Circular Pattern
Select Cut-Extrude1 in the design tree and press Circular Pattern on the Features tab. Set the pattern axis, the total angle and the number of instances, tick the feature to copy, and press the green tick.

| Setting | Value here | What it does |
|---|---|---|
| Pattern axis | Y axis | The line the copies spin about. You can also pick a reference axis, a straight edge, a sketch line or a round face such as the bore. |
| Total angle | 360° | The arc the copies spread over |
| Number of instances | 4 | Includes the original hole |
| Equal spacing | On | At 360° the step is 360 / n, so the last copy does not land on the first |
| Features to Pattern | Cut-Extrude1 | Copies just that cut. Bodies to Pattern copies the whole solid instead. |
| Instances to Skip | None | Leaves gaps, for example where a lug or a drain hole goes |

Step 4: change 4 holes to 8
Edit CirPattern1 and change the number of instances to 8. Then edit the hole sketch and change the angle from 45 to 22.5 degrees, so the pairs still straddle the centrelines. If you skip that second edit, the 8 holes land at 45 degree steps from 45, which puts four of them right on the centrelines.

Check it by hand
The ring is pi / 4 x (150² minus 60²) x 16 = 237,504 mm³. Each hole removes pi / 4 x 18² x 16 = 4,071.5 mm³. Steel at 7,870 kg/m³ is 7.87 g per 1,000 mm³. For the axial moment of inertia, take the ring's value and subtract each hole's own inertia plus its mass times 60² (the parallel axis theorem).

| Check | By hand | In the app | Difference |
|---|---|---|---|
| Volume, 4 holes | 221,218 mm³ | 221,060 mm³ | -0.07% |
| Volume, 8 holes | 204,932 mm³ | 204,786 mm³ | -0.07% |
| Mass, 8 holes | 1.613 kg | 1.612 kg | -0.07% |
| Inertia about the axis, 8 holes | 5,164,921 g·mm² | 5,156,890 g·mm² | -0.16% |
| Centre of mass | On the axis, 8 mm up | X 0, Y 8, Z 0 mm | 0 |
| Bounding box | 150 x 16 x 150 mm | 150 x 16 x 150 mm | 0 |
The app reads slightly low because Mass Properties measures a fine faceted copy of every round face, and facets sit just inside a true circle. If your numbers differ by more than about half a percent, look for a radius typed as a diameter.
Common mistakes
- Typing coordinates instead of the PCD. It looks right until the PCD changes. Dimension the pitch circle and an angle.
- Forgetting the start angle. Changing the hole count without moving the first hole can put holes on the centrelines.
- Counting the seed twice. Number of instances includes the original. Eight holes means 8, not 7.
- Patterning the sketch circle only. Pattern the cut feature, so the copies stay linked to its depth and end condition.
- Not checking edge distance. A neat pattern can still leave a thin wall to the outside or the bore.
Need a drawing for the workshop? Follow how to make a 2D engineering drawing from a 3D model. For other turned parts, see Revolve in CAD with a pulley example, and the full command list is on the Trevolyx features page.
FAQ
What does PCD mean on a drawing?
Pitch circle diameter: the diameter of the circle that passes through the centres of a ring of holes. It is also called the bolt circle diameter.
How do I calculate the distance between bolt holes on a PCD?
Centre to centre, it is PCD x sin(180 / n), where n is the number of equal holes. On a 120 mm PCD that is 84.853 mm for 4 holes and 45.922 mm for 8.
Why are flange bolt holes off the centrelines?
ASME B16.5 asks for bolt holes in multiples of four, equally spaced, with pairs straddling the centrelines. Start the first hole at half a step, 45 degrees for 4 holes or 22.5 degrees for 8.
Should I pattern the hole sketch or the cut feature?
The cut feature. One sketch and one pattern keep the part easy to edit, and the copies follow any change to the original cut.
Is there a free CAD program with Circular Pattern in a browser?
Yes. Trevolyx is free, runs in Chrome or Edge on a normal laptop, keeps files on your computer and needs no account.
Sources
- ASME B16.5, Pipe Flanges and Flanged Fittings (clause 6.5: bolt holes in multiples of four, equally spaced, pairs straddling the centrelines)
- ISO 273, Fasteners, Clearance holes for bolts and screws (fine, medium and coarse clearance hole series)
- Circular Segment, Wolfram MathWorld (chord length from radius and angle)
- Every volume, mass and inertia above was measured on the live Trevolyx app on 30 Nov 2026
Written by the TaskNinja team with help from an AI writing tool, then checked against the live app and hand calculations.