Как из солид воркс перевести в блендер

How to export a simple model from Solidworks to Blender

Solidworks is a powerful application for modelling, but you might want to look to other applications for shading and rendering. In this tutorial I give a simple overview how to export a SolidWorks model to a format which can be accepted by Blender. By importing it in Blender, we can apply simulations, physical renderers and much more to the model.

Solidworks is a powerful 3D cad drawing program, used by engineers and product designers and mainly works with surfaces and curves.. Blender is one of the most popular and powerful open source 3D editors and mainly works with polygons. Using the surface modelling powers of SolidWorks together with Blender’s Cycles rendering engine is a powerful combination.

In Step 1 and 2, I will talk about modelling and exporting in SolidWorks. In Step 3 and 4 I will explain how you can import a SolidWorks model in Blender and give it a simple shader. This tutorial asumes that you have some basic knowledge about SolidWorks and Blender, and know how to use the interface of these programs.

Step 1: Modeling in Solidworks

Start up Solidworks and choose New > Part.

The Bottle

Start by making a circle sketch on the top plane, using a diameter of 50mm, as shown in the following picture. Use the Smart Dimension tool for measuring the dimensions.


Extrude this sketch using extruded boss/base button or by insert > boss/base > extrude. Extrude 150mm, in blind mode. You will end up with a cylinder of 150mm height.

To get to the curved shape for the perfume bottle we are going to make a new curved sketch, and apply a revolved cut feature to it. Start by making a new sketch on the front plane. You can use the the example measures, but make it at least as high as the pillar we already made.


Go to View > Temporary Axes, to make the Temporary axes visible. We will use this for the cut revolve feature. Insert a cut revolve (Insert > Cut > Revolve), using the axis in the middle. Make it one direction and with an angle of 360deg. Now we get somewhere:


Following, start making a new sketch directly on the front plane, make it as high as the pillar, with the example dimensions as shown in the image below:


Extrude (insert > boss/base > extrude) this sketch 20mm, using midplane mode. This will extrude it from the midplane, thereby placing the extruded sketch exactly in the middle of the circle (as viewed in the image below).


Make a new sketch on the frontplane. Make it having a distance of 2.5mm from the borders, and use a 3 point arc with a very large radius, as you can see in the picture below. Cut extrude (Insert > Cut > Extrude) this sketch, using midplane mode and extrude it over 15mm. Using this cut extrude, you have defined the inside ‘void’ of the perfum bottle.


We’ll now add the last part of the bottle itself, and then continue to making the sprayer and the cap itself. Selecting the top face (do this from top view) start making a new sketch, a circle with a diameter of 15mm and with it’s midpoint right above the origin. Extrude this (insert > boss/base > extrude), blind, 7.5mm. Select from top view the top face of this just extruded circle, and draw a circle with diameter 10mm and midpoint at the same point as the previous circle. Cut extrude (insert > cut > extrude) this circle with a value of 10mm.


End up by selecting everything and apply a fillet of 0.50mm (insert > feature > fillet). You now should have something that looks like the image below:


The Cap

Start making each object by making it a new part (File > New > Part). We will assemble the three parts later in Blender.

The cap itself is very simple: start by making a circle sketch with a diameter of 50mm, on the top plane. Extrude (insert > boss/base > extrude), blind, this circle 12.5mm. Sketch a new circle on the top plane, with its midpoint at the same point as the midpoint of the first circle, and with a diameter of 20mm. Cut Extrude (insert > cut > extrude) it 10mm, blind. Finaly apply a fillet (insert > feature > fillet ) of 0.50mm to the top face of the cap. You’ll end up with the model below:


For the sprayer we have to do more. Start by making the sketch (use the same dimensions) below, using line and three point arc, or circle and power trim:


Extrude blind this sketch 10mm. Start making a new sketch, a circle with the same midpoint, but with a diameter of 15mm. Cut extrude blind this sketch 5mm. Then apply a fillet of 0.50mm to the top of the cylinder.

Now go to back view (or the view that that you look right up at the flat part of the extruded circle), and draw a help line in the middle from up to down. Draw a circle, having a midpoint relation with the helpline, with a diameter of 2mm. Blind extrude it 0.50mm.


