This repository provides a macro or automation script that streamlines exporting SolidWorks parts directly to the slicer. It simplifies the workflow by:
- Automatically copying the selected part file.
- Converting the file format to a format readable by the slicer.
- Launching the slicer and importing the converted file.
This eliminates the need for manual file conversion and import, saving you time and effort.
-
Download the swp file and icon for your preferred slicer and save them in a folder for later use
-
Launch SolidWorks
-
Create a new part
- Open the Customize menue
(open the dropdown menu next to the gear symbol and click on “Customize”)
- Get the macro button
(Go to category “Commands” and use the search for function to search for the “new macro button)
- Pin the button to the feature toolbar
(Drag the button onto the “Features Toolbar”)
- Customization of the macro button
(After pinning the button, the “Custamize Macro button" window should show up. Click the button with the 3 dots and brows to the folder with the swp files of step one. Choose the file for the slicer of your choice. The button with the person an the arrow lets you select the icon for the button. [Note: SW requires 16x16 pixel bmp files for the button icons])
- Last step
Press “OK” to save the button settings and you are done.
- Open your part in Solidworks
- Press the button for the slicer of your coice
You will be presented with a launched slicer with the part on the build plate.
The “Edit Macro” button allows you to customize the macro. The installation is identical to the first 5 steps in the installation chapter. Executing this button allows you to select swp file of the macro. Now you are able to alter the swp file.
The default slicer paths are utilized in the provided files. If necessary, modify the slicer path as needed. These files are currently formatted in STEP, per the recommendation of Bambu Labs [https://wiki.bambulab.com/en/software/bambu-studio/step]. However, you have the flexibility to convert them to STL, 3MF, or any other supported format if desired.