chili3d 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -175
- package/{packages/chili → chili}/package.json +5 -1
- package/{packages/chili-builder → chili-builder}/package.json +5 -1
- package/{packages/chili-controls → chili-controls}/package.json +5 -1
- package/{packages/chili-core → chili-core}/package.json +5 -1
- package/{packages/chili-geo → chili-geo}/package.json +5 -1
- package/{packages/chili-i18n → chili-i18n}/package.json +5 -1
- package/{packages/chili-storage → chili-storage}/package.json +5 -1
- package/{packages/chili-three → chili-three}/package.json +5 -1
- package/{packages/chili-ui → chili-ui}/package.json +5 -1
- package/{packages/chili-vis → chili-vis}/package.json +5 -1
- package/{packages/chili-wasm → chili-wasm}/package.json +5 -1
- package/{packages/chili-web → chili-web}/package.json +5 -1
- package/package.json +18 -48
- package/.github/workflows/main.yml +0 -26
- package/.vscode/c_cpp_properties.json +0 -30
- package/.vscode/launch.json +0 -21
- package/.vscode/settings.json +0 -8
- package/Dockerfile +0 -7
- package/LICENSE +0 -661
- package/biome.json +0 -67
- package/compose.yml +0 -7
- package/cpp/CMakeLists.txt +0 -96
- package/cpp/CMakePresets.json +0 -43
- package/cpp/README.md +0 -21
- package/cpp/src/converter.cpp +0 -413
- package/cpp/src/factory.cpp +0 -612
- package/cpp/src/geometry.cpp +0 -204
- package/cpp/src/mesher.cpp +0 -330
- package/cpp/src/opencascade.cpp +0 -414
- package/cpp/src/shape.cpp +0 -447
- package/cpp/src/shared.cpp +0 -83
- package/cpp/src/shared.hpp +0 -211
- package/cpp/src/transient.cpp +0 -29
- package/cpp/src/utils.cpp +0 -114
- package/cpp/src/utils.hpp +0 -25
- package/cpp/test/index.html +0 -146
- package/packages/chili/test/command.test.ts +0 -4
- package/packages/chili-controls/test/converter.test.ts +0 -70
- package/packages/chili-controls/test/styleMock.js +0 -4
- package/packages/chili-core/test/binding.test.ts +0 -95
- package/packages/chili-core/test/boundingBox.test.ts +0 -60
- package/packages/chili-core/test/collection.test.ts +0 -53
- package/packages/chili-core/test/history.test.ts +0 -42
- package/packages/chili-core/test/line.test.ts +0 -75
- package/packages/chili-core/test/linesegment.test.ts +0 -98
- package/packages/chili-core/test/linkedList.test.ts +0 -82
- package/packages/chili-core/test/math.test.ts +0 -34
- package/packages/chili-core/test/matrix.test.ts +0 -129
- package/packages/chili-core/test/node.test.ts +0 -122
- package/packages/chili-core/test/nodeList.test.ts +0 -247
- package/packages/chili-core/test/observer.test.ts +0 -91
- package/packages/chili-core/test/plane.test.ts +0 -31
- package/packages/chili-core/test/quaternion.test.ts +0 -14
- package/packages/chili-core/test/result.test.ts +0 -24
- package/packages/chili-core/test/serializer.test.ts +0 -58
- package/packages/chili-core/test/snapType.test.ts +0 -10
- package/packages/chili-core/test/task.test.ts +0 -41
- package/packages/chili-core/test/testDocument.ts +0 -70
- package/packages/chili-core/test/transaction.test.ts +0 -42
- package/packages/chili-core/test/visual.test.ts +0 -42
- package/packages/chili-core/test/xyz.test.ts +0 -260
- package/packages/chili-three/test/cameraControls.ts +0 -10
- package/packages/chili-three/test/testDocument.ts +0 -68
- package/packages/chili-three/test/testEdge.ts +0 -171
- package/packages/chili-three/test/testView.ts +0 -78
- package/packages/chili-three/test/three.test.ts +0 -44
- package/packages/chili-three/test/viewGizmo.ts +0 -12
- package/packages/chili-wasm/lib/chili-wasm.d.ts +0 -827
- package/packages/chili-wasm/lib/chili-wasm.js +0 -5275
- package/packages/chili-wasm/lib/chili-wasm.wasm +0 -0
- package/packages/global.d.ts +0 -31
- package/public/favicon.svg +0 -10
- package/public/fonts/fzhei.json +0 -46120
- package/public/iconfont.js +0 -1
- package/public/images/wechat.jpg +0 -0
- package/public/index.css +0 -13
- package/public/index.html +0 -24
- package/rspack.config.ts +0 -93
- package/rstest.config.ts +0 -27
- package/screenshots/screenshot.png +0 -0
- package/scripts/add_copyright.mjs +0 -59
- package/scripts/build-npm.mjs +0 -105
- package/scripts/common.mjs +0 -24
- package/scripts/release.mjs +0 -92
- package/scripts/restore-package-json.mjs +0 -27
- package/scripts/setup_wasm_deps.mjs +0 -97
- package/scripts/update-package-json.mjs +0 -27
- package/tsconfig.build.json +0 -14
- package/tsconfig.build.tsbuildinfo +0 -1
- package/tsconfig.json +0 -19
- /package/{packages/chili → chili}/src/application.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/arc.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/boolean.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/box.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/circle.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/cone.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/cylinder.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/ellipse.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/face.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/fuse.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/index.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/line.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/polygon.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/prism.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/pyramid.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/rect.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/revolve.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/sphere.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/sweep.ts +0 -0
- /package/{packages/chili → chili}/src/bodys/wire.ts +0 -0
- /package/{packages/chili → chili}/src/commands/application/index.ts +0 -0
- /package/{packages/chili → chili}/src/commands/application/newDocument.ts +0 -0
- /package/{packages/chili → chili}/src/commands/application/openDocument.ts +0 -0
- /package/{packages/chili → chili}/src/commands/application/performanceTest.ts +0 -0
- /package/{packages/chili → chili}/src/commands/application/saveDocument.ts +0 -0
- /package/{packages/chili → chili}/src/commands/application/toFile.ts +0 -0
- /package/{packages/chili → chili}/src/commands/application/toggleDynamicWorkplane.ts +0 -0
- /package/{packages/chili → chili}/src/commands/application/wechatGroup.ts +0 -0
- /package/{packages/chili → chili}/src/commands/boolean.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/arc.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/bezier.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/box.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/circle.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/cone.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/converter.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/copySubShape.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/curveProjection.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/cylinder.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/ellipse.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/group.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/index.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/line.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/loft.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/offset.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/polygon.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/prism.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/pyramid.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/rect.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/revolve.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/section.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/sphere.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/sweep.ts +0 -0
- /package/{packages/chili → chili}/src/commands/create/thickSolid.ts +0 -0
- /package/{packages/chili → chili}/src/commands/createActCommand.ts +0 -0
- /package/{packages/chili → chili}/src/commands/createCommand.ts +0 -0
- /package/{packages/chili → chili}/src/commands/delete.ts +0 -0
- /package/{packages/chili → chili}/src/commands/folder.ts +0 -0
- /package/{packages/chili → chili}/src/commands/importExport.ts +0 -0
- /package/{packages/chili → chili}/src/commands/index.ts +0 -0
- /package/{packages/chili → chili}/src/commands/measure/angle.ts +0 -0
- /package/{packages/chili → chili}/src/commands/measure/index.ts +0 -0
- /package/{packages/chili → chili}/src/commands/measure/length.ts +0 -0
- /package/{packages/chili → chili}/src/commands/measure/select.module.css +0 -0
- /package/{packages/chili → chili}/src/commands/measure/select.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/array.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/break.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/brush.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/chamfer.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/explode.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/fillet.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/index.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/mirror.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/move.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/removeFeature.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/removeSubShapes.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/rotate.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/split.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/transformedCommand.ts +0 -0
- /package/{packages/chili → chili}/src/commands/modify/trim.ts +0 -0
- /package/{packages/chili → chili}/src/commands/multistepCommand.ts +0 -0
- /package/{packages/chili → chili}/src/commands/redo.ts +0 -0
- /package/{packages/chili → chili}/src/commands/undo.ts +0 -0
- /package/{packages/chili → chili}/src/commands/workingPlane.ts +0 -0
- /package/{packages/chili → chili}/src/comparers/NumberEqualityComparer.ts +0 -0
- /package/{packages/chili → chili}/src/comparers/XYZEqualityComparer.ts +0 -0
- /package/{packages/chili → chili}/src/comparers/index.ts +0 -0
- /package/{packages/chili → chili}/src/document.ts +0 -0
- /package/{packages/chili → chili}/src/editEventHandler.ts +0 -0
- /package/{packages/chili → chili}/src/index.ts +0 -0
- /package/{packages/chili → chili}/src/selection.ts +0 -0
- /package/{packages/chili → chili}/src/services/commandService.ts +0 -0
- /package/{packages/chili → chili}/src/services/editorService.ts +0 -0
- /package/{packages/chili → chili}/src/services/hotkeyService.ts +0 -0
- /package/{packages/chili → chili}/src/services/index.ts +0 -0
- /package/{packages/chili → chili}/src/snap/dimension.ts +0 -0
- /package/{packages/chili → chili}/src/snap/handlers/angleSnapEventHandler.ts +0 -0
- /package/{packages/chili → chili}/src/snap/handlers/index.ts +0 -0
- /package/{packages/chili → chili}/src/snap/handlers/lengthSnapEventHandler.ts +0 -0
- /package/{packages/chili → chili}/src/snap/handlers/pointSnapEventHandler.ts +0 -0
- /package/{packages/chili → chili}/src/snap/handlers/snapEventHandler.ts +0 -0
- /package/{packages/chili → chili}/src/snap/index.ts +0 -0
- /package/{packages/chili → chili}/src/snap/snap.ts +0 -0
- /package/{packages/chili → chili}/src/snap/snaps/axisSnap.ts +0 -0
- /package/{packages/chili → chili}/src/snap/snaps/baseSnap.ts +0 -0
- /package/{packages/chili → chili}/src/snap/snaps/featurePointStrategy.ts +0 -0
- /package/{packages/chili → chili}/src/snap/snaps/index.ts +0 -0
- /package/{packages/chili → chili}/src/snap/snaps/objectSnap.ts +0 -0
- /package/{packages/chili → chili}/src/snap/snaps/planeSnap.ts +0 -0
- /package/{packages/chili → chili}/src/snap/snaps/pointOnCurveSnap.ts +0 -0
- /package/{packages/chili → chili}/src/snap/tracking/axis.ts +0 -0
- /package/{packages/chili → chili}/src/snap/tracking/axisTracking.ts +0 -0
- /package/{packages/chili → chili}/src/snap/tracking/index.ts +0 -0
- /package/{packages/chili → chili}/src/snap/tracking/objectTracking.ts +0 -0
- /package/{packages/chili → chili}/src/snap/tracking/trackingBase.ts +0 -0
- /package/{packages/chili → chili}/src/snap/tracking/trackingSnap.ts +0 -0
- /package/{packages/chili → chili}/src/step/angleStep.ts +0 -0
- /package/{packages/chili → chili}/src/step/index.ts +0 -0
- /package/{packages/chili → chili}/src/step/lengthStep.ts +0 -0
- /package/{packages/chili → chili}/src/step/pointStep.ts +0 -0
- /package/{packages/chili → chili}/src/step/selectStep.ts +0 -0
- /package/{packages/chili → chili}/src/step/step.ts +0 -0
- /package/{packages/chili → chili}/src/utils.ts +0 -0
- /package/{packages/chili-builder → chili-builder}/src/additionalModule.ts +0 -0
- /package/{packages/chili-builder → chili-builder}/src/appBuilder.ts +0 -0
- /package/{packages/chili-builder → chili-builder}/src/defaultDataExchange.ts +0 -0
- /package/{packages/chili-builder → chili-builder}/src/index.ts +0 -0
- /package/{packages/chili-builder → chili-builder}/src/ribbon.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/collection.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/controls.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/converters/colorConverter.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/converters/index.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/converters/numberConverter.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/converters/stringConverter.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/converters/urlConverter.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/converters/xyzConverter.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/expander/expander.module.css +0 -0
- /package/{packages/chili-controls → chili-controls}/src/expander/expander.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/expander/index.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/htmlProps.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/index.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/radioGroup.module.css +0 -0
- /package/{packages/chili-controls → chili-controls}/src/radioGroup.ts +0 -0
- /package/{packages/chili-controls → chili-controls}/src/utils.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/application.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/command/command.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/command/commandKeys.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/command/decarator.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/command/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/config.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/constants.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/dataExchange.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/document.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/editor.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/asyncController.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/binding.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/collection.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/converter.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/deepObserver.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/disposable.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/dto/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/equalityComparer.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/gc.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/history.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/id.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/lazy.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/linkedList.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/logger.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/messageType.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/objectStorage.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/observer.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/precision.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/pubsub.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/result.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/storage.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/transaction.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/utils/debounce.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/utils/download.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/utils/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/foundation/utils/readFileAsync.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/i18n/i18n.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/i18n/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/i18n/keys.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/material.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/boundingBox.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/line.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/lineSegment.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/mathUtils.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/matrix4.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/plane.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/planeAngle.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/quaternion.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/ray.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/xy.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/math/xyz.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/model/component.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/model/facebaseNode.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/model/folderNode.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/model/geometryNode.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/model/groupNode.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/model/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/model/meshNode.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/model/node.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/model/shapeNode.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/model/visualNode.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/modelManager.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/navigation.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/property.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/selection.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/selectionFilter.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/serialize/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/serialize/serializer.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/service.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/shape/curve.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/shape/geometry.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/shape/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/shape/lineType.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/shape/meshData.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/shape/shape.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/shape/shapeConverter.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/shape/shapeFactory.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/shape/shapeType.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/shape/surface.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/snapType.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/ui/button.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/ui/combobox.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/ui/dialog.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/ui/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/ui/ribbon.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/ui/window.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/act.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/cameraController.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/cursorType.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/detectedData.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/eventHandler.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/highlighter.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/index.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/meshExporter.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/meshUtils.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/textGenerator.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/view.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/viewGizmo.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/viewport.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/visual.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/visualContext.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/visualFactory.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/visualObject.ts +0 -0
- /package/{packages/chili-core → chili-core}/src/visual/visualShape.ts +0 -0
- /package/{packages/chili-geo → chili-geo}/src/index.ts +0 -0
- /package/{packages/chili-geo → chili-geo}/src/utils.ts +0 -0
- /package/{packages/chili-i18n → chili-i18n}/src/en.ts +0 -0
- /package/{packages/chili-i18n → chili-i18n}/src/index.ts +0 -0
- /package/{packages/chili-i18n → chili-i18n}/src/pt-br.ts +0 -0
- /package/{packages/chili-i18n → chili-i18n}/src/zh-cn.ts +0 -0
- /package/{packages/chili-storage → chili-storage}/src/index.ts +0 -0
- /package/{packages/chili-storage → chili-storage}/src/indexedDBStorage.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/cameraController.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/common.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/constants.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/highlightable.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/index.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/meshExporter.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/outlinePass.js +0 -0
- /package/{packages/chili-three → chili-three}/src/texture_points.jpg +0 -0
- /package/{packages/chili-three → chili-three}/src/threeGeometry.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/threeGeometryFactory.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/threeHelper.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/threeHighlighter.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/threeView.module.css +0 -0
- /package/{packages/chili-three → chili-three}/src/threeView.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/threeViewEventHandler.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/threeVisual.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/threeVisualContext.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/threeVisualFactory.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/threeVisualObject.ts +0 -0
- /package/{packages/chili-three → chili-three}/src/viewGizmo.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/cursor/draw.cur +0 -0
- /package/{packages/chili-ui → chili-ui}/src/cursor/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/dialog.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/dialog.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/editor.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/editor.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/home/home.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/home/home.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/home/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/home/languageSelector.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/home/navigation3DSelector.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/home/themeSelector.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/mainWindow.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/mainWindow.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/okCancel.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/okCancel.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/permanent.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/permanent.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/projectView.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/projectView.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/toolBar.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/toolBar.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/tree/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/tree/tree.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/tree/tree.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/tree/treeItem.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/tree/treeItem.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/tree/treeItemGroup.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/tree/treeItemGroup.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/tree/treeModel.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/project/tree/treeModel.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/check.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/colorPorperty.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/colorProperty.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/common.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/input.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/input.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/material/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/material/materialDataContent.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/material/materialEditor.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/material/materialEditor.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/material/textureEditor.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/material/textureEditor.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/materialProperty.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/materialProperty.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/matrixProperty.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/propertyBase.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/propertyBase.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/propertyView.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/propertyView.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/property/utils.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/commandContext.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/commandContext.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/ribbon.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/ribbon.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/ribbonButton.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/ribbonButton.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/ribbonData.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/ribbonStack.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/ribbonStack.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/ribbonToggleButton.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/ribbon/ribbonToggleButton.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/statusbar/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/statusbar/snapConfig.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/statusbar/snapConfig.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/statusbar/statusbar.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/statusbar/statusbar.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/toast/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/toast/toast.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/toast/toast.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/flyout/flyout.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/flyout/flyout.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/flyout/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/flyout/input.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/flyout/input.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/flyout/tip.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/flyout/tip.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/index.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/layoutViewport.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/layoutViewport.ts +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/viewport.module.css +0 -0
- /package/{packages/chili-ui → chili-ui}/src/viewport/viewport.ts +0 -0
- /package/{packages/chili-vis → chili-vis}/src/index.ts +0 -0
- /package/{packages/chili-vis → chili-vis}/src/nodeSelectionEventHandler.ts +0 -0
- /package/{packages/chili-vis → chili-vis}/src/selectionEventHandler.ts +0 -0
- /package/{packages/chili-vis → chili-vis}/src/shapeSelectionEventHandler.ts +0 -0
- /package/{packages/chili-vis → chili-vis}/src/viewUtils.ts +0 -0
- /package/{packages/chili-wasm → chili-wasm}/src/converter.ts +0 -0
- /package/{packages/chili-wasm → chili-wasm}/src/curve.ts +0 -0
- /package/{packages/chili-wasm → chili-wasm}/src/factory.ts +0 -0
- /package/{packages/chili-wasm → chili-wasm}/src/geometry.ts +0 -0
- /package/{packages/chili-wasm → chili-wasm}/src/helper.ts +0 -0
- /package/{packages/chili-wasm → chili-wasm}/src/index.ts +0 -0
- /package/{packages/chili-wasm → chili-wasm}/src/mesher.ts +0 -0
- /package/{packages/chili-wasm → chili-wasm}/src/shape.ts +0 -0
- /package/{packages/chili-wasm → chili-wasm}/src/surface.ts +0 -0
- /package/{packages/chili-wasm → chili-wasm}/src/wasm.ts +0 -0
- /package/{packages/chili-web → chili-web}/src/index.ts +0 -0
- /package/{packages/chili-web → chili-web}/src/loading.ts +0 -0
|
@@ -1,827 +0,0 @@
|
|
|
1
|
-
// TypeScript bindings for emscripten-generated code. Automatically generated at compile time.
|
|
2
|
-
interface WasmModule {}
|
|
3
|
-
|
|
4
|
-
type EmbindString = ArrayBuffer | Uint8Array | Uint8ClampedArray | Int8Array | string;
|
|
5
|
-
export interface ClassHandle {
|
|
6
|
-
isAliasOf(other: ClassHandle): boolean;
|
|
7
|
-
delete(): void;
|
|
8
|
-
deleteLater(): this;
|
|
9
|
-
isDeleted(): boolean;
|
|
10
|
-
clone(): this;
|
|
11
|
-
}
|
|
12
|
-
export interface ShapeNode extends ClassHandle {
|
|
13
|
-
get name(): string;
|
|
14
|
-
set name(value: EmbindString);
|
|
15
|
-
shape: TopoDS_Shape | undefined;
|
|
16
|
-
color: EmbindString | undefined;
|
|
17
|
-
getChildren(): Array<ShapeNode>;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface Converter extends ClassHandle {}
|
|
21
|
-
|
|
22
|
-
export interface ShapeResult extends ClassHandle {
|
|
23
|
-
isOk: boolean;
|
|
24
|
-
get error(): string;
|
|
25
|
-
set error(value: EmbindString);
|
|
26
|
-
shape: TopoDS_Shape;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface ShapeFactory extends ClassHandle {}
|
|
30
|
-
|
|
31
|
-
export interface Curve extends ClassHandle {}
|
|
32
|
-
|
|
33
|
-
export type SurfaceBounds = {
|
|
34
|
-
u1: number;
|
|
35
|
-
u2: number;
|
|
36
|
-
v1: number;
|
|
37
|
-
v2: number;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export interface Surface extends ClassHandle {}
|
|
41
|
-
|
|
42
|
-
export interface Mesher extends ClassHandle {
|
|
43
|
-
mesh(): MeshData;
|
|
44
|
-
edgesMeshPosition(): Array<number>;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface EdgeMeshData extends ClassHandle {
|
|
48
|
-
position: Array<number>;
|
|
49
|
-
group: Array<number>;
|
|
50
|
-
edges: Array<TopoDS_Edge>;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export interface FaceMeshData extends ClassHandle {
|
|
54
|
-
position: Array<number>;
|
|
55
|
-
normal: Array<number>;
|
|
56
|
-
uv: Array<number>;
|
|
57
|
-
index: Array<number>;
|
|
58
|
-
group: Array<number>;
|
|
59
|
-
faces: Array<TopoDS_Face>;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export interface MeshData extends ClassHandle {
|
|
63
|
-
edgeMeshData: EdgeMeshData;
|
|
64
|
-
faceMeshData: FaceMeshData;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export interface GeomAbs_ShapeValue<T extends number> {
|
|
68
|
-
value: T;
|
|
69
|
-
}
|
|
70
|
-
export type GeomAbs_Shape =
|
|
71
|
-
| GeomAbs_ShapeValue<0>
|
|
72
|
-
| GeomAbs_ShapeValue<2>
|
|
73
|
-
| GeomAbs_ShapeValue<4>
|
|
74
|
-
| GeomAbs_ShapeValue<5>
|
|
75
|
-
| GeomAbs_ShapeValue<6>
|
|
76
|
-
| GeomAbs_ShapeValue<1>
|
|
77
|
-
| GeomAbs_ShapeValue<3>;
|
|
78
|
-
|
|
79
|
-
export interface GeomAbs_JoinTypeValue<T extends number> {
|
|
80
|
-
value: T;
|
|
81
|
-
}
|
|
82
|
-
export type GeomAbs_JoinType =
|
|
83
|
-
| GeomAbs_JoinTypeValue<0>
|
|
84
|
-
| GeomAbs_JoinTypeValue<2>
|
|
85
|
-
| GeomAbs_JoinTypeValue<1>;
|
|
86
|
-
|
|
87
|
-
export interface TopAbs_ShapeEnumValue<T extends number> {
|
|
88
|
-
value: T;
|
|
89
|
-
}
|
|
90
|
-
export type TopAbs_ShapeEnum =
|
|
91
|
-
| TopAbs_ShapeEnumValue<7>
|
|
92
|
-
| TopAbs_ShapeEnumValue<6>
|
|
93
|
-
| TopAbs_ShapeEnumValue<5>
|
|
94
|
-
| TopAbs_ShapeEnumValue<4>
|
|
95
|
-
| TopAbs_ShapeEnumValue<3>
|
|
96
|
-
| TopAbs_ShapeEnumValue<2>
|
|
97
|
-
| TopAbs_ShapeEnumValue<0>
|
|
98
|
-
| TopAbs_ShapeEnumValue<1>
|
|
99
|
-
| TopAbs_ShapeEnumValue<8>;
|
|
100
|
-
|
|
101
|
-
export interface TopAbs_OrientationValue<T extends number> {
|
|
102
|
-
value: T;
|
|
103
|
-
}
|
|
104
|
-
export type TopAbs_Orientation =
|
|
105
|
-
| TopAbs_OrientationValue<0>
|
|
106
|
-
| TopAbs_OrientationValue<1>
|
|
107
|
-
| TopAbs_OrientationValue<2>
|
|
108
|
-
| TopAbs_OrientationValue<3>;
|
|
109
|
-
|
|
110
|
-
export interface Standard_Transient extends ClassHandle {
|
|
111
|
-
getRefCount(): number;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export interface Geom_Geometry extends Standard_Transient {
|
|
115
|
-
copy(): Handle_Geom_Geometry;
|
|
116
|
-
transform(_0: gp_Trsf): void;
|
|
117
|
-
transformed(_0: gp_Trsf): Handle_Geom_Geometry;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export interface Geom_Curve extends Geom_Geometry {
|
|
121
|
-
isClosed(): boolean;
|
|
122
|
-
isPeriodic(): boolean;
|
|
123
|
-
period(): number;
|
|
124
|
-
reverse(): void;
|
|
125
|
-
isCN(_0: number): boolean;
|
|
126
|
-
firstParameter(): number;
|
|
127
|
-
lastParameter(): number;
|
|
128
|
-
continutity(): GeomAbs_Shape;
|
|
129
|
-
reversed(): Handle_Geom_Curve;
|
|
130
|
-
d0(_0: number, _1: gp_Pnt): void;
|
|
131
|
-
value(_0: number): gp_Pnt;
|
|
132
|
-
d1(_0: number, _1: gp_Pnt, _2: gp_Vec): void;
|
|
133
|
-
d2(_0: number, _1: gp_Pnt, _2: gp_Vec, _3: gp_Vec): void;
|
|
134
|
-
d3(_0: number, _1: gp_Pnt, _2: gp_Vec, _3: gp_Vec, _4: gp_Vec): void;
|
|
135
|
-
dn(_0: number, _1: number): gp_Vec;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export interface Geom_Conic extends Geom_Curve {
|
|
139
|
-
eccentricity(): number;
|
|
140
|
-
location(): gp_Pnt;
|
|
141
|
-
setLocation(_0: gp_Pnt): void;
|
|
142
|
-
location(): gp_Pnt;
|
|
143
|
-
setLocation(_0: gp_Pnt): void;
|
|
144
|
-
location(): gp_Pnt;
|
|
145
|
-
setLocation(_0: gp_Pnt): void;
|
|
146
|
-
axis(): gp_Ax1;
|
|
147
|
-
xAxis(): gp_Ax1;
|
|
148
|
-
yAxis(): gp_Ax1;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export interface Geom_Circle extends Geom_Conic {
|
|
152
|
-
radius(): number;
|
|
153
|
-
setRadius(_0: number): void;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export interface Geom_Ellipse extends Geom_Conic {
|
|
157
|
-
majorRadius(): number;
|
|
158
|
-
minorRadius(): number;
|
|
159
|
-
setMajorRadius(_0: number): void;
|
|
160
|
-
setMinorRadius(_0: number): void;
|
|
161
|
-
focus1(): gp_Pnt;
|
|
162
|
-
focus2(): gp_Pnt;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export interface Geom_Hyperbola extends Geom_Conic {
|
|
166
|
-
majorRadius(): number;
|
|
167
|
-
minorRadius(): number;
|
|
168
|
-
setMajorRadius(_0: number): void;
|
|
169
|
-
setMinorRadius(_0: number): void;
|
|
170
|
-
focal(): number;
|
|
171
|
-
focus1(): gp_Pnt;
|
|
172
|
-
focus2(): gp_Pnt;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export interface Geom_Parabola extends Geom_Conic {
|
|
176
|
-
focal(): number;
|
|
177
|
-
setFocal(_0: number): void;
|
|
178
|
-
focus(): gp_Pnt;
|
|
179
|
-
directrix(): gp_Ax1;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export interface Geom_BoundedCurve extends Geom_Curve {
|
|
183
|
-
startPoint(): gp_Pnt;
|
|
184
|
-
endPoint(): gp_Pnt;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export interface Geom_Line extends Geom_Curve {
|
|
188
|
-
setLocation(_0: gp_Pnt): void;
|
|
189
|
-
setDirection(_0: gp_Dir): void;
|
|
190
|
-
position(): gp_Ax1;
|
|
191
|
-
setPosition(_0: gp_Ax1): void;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
export interface Geom_TrimmedCurve extends Geom_BoundedCurve {
|
|
195
|
-
setTrim(_0: number, _1: number, _2: boolean, _3: boolean): void;
|
|
196
|
-
basisCurve(): Handle_Geom_Curve;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
export interface Geom_OffsetCurve extends Geom_Curve {
|
|
200
|
-
offset(): number;
|
|
201
|
-
basisCurve(): Handle_Geom_Curve;
|
|
202
|
-
direction(): gp_Dir;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
export interface Geom_BezierCurve extends Geom_BoundedCurve {
|
|
206
|
-
degree(): number;
|
|
207
|
-
weight(_0: number): number;
|
|
208
|
-
setWeight(_0: number, _1: number): void;
|
|
209
|
-
nbPoles(): number;
|
|
210
|
-
removePole(_0: number): void;
|
|
211
|
-
insertPoleAfter(_0: number, _1: gp_Pnt): void;
|
|
212
|
-
insertPoleAfterWithWeight(_0: number, _1: gp_Pnt, _2: number): void;
|
|
213
|
-
insertPoleBefore(_0: number, _1: gp_Pnt): void;
|
|
214
|
-
insertPoleBeforeWithWeight(_0: number, _1: gp_Pnt, _2: number): void;
|
|
215
|
-
pole(_0: number): gp_Pnt;
|
|
216
|
-
setPole(_0: number, _1: gp_Pnt): void;
|
|
217
|
-
setPoleWithWeight(_0: number, _1: gp_Pnt, _2: number): void;
|
|
218
|
-
getPoles(): TColgp_Array1OfPnt;
|
|
219
|
-
setPoles(_0: TColgp_Array1OfPnt): void;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
export interface Geom_BSplineCurve extends Geom_BoundedCurve {
|
|
223
|
-
insertKnot(_0: number, _1: number, _2: number, _3: boolean): void;
|
|
224
|
-
degree(): number;
|
|
225
|
-
nbPoles(): number;
|
|
226
|
-
nbKnots(): number;
|
|
227
|
-
knot(_0: number): number;
|
|
228
|
-
setKnot(_0: number, _1: number): void;
|
|
229
|
-
weight(_0: number): number;
|
|
230
|
-
setWeight(_0: number, _1: number): void;
|
|
231
|
-
pole(_0: number): gp_Pnt;
|
|
232
|
-
setPole(_0: number, _1: gp_Pnt): void;
|
|
233
|
-
setPoleWithWeight(_0: number, _1: gp_Pnt, _2: number): void;
|
|
234
|
-
getPoles(): TColgp_Array1OfPnt;
|
|
235
|
-
setPoles(_0: TColgp_Array1OfPnt): void;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
export interface Geom_Surface extends Geom_Geometry {
|
|
239
|
-
continuity(): GeomAbs_Shape;
|
|
240
|
-
uPeriod(): number;
|
|
241
|
-
vPeriod(): number;
|
|
242
|
-
isUClosed(): boolean;
|
|
243
|
-
isVClosed(): boolean;
|
|
244
|
-
isUPeriodic(): boolean;
|
|
245
|
-
isVPeriodic(): boolean;
|
|
246
|
-
isCNu(_0: number): boolean;
|
|
247
|
-
isCNv(_0: number): boolean;
|
|
248
|
-
uIso(_0: number): Handle_Geom_Curve;
|
|
249
|
-
vIso(_0: number): Handle_Geom_Curve;
|
|
250
|
-
d0(_0: number, _1: number, _2: gp_Pnt): void;
|
|
251
|
-
value(_0: number, _1: number): gp_Pnt;
|
|
252
|
-
d1(_0: number, _1: number, _2: gp_Pnt, _3: gp_Vec, _4: gp_Vec): void;
|
|
253
|
-
d2(_0: number, _1: number, _2: gp_Pnt, _3: gp_Vec, _4: gp_Vec, _5: gp_Vec, _6: gp_Vec, _7: gp_Vec): void;
|
|
254
|
-
d3(
|
|
255
|
-
_0: number,
|
|
256
|
-
_1: number,
|
|
257
|
-
_2: gp_Pnt,
|
|
258
|
-
_3: gp_Vec,
|
|
259
|
-
_4: gp_Vec,
|
|
260
|
-
_5: gp_Vec,
|
|
261
|
-
_6: gp_Vec,
|
|
262
|
-
_7: gp_Vec,
|
|
263
|
-
_8: gp_Vec,
|
|
264
|
-
_9: gp_Vec,
|
|
265
|
-
_10: gp_Vec,
|
|
266
|
-
_11: gp_Vec,
|
|
267
|
-
): void;
|
|
268
|
-
dn(_0: number, _1: number, _2: number, _3: number): gp_Vec;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
export interface GeomPlate_Surface extends Geom_Surface {
|
|
272
|
-
setBounds(_0: number, _1: number, _2: number, _3: number): void;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
export interface Geom_ElementarySurface extends Geom_Surface {
|
|
276
|
-
setLocation(_0: gp_Pnt): void;
|
|
277
|
-
location(): gp_Pnt;
|
|
278
|
-
setAxis(_0: gp_Ax1): void;
|
|
279
|
-
axis(): gp_Ax1;
|
|
280
|
-
position(): gp_Ax3;
|
|
281
|
-
setPosition(_0: gp_Ax3): void;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
export interface Geom_OffsetSurface extends Geom_Surface {
|
|
285
|
-
offset(): number;
|
|
286
|
-
setOffsetValue(_0: number): void;
|
|
287
|
-
basisSurface(): Handle_Geom_Surface;
|
|
288
|
-
setBasisSurface(_0: Handle_Geom_Surface, _1: boolean): void;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
export interface Geom_SweptSurface extends Geom_Surface {
|
|
292
|
-
basisCurve(): Handle_Geom_Curve;
|
|
293
|
-
direction(): gp_Dir;
|
|
294
|
-
direction(): gp_Dir;
|
|
295
|
-
direction(): gp_Dir;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
export interface ShapeExtend_CompositeSurface extends Geom_Surface {}
|
|
299
|
-
|
|
300
|
-
export interface Geom_BSplineSurface extends Geom_Surface {}
|
|
301
|
-
|
|
302
|
-
export interface Geom_BezierSurface extends Geom_Surface {}
|
|
303
|
-
|
|
304
|
-
export interface Geom_BoundedSurface extends Geom_Surface {}
|
|
305
|
-
|
|
306
|
-
export interface Geom_RectangularTrimmedSurface extends Geom_BoundedSurface {
|
|
307
|
-
setTrim(_0: number, _1: number, _2: number, _3: number, _4: boolean, _5: boolean): void;
|
|
308
|
-
setTrim2(_0: number, _1: number, _2: boolean, _3: boolean): void;
|
|
309
|
-
basisSurface(): Handle_Geom_Surface;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
export interface Geom_ConicalSurface extends Geom_ElementarySurface {
|
|
313
|
-
semiAngle(): number;
|
|
314
|
-
setSemiAngle(_0: number): void;
|
|
315
|
-
setRadius(_0: number): void;
|
|
316
|
-
refRadius(): number;
|
|
317
|
-
apex(): gp_Pnt;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
export interface Geom_CylindricalSurface extends Geom_ElementarySurface {
|
|
321
|
-
radius(): number;
|
|
322
|
-
setRadius(_0: number): void;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
export interface Geom_Plane extends Geom_ElementarySurface {
|
|
326
|
-
pln(): gp_Pln;
|
|
327
|
-
setPln(_0: gp_Pln): void;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
export interface Geom_SphericalSurface extends Geom_ElementarySurface {
|
|
331
|
-
radius(): number;
|
|
332
|
-
setRadius(_0: number): void;
|
|
333
|
-
area(): number;
|
|
334
|
-
volume(): number;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
export interface Geom_ToroidalSurface extends Geom_ElementarySurface {
|
|
338
|
-
majorRadius(): number;
|
|
339
|
-
minorRadius(): number;
|
|
340
|
-
setMajorRadius(_0: number): void;
|
|
341
|
-
setMinorRadius(_0: number): void;
|
|
342
|
-
area(): number;
|
|
343
|
-
volume(): number;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
export interface Geom_SurfaceOfLinearExtrusion extends Geom_SweptSurface {
|
|
347
|
-
setBasisCurve(_0: Handle_Geom_Curve): void;
|
|
348
|
-
setDirection(_0: gp_Dir): void;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
export interface Geom_SurfaceOfRevolution extends Geom_SweptSurface {
|
|
352
|
-
setBasisCurve(_0: Handle_Geom_Curve): void;
|
|
353
|
-
location(): gp_Pnt;
|
|
354
|
-
setLocation(_0: gp_Pnt): void;
|
|
355
|
-
setDirection(_0: gp_Dir): void;
|
|
356
|
-
referencePlane(): gp_Ax2;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
export interface Handle_Standard_Transient extends ClassHandle {
|
|
360
|
-
get(): Standard_Transient | null;
|
|
361
|
-
isNull(): boolean;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
export interface Handle_Geom_Geometry extends ClassHandle {
|
|
365
|
-
get(): Geom_Geometry | null;
|
|
366
|
-
isNull(): boolean;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
export interface Handle_Geom_Curve extends ClassHandle {
|
|
370
|
-
get(): Geom_Curve | null;
|
|
371
|
-
isNull(): boolean;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
export interface Handle_Geom_Line extends ClassHandle {
|
|
375
|
-
get(): Geom_Line | null;
|
|
376
|
-
isNull(): boolean;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
export interface Handle_Geom_TrimmedCurve extends ClassHandle {
|
|
380
|
-
get(): Geom_TrimmedCurve | null;
|
|
381
|
-
isNull(): boolean;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
export interface Handle_Geom_Surface extends ClassHandle {
|
|
385
|
-
get(): Geom_Surface | null;
|
|
386
|
-
isNull(): boolean;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
export interface gp_Pnt extends ClassHandle {
|
|
390
|
-
readonly x: number;
|
|
391
|
-
readonly y: number;
|
|
392
|
-
readonly z: number;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
export interface gp_Vec extends ClassHandle {
|
|
396
|
-
readonly x: number;
|
|
397
|
-
readonly y: number;
|
|
398
|
-
readonly z: number;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
export interface gp_Dir extends ClassHandle {
|
|
402
|
-
readonly x: number;
|
|
403
|
-
readonly y: number;
|
|
404
|
-
readonly z: number;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
export interface gp_Ax1 extends ClassHandle {
|
|
408
|
-
location(): gp_Pnt;
|
|
409
|
-
direction(): gp_Dir;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
export interface gp_Ax2 extends ClassHandle {
|
|
413
|
-
location(): gp_Pnt;
|
|
414
|
-
direction(): gp_Dir;
|
|
415
|
-
xDirection(): gp_Dir;
|
|
416
|
-
yDirection(): gp_Dir;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
export interface gp_Ax3 extends ClassHandle {
|
|
420
|
-
location(): gp_Pnt;
|
|
421
|
-
direction(): gp_Dir;
|
|
422
|
-
xDirection(): gp_Dir;
|
|
423
|
-
yDirection(): gp_Dir;
|
|
424
|
-
direct(): boolean;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
export interface gp_Pln extends ClassHandle {
|
|
428
|
-
location(): gp_Pnt;
|
|
429
|
-
position(): gp_Ax3;
|
|
430
|
-
axis(): gp_Ax1;
|
|
431
|
-
xAxis(): gp_Ax1;
|
|
432
|
-
yAxis(): gp_Ax1;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
export interface gp_Trsf extends ClassHandle {
|
|
436
|
-
value(_0: number, _1: number): number;
|
|
437
|
-
setValues(
|
|
438
|
-
_0: number,
|
|
439
|
-
_1: number,
|
|
440
|
-
_2: number,
|
|
441
|
-
_3: number,
|
|
442
|
-
_4: number,
|
|
443
|
-
_5: number,
|
|
444
|
-
_6: number,
|
|
445
|
-
_7: number,
|
|
446
|
-
_8: number,
|
|
447
|
-
_9: number,
|
|
448
|
-
_10: number,
|
|
449
|
-
_11: number,
|
|
450
|
-
): void;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
export interface TopLoc_Location extends ClassHandle {
|
|
454
|
-
transformation(): gp_Trsf;
|
|
455
|
-
inverted(): TopLoc_Location;
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
export interface TopoDS extends ClassHandle {}
|
|
459
|
-
|
|
460
|
-
export interface TopoDS_Shape extends ClassHandle {
|
|
461
|
-
infinite(): boolean;
|
|
462
|
-
isEqual(_0: TopoDS_Shape): boolean;
|
|
463
|
-
isNull(): boolean;
|
|
464
|
-
isPartner(_0: TopoDS_Shape): boolean;
|
|
465
|
-
isSame(_0: TopoDS_Shape): boolean;
|
|
466
|
-
getLocation(): TopLoc_Location;
|
|
467
|
-
setLocation(_0: TopLoc_Location, _1: boolean): void;
|
|
468
|
-
nbChildren(): number;
|
|
469
|
-
nullify(): void;
|
|
470
|
-
getOrientation(): TopAbs_Orientation;
|
|
471
|
-
setOrientation(_0: TopAbs_Orientation): void;
|
|
472
|
-
reverse(): void;
|
|
473
|
-
reversed(): TopoDS_Shape;
|
|
474
|
-
shapeType(): TopAbs_ShapeEnum;
|
|
475
|
-
located(_0: TopLoc_Location, _1: boolean): TopoDS_Shape;
|
|
476
|
-
move(_0: TopLoc_Location, _1: boolean): void;
|
|
477
|
-
moved(_0: TopLoc_Location, _1: boolean): TopoDS_Shape;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
export interface TColgp_Array1OfPnt extends ClassHandle {
|
|
481
|
-
value(_0: number): gp_Pnt;
|
|
482
|
-
setValue(_0: number, _1: gp_Pnt): void;
|
|
483
|
-
length(): number;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
export interface TopoDS_Vertex extends TopoDS_Shape {}
|
|
487
|
-
|
|
488
|
-
export interface TopoDS_Edge extends TopoDS_Shape {}
|
|
489
|
-
|
|
490
|
-
export interface TopoDS_Wire extends TopoDS_Shape {}
|
|
491
|
-
|
|
492
|
-
export interface TopoDS_Face extends TopoDS_Shape {}
|
|
493
|
-
|
|
494
|
-
export interface TopoDS_Shell extends TopoDS_Shape {}
|
|
495
|
-
|
|
496
|
-
export interface TopoDS_Solid extends TopoDS_Shape {}
|
|
497
|
-
|
|
498
|
-
export interface TopoDS_Compound extends TopoDS_Shape {}
|
|
499
|
-
|
|
500
|
-
export interface TopoDS_CompSolid extends TopoDS_Shape {}
|
|
501
|
-
|
|
502
|
-
export interface Shape extends ClassHandle {}
|
|
503
|
-
|
|
504
|
-
export interface Vertex extends ClassHandle {}
|
|
505
|
-
|
|
506
|
-
export interface Edge extends ClassHandle {}
|
|
507
|
-
|
|
508
|
-
export interface Wire extends ClassHandle {}
|
|
509
|
-
|
|
510
|
-
export interface Face extends ClassHandle {}
|
|
511
|
-
|
|
512
|
-
export interface Solid extends ClassHandle {}
|
|
513
|
-
|
|
514
|
-
export type Domain = {
|
|
515
|
-
start: number;
|
|
516
|
-
end: number;
|
|
517
|
-
};
|
|
518
|
-
|
|
519
|
-
export type UV = {
|
|
520
|
-
u: number;
|
|
521
|
-
v: number;
|
|
522
|
-
};
|
|
523
|
-
|
|
524
|
-
export type Vector3 = {
|
|
525
|
-
x: number;
|
|
526
|
-
y: number;
|
|
527
|
-
z: number;
|
|
528
|
-
};
|
|
529
|
-
|
|
530
|
-
export type PointAndParameter = {
|
|
531
|
-
point: Vector3;
|
|
532
|
-
parameter: number;
|
|
533
|
-
};
|
|
534
|
-
|
|
535
|
-
export type Ax1 = {
|
|
536
|
-
location: Vector3;
|
|
537
|
-
direction: Vector3;
|
|
538
|
-
};
|
|
539
|
-
|
|
540
|
-
export type Ax2 = {
|
|
541
|
-
location: Vector3;
|
|
542
|
-
direction: Vector3;
|
|
543
|
-
xDirection: Vector3;
|
|
544
|
-
};
|
|
545
|
-
|
|
546
|
-
export type Ax3 = {
|
|
547
|
-
location: Vector3;
|
|
548
|
-
direction: Vector3;
|
|
549
|
-
xDirection: Vector3;
|
|
550
|
-
};
|
|
551
|
-
|
|
552
|
-
export type Pln = {
|
|
553
|
-
location: Vector3;
|
|
554
|
-
direction: Vector3;
|
|
555
|
-
xDirection: Vector3;
|
|
556
|
-
};
|
|
557
|
-
|
|
558
|
-
export type ProjectPointResult = {
|
|
559
|
-
point: Vector3;
|
|
560
|
-
distance: number;
|
|
561
|
-
parameter: number;
|
|
562
|
-
};
|
|
563
|
-
|
|
564
|
-
export type ExtremaCCResult = {
|
|
565
|
-
distance: number;
|
|
566
|
-
p1: Vector3;
|
|
567
|
-
p2: Vector3;
|
|
568
|
-
isParallel: boolean;
|
|
569
|
-
u1: number;
|
|
570
|
-
u2: number;
|
|
571
|
-
};
|
|
572
|
-
|
|
573
|
-
export interface Transient extends ClassHandle {}
|
|
574
|
-
|
|
575
|
-
interface EmbindModule {
|
|
576
|
-
ShapeNode: {};
|
|
577
|
-
Converter: {
|
|
578
|
-
convertToBrep(_0: TopoDS_Shape): string;
|
|
579
|
-
convertFromBrep(_0: EmbindString): TopoDS_Shape;
|
|
580
|
-
convertFromStep(_0: Uint8Array): ShapeNode | undefined;
|
|
581
|
-
convertFromIges(_0: Uint8Array): ShapeNode | undefined;
|
|
582
|
-
convertFromStl(_0: Uint8Array): ShapeNode | undefined;
|
|
583
|
-
convertToStep(_0: Array<TopoDS_Shape>): string;
|
|
584
|
-
convertToIges(_0: Array<TopoDS_Shape>): string;
|
|
585
|
-
};
|
|
586
|
-
ShapeResult: {};
|
|
587
|
-
ShapeFactory: {
|
|
588
|
-
makeThickSolidBySimple(_0: TopoDS_Shape, _1: number): ShapeResult;
|
|
589
|
-
simplifyShape(_0: TopoDS_Shape, _1: boolean, _2: boolean): ShapeResult;
|
|
590
|
-
curveProjection(_0: TopoDS_Shape, _1: TopoDS_Shape, _2: gp_Dir): ShapeResult;
|
|
591
|
-
polygon(_0: Array<Vector3>): ShapeResult;
|
|
592
|
-
bezier(_0: Array<Vector3>, _1: Array<number>): ShapeResult;
|
|
593
|
-
fillet(_0: TopoDS_Shape, _1: Array<number>, _2: number): ShapeResult;
|
|
594
|
-
chamfer(_0: TopoDS_Shape, _1: Array<number>, _2: number): ShapeResult;
|
|
595
|
-
sweep(_0: Array<TopoDS_Shape>, _1: TopoDS_Wire, _2: boolean, _3: boolean): ShapeResult;
|
|
596
|
-
makeThickSolidByJoin(_0: TopoDS_Shape, _1: Array<TopoDS_Shape>, _2: number): ShapeResult;
|
|
597
|
-
booleanCommon(_0: Array<TopoDS_Shape>, _1: Array<TopoDS_Shape>): ShapeResult;
|
|
598
|
-
booleanCut(_0: Array<TopoDS_Shape>, _1: Array<TopoDS_Shape>): ShapeResult;
|
|
599
|
-
booleanFuse(_0: Array<TopoDS_Shape>, _1: Array<TopoDS_Shape>): ShapeResult;
|
|
600
|
-
combine(_0: Array<TopoDS_Shape>): ShapeResult;
|
|
601
|
-
loft(_0: Array<TopoDS_Shape>, _1: boolean, _2: boolean, _3: GeomAbs_Shape): ShapeResult;
|
|
602
|
-
wire(_0: Array<TopoDS_Edge>): ShapeResult;
|
|
603
|
-
shell(_0: Array<TopoDS_Face>): ShapeResult;
|
|
604
|
-
face(_0: Array<TopoDS_Wire>): ShapeResult;
|
|
605
|
-
solid(_0: Array<TopoDS_Shell>): ShapeResult;
|
|
606
|
-
cone(_0: Vector3, _1: Vector3, _2: number, _3: number, _4: number): ShapeResult;
|
|
607
|
-
sphere(_0: Vector3, _1: number): ShapeResult;
|
|
608
|
-
ellipsoid(_0: Vector3, _1: Vector3, _2: Vector3, _3: number, _4: number, _5: number): ShapeResult;
|
|
609
|
-
ellipse(_0: Vector3, _1: Vector3, _2: Vector3, _3: number, _4: number): ShapeResult;
|
|
610
|
-
cylinder(_0: Vector3, _1: Vector3, _2: number, _3: number): ShapeResult;
|
|
611
|
-
prism(_0: TopoDS_Shape, _1: Vector3): ShapeResult;
|
|
612
|
-
circle(_0: Vector3, _1: Vector3, _2: number): ShapeResult;
|
|
613
|
-
arc(_0: Vector3, _1: Vector3, _2: Vector3, _3: number): ShapeResult;
|
|
614
|
-
point(_0: Vector3): ShapeResult;
|
|
615
|
-
line(_0: Vector3, _1: Vector3): ShapeResult;
|
|
616
|
-
revolve(_0: TopoDS_Shape, _1: Ax1, _2: number): ShapeResult;
|
|
617
|
-
box(_0: Pln, _1: number, _2: number, _3: number): ShapeResult;
|
|
618
|
-
pyramid(_0: Pln, _1: number, _2: number, _3: number): ShapeResult;
|
|
619
|
-
rect(_0: Pln, _1: number, _2: number): ShapeResult;
|
|
620
|
-
};
|
|
621
|
-
Curve: {
|
|
622
|
-
curveLength(_0: Geom_Curve | null): number;
|
|
623
|
-
trim(_0: Geom_Curve | null, _1: number, _2: number): Handle_Geom_TrimmedCurve;
|
|
624
|
-
uniformAbscissaWithCount(_0: Geom_Curve | null, _1: number): Array<Vector3>;
|
|
625
|
-
uniformAbscissaWithLength(_0: Geom_Curve | null, _1: number): Array<Vector3>;
|
|
626
|
-
makeLine(_0: Vector3, _1: Vector3): Handle_Geom_Line;
|
|
627
|
-
parameter(_0: Geom_Curve | null, _1: Vector3, _2: number): number | undefined;
|
|
628
|
-
projects(_0: Geom_Curve | null, _1: Vector3): Array<Vector3>;
|
|
629
|
-
projectOrNearest(_0: Geom_Curve | null, _1: Vector3): ProjectPointResult;
|
|
630
|
-
nearestExtremaCC(_0: Geom_Curve | null, _1: Geom_Curve | null): ExtremaCCResult | undefined;
|
|
631
|
-
};
|
|
632
|
-
Surface: {
|
|
633
|
-
isPlanar(_0: Geom_Surface | null): boolean;
|
|
634
|
-
bounds(_0: Geom_Surface | null): SurfaceBounds;
|
|
635
|
-
projectCurve(_0: Geom_Surface | null, _1: Geom_Curve | null): Handle_Geom_Curve;
|
|
636
|
-
projectPoint(_0: Geom_Surface | null, _1: Vector3): Array<Vector3>;
|
|
637
|
-
parameters(_0: Geom_Surface | null, _1: Vector3, _2: number): UV | undefined;
|
|
638
|
-
nearestPoint(_0: Geom_Surface | null, _1: Vector3): PointAndParameter | undefined;
|
|
639
|
-
};
|
|
640
|
-
Mesher: {
|
|
641
|
-
new (_0: TopoDS_Shape, _1: number): Mesher;
|
|
642
|
-
};
|
|
643
|
-
EdgeMeshData: {};
|
|
644
|
-
FaceMeshData: {};
|
|
645
|
-
MeshData: {};
|
|
646
|
-
GeomAbs_Shape: {
|
|
647
|
-
GeomAbs_C0: GeomAbs_ShapeValue<0>;
|
|
648
|
-
GeomAbs_C1: GeomAbs_ShapeValue<2>;
|
|
649
|
-
GeomAbs_C2: GeomAbs_ShapeValue<4>;
|
|
650
|
-
GeomAbs_C3: GeomAbs_ShapeValue<5>;
|
|
651
|
-
GeomAbs_CN: GeomAbs_ShapeValue<6>;
|
|
652
|
-
GeomAbs_G1: GeomAbs_ShapeValue<1>;
|
|
653
|
-
GeomAbs_G2: GeomAbs_ShapeValue<3>;
|
|
654
|
-
};
|
|
655
|
-
GeomAbs_JoinType: {
|
|
656
|
-
GeomAbs_Arc: GeomAbs_JoinTypeValue<0>;
|
|
657
|
-
GeomAbs_Intersection: GeomAbs_JoinTypeValue<2>;
|
|
658
|
-
GeomAbs_Tangent: GeomAbs_JoinTypeValue<1>;
|
|
659
|
-
};
|
|
660
|
-
TopAbs_ShapeEnum: {
|
|
661
|
-
TopAbs_VERTEX: TopAbs_ShapeEnumValue<7>;
|
|
662
|
-
TopAbs_EDGE: TopAbs_ShapeEnumValue<6>;
|
|
663
|
-
TopAbs_WIRE: TopAbs_ShapeEnumValue<5>;
|
|
664
|
-
TopAbs_FACE: TopAbs_ShapeEnumValue<4>;
|
|
665
|
-
TopAbs_SHELL: TopAbs_ShapeEnumValue<3>;
|
|
666
|
-
TopAbs_SOLID: TopAbs_ShapeEnumValue<2>;
|
|
667
|
-
TopAbs_COMPOUND: TopAbs_ShapeEnumValue<0>;
|
|
668
|
-
TopAbs_COMPSOLID: TopAbs_ShapeEnumValue<1>;
|
|
669
|
-
TopAbs_SHAPE: TopAbs_ShapeEnumValue<8>;
|
|
670
|
-
};
|
|
671
|
-
TopAbs_Orientation: {
|
|
672
|
-
TopAbs_FORWARD: TopAbs_OrientationValue<0>;
|
|
673
|
-
TopAbs_REVERSED: TopAbs_OrientationValue<1>;
|
|
674
|
-
TopAbs_INTERNAL: TopAbs_OrientationValue<2>;
|
|
675
|
-
TopAbs_EXTERNAL: TopAbs_OrientationValue<3>;
|
|
676
|
-
};
|
|
677
|
-
Standard_Transient: {};
|
|
678
|
-
Geom_Geometry: {};
|
|
679
|
-
Geom_Curve: {};
|
|
680
|
-
Geom_Conic: {};
|
|
681
|
-
Geom_Circle: {};
|
|
682
|
-
Geom_Ellipse: {};
|
|
683
|
-
Geom_Hyperbola: {};
|
|
684
|
-
Geom_Parabola: {};
|
|
685
|
-
Geom_BoundedCurve: {};
|
|
686
|
-
Geom_Line: {};
|
|
687
|
-
Geom_TrimmedCurve: {};
|
|
688
|
-
Geom_OffsetCurve: {};
|
|
689
|
-
Geom_BezierCurve: {};
|
|
690
|
-
Geom_BSplineCurve: {};
|
|
691
|
-
Geom_Surface: {};
|
|
692
|
-
GeomPlate_Surface: {};
|
|
693
|
-
Geom_ElementarySurface: {};
|
|
694
|
-
Geom_OffsetSurface: {};
|
|
695
|
-
Geom_SweptSurface: {};
|
|
696
|
-
ShapeExtend_CompositeSurface: {};
|
|
697
|
-
Geom_BSplineSurface: {};
|
|
698
|
-
Geom_BezierSurface: {};
|
|
699
|
-
Geom_BoundedSurface: {};
|
|
700
|
-
Geom_RectangularTrimmedSurface: {};
|
|
701
|
-
Geom_ConicalSurface: {};
|
|
702
|
-
Geom_CylindricalSurface: {};
|
|
703
|
-
Geom_Plane: {};
|
|
704
|
-
Geom_SphericalSurface: {};
|
|
705
|
-
Geom_ToroidalSurface: {};
|
|
706
|
-
Geom_SurfaceOfLinearExtrusion: {};
|
|
707
|
-
Geom_SurfaceOfRevolution: {};
|
|
708
|
-
Handle_Standard_Transient: {
|
|
709
|
-
new (_0: Standard_Transient | null): Handle_Standard_Transient;
|
|
710
|
-
};
|
|
711
|
-
Handle_Geom_Geometry: {
|
|
712
|
-
new (_0: Geom_Geometry | null): Handle_Geom_Geometry;
|
|
713
|
-
};
|
|
714
|
-
Handle_Geom_Curve: {
|
|
715
|
-
new (_0: Geom_Curve | null): Handle_Geom_Curve;
|
|
716
|
-
};
|
|
717
|
-
Handle_Geom_Line: {
|
|
718
|
-
new (_0: Geom_Line | null): Handle_Geom_Line;
|
|
719
|
-
};
|
|
720
|
-
Handle_Geom_TrimmedCurve: {
|
|
721
|
-
new (_0: Geom_TrimmedCurve | null): Handle_Geom_TrimmedCurve;
|
|
722
|
-
};
|
|
723
|
-
Handle_Geom_Surface: {
|
|
724
|
-
new (_0: Geom_Surface | null): Handle_Geom_Surface;
|
|
725
|
-
};
|
|
726
|
-
gp_Pnt: {
|
|
727
|
-
new (_0: number, _1: number, _2: number): gp_Pnt;
|
|
728
|
-
};
|
|
729
|
-
gp_Vec: {
|
|
730
|
-
new (_0: number, _1: number, _2: number): gp_Vec;
|
|
731
|
-
};
|
|
732
|
-
gp_Dir: {
|
|
733
|
-
new (_0: number, _1: number, _2: number): gp_Dir;
|
|
734
|
-
};
|
|
735
|
-
gp_Ax1: {
|
|
736
|
-
new (_0: gp_Pnt, _1: gp_Dir): gp_Ax1;
|
|
737
|
-
};
|
|
738
|
-
gp_Ax2: {
|
|
739
|
-
new (_0: gp_Pnt, _1: gp_Dir): gp_Ax2;
|
|
740
|
-
new (_0: gp_Pnt, _1: gp_Dir, _2: gp_Dir): gp_Ax2;
|
|
741
|
-
};
|
|
742
|
-
gp_Ax3: {
|
|
743
|
-
new (_0: gp_Pnt, _1: gp_Dir, _2: gp_Dir): gp_Ax3;
|
|
744
|
-
new (_0: gp_Ax2): gp_Ax3;
|
|
745
|
-
};
|
|
746
|
-
gp_Pln: {
|
|
747
|
-
new (_0: gp_Ax3): gp_Pln;
|
|
748
|
-
new (_0: gp_Pnt, _1: gp_Dir): gp_Pln;
|
|
749
|
-
};
|
|
750
|
-
gp_Trsf: {
|
|
751
|
-
new (): gp_Trsf;
|
|
752
|
-
};
|
|
753
|
-
TopLoc_Location: {
|
|
754
|
-
new (_0: gp_Trsf): TopLoc_Location;
|
|
755
|
-
};
|
|
756
|
-
TopoDS: {
|
|
757
|
-
vertex(_0: TopoDS_Shape): TopoDS_Vertex;
|
|
758
|
-
edge(_0: TopoDS_Shape): TopoDS_Edge;
|
|
759
|
-
wire(_0: TopoDS_Shape): TopoDS_Wire;
|
|
760
|
-
face(_0: TopoDS_Shape): TopoDS_Face;
|
|
761
|
-
shell(_0: TopoDS_Shape): TopoDS_Shell;
|
|
762
|
-
solid(_0: TopoDS_Shape): TopoDS_Solid;
|
|
763
|
-
compound(_0: TopoDS_Shape): TopoDS_Compound;
|
|
764
|
-
compsolid(_0: TopoDS_Shape): TopoDS_CompSolid;
|
|
765
|
-
};
|
|
766
|
-
TopoDS_Shape: {};
|
|
767
|
-
TColgp_Array1OfPnt: {
|
|
768
|
-
new (_0: number, _1: number): TColgp_Array1OfPnt;
|
|
769
|
-
};
|
|
770
|
-
TopoDS_Vertex: {};
|
|
771
|
-
TopoDS_Edge: {};
|
|
772
|
-
TopoDS_Wire: {};
|
|
773
|
-
TopoDS_Face: {};
|
|
774
|
-
TopoDS_Shell: {};
|
|
775
|
-
TopoDS_Solid: {};
|
|
776
|
-
TopoDS_Compound: {};
|
|
777
|
-
TopoDS_CompSolid: {};
|
|
778
|
-
Shape: {
|
|
779
|
-
clone(_0: TopoDS_Shape): TopoDS_Shape;
|
|
780
|
-
sectionSS(_0: TopoDS_Shape, _1: TopoDS_Shape): TopoDS_Shape;
|
|
781
|
-
isClosed(_0: TopoDS_Shape): boolean;
|
|
782
|
-
replaceSubShape(_0: TopoDS_Shape, _1: TopoDS_Shape, _2: TopoDS_Shape): TopoDS_Shape;
|
|
783
|
-
hlr(_0: TopoDS_Shape, _1: gp_Pnt, _2: gp_Dir, _3: gp_Dir): TopoDS_Shape;
|
|
784
|
-
sewing(_0: TopoDS_Shape, _1: TopoDS_Shape): TopoDS_Shape;
|
|
785
|
-
findAncestor(_0: TopoDS_Shape, _1: TopoDS_Shape, _2: TopAbs_ShapeEnum): Array<TopoDS_Shape>;
|
|
786
|
-
findSubShapes(_0: TopoDS_Shape, _1: TopAbs_ShapeEnum): Array<TopoDS_Shape>;
|
|
787
|
-
iterShape(_0: TopoDS_Shape): Array<TopoDS_Shape>;
|
|
788
|
-
splitShapes(_0: Array<TopoDS_Shape>, _1: Array<TopoDS_Shape>): TopoDS_Shape;
|
|
789
|
-
removeFeature(_0: TopoDS_Shape, _1: Array<TopoDS_Shape>): TopoDS_Shape;
|
|
790
|
-
removeSubShape(_0: TopoDS_Shape, _1: Array<TopoDS_Shape>): TopoDS_Shape;
|
|
791
|
-
sectionSP(_0: TopoDS_Shape, _1: Pln): TopoDS_Shape;
|
|
792
|
-
};
|
|
793
|
-
Vertex: {
|
|
794
|
-
point(_0: TopoDS_Vertex): Vector3;
|
|
795
|
-
};
|
|
796
|
-
Edge: {
|
|
797
|
-
fromCurve(_0: Geom_Curve | null): TopoDS_Edge;
|
|
798
|
-
curve(_0: TopoDS_Edge): Handle_Geom_TrimmedCurve;
|
|
799
|
-
curveLength(_0: TopoDS_Edge): number;
|
|
800
|
-
trim(_0: TopoDS_Edge, _1: number, _2: number): TopoDS_Edge;
|
|
801
|
-
offset(_0: TopoDS_Edge, _1: gp_Dir, _2: number): TopoDS_Edge;
|
|
802
|
-
intersect(_0: TopoDS_Edge, _1: TopoDS_Edge): Array<PointAndParameter>;
|
|
803
|
-
};
|
|
804
|
-
Wire: {
|
|
805
|
-
offset(_0: TopoDS_Wire, _1: number, _2: GeomAbs_JoinType): TopoDS_Shape;
|
|
806
|
-
makeFace(_0: TopoDS_Wire): TopoDS_Face;
|
|
807
|
-
edgeLoop(_0: TopoDS_Wire): Array<TopoDS_Edge>;
|
|
808
|
-
};
|
|
809
|
-
Face: {
|
|
810
|
-
area(_0: TopoDS_Face): number;
|
|
811
|
-
offset(_0: TopoDS_Face, _1: number, _2: GeomAbs_JoinType): TopoDS_Shape;
|
|
812
|
-
outerWire(_0: TopoDS_Face): TopoDS_Wire;
|
|
813
|
-
surface(_0: TopoDS_Face): Handle_Geom_Surface;
|
|
814
|
-
normal(_0: TopoDS_Face, _1: number, _2: number, _3: gp_Pnt, _4: gp_Vec): void;
|
|
815
|
-
curveOnSurface(_0: TopoDS_Face, _1: TopoDS_Edge): Domain;
|
|
816
|
-
};
|
|
817
|
-
Solid: {
|
|
818
|
-
volume(_0: TopoDS_Solid): number;
|
|
819
|
-
};
|
|
820
|
-
Transient: {
|
|
821
|
-
isKind(_0: Standard_Transient | null, _1: EmbindString): boolean;
|
|
822
|
-
isInstance(_0: Standard_Transient | null, _1: EmbindString): boolean;
|
|
823
|
-
};
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
export type MainModule = WasmModule & EmbindModule;
|
|
827
|
-
export default function MainModuleFactory(options?: unknown): Promise<MainModule>;
|