Re: [Jmol-users] Fwd: JSMol change viewer size

2016-10-20 Thread Robert Hanson
javascript:Jmol.script(jmolApplet0,'set window 610 450')

Adjust to suit.


Ah, I think this might be undocumented, but it is on the jsmol.htm page
"large" and "small" buttons.
Evidence that I have not caught up with the documentation for some time:

JmolVersion="14.5.4_2016.04.19"

new feature: set window width height
new feature: set window [width height]
new feature: set window "xxx.png"




On Thu, Oct 20, 2016 at 1:44 PM, Angel Herráez  wrote:

> Hi Thomas
>
> Probably the easiest way:
>
> 1.- Define you Info variable with
> width:"100%",
> height:"100%"
>
> 2.- Wrap your source JSmol, as well as your target JSmol, in a DIV and set
> their size via CSS.
>
> JSmol will always fit the wrapper div, which you can easily resize via css
> and
> Javascript
>
>
> ---
> El software de antivirus Avast ha analizado este correo electrónico en
> busca de virus.
> https://www.avast.com/antivirus
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
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
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Fwd: JSMol change viewer size

2016-10-20 Thread Angel Herráez
Hi Thomas

Probably the easiest way:

1.- Define you Info variable with
width:"100%",
height:"100%"

2.- Wrap your source JSmol, as well as your target JSmol, in a DIV and set 
their size via CSS.

JSmol will always fit the wrapper div, which you can easily resize via css and 
Javascript


---
El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
https://www.avast.com/antivirus


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


[Jmol-users] Fwd: JSMol change viewer size

2016-10-20 Thread Thomas Hrabe
Hi everyone,

A probably simple question. 

How can I change a JSMol viewer size once it has been initialized?
I want to implement an enlargement button for the viewer so that it transfers 
to a modal view on the page and increases its size from it’s default in page 
constraints.

Here’s the code to move the viewer into the modal (it works), but the size is 
not adaptive and hence remains the same.

moveWebGLToModal = function(){
webGLInModal = true;

$("#myModalDiv2").addClass("modal-lg");
$('.modal-title')[0].textContent = "Structure view";
$('.modal-body').empty();

// $("#myModal").attr('max-height:80vh;')
$("#structureViewer").height($("#structureViewer").height()*1.5);
$("#structureViewer").appendTo(".modal-body");

$("#myModal").modal("show");

$('#myModal').on('hide.bs.modal', function (e) {
graphInModal = false;
$("#structureViewer").height($("#structureViewer").height()/1.5);
$("#structureViewer").prependTo("#view2Container"); 
$("#myModalDiv2").removeClass("modal-lg");
})
} 


I tried setting 

jsmolApplet0._height = 1000;

as well bit with no results.

Thank you for any tips,
Thomas





--

Thomas Hrabe (Ph.D.)
Sanford Burnham Prebys 
Medical Discovery Institute
10901 North Torrey Pines Road
92037, La Jolla, CA, USA
+1 858 646 3100 ext 4070






--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] JSmol submenus not working in iOS

2016-10-20 Thread Otis Rothenberger
Nick,

I “buttonize" everything I need in my app, so I never brought the iPad Jmol 
menu issue up, but I agree. It would be nice if it worked in an iPad.

Bob, you were probably joking, but I have a iPad up for grabs! The problem I 
have is it’s in Florida, and I’m in Normal IL for an ISU Chemistry Department 
anniversary celebration. Were you even partly serious in your note? If so, I’ll 
pack it up when I get home.

Otis

--
Otis Rothenberger
o...@chemagic.org
http://chemagic.org

> On Oct 20, 2016, at 11:12 AM, Greeves, Nick  wrote:
> 
> Hi Otis,
> 
> I have checked several older versions of JSmol and none of them work. I think 
> you are correct that it never worked.
> 
> The text field would be a solution but a functional menu would be better.

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] JSmol submenus not working in iOS

