How do I generate terrain with different elevation levels in SolidWorks?

Hello 

I take the liberty of asking for your help because I want to represent a field with different levels of elevation in Solidworks and I dry complete.

I have as input data a flat sketch of the terrain (import of an autocad file as a sketch) as well as the height values at different places on the terrain. I therefore sketched vertical planes and lines starting from a given point in order to represent these different heights.

(See attached file)

I tried to use the "free form" function without success, same with the "deform" function . I also tried to make a surface by recutting my area but the result is not smooth and does not correspond to what is expected.

I am open to all methods and/or suggestions.

Thanks in advance

Nicholas


topo_niveaux_projet.sldprt

Hello, a small screenshot is not for those who have older versions of SW., but interesting subject.

2 Likes

Hello FUZZ3D,

Thank you for your remark, here are two Screenshots in PC


implant_1.png
implant_2.png

I would say that your first problem is the grid of the readings which is badly distributed and so it won't help the masses.

If you have a "To3D scan" module, maybe watch this video.

https://www.youtube.com/watch?v=vqDj7y4i48M

and in this case create a text file with the coordinates of each of your points.

 

1 Like

Hello

What's wrong with "free form"?

I am taking the liberty of answering in order to revive the discussion on the subject.
I still haven't been able to generate a multipoint average or surface plane that would allow me to represent my terrain.
attached, the Solidworks file with the relevant sketches.

TOPO_Niveaux Project.SLDPRT (3.6 MB)

Hello @Nicko ,

The attached SolidWorks document (SW2022) takes up and completes your study by defining a surface that " best approximates" all the points for which you give the altitude.

The surface is generated by a macro that uses a " reverse distance weighting" algorithm (cf . Wikipedia), in three steps:

  • points are created on a regular grid (x, z) parallel to the top plane, with an estimated elevation for each of them from the neighboring data points;
  • then, the grid points are joined by 3D splines;
  • finally, the surface is generated by a " Surface-Smooth" function.

Attention: the resulting surface is an approximation of the set of given points, so it does not strictly pass through these points. It should be noted that their relatively small number (36) and their very irregular dispersal do not really help.

The macro needs to be finalized, but you can already review the document to see if the result is up to your expectations.
Kind regards.

TOPO_Niveaux Projet_V1.SLDPRT (1.9 MB)

5 Likes

Just one question: is your import (dxf/dwg?) in 3d or 2d at the base?

Hello @m.blt

just wow!!
Thank you very much for your help.
Obviously, it's not easy to have something precise given the number of points and the surface area, I grant you.
Nevertheless, it does a lot of work because I get closer to reality rather than having a simple flat surface.

Hello @pierre32.debat ,

unfortunately it is made from AutoCad LT 2022 in 2D

Hello @tous
Attached are two descriptions
https://youtu.be/YgsY1S6b6JY
https://youtu.be/22lr1ih8pa4
I find that the freeform is advantageous with regard to the positions and shapes of the elevations while allowing changes at any time

2 Likes