import os
from map2loop.project import Project
from map2loop.m2l_enums import VerboseLevel
import time
from datetime import datetime
nowtime=datetime.now().isoformat(timespec='minutes')
model_name=nowtime.replace(":","-").replace("T","-")
t0 = time.time()
proj = Project(
geology_filename="./source_data/geol_clip.shp",
fault_filename="./source_data/faults_clip.shp",
fold_filename="./source_data/folds_clip.shp",
structure_filename="./source_data/structure_clip.shp",
mindep_filename="./source_data/mindeps_clip.shp",
dtm_filename='./source_data/dtm_rp.tif',
metadata_filename='./source_data/example.hjson',
overwrite="true",
verbose_level=VerboseLevel.NONE,
project_path=model_name,
working_projection="EPSG:28350",
)
proj.update_config(
out_dir=model_name,
bbox_3d={
"minx": 520000,
"miny": 7490000,
"maxx": 550000,
"maxy": 7510000,
"base": -3200,
"top": 1200,
},
run_flags={ },
#proj_crs={'init': 'EPSG:28350'},
clut_path='F:/Loop/map2loop2-notebooks-1.0/source_data/500kibg_colours.csv',
quiet='all' # change this to 'None' (with quotes) to see intermediate output
)
proj.run()
![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/043029678676148.png?x-oss-process=image/auto-orient,1/resize,w_320,m_lfit)