Page 1 of 1

Driveline Exporting Is Driving Me Nuts

PostPosted: 21 Oct 2012, 23:54
by Hero
:!:

My STK browser seems to have a problem with exporting drive-lines. In fact it doesn't even seem to edit the quads.xml file.

I also can't enable the STK panels plug-in.

Here is a .blend of the file in question. If we can't resolve this I'll need someone to export it for me.

Noloksland.blend
(4.32 MiB) Downloaded 257 times


:!:

Re: Driveline Exporting Is Driving Me Nuts

PostPosted: 22 Oct 2012, 01:04
by Auria
Please share what is the error message. If it's not clear enough in the interface, please run blender from the terminal and watch there for error messages

Re: Driveline Exporting Is Driving Me Nuts

PostPosted: 22 Oct 2012, 01:06
by Hero
This is the part that contains the warning:

WARNING: no main driveline defined, adding dummy driveline
Traceback (most recent call last):
File "/home/[user name]/blender-2.63a-linux-glibc27-i686/2.63/scripts/addons/stk_track.py", line 2288, in execute
savescene_callback(self.filepath)
File "/home/[user name]/blender-2.63a-linux-glibc27-i686/2.63/scripts/addons/stk_track.py", line 2235, in savescene_callback
exporter = TrackExport(sFilename)
File "/home/[user name]/blender-2.63a-linux-glibc27-i686/2.63/scripts/addons/stk_track.py", line 2216, in __init__
lChecks, lSun, lDrivelines[0], lStart, lEndCameras, lCameraCurves)
File "/home/[user name]/blender-2.63a-linux-glibc27-i686/2.63/scripts/addons/stk_track.py", line 1995, in writeSceneFile
self.writeChecks(f, lChecks, mainDriveline)
File "/home/[user name]/blender-2.63a-linux-glibc27-i686/2.63/scripts/addons/stk_track.py", line 1538, in writeChecks
strict_lapline = mainDriveline.isStrictLapline()
AttributeError: 'NoneType' object has no attribute 'isStrictLapline'

location:<unknown location>:-1

location:<unknown location>:-1
^[OF

Re: Driveline Exporting Is Driving Me Nuts

PostPosted: 23 Oct 2012, 00:55
by Auria
Thanks for the report. I committed a fix to the crash you reported.

By the way the error seems that you have not defined any object with type 'driveline (main)'. Please make sure to do that (that's what the fixed version will likely tell you to do)

Re: Driveline Exporting Is Driving Me Nuts

PostPosted: 23 Oct 2012, 02:34
by Hero
I defined it "maindriveline". Infact that was an exact copy of the fort magma drive line type.

I thought if might have something to do with the fact that I'm using properties instead of the browser (due to the STK panels bug). I'll get to work soon.