<?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 Extract NURBS Surface control point weights from .DXF file in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7845309#M188044</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use AutoCAD to generate NURBS surfaces and subsequently use this model in a numerical analysis program. I export the model as a .DXF file (2010 version) and a small script extracts the important data. However, I cannot find where the control point weights are saved in the .DXF file. I searched everywhere, but I cannot figure it out. Can anybody help on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Camiel&lt;/P&gt;</description>
    <pubDate>Mon, 12 Mar 2018 09:47:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-12T09:47:14Z</dc:date>
    <item>
      <title>Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7845309#M188044</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use AutoCAD to generate NURBS surfaces and subsequently use this model in a numerical analysis program. I export the model as a .DXF file (2010 version) and a small script extracts the important data. However, I cannot find where the control point weights are saved in the .DXF file. I searched everywhere, but I cannot figure it out. Can anybody help on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Camiel&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 09:47:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7845309#M188044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T09:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7846554#M188045</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see that you are visiting as a new member to the AutoCAD forum.&amp;nbsp;&lt;SPAN style="color: #808000;"&gt;Welcome to the Autodesk Community!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a reason to go to such an old version of DXF? I believe there were some problems with NURBS and SPLINEs back in this 2010 version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a &lt;A href="https://help.autodesk.com/view/ACD/2018/ENU/?guid=GUID-E1F884F8-AA90-4864-A215-3182D47A9C74" target="_blank"&gt;reference &lt;/A&gt;for 2018 DXF .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;41 looks like it might be weight for SPLINES but I am not sure if this is exactly what you are looking for.&amp;nbsp; Please take a look and let me know if this helps.&amp;nbsp; You can also attach a sample file so I can try crating the DXF to analyze the codes too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #808000;"&gt;Please select the &lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt; button if my post solves your issue or answers your question.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 18:35:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7846554#M188045</guid>
      <dc:creator>john.vellek</dc:creator>
      <dc:date>2018-03-12T18:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7846942#M188046</link>
      <description>&lt;P&gt;Thank you for your reaction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The previous people who worked on this project have chosen to use AutoCAD 2010 DXF versions. I think that some of the people involved still use (very) old versions of AutoCAD, but I am also not exactly sure why they chose this file format. Nevertheless, many scripts are written entirely around this version and adapting these would last forever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The link in your reply doesn't work, but I already found such a reference (thanks anyway). I uploaded a file ('Half_Circle_Surface.DXF'), where I use only 5x2 control vertices to represent the surface. This means that the weights of the NURBS functions in the corners should be 0.5*sqrt(2), otherwise the half circle geometry is not exactly parametrized. However, when I open the .DXF with a file editor, it seems that this value is not even in the file. That's the reason I posted my first message here. I hope it is clear what I mean.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be great!&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Camiel&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 18:15:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7846942#M188046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T18:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7847213#M188047</link>
      <description>&lt;P&gt;I exploded the semi-cylindrical surface and then used SPLINEDIT to examine the weights of the semi-circular shaped NURBS spline.&amp;nbsp; The 5 CVs all had a weight of 1.&amp;nbsp; &amp;nbsp;I then changed one of the weights to 123.4 (it almost squares the corner) and saved the file as a 2010 dxf file.&amp;nbsp; Doing a search for 123.4 showed it did follow a dxf code 41.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it appears the weight may be in the dxf file.&amp;nbsp; &amp;nbsp;If weight are all 1 the 41 is not recorded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 19:31:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7847213#M188047</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-03-12T19:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7851731#M188048</link>
      <description>&lt;P&gt;Thank you for your reaction ( and the help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ).&lt;/P&gt;&lt;P&gt;So I understand that AutoCAD only writes the control point weights if these differ from 1.0 (under the dxf code 41). What I don't understand is that you mention 'semi-cylindrical' surface, since I generated this surface by trimming a circle in half and subsequently lofting it to become a surface. Theory then tells us that the control point weight (when located exactly at the corner) should be (1/2)*sqrt(2). I don't get how AutoCAD can construct the cylindrical surface with a corner cv weight of 1.0.&lt;/P&gt;&lt;P&gt;So in a standard sense, AutoCAD always sets the weights to 1.0?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Camiel&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 07:00:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7851731#M188048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-14T07:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7851811#M188049</link>
      <description>&lt;P&gt;The Spline, as a native AutoCAD entity type, stores the Control Vertex “Weight” values in a&amp;nbsp;DXF file in accordance with the DXF reference.&amp;nbsp; &lt;EM&gt;Regions&lt;/EM&gt;, &lt;EM&gt;3dSolids&lt;/EM&gt;, &lt;EM&gt;Body&lt;/EM&gt;s and &lt;EM&gt;Surface&lt;/EM&gt;s are handled by the ACIS based modeler.&amp;nbsp; The DXF file stores that in an encrypted format.&amp;nbsp; I suspect the “Weight” info from your original DXF file is stored somewhere in here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;AcDbModelerGeometry
 70
     1
  1
