STEP Files
My STEP File Won't Open or Convert: Causes and Fixes
How to diagnose a STEP file that won't open, looks incomplete or won't convert: text-editor checks, real error messages and how to ask for a proper export.
On this page
In short
- Most STEP files that “won't open” have one of these problems: they are not really STEP, they are truncated, they are empty, or they are a native format with a different extension.
- The first three can be spotted in a minute with a text editor: a STEP file starts with
ISO-10303-21;and ends withEND-ISO-10303-21;. - If the file opens but parts are missing, it looks like loose surfaces or the dimensions are off, the problem is how it was exported, and the fix is to ask for a new export.
When a STEP file won't open, the temptation is to try another program. Before that, it is worth knowing what is wrong with the file: the cause is almost always visible in the file itself, and the fix usually lies with whoever exported it. This guide goes from the quickest checks to the more involved ones, with the real messages StepPDF 3D shows in each case.
Quick diagnosis
| Symptom | Likely cause | What to do |
|---|---|---|
| Geometry could not be read | Truncated or damaged file | Check the last line; download it again or ask for a new export |
| “Not a valid STEP file” | Missing header: another format with a .step extension, or a damaged start | Look at the first line; export to STEP from the original program |
| “The file is empty” | 0 bytes: failed download or attachment | Download it again; check the size before opening |
| Asks for an “intermediate conversion” | Native format (.sldprt, .ipt, .catpart…) | Export to STEP from the CAD program that created it |
| Very slow or cancelled | Assembly too large for the available memory or time | “Low” tessellation quality, a computer with more memory or a desktop program |
| Parts are missing | Assembly exported as several files or with external references | Ask for the assembly in a single file |
| Loose surfaces, no volume | Exported as surfaces, not solids | Ask for a solids export |
| Dimensions 25.4 times too large or small | Millimetre/inch mix-up | Check the export units |
What we saw when testing faulty files
To document the messages, we deliberately prepared files with typical problems from the sample assembly as1-oc-214.stp (433,606 bytes) and loaded them into the StepPDF 3D converter, in English and Spanish:
| Test file | How it was prepared | Result |
|---|---|---|
truncado_50.step | Only the first half of the file (216,803 bytes), like an interrupted download | The header is correct, so the file is accepted, but reading fails: “The file geometry could not be read. Check that it is a valid, undamaged STEP file.” |
sin_cabecera.step | The same STEP file without its header lines; it starts directly at DATA; | “The file has a STEP extension but its content is not a valid STEP file (the ISO-10303-21 header is missing).” |
malla_renombrada.step | A binary STL with the extension changed to .step | The same missing-header message |
texto.stp | An arbitrary 20-byte text file | The same missing-header message |
vacio.step | 0 bytes | “The file is empty.” |
pieza.sldprt | A test file with a SolidWorks extension (not a real model) | Explains that it is a native format and how to export it to STEP AP214/AP242 |
In none of the cases did the convert button appear: the program does not try to generate a PDF from a file it could not read. The last case is recognised by its extension, which is why a test file works; what we checked is the message, not the reading of a SolidWorks model.
How to check a STEP file with a text editor
A STEP file is plain text: the ISO 10303-21 standard defines that clear-text encoding, with a header section and a data section. So Notepad, TextEdit or any code editor is enough for a basic diagnosis. If the file is very large, use an editor that can open large files without loading them entirely.
- Look at the size. 0 bytes means there is nothing to repair: download it again. A size much smaller than expected suggests a truncated file.
- Look at the first line. It must be exactly
ISO-10303-21;. If you see gibberish, the file is binary (a native format, an STL or an archive). If it starts with%PDFit is a PDF; if it starts withPKit is a ZIP. - Search for
FILE_SCHEMA. It tells you the protocol:AUTOMOTIVE_DESIGNis AP214,CONFIG_CONTROL_DESIGNis AP203 and a name starting withAP242is AP242. - Look at the last line. It must be
END-ISO-10303-21;. In our truncated file the text stopped in the middle of an entity (#31, with no semicolon), which is impossible in a complete STEP file.
These four checks do not guarantee that the geometry is correct, but they rule out the most common problems before you ask for help.
If the file is a native format
Each CAD program's own formats (SolidWorks .sldprt/.sldasm, Inventor .ipt/.iam, CATIA .catpart, Creo .prt, NX .prt…) cannot be read in the browser: they are proprietary and each vendor decides how they are stored. The fix is to export to STEP from the program that created the model, usually through Save As or Export. If you do not have that program, ask the sender to export it.
When exporting, choose AP214 or AP242, export solids and save the assembly as a single file. In SolidWorks, for example, the path is File › Save As with the STEP AP214 or AP242 file type.
If the file is too large
A valid STEP file may still fail to open if the computer does not have enough memory. StepPDF 3D processes everything inside the browser tab, so it has fixed limits to keep the page from freezing: 100 MB per file, 3 minutes of processing and 6 million triangles on screen. When one is reached, a message says so.
- Lower the tessellation quality to “Low”: it reduces triangles and time. In our tests with an 18-part assembly, Low used 2,892 triangles versus 8,676 at High.
- Close other tabs and try a computer with more memory.
- Ask only for what you need: sometimes a subassembly is enough instead of the full product.
- For assemblies with hundreds of parts, a desktop viewer or CAD program is usually better suited than any browser-based tool.
If it opens, but something is not right
Missing parts
Some CAD programs can export an assembly as a main file that references other files, one per part. If you only receive the main one, you will see the structure but not every part. Ask for a single-file export. Also check the component count shown by the viewer: if you expected 18 parts and 3 appear, the problem is the export, not the viewer.
Surfaces instead of solids
If the model looks like sheets with no thickness, with gaps between faces, or the viewer does not recognise any solids, it was probably exported as surfaces. The StepPDF 3D information panel shows the geometry type; for the sample assembly it reads “B-Rep solids (5)”. Ask for the bodies to be exported as solids.
Dimensions that don't add up
Compare the overall dimensions with a value you know. A 200 mm part read as if it were in inches would measure 5,080 mm (200 × 25.4); the other way round, 7.87 mm. A factor of 25.4 almost always points to a units mix-up during export. A STEP file declares its units (in the sample, SI_UNIT(.MILLI.,.METRE.), i.e. millimetres), so the fix is made when exporting, not by guessing a scale.
No colours
The original AP203 does not store colours; AP214 and AP242 do. If the model arrives grey and you need the colours, ask for an AP214 or AP242 export with colours enabled.
How to ask for a good export
Many problems are avoided by asking for the file with clear instructions. A message like this is usually enough:
“Could you send me the model as STEP AP214 (or AP242), exported as solids, with the complete assembly in a single file and in millimetres? With colours, if possible.”
When you receive it, open it in a viewer and check in a minute: that the first line is ISO-10303-21;, that the component count is what you expected, that the overall dimensions are right and that the geometry shows up as solids. If everything is fine and you are forwarding it to someone without CAD, consider turning it into a 3D PDF.
Frequently asked questions
Can a truncated STEP file be repaired?
Not reliably in practice. Entities at the end of the file are referenced by others, so whole faces or products are missing. The right fix is to download it again or ask for a new export.
I renamed my file to .step and it doesn't work. Why?
The extension does not change the content. A STEP file is text that starts with ISO-10303-21;; a renamed STL, SolidWorks file or PDF is still what it was. The model has to be exported to STEP from the program that created it.
The STEP file opens in my CAD software but not in the online viewer. What should I do?
Check the size and the number of parts first: a very large assembly can exceed the tab's memory or the time limit. Try the “Low” tessellation quality. If the problem persists, export again as AP214 with solids.
Which protocol should I ask for: AP203, AP214 or AP242?
AP214 is a very compatible choice for exchanging geometry, structure and colours. AP242 makes sense if you need 3D annotations (PMI) and the recipient supports it. See what a STEP file is.