<?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 Posts</title>
		<link>http://www.k-3d.org/forums/tags/python</link>
		<description>Seven Degrees of Freedom</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 12:03:21 +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" rel="self" type="application/rss+xml" />

		<item>
			<title>djsnickles on "ViewMatrix/MatrixView?"</title>
			<link>http://www.k-3d.org/forums/topic/viewmatrixmatrixview#post-4633</link>
			<pubDate>Thu, 21 Oct 2010 19:16:40 +0000</pubDate>
			<dc:creator>djsnickles</dc:creator>
			<guid isPermaLink="false">4633@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Thanks! So, should I use a MaxtrixView rather than a FrozenMesh, if I wanted to create a &#34;fixed camera&#34;, i.e.: the user can not change its position nor target?
&#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-4627</link>
			<pubDate>Thu, 21 Oct 2010 18:47:11 +0000</pubDate>
			<dc:creator>djsnickles</dc:creator>
			<guid isPermaLink="false">4627@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Thanks for the explanation. I had assumed the UI combo box would just be a simple set of key/values, such as a Python dictionary.&#60;/p&#62;
&#60;p&#62;In order to simulate this functionality, do you think it would be possible to create the widget from a k3d script with something like PyGTK? Would PyGTK called from a script be able to modify K-3D's UI elements?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Timothy Shead on "k3d.property.create() for User Property List?"</title>
			<link>http://www.k-3d.org/forums/topic/k3dpropertycreate-for-user-property-list#post-4579</link>
			<pubDate>Mon, 18 Oct 2010 21:16:11 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">4579@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;This one is a fairly fundamental limitation in the way properties work.  Currently, there are two types of properties, &#34;user defined&#34; and &#34;plugin defined&#34;.  Plugin-defined properties can implement arbitrarily-complex behavior in C++, and are easy to serialize, because the only thing that needs to be serialized is their value.  User-defined properties (the kind that can be instantiated through Python) can't implement arbitrary behavior (like an enumeration, which shows-up as a combo box in the UI), because there's currently no way to serialize all the possible permutations.  So they're limited to a fixed set of types (scalars, colors, strings, etc) and the simplest possible behavior.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Timothy Shead on "ViewMatrix/MatrixView?"</title>
			<link>http://www.k-3d.org/forums/topic/viewmatrixmatrixview#post-4573</link>
			<pubDate>Mon, 18 Oct 2010 21:09:50 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">4573@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Sorry for the confusion, there was a round of plugin name changes for 0.8 so our terminology is consistent ... &#34;MatrixView&#34; is the correct name, &#34;ViewMatrix&#34; was the old name.&#60;/p&#62;
&#60;p&#62;You can use MatrixView to produce what some toolkits refer to as a &#34;look&#34; matrix - one that orients an object based on a &#34;look&#34; vector and an &#34;up&#34; vector.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#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-4555</link>
			<pubDate>Mon, 18 Oct 2010 18:12:08 +0000</pubDate>
			<dc:creator>djsnickles</dc:creator>
			<guid isPermaLink="false">4555@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Thanks for replying. Drop down lists in the GUI would be very helpful for creating parametric objects, as a user could choose an option/preset, triggering lots of cool possibilities (as seen with the Camera).&#60;/p&#62;
&#60;p&#62;What would be required to add this functionality?
&#60;/p&#62;</description>
		</item>
		<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>Timothy Shead on "k3d.property.create() for User Property List?"</title>
			<link>http://www.k-3d.org/forums/topic/k3dpropertycreate-for-user-property-list#post-4525</link>
			<pubDate>Sun, 17 Oct 2010 07:50:18 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">4525@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;The closest you can get is to create a property of type &#34;k3d::string_t&#34;, but there is no way to specify the enumerated values from Python.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#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>Timothy Shead on "Running examples from wiki?"</title>
			<link>http://www.k-3d.org/forums/topic/running-examples-from-wiki#post-4483</link>
			<pubDate>Thu, 07 Oct 2010 23:02:18 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">4483@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Yes, I just committed a fix for this, see my response to your other post.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#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>Timothy Shead on "creating parametric objects with python"</title>
			<link>http://www.k-3d.org/forums/topic/creating-parametric-objects-with-python#post-4435</link>
			<pubDate>Mon, 04 Oct 2010 20:35:54 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">4435@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;K-3D provides a broad set of common geometric primitives, see&#60;/p&#62;
