Wiki
Clone wikiscl-manips-v2 / howdoi / export_obj
Step 1: Save Solidworks part as an STL file
- Save Solidworks part or assembly in Solidworks as .STL
Step 2 (option A): Using meshconv
- Download meshconv
./meshconv infile.stl -c obj -o outfile
- Say you want to convert a bunch of STL files into obj files
#!/bin/bash
for i in `ls *STL | cut -f 1 -d ' '`; do
echo Converting : $i
./meshconv $i -c obj -o `echo $i | cut -f 1 -d '.'`
done
Step 2 (option B): Using Blender
- Import .STL in Blender (Get Blender). Might have to zoom way out or in to see the part in the Blender window.
- Export as Wavefront (.OBJ) (WARNING: In left-hand panel, check "include normals," and change to "Y Forward, Z Up". Other defaults remain the same.)
Updated