export_obj function for Blender3D
Dear all, 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: http://yt-project.org/doc/visualizing/sketchfab.html and here http://blog.yt-project.org 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. 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). 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. Thanks in advance, Kyriaki Dionysopoulou ======================================================= Mathematical Sciences University of Southampton Southampton, SO17 1BJ, UK K.Dionysopoulou@soton.ac.uk<mailto:K.Dionysopoulou@soton.ac.uk> _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Hi Kyriaki, The export_obj needs to be updated, I've got a fixed copy I've been meaning to push to the repository, so maybe I should just get on that! Other folks - let me know if someone should first file a bug report, or if I should just fix & push. Cheers, -Jill On Wed, Dec 17, 2014 at 6:01 PM, Dionysopoulou K. < K.Dionysopoulou@soton.ac.uk> wrote:
Dear all,
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:
http://yt-project.org/doc/visualizing/sketchfab.html
and here
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. 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).
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.
Thanks in advance,
Kyriaki Dionysopoulou ======================================================= Mathematical Sciences University of Southampton Southampton, SO17 1BJ, UK K.Dionysopoulou@soton.ac.uk<mailto:K.Dionysopoulou@soton.ac.uk>
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
On Wed Dec 17 2014 at 3:29:49 PM Naiman, Jill <jill.naiman@cfa.harvard.edu> wrote:
Hi Kyriaki,
The export_obj needs to be updated, I've got a fixed copy I've been meaning to push to the repository, so maybe I should just get on that!
Other folks - let me know if someone should first file a bug report, or if I should just fix & push.
If you will get the fix out in the next couple of days, there's probably no need to file an issue. If it will take a while, it's nice to have a bug that we can reference if people ask questions about it in the future.
Cheers, -Jill
On Wed, Dec 17, 2014 at 6:01 PM, Dionysopoulou K. < K.Dionysopoulou@soton.ac.uk> wrote:
Dear all,
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:
http://yt-project.org/doc/visualizing/sketchfab.html
and here
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. 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).
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.
Thanks in advance,
Kyriaki Dionysopoulou ======================================================= Mathematical Sciences University of Southampton Southampton, SO17 1BJ, UK K.Dionysopoulou@soton.ac.uk<mailto:K.Dionysopoulou@soton.ac.uk>
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
On Wed Dec 17 2014 at 3:04:25 PM Dionysopoulou K. < K.Dionysopoulou@soton.ac.uk> wrote:
Dear all,
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:
http://yt-project.org/doc/visualizing/sketchfab.html
and here
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.
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. See this e-mail thread: http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/2013-December/0125...
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).
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.
Thanks in advance,
Kyriaki Dionysopoulou ======================================================= Mathematical Sciences University of Southampton Southampton, SO17 1BJ, UK K.Dionysopoulou@soton.ac.uk<mailto:K.Dionysopoulou@soton.ac.uk>
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (3)
-
Dionysopoulou K.
-
Naiman, Jill
-
Nathan Goldbaum