nschloe / pygmsh

:spider_web: Gmsh for Python
GNU General Public License v3.0
844 stars 161 forks source link

How to connect 3D geom.add_points? #551

Open Blue-Spartan opened 2 years ago

Blue-Spartan commented 2 years ago

Hello, I tried searching for a related issue (title) but couldn't find one. Issue: I am trying to connect my 3D points, but I am confused about how. I tried using the add_line method, but the function only works for 2D points, which is not what I'm trying to accomplish. I attached a sample text file of the coordinates I want to connect. (I'm trying to replicate a coil). After adding the points for each x, y, and z with the add_points function, I got the expected results.

new_coords.txt

Coilexample