diff options
author | Jonathan Smith <j.jaydez@gmail.com> | 2011-02-27 14:56:43 +0300 |
---|---|---|
committer | Jonathan Smith <j.jaydez@gmail.com> | 2011-02-27 14:56:43 +0300 |
commit | 8bc9aa9df9885297fc32641e4ffbc333d4c20dfd (patch) | |
tree | 6911f81647dfa1fb25105d84d0a732182468b8e6 /add_mesh_solid.py | |
parent | 0066b32f8f643e489aa45d40ccfc3fbb4d4cfdea (diff) |
Fixed some other problems with solids script regarding weird names which messed up truncation of verts and edges
Diffstat (limited to 'add_mesh_solid.py')
-rw-r--r-- | add_mesh_solid.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/add_mesh_solid.py b/add_mesh_solid.py index 7d42494c..c25c7242 100644 --- a/add_mesh_solid.py +++ b/add_mesh_solid.py @@ -276,7 +276,9 @@ def createSolid(plato,vtrunc,etrunc,dual,snub): 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 @@ def createSolid(plato,vtrunc,etrunc,dual,snub): 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]] |