The task is to create a Drain drawing and then calculate the area of cutting and filling.
Firstly, I tried to create lines using coordinates.
See this for the code:
Next, I’ll try it by getting input from a CSV file.
Follow the official documentation here: http://dxfwrite.readthedocs.org/en/latest/index.html