<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Kevin Yeandel's Random Access Memory &#187; Python and Blender</title>
	<atom:link href="http://kevinyeandel.wordpress.com/category/python-and-blender/feed/" rel="self" type="application/rss+xml" />
	<link>http://kevinyeandel.wordpress.com</link>
	<description>If you don't use it you loose it.</description>
	<lastBuildDate>Tue, 19 May 2009 17:53:17 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='kevinyeandel.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/4990a9596090771c02aa56cce2ef53e1?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Kevin Yeandel's Random Access Memory &#187; Python and Blender</title>
		<link>http://kevinyeandel.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kevinyeandel.wordpress.com/osd.xml" title="Kevin Yeandel&#8217;s Random Access Memory" />
		<item>
		<title>Compiling Python problem and solution, Centos 5, Python 2.5.1</title>
		<link>http://kevinyeandel.wordpress.com/2008/02/17/compiling-python-problem-and-solution-centos-5-python-251/</link>
		<comments>http://kevinyeandel.wordpress.com/2008/02/17/compiling-python-problem-and-solution-centos-5-python-251/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 17:08:02 +0000</pubDate>
		<dc:creator>kevinyeandel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Python and Blender]]></category>

		<guid isPermaLink="false">http://kevinyeandel.wordpress.com/?p=57</guid>
		<description><![CDATA[Trying to install an alternate copy of python than that which ships with Centos5 (Why do these package installers not rpm or yum the latest version?? Please can someone tell me!).
The first is to run ./configure
Then if you run make it will break with make: *** [libinstall] Error 1
The solution then is to edit ./Modules/Setup.dist [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=57&subd=kevinyeandel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Trying to install an alternate copy of python than that which ships with Centos5 (Why do these package installers not rpm or yum the latest version?? Please can someone tell me!).</p>
<p>The first is to run ./configure</p>
<p>Then if you run make it will break with make: *** [libinstall] Error 1<br />
The solution then is to edit ./Modules/Setup.dist and comment out line 180<br />
rerun with make altinstall to not make it the default.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kevinyeandel.wordpress.com/57/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kevinyeandel.wordpress.com/57/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kevinyeandel.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kevinyeandel.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kevinyeandel.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kevinyeandel.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kevinyeandel.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kevinyeandel.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kevinyeandel.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kevinyeandel.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kevinyeandel.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kevinyeandel.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=57&subd=kevinyeandel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kevinyeandel.wordpress.com/2008/02/17/compiling-python-problem-and-solution-centos-5-python-251/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d259713cf4714749642eabcf987019f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kevinyeandel</media:title>
		</media:content>
	</item>
		<item>
		<title>Missing libraries, fixing with yum and rpm, trying to make Blender work.</title>
		<link>http://kevinyeandel.wordpress.com/2008/02/17/missing-libraries/</link>
		<comments>http://kevinyeandel.wordpress.com/2008/02/17/missing-libraries/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 00:02:35 +0000</pubDate>
		<dc:creator>kevinyeandel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Python and Blender]]></category>

		<guid isPermaLink="false">http://kevinyeandel.wordpress.com/?p=54</guid>
		<description><![CDATA[Blender runs pretty well in a cygwin x-windows shell (so far anyway). Getting Blender to actually work on my generic Centos 5 install was excruciating.
To find out what is missing from a system that will prevent an application from running use ldd as in the following example for the blender executable
[root@styx blender-2.45-linux-glibc236-py24-i386]# ldd blender &#124; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=54&subd=kevinyeandel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Blender runs pretty well in a cygwin x-windows shell (so far anyway). Getting Blender to actually work on my generic Centos 5 install was excruciating.</p>
<p>To find out what is missing from a system that will prevent an application from running use ldd as in the following example for the blender executable<br />
[root@styx blender-2.45-linux-glibc236-py24-i386]# ldd blender | grep &#8220;not found&#8221;<br />
libopenal.so.0 =&gt; not found<br />
libalut.so.0 =&gt; not found<br />
libSDL-1.2.so.0 =&gt; not found</p>
<p>Then to install packages:</p>
<p>[root@styx blender-2.45-linux-glibc236-py24-i386]# yum install libSDL-1.2.so.0<br />
Loading &#8220;installonlyn&#8221; plugin<br />
Setting up Install Process<br />
Setting up repositories<br />
Reading repository metadata in from local files<br />
Parsing package install arguments<br />
Resolving Dependencies<br />
&#8211;&gt; Populating transaction set with selected packages. Please wait.<br />
&#8212;&gt; Downloading header for SDL to pack into transaction set.<br />
SDL-1.2.10-8.el5.i386.rpm 100% |=========================|  12 kB    00:00<br />
&#8212;&gt; Package SDL.i386 0:1.2.10-8.el5 set to be updated<br />
&#8211;&gt; Running transaction check</p>
<p>Dependencies Resolved</p>
<p>=============================================================================<br />
Package                 Arch       Version          Repository        Size<br />
=============================================================================<br />
Installing:<br />
SDL                     i386       1.2.10-8.el5     base              233 k</p>
<p>Transaction Summary<br />
=============================================================================<br />
Install      1 Package(s)<br />
Update       0 Package(s)<br />
Remove       0 Package(s)</p>
<p>Total download size: 233 k<br />
Is this ok [y/N]: y<br />
Downloading Packages:<br />
(1/1): SDL-1.2.10-8.el5.i 100% |=========================| 233 kB    00:00<br />
Running Transaction Test<br />
Finished Transaction Test<br />
Transaction Test Succeeded<br />
Running Transaction<br />
Installing: SDL                          ######################### [1/1]</p>
<p>Installed: SDL.i386 0:1.2.10-8.el5<br />
Complete!</p>
<p><font color="#0000ff">Getting Blender working</font><br />
The above mentioned package via, yum install libSDL-1.2.so.0<br />
rpm -i /mnt/dante/everyone/openal-0.0.8-1.i586.rpm<br />
rpm -i /mnt/dante/everyone/libalut-1.1.0-alt1.2.i586.rpm</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kevinyeandel.wordpress.com/54/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kevinyeandel.wordpress.com/54/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kevinyeandel.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kevinyeandel.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kevinyeandel.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kevinyeandel.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kevinyeandel.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kevinyeandel.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kevinyeandel.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kevinyeandel.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kevinyeandel.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kevinyeandel.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=54&subd=kevinyeandel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kevinyeandel.wordpress.com/2008/02/17/missing-libraries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d259713cf4714749642eabcf987019f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kevinyeandel</media:title>
		</media:content>
	</item>
		<item>
		<title>Blender code to make a cube into red tinted glass</title>
		<link>http://kevinyeandel.wordpress.com/2007/11/21/blender-code-to-make-a-cube-into-red-tinted-glass/</link>
		<comments>http://kevinyeandel.wordpress.com/2007/11/21/blender-code-to-make-a-cube-into-red-tinted-glass/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 20:49:57 +0000</pubDate>
		<dc:creator>kevinyeandel</dc:creator>
				<category><![CDATA[Python and Blender]]></category>

		<guid isPermaLink="false">http://kevinyeandel.wordpress.com/2007/11/21/blender-code-to-make-a-cube-into-red-tinted-glass/</guid>
		<description><![CDATA[I wanted a glass floor between two datacentres so I could see the servers in the room below also. I put a slight red tint in the glass for effect. The greens sphere and blue cube are sticking out from behind the slice of glass.  Theres a rock thing in front of the glass. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=31&subd=kevinyeandel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I wanted a glass floor between two datacentres so I could see the servers in the room below also. I put a slight red tint in the glass for effect. The greens sphere and blue cube are sticking out from behind the slice of glass.  Theres a rock thing in front of the glass. A lamp shines from above which is casting a shadow on a screen behind.</p>
<p><a href="http://kevinyeandel.files.wordpress.com/2007/11/glassdemo.jpg" title="glassdemo.jpg"><img src="http://kevinyeandel.files.wordpress.com/2007/11/glassdemo.jpg" alt="glassdemo.jpg" /></a></p>
<p>Warning to newbies:</p>
<p>Make sure to show the outliner and refresh when you have run the code. Can be a pain in the backside trying to apply materials etc. to objects. The outliner shows whats going on.</p>
<p>import Blender<br />
import math<br />
from math import *<br />
import Blender</p>
<p>from Blender import NMesh, Material</p>
<p>myCube = Blender.Object.Get(&#8216;Cube&#8217;)     #default cube, might as well use it. I resized it to make it more like a pain of glass</p>
<p>me=NMesh.GetRaw(&#8216;Cube&#8217;)</p>
<p>&#8220;&#8221;"<br />
diffuseColor 0.9324847 0.94625 0.9620039<br />
ambientIntensity 0.1666667<br />
specularColor 1.2298402 1.2298402 1.2298402<br />
emissiveColor  0.0 0.0 0.0<br />
shininess 0.7050781<br />
transparency 0.8981037</p>
<p>&#8220;&#8221;"<br />
#Set up materials<br />
me.materials = []   # remove any exisiting materials (just for clarification)</p>
<p>mat_glassfloors=Material.New(&#8216;glass&#8217;)<br />
mat_glassfloors.setRGBCol(0.46,0,0)         # dash of red<br />
mat_glassfloors.setAlpha(0.3)                     # mat.alpha = 0.3 &#8212; almost transparent<br />
mat_glassfloors.mode |= Material.Modes.ZTRANSP<br />
me.addMaterial(mat_glassfloors)</p>
<p>me.update()<br />
Blender.Redraw()</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kevinyeandel.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kevinyeandel.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kevinyeandel.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kevinyeandel.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kevinyeandel.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kevinyeandel.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kevinyeandel.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kevinyeandel.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kevinyeandel.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kevinyeandel.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kevinyeandel.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kevinyeandel.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=31&subd=kevinyeandel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kevinyeandel.wordpress.com/2007/11/21/blender-code-to-make-a-cube-into-red-tinted-glass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d259713cf4714749642eabcf987019f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kevinyeandel</media:title>
		</media:content>

		<media:content url="http://kevinyeandel.files.wordpress.com/2007/11/glassdemo.jpg" medium="image">
			<media:title type="html">glassdemo.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Handling Tuples in Python</title>
		<link>http://kevinyeandel.wordpress.com/2007/11/17/handling-tuples-in-python/</link>
		<comments>http://kevinyeandel.wordpress.com/2007/11/17/handling-tuples-in-python/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 16:48:31 +0000</pubDate>
		<dc:creator>kevinyeandel</dc:creator>
				<category><![CDATA[Python and Blender]]></category>

		<guid isPermaLink="false">http://kevinyeandel.wordpress.com/2007/11/17/handling-tuples-in-python/</guid>
		<description><![CDATA[Where farm1 is a Blender object , a tuple is like an array of typed data
WLH = farm1.getSize()
print &#8220;WLH = &#8221; , WLH  # here we can see the list of reals
print &#8220;X is &#8221; , XYZ[0]   # which are returned in order x,y,z
x = &#8211; WLH[0] / 0.2
y = &#8211; WLH[1] / 0.2
  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=30&subd=kevinyeandel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Where farm1 is a Blender object , a tuple is like an array of typed data</p>
<p>WLH = farm1.getSize()<br />
print &#8220;WLH = &#8221; , WLH  # here we can see the list of reals<br />
print &#8220;X is &#8221; , XYZ[0]   # which are returned in order x,y,z<br />
x = &#8211; WLH[0] / 0.2<br />
y = &#8211; WLH[1] / 0.2</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kevinyeandel.wordpress.com/30/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kevinyeandel.wordpress.com/30/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kevinyeandel.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kevinyeandel.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kevinyeandel.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kevinyeandel.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kevinyeandel.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kevinyeandel.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kevinyeandel.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kevinyeandel.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kevinyeandel.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kevinyeandel.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=30&subd=kevinyeandel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kevinyeandel.wordpress.com/2007/11/17/handling-tuples-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d259713cf4714749642eabcf987019f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kevinyeandel</media:title>
		</media:content>
	</item>
		<item>
		<title>Making an object a parent in Blender and Python</title>
		<link>http://kevinyeandel.wordpress.com/2007/11/17/making-an-object-a-parent-in-blender-and-python/</link>
		<comments>http://kevinyeandel.wordpress.com/2007/11/17/making-an-object-a-parent-in-blender-and-python/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 16:44:12 +0000</pubDate>
		<dc:creator>kevinyeandel</dc:creator>
				<category><![CDATA[Python and Blender]]></category>

		<guid isPermaLink="false">http://kevinyeandel.wordpress.com/2007/11/17/making-an-object-a-parent-in-blender-and-python/</guid>
		<description><![CDATA[Where farm1 is an instance of a blender object and the object name begins with the string &#8217;seso&#8217;, farm1 is made the parent of all the objects
obs = [ob for ob in scn.objects if ob.name[0:4] == &#8217;seso&#8217;]
scn.objects.selected = obs
for ob in obs:
print ob.name
farm1.makeParent(obs)
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=29&subd=kevinyeandel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Where farm1 is an instance of a blender object and the object name begins with the string &#8217;seso&#8217;, farm1 is made the parent of all the objects</p>
<p>obs = [ob for ob in scn.objects if ob.name[0:4] == &#8217;seso&#8217;]<br />
scn.objects.selected = obs<br />
for ob in obs:</p>
<blockquote><p>print ob.name<br />
farm1.makeParent(obs)</p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kevinyeandel.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kevinyeandel.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kevinyeandel.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kevinyeandel.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kevinyeandel.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kevinyeandel.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kevinyeandel.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kevinyeandel.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kevinyeandel.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kevinyeandel.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kevinyeandel.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kevinyeandel.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=29&subd=kevinyeandel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kevinyeandel.wordpress.com/2007/11/17/making-an-object-a-parent-in-blender-and-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d259713cf4714749642eabcf987019f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kevinyeandel</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating a new lamp and camera</title>
		<link>http://kevinyeandel.wordpress.com/2007/11/17/creating-a-new-lamp-and-camera/</link>
		<comments>http://kevinyeandel.wordpress.com/2007/11/17/creating-a-new-lamp-and-camera/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 16:35:48 +0000</pubDate>
		<dc:creator>kevinyeandel</dc:creator>
				<category><![CDATA[Python and Blender]]></category>

		<guid isPermaLink="false">http://kevinyeandel.wordpress.com/2007/11/17/creating-a-new-lamp-and-camera/</guid>
		<description><![CDATA[Two basic functions to create a camera and lamp
def newCamera():
cam = Blender.Camera.New(&#8216;ortho&#8217;)     # make ortho camera data object
ob = scn.objects.new(cam)             # make a new object in this scene using the camera data
ob.setLocation (0.0, -5.0, 10.0)     [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=28&subd=kevinyeandel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Two basic functions to create a camera and lamp</p>
<p>def newCamera():</p>
<blockquote><p>cam = Blender.Camera.New(&#8216;ortho&#8217;)     # make ortho camera data object<br />
ob = scn.objects.new(cam)             # make a new object in this scene using the camera data<br />
ob.setLocation (0.0, -5.0, 10.0)      # position the object in the scene</p></blockquote>
<p>def newLamp():</p>
<blockquote><p> lamp = Blender.Lamp.New(&#8216;Spot&#8217;)<br />
ob = scn.objects.new(lamp)<br />
ob.setLocation (0.0,-4.0,15)</p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kevinyeandel.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kevinyeandel.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kevinyeandel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kevinyeandel.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kevinyeandel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kevinyeandel.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kevinyeandel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kevinyeandel.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kevinyeandel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kevinyeandel.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kevinyeandel.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kevinyeandel.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=28&subd=kevinyeandel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kevinyeandel.wordpress.com/2007/11/17/creating-a-new-lamp-and-camera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d259713cf4714749642eabcf987019f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kevinyeandel</media:title>
		</media:content>
	</item>
		<item>
		<title>XML Support  (with minidom)</title>
		<link>http://kevinyeandel.wordpress.com/2007/11/17/xml-support-with-minidom/</link>
		<comments>http://kevinyeandel.wordpress.com/2007/11/17/xml-support-with-minidom/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 16:34:22 +0000</pubDate>
		<dc:creator>kevinyeandel</dc:creator>
				<category><![CDATA[Python and Blender]]></category>

		<guid isPermaLink="false">http://kevinyeandel.wordpress.com/2007/11/17/xml-support-with-minidom/</guid>
		<description><![CDATA[import Blender
from Blender import *
from xml.dom import minidom
global xmldoc
def load_xml(filename):
    xmldoc=minidom.parse(filename)
#main
load_xml(&#8220;c:\somefile.xml&#8221;)
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=27&subd=kevinyeandel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>import Blender<br />
from Blender import *<br />
from xml.dom import minidom<br />
global xmldoc<br />
def load_xml(filename):</p>
<blockquote><p>    xmldoc=minidom.parse(filename)</p></blockquote>
<p>#main<br />
load_xml(&#8220;c:\somefile.xml&#8221;)</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kevinyeandel.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kevinyeandel.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kevinyeandel.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kevinyeandel.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kevinyeandel.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kevinyeandel.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kevinyeandel.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kevinyeandel.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kevinyeandel.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kevinyeandel.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kevinyeandel.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kevinyeandel.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kevinyeandel.wordpress.com&blog=1858280&post=27&subd=kevinyeandel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kevinyeandel.wordpress.com/2007/11/17/xml-support-with-minidom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d259713cf4714749642eabcf987019f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kevinyeandel</media:title>
		</media:content>
	</item>
	</channel>
</rss>