1
# ***** GPL LICENSE BLOCK *****
3
# This program is free software: you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation, either version 3 of the License, or
6
# (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, see <http://www.gnu.org/licenses/>.
15
# All rights reserved.
16
# ***** GPL LICENSE BLOCK *****
19
"name": "Export Autocad DXF Format (.dxf)",
20
"author": "Remigiusz Fiedler (AKA migius), Vaclav Klecanda",
23
"location": "File > Export > Autodesk (.dxf)",
24
"description": "The script exports Blender geometry to DXF format r12 version.",
25
"warning": "Only subset of DXF specification is supported, work in progress.",
26
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Import-Export/DXF_Exporter",
27
"tracker_url": "https://projects.blender.org/tracker/index.php?func=detail&aid=28469",
28
"category": "Import-Export"
32
from .operator import DXFExporter
34
def menu_func(self, context):
35
self.layout.operator(DXFExporter.bl_idname, text="Autocad (.dxf)")
38
bpy.utils.register_module(__name__)
39
bpy.types.INFO_MT_file_export.append(menu_func)
42
bpy.utils.unregister_module(__name__)
43
bpy.types.INFO_MT_file_export.remove(menu_func)
45
if __name__ == "__main__":