Commit 0b3d37cd authored by cmaffeo2's avatar cmaffeo2
Browse files

Updated test.py a bit

parent 0ac00139
......@@ -91,11 +91,22 @@ def parse_maya_file(maya_file):
linesBuffer = []
## Extend lines buffer
linesBuffer.append(line)
## Crawl through bases, attach to parent helix
for b in bases:
helix_name = b.parent
helices[helix_name].bases.append(b)
helices[helix_name].add_base( b ) # function updates base position?
## Assign base connectivity from aimCconstraints
...
# base_positions = np.zeros( [ len(bases), 3 ] )
base_positions = np.array( [b.position for b in bases] )
for aim in aimConstraints:
base = base_dict[ aim.parent ]
return helices
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment