{"id":7334,"date":"2017-03-30T10:58:38","date_gmt":"2017-03-30T08:58:38","guid":{"rendered":"https:\/\/www.modelical.com\/en\/?p=7334"},"modified":"2022-05-03T22:35:36","modified_gmt":"2022-05-03T20:35:36","slug":"corner-protection-placement-rooms","status":"publish","type":"post","link":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/","title":{"rendered":"Corner protection placement from rooms"},"content":{"rendered":"<p>Whats up folks!<br \/>\nHave you ever tried to automate corner protection modelling in Revit in a +700k sqm project? Well, this is exactly what this workflow did.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-7342\" src=\"https:\/\/www.modelical.com\/wp-content\/uploads\/corner-protector-480x320.jpg\" alt=\"\" width=\"480\" height=\"320\" srcset=\"https:\/\/www.modelical.com\/wp-content\/uploads\/corner-protector-480x320.jpg 480w, https:\/\/www.modelical.com\/wp-content\/uploads\/corner-protector.jpg 600w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>Corner protectors, like in the image above courtesy of barrier group (<a>http:\/\/www.barsec.com.au\/<\/a>). are widely used in MEP areas in order to protect wall integrity from physical damage.<\/p>\n<p>First of all family creation should fit to auto-placement strategy. A corner protector is a beautiful parametric angle family and a good example to put in practice Marcello Sgambelluri\u2019s (<a>http:\/\/therevitcomplex.blogspot.co.uk\/<\/a>) revolve strategy for angle control.<\/p>\n<p>We will use an invisible <strong>little revolve geometry to control the angle between our two wing profiles<\/strong> with revolve&#8217;s &#8220;end\/start angle&#8221; parameters. Then, we have to host our rotation solids to the revolve faces and then join them. After this we make a relationship between revolve angle parameters like in the image below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-7358\" src=\"https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_5-480x188.png\" alt=\"\" width=\"480\" height=\"188\" srcset=\"https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_5-480x188.png 480w, https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_5-768x301.png 768w, https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_5-1280x502.png 1280w, https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_5.png 1819w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-7359\" src=\"https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_6-480x216.png\" alt=\"\" width=\"480\" height=\"216\" srcset=\"https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_6-480x216.png 480w, https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_6-768x346.png 768w, https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_6-1280x576.png 1280w, https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_6.png 1701w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>If we want to make our family aware of its room in order to list how many corner protectors we have per room, remember, we have to check the room calculation point (boolean) parameter in family parameters. And to move it clearly inside the room.<\/p>\n<p>I think that the most interesting thing in this definition is how to <strong>filter convex corners in rooms<\/strong>. I placed a circumference in every room lower face corner, then I intersect them with the lower room face and compare the length of this arc with the total length of the circumferences. With this ratio I can clearly filter them. This is the resulting convex corners<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-7366\" src=\"https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_7-480x429.png\" alt=\"\" width=\"480\" height=\"429\" srcset=\"https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_7-480x429.png 480w, https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_7-768x687.png 768w, https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_7.png 851w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>If room lower face extraction fails you can always <strong>reconstruct the surface by patch with the room boundaries<\/strong>.<\/p>\n<p>Corner direction and aperture angle is calculated with our intersection arc, Center-MiddlePoint direction for the main direction and angle between the Center-StartPoint and Center-Endpoint directions for aperture angle.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-7368\" src=\"https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_2-480x446.png\" alt=\"\" width=\"480\" height=\"446\" srcset=\"https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_2-480x446.png 480w, https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_2-768x713.png 768w, https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_2.png 789w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>Element rotation correction is another interesting issue I tackle in this workflow, this implementation (rotation correction) has been widely used by me in almost every single element location direction based definition I\u2019ve made like MEP hangers\/openings placement.<\/p>\n<p>After we locate our families and apply their specific rotation notice that some directions need a 180\u00ba correction (or a *(-1)) Mismatch relative directions are II and IV quadrants, so I filter every single direction by checking its cos\u03c6 negativity with Y and X axes via dot product.<\/p>\n<p><!-- Image --><\/p>\n<p>Hope you enjoy, you can download the dynamo definition and one corner protection family from here <!-- link to attached documents -->, leave your comments below, eyes open, no fear!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whats up folks! Have you ever tried to automate corner protection modelling in Revit in a +700k sqm project? Well, this is exactly what this workflow did. Corner protectors, like in the image above courtesy of barrier group (http:\/\/www.barsec.com.au\/). are widely used in MEP areas in order to protect wall integrity from physical damage. First [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":27075,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[411],"class_list":["post-7334","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guidelines","tag-technology-revit"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Corner protection placement from rooms - Modelical<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Corner protection placement from rooms - Modelical\" \/>\n<meta property=\"og:description\" content=\"Whats up folks! Have you ever tried to automate corner protection modelling in Revit in a +700k sqm project? Well, this is exactly what this workflow did. Corner protectors, like in the image above courtesy of barrier group (http:\/\/www.barsec.com.au\/). are widely used in MEP areas in order to protect wall integrity from physical damage. First [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/\" \/>\n<meta property=\"og:site_name\" content=\"Modelical\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Modelical\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-03-30T08:58:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-03T20:35:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1287\" \/>\n\t<meta property=\"og:image:height\" content=\"830\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Julio Garcia\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@modelical\" \/>\n<meta name=\"twitter:site\" content=\"@modelical\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julio Garcia\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/corner-protection-placement-rooms\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/corner-protection-placement-rooms\\\/\"},\"author\":{\"name\":\"Julio Garcia\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/#\\\/schema\\\/person\\\/112c7820bb9b38bbe3af329684cd591a\"},\"headline\":\"Corner protection placement from rooms\",\"datePublished\":\"2017-03-30T08:58:38+00:00\",\"dateModified\":\"2022-05-03T20:35:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/corner-protection-placement-rooms\\\/\"},\"wordCount\":424,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/corner-protection-placement-rooms\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.modelical.com\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/Screenshot_3-400x250-1.png\",\"keywords\":[\"Tec Revit\"],\"articleSection\":[\"Guidelines\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.modelical.com\\\/en\\\/corner-protection-placement-rooms\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/corner-protection-placement-rooms\\\/\",\"url\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/corner-protection-placement-rooms\\\/\",\"name\":\"Corner protection placement from rooms - Modelical\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/corner-protection-placement-rooms\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/corner-protection-placement-rooms\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.modelical.com\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/Screenshot_3-400x250-1.png\",\"datePublished\":\"2017-03-30T08:58:38+00:00\",\"dateModified\":\"2022-05-03T20:35:36+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/#\\\/schema\\\/person\\\/112c7820bb9b38bbe3af329684cd591a\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.modelical.com\\\/en\\\/corner-protection-placement-rooms\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/corner-protection-placement-rooms\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.modelical.com\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/Screenshot_3-400x250-1.png\",\"contentUrl\":\"https:\\\/\\\/www.modelical.com\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/Screenshot_3-400x250-1.png\",\"width\":400,\"height\":250},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/\",\"name\":\"Modelical\",\"description\":\"We build information\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/#\\\/schema\\\/person\\\/112c7820bb9b38bbe3af329684cd591a\",\"name\":\"Julio Garcia\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c4f1eb3345bafeeb09f44f597c7d015f0047635ab73d2405bc8949539bbd213c?s=96&d=initials&r=g&initials=ju\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c4f1eb3345bafeeb09f44f597c7d015f0047635ab73d2405bc8949539bbd213c?s=96&d=initials&r=g&initials=ju\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c4f1eb3345bafeeb09f44f597c7d015f0047635ab73d2405bc8949539bbd213c?s=96&d=initials&r=g&initials=ju\",\"caption\":\"Julio Garcia\"},\"url\":\"https:\\\/\\\/www.modelical.com\\\/en\\\/author\\\/julio\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Corner protection placement from rooms - Modelical","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/","og_locale":"en_US","og_type":"article","og_title":"Corner protection placement from rooms - Modelical","og_description":"Whats up folks! Have you ever tried to automate corner protection modelling in Revit in a +700k sqm project? Well, this is exactly what this workflow did. Corner protectors, like in the image above courtesy of barrier group (http:\/\/www.barsec.com.au\/). are widely used in MEP areas in order to protect wall integrity from physical damage. First [&hellip;]","og_url":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/","og_site_name":"Modelical","article_publisher":"https:\/\/www.facebook.com\/Modelical\/","article_published_time":"2017-03-30T08:58:38+00:00","article_modified_time":"2022-05-03T20:35:36+00:00","og_image":[{"width":1287,"height":830,"url":"https:\/\/www.modelical.com\/wp-content\/uploads\/Screenshot_3.png","type":"image\/png"}],"author":"Julio Garcia","twitter_card":"summary_large_image","twitter_creator":"@modelical","twitter_site":"@modelical","twitter_misc":{"Written by":"Julio Garcia","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/#article","isPartOf":{"@id":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/"},"author":{"name":"Julio Garcia","@id":"https:\/\/www.modelical.com\/en\/#\/schema\/person\/112c7820bb9b38bbe3af329684cd591a"},"headline":"Corner protection placement from rooms","datePublished":"2017-03-30T08:58:38+00:00","dateModified":"2022-05-03T20:35:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/"},"wordCount":424,"commentCount":1,"image":{"@id":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/#primaryimage"},"thumbnailUrl":"https:\/\/www.modelical.com\/wp-content\/uploads\/2017\/03\/Screenshot_3-400x250-1.png","keywords":["Tec Revit"],"articleSection":["Guidelines"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/","url":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/","name":"Corner protection placement from rooms - Modelical","isPartOf":{"@id":"https:\/\/www.modelical.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/#primaryimage"},"image":{"@id":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/#primaryimage"},"thumbnailUrl":"https:\/\/www.modelical.com\/wp-content\/uploads\/2017\/03\/Screenshot_3-400x250-1.png","datePublished":"2017-03-30T08:58:38+00:00","dateModified":"2022-05-03T20:35:36+00:00","author":{"@id":"https:\/\/www.modelical.com\/en\/#\/schema\/person\/112c7820bb9b38bbe3af329684cd591a"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.modelical.com\/en\/corner-protection-placement-rooms\/#primaryimage","url":"https:\/\/www.modelical.com\/wp-content\/uploads\/2017\/03\/Screenshot_3-400x250-1.png","contentUrl":"https:\/\/www.modelical.com\/wp-content\/uploads\/2017\/03\/Screenshot_3-400x250-1.png","width":400,"height":250},{"@type":"WebSite","@id":"https:\/\/www.modelical.com\/en\/#website","url":"https:\/\/www.modelical.com\/en\/","name":"Modelical","description":"We build information","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.modelical.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.modelical.com\/en\/#\/schema\/person\/112c7820bb9b38bbe3af329684cd591a","name":"Julio Garcia","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c4f1eb3345bafeeb09f44f597c7d015f0047635ab73d2405bc8949539bbd213c?s=96&d=initials&r=g&initials=ju","url":"https:\/\/secure.gravatar.com\/avatar\/c4f1eb3345bafeeb09f44f597c7d015f0047635ab73d2405bc8949539bbd213c?s=96&d=initials&r=g&initials=ju","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c4f1eb3345bafeeb09f44f597c7d015f0047635ab73d2405bc8949539bbd213c?s=96&d=initials&r=g&initials=ju","caption":"Julio Garcia"},"url":"https:\/\/www.modelical.com\/en\/author\/julio\/"}]}},"_links":{"self":[{"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/posts\/7334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/comments?post=7334"}],"version-history":[{"count":0,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/posts\/7334\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/media\/27075"}],"wp:attachment":[{"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/media?parent=7334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/categories?post=7334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.modelical.com\/en\/wp-json\/wp\/v2\/tags?post=7334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}