2016-10-20 Thread Angel Herráez
> The text field would be a solution but a functional menu would be better.

The menu is managed by jQuery-UI
so the fix should come from there. I guess there is some mobile-friendly 
jQuery

Jmol users
Maybe we should raise funds to buy Bob that iPad !
  crowdfunding is the fancy word now
;-)


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] JSmol submenus not working in iOS

2016-10-20 Thread Robert Hanson
If someone gives me an iPad, I can see if I can fix that :)

Bob

On Thu, Oct 20, 2016 at 10:00 AM, Philip Bays  wrote:

> My observation (iPad) is that it opens but none of the links work and you
> close it by trying to drag it.
>
>
> On Oct 20, 2016, at 10:39 AM, Otis Rothenberger 
> wrote:
>
> Nick and Bob,
>
> I keep my eyes on iPad/Jmol performance pretty closely. I don’t think this
> ever worked. You can’t even touch-close the console if you open it with the
> console command. I just assumed this was an iPad thing. That’s why I
> include my own text field for Jmol Script.
>
> JQuery does have mobile touch events, but I have not had time to play
> around with them on iPad. I don’t even know if they work on iPad. I mention
> this because touch and touch-hold are distinct events. Neither works with
> the Jmol menu.
>
> Otis
>
> --
> Otis Rothenberger
> o...@chemagic.org
> http://chemagic.org
>
> On Oct 20, 2016, at 8:51 AM, Robert Hanson  wrote:
>
> I tried Safari and Firefox on a desktop and found no problem. Is it the
> touch interface?
>
> On Thu, Oct 13, 2016 at 1:47 PM, Greeves, Nick 
> wrote:
>
>> I’ve tested an iPhone and an iPad running iOS 10.
>>
>> Load a page running JSmol, click on the logo, choose any of the items
>> with a submenu e.g. Console or Surfaces, nothing happens for me.
>>
>> I’m pretty certain this used to work. Anyone else?
>> Best regards
>> Nick
>> --
>> Nick Greevesvia OS X Mail
>> Director of Teaching and Learning
>> Department of Chemistry
>> University of Liverpool
>> Donnan and Robert Robinson Laboratories
>> Crown Street, LIVERPOOL L69 7ZD U.K.
>> Email address:ngree...@liverpool.ac.uk
>> WWW Pages:http://www.chemtube3d.com
>> Tel:+44 (0)151-794-3506 (3500 secretary)
>> Dept Fax:   +44 (0)151-794-3588
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org !
>> http://sdm.link/slashdot
>> ___
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> 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
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org !
> http://sdm.link/slashdot___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org !
> http://sdm.link/slashdot___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
> Philip Bays
> Emeritus Professor of Chemistry
> Saint Mary's College
> Notre Dame, IN 46556
> pb...@saintmarys.edu
>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
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
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] JSmol submenus not working in iOS

2016-10-20 Thread Greeves, Nick
Hi Otis,

I have checked several older versions of JSmol and none of them work. I think 
you are correct that it never worked.

The text field would be a solution but a functional menu would be better.

All the best
Nick
--
3D Organic Animations http://www.chemtube3d.com
Tel: +44 (0)151-794-3506 (3526 Student Support Office)

On 20 Oct 2016, at 16:22, 
jmol-users-requ...@lists.sourceforge.net
 wrote:

Message: 7
Date: Thu, 20 Oct 2016 09:39:22 -0500
From: Otis Rothenberger mailto:osrot...@icloud.com>>
Subject: Re: [Jmol-users] JSmol submenus not working in iOS
To: jmol-users@lists.sourceforge.net
Message-ID: 
<19198363-1e17-492b-9581-74c3f3dfb...@icloud.com>
Content-Type: text/plain; charset="utf-8"

Nick and Bob,

