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

    [Plugin] Bitmap To Mesh

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

      @jeffschaid01 said:

      Hello,

      Are further steps needed prior to exporting as vrml after height, width and depth adjustments have been made along with point indexing and mesh generating? All of these steps have been completed but SU is crashing at the 49% mark while exporting as vrml. Any help will be greatly apprecaited.

      Thanks,
      Jeff

      If SketchUp crashes when you export then I'm afraid I can't help, as this plugin has nothing to do with the exporter.

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

      1 條回覆 最後回覆 回覆 引用 0
      • J 離線
        jeffschaid01
        最後由 編輯

        Are there further steps needed (other than the ones mentioned) prior to export or should the file theoretically be ready for export?

        1 條回覆 最後回覆 回覆 引用 0
        • thomthomT 離線
          thomthom
          最後由 編輯

          No additional steps. Once it has created the geometry it's done its job.

          You're problem appear to be with the exporter.

          You're exporting to a 3d printer? Isn't there a different format then VRML you can use?

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

          1 條回覆 最後回覆 回覆 引用 0
          • J 離線
            jeffschaid01
            最後由 編輯

            Yes. I can use other file types such as a 3ds or stl. However, I've tried exporting as a 3ds as well and again, the program crashes at 49% for some reason. Very strange.

            1 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              How big is the geometry you export?
              Did you use a large bitmap to create the mesh from?

              Maybe SketchUp.exe is running out of memory.

              Can you give an example of an image you converted to mesh, which you try to export?

              Does it happen with all meshes you've generated?

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

              1 條回覆 最後回覆 回覆 引用 0
              • J 離線
                jeffschaid01
                最後由 編輯

                In sketchup format (after converting to mesh) the file size is 13megs. I've attached the image for which I'm creating the "bitmap to mesh" from. Its size prior to converting to mesh is 44kb. I think you might be on to something as far as SU running out of memory. Possible work around?


                my_depth.jpg

                1 條回覆 最後回覆 回覆 引用 0
                • thomthomT 離線
                  thomthom
                  最後由 編輯

                  First verify it's a memory issue. open Task Manager and monitor the memory usage of SketchUp.exe when you export.

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

                  1 條回覆 最後回覆 回覆 引用 0
                  • thomthomT 離線
                    thomthom
                    最後由 編輯

                    That mesh I got from that image you posted was pretty dense. 85K triangles.
                    I ran CleanUp on it afterwards, resulting in 34K triangles.

                    If SU is running out of memory, I'd suggest you try with a smaller bitmap. Also, try to run CleanUp before exporting to get rid of co-planar faces.

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

                    1 條回覆 最後回覆 回覆 引用 0
                    • J 離線
                      jeffschaid01
                      最後由 編輯

                      Thanks very much for the help. The cpu usage is at about 250,000k when the export process hits 49% then climbs to 270k and the program crashes and closes. Is this beyond SU capabilities?

                      1 條回覆 最後回覆 回覆 引用 0
                      • thomthomT 離線
                        thomthom
                        最後由 編輯

                        No - it'd be at about 2GB. (Unless you have a 64bit OS and SU8M1 with more than 4GB RAM installed - then it can use up to 4GB.)
                        It must be something else.

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

                        1 條回覆 最後回覆 回覆 引用 0
                        • J 離線
                          jeffschaid01
                          最後由 編輯

                          Is the "cleanup" process a function of SU?

                          1 條回覆 最後回覆 回覆 引用 0
                          • thomthomT 離線
                            thomthom
                            最後由 編輯

                            @jeffschaid01 said:

                            Is the "cleanup" process a function of SU?

                            It's another plugin of mine: http://forums.sketchucation.com/viewtopic.php?f=323&t=22920

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

                            1 條回覆 最後回覆 回覆 引用 0
                            • J 離線
                              jeffschaid01
                              最後由 編輯

                              Great. I will get this installed as well. Did you have a chance to take a look at the photos of the model I emailed you yesterday? If so, can that be achieved with this program?

                              1 條回覆 最後回覆 回覆 引用 0
                              • thomthomT 離線
                                thomthom
                                最後由 編輯

                                @jeffschaid01 said:

                                Great. I will get this installed as well. Did you have a chance to take a look at the photos of the model I emailed you yesterday? If so, can that be achieved with this program?

                                Well, it generates the mesh. And I'd think that if you closed that mesh into a solid it should be possible to 3d point the model.

                                The problem seem to be the exporting. I also see the crashes. I even ran CleanUp on the mesh and it crashed.

                                Try to scale down the bitmap to half the size and see if it still crashes then.

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • J 離線
                                  jeffschaid01
                                  最後由 編輯

                                  Scaled down and unfortunately still having the same problem. You mentioned closing the mesh into a solid, is SU capable of completing a task like this? If not, any recommendations as far as a software program that may be capable of creating such a model?

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • G 離線
                                    GUNAWAN W
                                    最後由 編輯

                                    was waiting for this for alooong time,
                                    Awsome! Thanks thomthom 👍

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • thomthomT 離線
                                      thomthom
                                      最後由 編輯

                                      Version 0.4.0b

                                      • Progress feedback

                                      (And I managed to delete one of the example images in the original post. 😞 No undo... )

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

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • K 離線
                                        KulaCZEk
                                        最後由 編輯

                                        hi there,
                                        Its there any posibility to reduce polygons? I tried Polyreduce plugin, which is on forum, but it doesnt work well. And my second question is about performance. I am using iMac, 2.66ghz, 4gb ram, nv9400. On this platform take generating of 150x150px height map around 4. minutes. Can you recomend something to speed it up?

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • thomthomT 離線
                                          thomthom
                                          最後由 編輯

                                          @kulaczek said:

                                          Its there any posibility to reduce polygons?

                                          @kulaczek said:

                                          Can you recomend something to speed it up?

                                          Scale the bitmap down before processing it. Smaller image = simpler mesh = faster generation.

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

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • ichiI 離線
                                            ichi
                                            最後由 編輯

                                            Thanks for the update thomthom,it's one of my favorite plugins 😄


                                            mount.jpg

                                            [Blog](http://ichi-3dstuff.blogspot.com)

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 13
                                            • 14
                                            • 7 / 14
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement