<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/10089" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2014-10-22T19:21:01+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/10089</id>

		<entry>
		<author><name><![CDATA[Flix]]></name></author>
		<updated>2014-09-18T07:17:30+00:00</updated>

		<published>2014-09-18T07:17:30+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34023#p34023</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34023#p34023"/>
		<title type="html"><![CDATA[Re: Convex Decomposition with HACD in Blender]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34023#p34023"><![CDATA[
I'm not an Python or a Blender expert at all, so I don't know what's going on (maybe it's something I've messed up myself).<br><br>However following your instructions (python setup.py install --install-lib=~/.config/blender/2.71/scripts/addons/), <br>everything seems to work, until I try to enable the addon in the Blender's addons page.<br>It can't be enabled, and I get the following error:<br><div class="codebox"><p>Code: </p><pre><code>Traceback (most recent call last):  File "./blender-2.71-linux-glibc211-x86_64/2.71/scripts/modules/addon_utils.py", line 299, in enable    mod = __import__(module_name)  File "~/.config/blender/2.71/scripts/addons/mesh_convex_decomposition.py", line 2, in &lt;module&gt;    from hacd_decompose import decomposeImportError: ~/.config/blender/2.71/scripts/addons/hacd_decompose.so: undefined symbol: Py_InitModule4_64</code></pre></div>I'm using Ubuntu 14.04 - 64 bit<br>Any idea ?<br><br>P.S. I didn't know that C++ code can be called from a Blender Python script.<br><br>[Edt:] <strong class="text-strong"><span style="color:#800000">SOLVED</span></strong>. I had to install <strong class="text-strong">libpython3-dev</strong>. <br>By default the C++ files were compiled by including /usr/include/python2.7.<br>By switching them to /usr/include/python3.4 made it work.<br><br>The reported error was not very explanatory  <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> .<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2180">Flix</a> — Thu Sep 18, 2014 7:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[geromueller]]></name></author>
		<updated>2014-10-22T19:21:01+00:00</updated>

		<published>2014-08-28T21:43:12+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33917#p33917</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33917#p33917"/>
		<title type="html"><![CDATA[Convex Decomposition with HACD in Blender]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=33917#p33917"><![CDATA[
Hello!<br><br>I just took the time to create a first version of a HACD binding to Blender. Select the object you want to be decomposed and select "ConvexDecomposition" (hit Space to get the function prompt). It creates a new object for each created convex hull.<br><br>It is the work of one evening, so bugs are to be expected. You can post bugs and feature request here, on bitbucket or per Email.<br><br>Direct Download: <a href="https://bitbucket.org/geromueller/mesh_convex_decomposition/get/5f811bb6b79f.zip" class="postlink">https://bitbucket.org/geromueller/mesh_ ... b6b79f.zip</a><br>Repository: <a href="https://bitbucket.org/geromueller/mesh_convex_decomposition" class="postlink">https://bitbucket.org/geromueller/mesh_ ... omposition</a><br><br>UPDATE: i updated to the more recent version of HACD from googlecode!<br><br>Gero<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10991">geromueller</a> — Thu Aug 28, 2014 9:43 pm</p><hr />
]]></content>
	</entry>
	</feed>
