close/fill holes in mesh (TIN)
Dear community,
i searched the knowledgebase and the forum, but even though it's a basic process i didn't find a an answer. So maybe you could help.
After creating a 3D model (mesh) from a subsampled point cloud there might be spikes and vertical fragments left, that i want to cut out manually. Afterwards i want to re-mesh the resulting hole.
The "Close gaps between adjecent features" tool sounds like a good choice, but gives "overmeshed" results - depending on the entered distance.
Can you recommend better settings, or another tool to use in GM?
Thanks a lot
Alex
Answers
-
What about manually adding some lines by snapping to the triangle edges first, and then adding them to the surface?
-
Hi Ron,
thanks for your reply and sorry for the long break since then.
Your approach will work for sure, but better for a single and less complex hole.
I would like to see a result like in other software, when a obviously more simple way is used to plug the hole. And not to get "a tangled nest of lines".
-
No problem about the long break.
This topic intrigued me so I dug into it a bit more and may have found a work-around.
Here is what I did:
- create a surface and TIN from some lidar data
- Deleted some triangles from the TIN to create a hole
- Selected the entire remaining entities in the layer and used advanced creation tools to create a new layer containing lines from the selected areas.
- Created a new surface and TIN from that new layer. Ensured that Use 3d breaklines (hard edge) was checked as well as Flatten 3d area features (though i think that was not a factor). Also checked box to Save TIN as a vector layer.
The results are shown below. The light blue is the TIN that I cut the hole in, and the black is the new TIN.
-
Hey Ron,
so you also reproduced the "bug"?
This is a result i'd expect. Excellent.
Can you (or me) somehow shift this conversation to "Bugs & Errors", so that the developers can take care of it?
-
You can close holes in Meshlab which is free. If you want to do this with Global Mapper you can do the following as a quick and easy workaround.
- Select the triangles around the hole (no need to be fussy)
- Generate points from the selected triangles using Create new points from selected area and line features
- Grid those points ensuring that Save Triangulation Network (TIN) as a vector layer is checked
- Delete the terrain layer as you don't need it
- Trim any undesired triangles from the edges
- Select both layers and export to a new single file e.g. DWG/DXF etc
-
Thanks a lot - this is a proper work around until the bug is fixed. :)
Meshlab (and other external tools) are powerful tools and sometime superior above GM, but i experienced they carry the danger of "error production" when it comes to projections and CRS.
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 636 GM Script Language
- 54 User Scripts
- 114 GPS Features
- 417 Projection Questions
- 826 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 913 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 569 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 238 How I use Global Mapper
- 107 Global Mapper Forum Website