<?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: Fit a spline to a closed form (in this case an airfoil countour) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Fit-a-spline-to-a-closed-form-in-this-case-an-airfoil-contour/m-p/867399#M103010</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You ROCK!&amp;nbsp; This link&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Bezier-interpolation/m-p/257852#M50666" target="_self"&gt;https://community.jmp.com/t5/Discussions/Bezier-interpolation/m-p/257852#M50666&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;had this buried in it and it works great!&amp;nbsp; I'm still going to try and learn the JSL way as well but this gets me what I need in the short term.&amp;nbsp; Thanks again!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shampton82_0-1744255754469.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74724iC14E8F6611FA9792/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shampton82_0-1744255754469.png" alt="shampton82_0-1744255754469.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Apr 2025 03:30:53 GMT</pubDate>
    <dc:creator>shampton82</dc:creator>
    <dc:date>2025-04-10T03:30:53Z</dc:date>
    <item>
      <title>Fit a spline to a closed form (in this case an airfoil contour)</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-a-spline-to-a-closed-form-in-this-case-an-airfoil-contour/m-p/867313#M103006</link>
      <description>&lt;P&gt;Hey everyone,&lt;/P&gt;
&lt;P&gt;Is there a way to fit a spline to a shape in graph builder (or any other platform?)&amp;nbsp; I am trying to fit a spline to a set of X/Y data points that fall on the outside of an airfoil contour.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So here is the data&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shampton82_0-1744240425380.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74718i41E572B4D13805CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shampton82_0-1744240425380.png" alt="shampton82_0-1744240425380.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is what the smoother function currently gives&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shampton82_2-1744240584181.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74720i82B0FAAECB9F0A64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shampton82_2-1744240584181.png" alt="shampton82_2-1744240584181.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and this is what I would want&amp;nbsp; (the blue fitted line)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shampton82_1-1744240468140.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74719iA87261B6F81983F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shampton82_1-1744240468140.png" alt="shampton82_1-1744240468140.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If I turn on the contour plot and have a value to put into color then the boundary line of the contour plot gets pretty close but it appears to be a linear fit between each point, which works pretty well when there is good hit density, not so much for lower hit densities.&amp;nbsp; Also, it is very sensitive to the alpha value so is taking a lot of tweaking for each vane.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shampton82_3-1744240872121.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74722iA51355EBE8F0F106/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shampton82_3-1744240872121.png" alt="shampton82_3-1744240872121.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shampton82_4-1744241201304.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74723i97FD9D70FD41540D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shampton82_4-1744241201304.png" alt="shampton82_4-1744241201304.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This can currently be done in Solidworks (a CAD program) but it is SO slow to do it with how you have to bring in the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm thinking this would have to be a wish list item but not sure if someone could come up with something creative!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for any ideas!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 03:20:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-a-spline-to-a-closed-form-in-this-case-an-airfoil-contour/m-p/867313#M103006</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2025-04-10T03:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fit a spline to a closed form (in this case an airfoil countour)</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-a-spline-to-a-closed-form-in-this-case-an-airfoil-contour/m-p/867396#M103008</link>
      <description>&lt;P&gt;Not sure if there is a platform, but you can do it in JSL. Make a table of the x and y values, and a t value that might be the row number, or maybe just a linear 0...1 over the range of the data. Then use SplineEval with x,t to generate a bunch of smoothed x and repeat with y,t to make the smoothed y values. &lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Integrate(), Interpolate(), and SplineEval()" uid="657078" url="https://community.jmp.com/t5/Uncharted/Integrate-Interpolate-and-SplineEval/m-p/657078#U657078" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Understanding cubic splines" uid="39511" url="https://community.jmp.com/t5/JMPer-Cable/Understanding-cubic-splines/m-p/39511#U39511" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="HeatColor vs Spline vs Interpolate" uid="21233" url="https://community.jmp.com/t5/Uncharted/HeatColor-vs-Spline-vs-Interpolate/m-p/21233#U21233" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Bezier interpolation" uid="257795" url="https://community.jmp.com/t5/Discussions/Bezier-interpolation/m-p/257795#U257795" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Generate points from Bezier path" uid="440132" url="https://community.jmp.com/t5/Uncharted/Generate-points-from-Bezier-path/m-p/440132#U440132" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Bezier Tree using Path()" uid="271193" url="https://community.jmp.com/t5/Uncharted/Bezier-Tree-using-Path/m-p/271193#U271193" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Bezier-interpolation/m-p/257852#M50666" target="_self"&gt;https://community.jmp.com/t5/Discussions/Bezier-interpolation/m-p/257852#M50666&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;A 2D spline is a parametric curve using t as the parameter and a pair of formulas (spline eval) that produce the interpolated answer for between values of t. &lt;/P&gt;
&lt;P&gt;JMP also has a path() function for graphic scripts that has an SVG-like bezier command.&lt;/P&gt;
&lt;P&gt;Splines don't go through the points. Bezier path does go through the non-control points. I suspect you want a spline.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 03:00:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-a-spline-to-a-closed-form-in-this-case-an-airfoil-contour/m-p/867396#M103008</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2025-04-10T03:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fit a spline to a closed form (in this case an airfoil countour)</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-a-spline-to-a-closed-form-in-this-case-an-airfoil-contour/m-p/867399#M103010</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You ROCK!&amp;nbsp; This link&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Bezier-interpolation/m-p/257852#M50666" target="_self"&gt;https://community.jmp.com/t5/Discussions/Bezier-interpolation/m-p/257852#M50666&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;had this buried in it and it works great!&amp;nbsp; I'm still going to try and learn the JSL way as well but this gets me what I need in the short term.&amp;nbsp; Thanks again!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shampton82_0-1744255754469.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74724iC14E8F6611FA9792/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shampton82_0-1744255754469.png" alt="shampton82_0-1744255754469.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 03:30:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-a-spline-to-a-closed-form-in-this-case-an-airfoil-contour/m-p/867399#M103010</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2025-04-10T03:30:53Z</dc:date>
    </item>
  </channel>
</rss>

