[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20804] trunk/blender/release/scripts/ wizard_bolt_factory.py: update from Aaron Keith, fixes normal flipping

Campbell Barton ideasman42 at gmail.com
Thu Jun 11 12:46:13 CEST 2009


Revision: 20804
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20804
Author:   campbellbarton
Date:     2009-06-11 12:46:13 +0200 (Thu, 11 Jun 2009)

Log Message:
-----------
update from Aaron Keith, fixes normal flipping

Modified Paths:
--------------
    trunk/blender/release/scripts/wizard_bolt_factory.py

Modified: trunk/blender/release/scripts/wizard_bolt_factory.py
===================================================================
--- trunk/blender/release/scripts/wizard_bolt_factory.py	2009-06-11 10:26:53 UTC (rev 20803)
+++ trunk/blender/release/scripts/wizard_bolt_factory.py	2009-06-11 10:46:13 UTC (rev 20804)
@@ -8,7 +8,7 @@
 """
 
 __author__ = " Aaron Keith (Spudmn) "
-__version__ = "2.00 2009/05/22"
+__version__ = "2.02 2009/06/10"
 __url__ = ["Author's site,http://sourceforge.net/projects/boltfactory/", "Blender,http://wiki.blender.org/index.php/Extensions:Py/Scripts/Manual/Misc/Bolt_Factory"]
 __bpydoc__ = """\
 Bolt_Factory.py 
@@ -22,7 +22,14 @@
 
 
 History:
+ V2.02 10/06/09 by Aaron Keith
 
+    -Added changes made by the Blender team.
+
+ V2.01 26/05/09 by Aaron Keith
+
+    -    Fixed normal's on Lock Nut
+
 V2.00 22/05/09 by Aaron Keith
 
 - Better error checking.
@@ -2005,7 +2012,7 @@
     sVerts,sFaces = SpinDup(verts,faces,360,DIV,'z')
     sVerts.extend(verts)        #add the start verts to the Spin verts to complete the loop
     
-    faces.extend(Build_Face_List_Quads(FaceStart,Row-1,DIV))
+    faces.extend(Build_Face_List_Quads(FaceStart,Row-1,DIV,1))
 
     return Move_Verts_Up_Z(sVerts,0),faces,Lowest_Z_Vert
 
@@ -2059,7 +2066,7 @@
     sVerts,sFaces = SpinDup(verts,faces,360,DIV,'z')
     sVerts.extend(verts)  #add the start verts to the Spin verts to complete the loop
     
-    faces.extend(Build_Face_List_Quads(FaceStart,Row-1,DIV))
+    faces.extend(Build_Face_List_Quads(FaceStart,Row-1,DIV,1))
 
     return sVerts,faces,0 - Lowest_Z_Vert
 
@@ -2594,9 +2601,9 @@
     
 def Dispaly_Title_Bar(Y_POS,CONTROL_HEIGHT):
     CONTROL_WIDTH = 250
-    Create_Tab(3,Y_POS,CONTROL_WIDTH,Y_POS -CONTROL_HEIGHT,"Bolt Factory V2.00",Model_Type)
+    Create_Tab(3,Y_POS,CONTROL_WIDTH,Y_POS -CONTROL_HEIGHT,"Bolt Factory V2.02",Model_Type)
+   
     
-    
       
 def Dispaly_Preset_Tab(Y_POS,CONTROL_HEIGHT):
     CONTROL_WIDTH = 250





More information about the Bf-blender-cvs mailing list