We have written a couple of c# plugins to run in Rhino.Compute which are working nicely:
Our calling code (Azure app, c#) sends Rhino.Compute some rhino.breps and it translates them to OBJ or SAT and returns the result. All good.
What we want to change:
However, we are using Rhino.Compute for a bunch of stuff and it is under a lot of load.
To relieve the load on Compute we want to do these two activities directly in our client side (Azure app) to avoid the latency of the http calls to Compute and to free Compute up to respond to other stuff that’s going on.
We succeeded with replacing the first plugin with native client-side code using the Rhino3dm library and curtesy of this github sample for converting breps to OBJ which was precisely what we needed. Big thanks to @fraguada for sharing this code. This made a huge performance improvement compared with using Rhino.Compute to do the work.
Being very encouraged by this we would like to do similar but for SAT format.
But we haven’t found a similar code sample for translating breps to SAT.
Does anyone know of such a sample anywhere?
Does anyone know whether translating to SAT is as straightforward an undertaking as it is for OBJ ??
Please bear in mind we are looking for code samples that don’t require Rhino installed on the machine. I.e. Using the Rhino3dm library and similar to @fraguada’s method for OBJ.
Any advice experience on this would be wonderful.