Read time: 1 minute
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:
https://github.com/mandeeps708/PyDrain
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