UNPKG

@bitbybit-dev/occt-worker

Version:

Bit By Bit Developers CAD algorithms using OpenCascade Technology kernel adapted for WebWorker

21 lines (20 loc) 802 B
import { OCCTCompound } from "./compound"; import { OCCTEdge } from "./edge"; import { OCCTFace } from "./face"; import { OCCTSolid } from "./solid"; import { OCCTWire } from "./wire"; import { OCCTShell } from "./shell"; import { OCCTShape } from "./shape"; import { OCCTVertex } from "./vertex"; export class OCCTShapes { constructor(occWorkerManager) { this.vertex = new OCCTVertex(occWorkerManager); this.edge = new OCCTEdge(occWorkerManager); this.wire = new OCCTWire(occWorkerManager); this.face = new OCCTFace(occWorkerManager); this.shell = new OCCTShell(occWorkerManager); this.solid = new OCCTSolid(occWorkerManager); this.compound = new OCCTCompound(occWorkerManager); this.shape = new OCCTShape(occWorkerManager); } }