{"id":3378,"date":"2013-03-13T14:28:17","date_gmt":"2013-03-13T18:28:17","guid":{"rendered":"http:\/\/n-e-r-v-o-u-s.com\/blog\/?p=3378"},"modified":"2013-03-16T14:25:53","modified_gmt":"2013-03-16T18:25:53","slug":"objexport-library-export-color-meshes-from-processing","status":"publish","type":"post","link":"https:\/\/n-e-r-v-o-u-s.com\/blog\/?p=3378","title":{"rendered":"OBJExport library &#8211; export color meshes from Processing"},"content":{"rendered":"<p><a href=\"http:\/\/n-e-r-v-o-u-s.com\/tools\/obj\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/n-e-r-v-o-u-s.com\/blog\/wp-content\/uploads\/2013\/03\/OBJExportThing.jpg\" alt=\"\" title=\"OBJExportThing\" width=\"600\" height=\"600\" class=\"alignnone size-full wp-image-3421\" srcset=\"https:\/\/n-e-r-v-o-u-s.com\/blog\/wp-content\/uploads\/2013\/03\/OBJExportThing.jpg 600w, https:\/\/n-e-r-v-o-u-s.com\/blog\/wp-content\/uploads\/2013\/03\/OBJExportThing-150x150.jpg 150w, https:\/\/n-e-r-v-o-u-s.com\/blog\/wp-content\/uploads\/2013\/03\/OBJExportThing-360x360.jpg 360w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>We&#8217;ve just released a new Processing 2.0 library for exporting OBJ and X3D mesh files. And it supports color meshes!  Now you can export color models for 3D-printing with same commands you use to draw.  Get started here: <a href=\"\/tools\/obj\">OBJExport library page<\/a>.<\/p>\n<p>The library works like any PGraphics, such as the PDF library. Simply call <\/p>\n<pre>createGraphics(width, height, \"nervoussystem.obj.OBJExport\", filename)<\/pre>\n<p> to get the PGraphics for obj export and use regular Processing drawing commands.<\/p>\n<p>I&#8217;ve also started to use <a>GitHub<\/a> to manage the code for this and other projects. You can find the github page for the library <a href=\"https:\/\/github.com\/nervoussystem\/OBJExport\">here<\/a>. This page can be used to peruse the source, fork the project or report bugs.<\/p>\n<p>This library is a re-release of an old library I made years ago. I had sort of forgotten about it until I got an email last week from Michael Zoellner of the Interactive Design program at Hof University. Apparently, people are still using it! He wanted to update the library to be compatible with the new Processing release.<\/p>\n<p>At the same time, we&#8217;ve started to do some work <a href=\"http:\/\/www.flickr.com\/photos\/jrosenk\/tags\/colony\/\">color 3d printing<\/a>. However, to get printable models we had to go through some tedious processing MeshLab.  So, I took this opportunity to overhaul the library, adding new features like color exporting and fixing some old bugs.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/n-e-r-v-o-u-s.com\/blog\/wp-content\/uploads\/2013\/03\/8423782217_2c8df42622_z-600x391.jpg\" alt=\"\" title=\"8423782217_2c8df42622_z\" width=\"600\" height=\"391\" class=\"alignnone size-single wp-image-3415\" \/><\/p>\n<p>We&#8217;re excited to see what the community does with the library.  We&#8217;re using it to make color 3d-prints, what are you going to do?  Try it out and send any feedback to jesse@n-e-r-v-o-u-s.com<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve just released a new Processing 2.0 library for exporting OBJ and X3D mesh files. And it supports color meshes! Now you can&hellip;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[98],"tags":[155,3],"class_list":["post-3378","post","type-post","status-publish","format-standard","hentry","category-software","tag-library","tag-processing"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9Bee8-Su","_links":{"self":[{"href":"https:\/\/n-e-r-v-o-u-s.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/n-e-r-v-o-u-s.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/n-e-r-v-o-u-s.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/n-e-r-v-o-u-s.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/n-e-r-v-o-u-s.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3378"}],"version-history":[{"count":37,"href":"https:\/\/n-e-r-v-o-u-s.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3378\/revisions"}],"predecessor-version":[{"id":3470,"href":"https:\/\/n-e-r-v-o-u-s.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3378\/revisions\/3470"}],"wp:attachment":[{"href":"https:\/\/n-e-r-v-o-u-s.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/n-e-r-v-o-u-s.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/n-e-r-v-o-u-s.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}