• Login
sketchucation logo sketchucation
  • Login
🤑 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] MoleculeImporter (1.3.3) – updated 8.10.2017

Scheduled Pinned Locked Moved Plugins
36 Posts 13 Posters 39.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    Aerilius
    last edited by Aerilius 29 Jul 2011, 08:01

    This Plugin imports chemical structures drawn in various [url=http:http://en.wikipedia.org/wiki/Molecule_editor#Standalone_programs]Molecule Editors[/url]. It supports MDL Molfiles (.mol) or Z-Matrices (.mop, *.zmt, *.dat, *.mpc).

    An enchanting molecule imported from ACD ChemSketch.
    Make sure that you first do a 3d optimization and display hydrogenes before exporting.

    Version: 1.3.3

    Date: 08.10.2017

    Download
    PayPalButton

    Usage:
    (Menu) Plugins → Molecule Importer → Import MDL Molfile
    (Menu) Plugins → Molecule Importer → Import Z-Matrix

    1 Reply Last reply Reply Quote 0
    • P Offline
      pilou
      last edited by 29 Jul 2011, 09:17

      That is a task! 👍

      Frenchy Pilou
      Is beautiful that please without concept!
      My Little site :)

      1 Reply Last reply Reply Quote 0
      • M Offline
        mitcorb
        last edited by 29 Jul 2011, 12:06

        What determines the imported 3d object's size or scale in the Sketchup model space? Or, how big are these things relative to "Sang" or "Susan"?

        I take the slow, deliberate approach in my aimless wandering.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mitcorb
          last edited by 31 Jul 2011, 03:24

          Thanks, Aerilius:
          That picture seems to tell me what I was asking.

          I take the slow, deliberate approach in my aimless wandering.

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 22 Aug 2011, 09:18

            I've been looking around at the various ruby based importers for SketchUp and I see that no one uses the Importer class. If this class is used the importer can be found in the native import list which would be very nice.
            http://code.google.com/apis/sketchup/docs/ourdoc/importer.html

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • C Offline
              Chris Fullmer
              last edited by 23 Aug 2011, 06:53

              I use the importer class. It is very nice to use, though it is a bit difficult. It does not pop up errors, it just crashes SU. So if you have a small piece of code wrong while loading, it will crash, making it a bit tricky to debug. But it is really nice to have your importer registered in the list of importers.

              Chris

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 23 Aug 2011, 07:06

                @chris fullmer said:

                I use the importer class. It is very nice to use, though it is a bit difficult. It does not pop up errors, it just crashes SU. So if you have a small piece of code wrong while loading, it will crash, making it a bit tricky to debug. But it is really nice to have your importer registered in the list of importers.

                Chris

                Really? hm...
                Have you tried wrapping the code in an error catching block?

                Thomas Thomassen — SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Chris Fullmer
                  last edited by 23 Aug 2011, 10:16

                  I have not. That would probably be a reasonably easy way to make it work.

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    DanYHKim
                    last edited by 17 Oct 2011, 19:55

                    Is there any possibility of a protein structural renderer that would calculate sheets and helices, kind of like RasMol does?

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Aerilius
                      last edited by 17 Oct 2011, 23:39

                      I don't believe that this would be feasible (or in the scope of this plugin). Since proteins start with 100+ amino acids, they have several thousand atoms which means a model would have at least a million polygons - a number where SketchUp's performance isn't really fun anymore.

                      A dedicated molecule visualizer or molecule drawing program is probably better for most chemical/biological applications. This plugin may be useful for importing simple molecules and enhancing them with boxes or SketchUp components.

                      Here is a list of open source protein visualizers that I found:
                      PyMOL
                      Garlic Protein Visualizer
                      (RasMol)
                      Avogadro
                      I hope that helps.

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Aerilius
                        last edited by 18 Nov 2012, 11:39

                        Most programs don't use "physical" units like 1 Ångström = 100 Picometer (10[sup:321hkzmd]-10[/sup:321hkzmd]m), but document-relative units like in a word processor. Formats like the z-matrizes use Ångström which the plugin scales up to 1 meter. So it depends on the source program.

                        So it's likely that NanoPutian man can eat Bryce:

                        http://sketchup.google.com/3dwarehouse/download?mid=831a70669032236d8d1fe8cdc415f4c5&rtyp=lt&ctyp=other&ts=1311802607000

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Andri
                          last edited by 7 Feb 2013, 16:48

                          Hi, I have put the folder and file in the plugin folder but I cant see that it is workning. Is this not ok for ver 8.0? Can help and advice me?
                          Andri

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            Aerilius
                            last edited by 8 Feb 2013, 10:23

                            @unknownuser said:

                            but I cant see that it is workning

                            Hi, can you tell me what is "not" working? Do you not see a menu item in the Plugins menu (and in File → Import), or do you see it, but when you import a specific file, it seems not to create a model?
                            The plugin supports SketchUp 8.0 (which is 2 years old, and didn't add/remove anything that easily breaks plugins). It could be that the plugin cannot yet handle every file of the .mol format, in that case, maybe you can send me the file (or a similar file).

                            1 Reply Last reply Reply Quote 0
                            • pbacotP Offline
                              pbacot
                              last edited by 8 Feb 2013, 16:29

                              I am always amazed by the breadth of interests in this forum and uses of SU. I have a biology degree but I hadn't thought of such a scientific tie-in for SU or that people on this forum would be knowledgeable about these things. Well I guess I should not be amazed but just get used to it.

                              Thanks for the importer!

                              MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                Andri
                                last edited by 10 Feb 2013, 10:02

                                @aerilius said:

                                @unknownuser said:

                                but I cant see that it is workning

                                Hi, can you tell me what is "not" working? Do you not see a menu item in the Plugins menu (and in File → Import), or do you see it, but when you import a specific file, it seems not to create a model?
                                The plugin supports SketchUp 8.0 (which is 2 years old, and didn't add/remove anything that easily breaks plugins). It could be that the plugin cannot yet handle every file of the .mol format, in that case, maybe you can send me the file (or a similar file).

                                Hi and thanks for your replay. I can not see the plugin in the menu (file - import) and when I open the possible types of import I can not see *.mol.

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Aerilius
                                  last edited by 10 Feb 2013, 14:32

                                  Then I assume the plugin is not loaded. Since you didn't mention a popup with "load errors" at the start of SketchUp, we should maybe check that it is installed correctly:

                                  On the OS X operating system that is in: (the system path, not user path)
                                  %(#000000)[MacIntosh HD/Library/Application Support/Google SketchUp 8/SketchUp/plugins/]
                                  If Windows is installed on your computer, it is in: (depending on language and drive letter)
                                  %(#000000)[C:\Program Files\Google\Google SketchUp 8\Plugins\]

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    Aerilius
                                    last edited by 1 Mar 2013, 02:52

                                    Small update (1.1.0):

                                    • converted it into a SketchUp Extension (that you can turn on/off)
                                    • added icon and translations
                                    1 Reply Last reply Reply Quote 0
                                    • OxerO Offline
                                      Oxer
                                      last edited by 5 Mar 2013, 02:30

                                      Thanks!!
                                      I have created the spanish language file:
                                      Spanish Language

                                      "The result is the end what is important is the process" by Oxer
                                      [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        Aerilius
                                        last edited by 26 Apr 2013, 07:49

                                        A new version 1.1.1 has been uploaded. Some regular expressions failed on OS X and have been fixed.

                                        1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          matthew.robert
                                          last edited by 6 May 2013, 13:46

                                          @danyhkim said:

                                          Is there any possibility of a protein structural renderer that would calculate sheets and helices, kind of like RasMol does?

                                          Aerilius, I am probably asking the same thing as DanYHKim, but is it possible to model the pink and yellow things in the attached graphic? I downloaded the .pdb file from rcsb.org, and then exported the file to MOL v3000. That worked fine to model the molecular structure... which I am guessing is by design, but I am trying to find a way to simply model the other stuff.
                                          pinknyellow.png

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement