<?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: spline length in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8272766#M166131</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3585828"&gt;@Corsten.Au&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;if CAD is imported in REVIT software ( Autodesk ),&amp;nbsp;Revit gives the length of the Spline directly...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If all they needed was to get the length&amp;nbsp;of an already-drawn Spline, there's certainly no need to go through importing it into Revit!&amp;nbsp; Either the LIST or AREA command will report it, &lt;EM&gt;and&lt;/EM&gt;&amp;nbsp; put the value in the PERIMETER System Variable for use in any processing or calculation desired.&amp;nbsp; Or it can be extracted with AutoLisp:&lt;BR /&gt;(vlax-curve-getDistAtParam spl (vlax-curve-getEndParam spl))&lt;/P&gt;
&lt;P&gt;where 'spl' is &lt;EM&gt;either&lt;/EM&gt;&amp;nbsp; the Spline's entity name or&amp;nbsp;a VLA-object conversion of that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But they&amp;nbsp;don't want to do it that way [re-read Message 1].&lt;/P&gt;</description>
    <pubDate>Mon, 17 Sep 2018 14:19:14 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2018-09-17T14:19:14Z</dc:date>
    <item>
      <title>spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8270525#M166121</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;How&amp;nbsp;can i find the Spline length by means of its control points manually? (I do not mean AREA command,&amp;nbsp;I want to calculate it by&amp;nbsp;its&amp;nbsp;control points manually)&lt;/P&gt;&lt;P&gt;In fact how AUTODESK calculate it?&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2018 22:37:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8270525#M166121</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-15T22:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8270545#M166122</link>
      <description>&lt;P&gt;The only thing you'd be able to calculate manually from control points [or fit points] would be the sum of the &lt;EM&gt;straight-line&lt;/EM&gt;&amp;nbsp; distances between them, which of course is not the length of the Spline.&amp;nbsp; I couldn't say how AutoCAD does it, but I don't think there's anything you could use from ordinarily-available information like entity data.&amp;nbsp; [May I ask why you want to do this?]&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2018 23:21:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8270545#M166122</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-09-15T23:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8270807#M166123</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="B(t).png" style="width: 371px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/546639iA76BB3502669FB22/image-size/large?v=v2&amp;amp;px=999" role="button" title="B(t).png" alt="B(t).png" /&gt;&lt;/span&gt;There is a formula as &amp;nbsp;follows: (&lt;A href="https://en.wikipedia.org/wiki/B%C3%A9zier_curve" target="_blank"&gt;https://en.wikipedia.org/wiki/B%C3%A9zier_curve&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;This&amp;nbsp;&lt;SPAN&gt;formula&amp;nbsp;and&lt;/SPAN&gt;&amp;nbsp;Autocad&amp;nbsp;return same value for 4 control point but for higher control point we have some mistake&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Sep 2018 11:22:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8270807#M166123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-16T11:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8270867#M166124</link>
      <description>&lt;P&gt;AutoCAD uses a Degree 3 spline as default.&amp;nbsp; If there are only 4 Control points then the spline is equivalent to a Bezier curve. &amp;nbsp;CPs more than four either need an elevated order (Degree 4, 5, . . . ) to evaluate correctly with that formula, or you have to treat them as B-Splines and/or NURBS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/B-spline" target="_blank"&gt;https://en.wikipedia.org/wiki/B-spline&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Sep 2018 13:00:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8270867#M166124</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-09-16T13:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271309#M166125</link>
      <description>&lt;P&gt;The default order for splines of more than 4 CVs is 3.&amp;nbsp; You can modify the order and the weights at CVs of a spline with the SPLINEDIT command. You can also use SPLINEDIT to find the approximate length by converting the spline to a polyline&amp;nbsp; (SPLINEDIT P ) and specify the precision.&amp;nbsp; Use&amp;nbsp;LIST to find the length of the resulting polyline.&amp;nbsp; Experiment with the precision value to determine its sensitivity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Sep 2018 22:38:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271309#M166125</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-09-16T22:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271366#M166126</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/822616"&gt;@leeminardi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;The default order for splines of more than 4 CVs is 3. . . . .&lt;SPAN class="mwe-math-element"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mwe-math-element"&gt;&lt;FONT size="3"&gt;Did you actually mean "the default order for splines of 4 or more CVs is 4"?&amp;nbsp; Which is to say "Degree 3", in that Degree is Order - 1.&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 00:24:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271366#M166126</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-09-17T00:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271367#M166127</link>
      <description>&lt;P&gt;Yes, I meant to say degree equals three. Thanks for noticing my misstatement.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 00:36:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271367#M166127</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-09-17T00:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271388#M166128</link>
      <description>&lt;P&gt;Thanks friends but i cant calculate it by bezier or B-Spline formula&lt;/P&gt;&lt;P&gt;A simple example is given control poni P0=1,1 P1=2,0 P3=3,1 P4+4,0 and P5=5,1 Can you calculate y parameter in X=2?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 01:01:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271388#M166128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-17T01:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271523#M166129</link>
      <description>&lt;P&gt;This would be a complete different approach..&lt;/P&gt;&lt;P&gt;but if CAD is imported in REVIT software ( Autodesk ),&amp;nbsp;&lt;/P&gt;&lt;P&gt;Revit gives the length of the Spline directly...&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="Spline Length" style="width: 797px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/546801i91934280641F1FA2/image-dimensions/797x526?v=v2" width="797" height="526" role="button" title="spline length.JPG" alt="Spline Length" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Spline Length&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 04:05:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271523#M166129</guid>
      <dc:creator>Corsten.Au</dc:creator>
      <dc:date>2018-09-17T04:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271844#M166130</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Thanks friends but i cant calculate it by bezier or B-Spline formula&lt;/P&gt;&lt;P&gt;A simple example is given control poni P0=1,1 P1=2,0 P3=3,1 P4+4,0 and P5=5,1 Can you calculate y parameter in X=2?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This may be a misread on my part; this example isn't looking for the length of anything, just needs the y coordinate of a given X.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attached drawing I have a setup to find the point graphically.&amp;nbsp; In the attached spreadsheet, I solve for the point parametrically - with a calculated parameter&lt;EM&gt; t=0.25&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 08:13:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8271844#M166130</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-09-17T08:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8272766#M166131</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3585828"&gt;@Corsten.Au&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;if CAD is imported in REVIT software ( Autodesk ),&amp;nbsp;Revit gives the length of the Spline directly...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If all they needed was to get the length&amp;nbsp;of an already-drawn Spline, there's certainly no need to go through importing it into Revit!&amp;nbsp; Either the LIST or AREA command will report it, &lt;EM&gt;and&lt;/EM&gt;&amp;nbsp; put the value in the PERIMETER System Variable for use in any processing or calculation desired.&amp;nbsp; Or it can be extracted with AutoLisp:&lt;BR /&gt;(vlax-curve-getDistAtParam spl (vlax-curve-getEndParam spl))&lt;/P&gt;
