Skip to content
Snippets Groups Projects
Commit bb5670aa authored by Erik Strand's avatar Erik Strand
Browse files

Update rhino readme

parent 0028fffe
No related branches found
No related tags found
No related merge requests found
......@@ -25,21 +25,46 @@ Since 2018, there has been a Python library called [rhino3dm](https://www.rhino3
It also lets you construct geometry, but you're somewhat limited in which operations you
can use. Closest point calculations, intersections, and tessallations, [for example](https://developer.rhino3d.com/guides/compute/features/) are off the table.
But new in Rhino 7 is something called [Rhino.Inside](https://www.rhino3d.com/features/rhino-inside/). Rhino.Inside allows Rhino to be embedded in other applications as a geometry/CAD kernel.
But new in Rhino 7 is something called [Rhino.Inside](https://www.rhino3d.com/features/rhino-inside/). Rhino.Inside allows Rhino
to be embedded in other applications as a geometry/CAD kernel. One particulary interesting use of Rhino.Inside is
[Rhino Compute Server](https://github.com/mcneel/compute.rhino3d). This is a standalone (headless) server that exposes
a [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API for basically all of Rhino.
The server itself is a .NET application, and it comes with a Python library that lets us interact with the server.
This is what we will be exploring here.
## Installing
Rhino installers can be downloaded from [here](https://www.rhino3d.com/download/). Note that it's
### Rhino/Grasshopper
Rhino 7 installers can be downloaded from [here](https://www.rhino3d.com/download/). Note that it's
not free software, so you have to have a license to use it. In the School of Architecture
and Planning here at MIT, we're lucky to have a department-wide license. Otherwise, McNeel
offers free 90 day trials if you give them your email addresss.
offers free 90 day trials if you give them your email addresss. Rhino 7 includes Grasshopper.
### Rhino Compute Server
To compile the server, you'll need to install [Visual Studio](https://visualstudio.microsoft.com/).
Instructions for this are [here](https://developer.rhino3d.com/guides/compute/development/).
You also need to install the Python library, which you can do using pip.
```
python -m pip install compute_rhino3d
```
### Rhino3dm
This one is just another pip call.
```
python -m pip install rhino3dm
```
### CMA-ES
##
To run the optimization demo, you'll need a few extra Python libraries installed.
```
python -m pip install cma numpy matplotlib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment