A 2D constraint-solving CAD program for rapid prototyping. Heavily inspired by SolveSpace.
Online demo: https://liquid-cad.twitchyliquid.net/
Slightly out-of-date video:
recording.mp4
- More work on Help page
- More tests for 3D solid logic
- Move 3D code to own crate
- Export to STEP
- Arc dragging
- Broken constraint tools / solver stability (need help!):
-
- Lines parallel
Make sure you are using the latest version of stable rust by running rustup update
.
cargo run --release
On Linux you need to first run:
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
On Fedora Rawhide you need to run:
dnf install clang clang-devel clang-tools-extra libxkbcommon-devel pkg-config openssl-devel libxcb-devel gtk3-devel atk fontconfig-devel
On NixOS:
nix-shell
to get into a working environment.
On NixOS: cd liquid-cad && nix-shell
then trunk serve
or trunk build --release
Legacy OS'es:
- Install the required target with
rustup target add wasm32-unknown-unknown
. - Install Trunk with
cargo install --locked trunk
.
Locally: Within the liquid-cad
directory, run trunk serve
to build and serve on http://127.0.0.1:8080
. Trunk will rebuild automatically if you edit the project.
Deploying: Run trunk build --release
and copy the dist
directory.
Under MIT / Apache 2.0. Some icons from Noto emoji font under Apache 2.0.