diff --git a/README.md b/README.md index 7ce11a7..8c4fc45 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,17 @@ stl_dump.py <file.geo> Dumps all the meshes contained in <file.geo> to <geo_name>/<model_name.stl>. <geo_name> and <model_name> are read from the .geo. +## geo_edit.py +A command line tool for modifying a .geo file -##Known issues: - - Not all structures are regenerated when writing a .geo file. (PolyGrid and Reductions) +geo_edit.py <infile.geo> <outfile.geo> <operation> [<operation options> ...] + +Operation | Description +--------------------------- | --------------------------- + del_model <reg_ex> | Deletes all models whose name contains the regular expression <reg_ex>. + geo_name <name> | Change the .geo's name to <name>. + +Multiple operations can be specified and performed in the same run. + +## Known Issues + - Not all structures are regenerated when writing a .geo file. (Reductions)