You can rotate a model to have its longest dimension along the x axis and
then determine that dimension size using:

select all
rotate selected best
boundbox {selected}
show boundbox
print "smallest dimension is " + getProperty("boundboxInfo.vector").z + "
Angstroms"
print "largest dimension is " + getProperty("boundboxInfo.vector").x + "
Angstroms"


​So I suppose something like

select all
rotate selected best
boundbox {selected}
boundbox off
exportScale = 200 / getProperty("boundboxInfo.vector").x
write t.x3d

will do what you desire.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to