STEP File Viewer & Measure Tool
Open a STEP (.step, .stp) or STL file and check its sizes: click a hole for its diameter, two faces for the wall thickness or angle, two points for the distance and ΔX ΔY ΔZ. You also get the overall size, volume, surface area, weight in your material, centre of mass and a list of every hole. Inspect part lists every hole with its X, Y, Z from your datum and the likely tap drill or screw size, plus fillets, chamfers, the smallest inside corner radius, the thinnest wall and the setups needed. Add measurements to an inspection list with tolerances, type in what you measured for pass or fail, then print it, save a CSV or send it to First Article Inspection. Measurements from the exact STEP geometry are marked exact. Published November 19, 2026.
Part Inspection
Press Inspect part for a feature report: hole table with positions from the datum and likely thread sizes, counterbores and countersinks, fillets and chamfers, the smallest inside corner radius, the thinnest wall and which faces need another setup.
Inspection List
Measure something, then press Inspect on it (or Add sizes & holes after Inspect part). Each one gets a numbered balloon in the view. Set the tolerance, type the size you measured on the real part, and it shows pass or fail.
| # | Characteristic | Nominal | + Tol | − Tol | Actual | Result | Remove |
|---|---|---|---|---|---|---|---|
| Nothing in the list yet. | |||||||
Hole List
Cylindrical holes found in the model, grouped by size. Click a row to light those holes up in green.
| Qty | Diameter | Type / depth | Counterbore / sink | Position from datum |
|---|---|---|---|---|
| Open a file to list its holes. | ||||
Size, Volume & Weight
Open a file (or the sample) to see its size, volume and weight.
Measure
Parts
How the STEP File Viewer Works
The viewer is written in Rust and runs in your browser as WebAssembly. It reads the STEP file with the open-source truck CAD kernel, turns every face into triangles for display, and keeps the real surfaces (planes, cylinders, cones, spheres) and edges (lines, circles) for measuring. The 3D view is drawn with WebGPU, or WebGL2 on browsers without WebGPU. The file is read on your device in a background thread and is never sent to a server.
STEP or STL?
A STEP file (ISO 10303-21, saved as .step or .stp, usually AP203, AP214 or AP242) stores the exact shape: a hole is a true cylinder with a radius, an edge is a true circle or line. An STL file only stores flat triangles, so a hole is a polygon with many sides. That is why the viewer can give exact diameters, areas and volumes from a STEP file, but only close figures from an STL. Measurements from the exact STEP geometry are tagged exact; those from triangles are tagged mesh, approximate.
The Method
Worked Examples (the sample bracket)
The sample is an L-bracket: an 80 × 50 × 10 mm base and a 10 mm upright, 60 mm tall overall, with an R6 inside fillet, a 3 × 45° chamfer and five holes. Open it and the panel shows:
- Overall size 80.000 × 50.000 × 60.000 mm
- Volume 62,988.998 mm³ (62.989 cm³). By hand: 50 × (1,331.5 − 9π) − π(3.3² × 4 + 5.5² × 6 + 3.3² × 10 + 2.5² × 6 + 2 × 4² × 10) = 62,988.998 mm³
- In aluminium (2.70 g/cm³): 62.989 × 2.70 = 170.07 g (0.3749 lb)
- Centre of mass (26.495, 25.058, 16.179) mm
All of these come from the exact surfaces, so the page tags them exact.
- Click the top edge of the counterbore: circle Ø11.000 mm (R5.500), centre (45.000, 15.000, 10.000).
- The hole list shows 1 × Ø6.600 thru, counterbore Ø11.000 × 6.000 deep (an M6 cap screw hole), 1 × Ø6.600 thru, 1 × Ø5.000 blind 6.000 deep and 2 × Ø8.000 thru.
- Click the underside of the base, then the top of the base: parallel faces, 10.000 mm apart (0.3937 in).
- Click the chamfer, then the top of the upright: 45.000°.
Switch to inch and the same picks read Ø0.4331 in and 0.3937 in.
Exact or Mesh?
A STEP face is recognised as a plane, cylinder, cone or sphere by fitting points that lie on the CAD surface. When the fit is perfect (within 0.001 % of the part size) the size you see is the CAD size to floating-point precision, and it is tagged exact. Faces that are free-form (B-spline) or toroidal, and everything from an STL, are measured on the triangles and tagged mesh, approximate. On a mesh, a hole diameter is usually within a few hundredths of a millimetre; volume can read slightly low or high where curved faces are cut into flat triangles.
Inspecting a Part
Datum. Coordinates, hole positions and the section position are shown from the datum: the model origin, a corner or the top centre of the part's box, or a point you pick. Press Pick datum and click a hole or corner for X0 Y0 Z0, or up to three flat faces (for example the left side, the front and the top) to set one axis each, the way you would touch off a part in a vice.
Inspect part lists the holes with diameter, depth, through or blind, the side they are drilled from and X, Y, Z from the datum, groups holes of the same size, and names the likely thread or screw: on the sample bracket the Ø5.000 blind hole is the M6 × 1 tap drill and the Ø6.600 hole with an Ø11.000 counterbore is an M6 cap screw hole. It also finds fillets and chamfers (the bracket's R6 inside fillet and 3.000 × 45° chamfer), the smallest inside corner radius and so the largest end mill that fits it (R6 → Ø12.000), the thinnest wall (4.000 mm under the counterbore) and which faces a tool coming down from +Z cannot reach, with the fewest setups that reach them all. Thread sizes are suggestions, because a STEP file has no thread data.
Inspection list. Any measurement can be added to the list. It gets a numbered balloon in the 3D view and a row with the nominal size from the model, a ± tolerance you can change and a column for the size you measured. Print the list with a picture of the ballooned part (with your My Shop letterhead if you have set one up), download it as CSV, or send it to the First Article Inspection report.
Browser Support
The viewer uses WebGPU where the browser has it (Chrome and Edge since 2023, and recent Safari and Firefox releases) and falls back to WebGL2 everywhere else, which every current desktop and phone browser supports. The badge in the bottom-left corner of the view shows which one is in use. Measuring works the same on both, because it runs in WebAssembly, not on the graphics card.
Limits of the STEP Reader
STEP is a large standard and no small reader covers all of it. This one uses truck-stepio, a pure-Rust reader, plus our own code for units, assemblies and colours. It reads B-rep solids and surfaces (MANIFOLD_SOLID_BREP, BREP_WITH_VOIDS, SHELL_BASED_SURFACE_MODEL) with planes, cylinders, cones, spheres, tori, B-spline and NURBS surfaces and surfaces of revolution and extrusion. It does not read AP242 tessellated (mesh-only) STEP, faceted B-reps (POLY_LOOP), offset surfaces, trimmed or composite curves, or PMI (3D dimensions and tolerances). If a file fails or shows missing faces, the message names the entity it could not read. Re-exporting from your CAD as STEP AP214 (or AP203) usually fixes it; if not, export STL to view and measure the mesh. In our own tests with real part files from SolidWorks, Fusion and other CAD, most opened; a few failed on surfaces the reader cannot handle, and very large assemblies can run out of browser memory.
Privacy
The file never leaves your computer or phone: it is read with the browser's file API and processed by WebAssembly in a background worker on your device. Nothing about the model is stored or sent, and closing the tab discards it.
Tips for Using the Results
- Use Top, Front and Right with orthographic projection to line up edges and check hole positions like a drawing.
- Point to point snaps to corners, edge midpoints and hole centres: click near a hole's rim to measure centre-to-centre distances for a drilling or DRO hole pattern.
- Turn on a section to see wall thickness and blind hole depths inside the part; the cut faces show in red, the outline of the cut is drawn with its width and height, and point to point snaps to the corners of the outline.
- Check the weight before you order stock: compare with the metal weight calculator for the bar or plate you will machine it from.
- Plan the holes with the tap drill calculator and fastener clearance chart, and the cutting time with speeds and feeds.
- Set the datum where you touch off (Pick datum) so the hole table reads like your DRO.
- A drawing still rules. A STEP file has no tolerances; use the measured sizes as nominal sizes and check the drawing for limits.
Frequently Asked Questions
Results are taken from the model as drawn and are only as good as the file. Densities are typical values for each material family. Always check critical sizes against the drawing and the real part.
Open-source credits: the viewer is built with truck (CAD kernel and STEP reader, Apache-2.0, RICOS), ruststep (Apache-2.0), cgmath (Apache-2.0), wgpu and naga (MIT or Apache-2.0), wasm-bindgen (MIT or Apache-2.0), serde (MIT or Apache-2.0) and nom (MIT), plus smaller Rust crates under MIT, Apache-2.0, Zlib and BSD licences. Full licence texts: third-party licences.