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

    FluidImporter free .obj importer Beta 1.0.5 Updated

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    extensions
    168 Posts 46 Posters 62.9k Views 46 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      To import materials associated with an OBJ file you need the matching MTL file.
      These files are readable when opened in a plain-text editor like Notepad.exe.
      Near the start of the OBJ code [let's assume it's called Filename.obj] there is a line specifying the MTL - saying something like mtllib Filename.mtl.
      This MTL file should be in the same folder as the OBJ file, unless the line of code specifies a subfolder.
      The MTL file defines all material e.g. name newmtl WoodColor, color Kd 0.890196 0.882353 0.870588, transparency d 1.000000 etc.
      If a specified material uses a texture then the name of its image file is given in the material's MTL code on a line starting with map_Kd.
      If there is a folder-path [given as say Textures**/**oak.png] then the image file is expected to be in that subfolder, that is itself in the MTL file's folder; however, if there is no subfolder given in the path then the image file is expected to be in the MTL file's own folder.

      The Importer is not clairvoyant - it can only work with the data in the file[s] that you give it.
      The most common reason for 'missing materials' is that they are simply missing! 😒

      TIG

      1 Reply Last reply Reply Quote 0
      • M Offline
        Mainline411
        last edited by

        @tig said:

        To import materials associated with an OBJ file you need the matching MTL file.
        These files are readable when opened in a plain-text editor like Notepad.exe.
        Near the start of the OBJ code [let's assume it's called Filename.obj] there is a line specifying the MTL - saying something like mtllib Filename.mtl.
        This MTL file should be in the same folder as the OBJ file, unless the line of code specifies a subfolder.
        The MTL file defines all material e.g. name newmtl WoodColor, color Kd 0.890196 0.882353 0.870588, transparency d 1.000000 etc.
        If a specified material uses a texture then the name of its image file is given in the material's MTL code on a line starting with map_Kd.
        If there is a folder-path [given as say Textures**/**oak.png] then the image file is expected to be in that subfolder, that is itself in the MTL file's folder; however, if there is no subfolder given in the path then the image file is expected to be in the MTL file's own folder.

        The Importer is not clairvoyant - it can only work with the data in the file[s] that you give it.
        The most common reason for 'missing materials' is that they are simply missing! 😒

        I have the .OBJ .MTL and .TGA I have opened both the .OBJ and the .MTL withe Notepad and all paths and file names are set correctly but the textures I have tried ataching a .ZIP archive with the files attached to yesterday's post and this post but it will not work I will upload it to a different site later today

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

          Perhaps it's the TGA image format that's unsuitable ?
          Try moving the origin of the TGA to top-left and re-saving... and/or having no TGA RLE-compression in the image [Gimp it].
          If a TGA file's format is not suitable for use in a SKM texture it will fail.
          I have just maually replicated this error by trying to use a bottom-left/RLE-compressed TGA as a texture - it fails... because there is no suitable image file specified...

          Alternatively try making PNG versions of the files [with Gimp] and editing the MTL file to look for .PNG not .TGA file names...

          See if these ideas works...

          TIG

          1 Reply Last reply Reply Quote 0
          • M Offline
            Mainline411
            last edited by

            @tig said:

            Perhaps it's the TGA image format that's unsuitable ?
            Try moving the origin of the TGA to top-left and re-saving... and/or having no TGA RLE-compression in the image [Gimp it].
            If a TGA file's format is not suitable for use in a SKM texture it will fail.
            I have just maually replicated this error by trying to use a bottom-left/RLE-compressed TGA as a texture - it fails... because there is no suitable image file specified...

            Alternatively try making PNG versions of the files [with Gimp] and editing the MTL file to look for .PNG not .TGA file names...

            See if these ideas works...

            Tried converting to the .TGA to a .PNG it converted fine but still the textures do not import. I do not know what GIMP is so I can't try the first one I have uploaded the files now (you can get them here: http://testsite21.weebly.com/uploads/5/5/0/6/5506080/sketchucation_trimble_sktechup_.obj_error.zip) if you could try and import them and send me the .SKP it would be extremely appreciated 😄 I did change it to PNG but I changed it back to .TGA I have included the .PNG in the zip still though.

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

              The MTL path is 'absolute' NOT relative
              map_Kd **C:\**london_map.tga etc
              For the code to find the image it must either be in the root of the drive [bad idea] or in the same folder as the MTL, so edit it to read
              map_Kd london_map.tga etc
              Can't guarantee the TGA file is 'good' but we won't know until you set the paths right...

              TIG

              1 Reply Last reply Reply Quote 0
              • M Offline
                Mainline411
                last edited by

                @tig said:

                The MTL path is 'absolute' NOT relative
                map_Kd **C:\**london_map.tga etc
                For the code to find the image it must either be in the root of the drive [bad idea] or in the same folder as the MTL, so edit it to read
                map_Kd london_map.tga etc
                Can't guarantee the TGA file is 'good' but we won't know until you set the paths right...

                I put the files in the root of the drive.

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

                  But... why ???
                  Keep them with the MTL file where they belong, and change the path to a relative path inside the MTL file's code.
                  Not even sure that a \ works in MTL absolute paths - it should be a / ???
                  The originator needs shooting for making the MTL file that way in the first place... 😒

                  Does it work ?
                  Either way ??

                  Have you tried fixing the TGA file otherwise ??? 😕

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mainline411
                    last edited by

                    @tig said:

                    But... why ???
                    Keep them with the MTL file where they belong, and change the path to a relative path inside the MTL file's code.
                    Not even sure that a \ works in MTL absolute paths - it should be a / ???
                    The originator needs shooting for making the MTL file that way in the first place... 😒

                    Does it work ?
                    Either way ??

                    Have you tried fixing the TGA file otherwise ??? 😕

                    Fixed the problem by changing
                    map_Kd C:\london_map.tga
                    to
                    map_Kd london_map.tga

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mingjae
                      last edited by

                      Hi, I want to uninstall the FluidImporter,
                      but I use revoUninstaller to do the job,
                      but revo is make a mistake, it even bold the vray registry to be deleted so i skip the registry deletion and i found this to verify if i can delete these 3 files:

                      http://img14.imageshack.us/img14/9527/85977293.jpg

                      are those fluidimporter files? is it save if I delete them?

                      coz fluidimporter is crashes with my vray so vray wont render any image from imported object..

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

                        Do not remove any of the other Importer's .dll files.
                        If you have you need to reinstall the affected products...

                        To stop the Fluid-OBJimporter loading simply run its Uninstaller and it will be removed...


                        Capture.PNG

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          Lost_Arkitekt
                          last edited by

                          I have three .OBJ files I'm trying to import. The largest one imports without crashing, but half of all the facets are not filled in, so I can't really change the material.

                          The other two files (one without an MTL) crash as soon about 2 seconds after starting to parse file.

                          Here are the files that crash totally. (One isn't zipped...no MTL).

                          Thanks.


                          arne-jacobsen-ant-obj.rar

                          1 Reply Last reply Reply Quote 0
                          • L Offline
                            Lost_Arkitekt
                            last edited by

                            The other file didn't attach. Here it is.


                            chair-obj.rar

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

                              Try checking that the units size is correct - very small facets cannot be formed in SketchUp.

                              Some app's make OBJ files in odd ways...
                              So if that doesn't work try importing it into another app - like Blender: if it is OK it that app, then re-export from that - the new OBJ format might be made more compatible with this SketchUp's importer ?

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • V Offline
                                Vaile
                                last edited by

                                @thomthom said:

                                I'm getting crashes when I try to import an .obj file I got. (120MB)
                                I've tried different options - triangulate on/off, material on/off - but it bugsplats every time. Memory usage of Sketchup.exe doesn't exceed 300MB.

                                Any ideas?

                                I am having this very same issue.

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  macmac12
                                  last edited by

                                  guys have you tried installing this in su 2013? ❓ I tried but I can't see it in file menu, wondering if anyone here installed it successfully inside 2013

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

                                    You haven't completed your User-Profile... OS, version etc ??
                                    Help us to help you...

                                    It is Win 32bit, by default it tries to install into the SketchUp 8 Importers folder, you can redirect it to SketchUp 2013, but when it installs the dll it doesn't load as the OBJ importer in the Import list...
                                    I suspect that the author will need to make a v2013 compatible version... 😒

                                    Perhaps if you PM him he'll respond...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      macmac12
                                      last edited by

                                      thanks Tig for the reply. yah, sorry about my profile, I will complete them now.

                                      Hope the author of this plugin release some update for 2013. I think this is the best importer for obj in sketchup

                                      thanks Tig

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

                                        I've been in touch with the author...
                                        He will look at a v2013 compliant version...
                                        But don't hold your breath...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          archigrafix
                                          last edited by

                                          I now always get bugsplat when using the obj importer...
                                          I am on Win7Pro64 SU7
                                          Anyone with the same problem?

                                          Agir comme un homme de pensée, et penser comme un homme d'action...

                                          1 Reply Last reply Reply Quote 0
                                          • G Offline
                                            guaucorreo
                                            last edited by

                                            hi, there is a problem on the official page of http://www.fluidray.com/ (Internal Server Error)
                                            an its imposible to download the fluidimporter win 32
                                            please can someone share
                                            thanks in advance

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

                                            Advertisement