jsketcher/web/app/cad/model/mopenFace.js
2018-09-28 00:00:10 -07:00

17 lines
370 B
JavaScript

import {MShell} from './mshell';
import {MFace} from './mface';
export class MOpenFaceShell extends MShell {
constructor(surfacePrototype) {
super();
this.surfacePrototype = surfacePrototype;
this.faces.push(new MFace(this.id + '/SURFACE', this,
surfacePrototype.boundTo([], 100, 100)));
}
get face() {
return this.faces[0];
}
}