Author Topic: INCREASE or REDUCE the NUMBER of TRIANGLES in a 3D MESH  (Read 2289 times)

0 Members and 1 Guest are viewing this topic.

domenicomaria

  • Swamp Rat
  • Posts: 724
Re: INCREASE or REDUCE the NUMBER of TRIANGLES in a 3D MESH
« Reply #15 on: June 03, 2023, 02:55:48 AM »
Here is the triangulation.

;; C:TIN, Generates Delaunay Triangulation and Voronoi Diagram.

Thank you

domenicomaria

  • Swamp Rat
  • Posts: 724

BIGAL

  • Swamp Rat
  • Posts: 1409
  • 40 + years of using Autocad
Re: INCREASE or REDUCE the NUMBER of TRIANGLES in a 3D MESH
« Reply #17 on: June 03, 2023, 06:59:08 PM »
I dont use triang so the version mentioned in link is a later one, will delete ver 5. Thanks.
A man who never made a mistake never made anything

domenicomaria

  • Swamp Rat
  • Posts: 724
Re: INCREASE or REDUCE the NUMBER of TRIANGLES in a 3D MESH
« Reply #18 on: June 07, 2023, 03:30:29 AM »
Get a copy of TriangV0.5.9.lsp by YMG it will make triangular surfaces. Plus other stuff.

Thinking more if you were to convert a surface to a solid you could draw a 3d path and add a road shape along the path so have 2 solids, subtract road and you have what your looking for. the road shape could have batter slopes need to make sure are wide enough for the subtraction, this is what the "merge surfaces" does in the civil software.

Also look at Civil Site Design.

however, with a plan alignment with straight parts and some curves,
and with the road going below the ground and then rising above the ground,
I've only achieved it with lisp ...
so far

domenicomaria

  • Swamp Rat
  • Posts: 724
Re: INCREASE or REDUCE the NUMBER of TRIANGLES in a 3D MESH
« Reply #19 on: June 07, 2023, 08:09:06 AM »
the sequence is as follows :

• TEXT FILE from land survey
done with topographic instruments

• POINT CLOUD

• TRIANGULATION

• 2D DESIGN ALIGNMENT

• 3D TERRAIN PROFILE
produced by the INTERSECTION
of the 2D DESIGN ALIGNMENT
with the TERRAIN MODEL 

• 2D TERRAIN PROFILE
obtained by SPREADING the
3D TERRAIN PROFILE 
in the XY PLANE

• 2D DESIGN PROFILE

• 3D DESIGN PROFILE along which to "extrude" the sections
of the various components of the road and the sections that generate the volumes to add and subtract from the 3d terrain model,
made taking into account 2D DESIGN ALIGNMENT (X and Y)  and 2D DESIGN  PROFILE (where Y becomes Z)

• POSITIONING along the 3D DESIGN PROFILE of all the SECTIONS

• LINKING all these SECTIONS with the LOFT command

• CONVERSION of TRIANGULATION made with 3D faces, into a 3D SOLID

• 1 ADDITION and 1 SUBTRACTION of SOLIDS

• every thing, made with only few LISP commands
« Last Edit: June 07, 2023, 08:37:30 AM by domenicomaria »

ribarm

  • Gator
  • Posts: 3266
  • Marko Ribar, architect
Re: INCREASE or REDUCE the NUMBER of TRIANGLES in a 3D MESH
« Reply #20 on: June 07, 2023, 12:26:54 PM »
Your road doesn't look like one - it's like spiral or mobious strip... Try to flatten it's twistings + you should go with embarkments and cutts also with triangulation IMHO and there should be no vertical faces unifications with original terrain...
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

domenicomaria

  • Swamp Rat
  • Posts: 724
Re: INCREASE or REDUCE the NUMBER of TRIANGLES in a 3D MESH
« Reply #21 on: June 07, 2023, 01:20:48 PM »
the shape of the road is particular and exaggerated ...

... but it's done on purpose to see how the code works ...

all the sections of the road are perpendicular to the tangent to the curve (3D DESIGN PROFILE) and moreover they are always HORIZONTAL ...

domenicomaria

  • Swamp Rat
  • Posts: 724
Re: INCREASE or REDUCE the NUMBER of TRIANGLES in a 3D MESH
« Reply #22 on: June 07, 2023, 01:22:44 PM »
Quote
and there should be no vertical faces unifications with original terrain...
I'm working on this

BIGAL

  • Swamp Rat
  • Posts: 1409
  • 40 + years of using Autocad
Re: INCREASE or REDUCE the NUMBER of TRIANGLES in a 3D MESH
« Reply #23 on: June 07, 2023, 08:37:41 PM »
Still simpler "Phone a friend" who has CIV3D or Civil Site Design etc and will take a couple of minutes and done.
A man who never made a mistake never made anything