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

    [Plugin] Import OBJ with Materials v2.1 20131118

    Scheduled Pinned Locked Moved Plugins
    279 Posts 87 Posters 378.6k Views 87 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.
    • thomthomT Offline
      thomthom
      last edited by

      Got a feature request: Make it use the Importer class: http://code.google.com/apis/sketchup/docs/ourdoc/importer.html

      That way it can be found under the native importer options.

      Thomas Thomassen β€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        hm...

        Importing a OBJ file now, I'm getting lots of Error: 666 in the Ruby Console. πŸ˜•

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

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

          Sometimes OBJ files throw an error [I suspect that it depends how they were 'written' originally - there are several different 'formats' - e.g. define some vertices then related faces per group... or define all vertices then all faces en mass; which is more difficult to read 'manually' too] - the geometry for the face is invalid - the three points are perhaps colinear or [effectively] coincident - so I get it to put up an error instead of crashing... The 666 is a longstanding joke with Rich πŸ˜’ http://forums.sketchucation.com/viewtopic.php?p=316402#p316402
          Although it throws the errors up it usually seems to make the expected geometry - so it's difficult to see what's 'gone wrong' πŸ˜•
          You can of course easily tweak the 666 rescue message to include the Exception - but frankly I found that little use either...
          My importer is not [always] as good as the compiled dll version that is available.
          For MAC it is the only option.

          TIG

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            There is a compiled version?

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

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

              @thomthom said:

              There is a compiled version?

              Here http://forums.sketchucation.com/viewtopic.php?p=316470#p316470
              Fluid's free OBJ importer [PC only]...

              TIG

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

                Fluid obj importer in the extensions forum.

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

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

                  Sorry, I posted this earlier but lost web connection.

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

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    niks
                    last edited by

                    hi Tig..thank you for this ama 😍 ing...plugin

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      capsssa
                      last edited by

                      Please,
                      i need help.
                      I've got the version 7 pro, i am on a mac, but when i installed this plugin it doesn't work.
                      I am on a mac. When i poen sketchup the plugin is absent.
                      Can you help me, please ?

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

                        You have probably installed it in the wrong folder - check where your MAC Plugins folder is and ensure you put it in there...
                        It is accessed off the Plugins menu.
                        I would recommend the FluidImporter but I think it's PC only...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • chippwaltersC Offline
                          chippwalters
                          last edited by

                          Hey TIG,

                          How come this file (simple) won't import with map? I created it using UV Mapper Pro, which is pretty standard IMO. Any insight you might have would help greatly!!!

                          Link Preview Image
                          Dropbox - 404

                          favicon

                          (dl.dropbox.com)

                          Currently working with Cross-Reality technologies

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

                            Chipp

                            This tool is now plenty old and there's a much better/faster [free, PC only] one available here...
                            http://forums.sketchucation.com/viewtopic.php?p=316470#p316470
                            [follow the link to the download page here
                            http://www.fluidray.com/downloads]
                            I recommend you try that.
                            Here's its result, which I take is what you want ?Capture.PNG

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • chippwaltersC Offline
                              chippwalters
                              last edited by

                              @tig said:

                              Chipp

                              This tool is now plenty old and there's a much better/faster [free, PC only] one available here...
                              http://forums.sketchucation.com/viewtopic.php?p=316470#p316470
                              [follow the link to the download page here
                              http://www.fluidray.com/downloads]
                              I recommend you try that.
                              Here's its result, which I take is what you want ?[attachment=0:2wlcddqw]<!-- ia0 -->Capture.PNG<!-- ia0 -->[/attachment:2wlcddqw]

                              Thanks TIG. Just what the doctor ordered πŸ˜„
                              I'm using a Mac these days, but I've got a Virtual Win version of SketchUp. I'll check it out!

                              Currently working with Cross-Reality technologies

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

                                I tried your plugin, and saddly it didnt import anything.

                                I tried the fluid obj importer, and for a single cube google sketchup just crash 😞

                                1 Reply Last reply Reply Quote 0
                                • O Offline
                                  oldman-pit
                                  last edited by

                                  well done TIG, thanks a lot! πŸ‘

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

                                    @wootwoots said:

                                    I tried your plugin, and saddly it didnt import anything.

                                    I tried the fluid obj importer, and for a single cube google sketchup just crash 😞

                                    A bit more info would mean that we could help.

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

                                    1 Reply Last reply Reply Quote 0
                                    • LanaL Offline
                                      Lana
                                      last edited by

                                      Thanks Tig.You are good. 😍

                                      1 Reply Last reply Reply Quote 0
                                      • olisheaO Offline
                                        olishea
                                        last edited by

                                        Hey TIG,

                                        I'm having an issue with this plugin. Installed on latest SU, Mac OSX.

                                        After I have selected the model units (I have tried all of them just in case) nothing happens on import; no loading, nothing. I have tried all three import options. The OBJ i am importing is not complex and has no materials set yet. The other JF OBJ Importer plugin works OK, but I have no option of import units. I have also imported the model as 3DS no probs.

                                        Any help would be much appreciated.

                                        oli

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

                                          @olishea said:

                                          Hey TIG,

                                          I'm having an issue with this plugin. Installed on latest SU, Mac OSX.

                                          After I have selected the model units (I have tried all of them just in case) nothing happens on import; no loading, nothing. I have tried all three import options. The OBJ i am importing is not complex and has no materials set yet. The other JF OBJ Importer plugin works OK, but I have no option of import units. I have also imported the model as 3DS no probs.

                                          Any help would be much appreciated.
                                          There's a better/faster free Fluid OBJimporter for PC only 😞
                                          The Model units don't matter BUT the imported units are important because if the original OBJ is in 'm' and you import in 'mm' it'll be 1000 times too small and we already know that making tiny geometry makes Sketchup fall over...
                                          So try in the largest units available [meters?].
                                          Some OBJ files have an obscure format.
                                          You could try in/out of Blender to see if that sorts out the file formating ??
                                          Alternatively PM me the OBJ and I'll see if I can SKP-ify it for you ???

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • olisheaO Offline
                                            olishea
                                            last edited by

                                            Don't worry, I have imported and saved as SKP, thanks for the offer. I just wanted to use your plugin due to the units feature....because like you say geometry can play up when the model is tiny. I have got round the issue importing as 3DS with merged coplanar, where I can set units. Otherwise all I can do is scale up in blender then import using the other OBJ importer.

                                            oli

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 9 / 14
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement