Disclaimer: This project was created for demonstration purposes, only. It is provided as-is, and may contain errors or bugs.
The goal of this demo is to demonstrate how HOOPS Exchange, HOOPS Communicator, and Polygonica can be used in a manufacturing analysis application. Capabilities include:
- Part uploading and viewing
- Measurements
- Part property display and appearance customization
- Wall thickness analysis
- Overhang detection
- Feature (hole and pocket) detection
This project was originally created from the Tech Soft 3D 3D Printing Demo.
Use the VS Code Live Server extension or your preferred server tool to serve index.html
.
- Upload a CAD part file via the client.
- CAD file is read via HOOPS Exchange.
- A UUID is generated for the part.
- A Polygonica entity is generated via the Exchange-Polygonica bridge and stored in memory with the UUID as a map.
- An SCS file is generated using libconverter (part of HOOPS Communicator) and sent as a buffer to the client, along with the UUID.
- The client renders the SCS file into a web viewer using HOOPS Communicator.
- The client-side functionality is supported by the HOOPS Communicator API.
- The WallThickness and DetectFeatures endpoints on the server require a POST request with the UUID for the model to use for analysis with the Polygonica API.
- When a new model is uploaded during a user session or a session ends, a POST request to the CloseUuidSession endpoint with the UUID removes the Polygonica entity from the server.
- HOOPS Exchange 2024.7.0
- HOOPS Communicator 2024.7.1
- Polygonica 3.3 Patch 9
- Poly Haven for image-based lighting image.
- Boxicons for icons.