Skip to content

ytakzk/RhinoComputeJavaScriptSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RhinoComputeJavaScriptSample

Online Parametric column design via Rhino Compute Service

Try it out at https://ytakzk.github.io/RhinoComputeJavaScriptSample/.

ScreenShot

How it works

  1. Get your Rhino token via https://www.rhino3d.com/compute/login
  2. Copy the generated token and paste it into the prompt shown on https://ytakzk.github.io/RhinoComputeJavaScriptSample/
  3. Feed model parameters through browsers
  4. Create some basic Rhino geometries with rhino3dm.js on the local computer (browser-based)
  5. Call RhinoCompute API to compute complicated stuffs and get a JSON file as a result
  6. Convert the JSON data into a Rhino geometry
  7. Convert the Rhino geometry into Three.js geometry
  8. Render it with Three.js

Dependencies

For modelling

For rendering

Environments

Just tested with the latest Google Chrome but it should work with all the modern browsers.

Author

ytakzk
https://ytakzk.me