# RiR Sub Element Roof Crease Lines

**URL:** <https://discourse.mcneel.com/t/rir-sub-element-roof-crease-lines/214799>\
**Category:** Revit\
**Tags:** windows\
**Created:** [January 20, 2026, 8:59pm UTC](https://discourse.mcneel.com/t/rir-sub-element-roof-crease-lines/214799 "2026-01-20T20:59:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parker\_Gillespie1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/parker_gillespie1/32/774741_2.png) [@Parker\_Gillespie1](https://discourse.mcneel.com/u/Parker_Gillespie1)\
**Post date:** [January 20, 2026, 8:59pm UTC](https://discourse.mcneel.com/t/rir-sub-element-roof-crease-lines/214799/1 "2026-01-20T20:59:11Z")

</div>

Hello,

I am building a roof using Rhino. I made sure all faces were planar before reconstructing the the roof in Revit. I am getting what seem to be ‘ghost’ creases that are not actually defining any geometry. I have tried resetting the geometry, updating the points in revit, and creating a new roof. Having the lines are not make or break but I wanted to understand if there were a ‘bullet proof’ way of resolving them.

I have attached the script I am using with internalized data.

[Brep to Sub Element Roof.gh](https://discourse.mcneel.com/uploads/short-url/9Tctn87llRGOWoQ6Ed4KgdOAuw1.gh) (64.4 KB)

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/f/a/efaae7b4eff543795bb03c06aa5b2586bb37ad4a.jpeg)

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [January 20, 2026, 10:38pm UTC](https://discourse.mcneel.com/t/rir-sub-element-roof-crease-lines/214799/2 "2026-01-20T22:38:00Z")

</div>

Hi Parker,

What version of Rhino & Revit are you targeting?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/6/4/f6404d9ca800ff9e48032502aacd768f409ede3b.png)

---

<div class="post-metadata">

**Author:** ![Parker\_Gillespie1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/parker_gillespie1/32/774741_2.png) [@Parker\_Gillespie1](https://discourse.mcneel.com/u/Parker_Gillespie1)\
**Post date:** [January 21, 2026, 2:24pm UTC](https://discourse.mcneel.com/t/rir-sub-element-roof-crease-lines/214799/3 "2026-01-21T14:24:28Z")

</div>

Hi @Japhy ,

Thanks for your response.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/9/8/3/9830439f5365d99ad3ab46d72d3b9b1575289f30.png)

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [January 21, 2026, 4:41pm UTC](https://discourse.mcneel.com/t/rir-sub-element-roof-crease-lines/214799/4 "2026-01-21T16:41:16Z")

</div>

Thanks,

Can you internalize the geometry to avoid the plugins? Thanks!

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/9/f/a9f93b9f965209d3f3b6a482ffc64d4ed44d3fc1.png)

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/8/c/1/8c1c09a802e4b5f249f64bfcfa19ba9fcd24c4fe.png)

---

<div class="post-metadata">

**Author:** ![Parker\_Gillespie1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/parker_gillespie1/32/774741_2.png) [@Parker\_Gillespie1](https://discourse.mcneel.com/u/Parker_Gillespie1)\
**Post date:** [January 21, 2026, 9:43pm UTC](https://discourse.mcneel.com/t/rir-sub-element-roof-crease-lines/214799/5 "2026-01-21T21:43:52Z")

</div>

This should take care of the plugins.

[Brep to Sub Element Roof.gh](https://discourse.mcneel.com/uploads/short-url/tVDUE3TmVTwf3lqtlqxnyosGAUu.gh) (56.8 KB)

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [January 21, 2026, 10:16pm UTC](https://discourse.mcneel.com/t/rir-sub-element-roof-crease-lines/214799/6 "2026-01-21T22:16:00Z")

</div>

There are slight errors in your points elevations.

Type units into your Rhino command line and set the distance display all the way up.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/2/4/e/24ea242afc4ed036ca63d326b3af559af154cb61.png)

Take measurements where things should be flat and you will see that they are a little off, which creates the extra creases.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/5/6/4/564f1dbe0a99746fc5031632c85eb41b1aca814e.png)

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/9/9/39961b6fbc77d6592953c1142db611b0791764ed.png)

---

<div class="post-metadata">

**Author:** ![Parker\_Gillespie1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/parker_gillespie1/32/774741_2.png) [@Parker\_Gillespie1](https://discourse.mcneel.com/u/Parker_Gillespie1)\
**Post date:** [January 21, 2026, 10:42pm UTC](https://discourse.mcneel.com/t/rir-sub-element-roof-crease-lines/214799/7 "2026-01-21T22:42:47Z")

</div>

Thanks Japhy,

Thanks for catching this!

I was using the planar surface tool as a way of checking that the points were all at the correct height (in plane). I guess there is a tolerance for what rhino considers to be a planar curve?

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [January 21, 2026, 10:53pm UTC](https://discourse.mcneel.com/t/rir-sub-element-roof-crease-lines/214799/8 "2026-01-21T22:53:07Z")

</div>

They are slight variations, so most likely below the Absolute Tolerance or Display Precision, or using a text panel to view which will mess with floating point numbers like these.

SetPT is a quick way to get them back square.
