更新gitignore

This commit is contained in:
n3040 2024-02-01 12:49:55 +08:00
parent 8c60899f8e
commit 6caafc91a5
2 changed files with 8 additions and 2 deletions

6
.gitignore vendored
View File

@ -8,3 +8,9 @@ canva
*.xls*
*.toml
control_file_template.txt
.idea
.vscode
__pycache__
Lib
Scripts
example

View File

@ -3,11 +3,11 @@ from dem import Dem
from loguru import logger
if __name__ == "__main__":
if len(sys.argv) < 2:
toml_file_path = r"db_JS.toml"
toml_file_path = r"db_山地750.toml"
else:
toml_file_path = sys.argv[1]
logger.info(f'读取配置文件{toml_file_path}')
dem = Dem(toml_file_path)
dem.get_dem_info(if_print=True)
dem.write_dxf()
dem.write()
print("Finished.")