Update 'bl_info' use 'doc_url' instead of 'wiki_url'
[blender-addons.git] / io_export_dxf / __init__.py
blobe4d035c3df7e0c5d22298fc86854f21c6af02532
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 #####
19 bl_info = {
20 "name": "Export Autocad DXF Format (.dxf)",
21 "author": "Remigiusz Fiedler (AKA migius), Vaclav Klecanda",
22 "version": (2, 2, 3),
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",
32 if "bpy" in locals():
33 from importlib import reload
34 reload(operator)
35 del reload
37 import bpy
38 from . import operator
40 def menu_func(self, context):
41 self.layout.operator(operator.DXFExporter.bl_idname, text="AutoCAD DXF")
43 classes = (
44 operator.DXFExporter,
47 def register():
48 from bpy.utils import register_class
49 for cls in classes:
50 register_class(cls)
51 bpy.types.TOPBAR_MT_file_export.append(menu_func)
54 def unregister():
55 from bpy.utils import unregister_class
56 for cls in reversed(classes):
57 unregister_class(cls)
58 bpy.types.TOPBAR_MT_file_export.remove(menu_func)
60 if __name__ == "__main__":
61 register()