<?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 find whether an arc is clockwise or counter-clockwise in DXF file? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7660436#M197190</link>
    <description>&lt;P&gt;Thank you for your response. Actually what you have sais is correct. But group&amp;nbsp;codes 210,220 and 230 are optional as per the DXF reference manual. It may be present or may not be present. I got another method to find out whether it is clockwise or anti-clockwise. At first you have to calculate bulge of the arc. It is nothing but the amount of curvature. if you got it as negative then&amp;nbsp;arc is clockwise if it is positive then it is anti-clockwise. If it is a&lt;STRONG&gt; Poly Line&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;ARC&lt;/STRONG&gt; then DXF file itself&amp;nbsp;will give you the value of the bulge. If it is a&lt;STRONG&gt; normal&amp;nbsp;ARC&lt;/STRONG&gt; that you have&amp;nbsp;drawn then you need to calculate the value of the bulge using the formula.&amp;nbsp;You can find the explanation and related&amp;nbsp;formulae&amp;nbsp;&amp;nbsp;in the below link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.afralisp.net/archive/lisp/Bulges1.htm" target="_self"&gt;http://www.afralisp.net/archive/lisp/Bulges1.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;Thank You&lt;/P&gt;&lt;P&gt;-Vinay&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2018 10:44:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-03T10:44:28Z</dc:date>
    <item>
      <title>How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7657875#M197182</link>
      <description>&lt;P&gt;As you all know DXF file can be opened in text viewer also. In that, ENTITIES section consists of details about the drawing. In particular I want information about the entity ARC. If an arc is drawn in the AutoCAD its data will be generated in DXF file which will be in text format. But it consists of ARC radius, centre points, start angle and end angles. It does not give whether the arc is clockwise&amp;nbsp;or counter-clockwise. How to determine it please somebody help me. I have attached a screenshot also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Vinay&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 06:34:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7657875#M197182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-02T06:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7657905#M197183</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;i just want to remind&lt;/U&gt; that in AutoCAD&amp;nbsp;&lt;SPAN&gt;Arcs are drawn in a &lt;U&gt;counterclockwise&lt;/U&gt; direction by default. and by holding down the Ctrl key as you drag to draw in a clockwise direction. hope that help .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 06:55:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7657905#M197183</guid>
      <dc:creator>imadHabash</dc:creator>
      <dc:date>2018-01-02T06:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7657955#M197184</link>
      <description>&lt;P&gt;The way it is drawn doesn't matter.&lt;/P&gt;
&lt;P&gt;Forever, the arc is written in mathematical direction (counterclockwise) in any DXF file.&lt;/P&gt;
&lt;P&gt;The only way to know would be to know the previous attached (point to point) line or object in the database.&lt;/P&gt;
&lt;P&gt;Maybe a use of polyline instead of arc and lines (I guess)&lt;/P&gt;
&lt;P&gt;Sorry for you&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 07:41:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7657955#M197184</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2018-01-02T07:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7658353#M197185</link>
      <description>&lt;P&gt;All Arcs are counterclockwise.&amp;nbsp; It doesn't matter in which direction or under which options it was &lt;EM&gt;drawn&lt;/EM&gt; -- the data for it is always stored with the curve of it progressing counterclockwise from the stored start angle to the end angle.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 12:30:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7658353#M197185</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-01-02T12:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7659498#M197186</link>
      <description>&lt;P&gt;I'd like to add that DXF does not store how the arc was drawn.&amp;nbsp; It stores just enough information to recreate the arc.&amp;nbsp; For example, if you drew an arc using 3 points along its circumference in either&amp;nbsp; clockwise or counterclockwise direction, DXF will not store the 3 points you used but will store the 3D center point of the arc and its radius.&amp;nbsp; If the arc lies on the XY plane then the normal vector will assumed to be 0,0,1.&amp;nbsp; If the arc does not lie parallel to the XY plane then the normal vector will be include (DXF codes 210, 220, 230) and the x axis used for measuring the angle will be defined via the rules of the arbitrary axis algortithm.&amp;nbsp;&amp;nbsp;&lt;A href="https://www.autodesk.com/techpubs/autocad/acadr14/dxf/arbitrary_axis_algorithm_al_u05_c.htm" target="_blank"&gt;https://www.autodesk.com/techpubs/autocad/acadr14/dxf/arbitrary_axis_algorithm_al_u05_c.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 22:15:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7659498#M197186</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-01-02T22:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7659744#M197187</link>
      <description>&lt;P&gt;It is interesting.&lt;/P&gt;