I keep my eyes on iPad/Jmol performance pretty closely. I don?t think this ever 
worked. You can?t even touch-close the console if you open it with the console 
command. I just assumed this was an iPad thing. That?s why I include my own 
text field for Jmol Script.

JQuery does have mobile touch events, but I have not had time to play around 
with them on iPad. I don?t even know if they work on iPad. I mention this 
because touch and touch-hold are distinct events. Neither works with the Jmol 
menu.

Otis

--
Otis Rothenberger
o...@chemagic.org
http://chemagic.org

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] JSmol submenus not working in iOS

2016-10-20 Thread Philip Bays
My observation (iPad) is that it opens but none of the links work and you close 
it by trying to drag it.


> On Oct 20, 2016, at 10:39 AM, Otis Rothenberger  wrote:
> 
> Nick and Bob,
> 
> I keep my eyes on iPad/Jmol performance pretty closely. I don’t think this 
> ever worked. You can’t even touch-close the console if you open it with the 
> console command. I just assumed this was an iPad thing. That’s why I include 
> my own text field for Jmol Script.
> 
> JQuery does have mobile touch events, but I have not had time to play around 
> with them on iPad. I don’t even know if they work on iPad. I mention this 
> because touch and touch-hold are distinct events. Neither works with the Jmol 
> menu.
> 
> Otis
> 
> --
> Otis Rothenberger
> o...@chemagic.org 
> http://chemagic.org
> 
>> On Oct 20, 2016, at 8:51 AM, Robert Hanson > > wrote:
>> 
>> I tried Safari and Firefox on a desktop and found no problem. Is it the 
>> touch interface?
>> 
>> On Thu, Oct 13, 2016 at 1:47 PM, Greeves, Nick > > wrote:
>> I’ve tested an iPhone and an iPad running iOS 10.
>> 
>> Load a page running JSmol, click on the logo, choose any of the items with a 
>> submenu e.g. Console or Surfaces, nothing happens for me.
>> 
>> I’m pretty certain this used to work. Anyone else?
>> Best regards
>> Nick
>> -- 
>> Nick Greevesvia OS X Mail
>> Director of Teaching and Learning
>> Department of Chemistry
>> University of Liverpool 
>> Donnan and Robert Robinson Laboratories   
>> Crown Street, LIVERPOOL L69 7ZD U.K.
>> Email address:ngree...@liverpool.ac.uk 
>> WWW Pages:http://www.chemtube3d.com  
>> Tel:+44 (0)151-794-3506 (3500 secretary)
>> Dept Fax:   +44 (0)151-794-3588 
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org ! 
>> http://sdm.link/slashdot 
>> ___
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net 
>> https://lists.sourceforge.net/lists/listinfo/jmol-users 
>> 
>> 
>> 
>> 
>> 
>> -- 
>> Robert M. Hanson
>> Larson-Anderson Professor of Chemistry
>> 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
>> 
>> --
>> Check out the vibrant tech community on one of the world's most 
>> engaging tech sites, SlashDot.org ! 
>> http://sdm.link/slashdot___ 
>> 
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net 
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! 
> http://sdm.link/slashdot___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

Philip Bays
Emeritus Professor of Chemistry
Saint Mary's College
Notre Dame, IN 46556
pb...@saintmarys.edu


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] JSmol submenus not working in iOS

2016-10-20 Thread Otis Rothenberger
Nick and Bob,

I keep my eyes on iPad/Jmol performance pretty closely. I don’t think this ever 
worked. You can’t even touch-close the console if you open it with the console 
command. I just assumed this was an iPad thing. That’s why I include my own 
text field for Jmol Script.

JQuery does have mobile touch events, but I have not had time to play around 
with them on iPad. I don’t even know if they work on iPad. I mention this 
because touch and touch-hold are distinct events. Neither works with the Jmol 
menu.

Otis

--
Otis Rothenberger
o...@chemagic.org
http://chemagic.org

