Skip to content

account for Helix Group rotation properly in oxdna/oxview export #309

Description

@dave-doty

This scadnano design:

image

Does not export as expected to oxView:

image

complex.zip

The three short (length 7) helices 2,3,4 should be between the two longer helices 0 and 1, since they are grid coordinates (0,0), (0,1), and (0,2). Instead, helices 2,3,4 go in the positive y-direction instead of the negative z-direction.

But, I could simply be thinking about this improperly. I assumed if I set the rotation of the helix group containing helices 2,3,4 to 90, then grid coordinates (0,0), (0,1), (0,2), which move in the positive y-direction normally, after rotating should now move in the negative x direction. I could be thinking about this improperly. But the intention was always that any design that can be rendered in the scadnano 2D main view should look similar in a 3D export since adjusting only pitch (which rotates in the y-z plane of the main view) and y-z position (which translates only within the y-z plane) should preserve the geometric depiction of the design in both.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions