diff --git a/models/csg-union-disjoint/README.md b/models/csg-union-disjoint/README.md deleted file mode 100644 index 344c75907..000000000 --- a/models/csg-union-disjoint/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Fornjot - Disjoint Union - -A model that demonstrates [constructive solid geometry](https://en.wikipedia.org/wiki/Constructive_solid_geometry) (CSG) functionality, specifically the union of two disjoint bodies. - -To display this model, run the following from the repository root: -``` sh -cargo run -- --model csg-union-disjoint -``` - -![Screenshot of the disjoint union model](csg-union-disjoint.png) diff --git a/models/csg-union-disjoint/Cargo.toml b/models/group/Cargo.toml similarity index 78% rename from models/csg-union-disjoint/Cargo.toml rename to models/group/Cargo.toml index 505071e7b..7910d2980 100644 --- a/models/csg-union-disjoint/Cargo.toml +++ b/models/group/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "csg-union-disjoint" +name = "group" version = "0.1.0" edition = "2021" diff --git a/models/group/README.md b/models/group/README.md new file mode 100644 index 000000000..395f59b5f --- /dev/null +++ b/models/group/README.md @@ -0,0 +1,10 @@ +# Fornjot - Group + +A model that demonstrates groups of two disjoint bodies. + +To display this model, run the following from the repository root: +``` sh +cargo run -- --model group +``` + +![Screenshot of the group model](group.png) diff --git a/models/csg-union-disjoint/csg-union-disjoint.png b/models/group/group.png similarity index 100% rename from models/csg-union-disjoint/csg-union-disjoint.png rename to models/group/group.png diff --git a/models/csg-union-disjoint/src/lib.rs b/models/group/src/lib.rs similarity index 100% rename from models/csg-union-disjoint/src/lib.rs rename to models/group/src/lib.rs