Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemigiusz Fiedler <migius@gmx.net>2012-07-11 03:16:32 +0400
committerRemigiusz Fiedler <migius@gmx.net>2012-07-11 03:16:32 +0400
commit1dd571efee1758e622f48a42f46ce8dbc1a507af (patch)
tree061cd8c6d7d0ac5ebce89184d56a05cc650e56e2 /io_export_dxf/__init__.py
parent891ce0209b978ba8407bbb739e12db1562ea02b6 (diff)
DXF-exporter script moved from addons_contrib to official addons folder
Diffstat (limited to 'io_export_dxf/__init__.py')
-rw-r--r--io_export_dxf/__init__.py46
1 files changed, 46 insertions, 0 deletions
diff --git a/io_export_dxf/__init__.py b/io_export_dxf/__init__.py
new file mode 100644
index 00000000..2ac22ba1
--- /dev/null
+++ b/io_export_dxf/__init__.py
@@ -0,0 +1,46 @@
+# ***** GPL LICENSE BLOCK *****
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# All rights reserved.
+# ***** GPL LICENSE BLOCK *****
+
+bl_info = {
+ "name": "Export Autocad DXF Format (.dxf)",
+ "author": "Remigiusz Fiedler (AKA migius), Vaclav Klecanda",
+ "version": (2, 1, 3),
+ "blender": (2, 6, 3),
+ "location": "File > Export > Autodesk (.dxf)",
+ "description": "The script exports Blender geometry to DXF format r12 version.",
+ "warning": "Under construction! Visit Wiki for details.",
+ "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/DXF_Exporter",
+ "tracker_url": "https://projects.blender.org/tracker/index.php?func=detail&aid=28469",
+ "category": "Import-Export"
+}
+
+import bpy
+from .operator import DXFExporter
+
+def menu_func(self, context):
+ self.layout.operator(DXFExporter.bl_idname, text="Autocad (.dxf)")
+
+def register():
+ bpy.utils.register_module(__name__)
+ bpy.types.INFO_MT_file_export.append(menu_func)
+
+def unregister():
+ bpy.utils.unregister_module(__name__)
+ bpy.types.INFO_MT_file_export.remove(menu_func)
+
+if __name__ == "__main__":
+ register()