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

    [Plugin] Universal Importer - v1.2.6 - 30 July 2024

    Scheduled Pinned Locked Moved Plugins
    441 Posts 106 Posters 432.2k Views 106 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.
    • samuel_tS Offline
      samuel_t
      last edited by

      @virtualbreizh said:

      Bonjour Samuel,
      Merci pour votre plugin, cependant je n'arrive pas à le faire fonctionner sur Sketchup 19 Pro sur Mac. Je vois bien l'extension dans la liste des extensions mais la seule option disponible est "faire un don à l'auteur de l'extension" (ce que j'ai d'ailleurs fait 😉 )
      Tristan Langlois

      Hello Tristan,

      You don't need to donate. This plugin is free. In SketchUp menu, use "File > Import with Universal Importer...". Do you want a refund?

      --

      Bonjour Tristan,

      Vous n'avez pas besoin de faire un don. Cette extension est gratuite. Dans le menu de SketchUp, utilisez "Fichier > Importer avec Importateur Universel...". Voulez-vous être remboursé ?

      1 Reply Last reply Reply Quote 0
      • samuel_tS Offline
        samuel_t
        last edited by

        @gomo25mail said:

        Hello, great idea, BUT when I tried to reduce the face count on many items, they only went up in face count.
        Windows 11, SketchUp Make 2017.
        Example: Used a simple vehicle (Jeep.skp) with 7537 faces. Tried to reduce to 4000. Ended up with more faces.

        Hello. Can you please send me this "Jeep.skp", as it is before polygon reduction attempt?

        1 Reply Last reply Reply Quote 0
        • samuel_tS Offline
          samuel_t
          last edited by

          Hello, I just released 1.1.8 version of SketchUp Universal Importer plugin 🎉 It automatically imports missing textures, even if they are in neighboring folders:

          Old versions asked too many questions! Sometimes, dozens of dialog boxes were displayed 😠 To speed up workflow, I added options that one can enable or disable from "Extensions > Universal Importer" menu.

          Model is no longer resized. I may turn this model height question into an option but I would prefer to find an automatic solution to this issue.

          Under macOS, model now seems to be imported right side up.

          Universal Importer plugin is now compatible with Lord Of The Toolbars plugin from Fredo6.

          There are less copies of temporary files. I will develop the next versions in this direction. Hard drive will be less stressed... 😄

          Download latest Universal Importer plugin from SketchUcation PluginStore.

          1 Reply Last reply Reply Quote 0
          • Rich O BrienR Offline
            Rich O Brien Moderator
            last edited by

            Nice update!

            I'll test some stuff I know usually doesn't play nice.

            Download the free D'oh Book for SketchUp 📖

            1 Reply Last reply Reply Quote 0
            • samuel_tS Offline
              samuel_t
              last edited by

              1.1.9 version fixes import of textures stored in non-system disk partitions, e.g. D:\path\to\texture.jpg

              Download latest Universal Importer plugin from SketchUcation PluginStore.

              1 Reply Last reply Reply Quote 0
              • Rich O BrienR Offline
                Rich O Brien Moderator
                last edited by

                Works for but .blend files throw an error....

                https://i.imgur.com/bHVy9Nk.png

                This is on Blender 3.2.1 files. Even a simple cube fails

                cube.zip

                Download the free D'oh Book for SketchUp 📖

                1 Reply Last reply Reply Quote 0
                • Didier BurD Offline
                  Didier Bur
                  last edited by

                  Hi Samuel,

                  Since I updated to v1.1.8, I always got this message:
                  bug v118.jpg
                  It happens no matter the file or its path, or the file format. In the above case, the file gou.mtl exists at the correct location.

                  Any idea ? Do I have to uninstall the previous version ?
                  Thanks in advance,

                  DB

                  1 Reply Last reply Reply Quote 0
                  • samuel_tS Offline
                    samuel_t
                    last edited by

                    @Rich Thanks for your report.

                    .blend v3 files are no yet supported.

                    And .blend v2 support isn't very good, but next Universal Importer versions will support them better 😄

                    In meanwhile, if you have only a .blend file as source: I recommend to first export this source to .fbx or .gltf from Blender, because FBX/glTF support is rather good in current Universal Importer version.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      satemorej
                      last edited by

                      Hi,
                      I have just installed Universal Importer.
                      I guess I missed some setting steps as whatever the file I try to import, there is an error message.

                      SKETCHUP PRO 2017 / MACOS Catalina

                      Thanks for your help
                      Best regards
                      Jerome


                      Capture d’écran 2022-10-12 à 19.00.39.png

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        satemorej
                        last edited by

                        Hi
                        I have installed Universal Importer today.
                        I am rather used to installing plugins but I guess I may have missed something.
                        Whatever the file or file type I try to import, I get an error message.
                        Regards
                        Jerome

                        MACOS Catalina / sketchup pro 20217


                        Capture d’écran 2022-10-12 à 19.00.39.png

                        1 Reply Last reply Reply Quote 0
                        • samuel_tS Offline
                          samuel_t
                          last edited by

                          @satemorej said:

                          Hi,
                          I have just installed Universal Importer.
                          I guess I missed some setting steps as whatever the file I try to import, there is an error message.

                          SKETCHUP PRO 2017 / MACOS Catalina

                          Thanks for your help
                          Best regards
                          Jerome

                          Hi Jérôme,

                          Did you also try to import a file in a "popular" format such as OBJ, FBX or glTF?

                          Compatibility with STEP format is low else broken... See this issue on GitHub.

                          Best regards,

                          Samuel

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            satemorej
                            last edited by

                            @samuel_t said:

                            @satemorej said:

                            Hi,
                            Did you also try to import a file in a "popular" format such as OBJ, FBX or glTF?

                            Compatibility with STEP format is low else broken... See this issue on GitHub.

                            Best regards,

                            Samuel

                            Hello,
                            I undestand for STEP format lower compatibility.

                            As you suggested, I have tried with two obj files found on 2 different web sites.
                            It works for one, it does not for the other one.

                            Please see error message in attached file.

                            Feel free to provide me link to test obj files. I may test them if you think it helps.

                            Best regards
                            Jerome


                            Capture d’écran 2022-10-18 à 17.19.47.png

                            1 Reply Last reply Reply Quote 0
                            • samuel_tS Offline
                              samuel_t
                              last edited by

                              Hello @satemorej

                              The compatibility with the OBJ format is high.

                              Can you, please, send me the files producing this error?

                              https://sketchucation.com/forums/download/file.php?id=168290&mode=view/rokbox.jpg

                              I would like to inspect every file (.obj, .mtl and textures) in the archive you downloaded.

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                satemorej
                                last edited by

                                Hello

                                @samuel_t said:

                                Hello @satemorej,
                                Can you, please, send me the files producing this error?

                                Here is the link to the obj file that causes my error.
                                https://www.artec3d.com/fr/3d-models/bearded-guy-hd
                                Best regards
                                Jerome

                                1 Reply Last reply Reply Quote 0
                                • samuel_tS Offline
                                  samuel_t
                                  last edited by

                                  Hello Jérôme,

                                  I inspected the ".obj" file mentioned in your last message. It contains an empty "mtllib" statement, on line 7. This causes the "copy_stream" error...

                                  While waiting for a fix in my plugin code, here is a workaround:

                                  • Open the file "Bearded guy.obj" with a simple text editor.
                                  • Delete line 7 (mtllib) then overwrite the file.
                                  • Import the file again with the plugin.
                                  1 Reply Last reply Reply Quote 0
                                  • Didier BurD Offline
                                    Didier Bur
                                    last edited by

                                    Hi Samuel,

                                    Thanks again for this cool plugin 😄
                                    I use UniversalImporter to import an OBJ file that is exported from MeshMolder.
                                    As you can see on the images, the 435488 triangles from MM are converted to a 86702 triangles mesh in SU. But when importing, UI does say "The file has 435488 faces. Do you want to reduce the number of faces ?". The triangles decimation occurs even if I answer "No" to this message.
                                    Do I miss something or is there a face count limit in UImporter ?

                                    MeshMolder

                                    SketchUp

                                    DB

                                    1 Reply Last reply Reply Quote 0
                                    • samuel_tS Offline
                                      samuel_t
                                      last edited by

                                      Hi Didier,

                                      No, I didn't put such a limit in the Universal Importer plugin.

                                      For information, polygon reduction is done thanks to MeshLab.

                                      If you target 200 000 faces when the plugin proposes a polygon reduction, what is the final result in SketchUp?

                                      1 Reply Last reply Reply Quote 0
                                      • Didier BurD Offline
                                        Didier Bur
                                        last edited by

                                        Hi Samuel,

                                        I'll try with a 200k faces mesh as time permits.
                                        I've tried with TIG's "OBJ Importer" plugin and it doesn't decimate the triangles. Cool 😎

                                        Regards,

                                        DB

                                        1 Reply Last reply Reply Quote 0
                                        • Didier BurD Offline
                                          Didier Bur
                                          last edited by

                                          Hi Samuel,

                                          Here are the results with a 200k triangles mesh:
                                          1.jpg
                                          2.jpg

                                          The triangles loss is far less than with a 400k mesh, but it is still there.

                                          Regards,

                                          DB

                                          1 Reply Last reply Reply Quote 0
                                          • samuel_tS Offline
                                            samuel_t
                                            last edited by

                                            Hi Didier,

                                            I meant to say export the model to 435,488 faces from Meshmolder, then target 200,000 faces with Universal Importer to see how the plugin behaves... but never mind.

                                            In your case, the polygon count goes down even if you don't ask Universal Importer for a reduction. This leads me to think that it is solely the conversion (done thanks to Assimp), which by an automatic optimization or correction, causes the loss of triangles.

                                            Could you please send me the model you are trying to import?

                                            Regards,

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 19
                                            • 22
                                            • 23
                                            • 17 / 23
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement