mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-12 19:32:37 +01:00
22 lines
No EOL
449 B
TypeScript
22 lines
No EOL
449 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;
|
|
}
|
|
|
|
get parent() {
|
|
return this.face;
|
|
}
|
|
|
|
} |