1:1 gasket CAD · ASME / EN library · photo tracer · mm / in
Photo to Gasket DXF Converter
Photograph the old gasket next to a ruler, drag two handles onto a known distance and the outline is traced in millimetres with every bolt hole snapped to a true circle.
photos
- Outer × inner
- —
- Bolt pattern
- —
- Bolt chord S
- —
- Ligament S − d
- —
- Hole → bore
- —
- Hole → outer edge
- —
- Area
- —
- Weight
- —
- Cut outer (+kerf)
- —
- Cut bore (−kerf)
- —
- Cut bolt hole
- —
- Segment box
- —
- 256 mm print bed
- —
- Fewest segments that fit
- —
Hole coordinates · polar & XY from the centre
| Hole | Angle | Radius | X | Y |
|---|
Export
this exact gasketFree proof saved — it is a screen check, not to scale. Unlock the same gasket as a 1:1 layered DXF, kerf SVG, TPU/mold STL and punch PDF with the Pro pack.
Proof width 1000 px · no DPI, not to scale
PROOF ONLY — NOT 1:1 SCALE · UPGRADE FOR 1:1 CAD DXF, KERF SVG, 3D TPU STL & 1:1 PRINTABLE PDF
Early Launch Price
Production Gasket CAD, Laser & 3D Print Pack
Unlock the production files for the gasket on screen. Instant access with a Pass.
Early Launch Price · Unlimited Gaskets for 7 Days
7-Day Workshop Pass
$4.99$9.99one payment · 7 days unlimited · no renewal
Launch Offer · Save 50%
Shop Pro Monthly
$7.99/mo$15.99/mobilled monthly · cancel anytime
Best Value · One-Time Payment
Lifetime Garage & Fab License
$19.99$39.99one payment · yours for good
Pay-per-file gasket sites charge from £2.99 per gasket — the 7-Day Workshop Pass is $4.99 for unlimited gaskets, one payment with no renewal. Monthly cancels anytime; Lifetime is one payment.
How to
Old gasket to clean CAD in four steps
- Shoot it flat, from abovePlain contrasting background, even light, a ruler or two dowel pins in the frame.
- Upload and check the traceThe outline (cyan) and true-circle holes (amber) appear on the photo in a second.
- CalibrateDrag handles 1 and 2 onto the known marks, type the distance, press Calibrate.
- Tidy and exportDrag nodes or delete stray holes, then export the DXF, SVG, STL or 1:1 PDF.
The photo
How to shoot a photo that traces well
Most bad traces come from the photo, not the tracer.
- Hold the phone parallel to the gasket; use the camera grid or a small level.
- Put the gasket on white paper (or a dark mat for light gaskets) and avoid the flash.
- Fill about 70 % of the frame and keep the whole outline inside it.
- Lay a steel ruler or two dowel pins at a known distance on the same plane as the gasket.
Under the hood
Calibration and true-circle snapping
The tracer converts the photo to luminance, picks the threshold between gasket and background with Otsu's method (you can override it), keeps the largest dark region as the gasket and follows its boundary. Every background region fully enclosed by the gasket becomes an inner contour.
Round, small contours are fitted with a least-squares circle and become bolt holes; the rest stay polylines on the INNER_BORE layer, shown as an equivalent "≈ Ø" diameter. Three or more holes on one circle give a bolt circle (PCD) when the fit residual is under 1 %.
| Demo | Calibration | Outline | Holes |
|---|---|---|---|
| Pump flange | 336 px = 84.0 mm → 4.000 px/mm | 100.0 × 100.0 mm, bore ≈ Ø50.0 | 4 × Ø10.0 on PCD 75.0 |
| 2-bolt exhaust | 400 px = 100 mm → 4.000 px/mm | 131.0 × 75.5 mm, bore ≈ Ø63.5 | 2 × Ø12.0 |
| Side cover | 252 px = 84.0 mm → 3.000 px/mm | 180.0 × 120.0 mm | 10 × Ø6.5 |
Accuracy
What accuracy to expect
A 4 px/mm photo resolves 0.25 mm per pixel; the boundary is placed between pixels, so a clean edge measures within about one pixel. Lens distortion and tilt add more, which is why the honest figure is about ±0.5 mm on a 100–200 mm part.
Before you cut, compare the traced bolt-hole spacing with calipers, or rebuild a round flange exactly in the flange gasket outline DXF page using the traced PCD as a starting point.
Privacy
The photo never leaves your browser. Only after calibration, and only when you export a Pro file, are the outline points in millimetres and the hole list sent to build the file in memory — not the image.
Use cases
When a photo is faster than measuring
- Irregular engine coversShapes that are not a rectangle or a ring; otherwise use the custom gasket maker.
- Worn originalsTrace, then print and punch the 1:1 template on gasket paper.
- Laser shops quoting a jobTurn a customer's phone photo into a kerf SVG; see the kerf guide.
- Printing a replacement sealExport the TPU STL from the trace; settings in the TPU gasket generator. Spacing math: bolt circle calculator; all formats: parametric gasket CAD.
FAQ
Questions from the shop floor
Short, specific answers. Open a question to read it.
Which photos work?
PNG, JPG or WebP up to 10 MB, shot straight down with the gasket flat on a plain surface that contrasts with it — a dark gasket on white paper or a light one on a dark mat (tick Invert). Put a ruler or two dowel pins of known spacing in the frame. Other file types are refused before decoding.
How does two-point calibration work?
You drag handle 1 and handle 2 onto two marks whose real distance you know and type that distance in mm. The pixel distance divided by the millimetres is the scale, shown as px/mm. The fixture photo gives 336 px for 84.0 mm, so 4.000 px/mm, and the 400 px gasket measures 100.0 mm.
What does "true circle" mean for the holes?
A camera rarely sees a hole as a perfect circle. Every closed region inside the gasket that is round enough (circularity 4πA/P² ≥ 0.80) and small enough is fitted with a least-squares circle, so the DXF gets a CIRCLE with an exact centre and diameter rounded to 0.1 mm instead of a wobbly polyline.
How accurate is it?
With a square-on photo, the gasket flat and a ruler in the frame, about ±0.5 mm on a 100–200 mm part; hole centres are usually better because the fit averages the whole edge. There is no perspective correction, so check critical spacings with calipers.
Can I fix the trace by hand?
Yes. Drag any outline node, double-click a line to add a node, select a node or hole and press Delete, use the Delete hole button, and Undo (or Ctrl+Z) up to 50 steps. Reset trace brings back the automatic result.
Is the photo uploaded?
No. Decoding, thresholding and tracing run inside your browser, in a background worker. When you export a Pro file only the calibrated outline in millimetres and the hole list are sent to build the file in memory; the photo itself never leaves your device and nothing is stored.
The gasket family
Same engine, a page for each job
Every tool page opens the same studio with its own examples; the guides explain the numbers.