mnjoo li m mk          
  1
ni ^ *+0;:,4 ^ *+0\^ [ nf ^ LR mmmqoqoqnhoo QK o  
  1
n fqfffffffffffffffjkh:roh nqooooooooooooooooli:rno 
  1
&amp;gt;,27:&amp;gt;;:- {rn rn _nm mmmqoqoqnhoo |
  1
=0;&amp;amp; {rn rn {rn {m {rn {rn |
  1
3*2/ {rn rn {rn {rn {l {n |
  1
,7:33 {rn rn {rn {rn {rn {k {rn {m |
  1
9&amp;gt;&amp;lt;: {j rn {rn {rn {i {l {rn {h 90-(&amp;gt;-; ;0*=3: 0*+ |
  1
/:-,*=:1+r&amp;gt;&amp;lt;&amp;gt;;L036;W6,+0-&amp;amp;r&amp;gt;++-6= {rn rn {rn {rn {k n j n n |
  1
300/ {rn rn {rn {rn {g {k |
  1
,/361:r,*-9&amp;gt;&amp;lt;: {rn rn {rn -:):-,:; $ :'&amp;gt;&amp;lt;+@,/3@,*- mmmoo 9*33 1*-=, n m ) 0/:1 0/:1 101: 101: m l 
  1
 o n m n 
  1
 o m nqjhohfilmihfkgfijjg m lqnknjfmijljgfhfmihm m 
  1
 mj o o n 
  1
 mj o jo n 
  1
 mkqffffffffffffffmgf mkqffffffffffffffmgf o oqhohnoihgnngijkhiglg 
  1
 mkqffffffffffffffmgf mkqffffffffffffffmgf jo oqhohnoihgnngijkhiglg 
  1
 rhqoillhjofgifoimjnoj:rnh mj o n 
  1
 rhqoillhjofgifoimjnoj:rnh mj jo n 
  1
 rmkqffffffffffffffmgf mkqffffffffffffffmgf o oqhohnoihgnngijkhiglg 
  1
 rmkqffffffffffffffmgf mkqffffffffffffffmgf jo oqhohnoihgnngijkhiglg 
  1
 rmj o o n 
  1
 rmj o jo n 
  1
 o 
  1
 
  1
 o 
  1
 o 
  1
 o 
  1
 o 
  1
 o 
  1
 o 
  1
 Y Y n Y o Y n Y o JQZGKZQ[Z[ " V V V V |
  1
&amp;lt;0:;8: {rn rn {rn {f {no {rn {nn 90-(&amp;gt;-; {i {nm |
  1
&amp;lt;0:;8: {rn rn {rn {nl {g {rn {nk 90-(&amp;gt;-; {i {nj |
  1
&amp;lt;0:;8: {rn rn {rn {g {nl {rn {ni 90-(&amp;gt;-; {i {nh |
  1
:;8: {ng rn {rn {nf o {mo lqnknjfmijljgfhfmihm {g {mn 90-(&amp;gt;-; _h *1410(1 |
  1
/&amp;lt;*-): {rn rn {rn o 90-(&amp;gt;-; $ :'/@/&amp;gt;-@&amp;lt;*- 1*=, n 0/:1 m 
  1
 o n lqnknjfmijljgfhfmihm n 
  1
 o o 
  1
 o lqnknjfmijljgfhfmmmg 
  1
 nqlnkhhnkggkoholgoli:rnl 
  1
 ,/361: -:):-,:; $ -:9 o " V V V V 
  1
 " o o |
  1
&amp;lt;0:;8: {rn rn {rn {no {f {rn {mm 90-(&amp;gt;-; {i {ml |
  1
:;8: {mk rn {rn {mo o {mj jo {f {mi 90-(&amp;gt;-; _h *1410(1 |
  1
/&amp;lt;*-): {rn rn {rn o 90-(&amp;gt;-; $ :'/@/&amp;gt;-@&amp;lt;*- 1*=, n 0/:1 m 
  1
 o n jo n 
  1
 o lqnknjfmijljgfhfmmmg 
  1
 nqfffffffffffffffhhg lqnknjfmijljgfhfmmmg 
  1
 mqnhhonfoilnlgmgkjn:rnk 
  1
 ,/361: -:):-,:; $ -:9 o " V V V V 
  1
 " o o |
  1
:;8: {mh rn {rn {mg o {nf jo {no {mf 90-(&amp;gt;-; _h *1410(1 |
  1
/&amp;lt;*-): {rn rn {rn o 90-(&amp;gt;-; $ :'/@/&amp;gt;-@&amp;lt;*- 1*=, n 0/:1 m 
  1
 o n jo n 
  1
 m o 
  1
 o o 
  1
 lqimlhihfjmlhijnnonn:rnj 
  1
 ,/361: -:):-,:; $ -:9 o " V V V V 
  1
 " o o |
  1
/:-,*=:1+r&amp;gt;&amp;lt;&amp;gt;;L036;W6,+0-&amp;amp;r&amp;gt;++-6= {rn rn {rn {rn {nn n j n no |
  1
):-+:' {rn rn {rn {ni n {lo |
  1
):-+:' {rn rn {rn {nn n {ln |
  1
61+&amp;lt;*-):r&amp;lt;*-): {rn rn {rn 90-(&amp;gt;-; $ :'&amp;gt;&amp;lt;+@61+@&amp;lt;*- mmmoo 9*33 1*-=, m 0/:1 l 
  1
 o m nqjhohfilmihfkgfilli m lqnknjfmijljgfhfmihm m 
  1
 mj o o n 
  1
 mj mkqffffffffffffffmgf o oqhohnoihgnngijkhhfkg 
  1
 hqonnmgfghnohloignh:rnj mj o n 
  1
 rmkqfffffffffffffgjhf mjqoooooooooooooohnn o oqhohnoihgnngijkhljoh 
  1
 rmj nqknilgkhmkknnffkggk:rnk o n 
  1
 o 
  1
 
  1
 1*33@,*-9&amp;gt;&amp;lt;: 
  1
 1*33@,*-9&amp;gt;&amp;lt;: 
  1
 1*33=, 
  1
 1*33=, 
  1
 V V 
  1
 o 
  1
 o 
  1
 o 
  1
 
  1
 o Y n Y o JQZGKZQ[Z[ JQZGKZQ[Z[ " V V |
  1
:;8: {lm rn {rn {mj rlqnknjfmijljgfhfmihm {mg o {nl {ll 90-(&amp;gt;-; _h *1410(1 |
  1
/&amp;lt;*-): {rn rn {rn o 90-(&amp;gt;-; $ :'/@/&amp;gt;-@&amp;lt;*- 1*=, n 0/:1 m 
  1
 rlqnknjfmijljgfhfmihm n ro n 
  1
 nqfffffffffffffffllk lqnknjfmijljgfhfmmmg 
  1
 m o 
  1
 nqmjnigmiollmlfiikgj:rnl 
  1
 ,/361: -:):-,:; $ -:9 o " V V V V 
  1
 " o o |
  1
/:-,*=:1+r&amp;gt;&amp;lt;&amp;gt;;L036;W6,+0-&amp;amp;r&amp;gt;++-6= {rn rn {rn {rn {nk m j n noonn j n moomn |
  1
):-+:' {rn rn {rn {nk n {lk |
  1
61+&amp;lt;*-):r&amp;lt;*-): {rn rn {rn 90-(&amp;gt;-; $ :'&amp;gt;&amp;lt;+@61+@&amp;lt;*- mmmoo 9*33 1*=, n 0/:1 m 
  1
 o n jo n 
  1
 rmj nqknilgkhmkknnffkggk:rnk o 
  1
 rmj nqknilgkhmkknnffkggk:rnk jo 
  1
 o 
  1
 
  1
 1*33@,*-9&amp;gt;&amp;lt;: 
  1
 1*33@,*-9&amp;gt;&amp;lt;: 
  1
 1*33=, 
  1
 1*33=, 
  1
 V V 
  1
 o 
  1
 o 
  1
 o 
  1
 
  1
 o Y n Y o JQZGKZQ[Z[ JQZGKZQ[Z[ " V V |
  1
/:-,*=:1+r&amp;gt;&amp;lt;&amp;gt;;L036;W6,+0-&amp;amp;r&amp;gt;++-6= {rn rn {rn {rn {ni m j n noomn j n moonn |
  1
):-+:' {rn rn {rn {ni o {lj |
  1
61+&amp;lt;*-):r&amp;lt;*-): {rn rn {rn 90-(&amp;gt;-; $ :'&amp;gt;&amp;lt;+@61+@&amp;lt;*- mmmoo 9*33 1*=, n 0/:1 m 
  1
 o n jo n 
  1
 mj o jo 
  1
 mj o o 
  1
 o 
  1
 
  1
 1*33@,*-9&amp;gt;&amp;lt;: 
  1
 1*33@,*-9&amp;gt;&amp;lt;: 
  1
 1*33=, 
  1
 1*33=, 
  1
 V V 
  1
 o 
  1
 o 
  1
 o 
  1
 
  1
 o Y n Y o JQZGKZQ[Z[ JQZGKZQ[Z[ " V V |
  1
/061+ {rn rn {rn mj o o |
  1
/061+ {rn rn {rn rmj nqknilgkhmkknnffkggk:rnk o |
  1
/:-,*=:1+r&amp;gt;&amp;lt;&amp;gt;;L036;W6,+0-&amp;amp;r&amp;gt;++-6= {rn rn {rn {rn {mm n j n mo |
  1
61+&amp;lt;*-):r&amp;lt;*-): {rn rn {rn 90-(&amp;gt;-; $ :'&amp;gt;&amp;lt;+@61+@&amp;lt;*- mmmoo 9*33 1*-=, m 0/:1 l 
  1
 rlqnknjfmijljgfhfmihm m rnqjhohfilmihfkgfilli m o m 
  1
 rmj nqknilgkhmkknnffkggk:rnk jo n 
  1
 rmkqfffffffffffffgjhf mjqoooooooooooooohnn jo oqhohnoihgnngijkhljoh 
  1
 hqonnmgfghnohloignh:rnj mj jo n 
  1
 mj mkqffffffffffffffmgf jo oqhohnoihgnngijkhhfkg 
  1
 mj o jo n 
  1
 o 
  1
 
  1
 1*33@,*-9&amp;gt;&amp;lt;: 
  1
 1*33@,*-9&amp;gt;&amp;lt;: 
  1
 1*33=, 
  1
 1*33=, 
  1
 V V 
  1
 o 
  1
 o 
  1
 o 
  1
 
  1
 o Y n Y o JQZGKZQ[Z[ JQZGKZQ[Z[ " V V |
  1
/061+ {rn rn {rn rmj nqknilgkhmkknnffkggk:rnk jo |
  1
/061+ {rn rn {rn mj o jo |&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Mar 2018 07:39:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7851811#M188049</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-03-14T07:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7853713#M188050</link>
      <description>&lt;P&gt;Okay, but it is still strange that I cannot find any weight values that I would expect in the files...&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 17:52:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7853713#M188050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-14T17:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7853983#M188051</link>
      <description>&lt;P&gt;There's more to this spline dxf data then I thought.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a spline by first making an arc and then lofting it with another arc. I then exploded the surface and deleted all but one spline in the perfect shape of an arc. It is the cyan spline in the image below.&amp;nbsp; I examined the spline using &lt;STRONG&gt;spinedit&lt;/STRONG&gt; and it indicates the the corner CVs have a weight of 0.7071 (the other weight are 1.0).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then created a spline with 5 CVs and changed the weights of the corner CVs to 0.7071 which yields the red spline!&amp;nbsp; Obviously not a match. Looking at the dxf data for the two splines a couple of things jump out. The good cyan spline is degree 2 whereas the bad fit is the default degree 3. You can see this in the dxf data as well and with &lt;STRONG&gt;splinedit&lt;/STRONG&gt;, &lt;STRONG&gt;E&lt;/STRONG&gt;dit vertex,&lt;STRONG&gt;E&lt;/STRONG&gt;levate ( a default 3 means the spline is now degree 2, a 4 means degree 3).&amp;nbsp; Changing the degree to 2 and using the 0.7071 weight and other noted weights should yield the correct fit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a good list of the dxf attributes for splines:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.autodesk.com/techpubs/autocad/acad2000/dxf/spline_dxf_06.htm" target="_blank"&gt;https://www.autodesk.com/techpubs/autocad/acad2000/dxf/spline_dxf_06.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="SplineArc.JPG" style="width: 437px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/475456iD370BF738DB094DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="SplineArc.JPG" alt="SplineArc.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think with this information you can extract the weights you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note, I used dxf 2018 for this analysis.&amp;nbsp; I do not know if older versions of dxf provide the same information.&amp;nbsp; In the attached file the good spline is on layer GoodFit and the red spline on layer BadFit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 19:11:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7853983#M188051</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-03-14T19:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7854407#M188052</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymouswrote:&lt;BR /&gt;&lt;P&gt;Okay, but it is still strange that I cannot find any weight values that I would expect in the files...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's the problem with encryption, unfortunately. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It sounds like your workflow employs a script.&amp;nbsp; If that implies AutoLisp, maybe this post contains something useful:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.theswamp.org/index.php?topic=25097.msg302271#msg302271" target="_blank"&gt;http://www.theswamp.org/index.php?topic=25097.msg302271#msg302271&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 21:59:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7854407#M188052</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-03-14T21:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7854580#M188053</link>
      <description>&lt;P&gt;This part is interesting:&lt;/P&gt;&lt;PRE&gt;  1
 mj o o n 
  1
 mj o jo n 
  1
 mkqffffffffffffffmgf mkqffffffffffffffmgf o oqhohnoihgnngijkhiglg 
  1
 mkqffffffffffffffmgf mkqffffffffffffffmgf jo oqhohnoihgnngijkhiglg 
  1
 rhqoillhjofgifoimjnoj:rnh mj o n 
  1
 rhqoillhjofgifoimjnoj:rnh mj jo n 
  1
 rmkqffffffffffffffmgf mkqffffffffffffffmgf o oqhohnoihgnngijkhiglg 
  1
 rmkqffffffffffffffmgf mkqffffffffffffffmgf jo oqhohnoihgnngijkhiglg 
  1
 rmj o o n 
  1
 rmj o jo n &lt;/PRE&gt;&lt;P&gt;Look at this comparison (figuring the decimal point maps to "q"):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="4"&gt;0&lt;FONT face="impact,chicago"&gt; &lt;/FONT&gt;. 7071067811865476838&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="5"&gt;oqhohnoihgnngijkhiglg&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 23:29:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7854580#M188053</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-03-14T23:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7855469#M188054</link>
      <description>&lt;P&gt;Here's an Excel worksheet to Encrypt or Decrypt the values one character at a time.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 10:08:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7855469#M188054</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-03-15T10:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7856129#M188055</link>
      <description>&lt;P&gt;Is it feasible for you to work with a .sat file that you export from AutoCAD instead of a dxf file?&amp;nbsp; The CV data is fairly easy to read.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, here's your surface&amp;nbsp;as a sat file.&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="sat1.JPG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/475830i9AA533CE46B4F960/image-size/large?v=v2&amp;amp;px=999" role="button" title="sat1.JPG" alt="sat1.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've highlighted the 10 CVs (x y z weight).&amp;nbsp; If the surface is rotated by 45° about the z axis and displaced to 1.23,3.45,6.78 then the sat file looks like this.&amp;nbsp; The CV data remains the same but a transform statement is added.&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="sat2.JPG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/475833iCB5954E6F843076A/image-size/large?v=v2&amp;amp;px=999" role="button" title="sat2.JPG" alt="sat2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 13:47:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7856129#M188055</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-03-15T13:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7856737#M188056</link>
      <description>&lt;P&gt;That indeed looks interesting! Do you know if it is a 'standard' format mapping? or is it a AutoCAD self made encryption?&lt;/P&gt;&lt;P&gt;I wonder how to be sure where the weight information starts for all NURBS drawings in general. I use 'DXFGrabber' ( &lt;A href="https://pythonhosted.org/dxfgrabber/" target="_blank"&gt;https://pythonhosted.org/dxfgrabber/&lt;/A&gt; ) in Python to extract information from the DXF file. I don't think it has a functionality to read something like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:00:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7856737#M188056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T16:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7856773#M188057</link>
      <description>&lt;P&gt;Thank you all for the great help. It is nice to see so many trying to solve this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried to explode the surface and investigated the weights of them. Indeed the famous sqrt(2)/2 value (0.707) shows up! I see that your .sat file shows exactly the results I need in my script. However, I was unclear on what my goal really is. I have a Python program which uses the 'DXFGrabber' library to read the data from the .DXF file (&lt;A href="https://pythonhosted.org/dxfgrabber/" target="_blank"&gt;https://pythonhosted.org/dxfgrabber/&lt;/A&gt;). I&amp;nbsp;don't think this library has a function to read the NURBS weights, but since these drawings are used in Numerical Analyses, it is pretty important to get the same geometry...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:09:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7856773#M188057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T16:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7857655#M188058</link>
      <description>&lt;P&gt;I have been trying to get the AcDbModelerGeometry list in Python with DXF Grabber, but I cannot find it yet. Does anyone else have some experience with the 'dxfgrabber' library? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Camiel&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 20:26:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7857655#M188058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T20:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7857787#M188059</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymouswrote:&lt;BR /&gt;&lt;P&gt;I have been trying to get the AcDbModelerGeometry list in Python with DXF Grabber, but I cannot find it yet. Does anyone else have some experience with the 'dxfgrabber' library? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Camiel&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If I had to guess, you’re going to be on your own with that one.&amp;nbsp; As overwhelming as that may seem, it does offer an opportunity to do some true “trailblazing”.&lt;BR /&gt;Take the advice of &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/822616"&gt;@leeminardi&lt;/a&gt; and analyze the readable version of a SAT file, as well as stepping through some of the material I’ve posted to address the XOR encryption.&amp;nbsp; I’m certain that the portions of the file unavailable through dxfgrabber could be parsed as Text/Characters with the native capabilities of Python.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 21:09:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7857787#M188059</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-03-15T21:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7858845#M188060</link>
      <description>&lt;P&gt;Okay, I will certainly use your advise. I have AutoCAD 2017 and the latest version in DXF I can save is 2013. I wanted to look whether the control point weight are also written separately (Like the 2018 DXF version), however, the answer is no. The strange thing now is that I thought it is saved in the ModelerGeometry encryption then, but also here I cannot find anything. Could there be yet another way of saving the weights in the 2013 version?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 07:39:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7858845#M188060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-16T07:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7858864#M188061</link>
      <description>&lt;P&gt;Does anyone know if the weights of the NURBS surface are also are directly specified for an AutoCAD 2018 version (under a 41 code for instance). Then I can consider rewriting everything for the 2018 version and just extract the weights directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 07:50:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7858864#M188061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-16T07:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extract NURBS Surface control point weights from .DXF file</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7861674#M188062</link>
      <description>&lt;P&gt;I don't really have much to add regarding python/DXF/dxfgrabber and Modeler entities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will point out, though, that there may be another, somewhat pertinent, option.&amp;nbsp; It sounds like IronPython has access to all of the AutoCAD APIs available to the .NET based languages.&amp;nbsp; If you have AutoCAD, then the Database, Geometry, and BREP namespaces offer a much more direct method of retrieving the data you need for analysis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2009/03/using-ironpython-with-autocad.html" target="_blank"&gt;http://through-the-interface.typepad.com/through_the_interface/2009/03/using-ironpython-with-autocad.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Mar 2018 09:50:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/extract-nurbs-surface-control-point-weights-from-dxf-file/m-p/7861674#M188062</guid>
      <dc:creator>SEANT61</dc:creator>
      <dc:date>2018-03-17T09:50:13Z</dc:date>
    </item>
  </channel>
</rss>

