Repairing Imported STEP and IGES Geometry in SolidWorks: Surface Knitting and Solid Recovery
Workflow for diagnosing and fixing imported STEP/IGES files with gaps, overlapping surfaces, and failed solid body conversion using SolidWorks import diagnostics and surface healing tools.

Repairing Imported STEP and IGES Geometry in SolidWorks: Surface Knitting and Solid Body Recovery
If you work in a multi-CAD environment, you know the pain of importing STEP or IGES files that arrive as a mess of unconnected surfaces instead of a clean solid body. I've spent countless hours knitting surfaces, closing gaps, and trying to salvage imported geometry from customers and suppliers. After a while, I developed a systematic repair workflow that takes you from a broken surface import to a watertight solid body — and it works for the vast majority of cases.
Understanding Why Imports Fail
STEP and IGES files store geometry as a collection of trimmed surfaces (B-spline, cylindrical, planar, etc.). When SolidWorks reads these surfaces, it attempts to knit them together into a solid body. The knit fails when:
- Gaps exist between adjacent surfaces: The edges of neighboring surfaces do not meet within the tolerance specified by the import settings.
- Overlapping surfaces: Two surfaces occupy the same space, creating ambiguity in the solid boundary.
- Missing surfaces: A face was not included in the export, leaving a hole in the body.
- Topology mismatch: The edge curves of adjacent surfaces do not match, even though the surfaces themselves are geometrically close.
The import tolerance (how closely edges must match to be considered coincident) is the primary factor determining whether an import succeeds or fails.
Step 1: Configure Import Settings
Before opening the STEP/IGES file, configure the import options:
-
Go to Tools > Options > Import.
-
Select "STEP" or "IGES" from the file format list.
-
Set the following options:
- Import as: "Solid body" (attempt solid first; fall back to surface if it fails)
- Surface tolerance:
0.001 mm(tight) or0.01 mm(loose) - Import planes and axes: Checked
- Merge coincident points: Checked
- Automatically run Import Diagnostics: Checked
-
Click OK.
Tolerance Selection
- 0.001 mm: Use for precision parts (aerospace, medical). Tighter tolerance means SolidWorks will reject edges that are more than 1 micron apart, resulting in more failed knits but higher accuracy.
- 0.01 mm: Use for general mechanical parts. This tolerance allows edges up to 10 microns apart to be considered coincident, resulting in more successful automatic knits.
- 0.1 mm: Use for large architectural or structural models where sub-millimeter precision is not required.
Step 2: Run Import Diagnostics
When the import completes, Import Diagnostics runs automatically (if enabled in Step 1). If it does not run automatically:
- Right-click the imported feature in the feature tree.
- Select "Import Diagnostics."
The Import Diagnostics panel displays:
- Failed faces: Surfaces that could not be knitted
- Gap edges: Open edges where surfaces do not meet
- Overlapping faces: Surfaces that occupy the same region
Automatic Repair
Click "Attempt to Heal All" in the Import Diagnostics panel. SolidWorks will:
- Close gaps by extending adjacent surfaces to meet
- Remove duplicate/overlapping faces
- Re-knit the surfaces into a solid body
Review the results. If "Attempt to Heal All" resolves all issues and creates a solid body, the repair is complete. If issues remain, proceed to manual repair.
Step 3: Manually Close Gaps
For gaps that automatic healing cannot resolve:
Identify the Gaps
- In the Import Diagnostics panel, click each "Gap" entry to highlight it in the graphics area.
- Note the gap size displayed in the panel. Gaps larger than the import tolerance require manual intervention.
Close Small Gaps with Surface Extension
- Right-click the gap edge in the graphics area.
- Select "Close Gap" from the context menu.
- SolidWorks extends the adjacent surfaces to close the gap.
If "Close Gap" is not available (the gap is too large), use the Surface Extension tool:
- Go to Insert > Surface > Extend.
- Select the edge of the surface adjacent to the gap.
- Set the extension distance to slightly more than the gap size.
- Set the extension type to "Same Surface" (maintains curvature continuity).
- Click OK.
- Repeat for the other surface forming the gap.
- Use the Knit Surface tool to join the extended surfaces.
Close Large Gaps with Filled Surface
For gaps too large to close by extension:
- Go to Insert > Surface > Filled Surface.
- Select the edges surrounding the gap.
- Set the edge condition to "Tangent" or "Curvature" for smooth continuity.
- Click OK to create a filled surface.
- Knit the filled surface with the surrounding surfaces.
Step 4: Fix Overlapping Faces
Overlapping faces occur when two surfaces from the source CAD system cover the same region. SolidWorks cannot determine which surface represents the true boundary.
- In the Import Diagnostics panel, click the "Overlapping Face" entry.
- Both overlapping faces are highlighted in the graphics area.
- Determine which face is correct by examining the surrounding geometry. The correct face should have edges that align with adjacent surfaces.
- Right-click the incorrect face and select "Delete Face."
- Re-knit the remaining surfaces.
Step 5: Replace Missing Faces
If a face is entirely missing from the import (common with IGES files from older CAD systems):
- Identify the hole in the surface body by rotating the model and visually locating the opening.
- Go to Insert > Surface > Filled Surface.
- Select the edges surrounding the hole.
- Set the edge condition to "Tangent" for smooth continuity with adjacent surfaces.
- Click OK.
- Knit the new filled surface with the existing surfaces.
Step 6: Knit Surfaces into a Solid Body
After all gaps, overlaps, and missing faces are resolved:
- Go to Insert > Surface > Knit Surface.
- Select all surfaces in the graphics area (or select them from the Surface Bodies folder in the feature tree).
- Check "Try to form solid."
- Click OK.
If the knit succeeds with "Try to form solid" enabled, the surface body is converted to a solid body. The new solid body appears in the Solid Bodies folder in the feature tree.
Knit Failure
If the knit fails with "Try to form solid," it means the surfaces still have gaps or topology issues that prevent a watertight closure. Run Import Diagnostics again to identify remaining issues:
- The diagnostics panel may now show new issues that were not visible before the manual repairs.
- Fix each issue using the methods in Steps 3-5.
- Re-attempt the knit.
Step 7: Verify the Repaired Solid
After successfully creating a solid body:
Check Volume
- Go to Tools > Evaluate > Mass Properties.
- Verify that the volume is non-zero and reasonable for the part size.
- If the volume is zero, the body is still a surface body, not a solid.
Check for Internal Volumes
- Go to Tools > Evaluate > Check.
- Check "Minimum radius of curvature" and "Import diagnostics."
- Click OK.
- Review the report for any remaining issues.
Check Cross-Section
- Go to Insert > Cut > Section View.
- Create a section through the middle of the part.
- Verify that the cross-section shows solid material, not hollow regions or missing faces.
Step 8: Simplify the Repaired Model
Imported geometry often contains hundreds of small surfaces that make subsequent modeling operations slow and difficult. After repairing the import:
Use the Delete Face Tool
Remove unnecessary faces (such as fillets that will be recreated natively):
- Go to Insert > Face > Delete.
- Select the face(s) to remove.
- Check "Delete and Patch" to close the resulting gap automatically.
Use the Combine Tool
Merge multiple solid bodies into one:
- Go to Insert > Features > Combine.
- Select "Add" and choose all solid bodies.
- Click OK.
Rebuild Key Features Natively
For critical features (mounting holes, bearing seats, sealing surfaces), delete the imported geometry and recreate the feature using native SolidWorks tools (Hole Wizard, Extrude Cut, Revolve Cut). Native features are parametric, easier to modify, and more reliable than imported geometry.
Best Practices for Future Imports
- Request STEP AP242 format: AP242 is the latest STEP application protocol and includes better topology handling than AP203 or AP214.
- Ask the source CAD user to export with "solid" topology: Some CAD systems can export surfaces as a solid body or as individual surfaces. Solid body export produces cleaner imports.
- Avoid IGES for complex geometry: IGES is an older format with known limitations in topology representation. Use STEP whenever possible.
- Document the source CAD system: Different CAD systems produce different translation artifacts. Knowing the source system helps predict which repair tools will be needed.
Source Verification
More Solidworks Guides
troubleshooting
Fixing SolidWorks License Error 5: No Feature Available
12 min read
troubleshooting
Resolving Mate Conflicts and Rebuild Lag in SolidWorks Assemblies
12 min read
performance
Large Assembly Performance Tuning in SolidWorks: System Settings and Workflow Strategies
14 min read
manufacturing
Configuring K-Factor and Bend Tables for Accurate Sheet Metal Flat Patterns in SolidWorks
13 min read
Related Troubleshooting Guides
Similar troubleshooting content for other CAD tools
3ds Max
•troubleshooting
3ds Max FBX and OBJ Import: Missing Materials, Broken UVs, and Texture Path Recovery
11 min
3ds Max
•troubleshooting
3ds Max Plugin DLL Errors: Missing Files, Load Failures, and plugin.ini Repair
9 min
3ds Max
•troubleshooting
3ds Max Random Crashes: Memory, Driver, and Crash Log Analysis Guide
10 min
Altium Designer
•troubleshooting
Fixing Altium Designer DRC Errors: Common Clearance and Routing Violations
9 min