forked from expo/troggle
A little more verbosity
This commit is contained in:
parent
0ab32ef60a
commit
3bdd1ad737
@ -231,6 +231,9 @@ def ReloadSurvexCave(survex_cave):
|
|||||||
|
|
||||||
|
|
||||||
def LoadAllSurvexBlocks():
|
def LoadAllSurvexBlocks():
|
||||||
|
|
||||||
|
print 'Loading All Survex Blocks...'
|
||||||
|
|
||||||
models.SurvexBlock.objects.all().delete()
|
models.SurvexBlock.objects.all().delete()
|
||||||
models.SurvexFile.objects.all().delete()
|
models.SurvexFile.objects.all().delete()
|
||||||
models.SurvexDirectory.objects.all().delete()
|
models.SurvexDirectory.objects.all().delete()
|
||||||
@ -265,6 +268,9 @@ def LoadAllSurvexBlocks():
|
|||||||
|
|
||||||
poslineregex = re.compile("^\(\s*([+-]?\d*\.\d*),\s*([+-]?\d*\.\d*),\s*([+-]?\d*\.\d*)\s*\)\s*([^\s]+)$")
|
poslineregex = re.compile("^\(\s*([+-]?\d*\.\d*),\s*([+-]?\d*\.\d*),\s*([+-]?\d*\.\d*)\s*\)\s*([^\s]+)$")
|
||||||
def LoadPos():
|
def LoadPos():
|
||||||
|
|
||||||
|
print 'Loading Pos....'
|
||||||
|
|
||||||
call([settings.CAVERN, "--output=%s/all.3d" % settings.SURVEX_DATA, "%s/all.svx" % settings.SURVEX_DATA])
|
call([settings.CAVERN, "--output=%s/all.3d" % settings.SURVEX_DATA, "%s/all.svx" % settings.SURVEX_DATA])
|
||||||
call([settings.THREEDTOPOS, '%sall.3d' % settings.SURVEX_DATA], cwd = settings.SURVEX_DATA)
|
call([settings.THREEDTOPOS, '%sall.3d' % settings.SURVEX_DATA], cwd = settings.SURVEX_DATA)
|
||||||
posfile = open("%sall.pos" % settings.SURVEX_DATA)
|
posfile = open("%sall.pos" % settings.SURVEX_DATA)
|
||||||
|
@ -190,7 +190,7 @@ def LoadListScansFile(survexscansfolder):
|
|||||||
# and builds up the models we can access later
|
# and builds up the models we can access later
|
||||||
def LoadListScans():
|
def LoadListScans():
|
||||||
|
|
||||||
print '\tLoading Survey Scans...'
|
print 'Loading Survey Scans...'
|
||||||
|
|
||||||
SurvexScanSingle.objects.all().delete()
|
SurvexScanSingle.objects.all().delete()
|
||||||
SurvexScansFolder.objects.all().delete()
|
SurvexScansFolder.objects.all().delete()
|
||||||
|
Loading…
Reference in New Issue
Block a user