&lt;P&gt;IMO the following is a true statement:&lt;/P&gt;
&lt;P&gt;Arcs are drawn in a counterclockwise direction in AutoCAD by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However if checking an existing arc I found something different.&amp;nbsp;Here is my&amp;nbsp;experiment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I drawn an arc starting at lower-right corner and ending at upper-left corner in 1st quadrant on "X-Y" plane.&lt;/P&gt;
&lt;P&gt;Then use "3drotate" command rotate it 180 degrees by selecting "Y" axis as rotation axis.&lt;/P&gt;
&lt;P&gt;Now the arc is in 2nd quadrant.&lt;/P&gt;
&lt;P&gt;When I use "pEdit" command to check the vertexes of the arc (actually it is converted to&amp;nbsp;a polyline segment), I found the arc now is in clockwise direction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the DFX data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- - - - - - - - - - - - - - - -&lt;/P&gt;
&lt;P&gt;Arc in 1st quadrant&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ARC&lt;BR /&gt;&amp;nbsp; 5&lt;BR /&gt;8D28&lt;BR /&gt;330&lt;BR /&gt;1E&lt;BR /&gt;100&lt;BR /&gt;AcDbEntity&lt;BR /&gt;&amp;nbsp; 8&lt;BR /&gt;0&lt;BR /&gt;100&lt;BR /&gt;AcDbCircle&lt;BR /&gt;&amp;nbsp;10&lt;BR /&gt;684.0251252695512&lt;BR /&gt;&amp;nbsp;20&lt;BR /&gt;201.2135767275527&lt;BR /&gt;&amp;nbsp;30&lt;BR /&gt;0.0&lt;BR /&gt;&amp;nbsp;40&lt;BR /&gt;190.9610975440021&lt;BR /&gt;100&lt;BR /&gt;AcDbArc&lt;BR /&gt;&amp;nbsp;50&lt;BR /&gt;11.72219891656158&lt;BR /&gt;&amp;nbsp;51&lt;BR /&gt;83.73151582609727&lt;BR /&gt;&amp;nbsp; 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- - - - - - - - - - - - - - - -&lt;/P&gt;
&lt;P&gt;Arc in 2nd quadrant before using "pEdit"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ARC&lt;BR /&gt;&amp;nbsp; 5&lt;BR /&gt;8D28&lt;BR /&gt;330&lt;BR /&gt;1E&lt;BR /&gt;100&lt;BR /&gt;AcDbEntity&lt;BR /&gt;&amp;nbsp; 8&lt;BR /&gt;0&lt;BR /&gt;100&lt;BR /&gt;AcDbCircle&lt;BR /&gt;&amp;nbsp;10&lt;BR /&gt;-684.0251252695512&lt;BR /&gt;&amp;nbsp;20&lt;BR /&gt;201.2135767275527&lt;BR /&gt;&amp;nbsp;30&lt;BR /&gt;-0.0000000000001264&lt;BR /&gt;&amp;nbsp;40&lt;BR /&gt;190.9610975440021&lt;BR /&gt;210&lt;BR /&gt;-0.0000000000000001&lt;BR /&gt;220&lt;BR /&gt;-0.0000000000000004&lt;BR /&gt;230&lt;BR /&gt;-1.0&lt;BR /&gt;100&lt;BR /&gt;AcDbArc&lt;BR /&gt;&amp;nbsp;50&lt;BR /&gt;11.72219891656071&lt;BR /&gt;&amp;nbsp;51&lt;BR /&gt;83.73151582609114&lt;BR /&gt;&amp;nbsp; 0&lt;/P&gt;
&lt;P&gt;- - - - - - - - - - - - - - - -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is also noticeable that start&amp;nbsp;angle and end&amp;nbsp;angle of 2 arcs are about the same shown above.&lt;/P&gt;
&lt;P&gt;The group codes of extrusion direction "210", "220" and "230" are only shown in data of the 2nd quadrant arc. This may verify a clockwise arc.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 01:27:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7659744#M197187</guid>
      <dc:creator>BeKirra</dc:creator>
      <dc:date>2018-01-03T01:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7659901#M197188</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/468723"&gt;@BeKirra&lt;/a&gt;&amp;nbsp;states "&lt;EM&gt;IMO the following is a true statement:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Arcs are drawn in a counterclockwise direction in AutoCAD by default.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;However if checking an existing arc I found something different.&amp;nbsp;Here is my&amp;nbsp;experiment...."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is true that AutoCAD draws arcs in a counterclockwise direction but&amp;nbsp;it could appear to a user that it is clockwise if the user is looking at the arc from the opposite direction!&amp;nbsp; AutoCAD uses a right hand rule for defining arc direction.&amp;nbsp; That is, if the thumb of your right hand points it the positive direction of the arc's z axis (its normal vector), the curled fingers of the right hand define the positive arc angle direction.&amp;nbsp; Thus if you are looking a the top view and the arc lies on the XY plane, the z direction is point to you and positive angles are measure in a CCW direction.&amp;nbsp; However, if you were to look at the same arc from the bottom view the Z axis is now pointing away from you and clockwise becomes the &lt;U&gt;apparent&lt;/U&gt; positive direction although the arcs true angle direction is CCW when looking down (in the opposite direction) of the normal vector.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your example, the second arc has a normal pointing in the negative Z direction as indicated by the DXF codes 210, 220, 230 which are 0,0,-1.&amp;nbsp; The angles are the same as the first arc (DXF codes 50 and 51) because the arc's angles still use a positive counter clockwise direction&amp;nbsp; but you are viewing it from the opposite direction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The right hand rule is necessary to maintain a consistency for arcs that can freely rotated in 3D.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 03:54:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7659901#M197188</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-01-03T03:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7659904#M197189</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/468723"&gt;@BeKirra&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
