From b27ecd3abc161b80b6eb1282be59d6dda2938661 Mon Sep 17 00:00:00 2001 From: "samuel.hayden" <samuel.haydeb@fhr.frunhofer.de> Date: Fri, 15 Mar 2024 13:21:52 +0100 Subject: [PATCH] Updated readme --- README.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c9187481..77b8f231 100644 --- a/README.md +++ b/README.md @@ -36,25 +36,31 @@ Positions 500 Currently the only option is to modify the main.cpp file. In main.cpp, the string in "ParseInputFile" can be modified to select your input file. -TODO: Impliment command line arguments to build lattice structures. To generate the lattice structures, the following command line arguements can be used. This option specifies the file to use as an input file. ```sh -LatticeDehomogenization.exe -input <yourfile.txt> +LatticeDehomogenization.exe --input yourfile.txt +``` + +This option specifies an output directory and name to save the lattice to. +```sh +LatticeDehomogenization.exe --output relsavepath/savename.stp ``` -TODO: Add this as an option This option specifies a .step file that is to be used as trimming geometry. Essentially a bounding box of the lattice structure. ```sh -LatticeDehomogenization.exe -bounds <yourboundingbox.step> +LatticeDehomogenization.exe --bounds yourboundingbox.step ``` + + ## Roadmap -- [ ] Add command line argument -input -- [ ] Add command line argument -bounds +- [x] Add command line argument --input +- [x] Add command line argument --output +- [x] Add command line argument --bounds - [ ] Add command line arguments to generate simple lattice structures directly without the need of an input file - [ ] Add ability to import relative density distribution and convert to cell radii -- [ ] Add ability to project results from a finer mesh onto a coarse mesh. Finer meshes generally produce more complex structures that have lower compliance. This is a result of using a smaller filter radius. It would be benefitial to be able to obtain more optimal structures and them project their data onto a coarse mesh which represents a lattice structure. +- [x] Add ability to project results from a finer mesh onto a coarse mesh. Finer meshes generally produce more complex structures that have lower compliance. This is a result of using a smaller filter radius. It would be benefitial to be able to obtain more optimal structures and them project their data onto a coarse mesh which represents a lattice structure. - [ ] Add rotated cells - [ ] Add more common cell types @@ -79,5 +85,8 @@ bool determineNodes() { } ``` +### Creating new lattice builders +TODO + ## Links * [OpenCascade](https://dev.opencascade.org/) \ No newline at end of file -- GitLab