{"id":596,"date":"2009-11-27T10:53:35","date_gmt":"2009-11-27T14:53:35","guid":{"rendered":"http:\/\/brettbeauregard.com\/blog\/?p=596"},"modified":"2025-03-22T06:35:55","modified_gmt":"2025-03-22T10:35:55","slug":"openscad-a-love-story","status":"publish","type":"post","link":"http:\/\/brettbeauregard.com\/blog\/2009\/11\/openscad-a-love-story\/","title":{"rendered":"OpenSCAD:  A Love Story"},"content":{"rendered":"<p>Ok, maybe that&#8217;s a bit strong, but I&#8217;d definitely say we&#8217;re dating.  I heard about OpenSCAD from the <a href=\"http:\/\/blog.makezine.com\/archive\/2009\/11\/openscad_constructive_solid_geometr.html\">Make Blog<\/a>, and with a belly fully of thanksgiving turkey I tried it out.  I agree with the Make post and the referenced <a href=\"http:\/\/blog.thingiverse.com\/2009\/11\/06\/in-which-openscad-wins-me-over\/\">Thingiverse post<\/a> :  In the right hands, designing the right parts, this is a game changer.  I played around with it for maybe 3 hours, and was able to generate this:<\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/38917611@N08\/4137752471\/sizes\/o\/\" title=\"burr plate by br3ttb, on Flickr\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm3.static.flickr.com\/2709\/4137752471_50f905e701.jpg\" width=\"500\" height=\"338\" alt=\"burr plate\" \/><\/a><\/p>\n<p>Insane.  I&#8217;ve been toying with the idea of making a grist mill using burr plates.  The main hurdle for me was visualizing all the different angles and how they would interact.  I tried drawing one in SketchUp, but after many hours, I threw in the towel.  Before OpenSCAD came along I was trying to build the mental momentum to draw the plate in <a href=\"http:\/\/processing.org\">Processing<\/a>!  Seriously.  I was going to use their 3D libraries and a TON of math so I could play with a parametrized model.<\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/38917611@N08\/4137752445\/\" title=\"burr plate code by br3ttb, on Flickr\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm3.static.flickr.com\/2451\/4137752445_c9b26c5575.jpg\" width=\"450\" height=\"284\" alt=\"burr plate code\" \/><\/a><\/p>\n<p>Speaking of coding, I should also mention that the code to generate the model is TINY.  I&#8217;ve spread it out and commented it here, but in rough-and-dirty form, the code is less than 10 lines.  10 LINES!  I&#8217;m free to edit any of the parameters, re-render, and a new model pops right up.  Great stuff.  <\/p>\n<p>So I&#8217;d say there&#8217;s a new tool in the tool-box.  It&#8217;s by no means the only one I&#8217;ll use, but certain modeling tasks just got a heck of a lot easier.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, maybe that&#8217;s a bit strong, but I&#8217;d definitely say we&#8217;re dating. I heard about OpenSCAD from the Make Blog, and with a belly fully of thanksgiving turkey I tried it out. I agree with the Make post and the &hellip; <a href=\"http:\/\/brettbeauregard.com\/blog\/2009\/11\/openscad-a-love-story\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[23,24],"class_list":["post-596","post","type-post","status-publish","format-standard","hentry","category-projects","tag-burr_plate","tag-openscad"],"_links":{"self":[{"href":"http:\/\/brettbeauregard.com\/blog\/wp-json\/wp\/v2\/posts\/596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/brettbeauregard.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/brettbeauregard.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/brettbeauregard.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/brettbeauregard.com\/blog\/wp-json\/wp\/v2\/comments?post=596"}],"version-history":[{"count":17,"href":"http:\/\/brettbeauregard.com\/blog\/wp-json\/wp\/v2\/posts\/596\/revisions"}],"predecessor-version":[{"id":7230,"href":"http:\/\/brettbeauregard.com\/blog\/wp-json\/wp\/v2\/posts\/596\/revisions\/7230"}],"wp:attachment":[{"href":"http:\/\/brettbeauregard.com\/blog\/wp-json\/wp\/v2\/media?parent=596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/brettbeauregard.com\/blog\/wp-json\/wp\/v2\/categories?post=596"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/brettbeauregard.com\/blog\/wp-json\/wp\/v2\/tags?post=596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}