....
&lt;P&gt;Arcs are drawn in a counterclockwise direction in AutoCAD by default.&lt;/P&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I drawn an arc starting at lower-right corner and ending at upper-left corner in 1st quadrant on "X-Y" plane.&lt;/P&gt;
&lt;P&gt;... "3drotate"&amp;nbsp;... 180 degrees&amp;nbsp;... "Y" axis as rotation axis.&lt;/P&gt;
&lt;P&gt;Now the arc is in 2nd quadrant.&lt;/P&gt;
&lt;P&gt;When I use "pEdit" command to check the vertexes of the arc (actually it is converted to&amp;nbsp;a polyline segment), I found the arc now is in clockwise direction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
....
&lt;P&gt;Arc in 2nd quadrant before using "pEdit"&lt;/P&gt;
&lt;P&gt;....&lt;BR /&gt;210&lt;BR /&gt;-0.0000000000000001&lt;BR /&gt;220&lt;BR /&gt;-0.0000000000000004&lt;BR /&gt;230&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;1.0&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;The group codes of extrusion direction "210", "220" and "230" are only shown in data of the 2nd quadrant arc. This may verify a clockwise arc.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would word that first sentence quoted above differently -- the information about them is always &lt;EM&gt;stored as though&lt;/EM&gt;&amp;nbsp; they were drawn counterclockwise, but they can be &lt;EM&gt;drawn&lt;/EM&gt;&amp;nbsp; clockwise in several ways, at least in terms of the process of defining their geometry in a drawing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Polyline equivalent/conversion may "look" clockwise from &lt;EM&gt;your&lt;/EM&gt;&amp;nbsp; point of view [assuming you haven't changed&amp;nbsp;that&amp;nbsp;since you drew the initial Arc], but &lt;EM&gt;not from its own&lt;/EM&gt;.&amp;nbsp; Note the&amp;nbsp; &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;1.0&lt;/FONT&gt;&amp;nbsp; Z coordinate [code 230] of the extrusion direction for the second&amp;nbsp;Arc -- that's &lt;EM&gt;downward&lt;/EM&gt;.&amp;nbsp; Looking from "your" &lt;EM&gt;underneath&lt;/EM&gt;&amp;nbsp; [which is its own point of view because of that extrusion direction], it's still counterclockwise.&amp;nbsp; The 210/220/230 codes&amp;nbsp;are present only for the second one because when they are &lt;EM&gt;not&lt;/EM&gt;&amp;nbsp; present, the extrusion direction is 0,0,&lt;FONT color="#0000ff"&gt;(+)&lt;/FONT&gt;1 -- see the &lt;A href="http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-0B14D8F1-0EBA-44BF-9108-57D8CE614BC8" target="_blank"&gt;DXF Reference for an Arc&lt;/A&gt; and note the "optional" under codes 210/220/230 and the description under 210 that 0,0,1 is assumed if not present.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 03:57:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7659904#M197189</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-01-03T03:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7660436#M197190</link>
      <description>&lt;P&gt;Thank you for your response. Actually what you have sais is correct. But group&amp;nbsp;codes 210,220 and 230 are optional as per the DXF reference manual. It may be present or may not be present. I got another method to find out whether it is clockwise or anti-clockwise. At first you have to calculate bulge of the arc. It is nothing but the amount of curvature. if you got it as negative then&amp;nbsp;arc is clockwise if it is positive then it is anti-clockwise. If it is a&lt;STRONG&gt; Poly Line&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;ARC&lt;/STRONG&gt; then DXF file itself&amp;nbsp;will give you the value of the bulge. If it is a&lt;STRONG&gt; normal&amp;nbsp;ARC&lt;/STRONG&gt; that you have&amp;nbsp;drawn then you need to calculate the value of the bulge using the formula.&amp;nbsp;You can find the explanation and related&amp;nbsp;formulae&amp;nbsp;&amp;nbsp;in the below link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.afralisp.net/archive/lisp/Bulges1.htm" target="_self"&gt;http://www.afralisp.net/archive/lisp/Bulges1.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;Thank You&lt;/P&gt;&lt;P&gt;-Vinay&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 10:44:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7660436#M197190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-03T10:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7660682#M197191</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;.... But group&amp;nbsp;codes 210,220 and 230 are optional as per the DXF reference manual. It may be present or may not be present&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;EM&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;:::&lt;/STRONG&gt; KC -- And if they are&amp;nbsp; &lt;/FONT&gt;&lt;/EM&gt;&lt;FONT color="#ff0000"&gt;not&lt;/FONT&gt;&lt;EM&gt;&lt;FONT color="#ff0000"&gt; present, then the extrusion direction&amp;nbsp; &lt;/FONT&gt;&lt;/EM&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;is&lt;/STRONG&gt;&lt;/FONT&gt;&lt;EM&gt;&lt;FONT color="#ff0000"&gt; 0,0,1 -- their absence doesn't leave anything indeterminate.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I got another method to find out whether it is clockwise or anti-clockwise. .... If it is a&lt;STRONG&gt; normal&amp;nbsp;ARC&lt;/STRONG&gt; that you have&amp;nbsp;drawn then you need to calculate the value of the bulge using the formula.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;EM&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;:::&lt;/STRONG&gt; KC -- If it is a normal Arc, its direction is counterclockwise, always -- there is no other possibility.&amp;nbsp; If you want to know whether it's clockwise&amp;nbsp; &lt;/FONT&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;f&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;rom the perspective of the World Coordinate System&lt;/FONT&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;FONT color="#ff0000"&gt;, as in your example&amp;nbsp;after 3DRotating one, you don't need to calculate anything.&amp;nbsp; Just look at its entity data --&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;(entget (car (entsel "\nSelect the Arc: ")))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#ff0000"&gt;will return a list that includes (210 0.0 0.0 &lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/FONT&gt;1.0) with the &lt;FONT color="#0000ff"&gt;negative&lt;/FONT&gt; Z component.&amp;nbsp; But from its own point of view, it's still counterclockwise.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
....&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 13:02:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7660682#M197191</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-01-03T13:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7662331#M197192</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; wrote:&lt;BR /&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;However, if you were to look at the same arc from the bottom view the Z axis is now pointing away from you and clockwise becomes the &lt;U&gt;apparent&lt;/U&gt; positive direction although the arcs true angle direction is CCW when looking down (in the opposite direction) of the normal vector.&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;The right hand rule&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I know what you mean. However&amp;nbsp;you probably misunderstood my reply to OP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me restate OP's question:&lt;/P&gt;
&lt;P&gt;"How to find whether an arc is clockwise or counter-clockwise in DXF file?"&lt;/P&gt;
&lt;P&gt;There are 2 categories of arc in this question.&lt;/P&gt;
&lt;P&gt;1. arc that user newly drawn&lt;/P&gt;
&lt;P&gt;2. arc which is existing.&lt;/P&gt;
&lt;P&gt;I focused on the latter and the example given in my post #6 is a situation that user may experience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 21:54:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7662331#M197192</guid>
      <dc:creator>BeKirra</dc:creator>
      <dc:date>2018-01-03T21:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7662366#M197193</link>
      <description>&lt;P&gt;In my example, the only purpose that using "pEdit" on the drawing is to find 1st and 2nd vertex on the "arc", both in original position and rotated position.&lt;/P&gt;
&lt;P&gt;And thanks for the link.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 22:14:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7662366#M197193</guid>
      <dc:creator>BeKirra</dc:creator>
      <dc:date>2018-01-03T22:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7662764#M197194</link>
      <description>&lt;P&gt;I agree with you. But one does draw the arc in clockwise direction then what will be the situation? If I draw the arc in clockwise direction also group code did not appear in the DXF file. It may appear if you draw the arc using AutoCAD. But if you draw the arc using other software like AutoCAD then it will not appear for clockwise direction also. Since I am developing a software to read the DXF file and display the drawing I have to consider both clockwise and anti-clockwise. One other thing, I am considering only 2D drawings and not 3D drawings.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 03:23:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7662764#M197194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-04T03:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7663335#M197195</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once again: Any software can write and interpret (read) DXF data as it pleases.&lt;BR /&gt;(if you only read in your own data and you never share these files with others/other software, you can also give an object CIRCLE the look like a rectangle and the definition of a polyline)&lt;BR /&gt;That's your thing - but not useful.&lt;BR /&gt;&lt;BR /&gt;But there is only one "correct" definition for the DXF (per version) and that comes from the company AutoDesk.&lt;BR /&gt;These should be used as a benchmark, everyone should do so, and thus the probability of success&lt;BR /&gt;is the highest in terms of trouble-free data exchange.&lt;BR /&gt;&lt;BR /&gt;DXF is not documented to 100% but for these simple things it is more than enought.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;"But one does draw the arc in clockwise direction then what will be the situation? "&lt;/EM&gt;&lt;BR /&gt;You can draw an ARC (in a Coordinatesystem parallel to WCS / with the same direction)&lt;BR /&gt;in all kind you want. Left to right from roof to bottom, the DXF-definition is &lt;BR /&gt;to store the ARC-data anti/counter-clockwise.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;"If I draw the arc in clockwise direction also group code did not appear in the DXF file."&lt;/EM&gt;&lt;BR /&gt;Because you don't understand coordinatesystems / what the normal vector is (210,220,230) ? &lt;A href="http://mathworld.wolfram.com/NormalVector.html" target="_blank"&gt;http://mathworld.wolfram.com/NormalVector.html&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;"Since I am developing a software to read the DXF file and display"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"the drawing I have to consider both clockwise and anti-clockwise."&lt;/EM&gt;&lt;BR /&gt;For WRITING a DXF (blank ascii text, without an DXF-wrapper/programming interface) you have to consider both,&lt;BR /&gt;because you have to calculate the User-input data for the ARC to counterclockwise informations for writing to the DXF file.&lt;BR /&gt;If you write DXF ARC-Data in clockwise order, the ARC appears in other Software wrong, because all well DXF-import interfaces assume that the data is counterclockwise.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;"One other thing, I am considering only 2D drawings and not 3D drawings."&lt;/EM&gt;&lt;BR /&gt;It is possible, perfect and simple for you, BUT if you import a DXF which is not wrote by your program, you have to consider the 3.dimension&lt;/P&gt;
&lt;P&gt;and so you have consider the normal 210,220,230 by import DXF-Datas too.&lt;BR /&gt;&lt;BR /&gt;It is what it is.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 10:40:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7663335#M197195</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2018-01-04T10:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to find whether an arc is clockwise or counter-clockwise in DXF file?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7663918#M197196</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;one does draw the arc in clockwise direction then what will be the situation?.....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The situation will be the same as if it were drawn in some other way -- that the &lt;EM&gt;entity data stored about that Arc&lt;/EM&gt;&amp;nbsp; will be a center point, a radius,&amp;nbsp;starting and ending angles from the center to the ends, &lt;EM&gt;always&lt;/EM&gt;&amp;nbsp; with the "start" and "end" defined as proceeding in a counterclockwise direction, and an extrusion direction [and Layer, and other properties that all entity types share].&amp;nbsp; &lt;EM&gt;How the Arc was drawn&lt;/EM&gt;&amp;nbsp; is completely irrelevant &lt;EM&gt;after&lt;/EM&gt;&amp;nbsp; it has been drawn.&amp;nbsp; And consider this:&amp;nbsp; what if you drew a &lt;EM&gt;Circle&lt;/EM&gt;, and then used Trim or Break to remove part of it?&amp;nbsp; The resulting Arc &lt;EM&gt;wasn't drawn as an Arc&lt;/EM&gt;, so how could one say in which "direction" it was drawn?&amp;nbsp; But its entity data will be stored in the same way.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 14:28:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-find-whether-an-arc-is-clockwise-or-counter-clockwise-in/m-p/7663918#M197196</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-01-04T14:28:38Z</dc:date>
    </item>
  </channel>
</rss>

