From searching around it seems that importing from other file formats is functionality intended to go into Compute - but is it currently possible to import an stl file? If so, how?
This is not yet available out of the box, but you can certainly extend RhinoCompute. At the moment you could:
- Write a Rhino plugin that exposes functionality to compute. This plugin would be installed on the Rhino instance running on the RhinoCompute server. Here is an example: https://github.com/mcneel/rhino-developer-samples/tree/7/compute/cs/ComputePlugIn
- Use the gh endpoint to solve a definition that has the functionality you need.
- Use the python end point to the same effect.
Check out this post from @fraguada:
This is how I import STL files provided as base64 string
You could adapt this approach to import files from your local drive too.