Skip to content

Commit

Permalink
Merge pull request #288 from kbwbe/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
kbwbe authored Jul 2, 2019
2 parents d372a9d + 856cef5 commit 9968cdf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion InitGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
__title__ = 'A2plus assembly Workbench - InitGui file'
__author__ = 'kbwbe'

A2P_VERSION = 'V0.4.24'
A2P_VERSION = 'V0.4.25'



Expand Down
11 changes: 7 additions & 4 deletions a2p_MuxAssembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,13 @@ def muxAssemblyWithTopoNames(doc, desiredShapeLabel=None):

faces.extend(tempShape.Faces)

if len(faces) == 1:
shell = Part.makeShell([faces])
else:
shell = Part.makeShell(faces)
#if len(faces) == 1:
# shell = Part.makeShell([faces])
#else:
# shell = Part.makeShell(faces)

shell = Part.makeShell(faces)

try:
if a2plib.getUseSolidUnion():
if len(shape_list) > 1:
Expand Down
11 changes: 7 additions & 4 deletions a2p_topomapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,10 +535,13 @@ def createTopoNames(self, desiredShapeLabel = None):
faceColors.extend(diffuseCol) #let python libs extend faceColors, much faster
faces.extend(tempShape.Faces) #let python libs extend faces, much faster

if len(faces) == 1:
shell = Part.makeShell([faces])
else:
shell = Part.makeShell(faces)

#if len(faces) == 1:
# shell = Part.makeShell([faces])
#else:
# shell = Part.makeShell(faces)
shell = Part.makeShell(faces)

try:
if a2plib.getUseSolidUnion():
if len(shape_list) > 1:
Expand Down

0 comments on commit 9968cdf

Please sign in to comment.