[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1141] trunk/py/scripts/addons/ io_coat3D: SVN maintenance.
gsr b3d
gsr.b3d at infernal-iceberg.com
Sat Nov 6 01:05:08 CET 2010
Revision: 1141
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1141
Author: gsrb3d
Date: 2010-11-06 01:05:07 +0100 (Sat, 06 Nov 2010)
Log Message:
-----------
SVN maintenance.
Modified Paths:
--------------
trunk/py/scripts/addons/io_coat3D/__init__.py
trunk/py/scripts/addons/io_coat3D/coat.py
trunk/py/scripts/addons/io_coat3D/tex.py
Property Changed:
----------------
trunk/py/scripts/addons/io_coat3D/__init__.py
trunk/py/scripts/addons/io_coat3D/coat.py
trunk/py/scripts/addons/io_coat3D/tex.py
Modified: trunk/py/scripts/addons/io_coat3D/__init__.py
===================================================================
--- trunk/py/scripts/addons/io_coat3D/__init__.py 2010-11-05 23:54:36 UTC (rev 1140)
+++ trunk/py/scripts/addons/io_coat3D/__init__.py 2010-11-06 00:05:07 UTC (rev 1141)
@@ -1,221 +1,221 @@
-# ##### BEGIN 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 2
-# 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, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# ##### END GPL LICENSE BLOCK #####
-
-bl_addon_info = {
- "name": "3D-Coat Applink",
- "author": "Kalle-Samuli Riihikoski (haikalle)",
- "version": (1,61),
- "blender": (2, 5, 4),
- "api": 31667,
- "location": "Scene -> 3D-Coat Applink",
- "description": "Transfer data between 3D-Coat/Blender",
- "warning": "",
- "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/' \
- 'Scripts/",
- "tracker_url": "https://projects.blender.org/tracker/?"\
- "func=detail&atid=467&aid=24446&group_id=153",
- "category": "Import/Export"}
-
-
-
-#if "bpy" in locals(): Don't know if this is important
-# reload(render)
-# reload(ui)
-
-#else:
-import bpy
-from bpy.props import *
-from io_coat3D import coat
-from io_coat3D import tex
-
-def register():
-
- bpy.coat3D = dict()
- bpy.coat3D['active_coat'] = ''
- bpy.coat3D['status'] = 0
- bpy.coat3D['kuva'] = 1
-
- class coat3D(bpy.types.IDPropertyGroup):
- pass
-
- bpy.types.Object.coat3D= PointerProperty(
- name= "Applink Variables",
- type= coat3D,
- description= "Applink variables"
- )
-
- coat3D.objpath = StringProperty(
- name="Object_Path",
- default= ""
- )
-
- coat3D.coatpath = StringProperty(
- name="Coat_Path",
- default= ""
- )
-
-
- class coat3D(bpy.types.IDPropertyGroup):
- pass
-
- bpy.types.Scene.coat3D= PointerProperty(
- name= "Applink Variables",
- type= coat3D,
- description= "Applink variables"
- )
-
- coat3D.objectdir = StringProperty(
- name="ObjectPath",
- subtype="FILE_PATH",
- default= ""
- )
-
- coat3D.exchangedir = StringProperty(
- name="FilePath",
- subtype="DIR_PATH",
- default= ""
- )
-
- coat3D.wasactive = StringProperty(
- name="Pass active object",
- default= ""
- )
-
- coat3D.export_on = BoolProperty(
- name="Export_On",
- description="Add Modifiers and export.",
- default= False
- )
-
- coat3D.smooth_on = BoolProperty(
- name="Auto Smooth",
- description="Add Modifiers and export.",
- default= True
- )
-
- coat3D.exportfile = BoolProperty(
- name="No Import File",
- description="Add Modifiers and export.",
- default= False
- )
-
- coat3D.importmod = BoolProperty(
- name="Remove Modifiers",
- description="Import and add modifiers.",
- default= True
- )
-
- coat3D.exportmod = BoolProperty(
- name="Modifiers",
- description="Export modifiers.",
- default= False
- )
-
- coat3D.export_pos = BoolProperty(
- name="Remember Position",
- description="Remember position.",
- default= True
- )
-
- coat3D.importtextures = BoolProperty(
- name="Bring Textures",
- description="Import Textures.",
- default= True
- )
-
- coat3D.exportover = BoolProperty(
- name="Export Obj",
- description="Import Textures.",
- default= False
- )
-
- coat3D.importmesh = BoolProperty(
- name="Mesh",
- description="Import Mesh.",
- default= True
- )
-
- #copy location
-
- coat3D.cursor = FloatVectorProperty(
- name="Cursor",
- description="Location.",
- subtype="XYZ",
- default=(0.0, 0.0, 0.0)
- )
-
- coat3D.loca = FloatVectorProperty(
- name="location",
- description="Location.",
- subtype="XYZ",
- default=(0.0, 0.0, 0.0)
- )
-
- coat3D.rota = FloatVectorProperty(
- name="location",
- description="Location.",
- subtype="EULER",
- default=(0.0, 0.0, 0.0)
- )
-
- coat3D.scal = FloatVectorProperty(
- name="location",
- description="Location.",
- subtype="XYZ",
- default=(0.0, 0.0, 0.0)
- )
-
- coat3D.dime = FloatVectorProperty(
- name="dimension",
- description="Dimension.",
- subtype="XYZ",
- default=(0.0, 0.0, 0.0)
- )
-
- coat3D.type = EnumProperty( name= "Export Type",
- description= "Diffrent Export Types.",
- items=(
- ("ppp", "Per-Pixel Painting", ""),
- ("mv", "Microvertex Painting", ""),
- ("ptex", "Ptex Painting", ""),
- ("uv", "UV-Mapping", ""),
- ("ref", "Reference Mesh", ""),
- ("retopo", "Retopo mesh as new layer", ""),
- ("vox", "Mesh As Voxel Object", ""),
- ("alpha", "Mesh As New Pen Alpha", ""),
- ("prim", "Mesh As Voxel Primitive", ""),
- ("autopo", "Mesh for Auto-retopology", ""),
- ),
- default= "ppp"
- )
-
-
-def unregister():
- import bpy
-
- del bpy.types.Object.coat3D
- del bpy.types.Scene.coat3D
- del bpy.coat3D
-
-
-
-if __name__ == "__main__":
- register()
-
-
-
+# ##### BEGIN 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 2
+# 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, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# ##### END GPL LICENSE BLOCK #####
+
+bl_addon_info = {
+ "name": "3D-Coat Applink",
+ "author": "Kalle-Samuli Riihikoski (haikalle)",
+ "version": (1,61),
+ "blender": (2, 5, 4),
+ "api": 31667,
+ "location": "Scene -> 3D-Coat Applink",
+ "description": "Transfer data between 3D-Coat/Blender",
+ "warning": "",
+ "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/' \
+ 'Scripts/",
+ "tracker_url": "https://projects.blender.org/tracker/?"\
+ "func=detail&atid=467&aid=24446&group_id=153",
+ "category": "Import/Export"}
+
+
+
+#if "bpy" in locals(): Don't know if this is important
+# reload(render)
+# reload(ui)
+
+#else:
+import bpy
+from bpy.props import *
+from io_coat3D import coat
+from io_coat3D import tex
+
+def register():
+
+ bpy.coat3D = dict()
+ bpy.coat3D['active_coat'] = ''
+ bpy.coat3D['status'] = 0
+ bpy.coat3D['kuva'] = 1
+
+ class coat3D(bpy.types.IDPropertyGroup):
+ pass
+
+ bpy.types.Object.coat3D= PointerProperty(
+ name= "Applink Variables",
+ type= coat3D,
+ description= "Applink variables"
+ )
+
+ coat3D.objpath = StringProperty(
+ name="Object_Path",
+ default= ""
+ )
+
+ coat3D.coatpath = StringProperty(
+ name="Coat_Path",
+ default= ""
+ )
+
+
+ class coat3D(bpy.types.IDPropertyGroup):
+ pass
+
+ bpy.types.Scene.coat3D= PointerProperty(
+ name= "Applink Variables",
+ type= coat3D,
+ description= "Applink variables"
+ )
+
+ coat3D.objectdir = StringProperty(
+ name="ObjectPath",
+ subtype="FILE_PATH",
+ default= ""
+ )
+
+ coat3D.exchangedir = StringProperty(
+ name="FilePath",
+ subtype="DIR_PATH",
+ default= ""
+ )
+
+ coat3D.wasactive = StringProperty(
+ name="Pass active object",
+ default= ""
+ )
+
+ coat3D.export_on = BoolProperty(
+ name="Export_On",
+ description="Add Modifiers and export.",
+ default= False
+ )
+
+ coat3D.smooth_on = BoolProperty(
+ name="Auto Smooth",
+ description="Add Modifiers and export.",
+ default= True
+ )
+
+ coat3D.exportfile = BoolProperty(
+ name="No Import File",
+ description="Add Modifiers and export.",
+ default= False
+ )
+
+ coat3D.importmod = BoolProperty(
+ name="Remove Modifiers",
+ description="Import and add modifiers.",
+ default= True
+ )
+
+ coat3D.exportmod = BoolProperty(
+ name="Modifiers",
+ description="Export modifiers.",
+ default= False
+ )
+
+ coat3D.export_pos = BoolProperty(
+ name="Remember Position",
+ description="Remember position.",
+ default= True
+ )
+
+ coat3D.importtextures = BoolProperty(
+ name="Bring Textures",
+ description="Import Textures.",
+ default= True
+ )
+
+ coat3D.exportover = BoolProperty(
+ name="Export Obj",
+ description="Import Textures.",
+ default= False
+ )
+
+ coat3D.importmesh = BoolProperty(
+ name="Mesh",
+ description="Import Mesh.",
+ default= True
+ )
+
+ #copy location
+
+ coat3D.cursor = FloatVectorProperty(
+ name="Cursor",
+ description="Location.",
+ subtype="XYZ",
+ default=(0.0, 0.0, 0.0)
+ )
+
+ coat3D.loca = FloatVectorProperty(
+ name="location",
+ description="Location.",
+ subtype="XYZ",
+ default=(0.0, 0.0, 0.0)
+ )
+
+ coat3D.rota = FloatVectorProperty(
+ name="location",
+ description="Location.",
+ subtype="EULER",
+ default=(0.0, 0.0, 0.0)
+ )
+
+ coat3D.scal = FloatVectorProperty(
+ name="location",
+ description="Location.",
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-extensions-cvs
mailing list