Skip to content

Latest commit

 

History

History

SampleRhinoInsideNodeApp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Rhino.Inside Node.js

Sample showing how to start Rhino from node.js

Requirements

Dependencies

  • edge.js - [version 14.3.2] Used to communicate between .net and node.js.
  • rhino3dm.js - [version 0.13.0] Used to decode data from .net
  • .net [version 4.8]
  • Rhino.Inside - [version 7.0.0] - Used to resolve Rhino related assemblies.
  • RhinoMethods Library - .net library that opens up Rhino.

Usage

  1. This assumes you've installed node.js and Rhino 7, and have built the RhinoMethods library.
  2. Clone this repository. Open a terminal to the cloned repository directory.
  3. Install dependencies: npm i.
  4. Start app: npm run start.
  5. You will see the following in the terminal:
rhino3dm loaded.
Rhino has started.
Mesh has 92 vertices and 100 faces.