algorithmic modeling for Rhino
I'd start by taking a look here. Basically there's a script pyc.py that is distributed with IronPython that will compile in to dlls (the default) or exes. There's also a sample that has an example of how to use it as well that you can find in the download here. About 2/3rds of the way down there's an explanation of the sample. Also found an interesting result from google books that uses the interpreter to compile.
As for making a GHA with IronPython, I'm not sure I see any specific reason why its not possible. You'd have to make sure that you're creating the structure the GH expects within your dll, but outside of that I don't know of any specific road blocks.
Thanks a lot for the direction Damien, I'll give it a shot and let you know how it goes.
Zach
Hi Zachary... Did you get the process work by any chance?
Thanks,
Mostapha
No I did not get it to work. Instead I created an installer that places all of the dependent modules in the right place so the components work correctly. Ideally All of these python scripts would be combined into one dll, but I couldn't get it working. If you figure it out, I would be interested to know.
Thanks,
Zach
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson.
Powered by