1 # SPDX-FileCopyrightText: 2012-2023 Blender Foundation
3 # SPDX-License-Identifier: GPL-2.0-or-later
6 "name": "Export Autocad DXF Format (.dxf)",
7 "author": "Remigiusz Fiedler (AKA migius), Vaclav Klecanda",
10 "location": "File > Export > AutoCAD DXF",
11 "description": "The script exports Blender geometry to DXF format r12 version.",
12 "warning": "Under construction! Visit Wiki for details.",
13 "doc_url": "{BLENDER_MANUAL_URL}/addons/import_export/scene_dxf.html",
14 "category": "Import-Export",
18 from importlib
import reload
23 from . import operator
25 def menu_func(self
, context
):
26 self
.layout
.operator(operator
.DXFExporter
.bl_idname
, text
="AutoCAD DXF (.dxf)")
33 from bpy
.utils
import register_class
36 bpy
.types
.TOPBAR_MT_file_export
.append(menu_func
)
40 from bpy
.utils
import unregister_class
41 for cls
in reversed(classes
):
43 bpy
.types
.TOPBAR_MT_file_export
.remove(menu_func
)
45 if __name__
== "__main__":