<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SDXF &#8211; Python Library for DXF</title>
	<atom:link href="http://www.kellbot.com/sdxf-python-library-for-dxf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kellbot.com</link>
	<description>Tinysaurs and Hacking and Nonsense</description>
	<lastBuildDate>Mon, 07 May 2012 11:42:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: GBurnell</title>
		<link>http://www.kellbot.com/sdxf-python-library-for-dxf/comment-page-1/#comment-29629</link>
		<dc:creator>GBurnell</dc:creator>
		<pubDate>Mon, 07 Nov 2011 23:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.kellbot.com/?page_id=53#comment-29629</guid>
		<description>For those banging their headers against a brick wall with lwpolylines:
The issue with LWPOLYLINEs is that they were only introduced in R14. Autocad (unlike perhaps other dxf readers?) is a bit strict and believes the version number it is given in the dxf file and carps if it sees entities that shouldn&#039;t exist in R10 files. Unfortunately bumping the release number up to emulate R14 files isn&#039;t sufficient as you also need to have the code generate handles for lots of entities. So far I can&#039;t get a set of handles that doesn&#039;t make autocad fall over...</description>
		<content:encoded><![CDATA[<p>For those banging their headers against a brick wall with lwpolylines:<br />
The issue with LWPOLYLINEs is that they were only introduced in R14. Autocad (unlike perhaps other dxf readers?) is a bit strict and believes the version number it is given in the dxf file and carps if it sees entities that shouldn&#8217;t exist in R10 files. Unfortunately bumping the release number up to emulate R14 files isn&#8217;t sufficient as you also need to have the code generate handles for lots of entities. So far I can&#8217;t get a set of handles that doesn&#8217;t make autocad fall over&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kellbot</title>
		<link>http://www.kellbot.com/sdxf-python-library-for-dxf/comment-page-1/#comment-28740</link>
		<dc:creator>Kellbot</dc:creator>
		<pubDate>Fri, 28 Oct 2011 20:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.kellbot.com/?page_id=53#comment-28740</guid>
		<description>Hi johannes,

I&#039;m not working on this project at the moment, but if you make improvements I&#039;d be happy to add them.

I need to move this onto GitHub but haven&#039;t had the spare cycles to do so. Perhaps someone already has?!</description>
		<content:encoded><![CDATA[<p>Hi johannes,</p>
<p>I&#8217;m not working on this project at the moment, but if you make improvements I&#8217;d be happy to add them.</p>
<p>I need to move this onto GitHub but haven&#8217;t had the spare cycles to do so. Perhaps someone already has?!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kellbot</title>
		<link>http://www.kellbot.com/sdxf-python-library-for-dxf/comment-page-1/#comment-28739</link>
		<dc:creator>Kellbot</dc:creator>
		<pubDate>Fri, 28 Oct 2011 20:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.kellbot.com/?page_id=53#comment-28739</guid>
		<description>Hi Franco, this is all the documentation there is, sorry! But if you play with it and want to add to the documentation, send it to me and I can add it.

Hola Franco, esta es toda la documentación que hay, lo siento! Pero si usted trabaja con él y desea agregar a la documentación, me lo envíe y puedo añadir.</description>
		<content:encoded><![CDATA[<p>Hi Franco, this is all the documentation there is, sorry! But if you play with it and want to add to the documentation, send it to me and I can add it.</p>
<p>Hola Franco, esta es toda la documentación que hay, lo siento! Pero si usted trabaja con él y desea agregar a la documentación, me lo envíe y puedo añadir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franco Valledor</title>
		<link>http://www.kellbot.com/sdxf-python-library-for-dxf/comment-page-1/#comment-28737</link>
		<dc:creator>Franco Valledor</dc:creator>
		<pubDate>Fri, 28 Oct 2011 20:18:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.kellbot.com/?page_id=53#comment-28737</guid>
		<description>Hola podrías publicar la documentación completa de esta librería?? Gracias</description>
		<content:encoded><![CDATA[<p>Hola podrías publicar la documentación completa de esta librería?? Gracias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Schmitz</title>
		<link>http://www.kellbot.com/sdxf-python-library-for-dxf/comment-page-1/#comment-21951</link>
		<dc:creator>Johannes Schmitz</dc:creator>
		<pubDate>Sat, 30 Jul 2011 13:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.kellbot.com/?page_id=53#comment-21951</guid>
		<description>I found that even in your test code at the end of sdxf.py
There is no test for Point.
You should complete your testcases.</description>
		<content:encoded><![CDATA[<p>I found that even in your test code at the end of sdxf.py<br />
There is no test for Point.<br />
You should complete your testcases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Schmitz</title>
		<link>http://www.kellbot.com/sdxf-python-library-for-dxf/comment-page-1/#comment-21950</link>
		<dc:creator>Johannes Schmitz</dc:creator>
		<pubDate>Sat, 30 Jul 2011 12:58:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.kellbot.com/?page_id=53#comment-21950</guid>
		<description>Hello,
how can I draw a point, I can not find out the exact syntax.

d.append(sdxf.Point(points=[(2,2)]))

This does not work for me.
I am opening the resulting file with qcad. Drawing Lines and Text like in the example works fine.

Johannes</description>
		<content:encoded><![CDATA[<p>Hello,<br />
how can I draw a point, I can not find out the exact syntax.</p>
<p>d.append(sdxf.Point(points=[(2,2)]))</p>
<p>This does not work for me.<br />
I am opening the resulting file with qcad. Drawing Lines and Text like in the example works fine.</p>
<p>Johannes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chinnaswamy</title>
		<link>http://www.kellbot.com/sdxf-python-library-for-dxf/comment-page-1/#comment-8155</link>
		<dc:creator>Chinnaswamy</dc:creator>
		<pubDate>Sun, 14 Mar 2010 05:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.kellbot.com/?page_id=53#comment-8155</guid>
		<description>Hi ,
         I have tried to run Example code of Hello World with Python 2.6.4.  When tried to run the program, the message is &quot;There&#039;s an error in your program: invalid syntax&quot;.  

The item that highlighted in the pythons code is &quot;6&quot; of Python 2.6.4.

Ca you please help in sorting out.

Thanks

Chinnaswamy</description>
		<content:encoded><![CDATA[<p>Hi ,<br />
         I have tried to run Example code of Hello World with Python 2.6.4.  When tried to run the program, the message is &#8220;There&#8217;s an error in your program: invalid syntax&#8221;.  </p>
<p>The item that highlighted in the pythons code is &#8220;6&#8243; of Python 2.6.4.</p>
<p>Ca you please help in sorting out.</p>
<p>Thanks</p>
<p>Chinnaswamy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Panos M.</title>
		<link>http://www.kellbot.com/sdxf-python-library-for-dxf/comment-page-1/#comment-7347</link>
		<dc:creator>Panos M.</dc:creator>
		<pubDate>Sat, 09 Jan 2010 19:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.kellbot.com/?page_id=53#comment-7347</guid>
		<description>If you visit the following site you will find a different branch of sdxf that is used by Blender and it supports Polyline. : http://wiki.blender.org/index.php/Extensions:Py/Scripts/Manual/Export/DXF
You can download the library from here: http://cad4arch.com/blend01/prog/ble2dxf13.zip

@Kelly
If you have made significant changes from 1.1 perhaps the two projects could be merged?</description>
		<content:encoded><![CDATA[<p>If you visit the following site you will find a different branch of sdxf that is used by Blender and it supports Polyline. : <a href="http://wiki.blender.org/index.php/Extensions:Py/Scripts/Manual/Export/DXF" rel="nofollow">http://wiki.blender.org/index.php/Extensions:Py/Scripts/Manual/Export/DXF</a><br />
You can download the library from here: <a href="http://cad4arch.com/blend01/prog/ble2dxf13.zip" rel="nofollow">http://cad4arch.com/blend01/prog/ble2dxf13.zip</a></p>
<p>@Kelly<br />
If you have made significant changes from 1.1 perhaps the two projects could be merged?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://www.kellbot.com/sdxf-python-library-for-dxf/comment-page-1/#comment-7236</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Sun, 03 Jan 2010 00:45:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.kellbot.com/?page_id=53#comment-7236</guid>
		<description>DWG TrueView and Intellicad will open the dxf generated via the module test using the following class modified from the one provided by David:
--------------------------------------
class PolyLine(_Entity):
    &#039;&#039;&#039;Polyline&#039;&#039;&#039;
    def __init__(self, points, flag=0, width=None, **common):
        _Entity.__init__(self, **common)
        self.points = points
        self.flag = flag
        self.width = width
        
    def __str__(self):
        result = &#039;0\nPOLYLINE\n%s\n66\n1\n70\n%s\n&#039; % (self._common(), self.flag)
        result += &#039;%s&#039; % _point((0.0, 0.0, 0.0))
        for point in self.points:
            result += &#039;\n0\nVERTEX\n8\n%s\n%s&#039; % (self.layer,_point(point))
            if self.width:
                result += &#039;\n40\n%s\n41\n%s&#039; % (self.width, self.width)
        result += &#039;\n0\nSEQEND&#039;
        return result
--------------------------
I&#039;ve set code 66 as 1 and added code 70 to accept the standard polyline flags.

In the &quot;PolyLine&quot; call in the module test, change &quot;closed&quot; to &quot;flag&quot;; leave the value set as &quot;1&quot; for a closed polyline.

I&#039;ve been using the following resources to help understand the file format:
http://autodesk.com/techpubs/autocad/acad2000/dxf/
http://local.wasp.uwa.edu.au/~pbourke/dataformats/dxf/dxf10.html</description>
		<content:encoded><![CDATA[<p>DWG TrueView and Intellicad will open the dxf generated via the module test using the following class modified from the one provided by David:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
class PolyLine(_Entity):<br />
    &#8221;&#8217;Polyline&#8221;&#8217;<br />
    def __init__(self, points, flag=0, width=None, **common):<br />
        _Entity.__init__(self, **common)<br />
        self.points = points<br />
        self.flag = flag<br />
        self.width = width</p>
<p>    def __str__(self):<br />
        result = &#8217;0\nPOLYLINE\n%s\n66\n1\n70\n%s\n&#8217; % (self._common(), self.flag)<br />
        result += &#8216;%s&#8217; % _point((0.0, 0.0, 0.0))<br />
        for point in self.points:<br />
            result += &#8216;\n0\nVERTEX\n8\n%s\n%s&#8217; % (self.layer,_point(point))<br />
            if self.width:<br />
                result += &#8216;\n40\n%s\n41\n%s&#8217; % (self.width, self.width)<br />
        result += &#8216;\n0\nSEQEND&#8217;<br />
        return result<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
I&#8217;ve set code 66 as 1 and added code 70 to accept the standard polyline flags.</p>
<p>In the &#8220;PolyLine&#8221; call in the module test, change &#8220;closed&#8221; to &#8220;flag&#8221;; leave the value set as &#8220;1&#8243; for a closed polyline.</p>
<p>I&#8217;ve been using the following resources to help understand the file format:<br />
<a href="http://autodesk.com/techpubs/autocad/acad2000/dxf/" rel="nofollow">http://autodesk.com/techpubs/autocad/acad2000/dxf/</a><br />
<a href="http://local.wasp.uwa.edu.au/~pbourke/dataformats/dxf/dxf10.html" rel="nofollow">http://local.wasp.uwa.edu.au/~pbourke/dataformats/dxf/dxf10.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nimpbus</title>
		<link>http://www.kellbot.com/sdxf-python-library-for-dxf/comment-page-1/#comment-6790</link>
		<dc:creator>nimpbus</dc:creator>
		<pubDate>Tue, 08 Dec 2009 23:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.kellbot.com/?page_id=53#comment-6790</guid>
		<description>thanks a bunch! This saves me a headache!</description>
		<content:encoded><![CDATA[<p>thanks a bunch! This saves me a headache!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

