AttachedPlacement: subsequence-array an attached array support
now, one can "array an attached placement" a polar array.
This commit is contained in:
parent
7331c60ce5
commit
c3bb345c3f
|
@ -133,10 +133,15 @@ class AttachedPlacementSubsequence(lattice2BaseFeature.LatticeFeature):
|
|||
sublinks = Subsequencer.Subsequence_auto(attacher.References,
|
||||
loop= ('Till end' if obj.CycleMode == 'Open' else 'All around'),
|
||||
index_filter= ifilt)
|
||||
|
||||
deref = obj.Base.Placement.inverse()
|
||||
basearray = [deref.multiply(plm) for plm in lattice2BaseFeature.getPlacementsList(obj.Base)]
|
||||
|
||||
plms = []
|
||||
for lnkval in sublinks:
|
||||
attacher.References = lnkval
|
||||
plms.append(attacher.calculateAttachedPlacement(screen(obj.Base).Placement))
|
||||
attplm = attacher.calculateAttachedPlacement(obj.Base.Placement)
|
||||
plms.extend([attplm.multiply(plm) for plm in basearray])
|
||||
return plms
|
||||
|
||||
class ViewProviderAttachedPlacementSubsequence(lattice2BaseFeature.ViewProviderLatticeFeature):
|
||||
|
|
Loading…
Reference in New Issue
Block a user