&#60;p&#62;  &#60;a href=&#34;http://www.k-3d.org/wiki/Geometric_Primitive_Design&#34; rel=&#34;nofollow&#34;&#62;http://www.k-3d.org/wiki/Geometric_Primitive_Design&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;for the complete list.  Then there are visualization pipeline sources that create instances of those primitives.  See&#60;/p&#62;
&#60;p&#62;  &#60;a href=&#34;http://www.k-3d.org/wiki/Visualization_Pipeline&#34; rel=&#34;nofollow&#34;&#62;http://www.k-3d.org/wiki/Visualization_Pipeline&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;for the details.  Finally, because we support programmable sources, it's possible to define your own primitive types at runtime.  See the whitepaper at&#60;/p&#62;
&#60;p&#62;  &#60;a href=&#34;http://developer.k-3d.org/documentation&#34; rel=&#34;nofollow&#34;&#62;http://developer.k-3d.org/documentation&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Depending on your specific use-case, any or all of these options might come into play for you.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#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-4411</link>
			<pubDate>Sun, 03 Oct 2010 22:07:40 +0000</pubDate>
			<dc:creator>djsnickles</dc:creator>
			<guid isPermaLink="false">4411@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Let me ask a different way. As I understand, from browsing the docs:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;
&#60;a href=&#34;http://www.k-3d.org/wiki/QuadricCylinder&#34;&#62;QuadricCylinder&#60;/a&#62; is a 3D parametric plugin, correct?&#60;/p&#62;
&#60;/li&#62;
&#60;li&#62;
&#60;a&#62;According to the docs&#60;/a&#62;, it is possible to create plugins using python scripts, yes?&#60;/p&#62;
&#60;/li&#62;
&#60;li&#62;
Is it possible to create a plugin just like &#60;em&#62;QuadricCylinder&#60;/em&#62; using a python script? If so, is there an example/tutorial?&#60;/p&#62;
&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;I looked at the code inside &#34;create_polyhedron.py&#34;, but it doesn't show how to program or display user configurable options, such as Radius, Sweep Angle, etc.&#60;/p&#62;
&#60;p&#62;EDIT:&#60;br /&#62;
Sorry, I didn't see your post before replying. Thanks for the link! Something like Sketchup's &#34;Dynamic Components&#34; is exactly what I had in mind. So to be clear, this is currently possible with K-3D?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dsmatthews on "creating parametric objects with python"</title>
			<link>http://www.k-3d.org/forums/topic/creating-parametric-objects-with-python#post-4405</link>
			<pubDate>Sun, 03 Oct 2010 21:50:40 +0000</pubDate>
			<dc:creator>dsmatthews</dc:creator>
			<guid isPermaLink="false">4405@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;I fixed the wiki link.&#60;br /&#62;
Yes the epydoc shows that the API is all script-able with python.&#60;/p&#62;
&#60;p&#62;What you are wanting to do is something I have been interested in for a long time and if you look in my to-do list I was looking at even having a python based spreadsheet for the parameters &#60;a href=&#34;http://www.k-3d.org/wiki/User:Dsmatthews&#34; rel=&#34;nofollow&#34;&#62;http://www.k-3d.org/wiki/User:Dsmatthews&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;As things stand Tim has been doing a lot of GUI changes that may be relevant to you and I am no longer up to date with the status of what is a feature and what is a still request so I'll have to defer to Tim for any of the details regarding the do-ability of scripted metaobjects.
&#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-4399</link>
			<pubDate>Sun, 03 Oct 2010 19:37:15 +0000</pubDate>
			<dc:creator>djsnickles</dc:creator>
			<guid isPermaLink="false">4399@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Hi dsmatthews,&#60;/p&#62;
