Patches item #1766626, was opened at 2007-08-03 10:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379135&aid=1766626&group_id=23629
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: pim schravendijk (pimpimpim)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow length scaling of axes in unitcell mode
Initial Comment:
The setScale function implies that the axes protrude in 6 directions, and
scales on all 6 end points. This works for molecular and window axes but not
for the unitcell axes, therefore initShape returns in the unitcell case before
setScale is called.
Putting unitcell scaling in setScale would require the conversion of lattice
vertices to points, etc., and add unnecessary complication. Instead, a few
lines are added to the unitcell part of initShape to do the scaling on the
three crystal axes.
+ for (int i = 3; --i >= 0;) {
+ axisPoints[i].x *= viewer.getAxesScale()/2.0;
+ axisPoints[i].y *= viewer.getAxesScale()/2.0;
+ axisPoints[i].z *= viewer.getAxesScale()/2.0;
+ }
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379135&aid=1766626&group_id=23629
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers