sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] MoleculeImporter (1.3.3) – updated 8.10.2017

    Scheduled Pinned Locked Moved Plugins
    36 Posts 13 Posters 39.3k Views 13 Watching
    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.
    • E Offline
      ericschimel
      last edited by

      I tried a bunch from ACD/ChemSketch and they all failed no matter what format I saved them in...

      -Eric
      http://plugin.sketchthis.net
      Sketchup Kitchen Design Plugin
      Custom Models

      1 Reply Last reply Reply Quote 0
      • A Offline
        Aerilius
        last edited by

        I had some unpublished changes pending, can you check the 1.2.0 release? If it shows the issue, please send me a .mol file.

        1 Reply Last reply Reply Quote 0
        • E Offline
          ericschimel
          last edited by

          It looks like I'm on the 1.1 release, I got it from the Extension Warehouse. Should I wait for an update there, or just load the one that you have for download here?

          -Eric
          http://plugin.sketchthis.net
          Sketchup Kitchen Design Plugin
          Custom Models

          1 Reply Last reply Reply Quote 0
          • A Offline
            Aerilius
            last edited by

            I would prefer to update when I know the new version 1.2.0 in the SCF store is good (EW usually takes a week for review, so I couldn't push another revision).

            1 Reply Last reply Reply Quote 0
            • E Offline
              ericschimel
              last edited by

              Ok, I just installed the one in the SketchuCation plugin store and it works on my files perfectly so there's something up with the one in the Extension Warehouse.

              -Eric
              http://plugin.sketchthis.net
              Sketchup Kitchen Design Plugin
              Custom Models

              1 Reply Last reply Reply Quote 0
              • I Offline
                Ivosh
                last edited by

                Dear Aerilius,
                thank you very much for great plugin. However I found difficulties, opening larger structures above 100 atoms. Can number of atoms indeed be the problem? Is there a way to solve it?

                Thanks a lot!

                Ivan

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Aerilius
                  last edited by

                  That can indeed be a problem: SketchUp is a line/polygon-based modeler, not a visualizer made for this purpose.
                  To reduce the polygon count, one can use a more simplified sphere component for the atoms.

                  The plugin's folder contains two components for atoms.
                  In the file "molecule_importer.rb" you can change the line 48:
                  COMPONENT_ATOM = File.join(PLUGIN_ROOT, "skp", "atom_high.skp")
                  to
                  COMPONENT_ATOM = File.join(PLUGIN_ROOT, "skp", "atom_low.skp")
                  or just edit the skp files.

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    Ivosh
                    last edited by

                    Thanks for the reply. Nope, does not work. Sorry I was not specfic. the 'difficulties' mean, that it refuses to open the file giving message 'import failed'. Just erasing part of the structure enables opening. I am sending the .mol file attached (I changed the extension to .txt as .mol is not allowed by the web interface. Ivan


                    structure1-2.txt

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Aerilius
                      last edited by

                      It was due to the number of atoms taking all the maximum of 3 digits. I fixed a bug where the plugin was not able to separate the number of atoms from the number of bonds. It should now work up to 999 atoms (maximum of Molfile v2000).
                      https://sketchucation.com/pluginstore?pln=ae_MoleculeImporter
                      Can you confirm that it works for you?

                      1 Reply Last reply Reply Quote 0
                      • I Offline
                        Ivosh
                        last edited by

                        Works!!! Thank you so much

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

                        Advertisement