Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
This page is in the table of contents.
Extrusion is a script to set the extrusion profile for the skeinforge chain.

The displayed craft sequence is the sequence in which the tools craft the model and export the output.

On the extrusion dialog, clicking the 'Add Profile' button will duplicate the selected profile and give it the name in the input field.  For example, if ABS is selected and the name ABS_black is in the input field, clicking the 'Add Profile' button will duplicate ABS and save it as ABS_black.  The 'Delete Profile' button deletes the selected profile.

The profile selection is the setting.  If you hit 'Save and Close' the selection will be saved, if you hit 'Cancel' the selection will not be saved.  However; adding and deleting a profile is a permanent action, for example 'Cancel' will not bring back any deleted profiles.

To change the extrusion profile, in a shell in the profile_plugins folder type:
> python extrusion.py

An example of using extrusion from the python interpreter follows below.

> python
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import extrusion
>>> extrusion.main()
This brings up the extrusion setting dialog.

src/s/k/SkeinFactory-HEAD/skeinforge/skeinforge_plugins.py   SkeinFactory(Download)
from skeinforge_application.skeinforge_plugins.meta_plugins import polyfile
from skeinforge_application.skeinforge_plugins.profile_plugins import cutting
from skeinforge_application.skeinforge_plugins.profile_plugins import extrusion
from skeinforge_application.skeinforge_plugins.profile_plugins import milling
from skeinforge_application.skeinforge_plugins.profile_plugins import winding