Importing Altium Step Files Into Solidworks Torrent

  1. Insert Step File Into Solidworks

If you do not have access to mechanical drawing/viewing software, the exported STEP file can be checked by importing it back in to a placed 3D Body object in Altium Designer. Import STEP files. STEP files can be imported and used in Altium Designer through two distinct approaches, both of which use the same mechanism.

Altium Designer has powerful 3D tools, allowing you to export a STEP model of a PCB. This is very convenient as a complete 3D model of your PCB can easily be imported into CAD programs such as Solidworks.

There is a problem when doing this with with multiple different PCBs, however. Due to file naming when Solidworks imports the STEP file, each separate PCB has a model named “Board” for example that is the model of the bare PCB. Since the assemblies for each PCB have the same part named “Board”, Solidworks will use the same bare PCB model for all the assemblies, which is clearly wrong. This problem extends to other components which have the same name such as R1, C1, etc. This import procedure applies a suffix to all components to avoid this problem, allowing successful use of multiple PCBs in one assembly.

This procedure has been tested with Altium Designer 13.1.2 and Solidworks 2014 x64 SP0.0

Step files ap203 vs ap214
Important: Some of these steps like restarting Solidworks may seem odd, but they must be followed EXACTLY for this to work.
  1. For each PCB to be exported, create two folders, in this example the board is called YLM Board, so we create folders “YLM Board” and “YLM Board temp”
  2. For each PCB, export the file from Altium (save as STEP file into the temp folder). Each board STEP file must be saved into its own temp folder, in this case “YLM Board temp”. Export using the “Prefer STEP models” option in the export dialog. (Note: the Component Suffix option here isn’t used, as it doesn’t apply the suffix to some of the parts like the bare board itself)
  3. Open the STEP file in Solidworks, then save the Solidworks assembly in the same directory as the STEP file. A “Component documents must be saved” dialog will pop up, click Save All.
  4. Close Solidworks completely
  5. Open Solidworks again and open the assembly saved above. Do not skip this! I’m not sure why this is required, but the suffixes don’t get properly applied if you don’t do this.
  6. Click File | Save As. Select “Save as copy and continue” at the bottom left of the Save As dialog, check “Include all referenced components”, and select “Add suffix”. Enter your suffix in the box (in this case “_YLM”) and click Advanced.
  7. In the Advanced dialog, verify that the suffix is applied to all parts except the top level assembly (in this case YLM Adapter.SLDASM). Use Browse to select the other folder you created earlier (the non-temp one, “YLM Board” in this case). This is where the final assembly will be saved. The correct configuration is shown below:
  8. Click Save All.
  9. Close the assembly and repeat for other boards
  10. Delete the temp folders

The resulting assemblies for each PCB can then be used in a single Solidworks assembly without problems. The final assembly for a single PCB is shown below, with suffixes on all components:

In many projects the PCB designers don’t have the luxury of defining the size and shape of their PCBs, due to mechanical restrictions. Altium has many features that make it easy to collaborate with the mechanical designers, one of them being the ability to import board shapes from any 3D modelling software. Here is how to import board shape from SolidWorks:

Insert Step File Into Solidworks

  • Let’s say we have a 3D model of the PCB in SolidWorks like the picture below:
  • First, we ‘ll have to save this drawing in DXF format, which is recognized by Altium. Click on File->Save As and choose DXF file format. In the options that show up, make sure you choose correct views or entities that you want to export.
  • The next window that pops up can be used to remove the entities you might not want to export. If you have only the board outline in your exported file, your job will be easier. Click Save after making any necessary corrections. That’s all you need to do in SolidWorks. Similar approach can be followed in other 3D modelling software. Before you close the file, note down the unit used for measurement in your model. My model is set for inches.
  • Open Altium and create a new PCB. Then, go to File->Import. Select DXF as the file format and open the file you exported in the previous step. If you do not see DXF file format listed, you will have to install the appropriate Importer Plugin (Dxp-> Plug-ins and updates). In the options windows that open, make sure to choose the correct units and click Ok.
  • You will see the board outline imported to one of the mechanical layers.
  • Select the lines and click on Design->Board Shape->Define from selected objects.
  • That’s it. You ‘ll have the board shape same as the 3D model.

    Hope this was helpful!