Hi Micha - some pieces can be combined into one - the 2 .js files can be combined into a single .js file.
To do that, just find the spot where one file is doing an #include of the other file, and remove that line and paste in the contents of that included file.
#include is just a way of saying "paste the contents of this other file here".
However, I don't think there is a good way to combine the .cmd file with the .js ones - those are being used and run by different things.
The .cmd file is being run by the Windows shell, and the .js files are run by MoI.exe .
Since they are run by different programs, I don't think that you can combine them, that is kind of like saying how can you combine this Word .doc file with this .3dm rhino file - they are both files with data in them but they are used by different things so they can't necessarily be combined.
But it may be possible to actually eliminate the .cmd file entirely if you can figure out a way to make Rhino's _run command take 2 sets of parameters surrounded by quotes - one for the path to moi.exe and one for the command-line arguments to give to moi.exe .
- Michael
|