Skip to content

Commit

Permalink
Shifter Adding guide transformations to gNexus format
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcampos committed Sep 25, 2024
1 parent 2671f79 commit 6b514f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions release/scripts/mgear/shifter/component/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2281,6 +2281,12 @@ def store_relative_names(relative_dict):
self.build_data["Type"] = self.guide.type
self.build_data["Side"] = self.side
self.build_data["Index"] = self.index

temp_dict = {}
for k in self.guide.tra.keys():
temp_dict[k] = self.guide.tra[k].get()
self.build_data["guideTransforms"] = temp_dict

self.build_data["DataContracts"] = []
self.build_data["Joints"] = []
self.build_data["Controls"] = []
Expand Down

0 comments on commit 6b514f5

Please sign in to comment.