can anybody try to use different functions from another version of python inside the dynamo?
for example
scipy , numpy
e.t.c.
or we can use only IronPython 2.7 functions in Dynamo?
can anybody try to use different functions from another version of python inside the dynamo?
for example
scipy , numpy
e.t.c.
or we can use only IronPython 2.7 functions in Dynamo?
There are a few initiatives that target running CPython from Rhino/Grasshopper/IronPython (i.e. enabling one to implement numpy/scipy), which one might build a similar Dynamo implementation from. I haven’t really messed with either one, but there certainly are considerable dependencies and plumbing involved, making it less than straightforward:
An alternative (and arguably simpler) approach would be to implement an equivalent .NET library. In this case, for instance Math.NET.
@erfajo
Thanks a lot !
That’s very interesting.
and @Tomasz if you see this message )
maybe you’ve already used a real example in your work?
Actually I still haven’t used that method. Anyway, what is your goal?
i would like to use possibilities of another versions python
for example
scipy , numpy
e.t.c.
am I right to understand that the best way to work in Dynamo is to use libraries from NET ?
just curious if you guys have played with @Dimitar_Venkov’s awesome package for interpreting c# code?
@erfajo
what are you use to convert some things to .net ? its work inside Dynamo (Python) or inside MicrosoftVisualStudio or another programms?
one thing I have always wanted to try is to compile the ironpython code to a dll - which you can actually do - since it emits IL anyway (IntermediateLanguage) then using something like IL spy you can convert that IL back to c#…