Well, it did work… 3 years ago…
I’ve implemented this in a previous page that I haven’t touched for a while. 
The migration to HTML5 is now overdue and I wanted to update to the latest 
version (and take profit of the speed bump in JS execution). 
The workaround you are suggesting indeed works, but the original filter "2D", 
was quicker at rendering the model. Maybe a reduced number of minimization 
steps was involved ? Or just the fact that the pre minimization state was not 
displayed and only the resulting computed model ?
Paul

> Le 14-09-2015 à 00:58, Otis Rothenberger <osrot...@chemagic.com> a écrit :
> 
> Hi Paul,
> 
> I played with this for a while. Did Filter “2d” ever work with load data? I 
> keep getting jmol script errors if I try to incorporate the filter. I tried 
> several locations for insertion.
> 
> This alternative gets the job done:
> 
> load DATA "model"
> Ethane
> 
> http://www.ichemlabs.com <http://www.ichemlabs.com/>
>   2  1  0  0  0  0            999 v2000
>    -0.4330   -0.2500    0.0000 C   0  0  0  0  0  0
>     0.4330    0.2500    0.0000 C   0  0  0  0  0  0
>   1  2  1  0     0  0
> M  END "model";calculate hydrogens;minimize
> 
> Otis
> 
> 
> 
> --
> Otis Rothenberger
> o...@chemagic.com <mailto:o...@chemagic.com>
> http://chemagic.com
> 
>> On Sep 13, 2015, at 11:26 PM, Paul PILLOT <paulpil...@gmail.com 
>> <mailto:paulpil...@gmail.com>> wrote:
>> 
>> Hi Jmolers,
>> I’ve tried with the 2 latest versions of Jmol (14.3.16, 14.2.15) and they 
>> both seem broken in respect with this command.
>> 
>> Test case :
>> copy and paste the following in Jmol console :
>> 
>> load DATA "model"
>> Ethane
>> 
>> http://www.ichemlabs.com <http://www.ichemlabs.com/>
>>   2  1  0  0  0  0            999 v2000
>>    -0.4330   -0.2500    0.0000 C   0  0  0  0  0  0
>>     0.4330    0.2500    0.0000 C   0  0  0  0  0  0
>>   1  2  1  0     0  0
>> M  END "model" filter "2D"
>> 
>> 
>> It displays only 2 atoms of carbon instead of adding the required hydrogen 
>> and minimizing.
>> 
>> -Paul
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net <mailto:Jmol-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to