<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Blender exporter and python]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=736&amp;type=atom"/>
	<updated>2013-08-20T12:32:28Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=736</id>
		<entry>
			<title type="html"><![CDATA[Re: Blender exporter and python]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4673#p4673"/>
			<content type="html"><![CDATA[<p>Perfect ! Thanks so much <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
			<author>
				<name><![CDATA[Vegas]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=53</uri>
			</author>
			<updated>2013-08-20T12:32:28Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4673#p4673</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Blender exporter and python]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4672#p4672"/>
			<content type="html"><![CDATA[<p>Normally you can access like that :</p><div class="codebox"><pre><code>sce = bpy.context.scene
mar_anim_list = sce.mar_anim_list

num_anims = len(mar_anim_list)

for i in range(num_anims):
    start = mar_anim_list[i].my_item.start
    end = mar_anim_list[i].my_item.end
    loops = mar_anim_list[i].my_item.loops</code></pre></div><p>and to add a new animation :<br /></p><div class="codebox"><pre><code>mar_anim_list.add()
mar_anim_list[-1].name = &quot;Anim%d&quot; % (len(mar_anim_list) - 1)
mar_anim_list[-1].my_item.start = start
mar_anim_list[-1].my_item.end = end
...</code></pre></div>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-08-20T11:59:08Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4672#p4672</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Blender exporter and python]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4670#p4670"/>
			<content type="html"><![CDATA[<p>Hem yeah &quot;exporter tab&quot;, that was quite dumb.. i meant this window :<br /><span class="postimg"><img src="https://dl.dropboxusercontent.com/u/19970067/Pictures/MaraForum/BLenderAnimExport.jpg" alt="PunBB bbcode test" /></span><br />I want to set up animations with a python script instead of entering them manually</p>]]></content>
			<author>
				<name><![CDATA[Vegas]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=53</uri>
			</author>
			<updated>2013-08-20T09:14:47Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4670#p4670</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Blender exporter and python]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4668#p4668"/>
			<content type="html"><![CDATA[<p>can you explain more ? when you say exporter tab what do you mean ?</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-08-20T08:56:50Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4668#p4668</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Blender exporter and python]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4660#p4660"/>
			<content type="html"><![CDATA[<p>Hello ! <br />I&#039;ve made a small script that simplify the spritesheets animation process however i&#039;m unable to set <br />the animation list in the exporter tab, i&#039;ve tried for a while but didn&#039;t succeed. That would save me alot of time,<br />Any tips ? </p><p>Thanks !</p>]]></content>
			<author>
				<name><![CDATA[Vegas]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=53</uri>
			</author>
			<updated>2013-08-20T03:03:51Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4660#p4660</id>
		</entry>
</feed>