> On Oct 20, 2016, at 8:51 AM, Robert Hanson  wrote:
> 
> I tried Safari and Firefox on a desktop and found no problem. Is it the touch 
> interface?
> 
> On Thu, Oct 13, 2016 at 1:47 PM, Greeves, Nick  > wrote:
> I’ve tested an iPhone and an iPad running iOS 10.
> 
> Load a page running JSmol, click on the logo, choose any of the items with a 
> submenu e.g. Console or Surfaces, nothing happens for me.
> 
> I’m pretty certain this used to work. Anyone else?
> Best regards
> Nick
> -- 
> Nick Greevesvia OS X Mail
> Director of Teaching and Learning
> Department of Chemistry
> University of Liverpool 
> Donnan and Robert Robinson Laboratories   
> Crown Street, LIVERPOOL L69 7ZD U.K.
> Email address:ngree...@liverpool.ac.uk 
> WWW Pages:http://www.chemtube3d.com  
> Tel:+44 (0)151-794-3506 (3500 secretary)
> Dept Fax:   +44 (0)151-794-3588 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot 
> 
> ___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/jmol-users 
> 
> 
> 
> 
> 
> -- 
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> 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
> 
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! 
> http://sdm.link/slashdot___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] JSmol submenus not working in iOS

2016-10-20 Thread Robert Hanson
I tried Safari and Firefox on a desktop and found no problem. Is it the
touch interface?

On Thu, Oct 13, 2016 at 1:47 PM, Greeves, Nick 
wrote:

> I’ve tested an iPhone and an iPad running iOS 10.
>
> Load a page running JSmol, click on the logo, choose any of the items with
> a submenu e.g. Console or Surfaces, nothing happens for me.
>
> I’m pretty certain this used to work. Anyone else?
> Best regards
> Nick
> --
> Nick Greevesvia OS X Mail
> Director of Teaching and Learning
> Department of Chemistry
> University of Liverpool
> Donnan and Robert Robinson Laboratories
> Crown Street, LIVERPOOL L69 7ZD U.K.
> Email address:ngree...@liverpool.ac.uk
> WWW Pages:http://www.chemtube3d.com
> Tel:+44 (0)151-794-3506 (3500 secretary)
> Dept Fax:   +44 (0)151-794-3588
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
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
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] export to VRML and X3D

2016-10-20 Thread Robert Hanson
Never mind --  I can do that myself.

On Thu, Oct 20, 2016 at 7:36 AM, Robert Hanson  wrote:

> No time to work on this today, but I have flagged it. Sounds like easy
> fixes. I might not be setting the initial transform in x3d now. If you have
> an older version of an x3d file that works, could you send me that along
> with the one that doesn't work. Should be something at the very top of
> those that is different. Probably something very simple, like a broken tag
> or something.
>
> On Thu, Oct 20, 2016 at 6:53 AM, Chris St Pourcain <
> i...@indigomolecularimages.com> wrote:
>
>> Bob,
>>
>> I thought I'd give you an update on the problems with .wrl files not
>> being able to be imported into Blender. I had no joy on the Blender forums
>> so I've raised a bug report with the Blender developers. I'll let you know
>> what they come back with.
>>
>> On the plus side the analogous .x3d files created by JSmol are imported
>> perfectly into both Blender and MeshLab. But I have noticed that something
>> seems to have changed with the viewer since the .x3d export did away with
>> high level objects. When the .x3d file is imported into Blender the viewer
>> no longer appears to be pointing at the model. This never used to be the
>> case it always pointed exactly at the model, so that what the viewer saw in
>> Blender was exactly what was in the JSmol window when the .x3d file was
>> created.
>>
>> I was just wondering if anything has changed with the way the viewer is
>> exported or if it is another problem with the Blender importer. Clearly
>> this isn't a problem if the file is used for 3D printing!
>>
>> I've just remembered, there seems to a problem with the standalone Jmol
>> menu (14.6.4_2016.10.15) that isn't in the JSmol menu. If you try and
>> export an .x3d file using the standalone Jmol menu it creates an .stl file
>> instead. JSmol creates the .x3d fie as expected.
>>
>>
>> Thanks
>>
>> Chris
>>
>> --
>>
>> *Dr Chris St Pourçain*
>>
>> *Director*
>>
>> Indigo Molecular Images Ltd.
>>
>>
>> E i...@indigomolecularimages.com
>>
>> W www.indigomolecularimages.com
>>
>>
>> Registered in England and Wales No: 8064514
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> ___
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> 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
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
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
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] export to VRML and X3D

