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.
    • P Offline
      pibuz
      last edited by

      Thank you fluid for the effort you're putting into this!
      We're all grateful to you, you're providing an excellent tool.

      ..so are you all, from Thom, to TIG, to everyone who contribute to make SketchUp a more powerful software!

      WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

      1 Reply Last reply Reply Quote 0
      • F Offline
        fluid
        last edited by

        Thomthom,, I just installed Dropbox, how am I gonna share a folder with you?

        1 Reply Last reply Reply Quote 0
        • F Offline
          fluid
          last edited by

          Just released 1.0.4, it should fix the face/material issue.

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

            Thanks again!
            This update does indeed seem to address the textured materials import issue πŸ˜„

            TIG

            1 Reply Last reply Reply Quote 0
            • P Offline
              pibuz
              last edited by

              Works like a charm!
              Thanks TIG for the support and a GIANT thank you to fluid for this excellent tool!

              WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

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

                @fluid

                Changed the original post title to reflect the current version number

                Great update πŸ‘

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

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fluid
                  last edited by

                  Released 1.0.5, fixing a bug causing a bunch of crashes. Thanks to Thomthom for the help.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dedmin
                    last edited by

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pibuz
                      last edited by

                      Back to report a bugsplat.

                      I made a quite heavy tree with TreeD, which got correctly exported in OBJ format, resulting in a 42MB file. When I tried to import (several times) the obj, after a rather short time the tree was imported into sketchy (no bugsplats), but it had no textures applied. The materials were correctly created (their names themselves were correct too, corresponding to the ones figuring in the mlt file), but they had no textures embedded, but when I tried to add the textures the mapping was wrong.

                      I tried to separately export the trunk/branches (26MB) and the leaves (16MB) from TreeD. The trunk/branches gave no errors in the import process, but when I tried to import the leaves' mesh I got the bugsplat, two times.

                      Then, the final solution I tried (which finally worked) was to import in a new file only the leaves using TIG's old importer (this worked, in the known biblical time πŸ˜† ) and then I manually merged the two sketchup files (the origin was common).

                      Is this something fixable? I guess the issue concerns huge obj files. What I don't understand is that I recently imported xfrog obj files which were even 80MB each, and I got no problems. What is going on?

                      WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        fluid
                        last edited by

                        Hi pibuz,

                        If you have Dropbox I can take a look at the file that is giving you problems.

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

                          It's not a Plugin, it's a compiled 'Importer'.
                          It adds an additional Importer type 'Wavefront/OBJ' under the File > Import file-browser...
                          The same as other compiled importers/exporters - it's the Ruby based tools that are in other menus like Plugins...

                          TIG

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

                            Which folder do I have to extract the fluidimporter file? I cannot see it under the plugins menu after extracting on its default folder.
                            Btw. I'm using Google sketch up v8 (free version) ,and should I install the fluid ray demo version before fluidimporter for sketchup appears?
                            If yes, which installer should I download? I'm using windows vista ultimate 64 bit, 4gb ram
                            FluidRay for SketchUp Win32 Demo (Version 1.1.2)
                            FluidRay for SketchUp Win32 SSE2 Demo (Version 1.1.2)
                            FluidRay for SketchUp Win64 SSE2 Demo (Version 1.1.2)
                            FluidRay for SketchUp Win64 SSE41 Demo (Version 1.1.2)

                            Thanks!

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

                              @tig said:

                              It's not a Plugin, it's a compiled 'Importer'.
                              It adds an additional Importer type 'Wavefront/OBJ' under the File > Import file-browser...
                              The same as other compiled importers/exporters - it's the Ruby based tools that are in other menus like Plugins...

                              Thanks TIG, you're the MAN!

                              1 Reply Last reply Reply Quote 0
                              • W Offline
                                whoa
                                last edited by

                                Hello

                                I just installed your importer and I have no issue importing the .obj file, however I am not getting any textures?
                                Everything is just gray. I received the files from a furniture company, 4 seperate folders with several .obj files + .mtl and some jpgs that I guess are the textures. How do I add these into sketchup onto the objects?

                                Thank you

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

                                  @whoa said:

                                  Hello

                                  I just installed your importer and I have no issue importing the .obj file, however I am not getting any textures?
                                  Everything is just gray. I received the files from a furniture company, 4 seperate folders with several .obj files + .mtl and some jpgs that I guess are the textures. How do I add these into sketchup onto the objects?

                                  Thank you

                                  You can read OBJ and MTL files in Notepad or equivalent.
                                  The OBJ file defines the MTL file by name mtllib xxx.mtl.
                                  The OBJ file usually expects the MTL file to be in the same folder as itself.
                                  The MTL file defines materials.
                                  They can be simple plain color like this (Kd values as %s =~[170,170,170]=~'mid-gray')
                                  newmtl Color_003
                                  Ka 0.000000 0.000000 0.000000
                                  Kd 0.666667 0.666667 0.666667
                                  Ks 0.000000 0.000000 0.000000
                                  d 1.000000

                                  or with a texture specified by an image-file it is like this
                                  newmtl Wood_Floor
                                  Ka 0.000000 0.000000 0.000000
                                  Kd 0.607843 0.411765 0.239216
                                  Ks 0.000000 0.000000 0.000000
                                  d 1.000000
                                  map_Kd MyModel/Wood_Floor.jpg

                                  In this example the MTL file is expecting to find that material's texture's image-file called Wood_Floor.jpg in a subfolder that's in the MTL file's folder, that's named MyModel.
                                  Note that many OBJ exporters use an image subfolder, but some do not - in that case the line might read
                                  map_Kd Wood_Floor.jpg
                                  and then the textures' image files should be in the same folder as the MTL file itself...
                                  If an OBJ importer can't find the image file it usually skips using it, and just uses the color specified for the material - in the case of 'Wood_Floor' this would be an RGB color based on the Kd values, as percentages of 255 =~[155,105,61]=~'mid-brown'...

                                  Note that the 'd' value is the opacity: where 1.000000 is solid and 0.500000 is 50% transparent etc... So you can adjust these prior to import if desired...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    emanshiu
                                    last edited by

                                    Thank you for writing this tool. But everyttime i try to load in an OBJ, the sketchup just crashes. It crashes on a very simple text file. I'm a bit confused at what I can do. Am I doing something wrong? These files are all exported from Maya. Thanks!

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

                                      @emanshiu said:

                                      Thank you for writing this tool. But everyttime i try to load in an OBJ, the sketchup just crashes. It crashes on a very simple text file. I'm a bit confused at what I can do. Am I doing something wrong? These files are all exported from Maya. Thanks!

                                      What are the error messages in the Ruby Console etc ?
                                      Have you tried it with my [TIG] older/slower OBJimporter.rb ?
                                      Any error messages there ?
                                      CAN you zip the OBJ & MTL files... and image files [in a folder if specified in the MTL etc] and post them so we can test it...

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • E Offline
                                        emanshiu
                                        last edited by

                                        @tig said:

                                        @emanshiu said:

                                        Thank you for writing this tool. But everyttime i try to load in an OBJ, the sketchup just crashes. It crashes on a very simple text file. I'm a bit confused at what I can do. Am I doing something wrong? These files are all exported from Maya. Thanks!

                                        What are the error messages in the Ruby Console etc ?
                                        Have you tried it with my [TIG] older/slower OBJimporter.rb ?
                                        Any error messages there ?
                                        CAN you zip the OBJ & MTL files... and image files [in a folder if specified in the MTL etc] and post them so we can test it...

                                        There are no error messages as it just crashes.

                                        I'm sorry i was not aware theres an older one. I just tried to find it but can't where is it?

                                        Also is there any way to import an obj and have it place at 0,0,0?

                                        thanks so much for the help!

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

                                          Search the Plugins-Index [here] for my OBJimporter.rb ...
                                          That does place the geometry directly at it's original location.
                                          The alternative, newer compiled version allows you to manually locate the geometry BUT it's easy enough to make that [0,0,0] ...

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • E Offline
                                            emanshiu
                                            last edited by

                                            @tig said:

                                            Search the Plugins-Index [here] for my OBJimporter.rb ...
                                            That does place the geometry directly at it's original location.
                                            The alternative, newer compiled version allows you to manually locate the geometry BUT it's easy enough to make that [0,0,0] ...

                                            any idea on the crashing? it's really just a cube from maya.....

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

                                            Advertisement