1 # ##### BEGIN GPL LICENSE BLOCK #####
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 # ##### END GPL LICENSE BLOCK #####
20 "name": "Export Autocad DXF Format (.dxf)",
21 "author": "Remigiusz Fiedler (AKA migius), Vaclav Klecanda",
23 "blender": (2, 80, 0),
24 "location": "File > Export > AutoCAD DXF",
25 "description": "The script exports Blender geometry to DXF format r12 version.",
26 "warning": "Under construction! Visit Wiki for details.",
27 "doc_url": "https://docs.blender.org/manual/en/dev/addons/"
28 "import_export/scene_dxf.html",
29 "category": "Import-Export",
33 from importlib
import reload
38 from . import operator
40 def menu_func(self
, context
):
41 self
.layout
.operator(operator
.DXFExporter
.bl_idname
, text
="AutoCAD DXF")
48 from bpy
.utils
import register_class
51 bpy
.types
.TOPBAR_MT_file_export
.append(menu_func
)
55 from bpy
.utils
import unregister_class
56 for cls
in reversed(classes
):
58 bpy
.types
.TOPBAR_MT_file_export
.remove(menu_func
)
60 if __name__
== "__main__":