jsketcher/web/app/cad/model/mopenFace.ts
2020-06-20 21:53:23 -07:00

23 lines
474 B
TypeScript

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