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

      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
            • Didier BurD Offline
              Didier Bur
              last edited by

              Hello Samuel,
              I've sent you the OBJ file via PM.
              Regards,

              DB

              1 Reply Last reply Reply Quote 0
              • B Offline
                bartektrebacz
                last edited by

                Dear Samuel,

                Thank You for making this plugin available to the public, I would really like to try to use it, unfortunately sketchup crashes on import. I tried with multiple formats of the same model with no success:/ I’m using sketchup 17 make version.

                Best regards!


                This is the file name

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

                  @satemorej said:

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

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

                  Hello JΓ©rΓ΄me,

                  Upcoming plugin version fixes this error! πŸ˜‰

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

                    @didier bur said:

                    I use Universal Importer to import an OBJ file that is exported from MeshMolder.
                    [...] 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.

                    @didier bur said:

                    I've sent you the OBJ file via PM.

                    Hello Didier,

                    Thanks for providing this OBJ file. With upcoming version of Universal Importer, I ended up with 379808 faces in SU. Not perfect but better πŸ˜„

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

                      @bartektrebacz said:

                      Dear Samuel,
                      Thank you for making this plugin available to the public

                      Dear bartektrebacz,

                      It seemed natural and more "ethical" to release this plugin for free because it relies heavily on free public resources (such as Assimp and MeshLab) that are developed by other developers than me.

                      @bartektrebacz said:

                      [...] SketchUp crashes on import. I tried with multiple formats of the same model with no success πŸ˜• I’m using SketchUp 17 Make version.

                      SketchUp 17 Make, OK. Can you please send me the file "uploads-files-955134-F22+ANUK.3ds" via Dropbox (or another file host) so I can inspect it?

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

                        @rich o brien said:

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

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

                        Hello Rich,

                        This error is fixed in upcoming Universal Importer version! In fact, even current Blender version (3.4.1) will be somewhat supported. More news on this topic very soon πŸ˜„

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

                          Hello, I am pleased to announce the availability of Universal Importer 1.2.0! πŸ˜„ Here are the changes brought by this new version:

                          Improvements

                          Imports are faster due to the fact that the plugin now uses (as much as possible) temporary hard links instead of classic temporary files. This also allows to monopolize less disk space during the import process.

                          I refactored some of the plugin code to make it cleaner, I hope so πŸ˜›

                          Bugfixes

                          Polygon reduction from the toolbar was not working anymore (or not for all models). The number of faces before and after reduction was about equal, very far from the target... It's fixed!

                          Thanks to the great work of the Assimp contributors, you should no longer get the error:

                          • "End of file or read limit was reached", when importing a .ter file (Terragen).

                          • "Constructing BlenderDNA Structure encountered an error", when importing a .blend file. By the way, the files created with Blender 3 are now importable provided you:

                            1. Extract the textures embedded in the .blend file to the disk with Blender.
                            2. Check the option "Claim Missing Textures" in Universal Importer.

                          The bug of imported materials with zero opacity is fixed. Thanks to JDD for reporting this bug.

                          It is now possible to load an .obj file that references an empty material library ("mtllib"). Thanks to JΓ©rΓ΄me Tas for reporting this case.

                          A heavy model (e.g. more than 400 000 triangles) can lose triangles once imported into SketchUp with Universal Importer. This problem has not disappeared yet but seems less present... Thanks to Didier Bur for reporting this problem.

                          Translations

                          I took the liberty of including a Japanese translation of Universal Importer, found on the PC-Trace blog. If you are the administrator of this blog, I invite you to contact me to become the official Japanese translator of the plugin.

                          If Universal Importer is not available in your native language, feel free to contact me to become its official translator πŸ˜‰


                          Download latest Universal Importer plugin from SketchUcation PluginStore.

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

                            πŸ‘

                            Brilliant update!

                            Download the free D'oh Book for SketchUp πŸ“–

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

                              Blend files seem to still be an issue. Will test more though....

                              https://i.imgur.com/4clWQXe.png

                              Download the free D'oh Book for SketchUp πŸ“–

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

                                1.2.1 version handles the case when you import a model from a non-system disk partition such as "D:".

                                Download latest Universal Importer plugin from SketchUcation PluginStore.

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

                                  Still getting errors even on simple cube mesh. No materials, no modifiers and no external files linked or appended to .blend

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

                                  Download the free D'oh Book for SketchUp πŸ“–

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

                                    @rich o brien said:

                                    Still getting errors even on simple cube mesh. No materials, no modifiers and no external files linked or appended to .blend

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

                                    Hi Rich,

                                    Thanks for your quick bug reports.

                                    Does Universal Importer v1.21 allow you to import other formats than .blend?

                                    Can you please attach this very simple .blend file that refuses to be imported?

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

                                      Here's a simple cube saved in Blender 3.5 that fails to import...

                                      cube.zip

                                      Download the free D'oh Book for SketchUp πŸ“–

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        rv1974
                                        last edited by

                                        U r Da Beast πŸ˜„

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

                                          @rv1974 said:

                                          U r Da Beast πŸ˜„

                                          Beware.....because I do bite

                                          Download the free D'oh Book for SketchUp πŸ“–

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

                                            @rich o brien said:

                                            Here's a simple cube saved in Blender 3.5 that fails to import...

                                            [attachment=0:hhrjer15]<!-- ia0 -->cube.zip<!-- ia0 -->[/attachment:hhrjer15]

                                            Indeed Rich, Universal Importer passes Blender 3.4.1 cube test but not Blender 3.5.0 one.
                                            Thanks for your report πŸ˜‰

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

                                            Advertisement