<?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 Re: How to create a NURBS Surface given a gird of XYZ points in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-nurbs-surface-given-a-gird-of-xyz-points/m-p/9084094#M39310</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Could anyone please tell me which API method returns a HermiteFace object? If there is no such a method, what is the purpose of HermiteFace class?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 00:53:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-14T00:53:35Z</dc:date>
    <item>
      <title>How to create a NURBS Surface given a gird of XYZ points</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-nurbs-surface-given-a-gird-of-xyz-points/m-p/9080418#M39309</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi everyone, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to create a solid using BRepBuilder. One surface of the solid is a non planar curved surface defined by a grid of XYZ points. I can create a HermiteSurface from these points using HermiteSurface.Create, but BRepBuilder does not support HermiteSurface. I could not find an API method to directly create a NURBS Surface from these points. The BRepBuilderSurfaceGeometry.CreateNURBSSurface seems too complicated for this purpose because it is not easy to get all those inputs. If I can create a HermiteFace, I may use GetNurbsSurfaceDataForFace to get the inputs for CreateNURBSSurface. However, I could not find a way to get a HermiteFace. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any suggestions would be greatly appreciated. Thanks &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 05:06:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-nurbs-surface-given-a-gird-of-xyz-points/m-p/9080418#M39309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-11T05:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a NURBS Surface given a gird of XYZ points</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-nurbs-surface-given-a-gird-of-xyz-points/m-p/9084094#M39310</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Could anyone please tell me which API method returns a HermiteFace object? If there is no such a method, what is the purpose of HermiteFace class?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 00:53:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-nurbs-surface-given-a-gird-of-xyz-points/m-p/9084094#M39310</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-14T00:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a NURBS Surface given a gird of XYZ points</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-nurbs-surface-given-a-gird-of-xyz-points/m-p/9097121#M39311</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have been working on this for quite a while. I calculated the control points of URBS Surface from a grid of surface XYZ points by solving a system of linear equations, and create the NURBS Surface using BRepBuilderSurfaceGeometry.CreateNURBSSurface. I then used the URBS Surface in BRepBuilder to create the solid. For some cases, I can get the correct solid. But for others, I got various kinds of internal exceptions. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I found the following link posted in 2014:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/nurbspline-creation-error/td-p/4831565" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/nurbspline-creation-error/td-p/4831565&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The development team said the Revit NURBS spline functions are limited. I’d like to know if the NURBS surface and spline have been improved since then. Could anyone please tell me if my approach to create a solid is the right way? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not use GeometryCreationUtilities because it also throws internal exceptions, as explained in one of my posts:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/createsweptblendgeometry-failed/td-p/9058479" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/createsweptblendgeometry-failed/td-p/9058479&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2019 13:37:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-nurbs-surface-given-a-gird-of-xyz-points/m-p/9097121#M39311</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-20T13:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a NURBS Surface given a gird of XYZ points</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-nurbs-surface-given-a-gird-of-xyz-points/m-p/9098583#M39312</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I gave up on BRepBuilder. Now I am trying TessellatedShapeBuilder. In my testing example, I can create a solid using TessellatedShapeBuilder, as shown in the figure. But How can I delete all those internal edges? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TessellatedShapeBuilder.PNG" style="width: 882px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/689739iDF9EEC972EFBED61/image-size/large?v=v2&amp;amp;px=999" role="button" title="TessellatedShapeBuilder.PNG" alt="TessellatedShapeBuilder.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 13:20:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-nurbs-surface-given-a-gird-of-xyz-points/m-p/9098583#M39312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-21T13:20:17Z</dc:date>
    </item>
  </channel>
</rss>

