├── .gitignore ├── ReadMe.md ├── backend ├── Dockerfile ├── app │ ├── __init__.py │ ├── build_graph.py │ ├── main.py │ ├── occ_file_translator.py │ └── occwl │ │ ├── __init__.py │ │ ├── base.py │ │ ├── compound.py │ │ ├── edge.py │ │ ├── edge_data_extractor.py │ │ ├── entity_mapper.py │ │ ├── face.py │ │ ├── geometry │ │ ├── __init__.py │ │ ├── arc_length_param_finder.py │ │ ├── box.py │ │ ├── geom_utils.py │ │ ├── interval.py │ │ └── tri_utils.py │ │ ├── graph.py │ │ ├── io.py │ │ ├── shape.py │ │ ├── shell.py │ │ ├── solid.py │ │ ├── util.py │ │ ├── uvgrid.py │ │ ├── vertex.py │ │ └── wire.py └── cad-feature-detector-backend.yml ├── feature_detector ├── demo_input.pkl ├── model.tar.gz ├── model │ ├── best.bak │ ├── best.ckpt │ ├── code │ │ ├── demo_input.pkl │ │ ├── encoders.py │ │ ├── inference.py │ │ ├── models.py │ │ ├── requirements.txt │ │ ├── test_inference.py │ │ └── util.py │ └── hparams.yaml ├── requirements.txt └── sagemaker_deploy.ipynb ├── files ├── TITAN-1M.bin └── TITAN-1M.step ├── frontend ├── .gitignore ├── package-lock.json ├── package.json ├── public │ ├── TITAN-1M.step │ ├── favicon.ico │ ├── index.html │ ├── manifest.json │ └── robots.txt ├── src │ ├── App.tsx │ ├── Components │ │ ├── Buttons.tsx │ │ ├── ClassLegend.tsx │ │ ├── ErrorPage.tsx │ │ ├── Page.tsx │ │ ├── ShowColorButton.tsx │ │ └── Viewer.tsx │ ├── helpers.ts │ ├── hooks │ │ └── upload.ts │ ├── index.css │ └── index.tsx ├── tailwind.config.js └── tsconfig.json └── infra ├── .gitignore ├── .npmignore ├── README.md ├── bin └── cadFeatureDetection.ts ├── cdk.context.json ├── cdk.json ├── jest.config.js ├── lib ├── cadFeatureDetectionBackend.ts ├── cadFeatureDetectionFrontend.ts └── cadFeatureDetectionStack.ts ├── package-lock.json ├── package.json └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/.gitignore -------------------------------------------------------------------------------- /ReadMe.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/ReadMe.md -------------------------------------------------------------------------------- /backend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/Dockerfile -------------------------------------------------------------------------------- /backend/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/build_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/build_graph.py -------------------------------------------------------------------------------- /backend/app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/main.py -------------------------------------------------------------------------------- /backend/app/occ_file_translator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occ_file_translator.py -------------------------------------------------------------------------------- /backend/app/occwl/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/occwl/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/base.py -------------------------------------------------------------------------------- /backend/app/occwl/compound.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/compound.py -------------------------------------------------------------------------------- /backend/app/occwl/edge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/edge.py -------------------------------------------------------------------------------- /backend/app/occwl/edge_data_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/edge_data_extractor.py -------------------------------------------------------------------------------- /backend/app/occwl/entity_mapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/entity_mapper.py -------------------------------------------------------------------------------- /backend/app/occwl/face.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/face.py -------------------------------------------------------------------------------- /backend/app/occwl/geometry/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/occwl/geometry/arc_length_param_finder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/geometry/arc_length_param_finder.py -------------------------------------------------------------------------------- /backend/app/occwl/geometry/box.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/geometry/box.py -------------------------------------------------------------------------------- /backend/app/occwl/geometry/geom_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/geometry/geom_utils.py -------------------------------------------------------------------------------- /backend/app/occwl/geometry/interval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/geometry/interval.py -------------------------------------------------------------------------------- /backend/app/occwl/geometry/tri_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/geometry/tri_utils.py -------------------------------------------------------------------------------- /backend/app/occwl/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/graph.py -------------------------------------------------------------------------------- /backend/app/occwl/io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/io.py -------------------------------------------------------------------------------- /backend/app/occwl/shape.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/shape.py -------------------------------------------------------------------------------- /backend/app/occwl/shell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/shell.py -------------------------------------------------------------------------------- /backend/app/occwl/solid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/solid.py -------------------------------------------------------------------------------- /backend/app/occwl/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/util.py -------------------------------------------------------------------------------- /backend/app/occwl/uvgrid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/uvgrid.py -------------------------------------------------------------------------------- /backend/app/occwl/vertex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/vertex.py -------------------------------------------------------------------------------- /backend/app/occwl/wire.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/app/occwl/wire.py -------------------------------------------------------------------------------- /backend/cad-feature-detector-backend.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/backend/cad-feature-detector-backend.yml -------------------------------------------------------------------------------- /feature_detector/demo_input.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/demo_input.pkl -------------------------------------------------------------------------------- /feature_detector/model.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/model.tar.gz -------------------------------------------------------------------------------- /feature_detector/model/best.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/model/best.bak -------------------------------------------------------------------------------- /feature_detector/model/best.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/model/best.ckpt -------------------------------------------------------------------------------- /feature_detector/model/code/demo_input.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/model/code/demo_input.pkl -------------------------------------------------------------------------------- /feature_detector/model/code/encoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/model/code/encoders.py -------------------------------------------------------------------------------- /feature_detector/model/code/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/model/code/inference.py -------------------------------------------------------------------------------- /feature_detector/model/code/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/model/code/models.py -------------------------------------------------------------------------------- /feature_detector/model/code/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/model/code/requirements.txt -------------------------------------------------------------------------------- /feature_detector/model/code/test_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/model/code/test_inference.py -------------------------------------------------------------------------------- /feature_detector/model/code/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/model/code/util.py -------------------------------------------------------------------------------- /feature_detector/model/hparams.yaml: -------------------------------------------------------------------------------- 1 | crv_in_channels: 6 2 | num_classes: 16 3 | -------------------------------------------------------------------------------- /feature_detector/requirements.txt: -------------------------------------------------------------------------------- 1 | sagemaker 2 | boto3 3 | python-dotenv -------------------------------------------------------------------------------- /feature_detector/sagemaker_deploy.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/feature_detector/sagemaker_deploy.ipynb -------------------------------------------------------------------------------- /files/TITAN-1M.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/files/TITAN-1M.bin -------------------------------------------------------------------------------- /files/TITAN-1M.step: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/files/TITAN-1M.step -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/TITAN-1M.step: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/public/TITAN-1M.step -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/public/index.html -------------------------------------------------------------------------------- /frontend/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/public/manifest.json -------------------------------------------------------------------------------- /frontend/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/public/robots.txt -------------------------------------------------------------------------------- /frontend/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/src/App.tsx -------------------------------------------------------------------------------- /frontend/src/Components/Buttons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/src/Components/Buttons.tsx -------------------------------------------------------------------------------- /frontend/src/Components/ClassLegend.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/src/Components/ClassLegend.tsx -------------------------------------------------------------------------------- /frontend/src/Components/ErrorPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/src/Components/ErrorPage.tsx -------------------------------------------------------------------------------- /frontend/src/Components/Page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/src/Components/Page.tsx -------------------------------------------------------------------------------- /frontend/src/Components/ShowColorButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/src/Components/ShowColorButton.tsx -------------------------------------------------------------------------------- /frontend/src/Components/Viewer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/src/Components/Viewer.tsx -------------------------------------------------------------------------------- /frontend/src/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/src/helpers.ts -------------------------------------------------------------------------------- /frontend/src/hooks/upload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/src/hooks/upload.ts -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/src/index.tsx -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/tailwind.config.js -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /infra/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/.gitignore -------------------------------------------------------------------------------- /infra/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/.npmignore -------------------------------------------------------------------------------- /infra/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/README.md -------------------------------------------------------------------------------- /infra/bin/cadFeatureDetection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/bin/cadFeatureDetection.ts -------------------------------------------------------------------------------- /infra/cdk.context.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/cdk.context.json -------------------------------------------------------------------------------- /infra/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/cdk.json -------------------------------------------------------------------------------- /infra/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/jest.config.js -------------------------------------------------------------------------------- /infra/lib/cadFeatureDetectionBackend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/lib/cadFeatureDetectionBackend.ts -------------------------------------------------------------------------------- /infra/lib/cadFeatureDetectionFrontend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/lib/cadFeatureDetectionFrontend.ts -------------------------------------------------------------------------------- /infra/lib/cadFeatureDetectionStack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/lib/cadFeatureDetectionStack.ts -------------------------------------------------------------------------------- /infra/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/package-lock.json -------------------------------------------------------------------------------- /infra/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/package.json -------------------------------------------------------------------------------- /infra/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sguerin13/cad-feature-detection/HEAD/infra/tsconfig.json --------------------------------------------------------------------------------