Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Can Merge Triangle? (TinSurface)

6 ANTWORTEN 6
Antworten
Nachricht 1 von 7
hellokim37YT92Y
179 Aufrufe, 6 Antworten

Can Merge Triangle? (TinSurface)

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.

hellokim37YT92Y_0-1735279103725.png

 

Beschriftungen (4)
6 ANTWORTEN 6
Nachricht 2 von 7
essam-salah
als Antwort auf: hellokim37YT92Y

hi @hellokim37YT92Y 

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?

Nachricht 3 von 7
hellokim37YT92Y
als Antwort auf: essam-salah

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.
Nachricht 4 von 7
essam-salah
als Antwort auf: hellokim37YT92Y


@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?

Nachricht 5 von 7
hellokim37YT92Y
als Antwort auf: essam-salah

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.
Nachricht 6 von 7
essam-salah
als Antwort auf: hellokim37YT92Y


@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.

 

 

Nachricht 7 von 7
hellokim37YT92Y
als Antwort auf: essam-salah

Thank you, essam-salah !
i will try it

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Rail Community


Autodesk Design & Make Report