Sketch a new circle on top of the one we just made, having the same midpoint, but with a diameter of 1mm. Cut extrude this circle, using ‘up to surface’, and select the face shown in the picture below:


If you have done everything right, you’ll end up with something that looks like below:


Now save all the three parts you made as .vrml. This is pretty easy, just go to file > save as and where you usually save as .sldprt you can choose a lot of other formats, and choose .vrml this time.

Step 2: Exporting from SolidWorks

If we want to be able to import SolidWorks models to Blender, there is only format that can save us from utter frustration: vrml (.wrl). Fortunate enough, exporting from SolidWorks as vrml is as easy as cooking water with a watercooker (I don’t know if that makes sense, but hey, I guess you get the picture). You can export by just going to File > Save As and select VRML under save as type. If you click under options, you can determine the version and measurements. Please select VRML 97 (VRML 2.0), because this is the format that Blender can import. Export each part as VRML.

Trouble exporting? You can download the original VRML files from here.

Step 3: Importing the model in Blender:

Now that you have cooked the water (joking of course), you are able to import the vrml files into blender. And that is almost as easy as exporting them.

You just have to go to: File > Import > X3D Extensible 3D (.x3d/.wrl).

Repeat this for each model, and you have your models imported!

As you may notice, the models appear very small and on their sides, so scale them approximately by 10 (Hotkeys: s, then 10) and rotate them 90 degrees on the x-axis (Hotkeys: r, x, 90). Grab the sprayer and cap, and by using side and front views, place them exactly on the top of the perfume bottle. Now you can optionally add a floor (hit space: add > mesh > plane and scale it), and give it a white color, or a texture, or anything else you want.

SolidWorks model imported into Blender

Our imported model. Beautiful, isn’t it?

Step 4: Shading and rendering in Blender:

We are now ready to add the materials to the model. Select the perfume main bottle, hit f5 or the material button and add a new material. If you have not switched to cycles render yet, do it. But first, remove the existing blue material that is applied by default to imported objects. Now for the bottle, choose a Glass BSDF surface shader, which a white color and an IOR of 1.440 (the approx. IOR for glass):


For the bottle cap and sprayer, you can use a more ‘metallish’ material. I used a Glossy BSDF with a small Roughness value, but you can choose anything to like. Secondly, as I wanted the bottle to be rendered on a plain white background, I set-up a white background surface under the World Settings tab. Also see the picture below:

World Settings in Blender, for a SolidWorks model

Now, do not forget to set the shading of all your perfume bottle components to smooth, as shown in the picture below:

Perfume Bottle Cap from Solidworks to Blender

Place your camera on a good spot and Render. I cranked up the amount of samples for the preview rendered, and did a quick render y in the preview mode. And tadaaa, the following result emerged from the preview renderer:


In this tutorial, you learned to export a simple model from SolidWorks into Blender using VRML as filetype, add materials and render it using the Cycles renderer.

Questions you might have

Why should I use SolidWorks for modelling?
SolidWorks is very strong in modelling geometric, non-organic shapes with exact measurements. In many cases, I can model these kinds of shapes faster in SolidWorks compared to Blender.

Why should I use Blender, SolidWorks has a very good renderer, right?
The reason why I love Blender is that you have much more control over material properties as in SolidWorks (although this has been really improved in later versions). This also makes it more complicated though. Secondly, Blender has many more dynamic simulation options (especially with fluids and particles) which you might want to use in your product renderings. At the moment of writing this, I do not know easy solutions for rendering fluid simulations within SolidWorks.

Blender + SolidWorks -> Water Simulation

  • В этой теме 3 ответа, 2 участника, последнее обновление 5 лет, 4 месяца назад сделано Артем Слаква .

Добрый день! Надеюсь на Вашу помощь.
Необходимо получить анимацию движения жидкости по трубам.
Я новичок в Blender. Геометрию создаю в SolidWorks (трубопровод и соединенные с ним емкости), далее конвертирую .SLDASM файл в .STL и импортирую его в Blender.
В Blender трубопровод указываю как Obstacle (Volume initialization = Shell)
итоге вода проходит через всю геометрию насквозь. Что я упускаю или делаю неправильно?

