mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 19:10:52 +00:00
dont force null driver, doesnt work on all cards and disable maximising max while running pipeline
This commit is contained in:
parent
67257f0629
commit
a4dfe3d6d3
14 changed files with 14 additions and 14 deletions
|
@ -82,7 +82,7 @@ if MaxAvailable:
|
||||||
sDst.close()
|
sDst.close()
|
||||||
while tagDiff > 0:
|
while tagDiff > 0:
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "%PreGenFileExtension%_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "%PreGenFileExtension%_export.ms", "-q", "-mi", "-mip" ])
|
||||||
tagList = findFiles(log, outputDirectory, "", ".%PreGenFileExtension%")
|
tagList = findFiles(log, outputDirectory, "", ".%PreGenFileExtension%")
|
||||||
newTagLen = len(tagList)
|
newTagLen = len(tagList)
|
||||||
tagDiff = newTagLen - tagLen
|
tagDiff = newTagLen - tagLen
|
||||||
|
|
|
@ -93,7 +93,7 @@ if MaxAvailable:
|
||||||
mrt.write("moe-moe-kyun")
|
mrt.write("moe-moe-kyun")
|
||||||
mrt.close()
|
mrt.close()
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "%PreGenFileExtension%_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "%PreGenFileExtension%_export.ms", "-q", "-mi", "-mip" ])
|
||||||
if os.path.exists(outputLogfile):
|
if os.path.exists(outputLogfile):
|
||||||
try:
|
try:
|
||||||
lSrc = open(outputLogfile, "r")
|
lSrc = open(outputLogfile, "r")
|
||||||
|
|
|
@ -99,7 +99,7 @@ if MaxAvailable:
|
||||||
# sDst.close()
|
# sDst.close()
|
||||||
# while tagDiff > 0:
|
# while tagDiff > 0:
|
||||||
# printLog(log, "MAXSCRIPT " + scriptDst)
|
# printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
# subprocess.call([ Max, "-U", "MAXScript", "dummy_export.ms", "-q", "-mi", "-vn" ])
|
# subprocess.call([ Max, "-U", "MAXScript", "dummy_export.ms", "-q", "-mi", "-mip" ])
|
||||||
# tagList = findFiles(log, outDirTag, "", ".tag")
|
# tagList = findFiles(log, outDirTag, "", ".tag")
|
||||||
# newTagLen = len(tagList)
|
# newTagLen = len(tagList)
|
||||||
# tagDiff = newTagLen - tagLen
|
# tagDiff = newTagLen - tagLen
|
||||||
|
|
|
@ -93,7 +93,7 @@ if MaxAvailable:
|
||||||
mrt.write("moe-moe-kyun")
|
mrt.write("moe-moe-kyun")
|
||||||
mrt.close()
|
mrt.close()
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "anim_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "anim_export.ms", "-q", "-mi", "-mip" ])
|
||||||
if os.path.exists(outputLogfile):
|
if os.path.exists(outputLogfile):
|
||||||
try:
|
try:
|
||||||
lSrc = open(outputLogfile, "r")
|
lSrc = open(outputLogfile, "r")
|
||||||
|
|
|
@ -93,7 +93,7 @@ if MaxAvailable:
|
||||||
mrt.write("moe-moe-kyun")
|
mrt.write("moe-moe-kyun")
|
||||||
mrt.close()
|
mrt.close()
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "clod_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "clod_export.ms", "-q", "-mi", "-mip" ])
|
||||||
if os.path.exists(outputLogfile):
|
if os.path.exists(outputLogfile):
|
||||||
try:
|
try:
|
||||||
lSrc = open(outputLogfile, "r")
|
lSrc = open(outputLogfile, "r")
|
||||||
|
|
|
@ -78,7 +78,7 @@ def igExport(sourceDir, targetDir):
|
||||||
mrt.write("moe-moe-kyun")
|
mrt.write("moe-moe-kyun")
|
||||||
mrt.close()
|
mrt.close()
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "ig_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "ig_export.ms", "-q", "-mi", "-mip" ])
|
||||||
if os.path.exists(outputLogfile):
|
if os.path.exists(outputLogfile):
|
||||||
try:
|
try:
|
||||||
lSrc = open(outputLogfile, "r")
|
lSrc = open(outputLogfile, "r")
|
||||||
|
|
|
@ -93,7 +93,7 @@ if LigoExportLand == "" or LigoExportOnePass == 1:
|
||||||
sDst.close()
|
sDst.close()
|
||||||
|
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "nel_ligo_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "nel_ligo_export.ms", "-q", "-mi", "-mip" ])
|
||||||
|
|
||||||
os.remove(scriptDst)
|
os.remove(scriptDst)
|
||||||
printLog(log, "")
|
printLog(log, "")
|
||||||
|
|
|
@ -93,7 +93,7 @@ if MaxAvailable:
|
||||||
mrt.write("moe-moe-kyun")
|
mrt.write("moe-moe-kyun")
|
||||||
mrt.close()
|
mrt.close()
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "pacs_prim_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "pacs_prim_export.ms", "-q", "-mi", "-mip" ])
|
||||||
if os.path.exists(outputLogfile):
|
if os.path.exists(outputLogfile):
|
||||||
try:
|
try:
|
||||||
lSrc = open(outputLogfile, "r")
|
lSrc = open(outputLogfile, "r")
|
||||||
|
|
|
@ -93,7 +93,7 @@ if MaxAvailable:
|
||||||
mrt.write("moe-moe-kyun")
|
mrt.write("moe-moe-kyun")
|
||||||
mrt.close()
|
mrt.close()
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "cmb_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "cmb_export.ms", "-q", "-mi", "-mip" ])
|
||||||
if os.path.exists(outputLogfile):
|
if os.path.exists(outputLogfile):
|
||||||
try:
|
try:
|
||||||
lSrc = open(outputLogfile, "r")
|
lSrc = open(outputLogfile, "r")
|
||||||
|
|
|
@ -112,7 +112,7 @@ if MaxAvailable:
|
||||||
mrt.write("moe-moe-kyun")
|
mrt.write("moe-moe-kyun")
|
||||||
mrt.close()
|
mrt.close()
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "shape_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "shape_export.ms", "-q", "-mi", "-mip" ])
|
||||||
if os.path.exists(outputLogfile):
|
if os.path.exists(outputLogfile):
|
||||||
try:
|
try:
|
||||||
lSrc = open(outputLogfile, "r")
|
lSrc = open(outputLogfile, "r")
|
||||||
|
|
|
@ -82,7 +82,7 @@ if MaxAvailable:
|
||||||
sDst.close()
|
sDst.close()
|
||||||
while tagDiff > 0:
|
while tagDiff > 0:
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "skel_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "skel_export.ms", "-q", "-mi", "-mip" ])
|
||||||
tagList = findFiles(log, outputDirectory, "", ".skel")
|
tagList = findFiles(log, outputDirectory, "", ".skel")
|
||||||
newTagLen = len(tagList)
|
newTagLen = len(tagList)
|
||||||
tagDiff = newTagLen - tagLen
|
tagDiff = newTagLen - tagLen
|
||||||
|
|
|
@ -82,7 +82,7 @@ if MaxAvailable:
|
||||||
sDst.close()
|
sDst.close()
|
||||||
while tagDiff > 0:
|
while tagDiff > 0:
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "swt_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "swt_export.ms", "-q", "-mi", "-mip" ])
|
||||||
tagList = findFiles(log, outputDirectory, "", ".swt")
|
tagList = findFiles(log, outputDirectory, "", ".swt")
|
||||||
newTagLen = len(tagList)
|
newTagLen = len(tagList)
|
||||||
tagDiff = newTagLen - tagLen
|
tagDiff = newTagLen - tagLen
|
||||||
|
|
|
@ -93,7 +93,7 @@ if MaxAvailable:
|
||||||
mrt.write("moe-moe-kyun")
|
mrt.write("moe-moe-kyun")
|
||||||
mrt.close()
|
mrt.close()
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "veget_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "veget_export.ms", "-q", "-mi", "-mip" ])
|
||||||
if os.path.exists(outputLogfile):
|
if os.path.exists(outputLogfile):
|
||||||
try:
|
try:
|
||||||
lSrc = open(outputLogfile, "r")
|
lSrc = open(outputLogfile, "r")
|
||||||
|
|
|
@ -82,7 +82,7 @@ if MaxAvailable:
|
||||||
sDst.close()
|
sDst.close()
|
||||||
while tagDiff > 0:
|
while tagDiff > 0:
|
||||||
printLog(log, "MAXSCRIPT " + scriptDst)
|
printLog(log, "MAXSCRIPT " + scriptDst)
|
||||||
subprocess.call([ Max, "-U", "MAXScript", "zone_export.ms", "-q", "-mi", "-vn" ])
|
subprocess.call([ Max, "-U", "MAXScript", "zone_export.ms", "-q", "-mi", "-mip" ])
|
||||||
tagList = findFiles(log, outputDirectory, "", ".zone")
|
tagList = findFiles(log, outputDirectory, "", ".zone")
|
||||||
newTagLen = len(tagList)
|
newTagLen = len(tagList)
|
||||||
tagDiff = newTagLen - tagLen
|
tagDiff = newTagLen - tagLen
|
||||||
|
|
Loading…
Reference in a new issue