Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 1.11 KB

README.md

File metadata and controls

12 lines (9 loc) · 1.11 KB

flexi-cad

This is my first iteration on developing cloud-native, real-time collaborative architectural CAD. I'm working on another implementation now based on Redis, gRPC, and OpenCASCADE.

The goal of this project is to design an architectural CAD product that uses largely the same code for three different versions: workstation, thin-client/thick-server, and browser based. The name is dumb, but it works for now.

Follow the setup instructions for Neon: https://neon-bindings.com/docs/getting-started
Then install wasm-pack: https://rustwasm.github.io/wasm-pack/installer/
Clone this repository.
For workstation configuration, go to ui/electron and npm install, then npm run start. A dialog will pop up saying "Connect to server:" with an IP address. Hit cancel, then click OK on the File Name dialog.
For thin-client configuration, first go to /server and cargo run --release. Then execute the above instructions to start the electron client and choose OK on the server dialog.
For browser, start the server as above, then go to /ui/browser and npm install, then npm run start. A browser tab will pop up.