Any live examples of Rhino.js

I can see there are some examples here but are any of them available to see live?

I’m looking for a framework to build a webapp that processes meshes, some key functions would be:

  • Generating curves based on meshes
  • Mesh modifications, solving intersections between planes and meshes - for example.
  • Import/export 3D file.

Would Rhino Compute be a viable solution? If not, does someone know of an alternative?

1 Like

Here are a few:

https://files.mcneel.com/rhino3dm/js/latest/rhino3dm.html

https://files.mcneel.com/rhino3dm/js/latest/rhinologo.html

To get an auth token, go here:

https://www.rhino3d.com/compute/login

Hopefully. Rhino.js is pretty and there is a lot left to expose.

– Dale

2 Likes

Brilliant.

So, the key pieces are: rhino3dm.js, the wasm, and the compute server.

What roles do each play, particularly the wasm piece?

Hi @greg.burgreen,

Basically:

1.) The wasm is openNURBS build as web assembly.
2.) rhino3dm.js is the JavaScript interface into the wasm.
3.) Rhino.Compute is only required for access to functions not found in openNURBS.

– Dale

2 Likes

Hi Dale,

For larger applications, will DocObjects be stored locally or on the Rhino.Compute server?

Greg

Hi @greg.burgreen,

Rhino.Compute only provides computation services - it won’t serialize any objects.

– Dale

1 Like