Home » How to Edit STEP file in SolidWorks?

How to Edit STEP Files in SolidWorks: A Comprehensive Guide

Contents

For mechanical engineers and designers, working with non-native CAD data is an unavoidable part of the job. Whether you are collaborating with vendors using different software or downloading standard components from a library, you will frequently encounter STEP files.

The STEP format (Standard for the Exchange of Product model data) is the universal language of 3D CAD. However, when you open a STEP file in SolidWorks, it typically imports as a “dumb solid”—a single geometric body with no feature history, no sketches, and no dimensions. This makes editing the geometry difficult for users who are used to parametric modeling.

In a previous tutorial, the options for importing STEP files were explained. This detailed guide will cover the full workflow for converting these imported bodies into editable data, using 3D Interconnect, Import Diagnostics, and FeatureWorks.

Step 1: Preparation and File Download

To follow along with this tutorial, we will use a real-world example. Download part number 6039K14, a support rail for a 3/4″ shaft, from McMaster-Carr. When downloading, ensure you select 3-D STEP as the file type (usually AP203 or AP214).

Step 2: Breaking the Link (3D Interconnect)

Modern versions of SolidWorks (2017 and later) use a technology called 3D Interconnect by default. When you open a STEP file, SolidWorks does not actually convert it immediately; instead, it creates a direct link to the original file. This allows the model to update if the original STEP file is overwritten, but it severely limits your ability to edit the geometry.

If you see a small green arrow on your part icon in the FeatureManager design tree, the file is linked. To make the geometry editable, you must break this link:

  1. Right-click on the imported part reference in the FeatureManager Design Tree.
  2. Select “Dissolve Feature”.

This action breaks the link to the external file and converts the geometry into a SolidWorks “Imported Body.”

Note: If the file is only used as a reference component in an assembly and requires no changes, you do not need to proceed further. However, if you need to change hole sizes, move faces, or adjust the length, you must dissolve the feature.

Step 3: Ensuring Geometry Health

After opening the file and dissolving the feature, SolidWorks will often prompt you to run Import Diagnostics. You should almost always select Yes.

STEP files often contain minor topological errors resulting from the translation between different CAD kernels (e.g., exporting from CATIA or Creo and importing into SolidWorks). Import Diagnostics checks for:

  • Faulty Faces: Surfaces that are mathematically unstable.
  • Gaps: Minute spaces between surface edges that prevent the model from being a watertight solid.

For the McMaster part 6039K14, the file is clean and does not contain errors. If errors were found, you would click “Attempt to Heal All” before proceeding.

Step 4: Using FeatureWorks to Recognize Features

SolidWorks includes a powerful add-in called FeatureWorks. This tool uses geometric recognition algorithms to analyze the imported body and “reverse engineer” it into a parametric feature tree (Extrudes, Cuts, Fillets, and Holes).

To access this tool, right-click on the body (named Imported1) in the tree and select “FeatureWorks” > “Recognize Features”.

How to edit STEP files using FeatureWorks

FeatureWorks is the primary method for fully converting a dumb solid into an intelligent part. Here is the step-by-step workflow:

  1. Activate the Add-in: Go to Tools > Add-Ins and ensure “FeatureWorks” is checked. If it is not active, the option will not appear in your right-click menu.
  2. Open the Part: Go to File > Open and browse to the location of the STEP file. Ensure the file type filter is set to “STEP (*.step; *.stp)”.
  3. Import Settings: In the Open dialog box, you may adjust “Options” to control units and surface/solid preferences. Click “Open”.
  4. Verify the Solid: The STEP file will appear in the FeatureManager as “Imported1”. Ensure it is a solid body, not a surface body.
  5. Launch FeatureWorks: Right-click the imported body and select FeatureWorks > Recognize Features. Alternatively, go to Insert > FeatureWorks > Recognize Features.
  6. Select Recognition Mode: In the PropertyManager, you can choose:
    • Automatic: SolidWorks attempts to recognize the entire part at once. This is faster but often results in a messy feature tree.
    • Interactive: You select geometry manually. This is slower but provides a much cleaner, more logical feature tree.
  7. Select Feature Types: Check the boxes for the features you expect (Holes, Fillets, Chamfers, Extrudes).
  8. Process the Geometry: Follow the prompts to recognize features. Ideally, work backward—recognizing fillets first, then holes, then the main body.
  9. Review the Tree: SolidWorks will replace the imported body with new features. You can now edit the sketches and dimensions.
  10. Save the File: Go to File > Save As and save the file as a native SolidWorks Part (*.sldprt).

Note: FeatureWorks is powerful, but it is not magic. It works best on prismatic, machined parts. It struggles with complex organic shapes, lofts, or variable-radius fillets.

Step 5: The Interactive Recognition Strategy

Recognition can be set to automatic, but for this tutorial, the Interactive option will be used. This gives the user total control over how the model is built.

When using interactive recognition, a best practice is to select features in the reverse order of how you would model them in a machine shop. Think of it as “de-constructing” the part:

  1. Fillets and Chamfers: These are usually applied last in a design, so we recognize and remove them first to simplify the geometry.
  2. Holes and Cuts: Identify these next.
    • For the holes on the bottom flange, these are clearly a pattern. Select one hole, then check “Recognize pattern” and “Rectangular”. This converts them into a Hole Wizard feature with a pattern, rather than four individual cuts.
    • Do the same for the holes through the rail, but select “Linear” pattern if they align along an edge.
  3. Main Body: Finally, select the front face as the profile for the main Extrude or Base feature.

Upon clicking Recognize, FeatureWorks will analyze your selections. If successful, the following window will appear, listing the new features it is about to create:

Click the green check mark to complete the process. SolidWorks will now delete the “Imported Body” and replace it with a parametric history.

Post-Recognition Clean Up

Once the features are created, you must check the sketches. FeatureWorks attempts to add dimensions, but the sketches are often under-defined or dimensioned from strange origins.

Check whether sketches and features are fully defined or not. If they are not (indicated by a minus sign (-) next to the sketch name), edit the sketch and use Smart Dimension to fully define them according to your design intent.

The result is a standard SolidWorks part file that can be edited just like a file created from scratch.

Feature Recognition Options Explained

When using FeatureWorks, one of the most important elements to consider is the **Feature Recognition Options**. These settings determine which geometric algorithms SolidWorks applies to the model.

The FeatureWorks wizard prompts the user to select the types of features to recognize, such as holes, fillets, chamfers, bosses, and cuts. Depending on the complexity of the imported geometry, different combinations of feature recognition options may be required to accurately capture the original design intent.

Key Strategies for Recognition:

  • Volume Features vs. Surface Features: If a part is too complex for standard extrudes (like a molded plastic housing), you may need to uncheck “Standard Features” and recognize the geometry as surfaces instead.
  • Combine Features: If the imported geometry contains a lot of holes and fillets, selecting those options simultaneously can sometimes confuse the software. It is often beneficial to run FeatureWorks in multiple passes—recognizing all fillets first, accepting the changes, and then running FeatureWorks again on the remaining body to recognize the cuts.
  • Re-volve vs. Extrude: Watch out for cylindrical parts. FeatureWorks might try to create them as a stack of circular extrusions (like a stack of coins) rather than a single Revolve feature. You can force a “Revolve” recognition in Interactive Mode to keep the tree clean.

Selecting the appropriate recognition options is crucial to ensuring that the new features match the intended design and can be easily modified.

Alternative Method: Direct Editing

While FeatureWorks is excellent, it is sometimes overkill. If you only need to move a specific face or resize a single hole, you do not need to rebuild the entire feature tree. You can use Direct Editing tools.

Locate the Direct Editing tab on your CommandManager. Useful tools include:

  • Move Face: Allows you to translate or rotate specific faces (e.g., making the rail 10mm longer or shifting a hole location).
  • Delete Face: A powerful tool that can remove geometry. If you select a hole or a fillet and choose “Delete and Patch,” SolidWorks will remove the feature and fill in the gap as if it never existed.

This approach keeps the part as an “Imported Body” but adds modification features to the end of the tree. This is often faster for quick adjustments.

Maintaining the Design Intent

Design intent defines how your model behaves when dimensions are changed. When you model from scratch, you build this intent automatically (e.g., centering a hole on a face). When using FeatureWorks, the software is guessing the intent based on static geometry.

FeatureWorks attempts to recognize features based on the geometry it sees, but it may not always be accurate. For example:

  • Hole Types: FeatureWorks might recognize a threaded hole as a simple Cut-Extrude with the minor diameter. You may need to delete that feature and replace it with a Hole Wizard feature to ensure the thread callout is correct for drawings.
  • Dimensioning Schemes: FeatureWorks might dimension a cut from the bottom of the part, whereas you intend for it to be dimensioned from the top. You must manually edit the sketch to fix this.
  • Tolerances: Imported geometry is exact. If a hole is 9.998mm in the STEP file, FeatureWorks might dimension it as 9.998mm. You likely want to change this to a nominal 10mm.

By being aware of the original design intent and making any necessary adjustments to the recognized features, you can ensure that the final part matches the desired specifications. This is especially important if the part is used in a larger assembly, as deviations can affect fit and function.