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

    [Plugin] OBJexporter v3.0 20130131

    Scheduled Pinned Locked Moved Plugins
    304 Posts 96 Posters 451.3k Views 96 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

      Anar

      The 'grouping' in the OBJexporter file format is effectively 'by material'.
      Each facet has a assigned a group based on:

      ModelName-ContainerType-Name-ID-MaterialName

      As Group names are no unique and Components can have multiple instances the ID is needed.

      So for your:

      test-GRP-Cylinder-566-Color_A01

      Working right to left the geometry is thus...

      MaterialName = Color_A01 [the Material's name, adjusted so its characters are OBJ compliant]
      ID = 566 [assigned by SketchUp for the container's definition, during that session]
      Name = Cylinder [the Container's name, adjusted so its characters are OBJ compliant]
      ContainerType = GRP [Group]
      ModelName = test [the Model's name, adjusted so its characters are OBJ compliant]

      Note that if you had say 'Black' end facets then they would grouped separately as:

      test-GRP-Cylinder-566-**Black**

      TIG

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

        Thanks TIG for such a complete explanation !

        But I still think it would be very useful if the groups could be exported with just their names as we can see them in the Outliner.
        Then if the name isn't unique the exporter could automatically add a "_1", "_2", "_3", etc. at the end of it (for example).
        I don't know if you see the need for it but when I export a scene with a lot of groups it takes me a lot of time to rename them back manually with the name I originally gave them in SU.

        Maybe it could be an export option ?
        I understand it would be more work on your side as the exporter doesn't have any "export option" window...

        Still it's a good plugin that I use all the time ! Thanks !

        Anar
        http://www.reppersdelight.spacymen.com

        1 Reply Last reply Reply Quote 0
        • R Offline
          rangel96
          last edited by

          @tig said:

          Run with the Ruby Console open: this will report progress etc...
          Tell us any error messages.
          If you are working with a Selection it must contain Faces...

          Are no files [OBJ/MTL] or textures' folder made at all ?
          Do you have permissions to make files in the destination folder etc??

          I have the same problem 😢
          Everything is ok and i gave a normal name to may new file. I even ended it with .obj ...
          And I have administrator rights...
          that´s what loks like in the Ruby console:
          OBJExporter:
          C:/Users/André/Desktop/Untitled.obj
          Error: #<Errno::ENOENT: No such file or directory - C:\Users\André\Desktop/Untitled.obj>
          C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/OBJexporter.rb:266:in initialize' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/OBJexporter.rb:266:in new'
          C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/OBJexporter.rb:266:in export_start' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/OBJexporter.rb:245:in export'
          C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/OBJexporter.rb:223:in initialize' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/OBJexporter.rb:1093:in new'
          C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/OBJexporter.rb:1093

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

            May be you should avoid the "é" in your path.
            I suggest you use only UTF8 characters.

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

              @anar said:

              May be you should avoid the "é" in your path.
              I suggest you use only UTF8 characters.
              Precisely!
              Précisément! 😒

              TIG

              1 Reply Last reply Reply Quote 0
              • R Offline
                rangel96
                last edited by

                Thanks! I will try do save in other place!

                1 Reply Last reply Reply Quote 0
                • I Offline
                  Ibo
                  last edited by

                  Hello,

                  I downloaded the plugin. Installed it in the plugin folder of sketchup8 but when I start the program I can't find it.
                  Does anyone know what to do ?

                  thanks

                  Ibo

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

                    Under the File menu - like many other Exporters ?
                    and like it says in the instructions...
                    @unknownuser said:

                    Usage: menu File > 'OBJexporter...'

                    TIG

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

                      Help.

                      I put the RB file in the SU 2013 (free) Plug-Ins folder. I restarted but still only have the option to export as DAE or Google Earth. Please advise.

                      Thanks so much for your help!
                      -Keith

                      1 Reply Last reply Reply Quote 0
                      • BoxB Offline
                        Box
                        last edited by

                        Look at the post above yours and look at this image.


                        OBJEx.jpg

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

                          Thanks for the quick reply! On the Mac, I only have this for that menu, and Export 3D Untitled-1.jpghas just the two free options.

                          Best. K

                          1 Reply Last reply Reply Quote 0
                          • BoxB Offline
                            Box
                            last edited by

                            If it isn't there it suggests it hasn't installed properly, it might be the security permissions or the folder location.
                            Have a look here and see if that helps.
                            http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=56005

                            Installing the Sketchucation Plugin lets you find, install and manage plugin easily, so you might be better off getting that installed instead.

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

                              The OBJexporter is NOT in the File > Exporters list.
                              It not defined as an 'exporter' [a special class of plugins].
                              It appears as a separate entry under the File menu itself...

                              So since it is not there... you haven't installed it properly... 😕
                              Read the linked explanation... 😒

                              TIG

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

                                Thanks. The directions were simply to put it into the plugins folder. I did that and even tried changing the extension from .rb to .plugin to match the other files. I appreciate the link but the permissions were already fine, but I redid them all just to see if that made a difference. Sadly, no. But thanks for the input!

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

                                  @nightwasp said:

                                  The directions were simply to put it into the plugins folder

                                  @tig said:

                                  Put this .rb file into the Plugins folder & restart SketchUp...

                                  It is a simple drag and drop and restart SketchUp.

                                  Download the free D'oh Book for SketchUp 📖

                                  1 Reply Last reply Reply Quote 0
                                  • BoxB Offline
                                    Box
                                    last edited by

                                    Make sure it is the correct Plugin folder. Mac changed from SU8 to SU2013

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

                                      @nightwasp said:

                                      Thanks. The directions were simply to put it into the plugins folder. I did that and even tried changing the extension from .rb to .plugin to match the other files. I appreciate the link but the permissions were already fine, but I redid them all just to see if that made a difference. Sadly, no. But thanks for the input!
                                      A plain .rb file can be manually put into the Plugins folder, and provided you have proper permissions when SketchUp restarts it will load. In the case of this particular plugin it appears in the File menu...

                                      Most plugins are now available through the SketchUcation PluginStore.
                                      These can be downloaded as RBZ archives - e.g. http://sketchucation.com/pluginstore?pln=OBJexporter and these can be auto-installed using the Preferences > Extensions > Install... button which puts all of the archives contents in the right places for you - provided there are sufficient permissions to do so... and you have SketchUp v8M2 or newer...
                                      If you get and install the RBZ for the SketchUcation Plugin Store Toolset... that will allow you to install any Plugin from a dialog within SketchUp itself without even having to worry about downloading an RBZ archive... It also has an Installed to use with loose RBZ/ZIP archives and Managers for Plugins and Extensions etc...
                                      These alternatives remove the headache of manual installation etc, and some have been available for several years... 😕

                                      Never change a file's extension - if it's ".rb" SketchUp will auto-load it as it starts... Anything else is ignored - where did you get the ideas that SketchUp plugins end in ".plugin" - no other files with that file-type should be in the SketchUp plugins folder ? Only .rb and .rbs plugins are auto-loaded by SketchUp from its Plugins folder - ones disabled by the SCF Plugins Manager end with an additional "!", ones uninstalled by the SCF Uninstaller end with an additional "x"... 😒
                                      Note how RBZ files are special kinds of ZIP files that SketchUp can install the contents of...

                                      I did a grep on my PC and Fredo does have some files inside his tools' subfolders that end in ".plugin"... BUT these should never be loose in the Plugins folder - so if there are this suggests a mis-installation of at least that tool too... For example it is:
                                      Program Files\SketchUp\SketchUp 2013\Plugins\**Fredo6_Curviloft\**Curviloft.plugin
                                      NOT
                                      Program Files\SketchUp\SketchUp 2013\Plugins\Curviloft.plugin
                                      The actual file that goes with that tool is:
                                      Program Files\SketchUp\SketchUp 2013\Plugins\**Fredo6_Curviloft.rb**
                                      which in turn starts a chain reaction which loads other files from its sub-folder like .rb, .lang etc... unusually Fredo uses these special ".plugin" files for each of his tools to provide a text list of 'Plugin Registration' data, which is then read in by his 'Lib6core.rb' code, which in turn actually loads his tools as Extensions [that's why you need his latest Lib installing to load and run his tools]... So a ".plugin" file does nothing 'on its own' and it should always be left where it is shipped... inside its tool's subfolder... like all other 'nested files' which may come with complex plugins...

                                      To find you Plugins folder type this into the Ruby Console:
                                      Sketchup.find_support_file('Plugins')
                                      It will return a path to the folder... For v2013 it is typically:
                                      C:\Program Files\SketchUp\SketchUp 2013\Plugins

                                      Idea 💭
                                      If you manually put plugin files in the old v8 Plugins folder they will NOT get found by v2013 ! 😲
                                      Post a list of the files in the v2013 Plugins folder - I suspect you have messed up something big time...
                                      Also double-check your permission to the v2013 Plugins folder etc...

                                      You seem to be having more problems than you ought to... 😒

                                      TIG

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

                                        Auto installing the .rbz file WORKED! I had manually put the .rb file in the only plugins folder I saw in the programs three main folders without success. I want to thank you all for not only helping, but helping in such a timely manner! Best. Keith

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

                                          For SketchUp 2014 Make, put the .rb file into the Tools folder.

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

                                            @pete69 said:

                                            For SketchUp 2014 Make, put the .rb file into the Tools folder.
                                            No.
                                            You only need to drop RB files into the Plugins folder with pre-v8.
                                            All newer versions of SketchUp [>=v8M2/v2013/v2014] can install the contents of RBZ archives into the correct Plugins folder automatically...
                                            Preferences > Extensions > Install... button
                                            The SketchUcation PluginStore dialog will AutoInstall selected Plugins for you, side stepping you even having to download the RBZ ! It even reports available Updates for you, manages laoded/unloaded plugins and extensions etc etc...
                                            http://sketchucation.com/pluginstore?pln=SketchUcationTools
                                            The SketchUcation Toolset's submenu includes 'Archive Installer' also installs RBZ [and ZIP] archives into the Plugins folder and [unlike the native installer] it offers you the choice of installing into a custom-plugins folder - if you have one predefined in the $LOAD_PATH, perhaps using Fredo's AdditionalPluginsFolder tool...
                                            This 'add-on' to the SketchUcation Toolset also simplifies accessing the default Plugins folder...
                                            http://sketchucation.com/pluginstore?pln=SCF-openPluginsFolder
                                            Virtually all of the Plugins on SCF are available from the PluginStore in RBZ format...
                                            http://sketchucation.com/pluginstore

                                            TIG

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

                                            Advertisement