Skip to content

Commit

Permalink
Merge pull request #299 from kbwbe/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
kbwbe authored Oct 9, 2019
2 parents 3b2eacd + 2197fbf commit e7cea73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
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.26b'
A2P_VERSION = 'V0.4.27'



Expand Down
1 change: 1 addition & 0 deletions a2p_topomapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ def getTopLevelObjects(self):
#-------------------------------------------
self.treeNodes = {}
shapeObs = a2plib.filterShapeObs(self.doc.Objects)

S = set(shapeObs)
for ob in S:
self.treeNodes[ob.Name] = (
Expand Down
1 change: 1 addition & 0 deletions a2plib.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def isPartialProcessing():
def filterShapeObs(_list):
lst = []
for ob in _list:
if ob.Name.startswith("Part"):continue #Part Containers within FC0.19.18405 seem to have a shape property..
if hasattr(ob,"Shape"):
if len(ob.Shape.Faces) > 0 and len(ob.Shape.Vertexes) > 0:
lst.append(ob)
Expand Down

0 comments on commit e7cea73

Please sign in to comment.