Import and export off-files

Suggest new features for Stella.
Post Reply
pbrants
Posts: 3
Joined: Sat Feb 25, 2012 7:17 am

Import and export off-files

Post by pbrants » Sat Mar 17, 2012 5:35 pm

If I import an off-file in stella and then export the model immediately without changing any orientation, the coordinates of the vertices in the exported off-file are all changed (rotated?) Why is this?

Paul

User avatar
robertw
Site Admin
Posts: 415
Joined: Thu Jan 10, 2008 6:47 am
Location: Melbourne, Australia
Contact:

Post by robertw » Sun Mar 18, 2012 2:52 am

Two reasons.

(1) Any model created (either internally or via import) is aligned to a template symmetry group.

(2) When exporting, the model is exported as seen on screen. So if you rotate the model on the screen, then it will be exported in a different orientation. I suggest using something from the "View->Orientation" menu first to orient the model how you want before exporting.

In the future I plan to make this clearer by providing a choice of orientations upon export.

Rob.

Post Reply