Convert Solidworks to Scenekit

Solidworks seems to be able to export models in every format except for Collada (.dae). My solution so far is to use Strata Design as an intermediate step to convert the file.

  1. Export from Solidworks as a .STL file.
  2. Import into Strata, recenter model then export as a .DXF file.
  3. Re-import into Strata, keeping all default options.
  4. Export from Strata as a Collada file with all default options. (.dae)
  5. Drag and drop this file into the assets folder in the Xcode project.

I can directly drag and drop the .STL file from Solidworks into Xcode and I can skip the .dxf step in Strata, but a couple of things happen.

  1. The model is faceted and can’t be smoothed.
  2. WHile colors can be created in Materials and added, no image maps will appear on the model.

The application is for a machine demonstration so generally polygon counts are not an issue.

If anyone has tried this and has a better solution, I would love to hear about it!

Hi cirrusbob! I’m wondering if you ever figured out a workflow for using image textures on dae files created in solid works? Sorry to revive an old topic, super stuck here.

I honestly don’t remember the process, but I used StrataDesign to import from SolidWorks, then export from StrataDesign into SceneKit.