sketchucation logo sketchucation
    • 登入
    ℹ️ 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

    已排程 已置頂 已鎖定 已移動 Plugins
    441 貼文 106 Posters 432.3k 瀏覽 106 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • OxerO 離線
      Oxer
      最後由 編輯

      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 條回覆 最後回覆 回覆 引用 0
      • OxerO 離線
        Oxer
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • samuel_tS 離線
          samuel_t
          最後由 編輯

          @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 條回覆 最後回覆 回覆 引用 0
          • samuel_tS 離線
            samuel_t
            最後由 編輯

            @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 條回覆 最後回覆 回覆 引用 0
            • samuel_tS 離線
              samuel_t
              最後由 編輯

              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 條回覆 最後回覆 回覆 引用 0
              • samuel_tS 離線
                samuel_t
                最後由 編輯

                @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 條回覆 最後回覆 回覆 引用 0
                • samuel_tS 離線
                  samuel_t
                  最後由 編輯

                  1.0.2 version adds:

                  • Preliminary macOS support,
                  • Spanish translation.

                  Download latest Universal Importer plugin from SketchUcation PluginStore.

                  1 條回覆 最後回覆 回覆 引用 0
                  • J 離線
                    JimPeter
                    最後由 編輯

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

                    1 條回覆 最後回覆 回覆 引用 0
                    • J 離線
                      JimPeter
                      最後由 編輯

                      @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 條回覆 最後回覆 回覆 引用 0
                      • J 離線
                        JimPeter
                        最後由 編輯

                        Error:Following command failed:


                        1.0.3.png

                        1 條回覆 最後回覆 回覆 引用 0
                        • TIGT 離線
                          TIG Moderator
                          最後由 編輯

                          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 條回覆 最後回覆 回覆 引用 0
                          • Dave RD 離線
                            Dave R
                            最後由 編輯

                            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 條回覆 最後回覆 回覆 引用 0
                            • OxerO 離線
                              Oxer
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 0
                              • TIGT 離線
                                TIG Moderator
                                最後由 編輯

                                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 條回覆 最後回覆 回覆 引用 0
                                • G 離線
                                  Glenn at home
                                  最後由 編輯

                                  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 條回覆 最後回覆 回覆 引用 0
                                  • samuel_tS 離線
                                    samuel_t
                                    最後由 編輯

                                    @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 條回覆 最後回覆 回覆 引用 0
                                    • samuel_tS 離線
                                      samuel_t
                                      最後由 編輯

                                      1.0.4 version:

                                      • Fixes scaling issues for many formats.
                                      • Fixes "black screen" bug on Windows.
                                      • Drops temp folder on SketchUp close.

                                      Download latest Universal Importer plugin from SketchUcation PluginStore.

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • samuel_tS 離線
                                        samuel_t
                                        最後由 編輯

                                        @ken said:

                                        I have not had this program to import any files, STL or OBJ or STP. Below is the following error message I get trying to import an STP file of a nut that is 24k large.

                                        I did notice in the program, it lists the file as obj file when the file name is, CROSBY 2160 300T NUT.STP.

                                        Thanks for your help.

                                        Ken

                                        Did you tried plugin with another model? If yes, does same (assimp stop) problem occurs?

                                        Install Microsoft Visual C++ library then restart SketchUp. Let me know if problem persists.

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • kenK 離線
                                          ken
                                          最後由 編輯

                                          Well at least with version 4 I am getting an error message, attached below, for a stl and stp file


                                          Image 299.png


                                          Image 298.png

                                          Fight like your the third monkey on Noah's Ark gangway.

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • samuel_tS 離線
                                            samuel_t
                                            最後由 編輯

                                            @ken said:

                                            Well at least with version 4 I am getting an error message, attached below, for a stl and stp file

                                            Could you please upload your model (textures included) to a file hoster or here? So I could debug it.

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 22
                                            • 23
                                            • 6 / 23
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement