• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[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.
  • S Offline
    samuel_t
    last edited by Jan 5, 2020, 7:51 PM

    @glro said:

    Hi, i tried your plugin

    It worked for a OBJ file

    but not for this DXF file (joined)

    do you know why?

    Hi,

    Import fails because filename contains a '#' character.
    Substitute '#' with '_' and import will be succesful. 😉

    plateforme_202001051957_ca.dxf

    1 Reply Last reply Reply Quote 0
    • S Offline
      samuel_t
      last edited by Jan 5, 2020, 8:07 PM

      @khai said:

      [...]
      thanks again!

      You're welcome! 👍

      1 Reply Last reply Reply Quote 0
      • P Offline
        paladinjnr
        last edited by Jan 6, 2020, 2:51 PM

        Hi
        I have installed the plugin in my SketchUp 2018 , absolutely brilliant
        how ever I am having a problem with textures , models import fine but no textures, which format should the textures be , I have tried dds and png

        1 Reply Last reply Reply Quote 0
        • K Offline
          ken
          last edited by Jan 6, 2020, 4:14 PM

          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


          Image 288.png


          Image 289.png

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

          1 Reply Last reply Reply Quote 0
          • S Offline
            samuel_t
            last edited by Jan 6, 2020, 4:25 PM

            @paladinjnr said:

            Hi
            I have installed the plugin in my SketchUp 2018 , absolutely brilliant
            how ever I am having a problem with textures , models import fine but no textures, which format should the textures be , I have tried dds and png

            Could you please upload whole folder (model and textures) to a file hoster? This way I could debug it.

            1 Reply Last reply Reply Quote 0
            • S Offline
              samuel_t
              last edited by Jan 6, 2020, 4:52 PM

              @oxer said:

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

              Good news: I'm working on a macOS version of plugin. 😛 Stay tuned!

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by Jan 6, 2020, 7:42 PM

                @unknownuser said:

                Run SketchUp as Administrator then re-import OBJ model. Let me know if problem persists.

                If this step fixes the issue then it's almost certain that SketchUp was not installed correctly !

                To fix it...
                Whilst logged into Windows as your normal Windows user-name, ensure that SketchUp is closed.
                Find the SketchUp installer's exe file - probably in your Downloads folder ?
                Select the exe file's icon and right-click > context-menu > "Run as administrator"
                When prompted choose "Repair".
                Restart SketchUp and retry...

                Installing any complex app in any other way can cause weird and unpredictable problems, often around permissions...
                So never double-click an installer's exe file to 'Run' it - even if you have admin-powers, it is not the same thing.

                TIG

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Didier Bur
                  last edited by Jan 6, 2020, 8:04 PM

                  French translation file 😄

                  fr.zip

                  DB

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    samuel_t
                    last edited by Jan 6, 2020, 8:38 PM

                    @paladinjnr said:

                    [...]

                    Hi Here is a link to the model as requested.

                    Filehorst wurde abgeschaltet! Filehorst has been shut down!

                    favicon

                    (filehorst.de)

                    [...]

                    Your model had absolute paths to textures. That's not supported by plugin.
                    I converted absolute paths to relative paths with a text editor. It's OK now:

                    Fixed DirectX Model

                    Fixed model is attached below:

                    Fixed DirectX Model

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      samuel_t
                      last edited by Jan 6, 2020, 8:39 PM

                      @didier bur said:

                      French translation file 😄

                      Thank you! 😄

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Danish9762
                        last edited by Jan 7, 2020, 7:38 AM

                        Hi sir im using sketchup 2017 when i install this plugins by extension manager so im getting unsigned plugin please contact plugins developer. Not working please gix it or tell me how to fix it

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          juju
                          last edited by Jan 7, 2020, 11:28 AM

                          @danish9762 said:

                          Hi sir im using sketchup 2017 when i install this plugins by extension manager so im getting unsigned plugin please contact plugins developer. Not working please gix it or tell me how to fix it

                          @Danish9762: You need to relax the extension loading policy you have set withing SketchUp.

                          Save the Earth, it's the only planet with chocolate.

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            samuel_t
                            last edited by Jan 7, 2020, 11:47 AM

                            @Danish9762 "Unsigned" problem isn't a bug, it just means plugin doesn't come from SketchUp Extension Warehouse.

                            As suggested by @juju, relax SketchUp extension loading policy settings. To access these settings, select Window > Preferences > Extensions Policy (Microsoft Windows) or SketchUp > Preferences > Extensions > Policy tab (OS X). SketchUp has three available extension policy modes: “Identified Extensions Only”, “Approve Unidentified Extensions”, and “Unrestricted”. Select “Unrestricted” then restart SketchUp.

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sketch3d.de
                              last edited by Jan 7, 2020, 2:49 PM

                              based on the MeshLab engine should maybe be mentioned.

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                paladinjnr
                                last edited by Jan 7, 2020, 4:05 PM

                                Will do

                                Hi Here is a link to the model as requested.

                                Filehorst wurde abgeschaltet! Filehorst has been shut down!

                                favicon

                                (filehorst.de)

                                Many Thanks Rae

                                Thank You for your help, I have spent most of today importing different models , some worked some didn't , so I am gong to give it a break for a couple of weeks then pick it up again .
                                Once again many thanks for your help

                                Keep up the good work

                                Rae

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  samuel_t
                                  last edited by Jan 7, 2020, 4:50 PM

                                  @sketch3d.de said:

                                  based on the MeshLab engine should maybe be mentioned.

                                  It was already mentioned on GitHub page . And now, it's also mentioned on SketchUcation page .

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    pilou
                                    last edited by Jan 7, 2020, 6:44 PM

                                    Frenchy Pilou
                                    Is beautiful that please without concept!
                                    My Little site :)

                                    1 Reply Last reply Reply Quote 0
                                    • O Offline
                                      Oxer
                                      last edited by Jan 8, 2020, 3:51 AM

                                      Thanks for the macos version!! 👍

                                      SU2017 & macOS 10.13.6

                                      I found some problems with the importing:

                                      1. If you import a file that contains a space in filename (e.g. Pinas Prueba.obj), it appears a popup message window in Sketchup: "Import Error". I looked in the Console (I opened SketchUp via Terminal) and this is the error message:

                                      assimp export; wrote output file; /Users/Oxer/.UniversalImporter/tmp/Pinas Prueba.obj.dae
                                      Warning; uri contains white space, dom will convert them to %20 in output files!
                                        uri=#Pinas Prueba.obj.obj
                                      Error; daeStandardURIResolver;;resolveElement() - failed to resolve file;//localhost/Users/Oxer/.UniversalImporter/tmp/Pinas Prueba.obj.dae#Pinas Prueba.obj.obj
                                      

                                      2. With a file without spaces in filename Universal Importer work fine but nothing is imported, it appears a popup window in Sketchup with this text --> 'An empty component cannot be inserted'
                                      I probed with different file format: obj, dae, fbx, blend and the same in all.

                                      Generated files.jpg

                                      Warning message.jpg

                                      Perhaps it is a SketchUp error or perhaps is a problem with the scale, I don't know it, but I tried changing the 405 line in converter.rb:

                                      dae_export.sub!('meter="1"', 'meter="0.01"')
                                      
                                       to   
                                      
                                       dae_export.sub!('meter="1"', 'meter="1"')
                                      

                                      And the Universal Importer inserted a flat component with two lines, see the image:

                                      Inserted component with meter=1.jpg

                                      3. When you select a file (e.g. in the Finder) to import, the plugin copy all Finder files to the temp folder, why? and are this files delete automatically or is it necessary delete manually?

                                      4. A minor detail, the texts 'Select a 3D Model' '3D Models |.3d;.3ds;.3mf;.ac;.ac3d;.acc;...' 'Select a Texture Atlas (Optional)' 'Images |.jpg;.png;*.bmp;||' do not appear in the importing windows.

                                      Again, thanks for your efforts !!

                                      "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
                                      • S Offline
                                        samuel_t
                                        last edited by Jan 8, 2020, 12:41 PM

                                        @oxer said:

                                        Thanks for the macos version!! 👍

                                        Thanks for detailed report! 😉

                                        @oxer said:

                                        1. If you import a file that contains a space in filename (e.g. Pinas Prueba.obj), it appears a popup message window in Sketchup: "Import Error". [...]

                                        OK. I'm gonna fix that.

                                        @oxer said:

                                        2. With a file without spaces in filename Universal Importer work fine but nothing is imported, it appears a popup window in Sketchup with this text --> 'An empty component cannot be inserted' [...]

                                        Did you tried to import a completely different model? Could you please upload original "Pinas Prueba.obj + mtl + jpg" to a file hoster or here. This way I could debug it.

                                        @oxer said:

                                        3. When you select a file (e.g. in the Finder) to import, the plugin copy all Finder files to the temp folder, why? and are this files delete automatically or is it necessary delete manually?

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

                                        @oxer said:

                                        4. A minor detail, the texts 'Select a 3D Model' '3D Models |.3d;.3ds;.3mf;.ac;.ac3d;.acc;...' 'Select a Texture Atlas (Optional)' 'Images |.jpg;.png;*.bmp;||' do not appear in the importing windows.

                                        Strange. Maybe it's a SketchUp API bug on MacOS... 😕

                                        1 Reply Last reply Reply Quote 0
                                        • O Offline
                                          Oxer
                                          last edited by Jan 8, 2020, 1:55 PM

                                          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
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 22
                                          • 23
                                          • 1 / 23
                                          1 / 23
                                          • First post
                                            20/441
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement