From 474f53e77870f5e647b6bfcb06e3a1c2e8ebc5e4 Mon Sep 17 00:00:00 2001 From: Kurt Hutten Date: Mon, 16 Nov 2020 20:21:33 +1100 Subject: [PATCH] Update everything to be static like the original --- .gitignore | 1 + package.json | 4 +- web/config/webpack.config.js | 6 +- web/public/Three.d.ts | 177 ---- web/public/opencascade.d.ts | 1644 ---------------------------------- web/src/cascade | 2 +- web/src/index.html | 2 +- yarn.lock | 26 +- 8 files changed, 30 insertions(+), 1832 deletions(-) delete mode 100644 web/public/Three.d.ts delete mode 100644 web/public/opencascade.d.ts diff --git a/.gitignore b/.gitignore index e7b00eb..b059f2b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ dist-babel node_modules yarn-error.log web/public/mockServiceWorker.js +web/public/CADWorker/* diff --git a/package.json b/package.json index 73244fe..b08b32e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,9 @@ }, "scripts": { "comment": "Rather crude approach to move ts definitions into the public folder so the browser can grab them later in CascadeMain.js", - "move-ts-defs": "cp ./node_modules/opencascade.js/dist/opencascade.d.ts ./web/public && cp ./node_modules/three/src/Three.d.ts ./web/public && cp ./web/src/cascade/js/StandardLibraryIntellisense.ts ./web/public && cp ./web/src/cascade/js/CADWorker/CascadeStudioMainWorker.js ./web/public" + "move-ts-defs": "cp ./web/src/cascade/js/StandardLibraryIntellisense.ts ./web/public", + "move-cad-worker": "rm -r web/public/CADWorker || true && mkdir web/public/CADWorker && mkdir web/public/CADWorker/node_modules && cp -r ./web/src/cascade/js/CADWorker ./web/public && cp -r ./web/src/cascade/node_modules ./web/public/CADWorker && cp -r ./web/src/cascade/fonts ./web/public/CADWorker", + "move-statics": "yarn move-ts-defs && yarn move-cad-worker" }, "devDependencies": { "@redwoodjs/core": "^0.19.2" diff --git a/web/config/webpack.config.js b/web/config/webpack.config.js index 78b4eb9..10c2846 100644 --- a/web/config/webpack.config.js +++ b/web/config/webpack.config.js @@ -1,7 +1,5 @@ -const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin'); +const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin') module.exports = { - plugins: [ - new MonacoWebpackPlugin() - ] + plugins: [new MonacoWebpackPlugin()], } diff --git a/web/public/Three.d.ts b/web/public/Three.d.ts deleted file mode 100644 index b26e322..0000000 --- a/web/public/Three.d.ts +++ /dev/null @@ -1,177 +0,0 @@ -export * from './polyfills'; -export * from './renderers/WebGLMultisampleRenderTarget'; -export * from './renderers/WebGLCubeRenderTarget'; -export * from './renderers/WebGLRenderTarget'; -export * from './renderers/WebGLRenderer'; -export * from './renderers/WebGL1Renderer'; -export * from './renderers/shaders/ShaderLib'; -export * from './renderers/shaders/UniformsLib'; -export * from './renderers/shaders/UniformsUtils'; -export * from './renderers/shaders/ShaderChunk'; -export * from './scenes/FogExp2'; -export * from './scenes/Fog'; -export * from './scenes/Scene'; -export * from './objects/Sprite'; -export * from './objects/LOD'; -export * from './objects/InstancedMesh'; -export * from './objects/SkinnedMesh'; -export * from './objects/Skeleton'; -export * from './objects/Bone'; -export * from './objects/Mesh'; -export * from './objects/LineSegments'; -export * from './objects/LineLoop'; -export * from './objects/Line'; -export * from './objects/Points'; -export * from './objects/Group'; -export * from './textures/VideoTexture'; -export * from './textures/DataTexture'; -export * from './textures/DataTexture3D'; -export * from './textures/CompressedTexture'; -export * from './textures/CubeTexture'; -export * from './textures/CanvasTexture'; -export * from './textures/DepthTexture'; -export * from './textures/Texture'; -export * from './geometries/Geometries'; -export * from './materials/Materials'; -export * from './loaders/AnimationLoader'; -export * from './loaders/CompressedTextureLoader'; -export * from './loaders/DataTextureLoader'; -export * from './loaders/CubeTextureLoader'; -export * from './loaders/TextureLoader'; -export * from './loaders/ObjectLoader'; -export * from './loaders/MaterialLoader'; -export * from './loaders/BufferGeometryLoader'; -export * from './loaders/LoadingManager'; -export * from './loaders/ImageLoader'; -export * from './loaders/ImageBitmapLoader'; -export * from './loaders/FontLoader'; -export * from './loaders/FileLoader'; -export * from './loaders/Loader'; -export * from './loaders/LoaderUtils'; -export * from './loaders/Cache'; -export * from './loaders/AudioLoader'; -export * from './lights/SpotLightShadow'; -export * from './lights/SpotLight'; -export * from './lights/PointLight'; -export * from './lights/RectAreaLight'; -export * from './lights/HemisphereLight'; -export * from './lights/DirectionalLightShadow'; -export * from './lights/DirectionalLight'; -export * from './lights/AmbientLight'; -export * from './lights/LightShadow'; -export * from './lights/Light'; -export * from './lights/AmbientLightProbe'; -export * from './lights/HemisphereLightProbe'; -export * from './lights/LightProbe'; -export * from './cameras/StereoCamera'; -export * from './cameras/PerspectiveCamera'; -export * from './cameras/OrthographicCamera'; -export * from './cameras/CubeCamera'; -export * from './cameras/ArrayCamera'; -export * from './cameras/Camera'; -export * from './audio/AudioListener'; -export * from './audio/PositionalAudio'; -export * from './audio/AudioContext'; -export * from './audio/AudioAnalyser'; -export * from './audio/Audio'; -export * from './animation/tracks/VectorKeyframeTrack'; -export * from './animation/tracks/StringKeyframeTrack'; -export * from './animation/tracks/QuaternionKeyframeTrack'; -export * from './animation/tracks/NumberKeyframeTrack'; -export * from './animation/tracks/ColorKeyframeTrack'; -export * from './animation/tracks/BooleanKeyframeTrack'; -export * from './animation/PropertyMixer'; -export * from './animation/PropertyBinding'; -export * from './animation/KeyframeTrack'; -export * from './animation/AnimationUtils'; -export * from './animation/AnimationObjectGroup'; -export * from './animation/AnimationMixer'; -export * from './animation/AnimationClip'; -export * from './animation/AnimationAction'; -export * from './core/Uniform'; -export * from './core/InstancedBufferGeometry'; -export * from './core/BufferGeometry'; -export * from './core/Geometry'; -export * from './core/InterleavedBufferAttribute'; -export * from './core/InstancedInterleavedBuffer'; -export * from './core/InterleavedBuffer'; -export * from './core/InstancedBufferAttribute'; -export * from './core/BufferAttribute'; -export * from './core/Face3'; -export * from './core/Object3D'; -export * from './core/Raycaster'; -export * from './core/Layers'; -export * from './core/EventDispatcher'; -export * from './core/DirectGeometry'; -export * from './core/Clock'; -export * from './math/interpolants/QuaternionLinearInterpolant'; -export * from './math/interpolants/LinearInterpolant'; -export * from './math/interpolants/DiscreteInterpolant'; -export * from './math/interpolants/CubicInterpolant'; -export * from './math/Interpolant'; -export * from './math/Triangle'; -export * from './math/MathUtils'; -export * from './math/Spherical'; -export * from './math/Cylindrical'; -export * from './math/Plane'; -export * from './math/Frustum'; -export * from './math/Sphere'; -export * from './math/Ray'; -export * from './math/Matrix4'; -export * from './math/Matrix3'; -export * from './math/Box3'; -export * from './math/Box2'; -export * from './math/Line3'; -export * from './math/Euler'; -export * from './math/Vector4'; -export * from './math/Vector3'; -export * from './math/Vector2'; -export * from './math/Quaternion'; -export * from './math/Color'; -export * from './math/SphericalHarmonics3'; -export * from './extras/objects/ImmediateRenderObject'; -export * from './helpers/SpotLightHelper'; -export * from './helpers/SkeletonHelper'; -export * from './helpers/PointLightHelper'; -export * from './helpers/HemisphereLightHelper'; -export * from './helpers/GridHelper'; -export * from './helpers/PolarGridHelper'; -export * from './helpers/DirectionalLightHelper'; -export * from './helpers/CameraHelper'; -export * from './helpers/BoxHelper'; -export * from './helpers/Box3Helper'; -export * from './helpers/PlaneHelper'; -export * from './helpers/ArrowHelper'; -export * from './helpers/AxesHelper'; -export * from './extras/curves/Curves'; -export * from './extras/core/Shape'; -export * from './extras/core/Path'; -export * from './extras/core/ShapePath'; -export * from './extras/core/Font'; -export * from './extras/core/CurvePath'; -export * from './extras/core/Curve'; -export * from './extras/ImageUtils'; -export * from './extras/ShapeUtils'; -export * from './extras/PMREMGenerator'; -export * from './renderers/webgl/WebGLBufferRenderer'; -export * from './renderers/webgl/WebGLCapabilities'; -export * from './renderers/webgl/WebGLClipping'; -export * from './renderers/webgl/WebGLExtensions'; -export * from './renderers/webgl/WebGLGeometries'; -export * from './renderers/webgl/WebGLIndexedBufferRenderer'; -export * from './renderers/webgl/WebGLInfo'; -export * from './renderers/webgl/WebGLLights'; -export * from './renderers/webgl/WebGLObjects'; -export * from './renderers/webgl/WebGLProgram'; -export * from './renderers/webgl/WebGLPrograms'; -export * from './renderers/webgl/WebGLProperties'; -export * from './renderers/webgl/WebGLRenderLists'; -export * from './renderers/webgl/WebGLShader'; -export * from './renderers/webgl/WebGLShadowMap'; -export * from './renderers/webgl/WebGLState'; -export * from './renderers/webgl/WebGLTextures'; -export * from './renderers/webgl/WebGLUniforms'; -export * from './constants'; -export * from './Three.Legacy'; - -export as namespace THREE; diff --git a/web/public/opencascade.d.ts b/web/public/opencascade.d.ts deleted file mode 100644 index ec2e400..0000000 --- a/web/public/opencascade.d.ts +++ /dev/null @@ -1,1644 +0,0 @@ -export default opencascade; -declare function opencascade(target?: T): Promise; -declare module opencascade { - function destroy(obj: any): void; - function _malloc(size: number): number; - function _free(ptr: number): void; - const HEAP8: Int8Array; - const HEAP16: Int16Array; - const HEAP32: Int32Array; - const HEAPU8: Uint8Array; - const HEAPU16: Uint16Array; - const HEAPU32: Uint32Array; - const HEAPF32: Float32Array; - const HEAPF64: Float64Array; - type Standard_Real = number; - type Standard_Boolean = boolean; - type Standard_Integer = number; - type Standard_CString = string; - class BRepBuilderAPI_MakeShape { - Build(): void; - Shape(): TopoDS_Shape; - IsDeleted(S: TopoDS_Shape): Standard_Boolean; - } - class BRepPrimAPI_MakeBox extends BRepBuilderAPI_MakeShape { - constructor(dx: Standard_Real, dy: Standard_Real, dz: Standard_Real); - constructor(P1: gp_Pnt, P2: gp_Pnt); - constructor(Axes: gp_Ax2, dx: Standard_Real, dy: Standard_Real, dz: Standard_Real); - Build(): void; - Shell(): TopoDS_Shell; - Solid(): TopoDS_Solid; - BottomFace(): TopoDS_Face; - BackFace(): TopoDS_Face; - FrontFace(): TopoDS_Face; - LeftFace(): TopoDS_Face; - RightFace(): TopoDS_Face; - TopFace(): TopoDS_Face; - } - class BRepPrimAPI_MakeCone extends BRepPrimAPI_MakeOneAxis { - constructor(R1: Standard_Real, R2: Standard_Real, H: Standard_Real); - constructor(R1: Standard_Real, R2: Standard_Real, H: Standard_Real, angle: Standard_Real); - constructor(Axes: gp_Ax2, R1: Standard_Real, R2: Standard_Real, H: Standard_Real, angle: Standard_Real); - } - class BRepPrimAPI_MakeCylinder extends BRepPrimAPI_MakeOneAxis { - constructor(R: Standard_Real, H: Standard_Real); - constructor(Axes: gp_Ax2, R: Standard_Real, H: Standard_Real); - constructor(Axes: gp_Ax2, R: Standard_Real, H: Standard_Real, Angle: Standard_Real); - } - class BRepPrimAPI_MakeHalfSpace extends BRepBuilderAPI_MakeShape { - constructor(Shell: TopoDS_Shell, RefPnt: gp_Pnt); - Solid(): TopoDS_Solid; - } - class BRepPrimAPI_MakeOneAxis extends BRepBuilderAPI_MakeShape { - Build(): void; - Face(): TopoDS_Face; - Shell(): TopoDS_Shell; - Solid(): TopoDS_Solid; - } - class BRepPrimAPI_MakeSweep extends BRepBuilderAPI_MakeShape { - FirstShape(): TopoDS_Shape; - LastShape(): TopoDS_Shape; - } - class BRepPrimAPI_MakePrism extends BRepPrimAPI_MakeSweep { - constructor(S: TopoDS_Shape, V: gp_Vec, Copy?: Standard_Boolean, Canonize?: Standard_Boolean); - Build(): void; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - IsDeleted(S: TopoDS_Shape): Standard_Boolean; - FirstShape(theShape: TopoDS_Shape): TopoDS_Shape; - LastShape(theShape: TopoDS_Shape): TopoDS_Shape; - } - class BRepPrimAPI_MakeRevol extends BRepPrimAPI_MakeSweep { - constructor(S: TopoDS_Shape, A: gp_Ax1, D: Standard_Real, Copy: Standard_Boolean); - constructor(S: TopoDS_Shape, A: gp_Ax1, Copy: Standard_Boolean); - Build(): void; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - IsDeleted(S: TopoDS_Shape): Standard_Boolean; - FirstShape(theShape: TopoDS_Shape): TopoDS_Shape; - LastShape(theShape: TopoDS_Shape): TopoDS_Shape; - HasDegenerated(): Standard_Boolean; - Degenerated(): TopTools_ListOfShape; - } - class BRepPrimAPI_MakeRevolution extends BRepPrimAPI_MakeOneAxis { - constructor(Meridian: Handle_Geom_Curve); - constructor(Meridian: Handle_Geom_Curve, angle: Standard_Real); - constructor(Axes: gp_Ax2, Meridian: Handle_Geom_Curve, angle: Standard_Real); - constructor(Axes: gp_Ax2, Meridian: Handle_Geom_Curve, VMin: Standard_Real, VMax: Standard_Real); - constructor(Axes: gp_Ax2, Meridian: Handle_Geom_Curve, VMin: Standard_Real, VMax: Standard_Real, angle: Standard_Real); - } - class BRepPrimAPI_MakeSphere extends BRepPrimAPI_MakeOneAxis { - constructor(R: Standard_Real); - constructor(Axis: gp_Ax2, R: Standard_Real); - constructor(Axis: gp_Ax2, R: Standard_Real, angle: Standard_Real); - constructor(Axis: gp_Ax2, R: Standard_Real, angle1: Standard_Real, angle2: Standard_Real); - constructor(Axis: gp_Ax2, R: Standard_Real, angle1: Standard_Real, angle2: Standard_Real, angle3: Standard_Real); - Sphere(): BRepPrim_Sphere; - } - class BRepPrimAPI_MakeTorus extends BRepPrimAPI_MakeOneAxis { - constructor(Axes: gp_Ax2, R1: Standard_Real, R2: Standard_Real); - constructor(Axes: gp_Ax2, R1: Standard_Real, R2: Standard_Real, angle: Standard_Real); - constructor(Axes: gp_Ax2, R1: Standard_Real, R2: Standard_Real, angle1: Standard_Real, angle2: Standard_Real); - constructor(Axes: gp_Ax2, R1: Standard_Real, R2: Standard_Real, angle1: Standard_Real, angle2: Standard_Real, angle: Standard_Real); - } - class BRepPrimAPI_MakeWedge extends BRepBuilderAPI_MakeShape { - constructor(dx: Standard_Real, dy: Standard_Real, dz: Standard_Real, ltx: Standard_Real); - constructor(Axes: gp_Ax2, dx: Standard_Real, dy: Standard_Real, dz: Standard_Real, ltx: Standard_Real); - constructor(dx: Standard_Real, dy: Standard_Real, dz: Standard_Real, xmin: Standard_Real, zmin: Standard_Real, xmax: Standard_Real, zmax: Standard_Real); - constructor(Axes: gp_Ax2, dx: Standard_Real, dy: Standard_Real, dz: Standard_Real, xmin: Standard_Real, zmin: Standard_Real, xmax: Standard_Real, zmax: Standard_Real); - Build(): void; - Shell(): TopoDS_Shell; - Solid(): TopoDS_Solid; - } - class BRepPrim_Sphere { - } - class GeomAPI_PointsToBSpline { - constructor(Points: TColgp_Array1OfPnt, DegMin?: Standard_Integer, DegMax?: Standard_Integer, Continuity?: GeomAbs_Shape, Tol3D?: Standard_Real); - Curve(): Handle_Geom_BSplineCurve; - IsDone(): Standard_Boolean; - } - class TopoDS_Shape { - constructor(); - constructor(T2: TopoDS_Shape); - IsNull(): Standard_Boolean; - Nullify(): void; - Location(): TopLoc_Location; - Located(theLoc: TopLoc_Location): TopoDS_Shape; - Orientation(): TopAbs_Orientation; - Oriented(theOrient: TopAbs_Orientation): TopoDS_Shape; - ShapeType(): TopAbs_ShapeEnum; - Free(): Standard_Boolean; - Locked(): Standard_Boolean; - Modified(): Standard_Boolean; - Checked(): Standard_Boolean; - Orientable(): Standard_Boolean; - Closed(): Standard_Boolean; - Infinite(): Standard_Boolean; - Convex(): Standard_Boolean; - Move(thePosition: TopLoc_Location): void; - Moved(thePosition: TopLoc_Location): TopoDS_Shape; - Reverse(): void; - Reversed(): TopoDS_Shape; - Complement(): void; - Complemented(): TopoDS_Shape; - Compose(theOrient: TopAbs_Orientation): void; - Composed(theOrient: TopAbs_Orientation): TopoDS_Shape; - NbChildren(): Standard_Integer; - IsPartner(theOther: TopoDS_Shape): Standard_Boolean; - IsSame(theOther: TopoDS_Shape): Standard_Boolean; - IsEqual(theOther: TopoDS_Shape): Standard_Boolean; - IsNotEqual(theOther: TopoDS_Shape): Standard_Boolean; - HashCode(theUpperBound: Standard_Integer): Standard_Integer; - EmptyCopy(): void; - EmptyCopied(): TopoDS_Shape; - } - class GProp_GProps { - constructor(); - constructor(SystemLocation: gp_Pnt); - Mass(): Standard_Real; - CentreOfMass(): gp_Pnt; - MomentOfInertia(A1: gp_Ax1): Standard_Real; - RadiusOfGyration(A: gp_Ax1): Standard_Real; - StaticMoments(Ix: Standard_Real, Iy: Standard_Real, Iz: Standard_Real): void; - } - class BRepGProp { - LinearProperties(S: TopoDS_Shape, LProps: GProp_GProps, SkipShared?: Standard_Boolean, UseTriangulation?: Standard_Boolean): void; - SurfaceProperties(S: TopoDS_Shape, SProps: GProp_GProps, SkipShared?: Standard_Boolean, UseTriangulation?: Standard_Boolean): void; - SurfaceProperties2(S: TopoDS_Shape, SProps: GProp_GProps, Eps: Standard_Real, SkipShared?: Standard_Boolean): Standard_Real; - VolumeProperties(S: TopoDS_Shape, VProps: GProp_GProps, OnlyClosed?: Standard_Boolean, SkipShared?: Standard_Boolean, UseTriangulation?: Standard_Boolean): void; - VolumeProperties2(S: TopoDS_Shape, VProps: GProp_GProps, Eps: Standard_Real, OnlyClosed?: Standard_Boolean, SkipShared?: Standard_Boolean): Standard_Real; - VolumePropertiesGK(S: TopoDS_Shape, VProps: GProp_GProps, Eps?: Standard_Real, OnlyClosed?: Standard_Boolean, IsUseSpan?: Standard_Boolean, CGFlag?: Standard_Boolean, IFlag?: Standard_Boolean, SkipShared?: Standard_Boolean): Standard_Real; - VolumePropertiesGK2(S: TopoDS_Shape, VProps: GProp_GProps, thePln: gp_Pln, Eps?: Standard_Real, OnlyClosed?: Standard_Boolean, IsUseSpan?: Standard_Boolean, CGFlag?: Standard_Boolean, IFlag?: Standard_Boolean, SkipShared?: Standard_Boolean): Standard_Real; - } - class gp_Pln { - constructor(); - constructor(P: gp_Pnt, V: gp_Dir); - Coefficients(A: Standard_Real, B: Standard_Real, C: Standard_Real, D: Standard_Real): void; - SetAxis(A1: gp_Ax1): void; - SetLocation(Loc: gp_Pnt): void; - UReverse(): void; - VReverse(): void; - Direct(): Standard_Boolean; - Axis(): gp_Ax1; - Location(): gp_Pnt; - Distance(P: gp_Pnt): Standard_Real; - SquareDistance(P: gp_Pnt): Standard_Real; - XAxis(): gp_Ax1; - YAxis(): gp_Ax1; - Contains(P: gp_Pnt, LinearTolerance: Standard_Real): Standard_Boolean; - Contains(L: gp_Lin, LinearTolerance: Standard_Real, AngularTolerance: Standard_Real): Standard_Boolean; - Mirror(P: gp_Pnt): void; - Mirrored(P: gp_Pnt): gp_Pln; - Rotate(A1: gp_Ax1, Ang: Standard_Real): void; - Rotated(A1: gp_Ax1, Ang: Standard_Real): gp_Pln; - Scale(P: gp_Pnt, S: Standard_Real): void; - Scaled(P: gp_Pnt, S: Standard_Real): gp_Pln; - Transform(T: gp_Trsf): void; - Transformed(T: gp_Trsf): gp_Pln; - Translate(V: gp_Vec): void; - Translated(V: gp_Vec): gp_Pln; - Translate(P1: gp_Pnt, P2: gp_Pnt): void; - Translated(P1: gp_Pnt, P2: gp_Pnt): gp_Pln; - } - class BRepMesh_IncrementalMesh { - constructor(); - constructor(theShape: TopoDS_Shape, theLinDeflection: Standard_Real); - constructor(theShape: TopoDS_Shape, theLinDeflection: Standard_Real, isRelative: Standard_Boolean); - constructor(theShape: TopoDS_Shape, theLinDeflection: Standard_Real, isRelative: Standard_Boolean, theAngDeflection: Standard_Real); - } - class Bnd_Box { - constructor(); - constructor(theMin: gp_Pnt, theMax: gp_Pnt); - SetWhole(): void; - SetVoid(): void; - Set(P: gp_Pnt): void; - Set(P: gp_Pnt, D: gp_Dir): void; - Update(aXMin: Standard_Real, aYMin: Standard_Real, aZMin: Standard_Real, aXMax: Standard_Real, aYMax: Standard_Real, aZMax: Standard_Real): void; - Update(X: Standard_Real, Y: Standard_Real, Z: Standard_Real): void; - GetGap(): Standard_Real; - SetGap(Tol: Standard_Real): void; - Enlarge(Tol: Standard_Real): void; - GetXmin(): Standard_Real; - GetXmax(): Standard_Real; - GetYmin(): Standard_Real; - GetYmax(): Standard_Real; - GetZmin(): Standard_Real; - GetZmax(): Standard_Real; - CornerMin(): gp_Pnt; - CornerMax(): gp_Pnt; - OpenXmin(): void; - OpenXmax(): void; - OpenYmin(): void; - OpenYmax(): void; - OpenZmin(): void; - OpenZmax(): void; - IsOpen(): Standard_Boolean; - IsOpenXmin(): Standard_Boolean; - IsOpenXmax(): Standard_Boolean; - IsOpenYmin(): Standard_Boolean; - IsOpenYmax(): Standard_Boolean; - IsOpenZmin(): Standard_Boolean; - IsOpenZmax(): Standard_Boolean; - IsWhole(): Standard_Boolean; - IsVoid(): Standard_Boolean; - IsXThin(tol: Standard_Real): Standard_Boolean; - IsYThin(tol: Standard_Real): Standard_Boolean; - IsZThin(tol: Standard_Real): Standard_Boolean; - IsThin(tol: Standard_Real): Standard_Boolean; - Transformed(T: gp_Trsf): Bnd_Box; - Add(Other: Bnd_Box): void; - Add(P: gp_Pnt, D: gp_Dir): void; - IsOut(P: gp_Pnt): Standard_Boolean; - IsOut(Other: Bnd_Box, T: gp_Trsf): Standard_Boolean; - IsOut(T1: gp_Trsf, Other: Bnd_Box, T2: gp_Trsf): Standard_Boolean; - Distance(Other: Bnd_Box): Standard_Real; - Dump(): void; - SquareExtent(): Standard_Real; - FinitePart(): Bnd_Box; - HasFinitePart(): Standard_Boolean; - } - class Bnd_OBB { - constructor(); - constructor(theCenter: gp_Pnt, theXDirection: gp_Dir, theYDirection: gp_Dir, theZDirection: gp_Dir, theHXSize: Standard_Real, theHYSize: Standard_Real, theHZSize: Standard_Real); - constructor(theBox: Bnd_Box); - ReBuild(theListOfPoints: TColgp_Array1OfPnt, theListOfTolerances: TColStd_Array1OfReal, theIsOptimal?: Standard_Boolean): void; - SetCenter(theCenter: gp_Pnt): void; - SetXComponent(theXDirection: gp_Dir, theHXSize: Standard_Real): void; - SetYComponent(theYDirection: gp_Dir, theHYSize: Standard_Real): void; - SetZComponent(theZDirection: gp_Dir, theHZSize: Standard_Real): void; - XHSize(): Standard_Real; - YHSize(): Standard_Real; - ZHSize(): Standard_Real; - IsVoid(): Standard_Boolean; - SetVoid(): void; - SetAABox(theFlag: Standard_Boolean): void; - IsAABox(): Standard_Boolean; - Enlarge(theGapAdd: Standard_Real): void; - GetVertex(theP: gp_Pnt): Standard_Boolean; - SquareExtent(): Standard_Real; - IsOut(theOther: Bnd_OBB): Standard_Boolean; - IsCompletelyInside(theOther: Bnd_OBB): Standard_Boolean; - Add(theOther: Bnd_OBB): void; - } - class BRepBndLib { - constructor(); - Add(S: TopoDS_Shape, B: Bnd_Box, useTriangulation?: Standard_Boolean): void; - AddClose(S: TopoDS_Shape, B: Bnd_Box): void; - AddOptimal(S: TopoDS_Shape, B: Bnd_Box, useTriangulation?: Standard_Boolean, useShapeToerance?: Standard_Boolean): void; - AddOBB(theS: TopoDS_Shape, theOBB: Bnd_OBB, theIsTriangulationUsed?: Standard_Boolean, theIsOptimal?: Standard_Boolean, theIsShapeToleranceUsed?: Standard_Boolean): void; - } - class gp_Vec { - constructor(Xv: Standard_Real, Yv: Standard_Real, Zv: Standard_Real); - X(): Standard_Real; - Y(): Standard_Real; - Z(): Standard_Real; - } - class Geom_Circle { - constructor(C: gp_Circ); - constructor(A2: gp_Ax2, Radius: Standard_Real); - Radius(): Standard_Real; - } - class Geom_Ellipse extends Geom_Conic { - constructor(C: gp_Elips); - constructor(A2: gp_Ax2, MajorRadius: Standard_Real, MinorRadius: Standard_Real); - MajorRadius(): Standard_Real; - MinorRadius(): Standard_Real; - } - class Geom_Hyperbola extends Geom_Conic { - constructor(C: gp_Hypr); - constructor(A2: gp_Ax2, MajorRadius: Standard_Real, MinorRadius: Standard_Real); - MajorRadius(): Standard_Real; - MinorRadius(): Standard_Real; - } - class Geom_Parabola extends Geom_Conic { - constructor(C: gp_Parab); - constructor(A2: gp_Ax2, Focal: Standard_Real); - Focal(): Standard_Real; - } - class Geom_Conic extends Geom_Curve { - } - class gp_Pnt { - constructor(); - constructor(Xp: Standard_Real, Yp: Standard_Real, Zp: Standard_Real); - SetCoord(Index: Standard_Integer, Xi: Standard_Real): void; - SetCoord(Xp: Standard_Real, Yp: Standard_Real, Zp: Standard_Real): void; - SetX(X: Standard_Real): void; - SetY(Y: Standard_Real): void; - SetZ(Z: Standard_Real): void; - Coord(Index: Standard_Integer): Standard_Real; - X(): Standard_Real; - Y(): Standard_Real; - Z(): Standard_Real; - BaryCenter(Alpha: Standard_Real, P: gp_Pnt, Beta: Standard_Real): void; - IsEqual(Other: gp_Pnt, LinearTolerance: Standard_Real): Standard_Boolean; - Distance(Other: gp_Pnt): Standard_Real; - SquareDistance(Other: gp_Pnt): Standard_Real; - Mirror(P: gp_Pnt): void; - Rotate(A1: gp_Ax1, Ang: Standard_Real): void; - Rotated(A1: gp_Ax1, Ang: Standard_Real): gp_Pnt; - Scale(P: gp_Pnt, S: Standard_Real): void; - Scaled(P: gp_Pnt, S: Standard_Real): gp_Pnt; - Transform(T: gp_Trsf): void; - Transformed(T: gp_Trsf): gp_Pnt; - Translated(V: gp_Vec): gp_Pnt; - Translated(P1: gp_Pnt, P2: gp_Pnt): gp_Pnt; - } - class gp_XYZ { - constructor(X: Standard_Real, Y: Standard_Real, Z: Standard_Real); - SetCoord(Xp: Standard_Real, Yp: Standard_Real, Zp: Standard_Real): void; - SetX(X: Standard_Real): void; - SetY(Y: Standard_Real): void; - SetZ(Z: Standard_Real): void; - Coord(Index: Standard_Integer): Standard_Real; - X(): Standard_Real; - Y(): Standard_Real; - Z(): Standard_Real; - IsEqual(Other: gp_XYZ, Tolerance: Standard_Real): Standard_Boolean; - } - class GC_MakeArcOfCircle { - constructor(Circ: gp_Circ, Alpha1: Standard_Real, Alpha2: Standard_Real, Sense: Standard_Boolean); - constructor(P1: gp_Pnt, P2: gp_Pnt, P3: gp_Pnt); - Value(): Handle_Geom_TrimmedCurve; - } - class GC_MakeSegment { - constructor(P1: gp_Pnt, P2: gp_Pnt); - constructor(Line: gp_Lin, U1: Standard_Real, U2: Standard_Real); - Value(): Handle_Geom_TrimmedCurve; - } - class GC_MakeCircle { - constructor(Circ: gp_Circ); - constructor(A2: gp_Ax2, Radius: Standard_Real); - Value(): Handle_Geom_Circle; - } - class GC_MakeEllipse { - constructor(E: gp_Elips); - constructor(A2: gp_Ax2, MajorRadius: Standard_Real, MinorRadius: Standard_Real); - Value(): Handle_Geom_Ellipse; - } - class GC_MakeHyperbola { - constructor(E: gp_Hypr); - constructor(A2: gp_Ax2, MajorRadius: Standard_Real, MinorRadius: Standard_Real); - Value(): Handle_Geom_Hyperbola; - } - class GC_MakeArcOfParabola { - constructor(Parab: gp_Parab, Alpha1: Standard_Real, Alpha2: Standard_Real, Sense: Standard_Boolean); - Value(): Handle_Geom_TrimmedCurve; - } - class TopoDS_Edge { - constructor(); - constructor(T2: TopoDS_Edge); - IsNull(): Standard_Boolean; - Nullify(): void; - Location(): TopLoc_Location; - Located(theLoc: TopLoc_Location): TopoDS_Shape; - Orientation(): TopAbs_Orientation; - Oriented(theOrient: TopAbs_Orientation): TopoDS_Shape; - ShapeType(): TopAbs_ShapeEnum; - Free(): Standard_Boolean; - Locked(): Standard_Boolean; - Modified(): Standard_Boolean; - Checked(): Standard_Boolean; - Orientable(): Standard_Boolean; - Closed(): Standard_Boolean; - Infinite(): Standard_Boolean; - Convex(): Standard_Boolean; - Move(thePosition: TopLoc_Location): void; - Moved(thePosition: TopLoc_Location): TopoDS_Shape; - Reverse(): void; - Reversed(): TopoDS_Shape; - Complement(): void; - Complemented(): TopoDS_Shape; - Compose(theOrient: TopAbs_Orientation): void; - Composed(theOrient: TopAbs_Orientation): TopoDS_Shape; - NbChildren(): Standard_Integer; - IsPartner(theOther: TopoDS_Shape): Standard_Boolean; - IsSame(theOther: TopoDS_Shape): Standard_Boolean; - IsEqual(theOther: TopoDS_Shape): Standard_Boolean; - IsNotEqual(theOther: TopoDS_Shape): Standard_Boolean; - HashCode(theUpperBound: Standard_Integer): Standard_Integer; - EmptyCopy(): void; - EmptyCopied(): TopoDS_Shape; - } - class TopoDS_Wire { - constructor(); - constructor(T2: TopoDS_Wire); - IsNull(): Standard_Boolean; - Nullify(): void; - Location(): TopLoc_Location; - Located(theLoc: TopLoc_Location): TopoDS_Shape; - Orientation(): TopAbs_Orientation; - Oriented(theOrient: TopAbs_Orientation): TopoDS_Shape; - ShapeType(): TopAbs_ShapeEnum; - Free(): Standard_Boolean; - Locked(): Standard_Boolean; - Modified(): Standard_Boolean; - Checked(): Standard_Boolean; - Orientable(): Standard_Boolean; - Closed(): Standard_Boolean; - Infinite(): Standard_Boolean; - Convex(): Standard_Boolean; - Move(thePosition: TopLoc_Location): void; - Moved(thePosition: TopLoc_Location): TopoDS_Shape; - Reverse(): void; - Reversed(): TopoDS_Shape; - Complement(): void; - Complemented(): TopoDS_Shape; - Compose(theOrient: TopAbs_Orientation): void; - Composed(theOrient: TopAbs_Orientation): TopoDS_Shape; - NbChildren(): Standard_Integer; - IsPartner(theOther: TopoDS_Shape): Standard_Boolean; - IsSame(theOther: TopoDS_Shape): Standard_Boolean; - IsEqual(theOther: TopoDS_Shape): Standard_Boolean; - IsNotEqual(theOther: TopoDS_Shape): Standard_Boolean; - HashCode(theUpperBound: Standard_Integer): Standard_Integer; - EmptyCopy(): void; - EmptyCopied(): TopoDS_Shape; - } - class TopoDS_Compound extends TopoDS_Shape { - constructor(); - constructor(T2: TopoDS_Compound); - IsNull(): Standard_Boolean; - Nullify(): void; - Location(): TopLoc_Location; - Located(theLoc: TopLoc_Location): TopoDS_Shape; - Orientation(): TopAbs_Orientation; - Oriented(theOrient: TopAbs_Orientation): TopoDS_Shape; - ShapeType(): TopAbs_ShapeEnum; - Free(): Standard_Boolean; - Locked(): Standard_Boolean; - Modified(): Standard_Boolean; - Checked(): Standard_Boolean; - Orientable(): Standard_Boolean; - Closed(): Standard_Boolean; - Infinite(): Standard_Boolean; - Convex(): Standard_Boolean; - Move(thePosition: TopLoc_Location): void; - Moved(thePosition: TopLoc_Location): TopoDS_Shape; - Reverse(): void; - Reversed(): TopoDS_Shape; - Complement(): void; - Complemented(): TopoDS_Shape; - Compose(theOrient: TopAbs_Orientation): void; - Composed(theOrient: TopAbs_Orientation): TopoDS_Shape; - NbChildren(): Standard_Integer; - IsPartner(theOther: TopoDS_Shape): Standard_Boolean; - IsSame(theOther: TopoDS_Shape): Standard_Boolean; - IsEqual(theOther: TopoDS_Shape): Standard_Boolean; - IsNotEqual(theOther: TopoDS_Shape): Standard_Boolean; - HashCode(theUpperBound: Standard_Integer): Standard_Integer; - EmptyCopy(): void; - EmptyCopied(): TopoDS_Shape; - } - class TopoDS_Face { - constructor(); - constructor(T2: TopoDS_Face); - IsNull(): Standard_Boolean; - Nullify(): void; - Location(): TopLoc_Location; - Located(theLoc: TopLoc_Location): TopoDS_Shape; - Orientation(): TopAbs_Orientation; - Oriented(theOrient: TopAbs_Orientation): TopoDS_Shape; - ShapeType(): TopAbs_ShapeEnum; - Free(): Standard_Boolean; - Locked(): Standard_Boolean; - Modified(): Standard_Boolean; - Checked(): Standard_Boolean; - Orientable(): Standard_Boolean; - Closed(): Standard_Boolean; - Infinite(): Standard_Boolean; - Convex(): Standard_Boolean; - Move(thePosition: TopLoc_Location): void; - Moved(thePosition: TopLoc_Location): TopoDS_Shape; - Reverse(): void; - Reversed(): TopoDS_Shape; - Complement(): void; - Complemented(): TopoDS_Shape; - Compose(theOrient: TopAbs_Orientation): void; - Composed(theOrient: TopAbs_Orientation): TopoDS_Shape; - NbChildren(): Standard_Integer; - IsPartner(theOther: TopoDS_Shape): Standard_Boolean; - IsSame(theOther: TopoDS_Shape): Standard_Boolean; - IsEqual(theOther: TopoDS_Shape): Standard_Boolean; - IsNotEqual(theOther: TopoDS_Shape): Standard_Boolean; - HashCode(theUpperBound: Standard_Integer): Standard_Integer; - EmptyCopy(): void; - EmptyCopied(): TopoDS_Shape; - } - class TopoDS_Vertex extends TopoDS_Shape { - constructor(); - constructor(T2: TopoDS_Vertex); - IsNull(): Standard_Boolean; - Nullify(): void; - Location(): TopLoc_Location; - Located(theLoc: TopLoc_Location): TopoDS_Shape; - Orientation(): TopAbs_Orientation; - Oriented(theOrient: TopAbs_Orientation): TopoDS_Shape; - ShapeType(): TopAbs_ShapeEnum; - Free(): Standard_Boolean; - Locked(): Standard_Boolean; - Modified(): Standard_Boolean; - Checked(): Standard_Boolean; - Orientable(): Standard_Boolean; - Closed(): Standard_Boolean; - Infinite(): Standard_Boolean; - Convex(): Standard_Boolean; - Move(thePosition: TopLoc_Location): void; - Moved(thePosition: TopLoc_Location): TopoDS_Shape; - Reverse(): void; - Reversed(): TopoDS_Shape; - Complement(): void; - Complemented(): TopoDS_Shape; - Compose(theOrient: TopAbs_Orientation): void; - Composed(theOrient: TopAbs_Orientation): TopoDS_Shape; - NbChildren(): Standard_Integer; - IsPartner(theOther: TopoDS_Shape): Standard_Boolean; - IsSame(theOther: TopoDS_Shape): Standard_Boolean; - IsEqual(theOther: TopoDS_Shape): Standard_Boolean; - IsNotEqual(theOther: TopoDS_Shape): Standard_Boolean; - HashCode(theUpperBound: Standard_Integer): Standard_Integer; - EmptyCopy(): void; - EmptyCopied(): TopoDS_Shape; - } - class gp_Ax1 { - constructor(); - constructor(P: gp_Pnt, V: gp_Dir); - } - class gp_Ax2 { - constructor(); - constructor(P: gp_Pnt, V: gp_Dir); - } - class gp { - OX(): gp_Ax1; - DZ(): gp_Dir; - } - class gp_Dir { - constructor(); - constructor(V: gp_Vec); - constructor(Xv: Standard_Real, Yv: Standard_Real, Zv: Standard_Real); - SetCoord(Index: Standard_Integer, Xi: Standard_Real): void; - SetCoord(Xv: Standard_Real, Yv: Standard_Real, Zv: Standard_Real): void; - SetX(X: Standard_Real): void; - SetY(Y: Standard_Real): void; - SetZ(Z: Standard_Real): void; - Coord(Index: Standard_Integer): Standard_Real; - X(): Standard_Real; - Y(): Standard_Real; - Z(): Standard_Real; - IsEqual(Other: gp_Dir, AngularTolerance: Standard_Real): Standard_Boolean; - IsNormal(Other: gp_Dir, AngularTolerance: Standard_Real): Standard_Boolean; - IsOpposite(Other: gp_Dir, AngularTolerance: Standard_Real): Standard_Boolean; - IsParallel(Other: gp_Dir, AngularTolerance: Standard_Real): Standard_Boolean; - Angle(Other: gp_Dir): Standard_Real; - AngleWithRef(Other: gp_Dir, VRef: gp_Dir): Standard_Real; - Cross(Right: gp_Dir): void; - Crossed(Right: gp_Dir): gp_Dir; - CrossCross(V1: gp_Dir, V2: gp_Dir): void; - CrossCrossed(V1: gp_Dir, V2: gp_Dir): gp_Dir; - Dot(Other: gp_Dir): Standard_Real; - DotCross(V1: gp_Dir, V2: gp_Dir): Standard_Real; - Reversed(): gp_Dir; - Mirror(V: gp_Dir): void; - Mirrored(V: gp_Dir): gp_Dir; - Rotate(A1: gp_Ax1, Ang: Standard_Real): void; - Rotated(A1: gp_Ax1, Ang: Standard_Real): gp_Dir; - Transform(T: gp_Trsf): void; - Transformed(T: gp_Trsf): gp_Dir; - } - class gp_Trsf { - constructor(); - SetMirror(A1: gp_Ax1): void; - SetTranslation(V: gp_Vec): void; - SetTranslationPart(V: gp_Vec): void; - SetRotation(A1: gp_Ax1, Ang: Standard_Real): void; - SetScaleFactor(S: Standard_Real): void; - Multiply(T: gp_Trsf): void; - PreMultiply(T: gp_Trsf): void; - Value(Row: Standard_Integer, Col: Standard_Integer): Standard_Real; - Inverted(): gp_Trsf; - TranslationPart(): gp_XYZ; - ScaleFactor(): Standard_Real; - Multiplied(T: gp_Trsf): gp_Trsf; - } - class BRepBuilderAPI_Transform { - constructor(S: TopoDS_Shape, T: gp_Trsf, Copy?: Standard_Boolean); - } - class BRepBuilderAPI_ModifyShape { - } - class TopoDS { - Vertex(S: TopoDS_Shape): TopoDS_Vertex; - Edge(S: TopoDS_Shape): TopoDS_Edge; - Wire(S: TopoDS_Shape): TopoDS_Wire; - Face(S: TopoDS_Shape): TopoDS_Face; - Shell(S: TopoDS_Shape): TopoDS_Shell; - Solid(S: TopoDS_Shape): TopoDS_Solid; - CompSolid(S: TopoDS_Shape): TopoDS_CompSolid; - Compound(S: TopoDS_Shape): TopoDS_Compound; - } - class BRepBuilderAPI_MakeFace { - constructor(W: TopoDS_Wire); - constructor(F: TopoDS_Face, W: TopoDS_Wire); - Face(): TopoDS_Face; - Add(W: TopoDS_Wire): void; - Error(): BRepBuilderAPI_FaceError; - } - class BRepFilletAPI_MakeFillet2d { - constructor(F: TopoDS_Face); - AddFillet(V: TopoDS_Vertex, Radius: Standard_Real): void; - Status(): ChFi2d_ConstructionError; - } - class BRepFilletAPI_MakeFillet { - constructor(S: TopoDS_Shape); - Add(Radius: Standard_Real, E: TopoDS_Edge): void; - } - class BRepFilletAPI_MakeChamfer { - constructor(S: TopoDS_Shape); - Add(Dis: Standard_Real, E: TopoDS_Edge): void; - Add(Dis1: Standard_Real, Dis2: Standard_Real, E: TopoDS_Edge, F: TopoDS_Face): void; - } - class BRepFilletAPI_LocalOperation { - } - class TopExp_Explorer { - constructor(); - constructor(S: TopoDS_Shape, ToFind: TopAbs_ShapeEnum, ToAvoid?: TopAbs_ShapeEnum); - Init(S: TopoDS_Shape, ToFind: TopAbs_ShapeEnum, ToAvoid?: TopAbs_ShapeEnum): void; - More(): Standard_Boolean; - Next(): void; - Current(): TopoDS_Shape; - ReInit(): void; - Depth(): Standard_Integer; - Clear(): void; - Destroy(): void; - } - class TopLoc_Location { - constructor(); - constructor(T: gp_Trsf); - Identity(): void; - FirstPower(): Standard_Integer; - NextLocation(): TopLoc_Location; - Transformation(): gp_Trsf; - } - class Adaptor3d_Curve { - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - Value(U: Standard_Real): gp_Pnt; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V1: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Standard_Integer): void; - Resolution(R3d: Standard_Real): Standard_Real; - Line(): gp_Lin; - Circle(): gp_Circ; - Degree(): Standard_Integer; - IsRational(): Standard_Boolean; - NbPoles(): Standard_Integer; - NbKnots(): Standard_Integer; - Bezier(): Handle_Geom_BezierCurve; - BSpline(): Handle_Geom_BSplineCurve; - } - class BRepAdaptor_Curve { - constructor(); - constructor(E: TopoDS_Edge); - constructor(E: TopoDS_Edge, F: TopoDS_Face); - Reset(): void; - Initialize(E: TopoDS_Edge): void; - Initialize(E: TopoDS_Edge, F: TopoDS_Face): void; - Trsf(): gp_Trsf; - Is3DCurve(): Standard_Boolean; - IsCurveOnSurface(): Standard_Boolean; - Edge(): TopoDS_Edge; - Tolerance(): Standard_Real; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - Value(U: Standard_Real): gp_Pnt; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V1: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Standard_Integer): void; - Resolution(R3d: Standard_Real): Standard_Real; - Line(): gp_Lin; - Circle(): gp_Circ; - Degree(): Standard_Integer; - IsRational(): Standard_Boolean; - NbPoles(): Standard_Integer; - NbKnots(): Standard_Integer; - Bezier(): Handle_Geom_BezierCurve; - BSpline(): Handle_Geom_BSplineCurve; - } - class GCPnts_TangentialDeflection { - constructor(); - constructor(C: Adaptor3d_Curve, AngularDeflection: Standard_Real, CurvatureDeflection: Standard_Real, MinimumOfPoints?: Standard_Integer, UTol?: Standard_Real, theMinLen?: Standard_Real); - constructor(C: Adaptor3d_Curve, FirstParameter: Standard_Real, LastParameter: Standard_Real, AngularDeflection: Standard_Real, CurvatureDeflection: Standard_Real, MinimumOfPoints: Standard_Integer, UTol: Standard_Real, theMinLen: Standard_Real); - Initialize(C: Adaptor3d_Curve, AngularDeflection: Standard_Real, CurvatureDeflection: Standard_Real, MinimumOfPoints?: Standard_Integer, UTol?: Standard_Real, theMinLen?: Standard_Real): void; - Initialize(C: Adaptor3d_Curve, FirstParameter: Standard_Real, LastParameter: Standard_Real, AngularDeflection: Standard_Real, CurvatureDeflection: Standard_Real, MinimumOfPoints: Standard_Integer, UTol: Standard_Real, theMinLen: Standard_Real): void; - AddPoint(thePnt: gp_Pnt, theParam: Standard_Real, theIsReplace?: Standard_Boolean): Standard_Integer; - NbPoints(): Standard_Integer; - Parameter(I: Standard_Integer): Standard_Real; - Value(I: Standard_Integer): gp_Pnt; - ArcAngularStep(theRadius: Standard_Real, theLinearDeflection: Standard_Real, theAngularDeflection: Standard_Real, theMinLength: Standard_Real): Standard_Real; - } - class Geom_Curve { - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - TransformedParameter(U: Standard_Real, T: gp_Trsf): Standard_Real; - ParametricTransformation(T: gp_Trsf): Standard_Real; - Reversed(): Handle_Geom_Curve; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - IsCN(N: Standard_Integer): Standard_Boolean; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V1: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Standard_Integer): void; - Value(U: Standard_Real): gp_Pnt; - } - class BRep_Tool { - IsClosed(S: TopoDS_Shape): Standard_Boolean; - Surface(F: TopoDS_Face): Handle_Geom_Surface; - Triangulation(F: TopoDS_Face, L: TopLoc_Location): Handle_Poly_Triangulation; - Tolerance(F: TopoDS_Face): Standard_Real; - NaturalRestriction(F: TopoDS_Face): Standard_Boolean; - IsGeometric(E: TopoDS_Edge): Standard_Boolean; - Curve(E: TopoDS_Edge, L: TopLoc_Location, First: Standard_Real, Last: Standard_Real): Handle_Geom_Curve; - Polygon3D(E: TopoDS_Edge, L: TopLoc_Location): Handle_Poly_Polygon3D; - PolygonOnTriangulation(E: TopoDS_Edge, T: Handle_Poly_Triangulation, L: TopLoc_Location): Handle_Poly_PolygonOnTriangulation; - IsClosed(E: TopoDS_Edge, F: TopoDS_Face): Standard_Boolean; - IsClosed(E: TopoDS_Edge, T: Handle_Poly_Triangulation, L: TopLoc_Location): Standard_Boolean; - SameParameter(E: TopoDS_Edge): Standard_Boolean; - SameRange(E: TopoDS_Edge): Standard_Boolean; - Degenerated(E: TopoDS_Edge): Standard_Boolean; - Range(E: TopoDS_Edge, First: Standard_Real, Last: Standard_Real): void; - Range(E: TopoDS_Edge, F: TopoDS_Face, First: Standard_Real, Last: Standard_Real): void; - HasContinuity(E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face): Standard_Boolean; - HasContinuity(E: TopoDS_Edge): Standard_Boolean; - Parameter(V: TopoDS_Vertex, E: TopoDS_Edge): Standard_Real; - Parameter(V: TopoDS_Vertex, E: TopoDS_Edge, F: TopoDS_Face): Standard_Real; - Pnt(V: TopoDS_Vertex): gp_Pnt; - Parameters(V: TopoDS_Vertex, F: TopoDS_Face): gp_Pnt2d; - MaxTolerance(theShape: TopoDS_Shape, theSubShape: TopAbs_ShapeEnum): Standard_Real; - } - class Poly_Polygon3D { - constructor(Nodes: TColgp_Array1OfPnt); - constructor(Nodes: TColgp_Array1OfPnt, Parameters: TColStd_Array1OfReal); - Copy(): Handle_Poly_Polygon3D; - Deflection(): Standard_Real; - NbNodes(): Standard_Integer; - Nodes(): TColgp_Array1OfPnt; - HasParameters(): Standard_Boolean; - Parameters(): TColStd_Array1OfReal; - ChangeParameters(): TColStd_Array1OfReal; - } - class GCE2d_MakeSegment { - constructor(P1: gp_Pnt2d, P2: gp_Pnt2d); - Value(): Handle_Geom2d_TrimmedCurve; - } - class Geom_BoundedCurve extends Geom_Curve { - } - class Geom2d_Ellipse extends Geom2d_Conic { - constructor(MajorAxis: gp_Ax2d, MajorRadius: Standard_Real, MinorRadius: Standard_Real, Sense?: Standard_Boolean); - } - class Geom2d_TrimmedCurve extends Geom2d_BoundedCurve { - constructor(C: Handle_Geom2d_Curve, U1: Standard_Real, U2: Standard_Real, Sense?: Standard_Boolean, theAdjustPeriodic?: Standard_Boolean); - } - class Geom_TrimmedCurve extends Geom_BoundedCurve { - constructor(C: Handle_Geom_Curve, U1: Standard_Real, U2: Standard_Real, Sense?: Standard_Boolean, theAdjustPeriodic?: Standard_Boolean); - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - SetTrim(U1: Standard_Real, U2: Standard_Real, Sense?: Standard_Boolean, theAdjust?: Standard_Boolean): void; - BasisCurve(): Handle_Geom_Curve; - IsCN(N: Standard_Integer): Standard_Boolean; - FirstParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - LastParameter(): Standard_Real; - StartPoint(): gp_Pnt; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V1: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Standard_Integer): void; - Transform(T: gp_Trsf): void; - TransformedParameter(U: Standard_Real, T: gp_Trsf): Standard_Real; - ParametricTransformation(T: gp_Trsf): Standard_Real; - } - class Geom_BezierCurve extends Geom_Curve { - constructor(CurvePoles: TColgp_Array1OfPnt); - constructor(CurvePoles: TColgp_Array1OfPnt, PoleWeights: TColStd_Array1OfReal); - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - IsCN(N: Standard_Integer): Standard_Boolean; - FirstParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - LastParameter(): Standard_Real; - StartPoint(): gp_Pnt; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V1: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Standard_Integer): gp_Vec; - Transform(T: gp_Trsf): void; - } - class Geom_BSplineCurve extends Geom_Curve { - constructor(Poles: TColgp_Array1OfPnt, Weights: TColStd_Array1OfReal, Knots: TColStd_Array1OfReal, Multiplicities: TColStd_Array1OfInteger, Degree: Standard_Integer, Periodic?: Standard_Boolean, CheckRational?: Standard_Boolean); - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - IsCN(N: Standard_Integer): Standard_Boolean; - FirstParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - LastParameter(): Standard_Real; - StartPoint(): gp_Pnt; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V1: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Standard_Integer): gp_Vec; - Transform(T: gp_Trsf): void; - } - class Standard_Transient { - get_type_name(): string; - DynamicType(): Handle_Standard_Type; - } - class Standard_Type extends Standard_Transient { - Name(): string; - } - class Geom_Geometry extends Standard_Transient { - } - class Geom_Surface extends Geom_Geometry { - } - class Geom_ElementarySurface extends Geom_Surface { - Location(): gp_Pnt; - } - class Geom_Plane extends Geom_ElementarySurface { - } - class gp_Ax3 { - constructor(); - } - class gp_Pnt2d { - constructor(); - constructor(Xp: Standard_Real, Yp: Standard_Real); - X(): Standard_Real; - Y(): Standard_Real; - } - class gp_Dir2d { - constructor(); - constructor(Xv: Standard_Real, Yv: Standard_Real); - } - class gp_Ax2d { - constructor(); - constructor(P: gp_Pnt2d, V: gp_Dir2d); - } - class Geom_CylindricalSurface { - constructor(A3: gp_Ax3, Radius: Standard_Real); - } - class Geom2d_Curve { - Period(): Standard_Real; - Value(U: Standard_Real): gp_Pnt2d; - } - class Geom2d_BoundedCurve extends Geom2d_Curve { - } - class Geom2d_Conic extends Geom2d_Curve { - } - class Handle_Geom2d_TrimmedCurve { - constructor(); - constructor(thePtr: Geom2d_TrimmedCurve); - IsNull(): boolean; - Nullify(): void; - get(): Geom2d_TrimmedCurve; - } - class Handle_Geom2d_Curve { - constructor(); - constructor(thePtr: Geom2d_Curve); - IsNull(): boolean; - Nullify(): void; - get(): Geom2d_Curve; - } - class Handle_Standard_Type { - constructor(); - constructor(thePtr: Standard_Type); - IsNull(): boolean; - Nullify(): void; - get(): Standard_Type; - } - class Handle_Geom_Plane { - constructor(); - constructor(thePtr: Geom_Plane); - IsNull(): boolean; - Nullify(): void; - get(): Geom_Plane; - } - class Handle_Geom_Surface { - constructor(); - constructor(thePtr: Geom_Surface); - IsNull(): boolean; - Nullify(): void; - get(): Geom_Surface; - } - class Handle_Geom_Curve { - constructor(); - constructor(thePtr: Geom_Curve); - IsNull(): boolean; - Nullify(): void; - get(): Geom_Curve; - } - class Handle_Geom_TrimmedCurve { - constructor(); - constructor(thePtr: Geom_TrimmedCurve); - IsNull(): boolean; - Nullify(): void; - get(): Geom_TrimmedCurve; - } - class Handle_Geom_Circle { - constructor(); - constructor(thePtr: Geom_Circle); - IsNull(): boolean; - Nullify(): void; - get(): Geom_Circle; - } - class Handle_Geom_Ellipse { - constructor(); - constructor(thePtr: Geom_Ellipse); - IsNull(): boolean; - Nullify(): void; - get(): Geom_Ellipse; - } - class Handle_Geom_Hyperbola { - constructor(); - constructor(thePtr: Geom_Hyperbola); - IsNull(): boolean; - Nullify(): void; - get(): Geom_Hyperbola; - } - class Handle_Geom_BezierCurve { - constructor(); - constructor(thePtr: Geom_BezierCurve); - IsNull(): boolean; - Nullify(): void; - get(): Geom_BezierCurve; - } - class Handle_Geom_BSplineCurve { - constructor(); - constructor(thePtr: Geom_BSplineCurve); - IsNull(): boolean; - Nullify(): void; - get(): Geom_BSplineCurve; - } - class Handle_Poly_Polygon3D { - constructor(); - constructor(thePtr: Poly_Polygon3D); - IsNull(): boolean; - Nullify(): void; - get(): Poly_Polygon3D; - } - class Handle_ShapeFix_Shell { - IsNull(): boolean; - get(): ShapeFix_Shell; - } - class Handle_Poly_Triangulation { - constructor(); - constructor(thePtr: Poly_Triangulation); - IsNull(): boolean; - Nullify(): void; - get(): Poly_Triangulation; - } - class Handle_Poly_PolygonOnTriangulation { - constructor(); - constructor(thePtr: Poly_PolygonOnTriangulation); - IsNull(): boolean; - Nullify(): void; - get(): Poly_PolygonOnTriangulation; - } - class Handle_XSControl_WorkSession { - constructor(); - constructor(thePtr: XSControl_WorkSession); - IsNull(): boolean; - Nullify(): void; - get(): XSControl_WorkSession; - } - class Handle_Transfer_TransientProcess { - constructor(); - constructor(thePtr: Transfer_TransientProcess); - IsNull(): boolean; - Nullify(): void; - get(): Transfer_TransientProcess; - } - class Handle_Message_ProgressIndicator { - constructor(); - constructor(thePtr: Message_ProgressIndicator); - IsNull(): boolean; - Nullify(): void; - get(): Message_ProgressIndicator; - } - class TColgp_Array1OfPnt { - constructor(); - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - Length(): Standard_Integer; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - Value(theIndex: Standard_Integer): gp_Pnt; - SetValue(Index: Standard_Integer, Value: gp_Pnt): void; - } - class TColgp_Array1OfDir { - constructor(); - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - Length(): Standard_Integer; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - Value(theIndex: Standard_Integer): gp_Dir; - } - class Poly_Array1OfTriangle { - constructor(); - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - Length(): Standard_Integer; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - Value(theIndex: Standard_Integer): Poly_Triangle; - SetValue(Index: Standard_Integer, Value: Poly_Triangle): void; - } - class TColStd_Array1OfReal { - constructor(); - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - Length(): Standard_Integer; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - Value(theIndex: Standard_Integer): Standard_Real; - SetValue(Index: Standard_Integer, Value: Standard_Real): void; - } - class TColStd_Array1OfInteger { - constructor(); - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - Length(): Standard_Integer; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - Value(theIndex: Standard_Integer): Standard_Integer; - SetValue(Index: Standard_Integer, Value: Standard_Integer): void; - } - class XSControl_WorkSession { - constructor(); - ClearData(theMode: Standard_Integer): void; - SelectNorm(theNormName: Standard_CString): Standard_Boolean; - ClearContext(): void; - InitTransferReader(theMode: Standard_Integer): void; - MapReader(): Handle_Transfer_TransientProcess; - SetMapReader(theTP: Handle_Transfer_TransientProcess): Standard_Boolean; - TransferReadRoots(): Standard_Integer; - TransferWriteShape(theShape: TopoDS_Shape, theCompGraph?: Standard_Boolean): IFSelect_ReturnStatus; - } - class Transfer_ProcessForTransient { - constructor(); - GetProgress(): Handle_Message_ProgressIndicator; - SetProgress(theProgess: Handle_Message_ProgressIndicator): void; - } - class Transfer_TransientProcess extends Transfer_ProcessForTransient { - constructor(nb?: Standard_Integer); - HasGraph(): Standard_Boolean; - } - class Message_ProgressIndicator { - GetPosition(): Standard_Real; - GetValue(): Standard_Real; - NewScope(name: Standard_CString): Standard_Boolean; - NewScope(span: Standard_Real, name: Standard_CString): Standard_Boolean; - EndScope(): Standard_Boolean; - Reset(): void; - } - class Poly_Triangulation { - constructor(nbNodes: Standard_Integer, nbTriangles: Standard_Integer, UVNodes: Standard_Boolean); - Copy(): Handle_Poly_Triangulation; - constructor(theTriangulation: Handle_Poly_Triangulation); - Deflection(theDeflection: Standard_Real): void; - RemoveUVNodes(): void; - NbNodes(): Standard_Integer; - NbTriangles(): Standard_Integer; - HasUVNodes(): Standard_Boolean; - Nodes(): TColgp_Array1OfPnt; - ChangeNodes(): TColgp_Array1OfPnt; - Triangles(): Poly_Array1OfTriangle; - ChangeTriangles(): Poly_Array1OfTriangle; - HasNormals(): Standard_Boolean; - Normal(theIndex: Standard_Integer): gp_Dir; - SetNormal(theIndex: Standard_Integer, theNormal: gp_Dir): void; - } - class Poly_Triangle { - constructor(); - constructor(N1: Standard_Integer, N2: Standard_Integer, N3: Standard_Integer); - Set(N1: Standard_Integer, N2: Standard_Integer, N3: Standard_Integer): void; - Set(Index: Standard_Integer, Node: Standard_Integer): void; - Value(Index: Standard_Integer): Standard_Integer; - ChangeValue(Index: Standard_Integer): Standard_Integer; - } - class Poly_Connect { - constructor(); - constructor(theTriangulation: Handle_Poly_Triangulation); - Load(theTriangulation: Handle_Poly_Triangulation): void; - Triangulation(): Handle_Poly_Triangulation; - Triangle(N: Standard_Integer): Standard_Integer; - Triangles(T: Standard_Integer, t1: Standard_Integer, t2: Standard_Integer, t3: Standard_Integer): void; - Nodes(T: Standard_Integer, t1: Standard_Integer, t2: Standard_Integer, t3: Standard_Integer): void; - Initialize(N: Standard_Integer): void; - More(): Standard_Boolean; - Next(): void; - Value(): Standard_Integer; - } - class StdPrs_ToolTriangulatedShape { - constructor(); - IsTriangulated(theShape: TopoDS_Shape): Standard_Boolean; - IsClosed(theShape: TopoDS_Shape): Standard_Boolean; - ComputeNormals(theFace: TopoDS_Face, theTris: Handle_Poly_Triangulation): void; - ComputeNormals(theFace: TopoDS_Face, theTris: Handle_Poly_Triangulation, thePolyConnect: Poly_Connect): void; - Normal(theFace: TopoDS_Face, thePolyConnect: Poly_Connect, theNormals: TColgp_Array1OfDir): void; - } - class BRepBuilderAPI_Sewing { - constructor(tolerance?: Standard_Real, option1?: Standard_Boolean, option2?: Standard_Boolean, option3?: Standard_Boolean, option4?: Standard_Boolean); - Init(tolerance?: Standard_Real, option1?: Standard_Boolean, option2?: Standard_Boolean, option3?: Standard_Boolean, option4?: Standard_Boolean): void; - Load(shape: TopoDS_Shape): void; - Add(shape: TopoDS_Shape): void; - Perform(thePI?: Handle_Message_ProgressIndicator): void; - SewedShape(): TopoDS_Shape; - NbFreeEdges(): Standard_Integer; - FreeEdge(index: Standard_Integer): TopoDS_Edge; - NbMultipleEdges(): Standard_Integer; - MultipleEdge(index: Standard_Integer): TopoDS_Edge; - NbContigousEdges(): Standard_Integer; - ContigousEdge(index: Standard_Integer): TopoDS_Edge; - IsSectionBound(section: TopoDS_Edge): Standard_Boolean; - SectionToBoundary(section: TopoDS_Edge): TopoDS_Edge; - NbDegeneratedShapes(): Standard_Integer; - DegeneratedShape(index: Standard_Integer): TopoDS_Shape; - IsDegenerated(shape: TopoDS_Shape): Standard_Boolean; - IsModified(shape: TopoDS_Shape): Standard_Boolean; - Modified(shape: TopoDS_Shape): TopoDS_Shape; - IsModifiedSubShape(shape: TopoDS_Shape): Standard_Boolean; - ModifiedSubShape(shape: TopoDS_Shape): TopoDS_Shape; - Dump(): void; - NbDeletedFaces(): Standard_Integer; - DeletedFace(index: Standard_Integer): TopoDS_Face; - WhichFace(theEdg: TopoDS_Edge, index?: Standard_Integer): TopoDS_Face; - SameParameterMode(): Standard_Boolean; - SetSameParameterMode(SameParameterMode: Standard_Boolean): void; - Tolerance(): Standard_Real; - SetTolerance(theToler: Standard_Real): void; - MinTolerance(): Standard_Real; - SetMinTolerance(theMinToler: Standard_Real): void; - MaxTolerance(): Standard_Real; - SetMaxTolerance(theMaxToler: Standard_Real): void; - FaceMode(): Standard_Boolean; - SetFaceMode(theFaceMode: Standard_Boolean): void; - FloatingEdgesMode(): Standard_Boolean; - SetFloatingEdgesMode(theFloatingEdgesMode: Standard_Boolean): void; - LocalTolerancesMode(): Standard_Boolean; - SetLocalTolerancesMode(theLocalTolerancesMode: Standard_Boolean): void; - SetNonManifoldMode(theNonManifoldMode: Standard_Boolean): void; - NonManifoldMode(): Standard_Boolean; - } - class TopoDS_Builder { - MakeWire(W: TopoDS_Wire): void; - MakeCompound(C: TopoDS_Compound): void; - Add(S: TopoDS_Shape, C: TopoDS_Shape): void; - Remove(S: TopoDS_Shape, C: TopoDS_Shape): void; - } - class BRep_Builder extends TopoDS_Builder { - constructor(); - MakeFace(F: TopoDS_Face): void; - MakeFace(F: TopoDS_Face, T: Handle_Poly_Triangulation): void; - UpdateFace(F: TopoDS_Face, T: Handle_Poly_Triangulation): void; - NaturalRestriction(F: TopoDS_Face, N: Standard_Boolean): void; - MakeEdge(E: TopoDS_Edge): void; - SameParameter(E: TopoDS_Edge, S: Standard_Boolean): void; - SameRange(E: TopoDS_Edge, S: Standard_Boolean): void; - Degenerated(E: TopoDS_Edge, D: Standard_Boolean): void; - Range(E: TopoDS_Edge, First: Standard_Real, Last: Standard_Real, Only3d?: Standard_Boolean): void; - Transfert(Ein: TopoDS_Edge, Eout: TopoDS_Edge): void; - MakeVertex(V: TopoDS_Vertex): void; - MakeVertex(V: TopoDS_Vertex, P: gp_Pnt, Tol: Standard_Real): void; - UpdateVertex(V: TopoDS_Vertex, P: gp_Pnt, Tol: Standard_Real): void; - UpdateVertex(Ve: TopoDS_Vertex, U: Standard_Real, V: Standard_Real, F: TopoDS_Face, Tol: Standard_Real): void; - UpdateVertex(V: TopoDS_Vertex, Tol: Standard_Real): void; - Transfert(Ein: TopoDS_Edge, Eout: TopoDS_Edge, Vin: TopoDS_Vertex, Vout: TopoDS_Vertex): void; - } - class BRepAdaptor_Surface { - constructor(); - constructor(F: TopoDS_Face, R?: Standard_Boolean); - Initialize(F: TopoDS_Face, R?: Standard_Boolean): void; - Trsf(): gp_Trsf; - Face(): TopoDS_Face; - Tolerance(): Standard_Real; - FirstUParameter(): Standard_Real; - LastUParameter(): Standard_Real; - FirstVParameter(): Standard_Real; - LastVParameter(): Standard_Real; - IsUClosed(): Standard_Boolean; - IsVClosed(): Standard_Boolean; - IsUPeriodic(): Standard_Boolean; - UPeriod(): Standard_Real; - IsVPeriodic(): Standard_Boolean; - VPeriod(): Standard_Real; - Value(U: Standard_Real, V: Standard_Real): gp_Pnt; - D0(U: Standard_Real, V: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec): void; - D2(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec): void; - D3(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec): void; - DN(U: Standard_Real, V: Standard_Real, Nu: Standard_Integer, Nv: Standard_Integer): gp_Vec; - UResolution(R3d: Standard_Real): Standard_Real; - VResolution(R3d: Standard_Real): Standard_Real; - GetType(): GeomAbs_SurfaceType; - Plane(): gp_Pln; - UDegree(): Standard_Integer; - NbUPoles(): Standard_Integer; - VDegree(): Standard_Integer; - NbVPoles(): Standard_Integer; - NbUKnots(): Standard_Integer; - NbVKnots(): Standard_Integer; - IsURational(): Standard_Boolean; - IsVRational(): Standard_Boolean; - AxeOfRevolution(): gp_Ax1; - Direction(): gp_Dir; - OffsetValue(): Standard_Real; - } - class StlAPI_Reader { - constructor(); - Read(theShape: TopoDS_Shape, theFileName: Standard_CString): Standard_Boolean; - } - type TopAbs_Orientation = "TopAbs_FORWARD" | "TopAbs_REVERSED" | "TopAbs_INTERNAL" | "TopAbs_EXTERNAL"; - type TopAbs_ShapeEnum = "TopAbs_COMPOUND" | "TopAbs_COMPSOLID" | "TopAbs_SOLID" | "TopAbs_SHELL" | "TopAbs_FACE" | "TopAbs_WIRE" | "TopAbs_EDGE" | "TopAbs_VERTEX" | "TopAbs_SHAPE"; - type GeomAbs_SurfaceType = "GeomAbs_Plane" | "GeomAbs_Cylinder" | "GeomAbs_Cone" | "GeomAbs_Sphere" | "GeomAbs_Torus" | "GeomAbs_BezierSurface" | "GeomAbs_BSplineSurface" | "GeomAbs_SurfaceOfRevolution" | "GeomAbs_SurfaceOfExtrusion" | "GeomAbs_OffsetSurface" | "GeomAbs_OtherSurface"; - class BRepAlgoAPI_Fuse extends BRepAlgoAPI_BooleanOperation { - constructor(S1: TopoDS_Shape, S2: TopoDS_Shape); - } - class BRepAlgoAPI_Cut { - constructor(S1: TopoDS_Shape, S2: TopoDS_Shape); - } - class BRepAlgoAPI_Common extends BRepAlgoAPI_BooleanOperation { - constructor(S1: TopoDS_Shape, S2: TopoDS_Shape); - } - class BRepAlgoAPI_BooleanOperation { - } - class gp_Lin { - constructor(); - constructor(A1: gp_Ax1); - } - class gp_Circ { - constructor(); - constructor(A2: gp_Ax2, Radius: Standard_Real); - Radius(): Standard_Real; - Length(): Standard_Real; - Area(): Standard_Real; - } - class gp_Elips { - constructor(); - constructor(A2: gp_Ax2, MajorRadius: Standard_Real, MinorRadius: Standard_Real); - Eccentricity(): Standard_Real; - Focal(): Standard_Real; - Area(): Standard_Real; - MajorRadius(): Standard_Real; - MinorRadius(): Standard_Real; - } - class gp_Hypr { - constructor(); - constructor(A2: gp_Ax2, MajorRadius: Standard_Real, MinorRadius: Standard_Real); - Eccentricity(): Standard_Real; - Focal(): Standard_Real; - MajorRadius(): Standard_Real; - MinorRadius(): Standard_Real; - } - class gp_Parab { - constructor(); - constructor(A2: gp_Ax2, Focal: Standard_Real); - Focal(): Standard_Real; - } - class BRepBuilderAPI_MakeEdge { - constructor(C: Handle_Geom_Curve); - constructor(L: Handle_Geom2d_Curve, S: Handle_Geom_Surface); - Edge(): TopoDS_Edge; - } - class BRepBuilderAPI_MakeWire { - constructor(); - constructor(E: TopoDS_Edge); - constructor(E1: TopoDS_Edge, E2: TopoDS_Edge); - constructor(E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge); - Add(W: TopoDS_Wire): void; - Wire(): TopoDS_Wire; - } - class BRepLib { - BuildCurve3d(E: TopoDS_Edge, Tolerance?: Standard_Real, Continuity?: GeomAbs_Shape, MaxDegree?: Standard_Integer, MaxSegment?: Standard_Integer): Standard_Boolean; - BuildCurves3d(S: TopoDS_Shape): Standard_Boolean; - } - class BRepOffsetAPI_ThruSections extends BRepBuilderAPI_MakeShape { - constructor(isSolid?: Standard_Boolean, ruled?: Standard_Boolean, pres3d?: Standard_Real); - AddWire(wire: TopoDS_Wire): void; - CheckCompatibility(check?: Standard_Boolean): void; - } - class BRepOffsetAPI_MakePipe extends BRepBuilderAPI_MakeShape { - constructor(Spine: TopoDS_Wire, Profile: TopoDS_Shape); - Build(): void; - Generated(SSpine: TopoDS_Shape, SProfile: TopoDS_Shape): TopoDS_Shape; - FirstShape(): TopoDS_Shape; - LastShape(): TopoDS_Shape; - ErrorOnSurface(): Standard_Real; - } - class BRepOffsetAPI_MakePipeShell { - constructor(Spine: TopoDS_Wire); - SetMode(AuxiliarySpine: TopoDS_Wire, CurvilinearEquivalence: Standard_Boolean, KeepContact?: BRepFill_TypeOfContact): void; - Add(Profile: TopoDS_Shape, WithContact?: Standard_Boolean, WithCorrection?: Standard_Boolean): void; - Build(): void; - MakeSolid(): Standard_Boolean; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - FirstShape(): TopoDS_Shape; - LastShape(): TopoDS_Shape; - Shape(): TopoDS_Shape; - ErrorOnSurface(): Standard_Real; - GetStatus(): BRepBuilderAPI_PipeError; - IsReady(): Standard_Boolean; - } - class BRepBuilderAPI_MakeVertex extends BRepBuilderAPI_MakeShape { - constructor(P: gp_Pnt); - Vertex(): TopoDS_Vertex; - } - class BRepBuilderAPI_MakePolygon extends BRepBuilderAPI_MakeShape { - constructor(); - constructor(V1: TopoDS_Vertex, V2: TopoDS_Vertex); - constructor(V1: TopoDS_Vertex, V2: TopoDS_Vertex, V3: TopoDS_Vertex, Close: Standard_Boolean); - constructor(V1: TopoDS_Vertex, V2: TopoDS_Vertex, V3: TopoDS_Vertex, V4: TopoDS_Vertex, Close: Standard_Boolean); - Add(V: TopoDS_Vertex): void; - Added(): Standard_Boolean; - Close(): void; - FirstVertex(): TopoDS_Vertex; - LastVertex(): TopoDS_Vertex; - IsDone(): Standard_Boolean; - Edge(): TopoDS_Edge; - Wire(): TopoDS_Wire; - } - class XSControl_Reader { - constructor(); - constructor(norm: Standard_CString); - constructor(WS: Handle_XSControl_WorkSession, scratch: Standard_Boolean); - SetNorm(norm: Standard_CString): Standard_Boolean; - SetWS(WS: Handle_XSControl_WorkSession, scratch?: Standard_Boolean): void; - WS(): Handle_XSControl_WorkSession; - ReadFile(filename: string): IFSelect_ReturnStatus; - NbRootsForTransfer(): Standard_Integer; - TransferOneRoot(num?: Standard_Integer): Standard_Boolean; - TransferOne(num: Standard_Integer): Standard_Boolean; - TransferRoots(): Standard_Integer; - ClearShapes(): void; - NbShapes(): Standard_Integer; - Shape(num?: Standard_Integer): TopoDS_Shape; - OneShape(): TopoDS_Shape; - PrintStatsTransfer(what: Standard_Integer, mode?: Standard_Integer): void; - } - class STEPControl_Reader extends XSControl_Reader { - constructor(); - } - class IGESControl_Reader extends XSControl_Reader { - constructor(); - } - class TopTools_ListOfShape { - constructor(); - Append(theItem: TopoDS_Shape): TopoDS_Shape; - First(): TopoDS_Shape; - Last(): TopoDS_Shape; - } - class BRepOffsetAPI_MakeOffset extends BRepBuilderAPI_MakeShape { - constructor(); - constructor(Spine: TopoDS_Wire, Join?: GeomAbs_JoinType, IsOpenResult?: Standard_Boolean); - AddWire(Spine: TopoDS_Wire): void; - Perform(Offset: Standard_Real, Alt?: Standard_Real): void; - Shape(): TopoDS_Shape; - } - class BRepOffsetAPI_MakeOffsetShape extends BRepBuilderAPI_MakeShape { - constructor(); - PerformBySimple(theS: TopoDS_Shape, theOffsetValue: Standard_Real): void; - PerformByJoin(S: TopoDS_Shape, Offset: Standard_Real, Tol: Standard_Real, Mode?: BRepOffset_Mode, Intersection?: Standard_Boolean, SelfInter?: Standard_Boolean, Join?: GeomAbs_JoinType, RemoveIntEdges?: Standard_Boolean): void; - Shape(): TopoDS_Shape; - } - class BRepOffsetAPI_MakeThickSolid extends BRepOffsetAPI_MakeOffsetShape { - constructor(); - MakeThickSolidByJoin(S: TopoDS_Shape, ClosingFaces: TopTools_ListOfShape, Offset: Standard_Real, Tol: Standard_Real): void; - } - class ShapeFix_Face { - constructor(); - constructor(face: TopoDS_Face); - ClearModes(): void; - Init(face: TopoDS_Face): void; - SetPrecision(preci: Standard_Real): void; - SetMinTolerance(mintol: Standard_Real): void; - SetMaxTolerance(maxtol: Standard_Real): void; - FixWireMode(): Standard_Integer; - FixOrientationMode(): Standard_Integer; - FixAddNaturalBoundMode(): Standard_Integer; - FixMissingSeamMode(): Standard_Integer; - FixSmallAreaWireMode(): Standard_Integer; - RemoveSmallAreaFaceMode(): Standard_Integer; - FixIntersectingWiresMode(): Standard_Integer; - FixLoopWiresMode(): Standard_Integer; - FixSplitFaceMode(): Standard_Integer; - AutoCorrectPrecisionMode(): Standard_Integer; - FixPeriodicDegeneratedMode(): Standard_Integer; - Face(): TopoDS_Face; - Result(): TopoDS_Shape; - Add(wire: TopoDS_Wire): void; - Perform(): Standard_Boolean; - FixOrientation(): Standard_Boolean; - FixAddNaturalBound(): Standard_Boolean; - FixMissingSeam(): Standard_Boolean; - FixSmallAreaWire(theIsRemoveSmallFace: Standard_Boolean): Standard_Boolean; - FixIntersectingWires(): Standard_Boolean; - FixWiresTwoCoincEdges(): Standard_Boolean; - FixPeriodicDegenerated(): Standard_Boolean; - } - class ShapeFix_Shape { - constructor(); - constructor(shape: TopoDS_Shape); - Init(shape: TopoDS_Shape): void; - Perform(theProgress?: Handle_Message_ProgressIndicator): Standard_Boolean; - Shape(): TopoDS_Shape; - FixShellTool(): Handle_ShapeFix_Shell; - Status(status: ShapeExtend_Status): Standard_Boolean; - SetPrecision(preci: Standard_Real): void; - SetMinTolerance(mintol: Standard_Real): void; - SetMaxTolerance(maxtol: Standard_Real): void; - FixSolidMode(): Standard_Integer; - FixFreeShellMode(): Standard_Integer; - FixFreeFaceMode(): Standard_Integer; - FixFreeWireMode(): Standard_Integer; - FixSameParameterMode(): Standard_Integer; - FixVertexPositionMode(): Standard_Integer; - FixVertexTolMode(): Standard_Integer; - } - class TopoDS_Shell extends TopoDS_Shape { - constructor(); - constructor(T2: TopoDS_Shell); - IsNull(): Standard_Boolean; - Nullify(): void; - Location(): TopLoc_Location; - Located(theLoc: TopLoc_Location): TopoDS_Shape; - Orientation(): TopAbs_Orientation; - Oriented(theOrient: TopAbs_Orientation): TopoDS_Shape; - ShapeType(): TopAbs_ShapeEnum; - Free(): Standard_Boolean; - Locked(): Standard_Boolean; - Modified(): Standard_Boolean; - Checked(): Standard_Boolean; - Orientable(): Standard_Boolean; - Closed(): Standard_Boolean; - Infinite(): Standard_Boolean; - Convex(): Standard_Boolean; - Move(thePosition: TopLoc_Location): void; - Moved(thePosition: TopLoc_Location): TopoDS_Shape; - Reverse(): void; - Reversed(): TopoDS_Shape; - Complement(): void; - Complemented(): TopoDS_Shape; - Compose(theOrient: TopAbs_Orientation): void; - Composed(theOrient: TopAbs_Orientation): TopoDS_Shape; - NbChildren(): Standard_Integer; - IsPartner(theOther: TopoDS_Shape): Standard_Boolean; - IsSame(theOther: TopoDS_Shape): Standard_Boolean; - IsEqual(theOther: TopoDS_Shape): Standard_Boolean; - IsNotEqual(theOther: TopoDS_Shape): Standard_Boolean; - HashCode(theUpperBound: Standard_Integer): Standard_Integer; - EmptyCopy(): void; - EmptyCopied(): TopoDS_Shape; - } - class ShapeFix_Shell { - constructor(); - constructor(shape: TopoDS_Shell); - Init(shell: TopoDS_Shell): void; - Perform(theProgress?: Handle_Message_ProgressIndicator): Standard_Boolean; - FixFaceOrientation(shell: TopoDS_Shell, isAccountMultiConex?: Standard_Boolean, NonManifold?: Standard_Boolean): Standard_Boolean; - Shell(): TopoDS_Shell; - Shape(): TopoDS_Shape; - NbShells(): Standard_Integer; - ErrorFaces(): TopoDS_Compound; - Status(status: ShapeExtend_Status): Standard_Boolean; - SetPrecision(preci: Standard_Real): void; - SetMinTolerance(mintol: Standard_Real): void; - SetMaxTolerance(maxtol: Standard_Real): void; - FixFaceMode(): Standard_Integer; - FixOrientationMode(): Standard_Integer; - SetNonManifoldFlag(isNonManifold: Standard_Boolean): void; - } - class TopoDS_CompSolid extends TopoDS_Shape { - constructor(); - constructor(T2: TopoDS_CompSolid); - IsNull(): Standard_Boolean; - Nullify(): void; - Location(): TopLoc_Location; - Located(theLoc: TopLoc_Location): TopoDS_Shape; - Orientation(): TopAbs_Orientation; - Oriented(theOrient: TopAbs_Orientation): TopoDS_Shape; - ShapeType(): TopAbs_ShapeEnum; - Free(): Standard_Boolean; - Locked(): Standard_Boolean; - Modified(): Standard_Boolean; - Checked(): Standard_Boolean; - Orientable(): Standard_Boolean; - Closed(): Standard_Boolean; - Infinite(): Standard_Boolean; - Convex(): Standard_Boolean; - Move(thePosition: TopLoc_Location): void; - Moved(thePosition: TopLoc_Location): TopoDS_Shape; - Reverse(): void; - Reversed(): TopoDS_Shape; - Complement(): void; - Complemented(): TopoDS_Shape; - Compose(theOrient: TopAbs_Orientation): void; - Composed(theOrient: TopAbs_Orientation): TopoDS_Shape; - NbChildren(): Standard_Integer; - IsPartner(theOther: TopoDS_Shape): Standard_Boolean; - IsSame(theOther: TopoDS_Shape): Standard_Boolean; - IsEqual(theOther: TopoDS_Shape): Standard_Boolean; - IsNotEqual(theOther: TopoDS_Shape): Standard_Boolean; - HashCode(theUpperBound: Standard_Integer): Standard_Integer; - EmptyCopy(): void; - EmptyCopied(): TopoDS_Shape; - } - class TopoDS_Solid extends TopoDS_Shape { - constructor(); - constructor(T2: TopoDS_Solid); - IsNull(): Standard_Boolean; - Nullify(): void; - Location(): TopLoc_Location; - Located(theLoc: TopLoc_Location): TopoDS_Shape; - Orientation(): TopAbs_Orientation; - Oriented(theOrient: TopAbs_Orientation): TopoDS_Shape; - ShapeType(): TopAbs_ShapeEnum; - Free(): Standard_Boolean; - Locked(): Standard_Boolean; - Modified(): Standard_Boolean; - Checked(): Standard_Boolean; - Orientable(): Standard_Boolean; - Closed(): Standard_Boolean; - Infinite(): Standard_Boolean; - Convex(): Standard_Boolean; - Move(thePosition: TopLoc_Location): void; - Moved(thePosition: TopLoc_Location): TopoDS_Shape; - Reverse(): void; - Reversed(): TopoDS_Shape; - Complement(): void; - Complemented(): TopoDS_Shape; - Compose(theOrient: TopAbs_Orientation): void; - Composed(theOrient: TopAbs_Orientation): TopoDS_Shape; - NbChildren(): Standard_Integer; - IsPartner(theOther: TopoDS_Shape): Standard_Boolean; - IsSame(theOther: TopoDS_Shape): Standard_Boolean; - IsEqual(theOther: TopoDS_Shape): Standard_Boolean; - IsNotEqual(theOther: TopoDS_Shape): Standard_Boolean; - HashCode(theUpperBound: Standard_Integer): Standard_Integer; - EmptyCopy(): void; - EmptyCopied(): TopoDS_Shape; - } - class BRepBuilderAPI_MakeSolid { - constructor(); - constructor(S: TopoDS_CompSolid); - constructor(S1: TopoDS_Shell, S2: TopoDS_Shell); - constructor(S1: TopoDS_Shell, S2: TopoDS_Shell, S3: TopoDS_Shell); - Add(S: TopoDS_Shell): void; - IsDone(): Standard_Boolean; - Solid(): TopoDS_Solid; - IsDeleted(S: TopoDS_Shape): Standard_Boolean; - } - class STEPControl_Writer { - constructor(); - SetTolerance(Tol: Standard_Real): void; - UnsetTolerance(): void; - Transfer(sh: TopoDS_Shape, mode: STEPControl_StepModelType, compgraph?: Standard_Boolean): IFSelect_ReturnStatus; - Write(filename: string): IFSelect_ReturnStatus; - PrintStatsTransfer(what: Standard_Integer, mode?: Standard_Integer): void; - } - class Poly_PolygonOnTriangulation { - constructor(Nodes: TColStd_Array1OfInteger); - constructor(Nodes: TColStd_Array1OfInteger, Parameters: TColStd_Array1OfReal); - Deflection(D: Standard_Real): void; - NbNodes(): Standard_Integer; - Nodes(): TColStd_Array1OfInteger; - HasParameters(): Standard_Boolean; - } - class BRepBuilderAPI_Copy { - constructor(); - constructor(S: TopoDS_Shape, copyGeom?: Standard_Boolean, copyMesh?: Standard_Boolean); - Perform(S: TopoDS_Shape, copyGeom?: Standard_Boolean, copyMesh?: Standard_Boolean): void; - } - type STEPControl_StepModelType = "STEPControl_AsIs" | "STEPControl_ManifoldSolidBrep" | "STEPControl_BrepWithVoids" | "STEPControl_FacetedBrep" | "STEPControl_FacetedBrepAndBrepWithVoids" | "STEPControl_ShellBasedSurfaceModel" | "STEPControl_GeometricCurveSet" | "STEPControl_Hybrid"; - type BRepOffset_Mode = "BRepOffset_Skin" | "BRepOffset_Pipe" | "BRepOffset_RectoVerso"; - type IFSelect_ReturnStatus = "IFSelect_RetVoid" | "IFSelect_RetDone" | "IFSelect_RetError" | "IFSelect_RetFail" | "IFSelect_RetStop"; - type GeomAbs_JoinType = "GeomAbs_Arc" | "GeomAbs_Tangent" | "GeomAbs_Intersection"; - type GeomAbs_Shape = "GeomAbs_C0" | "GeomAbs_G1" | "GeomAbs_C1" | "GeomAbs_G2" | "GeomAbs_C2" | "GeomAbs_C3" | "GeomAbs_CN"; - type ShapeExtend_Status = "ShapeExtend_OK" | "ShapeExtend_DONE1" | "ShapeExtend_DONE2" | "ShapeExtend_DONE3" | "ShapeExtend_DONE4" | "ShapeExtend_DONE5" | "ShapeExtend_DONE6" | "ShapeExtend_DONE7" | "ShapeExtend_DONE8" | "ShapeExtend_DONE" | "ShapeExtend_FAIL1" | "ShapeExtend_FAIL2" | "ShapeExtend_FAIL3" | "ShapeExtend_FAIL4" | "ShapeExtend_FAIL5" | "ShapeExtend_FAIL6" | "ShapeExtend_FAIL7" | "ShapeExtend_FAIL8" | "ShapeExtend_FAIL"; - type BRepBuilderAPI_PipeError = "BRepBuilderAPI_PipeDone" | "BRepBuilderAPI_PipeNotDone" | "BRepBuilderAPI_PlaneNotIntersectGuide" | "BRepBuilderAPI_ImpossibleContact"; - type BRepFill_TypeOfContact = "BRepFill_NoContact" | "BRepFill_Contact" | "BRepFill_ContactOnBorder"; - type BRepBuilderAPI_FaceError = "BRepBuilderAPI_FaceDone" | "BRepBuilderAPI_NoFace" | "BRepBuilderAPI_NotPlanar" | "BRepBuilderAPI_CurveProjectionFailed" | "BRepBuilderAPI_ParametersOutOfRange"; - type ChFi2d_ConstructionError = "ChFi2d_NotPlanar" | "ChFi2d_NoFace" | "ChFi2d_InitialisationError" | "ChFi2d_ParametersError" | "ChFi2d_Ready" | "ChFi2d_IsDone" | "ChFi2d_ComputationError" | "ChFi2d_ConnexionError" | "ChFi2d_TangencyError" | "ChFi2d_FirstEdgeDegenerated" | "ChFi2d_LastEdgeDegenerated" | "ChFi2d_BothEdgesDegenerated" | "ChFi2d_NotAuthorized"; -} \ No newline at end of file diff --git a/web/src/cascade b/web/src/cascade index 3cf6e98..93582a3 160000 --- a/web/src/cascade +++ b/web/src/cascade @@ -1 +1 @@ -Subproject commit 3cf6e98dd7d984ed5765a49083b1179005836130 +Subproject commit 93582a351d17e8c90b40f2aa8523fc0f8b02c36a diff --git a/web/src/index.html b/web/src/index.html index 4ba987e..f9b4d50 100644 --- a/web/src/index.html +++ b/web/src/index.html @@ -29,7 +29,7 @@ // Begins loading the CAD Kernel Web Worker if (window.Worker) { - cascadeStudioWorker = new Worker('/CascadeStudioMainWorker.js'); + cascadeStudioWorker = new Worker('/CADWorker/CascadeStudioMainWorker.js'); // Ping Pong Messages Back and Forth based on their registration in messageHandlers // var messageHandlers = {}; cascadeStudioWorker.onmessage = function (e) { diff --git a/yarn.lock b/yarn.lock index ad5cccd..aa27fb9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11912,16 +11912,24 @@ open@^7.0.0: is-docker "^2.0.0" is-wsl "^2.1.1" -opencascade.js@^0.1.15: - version "0.1.19" - resolved "https://registry.yarnpkg.com/opencascade.js/-/opencascade.js-0.1.19.tgz#32d545ca4add213d168eb6e6973dceba1bcab35b" - integrity sha512-7q8LNihtU7BzsIXXoqTHq2/7ASfDdK5OycuI1oscc/9Opmew8OXjcv/oTSF+w5U+0dwUt8LewdG/xYSIkkf8Ig== +opencascade.js@0.1.15: + version "0.1.15" + resolved "https://registry.yarnpkg.com/opencascade.js/-/opencascade.js-0.1.15.tgz#2898494707472c53b99bc6e3b5f99ff24c33b4e0" + integrity sha512-Xg3Po97wkNaBGjDR88+xI6vJPrxrAnF0eYZ1+jhIjy9p/GYp3fVi4zO4mL9H+F1aagd977XY5kHdScOlWiQfhQ== opener@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.1.tgz#6d2f0e77f1a0af0032aca716c2c1fbb8e7e8abed" integrity sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA== +opentype.js@^1.3.3: + version "1.3.3" + resolved "https://registry.yarnpkg.com/opentype.js/-/opentype.js-1.3.3.tgz#65b8645b090a1ad444065b784d442fa19d1061f6" + integrity sha512-/qIY/+WnKGlPIIPhbeNjynfD2PO15G9lA/xqlX2bDH+4lc3Xz5GCQ68mqxj3DdUv6AJqCeaPvuAoH8mVL0zcuA== + dependencies: + string.prototype.codepointat "^0.2.1" + tiny-inflate "^1.0.3" + opn@^5.5.0: version "5.5.0" resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" @@ -14586,6 +14594,11 @@ string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" +string.prototype.codepointat@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz#004ad44c8afc727527b108cd462b4d971cd469bc" + integrity sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg== + "string.prototype.matchall@^4.0.0 || ^3.0.1", string.prototype.matchall@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.2.tgz#48bb510326fb9fdeb6a33ceaa81a6ea04ef7648e" @@ -15086,6 +15099,11 @@ tiny-emitter@^2.0.0: resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" integrity sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q== +tiny-inflate@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/tiny-inflate/-/tiny-inflate-1.0.3.tgz#122715494913a1805166aaf7c93467933eea26c4" + integrity sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw== + tiny-warning@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754"