jsketcher/web/app/cad/craft/e0/occEngineInterface.ts
2022-06-25 15:19:47 -07:00

18 lines
No EOL
584 B
TypeScript

import {OCCCommandInterface} from "cad/craft/e0/occCommandInterface";
import {MShell} from "cad/model/mshell";
import {MObject} from "cad/model/mobject";
import {Interrogate} from "cad/craft/e0/interact";
import {readShellEntityFromJson} from "cad/scene/wrappers/entityIO";
import {createOCCSketchLoader, OCCSketchLoader} from "cad/craft/e0/occSketchLoader";
export function createOCCEngineInterface(oci: OCCCommandInterface) {
return {
io: {
pushModel: (params: {
name: string, operand: number,
}) => oci.EngineCommand('io.pushModel', params)
}
}
}