Скорее всего ничего не упускаешь. Это нормально. Нужно попробовать сместить немного объект из которого вытекает жидкость или изменить немного настройки (например, поднять разрешение для симуляции) и все может стать нормально.

Как ты сам можешь убедится из нескольких уроков по жидкости на этом сайте, все предельно просто, но иногда она ведет себя не так как хочется и приходится танцевать с бубном 🙂

Спасибо за ответ!
Проблема решилась сама собой, на следующий день (может помогла перезагрузка?).
Если кто столкнется с подобной проблемой можно попробовать пересохранить в формат wrl.

Но возникла следующая проблема.
Вода по трубам мягко говоря «не хочет течь». геометрия труб простая и с каждым поворотом трубопровода вода сильно замедляется а иногда и вообще тормозит по середине трубы. Тут пригодился Ваш совет, поднятие разрешения для симуляции, увеличение скорости объекта типа inflow, и параметра Speed в domain немного выравнивают ситуацию но процесс «запекания» сильно затягивается и в результате вода очень неохотно проталкивается по трубам, а иногда и не течет вовсе.

Но если создать более сложную геометрию трубопровода в Blender, даже при низких параметрах разрешения симуляции все работает как часы.

Может есть какой-то способ преобразовать геометрию из SolidWorks в Блендере ?
Как-то пересчитать Mesh или какой-то специальный аддон ?

Может есть какой-то способ преобразовать геометрию из SolidWorks в Блендере

Знать бы что под этим подразумевается? Если трубы уже в Blender, то ему без разницы где они были до этого. Тут максимум топологию можно поменять.

Я думаю, топология труб должна быть максимально простой, чтобы все было ОК. Можно попробовать сделать ретопологию (руками или аддоны/модификаторы), но тогда теряется смысл создавать эти самые трубы в SolidWorks. Проще уже изначально в Blender.

Importing SolidWorks Models to Blender as an FBX file

Solid Works to Blender

Whether you are a Blender user or a SolidWorks Designer that have decided to render your Model on Blender, you have probably come across the complications of importing a Solid works 3D Model in blender, but worry not, we have the solution to your problem right here!

Why use Blender to begin with?

Blender is a free open-source 3D computer graphics application that allows you to Model, animate and render your designs in a fairly user friendly environment. According to their website they define it as: “Open Source 3D creation. Free to use for any purpose, forever.”

And therefore it is understandable why it is gaining popularity among 3D artists and designers rapidly. As a Solid works user you might be looking for a software that can render the designs that you have worked on so hard, and don’t want to spend hundreds of dollars to buy a rendering software or a rendering plugin.

Or you might be a blender user and got your hands on a SolidWorks model that you need to integrate into your scene or create rendered images of.

Why is sending Models from SolidWorks to Blender not working?

In SolidWorks if you would go to the “File” menu and select “Save” you can see that you are able to export 3D Models in different extensions, such as: sldasm, prt, iges, step, stl, wrl among 24 other extensions, and of all those extensions, Blender can only read ply and wrl file formats. But sadly and for an unknown technical reason, at least to me, when exporting a 3D model from Solid works in either of those formats, Blender fails to read it most of the time, and even in the times where it succeeds, you still won’t be able to see the model in Blender’s view port nor have the ability to interact with it.

This problematic situation pushes us towards the solution of using a 3 rd party tool, the tool should be able to read SolidWorks file and convert it to a file extension that Blender can read without any unexpected mishaps, a reliable and safe file extension for Blender to read is the FBX file format.

FBX Brief Bio

FBX files are almost universal among 3D design software, moreover, they preserve the materials and textures in a model and maintain the hierarchy of groups and objects, so it seems to be a rather good choice for our little operation. However, not all FBX file are created equal! Aside from their versions, FBX files can be written in either ASCII code, which is the most commonly used format in 3D software, or Binary format, the less popular type of FBX which uses the Binary system.

A tool that can export Binary FBX files.

Blender, unfortunately, can not read ASCII FBX files and can only read Binary FBX, which removes most 3 rd party conversion software out of the equation.

A software well-equipped to handle those messy situations on the other hand is Simlab Composer.

Simlab Composer is a multifunctional 3D communication tool, that can animate, render, run in VR, export and import almost all commonly used 3D file types.

