Hi Bob,
ahaaa, that explains a lot.
I had problems before with using viewer.getRotationRadius(), which appeared
to be somehow broken to me, but I guess thats the same thing, it may depend
on the first models only as well.
Thanks a lot,
Martin
On Sat, Mar 2, 2013 at 2:16 PM, Robert Hanson <[email protected]> wrote:
> When you load all the models in the same file, the "100%" zoom level is
> based on all the models. But when you load them individually, the 100% zoom
> is set just for that first model. I suspect that's the problem.
>
> You could try adding
>
> FILTER "center"
>
> when you load the files. This will set the center of each model to {0 0 0}
> and may improve the zooming. Depends if that is part of the problem.
>
> Another thing you could do is to set the model radius at which 100% is
> full screen. You would do this with the moveto command:
>
> moveto 0.0 {0 0 1 0} 100.0 0.0 0.0 { 0 0 0 } 15.5
>
> Here indicating that 15.5 is the radius you want to be defined as
> full-screen at 100% (31 Angstroms across).
>
>
>
>
>
> On Fri, Mar 1, 2013 at 2:43 PM, Martin Guetlein <
> [email protected]> wrote:
>
>> Hi,
>>
>> I have a bit a strange issue:
>> When I load my dataset from a single file (a cloud of compounds) I can
>> zoom out easily until I have all the compounds on the screen.
>> When I load the same dataset, split into multiple files, but with equal
>> compounds in total and equal coordinates, I cannot zoom out as far as I
>> want to.
>> It is an incremental effect, the more files my dataset is split into, the
>> less far I am allowed to zoom out.
>> (I am using viewer.loadModelFromFile() to load the dataset.)
>>
>> Help would be very much appreciated.
>> With kind regards,
>> Martin
>>
>> --
>> Dipl-Inf. Martin Gütlein
>> Phone:
>> +49 (0)761 203 8442 (office)
>> +49 (0)177 623 9499 (mobile)
>> Email:
>> [email protected]
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_feb
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Chemistry Department
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
> --
> Dipl-Inf. Martin Gütlein
> Phone:
> +49 (0)761 203 8442 (office)
> +49 (0)177 623 9499 (mobile)
> Email:
> <https://lists.sourceforge.net/lists/listinfo/jmol-users>
> [email protected]
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users