Hello.
I'm trying to calculate the volume based on TinSurface's triangle.
But there are too many triangles, so I'm trying to reduce them.
Civil 3d has a basic simplification feature, but it changes the original triangles.
So, I am trying to extract the triangles with Polyline3d and merge them.
And I limited the area of the merged Polyline3d to not exceed a certain value.
However, it is unclear how to determine the criteria (or order) for merging, and overall, it seems to be a challenging task.
Could I get some advice on this?
Below is a picture of the work I am attempting.
ThankYou.
TinSurface got build using Delaunay triangulation, so it's built from triangles so deleting triangle edge will cause a gap in the surface, anyway if the intend is to calculate the volume why don't you just create TinVolumeSurface from two surfaces and get the volume?
@hellokim37YT92Y wrote:
That's correct. However, the TinSurface's triangulation is too fine and numerous, so I plan to merge them into appropriate sizes (based on area) and then create TinVolumeSurfaces for those sections to calculate the volume. Therefore, I am extracting the triangulation as Polyline3d to use as boundaries for the TinVolumeSurface.
In the merging process, I convert the two Polyline3d objects to Regions on a plane, merge them, and then convert the boundary of the Region back into Polyline3d. After that, I restore each point to the original Z-coordinates of the Polyline3d.
This process is quite challenging, so I wanted to ask if there might be a better approach.
still not clear to me, do you want to reduce the surface resolution so you would have less points? do you want instead of one volume (cut/fill) value you want time volumes for each tiny area (merged area) with horizontal level as average level?
@hellokim37YT92Y wrote:
It would be ideal to reduce the number of points in the TinSurface, but I understand that doing so would change the shape of the TinSurface. I want to avoid changing its shape because it might affect the volume. Therefore, I plan to extract the triangulation as Polylines and create TinVolumeSurfaces for each merged Polyline area. However, it is extremely challenging to come up with an algorithm for merging.
i agree it's not an easy task, try to learn about Voronoi diagram it is the step before Delauny triangulation and it gives bigger area, i think it's possible to get back to Voronoi from an existing Delauny .
good luck.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.