mirror of
https://github.com/xibyte/jsketcher
synced 2026-02-14 03:16:22 +01:00
18 lines
No EOL
405 B
TypeScript
18 lines
No EOL
405 B
TypeScript
import {MObject} from './mobject';
|
|
import {MFace} from "./mface";
|
|
|
|
export class MSketchObject extends MObject {
|
|
|
|
static TYPE = 'sketchObject';
|
|
face: MFace;
|
|
sketchPrimitive: any;
|
|
construction: boolean;
|
|
|
|
constructor(face, sketchPrimitive) {
|
|
super(MSketchObject.TYPE, sketchPrimitive.id);
|
|
this.face = face;
|
|
this.sketchPrimitive = sketchPrimitive;
|
|
this.construction = false;
|
|
}
|
|
|
|
} |