Hi guys I’m having an issue with finishing this code. I have to create a dome in autoCad using a code in python then export it to DXF. I have created the points (x,y,z) now the thing is I don’t know how to create lines . I have to write something where I left --------------. If anyone knows how to do it It would mean a lot thanks !

```
def plot(self):
fig = plt.figure()
ax = fig.add_subplot(111, aspect=1.0)
x = [p.x[0] for p in self.boundary]
y = [p.x[1] for p in self.boundary]
plt.scatter(x, y, s=80, facecolors='none', edgecolors='b')
x = [self.center.x[0]]
y = [self.center.x[1]]
plt.scatter(x, y, s=80, facecolors='none', edgecolors='r')
for line in self.lines:
x1, y1, z1 = line.p1.x
x2, y2, z2 = line.p2.x
ax.plot([x1, x2], [y1, y2], 'k-')
plt.show()
def to_dxf(self):
dxf = utilities.DxfWriter()
for line in self.lines:
x1, y1, z1 = line.p1.x
x2, y2, z2 = line.p2.x
--------------------------
# P4
for p in self.points:
x, y, z = p.x
dxf.point("points", x, y, z)
dxf.circle("circles", x, y, z, 0.1)
dxf.text("texts", x, y, z, 0.1, "{0}".format(p.id))
dxf.save('test1.dxf')
if __name__ == '__main__':
dome = Dome()
dome.triangulate()
dome.plot()
dome.to_dxf()
```