mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-09 18:02:50 +01:00
move tpi plugin to tpi package(test program interface)
This commit is contained in:
parent
0eca110c34
commit
98e562ad40
4 changed files with 34 additions and 34 deletions
|
|
@ -15,7 +15,7 @@ import * as CraftPlugin from '../craft/craftPlugin';
|
|||
import * as StoragePlugin from '../storagePlugin';
|
||||
import * as ProjectPlugin from '../projectPlugin';
|
||||
import * as SketcherPlugin from '../sketch/sketcherPlugin';
|
||||
import * as tpiPlugin from '../tpiPlugin';
|
||||
import * as tpiPlugin from '../tpi/tpiPlugin';
|
||||
|
||||
|
||||
import * as PartModellerPlugin from '../part/partModellerPlugin';
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
import * as BREPPrimitives from '../brep/brep-primitives'
|
||||
import BrepBuilder, {createBoundingNurbs} from '../brep/brep-builder'
|
||||
import {createPrism} from '../brep/brep-enclose'
|
||||
import * as BREPBool from '../brep/operations/boolean'
|
||||
import * as IO from '../brep/brep-io'
|
||||
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 {NurbsCurve, NurbsSurface} from '../brep/geom/impl/nurbs';
|
||||
import {Plane} from '../brep/geom/impl/plane';
|
||||
import pip from "./tess/pip";
|
||||
|
||||
export default {
|
||||
brep: {
|
||||
builder: BrepBuilder,
|
||||
createPrism,
|
||||
primitives: BREPPrimitives,
|
||||
bool: BREPBool,
|
||||
pip,
|
||||
validator: BREPValidator,
|
||||
geom: {
|
||||
Point, NurbsCurve, Plane, NurbsSurface, createBoundingNurbs
|
||||
},
|
||||
topo: {
|
||||
HalfEdge, Edge, Loop, Face, Shell, Vertex
|
||||
},
|
||||
IO
|
||||
}
|
||||
}
|
||||
33
web/app/cad/tpi/tpi.js
Normal file
33
web/app/cad/tpi/tpi.js
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
import * as BREPPrimitives from '../../brep/brep-primitives'
|
||||
import BrepBuilder, {createBoundingNurbs} from '../../brep/brep-builder'
|
||||
import {createPrism} from '../../brep/brep-enclose'
|
||||
import * as BREPBool from '../../brep/operations/boolean'
|
||||
import * as IO from '../../brep/brep-io'
|
||||
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 {NurbsCurve, NurbsSurface} from '../../brep/geom/impl/nurbs';
|
||||
import {Plane} from '../../brep/geom/impl/plane';
|
||||
import pip from '../tess/pip';
|
||||
|
||||
export default {
|
||||
brep: {
|
||||
builder: BrepBuilder,
|
||||
createPrism,
|
||||
primitives: BREPPrimitives,
|
||||
bool: BREPBool,
|
||||
pip,
|
||||
validator: BREPValidator,
|
||||
geom: {
|
||||
Point, NurbsCurve, Plane, NurbsSurface, createBoundingNurbs
|
||||
},
|
||||
topo: {
|
||||
HalfEdge, Edge, Loop, Face, Shell, Vertex
|
||||
},
|
||||
IO
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue