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

    [Plugin] OBJexporter v3.0 20130131

    已排程 已置頂 已鎖定 已移動 Plugins
    304 貼文 96 Posters 451.3k 瀏覽 96 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • TIGT 離線
      TIG Moderator
      最後由 編輯

      @sicksickisck said:

      smoothing groups ??!! export
      Cryptic. 😒
      It does create 'smooth surface' normal maps, if the object's faces are themselves 'smoothed'.
      However, hidden lines keep sharp change of plane.
      Most rendering apps know how to use/display such 'smoothed surfaces'...
      In what app are you using the OBJ file?
      Does that app have 'settings'?
      Can you post a small example zipped SKP/OBJ/MTL/Textures set etc showing what you think is the issue...

      Note that importing any OBJ back into SketchUp will ignore the facets 'smoothing' - unlike most 3rd-party renderings apps etc...

      It works for me... 😕

      TIG

      1 條回覆 最後回覆 回覆 引用 0
      • S 離線
        sujunwei
        最後由 編輯

        very brilliant job.
        Is it possible to export obj file with all faces grouped based on their materials. for instance, all faces with color-0 are placed together, and then another color, and ...
        something like
        g pb-GRP-2609-Color_000
        usemtl Color_000
        v...
        vn ...
        vt...
        f...

        g pb-GRP-2670-Color_000
        usemtl Color_000
        v...
        vn ...
        vt...
        f...

        #//all other faces with Color_000 ...
        #then another color, color_001 for instance, and all the faces with color _001 are placed together

        g pb-GRP-2639-Color_001
        usemtl Color_001
        v...
        vn ...
        vt...
        f...

        #//other colors ...

        That can be useful for some applications, for instance, using snappyHexMesh in OpenFOAM for general CFD(computational fluid dynamics) applications.
        There should not be too much job it think, but it will facultate a large group of openfoam users. Would it be possible for you to add such a functionality in your next release? Thank you very much.
        Best Regards, Junwei

        1 條回覆 最後回覆 回覆 引用 0
        • T 離線
          tulacong
          最後由 編輯

          thank TIG....very goog

          1 條回覆 最後回覆 回覆 引用 0
          • MidgeUreM 離線
            MidgeUre
            最後由 編輯

            Thank you very much.

            1 條回覆 最後回覆 回覆 引用 0
            • T 離線
              T_Osborn
              最後由 編輯

              Is it inevitable, technically speaking, that SU geometry Group and Component associations are lost when exporting to an OBJ file? What I tried to do was open a SU model (interior room scene) in Blender so as to try and work with Blender's rendering features. Discreet objects within the SU outliner--entertainment center cabinet, wall(s), floor, mouldings, plantation shutters--were no longer discreet objects in Blender's outliner. In Blender's outliner there was only a very long list of 'meshes'. The model/scene itself displayed properly in Blender's viewport. If I placed the cursor over what had been the 'cabinet' in SU, then clicked to select, only a single mesh among the many comprising the cabinet would be selected. There was no practical way to determine which among the hundreds of meshes in the outliner were those that comprised the cabinet exclusively, and so I could not select it individually so as to make material assignments (color, sheen, and all that).

              1 條回覆 最後回覆 回覆 引用 0
              • TIGT 離線
                TIG Moderator
                最後由 編輯

                Much as with the Pro OBJ Exporter the geometry [mesh] is broken down by 'loose/group/component/image' and then within each of those subdivided 'by material'. So if you have a box-component with a different colored 'lid', then the component's mesh is inside a single 'container' [named after the original object], and its two meshes are made with their respective materials. Nested objects' container naming reflects those containers...

                TIG

                1 條回覆 最後回覆 回覆 引用 0
                • T 離線
                  T_Osborn
                  最後由 編輯

                  @tig said:

                  Much as with the Pro OBJ Exporter the geometry [mesh] is broken down by 'loose/group/component/image' and then within each of those subdivided 'by material'....

                  OK, I can see something of this now in Blender's outliner. After expanding the size of the outliner window, I do see that each mesh is identified as part of a component or group, or with the component name ('crown moulding') and material name. I just needed more screen space to reveal all of the text. I'm embarrassed, but Blender's interface is difficult for a modeling noob after a little time spent in SU.

                  I think I can more effectively combine the relevant meshes into the singular objects they were meant to be, but it still will be tedious.

                  1 條回覆 最後回覆 回覆 引用 0
                  • andybotA 離線
                    andybot
                    最後由 編輯

                    @t_osborn said:

                    @tig said:

                    Much as with the Pro OBJ Exporter the geometry [mesh] is broken down by 'loose/group/component/image' and then within each of those subdivided 'by material'....

                    OK, I can see something of this now in Blender's outliner. After expanding the size of the outliner window, I do see that each mesh is identified as part of a component or group, or with the component name ('crown moulding') and material name. I just needed more screen space to reveal all of the text. I'm embarrassed, but Blender's interface is difficult for a modeling noob after a little time spent in SU.

                    I think I can more effectively combine the relevant meshes into the singular objects they were meant to be, but it still will be tedious.

                    That's correct, the OBJ exporter organizes the model by material, so everything with a material, even if it's in different components or groups will come in as one "mesh" into Blender. If you want your component and group heirarchy to be maintained, the best way is to use the 3DS exporter that's available in the pro SU version.

                    Andy

                    http://charlottesvillearchitecturalrendering.com/

                    1 條回覆 最後回覆 回覆 引用 0
                    • LanaL 離線
                      Lana
                      最後由 編輯

                      God bless you . Thank you. 😍

                      1 條回覆 最後回覆 回覆 引用 0
                      • bomastudioB 離線
                        bomastudio
                        最後由 編輯

                        TIG: thank you for all the plugin you share with all of us!!!! 😍

                        A question: this plugin (well, OBJ format) can export cameras positions?
                        Thanx.

                        1 條回覆 最後回覆 回覆 引用 0
                        • TIGT 離線
                          TIG Moderator
                          最後由 編輯

                          No, OBJ format is for geometry only [faces] and their associated materials/textures.
                          Some formats like DXF include data on the camera.
                          There are some tools in the API to get a scene's view camera data, but after that it depends on the program into which you want to import that data, on how it can be suitably structured...
                          What did you have in mind ?

                          TIG

                          1 條回覆 最後回覆 回覆 引用 0
                          • bomastudioB 離線
                            bomastudio
                            最後由 編輯

                            Well I need to bypass the Octane exporter (as I use Ubuntu/Lubuntu+wine+SkecthUp) and the webdialogs doesn't work no more (with SU6 webdialog worked....). So exporting in OBJ format I can solve model+texture troubles, but I need to export also the scenes (cameras).

                            1 條回覆 最後回覆 回覆 引用 0
                            • TIGT 離線
                              TIG Moderator
                              最後由 編輯

                              So this is an Octane based query... only peripheral to Sketchup.
                              There are already two tools available on the Octane Sketchup forum for licensed users.
                              You need 'OctaneOCMbatchExporter.rb' - the tools allow you to batch-export your scenes' cameras and suns/shadows settings into Octane OCM files, which can then be loaded and used as 'nodes' in the matching OCS file, that you have made from the SKP exporter via OBJ/MTL files etc.
                              That forum's thread is named "Batch Cameras / Suns OCM Exporter v1.0"

                              TIG

                              1 條回覆 最後回覆 回覆 引用 0
                              • bomastudioB 離線
                                bomastudio
                                最後由 編輯

                                TIG, you are definitively the best source of info about SU!!!! thanx, how would I do without you? 😄 😄

                                1 條回覆 最後回覆 回覆 引用 0
                                • E 離線
                                  eubz
                                  最後由 編輯

                                  nice. i love this exporter.

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • S 離線
                                    sceptile
                                    最後由 編輯

                                    says the file can amage my computer?

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • TIGT 離線
                                      TIG Moderator
                                      最後由 編輯

                                      @sceptile said:

                                      says the file can amage my computer?
                                      Let us assume you mean 'damage'...
                                      Who, what where, when, why and how ?
                                      Yours might win this week's prize for the most useless error report / query... 😒

                                      TIG

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • S 離線
                                        sceptile
                                        最後由 編輯

                                        and i cant find the plug in folder i have sketchup 8 free where is it? thanks

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • TIGT 離線
                                          TIG Moderator
                                          最後由 編輯

                                          @sceptile said:

                                          and i cant find the plug in folder i have sketchup 8 free where is it? thanks
                                          Your questions get little clearer, and also show that maybe you aren't yet ready for using scripts...
                                          There are extensive Sketchup Help files available to you.
                                          For example under the Sketchup main menus Help > Learn About Plugins... opens a link which tells you exactly how to install Plugins etc...

                                          Also you have not yet explained the '[d]amage' statement that you made earlier... 😒

                                          TIG

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • TIGT 離線
                                            TIG Moderator
                                            最後由 編輯

                                            @tig said:

                                            @sceptile said:

                                            and i cant find the plug in folder i have sketchup 8 free where is it? thanks
                                            Your questions get little clearer, and also show that maybe you aren't yet ready for using scripts...
                                            There are extensive Sketchup Help files available to you.
                                            For example under the Sketchup main menus Help > Learn About Plugins... opens a link which tells you exactly how to install Plugins etc... Giving the full paths for PC and MAC,

                                            Also you have not yet explained the '[d]amage' statement that you made earlier... 😒

                                            TIG

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 15
                                            • 16
                                            • 2 / 16
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement