{ "info": { "author": "Manfred Moitzi", "author_email": "mozman@gmx.at", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "dxfwrite\n========\n\nAbstract\n--------\n\nA Python library to create DXF R12 drawings.\n\na simple example::\n\n from dxfwrite import DXFEngine as dxf\n drawing = dxf.drawing('test.dxf')\n drawing.add(dxf.line((0, 0), (10, 0), color=7))\n drawing.add_layer('TEXTLAYER', color=2)\n drawing.add(dxf.text('Test', insert=(0, 0.2), layer='TEXTLAYER'))\n drawing.save()\n\nsupported DXF R12 entities\n--------------------------\n\n * ARC\n * ATTDEF\n * ATTRIB\n * BLOCK\n * CIRCLE\n * 3DFACE\n * INSERT\n * LINE\n * POINT\n * POLYLINE (special Polyface and Polymesh objects are available)\n * SHAPE (not tested)\n * SOLID\n * TRACE\n * TEXT\n * VERTEX (only for internal use, see Polyline, Polyface and Polymesh objects)\n * VIEWPORT\n\nnot supported DXF R12 entities\n------------------------------\n\n * DIMENSION\n\nemulated entities from DXF R13 and later\n----------------------------------------\n\n * MTEXT (R13) ... emulated as composite entity MText\n * ELLIPSE (R13) ... approximated by Ellipse\n * SPLINE (R13) ... approximated by Spline\n * LWPOLYLINE (R13) ... use POLYLINE\n * TABLE (R2005) ... emulated as composite entity Table\n\ncomposite entities\n------------------\n\n * MText -- multi-line text\n * LinearDimension\n * AngularDimension\n * ArcDimension\n * RadialDimension\n * Table -- text and blockrefs containing table like a HTML-table\n * Ellipse -- approximated as POLYLINE\n * Spline -- cubic spline curve through breakpoints **without** additional control\n points, approximated as POLYLINE\n * Bezier -- cubic bezier curve through breakpoints **with** additional control\n points, approximated as POLYLINE\n * Clothoid -- Euler spiral, approximated as POLYLINE\n\nread/write AutoCAD ctb-files\n----------------------------\n\nThe module ``acadctb`` provides the ability to read and write AutoCAD ctb-files.\nWith ctb-files you can assign a new color or lineweight to a dxf-color-index for\nplotting or printing, but this has to be supported by the used application.\n\na simple example::\n\n from dxfwrite import acadctb\n ctb = acadctb.load('test.ctb')\n style1 = ctb.get_style(1) # dxf color index (1 .. 255)\n style1.set_color(23, 177, 68) # set rgb values (0..255)\n style1.set_lineweight(0.7)\n ctb.save('new.ctb')\n\nInstallation\n------------\n\nwith pip::\n\n pip install dxfwrite\n\nor from source::\n\n python setup.py install\n\nDocumentation\n-------------\n\nhttp://dxfwrite.readthedocs.org\n\nhttp://packages.python.org/dxfwrite/\n\nThe source code repository of dxfwrite can be found at GitHub.com:\n\nhttps://github.com/mozman/dxfwrite.git\n\nFeedback is greatly appreciated.\n\nmozman \n\nNews\n====\n\nVersion 1.2.1 - 2017-01-22\n\n * BUGFIX: same layer for polyline and vertex entities (Ken Healy)\n * PEP8 refactorings\n * Moved to GitHub.com: https://github.com/mozman/dxfwrite.git\n\nVersion 1.2.0 - 2012-08-01\n\n * License changed to MIT License\n * tested on Win7 with: CPython2.7, CPython3.2, CPython3.3 beta, pypy-1.9\n\nVersion 1.1.0 - 2011-12-29\n\n * rewrite of DXF-String building process\n * refactored MText class\n * changed Viewport table entry to VPort and DXFEngine.viewport to\n DXFEngine.vport. This was necessary to implement the VIEWPORT (Entity)\n * added VIEWPORT (Entity) to create viewports in paper space\n * view docs also on http://dxfwrite.readthedocs.org\n * added some docs\n * changed clothoid mirror parameters\n * added methods to class `Layer`: on(), off(), freeze(), thaw(), lock(), unlock()\n * tested on Win7 32 Bit with CPython-2.7, CPython-3.2 and pypy-1.7,\n IronPython 2.7 failed tests - unicode issues\n * tested on Ubuntu 11.10 64 Bit with CPython-2.7, CPython-3.2 and pypy-1.7\n\nVersion 1.0.2 - 2011-12-08\n\n * raw unicode encoding by Toni Ru\u00c5\u00bea - use any unicode character for text and table-entries.\n\nVersion 1.0.1 - 2011-03-26\n\n * added easy usage of modelspace/paperspace, see examples/paperspace.py\n * BUGFIX: removed dict-comprehension in module htmlcolors.py for\n backward-compatibility to Python 2.5 and 2.6, works with pypy 1.4.1\n\nVersion 1.0.0 - 2011-03-11\n\n * changed: set DXF Header variables now looks like dwg.header['$VAR'] = value,\n see http://packages.python.org/dxfwrite/headervars.html\n * splitted makedxfexamples.py into several files and moved them into the\n subdir 'examples'\n * curves.Ellpise: radiusx -> rx; radiusy -> ry\n * moved documentation to: http://packages.python.org/dxfwrite,\n and using Sphinx (http://sphinx.pocoo.org)\n * tested with Python 3.2 - OK\n * further compatibility-tests only for CPython 2.7 & CPython 3.2+\n * added Drawing.add_xref(filename), for usage see examples/xref.py\n * adding relative attributes by Insert.add() consider the xy-scaling\n * added `Howtos` section to documentation\n\nVersion 0.3.6 - 2010-11-14\n\n * moved dxfwrite.drawing.ENCODING to class Drawing\n * Python 3.1 support\n\nVersion 0.3.5 - 2010-09-10\n\n * new: package and tests run with Python 2.7\n\nVersion 0.3.4 - 2010-08-29\n\n * status: 5 - Production/Stable\n * new: package and tests run with Python 2.5 (tests need unittest2)\n\nVersion 0.3.3 - 2010-04-27\n\n * BUGFIX: makedxfexamples.py - attdef keyword error\n\nVersion 0.3.2 - 2010-04-27\n\n * BUGFIX: Drawing.__dxf__() - StringIO() does not support 'with' statement\n\nVersion 0.3.1 - 2010-04-24\n\n * new: insert2, insert block reference with automatic attrib filling\n * changed interface for DXFEngine.attrib()\n\nVersion 0.3.0b1 - 2010-03-28\n\n * new: subpackage algebra: circle, ray, clothoid, cspline, bezier (27.03.2010)\n * new: Spline, Bezier, Clothoid and Ellipse - curves (27.03.2010)\n * new: acadctb.py to read, write and create AutoCAD ctb-files (25.03.2010)\n * splitted buildups.py into mtext.py and rect.py", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/mozman/dxfwrite/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mozman/dxfwrite.git", "keywords": "DXF,CAD", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "dxfwrite", "package_url": "https://pypi.org/project/dxfwrite/", "platform": "OS Independent", "project_url": "https://pypi.org/project/dxfwrite/", "project_urls": { "Download": "https://github.com/mozman/dxfwrite/releases", "Homepage": "https://github.com/mozman/dxfwrite.git" }, "release_url": "https://pypi.org/project/dxfwrite/1.2.1/", "requires_dist": null, "requires_python": "", "summary": "A Python library to create DXF R12 drawings.", "version": "1.2.1" }, "last_serial": 3772280, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "620d585d10920ec7763c237f4826af2a", "sha256": "714a2aa92b0049fb2eef9a1e2657ba90402f106227f64a1d33204ef4f3e072a6" }, "downloads": -1, "filename": "dxfwrite-1.0.0.tar.gz", "has_sig": false, "md5_digest": "620d585d10920ec7763c237f4826af2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 107818, "upload_time": "2011-03-11T20:18:36", "url": "https://files.pythonhosted.org/packages/1f/e7/d67580e48bb19f5e672ae89390e21ddd264ce3bf7c31d70ce9f0a5fe6b96/dxfwrite-1.0.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "02d856b00c56cbacaa24d85678a7d14b", "sha256": "40979fbda9c8857c3cdf3560ce60342a00dbd26f3e50fca6ee5a8c29710be419" }, "downloads": -1, "filename": "dxfwrite-1.0.0.zip", "has_sig": false, "md5_digest": "02d856b00c56cbacaa24d85678a7d14b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 152177, "upload_time": "2011-03-11T20:18:37", "url": "https://files.pythonhosted.org/packages/56/31/0980e0eba86d8a542795755e213a546700f99d6de5c851d5f0cb6d86a4f1/dxfwrite-1.0.0.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "eb463ac148de731e5b33ad6a15701f5d", "sha256": "bad005a5c9329d9619074d6b584d6897989bfb2cc4339482e3d969501d2dbe60" }, "downloads": -1, "filename": "dxfwrite-1.0.1.tar.gz", "has_sig": false, "md5_digest": "eb463ac148de731e5b33ad6a15701f5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 108416, "upload_time": "2011-03-26T07:22:08", "url": "https://files.pythonhosted.org/packages/26/66/bfa84e78eeec51bc9c56e10b5d9380e8bc8534dbe4c7477fc744e98db3e9/dxfwrite-1.0.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "5d8b76bab4f0fe981e53b93082f973d0", "sha256": "92427c08442f8822b78d5edc8b9a763c869b9805a86dd51efd048c11d6755399" }, "downloads": -1, "filename": "dxfwrite-1.0.1.zip", "has_sig": false, "md5_digest": "5d8b76bab4f0fe981e53b93082f973d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 153192, "upload_time": "2011-03-26T07:22:09", "url": "https://files.pythonhosted.org/packages/8e/ad/477654972b8d8b4fd3e28e0137be750550e615e791de6e399b95cd435e94/dxfwrite-1.0.1.zip" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "316ad5aedcb256341fa79b7c28a1af2a", "sha256": "7da18054a722b26bd950d0f86b82449ff57a8c79683be631214cfc5ee60e995c" }, "downloads": -1, "filename": "dxfwrite-1.0.2.tar.gz", "has_sig": false, "md5_digest": "316ad5aedcb256341fa79b7c28a1af2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 109394, "upload_time": "2011-12-08T08:13:22", "url": "https://files.pythonhosted.org/packages/44/f6/0e12b184308b5a0baf0c3f485714ef69149a96abb0e8da0b4430195c4216/dxfwrite-1.0.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "50b5b6d31308cce8d06e58072bc18be7", "sha256": "bf6c8266fd4e08d8393de14de4038a31595aab1485e6ad85b131cca3fbdb7663" }, "downloads": -1, "filename": "dxfwrite-1.0.2.zip", "has_sig": false, "md5_digest": "50b5b6d31308cce8d06e58072bc18be7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 155533, "upload_time": "2011-12-08T08:13:23", "url": "https://files.pythonhosted.org/packages/73/96/04cf2b3a20050542da2c5fa411ac955e42425bd82813a0005fa255c43a09/dxfwrite-1.0.2.zip" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "b0c24bdcb57dd7f7880a9be002a9ec8f", "sha256": "612b7d99f88f42c2dc3cfb7e7b7438e31c85cf6fa138c40730417eba3fcfce51" }, "downloads": -1, "filename": "dxfwrite-1.1.0.tar.gz", "has_sig": false, "md5_digest": "b0c24bdcb57dd7f7880a9be002a9ec8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 102240, "upload_time": "2011-12-29T10:00:28", "url": "https://files.pythonhosted.org/packages/ef/96/e6ceee4daf84135ad0cf5dd8020a6c0021f95a2168850f3b8bddfc9aa5b2/dxfwrite-1.1.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "c5e0ee522834bbca8672b58b64d14237", "sha256": "0f114c1a48f39e3da15b5381f8e614f309510f1140cd2ed2ea464ddb12c54e11" }, "downloads": -1, "filename": "dxfwrite-1.1.0.zip", "has_sig": false, "md5_digest": "c5e0ee522834bbca8672b58b64d14237", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 151499, "upload_time": "2011-12-29T10:00:27", "url": "https://files.pythonhosted.org/packages/0f/25/f939abb3e4555bb444d04216577a45a92c6219791353c9a9ecf9571330e3/dxfwrite-1.1.0.zip" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "56bd40206e6dbf4a3be2f3b6936a2c4f", "sha256": "647788d3d384d8ebf665a646a0d2e0f32fb4b4d51fdc8f458c44681785d6cd6a" }, "downloads": -1, "filename": "dxfwrite-1.2.0.tar.gz", "has_sig": false, "md5_digest": "56bd40206e6dbf4a3be2f3b6936a2c4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 101460, "upload_time": "2012-08-11T09:31:41", "url": "https://files.pythonhosted.org/packages/75/72/2226dbddea6e556857efbc59f51a8b0882b71bc830bdfdd37b536a89cab6/dxfwrite-1.2.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "3968d8ce155379d35b4d4666bb68c7e2", "sha256": "fb07c330673068cd784ba928b3b7e868dfa3ec2d72e2b6dd79693c94e52b6f84" }, "downloads": -1, "filename": "dxfwrite-1.2.0.zip", "has_sig": false, "md5_digest": "3968d8ce155379d35b4d4666bb68c7e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 151163, "upload_time": "2012-08-11T09:31:41", "url": "https://files.pythonhosted.org/packages/e8/aa/087a76bcd4c1c4b2d413150accf2f35178a5e37ef89d57b5f8ab77e7c072/dxfwrite-1.2.0.zip" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "582a1a054432c6c255afbf84a7490991", "sha256": "5b90b3e7769baa0fd6326a7245469a1f0fc56a5f2e5b835c11ea664bbb993fe8" }, "downloads": -1, "filename": "dxfwrite-1.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "582a1a054432c6c255afbf84a7490991", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 84373, "upload_time": "2017-01-22T09:51:56", "url": "https://files.pythonhosted.org/packages/f2/40/0020e692cf02c6d7ade0e0c45a22013476c9771aceccb8c2232ccde0ad42/dxfwrite-1.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a94c11415323b5369e0e75ac7cd7fd0", "sha256": "e6df9f203ca9b6623ca7c35e7294af768ab84d78cf48b574c113cbacd53671c4" }, "downloads": -1, "filename": "dxfwrite-1.2.1.zip", "has_sig": false, "md5_digest": "8a94c11415323b5369e0e75ac7cd7fd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 156820, "upload_time": "2017-01-22T09:51:53", "url": "https://files.pythonhosted.org/packages/b5/23/6f09201d1bc506b3bf36e381ac6d5886714e6e7b84ad54bb961d25411c1b/dxfwrite-1.2.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "582a1a054432c6c255afbf84a7490991", "sha256": "5b90b3e7769baa0fd6326a7245469a1f0fc56a5f2e5b835c11ea664bbb993fe8" }, "downloads": -1, "filename": "dxfwrite-1.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "582a1a054432c6c255afbf84a7490991", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 84373, "upload_time": "2017-01-22T09:51:56", "url": "https://files.pythonhosted.org/packages/f2/40/0020e692cf02c6d7ade0e0c45a22013476c9771aceccb8c2232ccde0ad42/dxfwrite-1.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a94c11415323b5369e0e75ac7cd7fd0", "sha256": "e6df9f203ca9b6623ca7c35e7294af768ab84d78cf48b574c113cbacd53671c4" }, "downloads": -1, "filename": "dxfwrite-1.2.1.zip", "has_sig": false, "md5_digest": "8a94c11415323b5369e0e75ac7cd7fd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 156820, "upload_time": "2017-01-22T09:51:53", "url": "https://files.pythonhosted.org/packages/b5/23/6f09201d1bc506b3bf36e381ac6d5886714e6e7b84ad54bb961d25411c1b/dxfwrite-1.2.1.zip" } ] }