This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ipy | |
# -*- coding: utf-8 -*- | |
""" | |
This script collects all python scripts (.py) from the project (including sub-folders) and compiles them into a dynamic link library (.dll) file. File will be placed inside the 'bin' folder. Place this file in the root directory of a project, prior to execution. | |
Note: | |
This script uses the Common Language Runtime Library (CLR). Use IronPython for execution. | |
Download IronPython 2.7.9 from https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Usage: gh_autoloaded.py | |
This script attempts to load a grasshopper(.gh) file if it shares the same name as the current | |
rhino(.3dm)file, and is placed in the same directory. | |
Note: | |
This script uses the RhinoCommon library to locate the current ActiveDocument. |