Skip to content

Set of UserObjects enabling Grasshopper to directly read, write and manipulate various kinds of embroidery formats. It is based on an IronPython-compatible fork of the original pyembroidery library.

License

Notifications You must be signed in to change notification settings

fstwn/pyembroideryGH

Repository files navigation

pyembroideryGH

  • This is a set of UserObjects for Grasshopper.
  • Grasshopper is a Plugin for the popular CAD-System McNeel Rhinoceros 6.
  • All code here is written in IronPython 2.7.8.0 as this is the interpreter Rhino & Grasshopper use internally.

Purpose & Origins

The purpose of this project is to enable Rhino and Grasshopper to directly read, write and manipulate a variety of embroidery formats. This implementation relies on ironpyembroidery, which is an IronPython-compatible fork of pyembroidery.

The ironpyembroidery library is included here as a submodule, so you don't have to get it separately when installing! For more info read below.

Installation & Usage

1. Download release files

  • Go to releases and download the newest release
  • Unzip the downloaded archive. You should get three folders pyembroidery, pyembroideryGH, Examples and a text-file.

2. Install pyembroidery python module

  • Open the scripts folder of Rhino 6
    • On Windows: C:\Users\%USERNAME%\AppData\Roaming\McNeel\Rhinoceros\6.0\scripts

    • On Mac OSX: ~/Library/Application Support/McNeel/Rhinoceros/6.0/scripts

  • Move the whole pyembroidery directory to the scripts folder!

3. Install pyembroideryGH UserObjects

  • Navigate to the Grasshopper UserObjects folder

    • On Windows: C:\Users\%USERNAME%\AppData\Roaming\Grasshopper\UserObjects

    • On Mac OSX: ~/Library/Application Support/McNeel/Rhinoceros/MacPlugIns/Grasshopper/UserObjects

    • Alternative: Open Rhino & Grasshopper and in the Grasshopper Window click on File > Special Folders > User Object Folder

  • Move the whole pyembroideryGH directory to the UserObjects folder.

4. Unblock the new UserObjects!

  • Go into the pyembroideryGH folder inside Grasshoppers UserObjects folder
  • Right click onto the first UserObject and go to Properties
  • If the text This file came from another computer [...] is displayed click on Unblock!
  • Unfortunately you have to do this for EVERY UserObject in the folder!

5. Restart Rhino & Grasshopper

  • If Rhino was running during the installation process, you'll have to restart it for the changes to take effect!

About

Set of UserObjects enabling Grasshopper to directly read, write and manipulate various kinds of embroidery formats. It is based on an IronPython-compatible fork of the original pyembroidery library.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages