<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>K-3D Forums &#187; Tag: python - Recent Topics</title>
		<link>http://www.k-3d.org/forums/tags/python</link>
		<description>Seven Degrees of Freedom</description>
		<language>en-US</language>
		<pubDate>Sat, 11 Feb 2012 01:02:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-3d.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.k-3d.org/forums/rss/tags/python/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>djsnickles on "ViewMatrix/MatrixView?"</title>
			<link>http://www.k-3d.org/forums/topic/viewmatrixmatrixview#post-4549</link>
			<pubDate>Mon, 18 Oct 2010 18:05:59 +0000</pubDate>
			<dc:creator>djsnickles</dc:creator>
			<guid isPermaLink="false">4549@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;In the K-3D 0.8.0.1 release on OS X, the following code returns a &#60;code&#62;NoneType&#60;/code&#62; for &#60;code&#62;camera_view&#60;/code&#62; and gives this error:&#60;br /&#62;
&#60;code&#62;ERROR: No plugin factory named: ViewMatrix&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Script:&#60;br /&#62;
——&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#python
import k3d
doc = context.document
camera_view = k3d.plugin.create(&#38;quot;ViewMatrix&#38;quot;, doc)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;——&#60;br /&#62;
What's the difference between:&#60;br /&#62;
&#60;a href=&#34;http://www.k-3d.org/wiki/MatrixView&#34; rel=&#34;nofollow&#34;&#62;http://www.k-3d.org/wiki/MatrixView&#60;/a&#62;&#60;br /&#62;
and&#60;br /&#62;
&#60;a href=&#34;http://www.k-3d.org/wiki/ViewMatrix&#34; rel=&#34;nofollow&#34;&#62;http://www.k-3d.org/wiki/ViewMatrix&#60;/a&#62;&#60;br /&#62;
?&#60;/p&#62;
&#60;p&#62;The code above works with MatrixView, however.  How are these plugins commonly used?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>djsnickles on "k3d.property.create() for User Property List?"</title>
			<link>http://www.k-3d.org/forums/topic/k3dpropertycreate-for-user-property-list#post-4519</link>
			<pubDate>Wed, 13 Oct 2010 22:32:03 +0000</pubDate>
			<dc:creator>djsnickles</dc:creator>
			<guid isPermaLink="false">4519@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;What is the correct python syntax for creating a drop-down list in a node, such as the Camera's choices for Aspect Ratio?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>djsnickles on "Running examples from wiki?"</title>
			<link>http://www.k-3d.org/forums/topic/running-examples-from-wiki#post-4465</link>
			<pubDate>Thu, 07 Oct 2010 22:51:16 +0000</pubDate>
			<dc:creator>djsnickles</dc:creator>
			<guid isPermaLink="false">4465@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://www.k-3d.org/wiki/Scripting#.22Action.22_Scripts&#34;&#62;This example from the wiki&#60;/a&#62; fails on its first line, in K-3D's Python shell:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;gt;&#38;gt;&#38;gt; cone = k3d.plugin.create(&#38;quot;QuadricCone&#38;quot;, context.document)
Traceback (most recent call last):
  File &#38;quot;&#38;lt;console&#38;gt;&#38;quot;, line 1, in &#38;lt;module&#38;gt;
IndexError: unknown key&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;What is the proper &#60;code&#62;context&#60;/code&#62; for creating plugins in K-3D's Python shell?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>djsnickles on "creating parametric objects with python"</title>
			<link>http://www.k-3d.org/forums/topic/creating-parametric-objects-with-python#post-4387</link>
			<pubDate>Sun, 03 Oct 2010 13:53:51 +0000</pubDate>
			<dc:creator>djsnickles</dc:creator>
			<guid isPermaLink="false">4387@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;I'm looking to create somewhat complicated parametric &#34;building blocks&#34; of construction objects. Blender was somewhat limited in this regard, and K-3D was recommended. After looking through the wiki information and playing around with the OS X install, I'm quite impressed with K-3D, but I'd like to know the community's thoughts on what I'm trying to achieve.&#60;/p&#62;
&#60;p&#62;I want to:&#60;br /&#62;
- create parametric objects using python, which could be loaded into K-3D, just like other 3D objects&#60;br /&#62;
- these objects will have gui 'toggles' to control python functions/settings&#60;br /&#62;
- objects should be 'locked down': allowing only certain translations/rotations, etc.&#60;br /&#62;
- be able to group these objects into super-objects, which would have their own logic/settings&#60;br /&#62;
- connect via python to an external data source (socket, db, etc.) for default settings/other data&#60;br /&#62;
- use python to manipulate and export raw quantities as csv&#60;/p&#62;
&#60;p&#62;Specifically, I will start off with light gauge steel profiles as building components, which the user would be able to move, rotate, and stretch on only one axis, as well as toggle various settings per object.&#60;/p&#62;
&#60;p&#62;Is this possible with K-3D? Thanks for your help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>m@b on "Could not determine scripting language - Ubuntu Karmic; k-3d mercurial latest"</title>
			<link>http://www.k-3d.org/forums/topic/could-not-determine-scripting-language-ubuntu-karmic-k-3d-mercurial-latest#post-3403</link>
			<pubDate>Sun, 04 Apr 2010 20:06:27 +0000</pubDate>
			<dc:creator>m@b</dc:creator>
			<guid isPermaLink="false">3403@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Hi all!&#60;/p&#62;
&#60;p&#62;I have cloned the mercurial source on the latest and compiled under karmic.&#60;/p&#62;
&#60;p&#62;When I try to run a python script(from the examples) I get the &#34;Could not determine scripting language&#34; error.&#60;br /&#62;
I have python 2.4 - 2.6 installed with dev packages of course.&#60;/p&#62;
&#60;p&#62;I have tried rebuilding with testing enabled so I can see what it tells me, but I get a build error &#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
/usr/include/boost/accumulators/statistics_fwd.hpp:87: error: ‘template&#38;lt;int N&#38;gt; struct boost::accumulators::tag::moment’ is not a function,&#60;br /&#62;
/usr/include/boost/accumulators/statistics/moment.hpp:104: error:   conflict with ‘template&#38;lt;int T2, class Arg1&#38;gt; typename boost::accumulators::detail::extractor_result&#38;lt;Arg1, boost::accumulators::tag::moment&#38;lt;T2&#38;gt; &#38;gt;::type boost::accumulators::extract::moment(const Arg1&#38;amp;)’&#60;br /&#62;
/usr/include/boost/accumulators/statistics/variance.hpp:54: error:   in call to ‘moment’&#60;br /&#62;
&#34;&#34;&#34;&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whale on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2731</link>
			<pubDate>Tue, 01 Dec 2009 15:21:00 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2731@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;hi there.&#60;br /&#62;
i noticed that when i render a preview in k3d the output is stored in /tmp, in particular the yafray 'world.xml' file is stored there. &#60;/p&#62;
&#60;p&#62;1. is there a way i could get k3d to send that file to an external executable ?&#60;br /&#62;
2. if not is there a way i could retrieve the same rendering information another way? (python script?)&#60;br /&#62;
3. can anyone point me in the direction of a mirror of k3d's python api,  &#60;a href=&#34;http://www.k-3d.com/docs/epydoc&#34; rel=&#34;nofollow&#34;&#62;http://www.k-3d.com/docs/epydoc&#60;/a&#62; &#38;lt;-- this one appears to be down
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

