[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1663] trunk/py/scripts/addons/ add_mesh_solid.py: Fixed some other problems with solids script regarding weird names which messed up truncation of verts and edges
Jonathan Smith
j.jaydez at gmail.com
Sun Feb 27 12:56:43 CET 2011
Revision: 1663
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1663
Author: jaydez
Date: 2011-02-27 11:56:43 +0000 (Sun, 27 Feb 2011)
Log Message:
-----------
Fixed some other problems with solids script regarding weird names which messed up truncation of verts and edges
Modified Paths:
--------------
trunk/py/scripts/addons/add_mesh_solid.py
Modified: trunk/py/scripts/addons/add_mesh_solid.py
===================================================================
--- trunk/py/scripts/addons/add_mesh_solid.py 2011-02-27 11:48:30 UTC (rev 1662)
+++ trunk/py/scripts/addons/add_mesh_solid.py 2011-02-27 11:56:43 UTC (rev 1663)
@@ -276,7 +276,9 @@
if dual:
vInput,fInput = source(plato)
vInput = [i*supposed_size for i in vInput]
- return vInput,fInput,sourceName
+ return vInput,fInput#,sourceName
+ #JayDez - I don't know what sourceName is, but commenting that
+ #part out fixes vert truncation problems.
vInput = [-i*supposed_size for i in vInput]
return vInput,fInput
@@ -508,7 +510,7 @@
direction = 0 # no diagonal, face is planar (somewhat)
if etrunc: # for every vertex
- for i in v0: # add the face, consisting of the vert,edge,next
+ for i in v: # add the face, consisting of the vert,edge,next
# edge and face between those edges
for j in range(len(i[1])):
f = [i[0],eStart+i[5][j-1],fStart+i[3][j],eStart+i[5][j]]
More information about the Bf-extensions-cvs
mailing list