Installing Skeinforge Plugins

From RepRap
Revision as of 21:08, 26 January 2012 by Lull3rSkat3r (talk | contribs) (Added instructions for how to install a custom script into Skeinforge. Hopefully will get an example up about the procedure needed to write custom scripts.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

Skeinforge allows for custom python scripts to be added into the command chain. This allows for custom functionality to be added to the printing procedure. The script can be executed at any particular time before the GCode is generated.

Installation Example

We will use an example found on Thingiverse. Follow the directions for printing out the appropriate file for your Skeinforge version. This script prints a small perimeter around the first layer of your print. From here on out know that SKEINFORGE DIRECTORY is the directory where you have unzipped the program. Once you have the file downloaded, do the following :

  1. Rename the file to outline.py
  2. Copy the file to SKEINFORGE DIRECTORY\skeinforge_plugins\craft_plugins\
  3. Then locate the file SKEINFORGE DIRECTORY\skeinforge_plugins\profile_plugins\extrusion.py
  4. Open this file in your preferred text editor
  5. In the getCraftSequence() function, add the word 'outline' to list just before the export step. This list is the order in which skeinforge will execute the scripts
  6. Save the file and close the editor
  7. Start up Skeinforge and you should see an Outline button added as an option in the craft menu
  8. Make sure to check the Activate Outline option in the Outline menu
  9. You can now generate the GCode and should see an outline added to the print