<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'I need an example of a DXF reading function' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'I need an example of a DXF reading function' posted on the 'Computer Graphics' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 14:20:06 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 14:20:06 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>I need an example of a DXF reading function</title>
      <link>http://www.programmersheaven.com/mb/graphics/8226/8226/i-need-an-example-of-a-dxf-reading-function/</link>
      <description>has anybody got a DXF reading function and a way to&amp;lt;br&amp;gt;&lt;br /&gt;
simply display the drawn polygons on the screen?&amp;lt;br&amp;gt;&lt;br /&gt;
I dont need them to move or anything.&amp;lt;p&amp;gt;&lt;br /&gt;
//onion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/8226/8226/i-need-an-example-of-a-dxf-reading-function/</guid>
      <pubDate>Wed, 12 May 1999 09:55:29 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>Re: I need an example of a DXF reading function</title>
      <link>http://www.programmersheaven.com/mb/graphics/8226/8261/re-i-need-an-example-of-a-dxf-reading-function/#8261</link>
      <description>: has anybody got a DXF reading function and a way to&amp;lt;br&amp;gt;&lt;br /&gt;
: simply display the drawn polygons on the screen?&amp;lt;br&amp;gt;&lt;br /&gt;
: I dont need them to move or anything.&amp;lt;p&amp;gt;&lt;br /&gt;
: //onion&amp;lt;br&amp;gt;&lt;br /&gt;
Actually its pretty easy to read DXF files if you know the file format. Basically its 4 XYZ coords that make up a triangle. The 4th coord is the same as the third coord?. This goes on and on until the whole object is built. The best way to figure them out is to open one up and look at it and experiment. I learned a DXF file of a box. Be sure to have a copy of all the codes of a DXF file handy.&amp;lt;br&amp;gt;&lt;br /&gt;
//This is an example of a sample DXF file&amp;lt;br&amp;gt;&lt;br /&gt;
//&amp;lt;br&amp;gt;&lt;br /&gt;
3DFACE //means a definition of a trianle follows&amp;lt;br&amp;gt;&lt;br /&gt;
8//read up on these code in a DXF file format DOC&amp;lt;br&amp;gt;&lt;br /&gt;
0__f10&amp;lt;br&amp;gt;&lt;br /&gt;
62&amp;lt;br&amp;gt;&lt;br /&gt;
0&amp;lt;br&amp;gt;&lt;br /&gt;
10 //the code means folling number is an X coord&amp;lt;br&amp;gt;&lt;br /&gt;
154.43199157&amp;lt;br&amp;gt;&lt;br /&gt;
20//folling is a Y coord&amp;lt;br&amp;gt;&lt;br /&gt;
39.62400054&amp;lt;br&amp;gt;&lt;br /&gt;
30//following is a Z coord&amp;lt;br&amp;gt;&lt;br /&gt;
1257.29992675&amp;lt;br&amp;gt;&lt;br /&gt;
11//another X coord (defining second vertex of triangle)&amp;lt;br&amp;gt;&lt;br /&gt;
145.28799438&amp;lt;br&amp;gt;&lt;br /&gt;
21&amp;lt;br&amp;gt;&lt;br /&gt;
2.03200006&amp;lt;br&amp;gt;&lt;br /&gt;
31&amp;lt;br&amp;gt;&lt;br /&gt;
1259.33203125&amp;lt;br&amp;gt;&lt;br /&gt;
12          //defining 3rd vertex&amp;lt;br&amp;gt;&lt;br /&gt;
148.33599853&amp;lt;br&amp;gt;&lt;br /&gt;
22&amp;lt;br&amp;gt;&lt;br /&gt;
35.55999755&amp;lt;br&amp;gt;&lt;br /&gt;
32&amp;lt;br&amp;gt;&lt;br /&gt;
1217.67602539&amp;lt;br&amp;gt;&lt;br /&gt;
13//defining 4th vertex (same as 3rd)&amp;lt;br&amp;gt;&lt;br /&gt;
148.33599853&amp;lt;br&amp;gt;&lt;br /&gt;
23&amp;lt;br&amp;gt;&lt;br /&gt;
35.55999755&amp;lt;br&amp;gt;&lt;br /&gt;
33&amp;lt;br&amp;gt;&lt;br /&gt;
1217.67602539&amp;lt;br&amp;gt;&lt;br /&gt;
0&amp;lt;br&amp;gt;&lt;br /&gt;
//goes on till file is finished&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/8226/8261/re-i-need-an-example-of-a-dxf-reading-function/#8261</guid>
      <pubDate>Mon, 21 Jun 1999 13:16:05 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
  </channel>
</rss>