You can also write text in the Body field. Or upload any other structure file(s) you want. Now click on Molecule page (the content type we just created).Įnter a name for this page in the Molecule field on top and upload the two file included in this module's files/ folder, these are 1crn.pdb and helix.pdb. Go to Administration > Content and click on Add content. Adding a webpage with the new content type Once the file field has been added, proceed then as above to present the uploaded file as a Jmol applet. Instead of creating a new content type you can also add a file upload field to an existing content type, such as "Basic page". Modifying an existing content type to add a file upload field Then don't forget to press Save on the Molecule page. Now you can customize the appearance and options of the Jmol applet as it will appear on your web pages. To use the Jmol object within local web pages, e.g. Which are those necessary files Read subsections below. See figure below.Ĭlick the cog wheel on the right to open the formatter settings form. zip or tar.gz format) and extract/uncompress only the necessary files to the folder of your choice. For the Structure file field choose Jmol applet in the Format column. Now click on the Manage display tab on top. I also want to be able to upload multiple files per page so I set Number of values to Unlimited. xyz structure files, I type the extensions in the box (see figure). You definately need to change the Allowed file extensions otherwise you will only be able to upload. In the next page you can configure this file upload field. In the next page leave the Field Settings as they are and click Save field settings. Jmol is a Java based application and an applet for displaying 3D chemical information. Structure file) and select File in the Field type column. On the next page (see figure below) we will add a field to upload a file anytime we create a webpage of this content type. Then click on Save and add fields at the bottom. Molecule page and Molecules as in the figure below. In the next window you can set some descriptions for this new content type. Go to Administration > Structure > Content types and click Add content type as in the figure below. Uploading a file can be done with a content type that allows file uploading. The idea of the Jmol formatter module is that an uploaded molecular structure file is displayed in a Jmol applet. Creating a new content type with a file upload field Enable the Jmol module in Administration > Modules and if you don't receive an error message, everything is correctly installed. Now proceed by unzipping the Jmol module file into sites/all/modules or your own custom module folder. If the folder sites/all/libraries/jmol doesn't exist, create it. The content of the zip file should be extracted in your Drupal installatin folder under sites/all/libraries/jmol in such a way that you have the file sites/all/libraries/jmol/Jmol.js. Installing the external Jmol libraryįor the module to work, you need to download and unzip the external Jmol library. You can change to another language if desired.This document is under construction and is meant to be a documentation page for the Jmol module. Automatically adopts the language of the user's operating system, if it is among the translations available.Translated into multiple languages: Catalan (ca), Chinese (both zh_CN and zh_TW) Czech (cs), Dutch (nl), French (fr), German (de), Hungarian (hu), Italian (it), Korean (ko), Portuguese - Brazil (pt_BR), Spanish (es), Turkish (tr), (in addition to the native American English, en-US, and British English, en-GB).The JmolViewer can be integrated as a component into other Java applications.The Jmol application is a standalone Java application that runs on the desktop.The JmolApplet provides an upgrade path for users of the Chime plug-in. It is ideal for development of web-based courseware and web-accessible chemical databases. The JmolApplet is a web browser applet that can be integrated into web pages. Jmol's features include reading a variety of file types and output from quantum chemistry programs, and animation of multi-frame files and computed normal modes from quantum programs. JmolApplet.java JmolSmilesApplet.java META-INF. È un software scritto in Java e può essere utilizzato su sistemi Windows, macOS, Linux e Unix. Jmol is an applet and Java based application designed to display various 3D chemical information. The download jar file contains the following class files or Java source files. Jmol è un visualizzatore open source che permette di visualizzare le strutture molecolare in 3D: mostra una rappresentazione in 3D di una molecola che può essere utilizzata come strumento di insegnamento, o in campi di ricerca quali chimica e biochimica.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |