Probably the most simple piece of the set.
To model the single chair I decomposed it in four parts:
- the basis
- the "zig-zag" middle body of the chair
- the upper part (the backrest) of the chair
- the little plinth on the basis
To model this simple object I used the functions SIMPLICIAL_COMPLEX
and EXTRUDE
for each of its parts.
Here's a little example of the code:
function mid(){
var points = [[0,0],[1.5,1],[7.5,12],[0,12],[-1,11],[6,11],[0,0]];
var cells = [[0,1,2,5,6],[2,3,4,5,2]];
var basis = SIMPLICIAL_COMPLEX(points)(cells);
var ex_basis = EXTRUDE([12])(basis);
var r_basis = R([1,2])(PI/2)(ex_basis);
return r_basis;
}
After structuring these parts in a single chair, I simply replicated the object obtained.