<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic NURBS Export in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/nurbs-export/m-p/10313473#M25994</link>
    <description>&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a (suspected) issue when trying to export Revit geometry.&lt;/P&gt;&lt;P&gt;Basically, I've a scene with several objects of all kinds, and I want to export them in parametric description.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem arrises with RuledFace &amp;amp; HermiteFace.&lt;/P&gt;&lt;P&gt;To export them, I'm using "ExportUtils.GetNurbsSurfaceDataForSurface()" to cast the surface into a NURB like surface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached 2 screenshots :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Revit wall.jpg" contains the Revit Wall defined by 2 RuledFace (Front / Back) &amp;amp; 4 PlanarFace (Top / Bottom / Left / Right).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Exported.jpg" contains the exporter geometry.&lt;/P&gt;&lt;P&gt;Gray faces (Top / Bottom / Left / Right) are good.&lt;/P&gt;&lt;P&gt;Red faces (Front / Back) are what "GetNurbsSurfaceDataForSurface()" gives me for RuledFace, and you can see that they are not well placed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something in "GetNurbsSurfaceDataForSurface()" datas ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 16:32:00 GMT</pubDate>
    <dc:creator>vilo176</dc:creator>
    <dc:date>2021-05-14T16:32:00Z</dc:date>
    <item>
      <title>NURBS Export</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/nurbs-export/m-p/10313473#M25994</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a (suspected) issue when trying to export Revit geometry.&lt;/P&gt;&lt;P&gt;Basically, I've a scene with several objects of all kinds, and I want to export them in parametric description.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem arrises with RuledFace &amp;amp; HermiteFace.&lt;/P&gt;&lt;P&gt;To export them, I'm using "ExportUtils.GetNurbsSurfaceDataForSurface()" to cast the surface into a NURB like surface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached 2 screenshots :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Revit wall.jpg" contains the Revit Wall defined by 2 RuledFace (Front / Back) &amp;amp; 4 PlanarFace (Top / Bottom / Left / Right).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Exported.jpg" contains the exporter geometry.&lt;/P&gt;&lt;P&gt;Gray faces (Top / Bottom / Left / Right) are good.&lt;/P&gt;&lt;P&gt;Red faces (Front / Back) are what "GetNurbsSurfaceDataForSurface()" gives me for RuledFace, and you can see that they are not well placed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something in "GetNurbsSurfaceDataForSurface()" datas ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 16:32:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/nurbs-export/m-p/10313473#M25994</guid>
      <dc:creator>vilo176</dc:creator>
      <dc:date>2021-05-14T16:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: NURBS Export</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/nurbs-export/m-p/10314440#M25995</link>
      <description>&lt;P&gt;I cannot tell off-hand what might be causing this. If all else fails, please submit a minimal reproducible case for passing on to the development team for analysis:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 04:16:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/nurbs-export/m-p/10314440#M25995</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-05-15T04:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: NURBS Export</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/nurbs-export/m-p/10314644#M25996</link>
      <description>&lt;P&gt;I've made another example, here are the new shots + RVT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Underlying surfaces are filled in gray, and face boundaries are displayed in wireframe.&lt;/P&gt;&lt;P&gt;In case of NURBS surfaces (which are naturally bounded), face boundary must be inside surface (hence the issue here).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The obvious solution would be to stay with a RuledSurface definition (that is good), and not rely on "&lt;SPAN&gt;GetNurbsSurfaceDataForSurface()&lt;/SPAN&gt;", but this leads to another issue : there is no guaranty that the reconstructed surface will be exactly the same as Revit ones, because a RuledSurface has to be recomputed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 08:58:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/nurbs-export/m-p/10314644#M25996</guid>
      <dc:creator>vilo176</dc:creator>
      <dc:date>2021-05-15T08:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: NURBS Export</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/nurbs-export/m-p/10314689#M25997</link>
      <description>&lt;P&gt;Correction : by exporting directly RuledSurface curves, I have the same issue (boundaries not being inside the surface Min-Max).&lt;/P&gt;&lt;P&gt;So "&lt;SPAN&gt;GetNurbsSurfaceDataForSurface()&lt;/SPAN&gt;" is not the problem here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 09:31:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/nurbs-export/m-p/10314689#M25997</guid>
      <dc:creator>vilo176</dc:creator>
      <dc:date>2021-05-15T09:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: NURBS Export</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/nurbs-export/m-p/10317740#M25998</link>
      <description>&lt;P&gt;It seams that "degenerated" faces can be identified by "RuledSurface.&lt;SPAN&gt;IsExtruded".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When "IsExtruded == false", face definition (through "GetNurbsSurfaceDataForSurface") is good (i.e. Surface &amp;amp; Edges are lying within the same UV domain).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 10:38:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/nurbs-export/m-p/10317740#M25998</guid>
      <dc:creator>vilo176</dc:creator>
      <dc:date>2021-05-17T10:38:21Z</dc:date>
    </item>
  </channel>
</rss>

