{"id":709,"date":"2011-01-12T12:00:00","date_gmt":"2011-01-12T12:00:00","guid":{"rendered":"https:\/\/www.shapeways.com\/blog\/archives\/709-script-based-modeling-with-openscad.html"},"modified":"2022-09-28T14:11:39","modified_gmt":"2022-09-28T18:11:39","slug":"script-based-modeling-with-openscad","status":"publish","type":"post","link":"https:\/\/www.shapeways.com\/blog\/script-based-modeling-with-openscad","title":{"rendered":"Script-based modeling with OpenSCAD"},"content":{"rendered":"<p><!-- s9ymdb:3076 --><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"281\" style=\"border: 0px; padding-left: 5px; padding-right: 5px;\" src=\"https:\/\/www.shapeways.com\/blog\/wp-content\/uploads\/2011\/01\/openscad2.jpg\" alt=\"\"><\/p>\n<p>OpenSCAD is a 3D modeling tool with a twist: it doesn&#8217;t use an interactive 3D interface for its modeling, but a scripting language.<\/p>\n<p>You&#8217;ll use text commands to add basic shapes, move and scale them and apply operations to them. This may sound cumbersome, but I&#8217;ve found it&#8217;s a lot of fun to work with. Changing your model is as easy as going back to your script, editing it and hitting &#8216;render&#8217;. Done!<\/p>\n<p>OpenSCAD uses &#8216;constructive solid geometric modeling&#8217; &#8211; you&#8217;ll use operations such as &#8216;union&#8217;, &#8216;difference&#8217; and &#8216;intersection&#8217; to combine objects into new ones. And the good part is: your models are always printable! (Well, if the size and wall thickness are ok, that is).<\/p>\n<p>You can load external (STL) objects in your file and work with them, so you can always do the modeling of more complex shapes in other software.<\/p>\n<p>Did I mention yet that OpenSCAD it open source, and free? I&#8217;ve added a bunch of links below to get you started. Enjoy!<\/p>\n<p><strong>Links<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/openscad.org\/\" target=\"_blank\" rel=\"noopener\">OpenSCAD<\/a><\/li>\n<li><a href=\"http:\/\/blog.thingiverse.com\/2010\/12\/10\/getting-started-with-openscad\/\" target=\"_blank\" rel=\"noopener\">Thingiverse &#8211;  Getting Started with OpenSCAD<\/a><\/li>\n<li><a href=\"http:\/\/blog.thingiverse.com\/2011\/01\/07\/openscad-modules-and-loops\/\" target=\"_blank\" rel=\"noopener\">Thingiverse &#8211; OpenSCAD: Modules and Loops<\/a><\/li>\n<li><a href=\"http:\/\/edutechwiki.unige.ch\/en\/OpenScad_beginners_tutorial\" target=\"_blank\" rel=\"noopener\">Edutech wiki &#8211; OpenScad beginners tutorial<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>OpenSCAD is a 3D modeling tool with a twist: it doesn&#8217;t use an interactive 3D interface for its modeling, but&#8230;<\/p>\n","protected":false},"author":3,"featured_media":4925,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[510],"tags":[486,479],"class_list":["post-709","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3d-printing-industry","tag-10-software","tag-3-tutorials"],"thumbnail":false,"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.9 (Yoast SEO v23.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Script-based modeling with OpenSCAD - Shapeways Blog<\/title>\n<meta name=\"description\" content=\"OpenSCAD is a 3D modeling tool with a twist: it doesn&#039;t use an interactive 3D interface for its modeling, but a scripting language. You&#039;ll use text\" \/>\n<meta name=\"robots\" content=\"noindex, nofollow\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"bart\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#article\",\"isPartOf\":{\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad\"},\"author\":{\"name\":\"bart\",\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/#\/schema\/person\/3a69a1bbf114cd5799472954de721fa0\"},\"headline\":\"Script-based modeling with OpenSCAD\",\"datePublished\":\"2011-01-12T12:00:00+00:00\",\"dateModified\":\"2022-09-28T18:11:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad\"},\"wordCount\":196,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#primaryimage\"},\"thumbnailUrl\":\"\",\"keywords\":[\"Software\",\"Tutorials\"],\"articleSection\":[\"3D Printing Industry\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad\",\"url\":\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad\",\"name\":\"Script-based modeling with OpenSCAD - Shapeways Blog\",\"isPartOf\":{\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#primaryimage\"},\"thumbnailUrl\":\"\",\"datePublished\":\"2011-01-12T12:00:00+00:00\",\"dateModified\":\"2022-09-28T18:11:39+00:00\",\"description\":\"OpenSCAD is a 3D modeling tool with a twist: it doesn't use an interactive 3D interface for its modeling, but a scripting language. You'll use text\",\"breadcrumb\":{\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#primaryimage\",\"url\":\"\",\"contentUrl\":\"\",\"width\":620,\"height\":281},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prodshapeblog.wpenginepowered.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Script-based modeling with OpenSCAD\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/#website\",\"url\":\"https:\/\/prodshapeblog.wpenginepowered.com\/\",\"name\":\"Shapeways Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prodshapeblog.wpenginepowered.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/#organization\",\"name\":\"Shapeways Blog\",\"url\":\"https:\/\/prodshapeblog.wpenginepowered.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.shapeways.com\/blog\/wp-content\/uploads\/2019\/05\/shapeways-blog.png\",\"contentUrl\":\"https:\/\/www.shapeways.com\/blog\/wp-content\/uploads\/2019\/05\/shapeways-blog.png\",\"width\":943,\"height\":121,\"caption\":\"Shapeways Blog\"},\"image\":{\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"http:\/\/facebook.com\/shapeways\",\"https:\/\/x.com\/shapeways\",\"http:\/\/instagram.com\/shapeways\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/#\/schema\/person\/3a69a1bbf114cd5799472954de721fa0\",\"name\":\"bart\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prodshapeblog.wpenginepowered.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2fb205ccc49d51e72a874a309d4790a8e696207dee88001e01feae94217bbbe8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2fb205ccc49d51e72a874a309d4790a8e696207dee88001e01feae94217bbbe8?s=96&d=mm&r=g\",\"caption\":\"bart\"},\"sameAs\":[\"http:\/\/\"],\"url\":\"https:\/\/www.shapeways.com\/blog\/author\/bart\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Script-based modeling with OpenSCAD - Shapeways Blog","description":"OpenSCAD is a 3D modeling tool with a twist: it doesn't use an interactive 3D interface for its modeling, but a scripting language. You'll use text","robots":{"index":"noindex","follow":"nofollow"},"twitter_misc":{"Written by":"bart","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#article","isPartOf":{"@id":"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad"},"author":{"name":"bart","@id":"https:\/\/prodshapeblog.wpenginepowered.com\/#\/schema\/person\/3a69a1bbf114cd5799472954de721fa0"},"headline":"Script-based modeling with OpenSCAD","datePublished":"2011-01-12T12:00:00+00:00","dateModified":"2022-09-28T18:11:39+00:00","mainEntityOfPage":{"@id":"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad"},"wordCount":196,"commentCount":6,"publisher":{"@id":"https:\/\/prodshapeblog.wpenginepowered.com\/#organization"},"image":{"@id":"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#primaryimage"},"thumbnailUrl":"","keywords":["Software","Tutorials"],"articleSection":["3D Printing Industry"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad","url":"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad","name":"Script-based modeling with OpenSCAD - Shapeways Blog","isPartOf":{"@id":"https:\/\/prodshapeblog.wpenginepowered.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#primaryimage"},"image":{"@id":"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#primaryimage"},"thumbnailUrl":"","datePublished":"2011-01-12T12:00:00+00:00","dateModified":"2022-09-28T18:11:39+00:00","description":"OpenSCAD is a 3D modeling tool with a twist: it doesn't use an interactive 3D interface for its modeling, but a scripting language. You'll use text","breadcrumb":{"@id":"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#primaryimage","url":"","contentUrl":"","width":620,"height":281},{"@type":"BreadcrumbList","@id":"https:\/\/prodshapeblog.wpenginepowered.com\/script-based-modeling-with-openscad#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prodshapeblog.wpenginepowered.com\/"},{"@type":"ListItem","position":2,"name":"Script-based modeling with OpenSCAD"}]},{"@type":"WebSite","@id":"https:\/\/prodshapeblog.wpenginepowered.com\/#website","url":"https:\/\/prodshapeblog.wpenginepowered.com\/","name":"Shapeways Blog","description":"","publisher":{"@id":"https:\/\/prodshapeblog.wpenginepowered.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prodshapeblog.wpenginepowered.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/prodshapeblog.wpenginepowered.com\/#organization","name":"Shapeways Blog","url":"https:\/\/prodshapeblog.wpenginepowered.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prodshapeblog.wpenginepowered.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.shapeways.com\/blog\/wp-content\/uploads\/2019\/05\/shapeways-blog.png","contentUrl":"https:\/\/www.shapeways.com\/blog\/wp-content\/uploads\/2019\/05\/shapeways-blog.png","width":943,"height":121,"caption":"Shapeways Blog"},"image":{"@id":"https:\/\/prodshapeblog.wpenginepowered.com\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/shapeways","https:\/\/x.com\/shapeways","http:\/\/instagram.com\/shapeways"]},{"@type":"Person","@id":"https:\/\/prodshapeblog.wpenginepowered.com\/#\/schema\/person\/3a69a1bbf114cd5799472954de721fa0","name":"bart","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prodshapeblog.wpenginepowered.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2fb205ccc49d51e72a874a309d4790a8e696207dee88001e01feae94217bbbe8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2fb205ccc49d51e72a874a309d4790a8e696207dee88001e01feae94217bbbe8?s=96&d=mm&r=g","caption":"bart"},"sameAs":["http:\/\/"],"url":"https:\/\/www.shapeways.com\/blog\/author\/bart"}]}},"_links":{"self":[{"href":"https:\/\/www.shapeways.com\/blog\/wp-json\/wp\/v2\/posts\/709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shapeways.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shapeways.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shapeways.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shapeways.com\/blog\/wp-json\/wp\/v2\/comments?post=709"}],"version-history":[{"count":0,"href":"https:\/\/www.shapeways.com\/blog\/wp-json\/wp\/v2\/posts\/709\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shapeways.com\/blog\/wp-json\/wp\/v2\/media?parent=709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shapeways.com\/blog\/wp-json\/wp\/v2\/categories?post=709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shapeways.com\/blog\/wp-json\/wp\/v2\/tags?post=709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}