I am developing .Net plugin for Grasshopper. I need to convert rhino geometry to STEP representation, and then send the content of .stp file to server.
I am using now RhinoApp.RunScript() to access the STEP Import/Export plug-ins and convert rhino geometry. But it works through the rhino command line. The problem is that RhinoApp.RunScript() works only in main rhino.exe thread, and all background threads have to wait until main thread will be available to run the script.
Is there any other possible way to call import/export functions ?
I will be great to have possibility to get the step representation of rhino geometry without writing third-party files, and to create geometry from step representation, received from server.
Does anybody has any ideas?
Any help would be appreciated.