Sprout

Sprout converts curves and surfaces into forms 3d-printable.

This program is written in C++, powered by CGAL and boost

This program is written in C++, powered by CGAL and boost

Github repo is here

Binary file and sample file

(A Rhino file containing sample curves and surfaces and a Grasshopper file containing sample Python script to export the data according to the accepted input file format explained below are included.)

## Accepted input file format

**Sprout does not support comments. The comments below are placed only to explain the format.**Closed polyline is not supported so far…

```
G , 1.0 //Global scaling factor. Multiplied with coordinates, thickness and radius
S , 3321 , 6400 //Start definition of new triangulated mesh surface, number of vertices, number of faces
T , 1 //Thickness of the surface
V , 4.82873 , 36.6169 , -14.0 //Coordinates of the first vertex (#0)
V , 5.90731 , 36.7081 , -11.8870 //Coordinates of the second vertex (#1)
...
F , 0 , 41 , 42 //Corner node indices of the first triangle
F , 1 , 42 , 43 //Corner node indices of the second triangle
...
P , 55 //Start definition of new polyline, number of points
R , 0.5 //Radius of the curve
C , -19.7182035934 , 23.0 , -31.8169071714 //Coordinates of the first point
C , -13.7365478470 , 26.3485107422 , -24.3478167080 //Coordinates of the second point
...
```

page revision: 7, last edited: 01 May 2015 04:26