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

    [REQ] GoogleEarth Meshes boolean subtract

    Scheduled Pinned Locked Moved Plugins
    49 Posts 10 Posters 9.3k Views 10 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.
    • A Offline
      AcesHigh
      last edited by

      Sdmitch, sorry if I am talking nonsense, specially since I dont even know the method you used in your plugin.

      anyway, maybe you can just do an "automatic" way of doing what I did manually?

      basically:

      we have two different meshes

      http://img577.imageshack.us/img577/3559/12229609.jpg

      view them from top, parallel camera

      http://img196.imageshack.us/img196/9963/68269206.jpg

      use Zorro plugin (I dont know if you can use the code of another plugin) and CUT one mesh from the other. The Zorro cut line should follow the edge lines of the other mesh. IF its difficult using the Terrain Mesh as a basis for the CUT LINES, maybe its possible to use the SNAPSHOT (which are flat surfaces) edge lines as a basis for cutting the mesh with Zorro? Then delete what was cut from the mesh.

      http://img94.imageshack.us/img94/8905/61139532.jpg

      1 Reply Last reply Reply Quote 0
      • sdmitchS Offline
        sdmitch
        last edited by

        If the two meshes are the same scale,ie grabed with the same zoom, the grids should be the same size and origin. Then you only need to delete the outer row/col in the overlap area as per John's procedure. I have successfully ran several test using John's procedure and the results is seamless.

        Nothing is worthless, it can always be used as a bad example.

        http://sdmitch.blogspot.com/

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

          @sdmitch said:

          If the two meshes are the same scale,ie grabed with the same zoom, the grids should be the same size and origin. Then you only need to delete the outer row/col in the overlap area as per John's procedure. I have successfully ran several test using John's procedure and the results is seamless.

          well, but thats one problem. The meshes hardly will be the same zoom...
          specially if you want to add a very large area, for distant background (like mountains, hills), and a smaller area, with detail, where you will render the image/movie.

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

            if all else fails, a plugin that culd transform a mesh into a solid would be awesome already. IF we could transform a mesh into a solid easily, it would also be pretty easy to perform Boolean operations (using the Solid Tools from SKP8 or OSCoolean plugin)and get the desired result.

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

              @jolran said:

              Maybe you could build a box "underneath" the surface and do standard boolean on that?

              maybe I am doing something wrong, but I just cant build the box underneath the surface. I draw the lines but they do not create the faces of the box.

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

                @aceshigh said:

                if all else fails, a plugin that culd transform a mesh into a solid would be awesome already. IF we could transform a mesh into a solid easily, it would also be pretty easy to perform Boolean operations (using the Solid Tools from SKP8 or OSCoolean plugin)and get the desired result.

                actually, turning the meshes into solids and then making boolean operations are maybe not the best solution. Just did that (through a too complicated process that would take days and days to perform if I had hundreds of meshes*) and when I had the two solids out of the meshes, I tried to perform a boolean and got a BUGSPLAT!

                🤣

                I can only imagine how many bugsplats I would get when trying to do 100 different booleans out of complicated solid meshes in the same model 😄

                *basically, I drew a rectangle underneath the mesh, the selected only the mesh edges and used TIG´s Extrede Edges By Vector, and then intersected the extruded edges with the rectangle.

                deleted the rectangle then deleted all the faces BELOW the rectangle, then the lines...

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

                  @sdmitch said:

                  If the two meshes are the same scale,ie grabed with the same zoom, the grids should be the same size and origin. Then you only need to delete the outer row/col in the overlap area as per John's procedure. I have successfully ran several test using John's procedure and the results is seamless.

                  To add to this, I have only found one grid size, if a mesh is smaller, it's a 'border region' row or column.
                  mesh is same size, except the colored borders

                  There is a fixed Maximium size of grid for a single 'grab', which makes stitching much easier.

                  There are at least two levels of detail, but you can manipulate which you want, and you can mix and match if you use two drawings or re-naming.

                  So to get into High Resolution Large Format mode you need to

                  1. go to your basic location
                  2. click to zoom in or out until see your largest 'grab' option, it's a big white square border.
                    add_loc_fullsize.png
                    3.for Lowest Resolution just 'grab' the lot and cut up what you want. for 'HRLF' center the square and click in as far as allowed [seems to be 4 clicks]
                  3. NOW the trick, open 'Model Info' >> 'Geo'Location' and select 'Clear Location' and clear it.
                  4. Go Back to 'Add Location' and 'grab', this will reset your Geo Location at the finest detail.
                    and then step out to the size you want...
                  5. Go Back to 'Add Location' and click out until you see the white border again, and 'grab' [this is the largest square at the highest resolution available].
                  6. If you want neighbouring blocks at 'HRLF' repeat 6, but before the 'grab' also click N, S, E or W, a couple of clicks or move manually.
                  7. unlock and delete the 'border region' rows or columns and stitch together.
                    you can see it's only the grid edges that differ

                  a ruby to unlock, select and delete these would help, [but it's quick anyway].
                  john

                  learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                    @SDMitch:

                    I tested the new version you sent me via PM...
                    AWESOME!! Now it works flawlessly... ability to choose which mesh to keep and which to clip, and best of all... no gaps left between the meshes!!!

                    the only other thing that would be great would be if Sketchup could better select new meshes to add (right now, it always resets to the original mesh location, when you are going to add a new mesh... its a stupid system), but as I have been told, you cant modify that with a plugin... but surely enough, your plugin is already incredibly awesome and will save me days of tedious stupid work having to cut all the meshes with Zorro.

                    Thanks a lot. You should create a topic for the plugin. Other people might get interested.

                    1 Reply Last reply Reply Quote 0
                    • Bob JamesB Offline
                      Bob James
                      last edited by

                      Any chance you could post that plugin? 🎉

                      i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                      1 Reply Last reply Reply Quote 0
                      • sdmitchS Offline
                        sdmitch
                        last edited by

                        @bob james said:

                        Any chance you could post that plugin? 🎉

                        Yes, but there are a few things that I want to check first.

                        Nothing is worthless, it can always be used as a bad example.

                        http://sdmitch.blogspot.com/

                        1 Reply Last reply Reply Quote 0
                        • sdmitchS Offline
                          sdmitch
                          last edited by

                          The plugin created in response to this request has been posted.

                          http://forums.sketchucation.com/viewtopic.php?f=323&t=40627

                          Nothing is worthless, it can always be used as a bad example.

                          http://sdmitch.blogspot.com/

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 3
                          • 1 / 3
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement