SolidWorks to Blender: How to Import SLDPRT Models

Solid vs. Surface

SolidWorks and Blender use different 3D modelling techniques
SolidWorks and Blender use different 3D modelling techniques (Source: Sebastian Torres via ZBrushTuts)

SolidWorks is a professional computer-aided design (CAD) tool developed by the French company Dassault Systèmes. It’s one of the industry leaders for 3D CAD modeling, serving different industry sectors including automotive, aerospace, and medical. Among all this, SolidWorks maintains its focus on engineering systems and assemblies, having both CAM and virtual simulation modules available for purchase.

At the other end of the spectrum, the free and open-source Blender is dedicated to a more artistic public. Nonetheless, it’s a comprehensive tool for professionals and hobbyists alike. Blender is much more than a 3D modeling software, as it can create animations, visual effects, interactive 3D applications, and VR scenes. For this reason, it has a powerful 3D render built-in.

These two programs work with different types of 3D modeling: Blender with surface modeling and SolidWorks with, well, solid modeling. This partially explains why SolidWorks SLD files won’t work natively with Blender. But don’t worry – there’s always a workaround.

Back to Contents

Advertisement
Advertisement
Advertisement
SolidWorks to Blender: How to Import SLDPRT Models

Why Convert?

Blender has many capabilities, including 3D animation
Blender has many capabilities, including 3D animation (Source: Vertex Wizards via Blender Market)

There are lots of possible answers to this question. Sometimes it’s just a matter of transferring an SLD part or assembly to a Blender animation scene or gaming assets. Another good reason to import SolidWorks parts to Blender is to use its high-end 3D rendering engine.

SolidWorks does have a built-in render engine, PhotoWorks, and while it’s quite convenient to work with it, it can’t output photo-realistic images as well as Blender. The fact that Blender is free multi-platform software also helps as anything SolidWorks-related is usually very costly.

In the next sections, we’ll cover two methods of transferring a SolidWorks part to Blender, regardless of what the final application will be.

Back to Contents

Advertisement
Advertisement
Advertisement
SolidWorks to Blender: How to Import SLDPRT Models

Working With VRML Files

SolidWorks can export several different file formats
SolidWorks can export several different file formats (Source: Lucas Carolo via All3DP)

The most straightforward way to import a SolidWorks file into Blender is to work with VRML (*.wrl) files. The “Virtual Reality Modeling Language” extension is a standard file format for 3D interactive vector graphics, especially used for VR applications. VRML evolved into X3D long ago, and Blender can directly import either file type. However, the reason we’re using VRML is that SolidWorks can export this format.

Let’s try it out. With the model or assembly open in Solidworks:

  1. Go to File > Save As.
  2. In the Save window, go through the Type dropdown list and select VRML.
  3. Once that’s done, a new Options button will be displayed. Click on it.
  4. Select the output version as “VRML 97” as shown in the image below. This is equivalent to the VRML 2.0 that works with Blender.
  5. Set the units to Meters as that’s Blender’s default.
  6. Click OK and save the file.
Working with VRML files is the straightforward way to import files into Blender
Working with VRML files is the straightforward way to import files into Blender (Source: Lucas Carolo via All3DP)

Now it’s just a matter of opening the file in Blender. With Blender open, go to File > Import > X3D Extensible 3D (.x3d/.wrl). That’s it!

If everything goes well, the model should be successfully imported into Blender. We used “if” because some Blender users have found this method to be unsuccessful.

Even when it does works, converting to VRML files can reduce a model’s resolution drastically, and while it can be good enough for some applications, for animation and realistic 3D rendering you’ll need a higher resolution.

So, let’s take a look at another method for importing SolidWorks files to Blender, this time through mesh files.

Back to Contents

Advertisement
Advertisement
Advertisement
SolidWorks to Blender: How to Import SLDPRT Models

Working With STL Files

Working with mesh files can give the resolution required for photo-realistic rendering
Working with mesh files can give the resolution required for photo-realistic rendering (Source: Lucas Carolo via All3DP)

Blender can directly import mesh files too, including our old friend the STL format (.stl). Triangular meshes are very easy to work with and can be exported with a high resolution by SolidWorks. Let’s get to it.

  1. In SolidWorks, go to File > Save As.
  2. In the Save window, go through the Type dropdown list and select STL.
  3. Once that’s done, a new Options button will be displayed. Click on it.
  4. Change the units to Meters.
  5. Under Resolution, select “Fine” if you need a high-resolution model. You can also customize the final resolution with the tolerance sliders on the right.
  6. Click OK and save the file.
  7. In Blender, go to File > Import > Stl (.stl)
If properly done, the STL models will have the correct scaling once imported to Blender
If properly done, the STL models will have the correct scaling once imported to Blender (Source: Lucas Carolo via All3DP)

This time the model will be imported for sure. And as long as it was exported in meters, it will be on the right scale.

So that’s it! Two simple ways to successfully import your SolidWorks models into Blender. Happy modeling!

Back to Contents

Advertisement
Advertisement

Lead image source: CGTrader

License: The text of "SolidWorks to Blender: How to Import SLDPRT Models" by All3DP is licensed under a Creative Commons Attribution 4.0 International License.

Stay informed with notifications from All3DP.

You get a notification when a new article is published.

You can’t subscribe to updates from All3DP. Learn more… Subscribe to updates

You can’t subscribe to updates from All3DP. Learn more…

Topics
Advertisement