jsketcher/web/app/cad/tpi/tpi.js
2018-09-28 00:00:11 -07:00

42 lines
No EOL
1.2 KiB
JavaScript

import * as BREPPrimitives from '../../brep/brep-primitives'
import BrepBuilder, {createBoundingSurface} from '../../brep/brep-builder'
import {createPrism} from '../../brep/brep-enclose'
import * as BREPBool from '../../brep/operations/boolean'
import * as IO from '../../brep/io/brepLoopsFormat'
import {BREPValidator} from '../../brep/brep-validator'
import {HalfEdge, Edge} from '../../brep/topo/edge';
import {Loop} from '../../brep/topo/loop';
import {Face} from '../../brep/topo/face';
import {Shell} from '../../brep/topo/shell';
import {Vertex} from '../../brep/topo/vertex';
import {Point} from '../../brep/geom/point';
import BrepCurve from '../../brep/geom/curves/brepCurve';
import {Plane} from '../../brep/geom/impl/plane';
import pip from '../tess/pip';
import {readShellEntityFromJson} from '../scene/wrappers/entityIO';
import * as vec from '../../math/vec'
export default {
brep: {
builder: BrepBuilder,
createPrism,
primitives: BREPPrimitives,
bool: BREPBool,
pip,
validator: BREPValidator,
geom: {
Point, BrepCurve, Plane, createBoundingSurface
},
topo: {
HalfEdge, Edge, Loop, Face, Shell, Vertex
},
IO,
},
scene: {
readShellEntityFromJson
},
math: {
vec
}
}