title: How to plot volumes with 3D points, lines and surfaces data (.geo file)
body: <p>I need to plot 3D volumes defined with their surfaces,
  surfaces defined with line loops,
  line loops defined with lines,
  lines defined with points.</p>
  
  <p>Here is an example:</p>
  
  <pre><code>Point(1) = x1,y1,z1
  Point(2) = x2,y2,z2
  Point(3) = x3,y3,z3
  Point(4) = x4,y4,z4
  Point(5) = x5,y5,z5
  Point(6) = x6,y6,z6
  Point(7) = x7,y7,z7
  Point(8) = x8,y8,z8
  Line(1) = Point(1), Point(2)
  Line(2) = Point(2), Point(3)
  Line(3) = Point(3), Point(4)
  Line(4) = Point(4), Point(1)
  Line(5) = Point(5), Point(6)
  Line(6) = Point(6), Point(7)
  Line(7) = Point(7), Point(8)
  Line(8) = Point(8), Point(5)
  Line(9) = Point(1), Point(5)
  Line(10) = Point(2), Point(6)
  Line(11) = Point(3), Point(7)
  Line(12) = Point(4), Point(8)
  Line loop(1) = Line(1), Line(2), Line(3), Line(4)
  Line loop(2) = Line(5), Line(6), Line(7), Line(8)
  Line loop(3) = Line(1), Line(10), Line(-5), Line(-9)
  Line loop(4) = Line(2), Line(11), Line(-6), Line(-10)
  Line loop(5) = Line(3), Line(12), Line(-7), Line(-11)
  Line loop(6) = Line(4), Line(9), Line(-8), Line(-12)
  Surface(1) = Line Loop(1) #top
  Surface(2) = Line Loop(2) #bottom
  Surface(3) = Line Loop(3)
  Surface(4) = Line Loop(4)
  Surface(5) = Line Loop(5)
  Surface(6) = Line Loop(6)
  Volume(1) = Surface(1), Surface(2), Surface(3), Surface(4), Surface(5), Surface(6)
  </code></pre>
  
  <p><a href="https://i.imgur.com/XRqdgXY.png" rel="nofollow noreferrer">https://i.imgur.com/XRqdgXY.png</a></p>
  
  <p>I have tried matplotlib and mayavi.mlab plot functions but none worked as I hoped.
  I also looked for a .geo import function but didn't find one.</p>
  
  <p>These files (.geo files) are exported from SketchUp (Google 3D design software) and are imported in GMesh to create a mesh.
  In my case I would like to plot my volumes in Python before importing it in Gmesh.</p>
  
  <p>Would someone have an idea to plot this kind of data ?</p>