Problems generating Surface using a discrete curve
Hello!! I am getting problems when I try to generate a surface mesh between Nurb Curves and Discrete Curves. In order to understand my issue I am going to try explaining what I am trying to do.
- Firstly, I import a mesh which represents terrain surface (see figure 1). Following your tutorials ( terrain.py and x2.py), I define discrete entities and I add mesh elements to each discrete type ( lines for boundaries, points for corners and triangles for surface elements.
- Once I have all the discrete elements defined I create geometry, so that we can remesh them later on. (Until here everything works fine).
- I would like to create new CAD entities to form one volume above the terrain surface. For one hand, top surface and in the other hand, boundary surfaces (skins) (see Figure 2). I am getting the problem when I am trying to define the boundaries surfaces(skins) since I am trying to create a not plane surface using a discrete Curve. I am pretty new using gmsh and the tools for creating surfaces that I usually use , are addPlaneSurface and addSurfaceFilling:
If a I use addPlaneSurface since my skin surface is not a plane surface I can not get correct results as the figure 3 shows
and If I use addSurfaceFilling I get the following error:
Error : Cannot interpolate ruled surface with discrete bounding curves
Does anyone know how I could solve this problem??
I would really appreciate any help in order to solve this problem
Thank you in advance
Best Regards Uxue