Introduction
This tutorial picks up from the Solidworks Kinematics Tutorial
-
Make a new drawing by selecting file->“create drawing from assembly”
-
Deselect the sheet format option
-
Drag in the top view of the assembly and hit enter. (I’m assuming you used the top view to create your original sketches)
-
download the macro found at https://github.com/popupcad/popupcad_solidworks_exporter/raw/master/swp/ExportDrawingFaces.swp.
-
Select the top view
-
Export the top view. Go to tools->macro->edit, and select “ExportDrawingFaces.swp”, found in the /swp directory of the downloaded macro project. Note: this will only work with Solidworks 2014, 64-bit. Otherwise you will have to re-create the macro project from the included source files. That will have to be the subject of a different tutorial
-
A code window should open. Select the run icon, and select run on the dialog that opens.
-
Select “Export Generic” and hit run to export the view to a .yaml file that your code can interpret.