2016-10-20 Thread Robert Hanson
No time to work on this today, but I have flagged it. Sounds like easy
fixes. I might not be setting the initial transform in x3d now. If you have
an older version of an x3d file that works, could you send me that along
with the one that doesn't work. Should be something at the very top of
those that is different. Probably something very simple, like a broken tag
or something.

On Thu, Oct 20, 2016 at 6:53 AM, Chris St Pourcain <
i...@indigomolecularimages.com> wrote:

> Bob,
>
> I thought I'd give you an update on the problems with .wrl files not being
> able to be imported into Blender. I had no joy on the Blender forums so
> I've raised a bug report with the Blender developers. I'll let you know
> what they come back with.
>
> On the plus side the analogous .x3d files created by JSmol are imported
> perfectly into both Blender and MeshLab. But I have noticed that something
> seems to have changed with the viewer since the .x3d export did away with
> high level objects. When the .x3d file is imported into Blender the viewer
> no longer appears to be pointing at the model. This never used to be the
> case it always pointed exactly at the model, so that what the viewer saw in
> Blender was exactly what was in the JSmol window when the .x3d file was
> created.
>
> I was just wondering if anything has changed with the way the viewer is
> exported or if it is another problem with the Blender importer. Clearly
> this isn't a problem if the file is used for 3D printing!
>
> I've just remembered, there seems to a problem with the standalone Jmol
> menu (14.6.4_2016.10.15) that isn't in the JSmol menu. If you try and
> export an .x3d file using the standalone Jmol menu it creates an .stl file
> instead. JSmol creates the .x3d fie as expected.
>
>
> Thanks
>
> Chris
>
> --
>
> *Dr Chris St Pourçain*
>
> *Director*
>
> Indigo Molecular Images Ltd.
>
>
> E i...@indigomolecularimages.com
>
> W www.indigomolecularimages.com
>
>
> Registered in England and Wales No: 8064514
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
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
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] export to VRML and X3D

2016-10-20 Thread Chris St Pourcain
Bob,

I thought I'd give you an update on the problems with .wrl files not being
able to be imported into Blender. I had no joy on the Blender forums so
I've raised a bug report with the Blender developers. I'll let you know
what they come back with.

On the plus side the analogous .x3d files created by JSmol are imported
perfectly into both Blender and MeshLab. But I have noticed that something
seems to have changed with the viewer since the .x3d export did away with
high level objects. When the .x3d file is imported into Blender the viewer
no longer appears to be pointing at the model. This never used to be the
case it always pointed exactly at the model, so that what the viewer saw in
Blender was exactly what was in the JSmol window when the .x3d file was
created.

I was just wondering if anything has changed with the way the viewer is
exported or if it is another problem with the Blender importer. Clearly
this isn't a problem if the file is used for 3D printing!

I've just remembered, there seems to a problem with the standalone Jmol
menu (14.6.4_2016.10.15) that isn't in the JSmol menu. If you try and
export an .x3d file using the standalone Jmol menu it creates an .stl file
instead. JSmol creates the .x3d fie as expected.


Thanks

Chris

-- 

*Dr Chris St Pourçain*

*Director*

Indigo Molecular Images Ltd.


E i...@indigomolecularimages.com

W www.indigomolecularimages.com


Registered in England and Wales No: 8064514
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users