Skip to content
Snippets Groups Projects
Commit b27ecd3a authored by samuel.hayden's avatar samuel.hayden
Browse files

Updated readme

parent e8ffe2a1
No related branches found
No related tags found
Loading
...@@ -36,25 +36,31 @@ Positions 500 ...@@ -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. 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. To generate the lattice structures, the following command line arguements can be used.
This option specifies the file to use as an input file. This option specifies the file to use as an input file.
```sh ```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. This option specifies a .step file that is to be used as trimming geometry. Essentially a bounding box of the lattice structure.
```sh ```sh
LatticeDehomogenization.exe -bounds <yourboundingbox.step> LatticeDehomogenization.exe --bounds yourboundingbox.step
``` ```
## Roadmap ## Roadmap
- [ ] Add command line argument -input - [x] Add command line argument --input
- [ ] Add command line argument -bounds - [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 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 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 rotated cells
- [ ] Add more common cell types - [ ] Add more common cell types
...@@ -79,5 +85,8 @@ bool determineNodes() { ...@@ -79,5 +85,8 @@ bool determineNodes() {
} }
``` ```
### Creating new lattice builders
TODO
## Links ## Links
* [OpenCascade](https://dev.opencascade.org/) * [OpenCascade](https://dev.opencascade.org/)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment