In this example, we will create the finite element model of a slope from lines read from a DXF file.

1. Use the DRead command to read the file (as shown below): DExample1.dxf, then select all curves and use the DMesh command.

Example 1 step 1

2. Use the DDelete command to delete the selected faces, then use the DRepair command to fill holes in the mesh.

Example 1 step 2

3. Use the MeshPlane command to draw a mesh plane, use the DMerge command to merge all meshes (MeshType=Joined), and then use the DRemesh command for remeshing.

Example 1 step 3

4. Use the DSeparate command to separate the meshes (SeparateMode=AllSurfaces), then use the DColorize command to color them.

Example 1 step 4

5. Set group information and mesh size for each mesh (as shown below).

Example 1 step 5

6. Use the DRemesh command to remesh these meshes again (the command parameters are shown below; the result after this step is: DExample1-After.3dm).

Example 1 step 6

7. Use the Build command to generate the finite element model and open it in a finite element software (related model files are: DExample1.inp, DExample1.mac, DExample1.fpn, DExample1.f3grid, and DExample1.fpn).

Example 1 step 7