Closed MFGiscad closed 9 years ago
I worked it out for myself using a sort of shell node script which executes the console commands in a loop.
Glad to see you've found a solution. I'll have a look at what can be done to improve the module when called multiple times.
I am currently having an issue with calling the function multiple times. For a single .gml file, it works just fine but when i try to call it repeatedly, it doesn't really work out. I tried to work around the asynchronity with a callback function and calling itself after it finished.
It didn't work as it quits suddenly after calling the Function the second time before finishing the last 4 .obj files from the first call. I looked a bit into the module and noticed that the callback function is called before all files are written. I also noticed that in my case there are 4 workers left, that aren't ready and are not killed before callback() is called.
I hope you understand my issue (and code)!
greetings,
Marius