&lt;P&gt;where 'spl' is &lt;EM&gt;either&lt;/EM&gt;&amp;nbsp; the Spline's entity name or&amp;nbsp;a VLA-object conversion of that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But they&amp;nbsp;don't want to do it that way [re-read Message 1].&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 14:19:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8272766#M166131</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-09-17T14:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8272797#M166132</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;... A simple example is given control poni P0=1,1 P1=2,0 P3=3,1 P4+4,0 and P5=5,1 Can you calculate y parameter in X=2?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So maybe that's &lt;EM&gt;something&lt;/EM&gt;&amp;nbsp; of an answer to my question in Message 2 [at least it's some kind of reason for wanting to calculate something based on control points], except that it has nothing to do with the Subject line or the original question in Message 1, both being about &lt;EM&gt;length&lt;/EM&gt;, which seems irrelevant to this example.&amp;nbsp; Though the Bezier-curve formulas are beyond my mathematical experience, I'd still be interested in the "why" of it all....&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 14:27:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8272797#M166132</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-09-17T14:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8273001#M166133</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/520839"&gt;@SEANT61&lt;/a&gt;&amp;nbsp;I created a spline using the CV method with the specified control points and got the green curve as opposed to your magenta curve. The magenta curve is a 4th degree (5th order) Bezier spline whereas I believe the green curve is a 3rd degree B-Spline.&amp;nbsp; &amp;nbsp;Yes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've looked at the B-spline math and I find it a bit tough to follow. Since a B-spline allows local editing, can I assume only the first 4 CVs influence the shape of the spline near the beginning?&amp;nbsp; At what point must the 5th CV be considered?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 15:29:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8273001#M166133</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-09-17T15:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8274084#M166134</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/822616"&gt;@leeminardi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/520839"&gt;@SEANT61&lt;/a&gt;&amp;nbsp;I created a spline using the CV method with the specified control points and got the green curve as opposed to your magenta curve. The magenta curve is a 4th degree (5th order) Bezier spline whereas I believe the green curve is a 3rd degree B-Spline.&amp;nbsp; &amp;nbsp;Yes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've looked at the B-spline math and I find it a bit tough to follow. Since a B-spline allows local editing, can I assume only the first 4 CVs influence the shape of the spline near the beginning?&amp;nbsp; At what point must the 5th CV be considered?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, I believe you are referring to a B-spline.&amp;nbsp; Is it the same as the green spline I have in the attached?&amp;nbsp; And, yes again, everything after Beziers becomes increasingly more complex.&amp;nbsp; Not something I ready to set up in an XLS, anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The local editing you mentioned was the motivation for B-splines, and I believe your notion of where/when CVs are evaluated is correct. &amp;nbsp;There is not much visual evidence when the evaluation rules switch from one group of CVs to the next.&amp;nbsp; AutoCAD will show us the point on the curve if the 3d Osnap Knot is enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The process becomes even more chaotic when non uniform domains, full multiplicities, rationality are injected.&amp;nbsp; Just with a slight domain modification see how the blue spline differs from the green.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fortunately, the average programmer does not have to re-invent the 'nurbs evaluation' wheel.&amp;nbsp; AutoCAD, at least, has the functionality baked into the API.&amp;nbsp; If someone did want to roll their own, though, I would applaud the effort.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 23:24:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8274084#M166134</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-09-17T23:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8274799#M166135</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/822616"&gt;@leeminardi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;. . . .&amp;nbsp; At what point must the 5th CV be considered?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;The way the splines are evaluated is by stepping through the parametric Range, t,&amp;nbsp; a small increase at a time.&amp;nbsp; The incremental t value is plugged into the equations which spit out an xyz value.&amp;nbsp; Much like the spreadsheet setup I posted earlier, at any given t the influence of each of the 4 CVs (in this case) varies.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The Range, though, is split into different zones with Knots at the border.&amp;nbsp; When a Knot value in reached, the influence of the earliest CV of the 4 goes to zero, and no longer play a part, and the next CV (4th from the CV just removed) in line starts to contribute to the equation.&amp;nbsp; Minimally at first, but increasing as the t values progress.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;See the attached drawing and chart.&amp;nbsp; This 8 CV AutoCAD spline has a Knot Vector (Nurbs term) as shown in the diagram.&amp;nbsp; The Points in the drawing correspond to the Knot values shown in that grouping.&amp;nbsp; The term Full Multiplicity refers to when a value is repeated Degree number of times.&amp;nbsp; That indicates to the algorithm to uses the corresponding CV for %100 of the influence.&amp;nbsp; It is why the AutoCAD curve lands directly on the start and end CV.&amp;nbsp; As t increases from 0, the next 3 CVs start contributing to the equation.&amp;nbsp; Notice how the curves on the chart start rising from the initial 0 influence state.&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chart.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/547367i7E396A54D1221999/image-size/large?v=v2&amp;amp;px=999" role="button" title="Chart.PNG" alt="Chart.PNG" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;At any point along that horizontal (X) of the Chart, a vertical line will intersect several curves, all of the Y values will total 1.0 (%100) .&amp;nbsp; Notice, also,&amp;nbsp; that at each knot value, one curve ends while another starts.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 09:13:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8274799#M166135</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-09-18T09:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8284991#M166136</link>
      <description>&lt;P&gt;in fact i need the equation of the spline, i request the y factor in x=2 to check the equation&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 18:43:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8284991#M166136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T18:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8285120#M166137</link>
      <description>&lt;P&gt;As noted in post #3 by &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/520839"&gt;@SEANT61&lt;/a&gt;, if you created a spline with 5 control points the AutoCAD default would be&amp;nbsp;a 3rd degree (4th order) B-spline. For the points you specified in post #8 the spline should look like the green curve in the image below.&amp;nbsp; The equation for a B-spline can be found in the link of post #4.&amp;nbsp; Check it out if you have not yet done so.&amp;nbsp; The math is more complex than a Bezier spline encouraging the use of recursion (deBoors algorithm) to calculate points on the spline.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bspl1.JPG" style="width: 780px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/549089i05870D622BBAE7FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="bspl1.JPG" alt="bspl1.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You asked for the value of y&amp;nbsp;when x = 2 (in Euclidean and not parametric space I assume).&amp;nbsp; Set &lt;STRONG&gt;luprec&lt;/STRONG&gt; to&lt;STRONG&gt; 8&lt;/STRONG&gt; and then add a point at the intersection of the line and the original spline using object snap &lt;STRONG&gt;int&lt;/STRONG&gt; (intersection).&amp;nbsp; The B-spline will be accurately evaluated. You should find that the coordinates of the point are: x = 2.00000000, y = 0.39061808.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I noted in post #5 the &lt;STRONG&gt;splinedit&lt;/STRONG&gt; command can be used to convert a spline to a polyline.&amp;nbsp;This will give you a series of points along the spline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 19:47:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8285120#M166137</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-09-21T19:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8289733#M166138</link>
      <description>&lt;P&gt;Thank you and other friends, all of the those formula seem true but when i want to use them the answer and Autocad are not equal.&lt;/P&gt;&lt;P&gt;Do you calculated y=&lt;SPAN&gt;0.39061808 by means of those formula or bring that from Autocad?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 01:46:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8289733#M166138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T01:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8293690#M166139</link>
      <description>&lt;DIV&gt;Here’s a crude setup to investigate the ins and outs of a uniform, degree 3 B-Splines.&amp;nbsp; This spreadsheet works with the general setup shown in post# 8.&amp;nbsp; It allows variable point locations (though the point count must remain at 5), as well variations in the target “X” value.&lt;/DIV&gt;&lt;DIV&gt;I’ve used a Lookup table to convert that target X to the appropriate parameter value; consequently, the tolerance is quite coarse.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Sep 2018 12:00:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8293690#M166139</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-09-26T12:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: spline length</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8295699#M166140</link>
      <description>&lt;P&gt;@sean61 congrats on getting something that works!&amp;nbsp; I've been trying to write a custom VBA function for the deBoor algorithm that uses recursion to calculate the coefficients.&amp;nbsp; I gave up on that and decided&amp;nbsp;to limit the&amp;nbsp;B-spline to degree 3 which enables a simpler computation from the appropriate 4 CVs and then successive sub control polygons.&amp;nbsp; &amp;nbsp;My subscripts are all screwed up so I put it aside while I tend to more pressing matters. I may give it another shot in the future.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 01:54:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/spline-length/m-p/8295699#M166140</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-09-27T01:54:48Z</dc:date>
    </item>
  </channel>
</rss>

