{"id":1015,"date":"2013-04-16T16:58:36","date_gmt":"2013-04-16T16:58:36","guid":{"rendered":"http:\/\/www.geoplanit.co.uk\/?p=1015"},"modified":"2013-04-18T08:42:31","modified_gmt":"2013-04-18T08:42:31","slug":"using-cityengine-to-model-lego","status":"publish","type":"post","link":"https:\/\/www.geoplanit.co.uk\/?p=1015","title":{"rendered":"Using CityEngine to model Lego&#8230;"},"content":{"rendered":"<p><strong>UPDATE : <a href=\"http:\/\/www.arcgis.com\/apps\/CEWebViewer\/viewer.html?3dWebScene=b20f04354d044698adce86e9feacd27e\">You can view the model in CityEngine&#8217;s webscene webviewer here.<\/a><\/strong><\/p>\n<p>I&#8217;m often told that when I&#8217;m modelling in 3D I might as well be playing with Lego, so I&#8217;ve been working on a rule file that actually models Lego&#8230;. Ha! That will show them!<\/p>\n<figure id=\"attachment_1017\" aria-describedby=\"caption-attachment-1017\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.geoplanit.co.uk\/?attachment_id=1017\" rel=\"attachment wp-att-1017\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1017\" alt=\"ce_lego_1\" src=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2013\/04\/ce_lego_1.jpg?resize=300%2C198\" width=\"300\" height=\"198\" srcset=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2013\/04\/ce_lego_1.jpg?resize=300%2C198&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2013\/04\/ce_lego_1.jpg?resize=1024%2C678&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2013\/04\/ce_lego_1.jpg?w=1263&amp;ssl=1 1263w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1017\" class=\"wp-caption-text\">Early Lego\/CityEngine model<\/figcaption><\/figure>\n<p>The serious side to the rule file is that it is teaching me some proper techniques for later use.<\/p>\n<figure id=\"attachment_1016\" aria-describedby=\"caption-attachment-1016\" style=\"width: 686px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.geoplanit.co.uk\/?attachment_id=1016\" rel=\"attachment wp-att-1016\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\" wp-image-1016\" alt=\"ce_lego_2_webviewer\" src=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2013\/04\/ce_lego_2_webviewer.jpg?resize=686%2C413\" width=\"686\" height=\"413\" \/><\/a><figcaption id=\"caption-attachment-1016\" class=\"wp-caption-text\">Yes but what would it look like in Lego?<\/figcaption><\/figure>\n<p style=\"text-align: left;\">\u00a0Notice how the height of the Lego block varies and so to does each individual piece&#8230;. \u00a0My next modification is to make the lego height jump in brick heights not actual numbers.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UPDATE : You can view the model in CityEngine&#8217;s webscene webviewer here. I&#8217;m often told that when I&#8217;m modelling in 3D I might as well be playing with Lego, so I&#8217;ve been working on a rule file that actually models Lego&#8230;. Ha! That will show them! The serious side to the rule file is that [&hellip;]<\/p>\n","protected":false},"author":161,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"tdm_status":"","tdm_grid_status":"","footnotes":""},"categories":[116,145,232,9],"tags":[],"class_list":["post-1015","post","type-post","status-publish","format-standard","category-city-creation","category-cityengine","category-lego","category-workflow"],"_links":{"self":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/users\/161"}],"replies":[{"embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1015"}],"version-history":[{"count":4,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1015\/revisions"}],"predecessor-version":[{"id":1021,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1015\/revisions\/1021"}],"wp:attachment":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}