Skip to content

Commit

Permalink
assembly: fix support of draft LinkArray
Browse files Browse the repository at this point in the history
Fixes #58
  • Loading branch information
realthunder committed Sep 26, 2018
1 parent 19ef857 commit cb84709
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,7 @@ def getElementInfo(parent,subname,
if not part:
raise RuntimeError('Invalid sub-object {}, {}'.format(
objName(parent), subnameRef))
partSaved = part

transformShape = True if shape else False

Expand Down Expand Up @@ -941,6 +942,7 @@ def getElementInfo(parent,subname,
partName = '{}.{}.'.format(part[0].Name,idx)

if not obj:
part = partSaved
# Here means, either the 'part' is an assembly or it is a non array
# object. We trim the subname reference to be relative to the part
# object. And obtain the shape before part's Placement by setting
Expand Down

0 comments on commit cb84709

Please sign in to comment.