The part that interests us the most in Simlab Composer’s services is it’s ability to import and export 3D models in 31 unique and common extensions, among which, is our long-sought Binary FBX format.

From SolidWorks all the way to Blender, the Steps:

  1. Save your Solid Works model in it’s native Solid assembly or Solid part file format “asm, sldasm, prt, sldprt”.
  2. In Simlab Composer, from the file menu select “Import” and select the file you saved in Solid Works.
  3. Once the model is loaded into Simlab Composer, go to “File” and select “Export” then set the file type to FBX and click “ok”. In the FBX export options make sure you enable the “Binary FBX” option and click “ok”.
  4. In Blender, go to the File menu and select Import FBX, select the file exported from Simlab Composer and click “import FBX”.

That’s it, you now have migrated your 3D design from SolidWorks to Blender successfully while retaining the original materials and textures.

If you were to examine the structure of your Model in Blender’s outliner, you would see that it resembles the model’s structure in solid works, with a minor change concerning the assemblies, and since Blender does not use the assemblies or groups system for parenting objects, it will create an element called “Empty” in place of each group and attach the children geometry underneath it.

The thing you would notice is that those empties, unlike assemblies and groups, have a visual representation in the Viewport that might not be to your liking, to hide those “Empties” go to the Overlays hidden menu in the top right corner of Blender, and disable “Extras”.

Simlab Composer is a reliable Software when it comes to converting 3D models in different formats, among other tasks that it can perform superbly, I do recommend having it on your computer if you’re someone who deals with different formats of 3D models regularly.

What features would you like to be added to Simlab Composer? Personally I would like to be able to transfer objects animation from solid works to Blender, what do you guys think? Let me know in the comments!

Как импортировать файл Solidworks в блендер?

Самый простой способ импортировать файл SolidWorks в Blender: для работы с VRML (*. wrl) файлы. Расширение «Virtual Reality Modeling Language» — это стандартный формат файлов для трехмерной интерактивной векторной графики, особенно используемый для приложений виртуальной реальности.

Можете ли вы импортировать файлы в Blender?

К счастью, Blender предлагает широкий выбор форматов файлов (например, OBJ, FBX, 3DS, PLY, STL и т. д.), которые можно использовать для импорта и экспорта. Популярные форматы включены по умолчанию, другие форматы также поддерживаются и распространяются вместе с Blender, их можно включить в настройках с помощью надстроек.

Может ли Blender открыть файл Sldasm?

В SolidWorks, если вы перейдете в меню «Файл» и выберите «Сохранить», вы увидите, что можете экспортировать 3D-модели в различные расширения, такие как: sldasm, prt, iges, step, stl, wrl среди 24 других расширений. , и всех этих расширений, Блендер может только читать слой и форматы файлов wrl.

Есть ли бесплатная версия SolidWorks?

В настоящее время есть два варианта бесплатной пробной версии SOLIDWORKS. Первый вариант через MySolidWorks который предлагает онлайн-пробную версию последней версии SOLIDWORKS Premium прямо в браузере. … Эти пробные версии SOLIDWORKS можно создать на 7, 15 или 30 дней.

Как прочитать файл Sldprt?

Файлы SLDPRT обычно открываются с помощью SolidWorks. Однако их также можно просматривать с помощью SolidWorks eDrawings Viewer, Autodesk Fusion 360 и Adobe Acrobat 3D или Acrobat Pro 9 или более поздней версии.

Как импортировать файл DXF в Blender?

Чтобы импортировать файлы DXF в Blender 2.8, вы должны откройте параметры надстройки в меню «Правка» → «Настройки». Перейдите в «Надстройки», введите DXF в поле поиска и включите импортер AutoCAD DXF. Как только вы это сделаете, появится новая опция для импорта файлов DXF.

Можно ли использовать Blender для САПР?

Оба (по сути) бесплатно и отлично работает как программное обеспечение САПР. Если вы помимо 3D-печати интересуетесь цифровой анимацией, визуальными эффектами и игровым дизайном, то Blender — один из лучших доступных наборов для моделирования. Он имеет множество учебных пособий и поддержки сообщества.

Как импортировать рисунок в Blender?

В Blender нам нужно включить надстройку для импорта изображения как плоскости.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *