Sketchfab for Rhino


#1

Hi,

Sketchfab is a platform to publish, share and embed interactive 3D content, anywhere online: https://sketchfab.com

We have a number of plugins and integrations that allow publishing directly from different 3D software, including Grasshopper: https://sketchfab.com/exporters/grasshopper

We’re looking to create a new exporter plugin for Rhino, and I’m hoping someone here can help?

Basically, a script would need to output a model file (likely OBJ, maybe FBX or DAE), and then make a multipart POST request: https://sketchfab.com/developers

Is anyone interested in building something like this? Or, can someone push me in the right direction? I have a bit of Python experience, but I’ve never done anything with Rhino / RhinoScript.

Thanks!


Wish list item - direct upload to Sketchfab from Rhino
(Dale Fugier) #2

Hi James,

I notice from your developers link that you have sample source code for C#. Rhino supports C# plug-ins.

To get started writing plug-ins in C#, you will want to start here:

This page also include a number of samples. You can also find more samples on my GitHub site.

Rhino can save .OBJ files (of course). So you shouldn’t have a problem making some kind of interface (in your plug-in) that would allow the user to save/upload .OBJ files to your site.

– Dale


#3

Thanks Dale!

We’ll take a look at doing it in C#

James


#4

Sketchfab is great. I look forward to this happening.


#5

http://discourse.mcneel.com/t/wish-list-item-direct-upload-to-sketchfab-from-rhino/32827/3


#6

Hello,
I just tried to use this “derang.net” plugin, it crashes at the .obj export step…


Someone can help?


(Dale Fugier) #7

@PadreZippo, can you provide @Philippe_HAMON some means of getting support for this community-created plug-in?

– Dale


#8

@Philippe_HAMON I’m afraid we’ve lost contact with the community member that built this plug-in, so it’s going to be a bit difficult for me to debug. Can you tell me what OS and version of Rhino you’re running?

For now, the best workaround is to manually export and upload OBJ (+ MTL + textures if you’re using them). This format is usually very reliable from Rhino.


#9

Thank you for your fast answer.
I’m running Rhino 5 last built x64 on a Windows 10 system.
Best regards


#10

Did anything become of the Rhino to Sketchfab plugin?


#11

Good question on the plugin for SketchFab, but don’t let that stop you from using it. Not too bad just doing the OBJ export and I’ve had great response from my clients. Lets them play with a model very easily and intuitively. Still would be good to have the direct exporter though.
One of my favorites with the client