&#60;p&#62;Thanks for replying. I'm imagining a 3d object, which could be placed in the viewport like the QuadricCylinder. It would have its own logic &#38;amp; attributes, all written in python as an plugin (correct terminology?) to a K-3D document. I'm reading the wiki sections on python scripting &#38;amp; plugins, and it seems possible, but I'd like confirmation.&#60;br /&#62;
Thanks!&#60;/p&#62;
&#60;p&#62;PS: would this link help? I get a 404:&#60;br /&#62;
&#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;&#60;/p&#62;
&#60;p&#62;EDIT:&#60;br /&#62;
Got it, that should be &#34;.org&#34;. This wiki link is wrong:&#60;br /&#62;
&#60;a href=&#34;http://www.k-3d.org/wiki/Python#Documentation&#34; rel=&#34;nofollow&#34;&#62;http://www.k-3d.org/wiki/Python#Documentation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dsmatthews on "creating parametric objects with python"</title>
			<link>http://www.k-3d.org/forums/topic/creating-parametric-objects-with-python#post-4393</link>
			<pubDate>Sun, 03 Oct 2010 19:15:21 +0000</pubDate>
			<dc:creator>dsmatthews</dc:creator>
			<guid isPermaLink="false">4393@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Like this? &#60;a href=&#34;http://k-3d.org/wiki/Visualization_Pipeline_Display&#34; rel=&#34;nofollow&#34;&#62;http://k-3d.org/wiki/Visualization_Pipeline_Display&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;and this, &#60;a href=&#34;http://k-3d.org/wiki/File:MetaObject_user_properties-1.png&#34; rel=&#34;nofollow&#34;&#62;http://k-3d.org/wiki/File:MetaObject_user_properties-1.png&#60;/a&#62;
&#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>Timothy Shead 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-3427</link>
			<pubDate>Tue, 06 Apr 2010 07:53:58 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">3427@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Bart is the CGAL guy, I believe he has a patch for the CGAL sources to make things work.  FWIW, he's also looking at CURVE, which seems like a better long-term solution than CGAL.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#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-3421</link>
			<pubDate>Mon, 05 Apr 2010 01:33:58 +0000</pubDate>
			<dc:creator>m@b</dc:creator>
			<guid isPermaLink="false">3421@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;I have succeeded in compiling though I had to disable both cgal and testing. But scripting is working now which is great.
&#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-3415</link>
			<pubDate>Sun, 04 Apr 2010 21:56:50 +0000</pubDate>
			<dc:creator>m@b</dc:creator>
			<guid isPermaLink="false">3415@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Cool thanks Tim.&#60;/p&#62;
&#60;p&#62;I have installed libboost1.40-all-dev because I was using libboost 1.38. There are a lot of dependency changes one of which was libboost-python1.40, this may have been the problem??&#60;/p&#62;
&#60;p&#62;I also had to remove libcgal-dev because it depended on liboost 1.38&#60;br /&#62;
What version of cgal are you using?&#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
Which example is failing?&#60;br /&#62;
&#34;&#34;&#34;&#60;/p&#62;
&#60;p&#62;All examples failed. I am recompiling now and will post my results.&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Timothy Shead 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-3409</link>
			<pubDate>Sun, 04 Apr 2010 21:12:45 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">3409@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;As an aside, I do most of my development on Ubuntu 9.10, so we should be able to figure-out the problem easily.  Which example is failing?&#60;/p&#62;
&#60;p&#62;As far as the compile-error goes, it sounds like some recent changes may have introduced a dependency on newer versions of boost - in particular, you might want to install the &#34;libboost1.40-all-dev&#34; package, which is what works for me - you may have the older Boost 1.38 packages, which I believe are more widely installed.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#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>dsmatthews on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2753</link>
			<pubDate>Thu, 03 Dec 2009 20:48:51 +0000</pubDate>
			<dc:creator>dsmatthews</dc:creator>
			<guid isPermaLink="false">2753@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;You may also wish to take a look at this, &#60;a href=&#34;http://freestyle.sourceforge.net/index.php&#34; rel=&#34;nofollow&#34;&#62;http://freestyle.sourceforge.net/index.php&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Timothy Shead on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2751</link>
			<pubDate>Thu, 03 Dec 2009 18:29:05 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">2751@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;You can see the command that gets executed in your console - we run the yafray executable, followed by the path to the world.xml file.&#60;/p&#62;
&#60;p&#62;Your sample script works fine here, I suspect you might have forgotten to set its execute flag.&#60;/p&#62;
&#60;p&#62;It does sound as if RenderEngineScript is what you really want, since a render script has access to the full K-3D scene, which is much richer than the contents of a Yafray XML file.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#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-2749</link>
			<pubDate>Thu, 03 Dec 2009 09:48:05 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2749@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
 So I've added a new property to YafrayEngine, &#34;Executable&#34;, that defaults to yafray, but can be changed to anything that suits you. So you could use that to redirect rendering wherever you like. You'll have to build from the latest sources to get this change.&#60;br /&#62;
