<?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: convert Arc to polyline in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748076#M10000</link>
    <description>&lt;P&gt;Yes, create new Polyline, add the two arc ends as vertices, calculate bulge and set it for the polyline segment.&lt;/P&gt;</description>
    <pubDate>Sat, 11 Feb 2023 21:42:50 GMT</pubDate>
    <dc:creator>MGO-Norsyn</dc:creator>
    <dc:date>2023-02-11T21:42:50Z</dc:date>
    <item>
      <title>convert Arc to polyline</title>
      <link>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748061#M9999</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;There is a way to convert arc segment to polyline object ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2023 21:28:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748061#M9999</guid>
      <dc:creator>youssefGC</dc:creator>
      <dc:date>2023-02-11T21:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: convert Arc to polyline</title>
      <link>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748076#M10000</link>
      <description>&lt;P&gt;Yes, create new Polyline, add the two arc ends as vertices, calculate bulge and set it for the polyline segment.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2023 21:42:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748076#M10000</guid>
      <dc:creator>MGO-Norsyn</dc:creator>
      <dc:date>2023-02-11T21:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: convert Arc to polyline</title>
      <link>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748078#M10001</link>
      <description>&lt;LI-CODE lang="csharp"&gt;double r = arc.Radius;
double u = arcStartPoint.GetDistanceTo(arcEndPoint);
double b = (2 * (r - Math.Sqrt(r.Pow(2) - u.Pow(2) / 4))) / u;&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 11 Feb 2023 21:47:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748078#M10001</guid>
      <dc:creator>MGO-Norsyn</dc:creator>
      <dc:date>2023-02-11T21:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: convert Arc to polyline</title>
      <link>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748126#M10002</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Here's an example (refactored code):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;                var pline = new Polyline();
                double angle = arc.EndAngle - arc.StartAngle;
                if (angle &amp;lt; 0.0) 
                    angle += 2.0 * Math.PI;
                double bulge = Math.Tan(angle / 4.0);
                var plane = new Plane(Point3d.Origin, arc.Normal);
                pline.AddVertexAt(0, arc.StartPoint.Convert2d(plane), bulge, 0.0, 0.0);
                pline.AddVertexAt(1, arc.EndPoint.Convert2d(plane), 0.0, 0.0, 0.0);
                pline.Normal = arc.Normal;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Feb 2023 08:08:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748126#M10002</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2023-02-12T08:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: convert Arc to polyline</title>
      <link>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748153#M10003</link>
      <description>&lt;P&gt;Thank you _gile, I'm still learning from your tricks.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2023 23:10:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748153#M10003</guid>
      <dc:creator>youssefGC</dc:creator>
      <dc:date>2023-02-11T23:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: convert Arc to polyline</title>
      <link>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748159#M10004</link>
      <description>&lt;P&gt;Thank you, but it doesn't march when I put an arc with an angle greater than 180 degrees&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2023 23:14:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/convert-arc-to-polyline/m-p/11748159#M10004</guid>
      <dc:creator>youssefGC</dc:creator>
      <dc:date>2023-02-11T23:14:37Z</dc:date>
    </item>
  </channel>
</rss>

