Hi ,
I want to read the geometry from STEP file on remote server using rhino compute api. How can I do that?
Regards,
Shivam
Hi ,
I want to read the geometry from STEP file on remote server using rhino compute api. How can I do that?
Regards,
Shivam
Hi,
You could do it using RhinoCommon and calling your custom endpoint.
Hi Farouk thanks for the reply what I have done is I have clones the compute repo and running the rhino server. On the other hand I have created a project and installed Rhino3dmIO nuget package. So I am not able to use RhinoCommon with it. Can you please give simple example like how can we use Rhinocommon with Compute ?
Thanks and regards,
Shivam
Think of RhinoCommon as a toolbox full of tools (functions, classes, methods) that you can use to build or fix something. Now, Compute is like a remote robotic arm that can use these tools. You control this robotic arm from your computer, telling it which tools to use and how to use them.
If a tool is not present, you can make a plugin in Rhinocommon and add the tool to the toolbox.
Option 1:
You can make custom tools (endpoints) if they’re not readily available, such as your case, there is no endpoint to automatically import STP files.
Analogy aside, this is the technical documentation regarding endpoints :
Option 2:
I’m fairly sure you could also use threejs and do some conversion magic there from stp to 3dm It’s not quite clear if you’re making a website or just a computing server.
Hope this helps