Skip to content
TaskNinja

HomeBlog

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.

By the TaskNinja team · · 7 min read

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

FeatureSize
Outside diameter150 mm
Bore60 mm diameter, through
Thickness16 mm
Pitch circle diameter (PCD)120 mm
Bolt holes4 x 18 mm, then changed to 8 x 18 mm
Flange sizes used in this example (plain carbon steel)

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.

HolesFirst hole atStepCentre of first hole (x, y)Chord between centresMetal between holes (chord minus 18)
445°90°42.426, 42.426 mm84.853 mm66.85 mm
822.5°45°55.433, 22.961 mm45.922 mm27.92 mm
Hole centres on a 120 mm PCD (R = 60 mm), straddling the centrelines

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

  1. Open Trevolyx in desktop Chrome or Edge and start a new Part.
  2. 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.
  3. 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

  1. 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.
  2. 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.
  3. Draw an 18 mm circle centred on that point, and add a 45 degree angle dimension between the two lines.
  4. Exit and press Extruded Cut with the end condition Through All.
Trevolyx top view of the bolt hole sketch on the Top Plane: a dashed 120 mm construction circle, an 18 mm hole on it, and a 45 degree angle dimension from a horizontal construction line
One hole, placed by a PCD diameter and an angle. These two dimensions drive the whole bolt circle.

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.

Trevolyx Circular Pattern panel with Pattern axis Y axis, total angle 360, 4 instances, Equal spacing ticked and Cut-Extrude1 ticked under Features to Pattern, with the four hole preview on the flange
The Circular Pattern panel. The flange was sketched on the Top Plane, so its centre line is the Y axis.
SettingValue hereWhat it does
Pattern axisY axisThe 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 angle360°The arc the copies spread over
Number of instances4Includes the original hole
Equal spacingOnAt 360° the step is 360 / n, so the last copy does not land on the first
Features to PatternCut-Extrude1Copies just that cut. Bodies to Pattern copies the whole solid instead.
Instances to SkipNoneLeaves gaps, for example where a lug or a drain hole goes
Circular Pattern settings and what they do
Trevolyx isometric view of the finished four hole flange, with Boss-Extrude1, Cut-Extrude1 and CirPattern1 in the design tree
Four holes from one cut and one pattern.

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.

Trevolyx top view of the flange with eight bolt holes evenly spaced on the pitch circle, with pairs either side of the vertical and horizontal centrelines
Eight holes, starting at 22.5 degrees. No hole sits on a centreline.

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).

Trevolyx Mass Properties panel for the eight hole flange in Plain Carbon Steel at 7,870 kg per cubic metre: mass 1.612 kg, volume 204,786 cubic millimetres, bounding box 150 by 16 by 150 mm
Mass Properties on the Evaluate tab for the eight hole version.
CheckBy handIn the appDifference
Volume, 4 holes221,218 mm³221,060 mm³-0.07%
Volume, 8 holes204,932 mm³204,786 mm³-0.07%
Mass, 8 holes1.613 kg1.612 kg-0.07%
Inertia about the axis, 8 holes5,164,921 g·mm²5,156,890 g·mm²-0.16%
Centre of massOn the axis, 8 mm upX 0, Y 8, Z 0 mm0
Bounding box150 x 16 x 150 mm150 x 16 x 150 mm0
Hand check against Mass Properties (plain carbon steel, 7,870 kg/m³)

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

Written by the TaskNinja team with help from an AI writing tool, then checked against the live app and hand calculations.