@bitbybit-dev/occt
Version:
Bit By Bit Developers CAD algorithms using OpenCascade Technology kernel. Run in Node and in Browser.
16 lines (15 loc) • 390 B
JavaScript
export class OCCTShell {
constructor(occ, och) {
this.occ = occ;
this.och = och;
}
sewFaces(inputs) {
return this.och.shellsService.sewFaces(inputs);
}
isClosed(inputs) {
return this.occ.BRep_Tool.IsClosed_1(inputs.shape);
}
getShellSurfaceArea(inputs) {
return this.och.shellsService.getShellSurfaceArea(inputs);
}
}