&#34;&#34;&#34;&#60;br /&#62;
Thanks for that Timothy &#60;/p&#62;
&#60;p&#62;could you tell me exactly what information is being sent to the binary so i know what to expect, does it send the full yafray xml, or the the direct location to the one created in /tmp?&#60;br /&#62;
I made a small python script to check, but it failed&#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
#!/usr/bin/python&#60;br /&#62;
import sys&#60;br /&#62;
test = open('/home/radical/test.log','w')&#60;br /&#62;
for arg in sys.argv:&#60;br /&#62;
    test.write(arg+&#34;\n&#34;)&#60;br /&#62;
test.write(&#34;done&#34;)&#60;br /&#62;
test.close()&#60;br /&#62;
&#34;&#34;&#34;&#60;/p&#62;
&#60;p&#62;im trying to make a small toon renderer that will render out the frames with cairo &#60;a href=&#34;http://www.cairographics.org/samples/&#34; rel=&#34;nofollow&#34;&#62;http://www.cairographics.org/samples/&#60;/a&#62; i need to somehow get my hands on the coords of each object in each frame. any help is welcome, thanks in advance
&#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-2747</link>
			<pubDate>Thu, 03 Dec 2009 08:50:54 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2747@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;i managed to get it to build but it wont start&#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
radical@radical-desktop:/opt/k3d/bin$ ls&#60;br /&#62;
k3d  k3d-renderframe  k3d-renderjob  k3d-sl2xml  k3d-uuidgen&#60;br /&#62;
radical@radical-desktop:/opt/k3d/bin$ ./k3d&#60;br /&#62;
./k3d: error while loading shared libraries: libk3dsdk-half.so: cannot open shared object file: No such file or directory&#60;br /&#62;
radical@radical-desktop:/opt/k3d/bin$&#60;br /&#62;
&#34;&#34;&#34;&#60;br /&#62;
any ideas??&#60;/p&#62;
&#60;p&#62;EDIT: i just ran it from the build directory and it worked perfectly :). any advice for working with the RenderEngineScript plugin?
&#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-2745</link>
			<pubDate>Thu, 03 Dec 2009 08:16:28 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2745@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;thanks, i tried that and it compiled up to 59% then it failed&#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
Scanning dependencies of target k3d-ngui-snap-tool&#60;br /&#62;
[ 59%] Building CXX object modules/ngui_snap_tool/CMakeFiles/k3d-ngui-snap-tool.dir/snap_tool_detail.cpp.o&#60;br /&#62;
[ 59%] Building CXX object modules/ngui_snap_tool/CMakeFiles/k3d-ngui-snap-tool.dir/tool.cpp.o&#60;br /&#62;
/home/radical/resources/projects/k3d/modules/ngui_snap_tool/tool.cpp: In function ‘std::_Ios_Fmtflags&#38;amp; std::operator&#38;amp;=(std::_Ios_Fmtflags&#38;amp;, std::_Ios_Fmtflags)’:&#60;br /&#62;
/home/radical/resources/projects/k3d/modules/ngui_snap_tool/tool.cpp:1006: internal compiler error: in get_expr_operands, at tree-ssa-operands.c:2072&#60;br /&#62;
Please submit a full bug report,&#60;br /&#62;
with preprocessed source if appropriate.&#60;br /&#62;
See &#38;lt;file:///usr/share/doc/gcc-4.4/README.Bugs&#38;gt; for instructions.&#60;br /&#62;
make[2]: *** [modules/ngui_snap_tool/CMakeFiles/k3d-ngui-snap-tool.dir/tool.cpp.o] Error 1&#60;br /&#62;
make[1]: *** [modules/ngui_snap_tool/CMakeFiles/k3d-ngui-snap-tool.dir/all] Error 2&#60;br /&#62;
make: *** [all] Error 2&#60;br /&#62;
&#34;&#34;&#34;&#60;/p&#62;
&#60;p&#62;if someone has already compiled this app why cant they just give me the binary?&#60;/p&#62;
&#60;p&#62;radical@radical-desktop:~/resources/projects/build$ uname -a&#60;br /&#62;
Linux radical-desktop 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686 GNU/Linux
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dsmatthews on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2743</link>
			<pubDate>Wed, 02 Dec 2009 13:14:18 +0000</pubDate>
			<dc:creator>dsmatthews</dc:creator>
			<guid isPermaLink="false">2743@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;Assuming you have installed mecurial and that you use a directory called projects for your builds:&#60;/p&#62;
&#60;p&#62;cd projects&#60;br /&#62;
hg clone &#60;a href=&#34;http://k3d.hg.sf.net/hgweb/k3d/k3d&#34; rel=&#34;nofollow&#34;&#62;http://k3d.hg.sf.net/hgweb/k3d/k3d&#60;/a&#62;&#60;br /&#62;
mkdir k3d-build&#60;br /&#62;
cd k3d-build&#60;br /&#62;
ccmake ../k3d&#60;br /&#62;
# press c until you get the option to press g, it will then exit when finished&#60;br /&#62;
# note any missed dependencies and re run ccmake after you have added them.&#60;/p&#62;
&#60;p&#62;# on a 4 core CPU I then build with all cores like this.&#60;br /&#62;
# NB -j5 is one more than the number of cores you wish to use.&#60;/p&#62;
&#60;p&#62;make -j5&#60;/p&#62;
&#60;p&#62;# then if in ccmake you enabled testing you can then run the tests with,&#60;/p&#62;
&#60;p&#62;ctest -D Experimental&#60;/p&#62;
&#60;p&#62;# to run the application without installing it just,&#60;/p&#62;
&#60;p&#62;make run
&#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-2741</link>
			<pubDate>Wed, 02 Dec 2009 07:57:12 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2741@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;can you explain step by step how i can get it and build it, ive never used mecurial before
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Timothy Shead on "Yafray Xml And Python Scripting"</title>
			<link>http://www.k-3d.org/forums/topic/yafray-xml-and-python-scripting#post-2739</link>
			<pubDate>Wed, 02 Dec 2009 07:24:31 +0000</pubDate>
			<dc:creator>Timothy Shead</dc:creator>
			<guid isPermaLink="false">2739@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;No, you need the latest sources from Mercurial:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.k-3d.org/wiki/Code&#34; rel=&#34;nofollow&#34;&#62;http://www.k-3d.org/wiki/Code&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Tim
&#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-2737</link>
			<pubDate>Wed, 02 Dec 2009 02:09:35 +0000</pubDate>
			<dc:creator>whale</dc:creator>
			<guid isPermaLink="false">2737@http://www.k-3d.org/forums/</guid>
			<description>&#60;p&#62;i thoroughly scraped the wiki for all info i could get before posting, i read about the RenderEngingeScript and it seemed like it did what i wanted (gave the output of the scene for rendering) but 0.7.10 and 0.7.11 configured perfectly but failed to build under latestbuntu karmic koala outputting something about end of file not being declared. &#60;/p&#62;
&#60;p&#62;i could always hack around the problem by retrieving the world.xml files from /tmp but i would prefer to be able to script a more intergrated solution.&#60;/p&#62;
&#60;p&#62;the error is posted below:&#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;&#60;br /&#62;
[  0%] Built target k3dsdk-parallel&#60;br /&#62;
[  0%] Built target k3dsdk-sgi-tesselator&#60;br /&#62;
[  0%] Built target k3dsdk-glew&#60;br /&#62;
[  0%] Built target toFloat&#60;br /&#62;
[  0%] Built target eLut&#60;br /&#62;
[  1%] Built target k3dsdk-half&#60;br /&#62;
[  1%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/gzstream.o&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:71: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp: In member function ‘virtual int k3d::filesystem::gzstreambuf::underflow()’:&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:114: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:123: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp: In member function ‘int k3d::filesystem::gzstreambuf::flush_buffer()’:&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:139: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp: In member function ‘virtual int k3d::filesystem::gzstreambuf::overflow(int)’:&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:146: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:147: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:151: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp: In member function ‘virtual int k3d::filesystem::gzstreambuf::sync()’:&#60;br /&#62;
/home/radical/resources/stuff/k3d-source-0.7.10.0/k3dsdk/gzstream.cpp:161: error: ‘EOF’ was not declared in this scope&#60;br /&#62;
make[2]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/gzstream.o] Error 1&#60;br /&#62;
make[1]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/all] Error 2&#60;br /&#62;
make: *** [all] Error 2&#60;/p&#62;
&#60;p&#62;&#34;&#34;&#34;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

