Here’s a new version of the RhinoScript compiler for Rhino 5
NOTE: This application requires .NET 4.5 to be installed on your computer.
This version improves support for packaging plug-ins as RHI files and other fixes related to python plug-ins. Give it a try and let us know what you would like to see improved.
Great news Steve. Thanks. I’ll try it out soon.
Nice one Steve.
This should be an independent application, not “connected” with Rhino 5? Meaning I should run it, no matter what version of Rhino 5 I have (I am still using SR5).
Tried to run it, and got this message:
RhinoScriptCompiler.exe is not a valid Win32 application.
I am using 32 bit Windows XP SP3. Is that the problem?
Oh, I’m sorry I forgot to mention that this exe requires .NET 4.5 installed on your computer.
I get this error in the compilation
I have to install NETFramework 4.5?
win 7 64 bit
It is hard to tell from that error. Did you install .NET 4.5?
Is it possible to include encryption similar to Dale’s video:
http://vimeo.com/41879788 - Perhaps one encryption for all the scripts in a plugin.
Also, can someone give the address of the web page that is shown in this video.
I’ve first tried it without the .Net 4.5 just for testing and got the same error like Riccardo. After install of that update it works like expected. My Python Scripts now also work correct (without evoking EditPythonScript first).
Thanks for the update!
David already added encryption by default
proper encryption is not possible in any case as the scripts need to be unpacked by the plugin without the need to enter a password. But yes, the strings are no longer part of the source code and they are all encrypted. But please note that any .NET programmer worth their salt can extract the code if they want to.
Another future goal is to generate a full C# project so you can edit and adjust whatever you want.
I have just realized .NET 4.5 does not support my Windows XP SP3. It requires Vista to newer ones.
Can you install .NET 4? The RHI building requires .NET 4.5 due to the zip file support in .NET 4.5, but I may be able to drop that feature for people running on XP.
As a side note, we are currently targeting Windows 7 as the minimum OS for Rhino 6.
Yes, I already have the .NET 4 installed.
Ah, did not know that about Rhino 6. Looks like an end might come to my current PC.
I’ll have to see how much effort is involved in making this run on XP. There is no way I’m going to be able to get to this for a few days at least.
No pressure Steve.
Take your time.
Thanks , the compiler works like a charm
Will we be getting the means to create a menu structure like the old Rhino 4 Monkey compiler ?
there was no net framework4.5
is installed everything works out
Does this support multi-python file to single package yet?
You should be able to have multiple python files in a single compiled project.
I don’t think we have the ability yet to have python scripts “import” from neighboring modules in the same package yet. Is that what you are trying to do?
I believe there was a first beta of the python script compiler that could handle the input from a single python file.
I would like to compile a python script that is split up into several python files and compile it to one project.