<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><br><br><div class="gmail_quote">On Wed Dec 17 2014 at 3:04:25 PM Dionysopoulou K. <<a href="mailto:K.Dionysopoulou@soton.ac.uk">K.Dionysopoulou@soton.ac.uk</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
I am trying to use the yt export_obj function in order to be able to use yt in conjunction with Blender3D. I am very new to yt, so I tried the simple example you have here:<br>
<br>
<a href="http://yt-project.org/doc/visualizing/sketchfab.html" target="_blank">http://yt-project.org/doc/<u></u>visualizing/sketchfab.html</a><br>
<br>
and here<br>
<br>
<a href="http://blog.yt-project.org" target="_blank">http://blog.yt-project.org</a><br>
<br>
My problem is that even when using the data suggested in the webpage the code snippet provided fails to produce the mtl and obj files. After taking a quick look at the code I noticed the initial problem was caused by inconsistent units for the emissivity (maybe a typo in the docs?). I also changed ‘mpc’ to ‘Mpc’ as yt was complaining that the domain was too small. </blockquote><div><br></div><div>I can't speak to other issues you're having, but this was something we changed going from version 2 to version 3 of yt.  In the old version, "mpc" meant Megaparsec.  In the new version, where we've added a formal unit system, "mpc" is interpreted as milliparsec.  We decided not to force mpc to mean Megaparsec to maintain backward compatibility in order to be consistent with other SI-prefixable units like meter.</div><div><br></div><div>See this e-mail thread:</div><div><br></div><div><a href="http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/2013-December/012520.html">http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/2013-December/012520.html</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Even after these minor changes the export_obj function does not seem to work for me. The error messages are attached in the python notebook below (the notebook is basically just a copy and paste from the provided ones in the websites above).<br>
<br>
The similar (but different) export_sketchfab function seems to work fine for the same data. I cannot really figure out what goes wrong with the export_obj function and any help would be very much appreciated.<br>
<br>
<br>
<br>
Thanks in advance,<br>
<br>
<br>
Kyriaki Dionysopoulou<br>
==============================<u></u>=========================<br>
Mathematical Sciences<br>
University of Southampton<br>
Southampton, SO17 1BJ, UK<br>
<a href="mailto:K.Dionysopoulou@soton.ac.uk" target="_blank">K.Dionysopoulou@soton.ac.uk</a><<u></u>mailto:<a href="mailto:K.Dionysopoulou@soton.ac.uk" target="_blank">K.Dionysopoulou@soton.<u></u>ac.uk</a>><br>
<br>
______________________________<u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
</blockquote></div>