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.
    • OxerO Offline
      Oxer
      last edited by

      Hi, I tried to import the same Pinas.obj file with QuadTools plugin and the importing works fine.

      Here the files:

      Pinas.obj, Pinas.mtl and texture

      "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
      • OxerO Offline
        Oxer
        last edited by

        It would be interest if other mac users test the file with other macos & SketchUp versions.

        "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
        • samuel_tS Offline
          samuel_t
          last edited by

          @oxer said:

          [...]
          EDIT: I see that you have change the converter.rb to V2, I'll test this new version of the file.

          Super. Thanks for your help.

          1 Reply Last reply Reply Quote 0
          • OxerO Offline
            Oxer
            last edited by

            I overwrited the converter.rb file and this is the result importing Pines.obj file:

            Two lines crossed in a vertical plane
            Pines model imported.jpg

            I made some testing with another models and formats, I used Blender to export the models to different formats.

            Original models created with Blender 2.82.
            Original Models.jpg

            THE RESULTS

            1. FBX format

            The importer works but there are some issues:
            A) The scale is multiplied by 100.
            B) It doesn't import the UVMap.
            C) With complex models the edges are displaced a little (see the image).

            FBX format.jpg

            2. OTHER FORMATS

            A) Cube 1 x 1 m, OBJ, PLY and DXF formats.
            Other fomats 01.jpg

            B) Sphere 1 x 1 m, OBJ, PLY and DXF formats.
            Other formats 02.jpg
            DXF Sphere.jpg

            EDIT: I see that you have changed the converter.rb to V2, I'll test this new version of the file.

            "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
            • OxerO Offline
              Oxer
              last edited by

              Thanks to you for your work!! πŸ‘

              converter.rb V2 tested and it works fine now, fantastic!! πŸŽ‰

              Some issues only, the Z axis is flipped and the scale isn't correct, for the moment I probed with FBX format only.

              FBX with converter.rb v2.jpg

              "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
              • OxerO Offline
                Oxer
                last edited by

                OBJ FORMAT

                The same issues as FBX format, scale (in this case is more small) an Z axis.

                OBJ format V2.jpg

                PLY FORMAT

                The same issue with scale as OBJ format but the Z axis is correct. πŸ‘

                PLY format V2.jpg

                DXF FORMAT

                The same issue with scale and axis as OBJ format , I think dxf doesn't support textures.

                DXF format.jpg

                "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
                • samuel_tS Offline
                  samuel_t
                  last edited by

                  @oxer said:

                  Hi, I tried to import the same Pinas.obj file with QuadTools plugin and the importing works fine.
                  Here the files:

                  Hello Oxer,

                  I can import "Pinas.obj" on Windows. So it's maybe related to macOS or SU.

                  Could you please overwrite your installed "converter.rb" with attached one?

                  converter.rb

                  Then restart SketchUp. Then try to re-import "Pinas.obj". Thanks for help. πŸ˜‰

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

                    @Mac Users

                    I've fixed again plugin code. I hope this one works on macOS! πŸ˜›
                    Please overwrite your installed "converter.rb" with attached one.

                    converter.rb

                    Then restart SketchUp. Then import a model. Tell me if it works.

                    Thank you. πŸ˜‰

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

                      1.0.3 version fixes critical bugs on macOS and Windows. macOS is now fully supported.

                      Download latest Universal Importer plugin from SketchUcation PluginStore.

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

                        @oxer said:

                        Fantastic plugin but I work on mac, is there plan for macos support?

                        Problem is I don't have macOS computer. Maybe I could try code it on a virtual machine?
                        Since v1.0.3, plugin is compatible with macOS.

                        @oxer said:

                        Spanish Language File

                        Thanks for Spanish translation.

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

                          1.0.2 version adds:

                          • Preliminary macOS support,
                          • Spanish translation.

                          Download latest Universal Importer plugin from SketchUcation PluginStore.

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            JimPeter
                            last edited by

                            [img]1.0.3.png[/img]
                            Error:Following command failed:

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              JimPeter
                              last edited by

                              @samuel_t said:

                              1.0.3 version fixes critical bugs on macOS and Windows. macOS is now fully supported.

                              Download latest Universal Importer plugin from SketchUcation PluginStore.

                              Error:Following command failed:


                              1.0.3.png

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                JimPeter
                                last edited by

                                Error:Following command failed:


                                1.0.3.png

                                1 Reply Last reply Reply Quote 0
                                • TIGT Offline
                                  TIG Moderator
                                  last edited by

                                  There seems to be something seriously wrong with the functioning of this version of the Extension.

                                  It makes a folder 'Universal Importer/tmp' inside the main C:/ProgramData/ hidden-folder - not sure why ?
                                  What's wrong with the user's Temp folder ?
                                  This location doesn't seem appropriate ??
                                  Permission muddles and other issues are almost inevitable !
                                  The importer then copies a seemingly random selection of files and subfolders into 'tmp' !
                                  It seems like these are from the same location as the file selected to import ?
                                  Currently about 17Gb !
                                  If I rename/delete 'tmp', then it's remade with a new random selection when the next import is started.
                                  As far as I can see it's copying, rather than moving files, which of course would be far worse !!
                                  There's no auto-cleanup on completion, and so the 'tmp' folder will grow with each run of the importer !
                                  Which is of course not ideal.

                                  Any thoughts on what's happening ??

                                  TIG

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

                                    It's a great idea for an extension but so far I haven't been able to get any file type imported into SU2019 with it. Like TIG found, there's a huge TMP folder created in Program Data full of all sorts of files including some SketchUp files that aren't mine and which I've never seen before. I suspect the TMP file is full of stuff from the author's testing. For now I've removed it all and will wait to see if it gets fixed. It would be very useful if it worked.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • OxerO Offline
                                      Oxer
                                      last edited by

                                      It happens the same on mac, the extension creates a temporal folder inside the user folder:

                                      /Users/Username/.UniversalImporter/tmp

                                      I told it to samuel_t and he answered me this:

                                      @unknownuser said:

                                      Model and associated files are copied to a hidden temporal folder to avoid invalid characters in path.
                                      These temp files are automatically deleted at each import.

                                      On mac the default temp folder is located here:

                                      /private/var/folders/l9/c_qtfqf17257pb9ppdy9tw5m0000gn/T/

                                      "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
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by

                                        One thing I see that seems adrift is the the user is prompted to choose an optional 'Texture Atlas' - but I think it's asked with a UI.openpanel dialog not a UI.select_directory dialog
                                        So the desired folder is never passed to the code properly as the selected item is a file, not a folder, and also if the user cancels that step, then somehow the method still runs and then random files & folders get copied over into into 'tmp'...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          Glenn at home
                                          last edited by

                                          Huh, so far working as advertised for me. I've only tried a few of the formats so far but they mostly worked for me. Here is a .gltf file I exported from Simlab and used this plugin to bring it into SU. It took a few minutes, like 3 but it came in with good results.

                                          https://i.ibb.co/BzMWJZG/amon.png

                                          SketchUp Pro 2024/2025 Dell XPS 8950 i9-12900K 64GB Ram RTX 3080

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

                                            @jimpeter said:

                                            [...]
                                            Error:Following command failed:
                                            [...]

                                            Could you please upload your model to a file hoster or here? This way I could debug it.

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

                                            Advertisement