- Created a new Python script `uziom.py` for generating DXF drawings of grounding systems based on user input parameters. - Added detailed documentation in `wet_input_15.docx` and `wet_input_3.docx` for the design of grounding systems, including calculations for resistance and resistivity measurements. - Included placeholders for dynamic data insertion in the documents to facilitate project-specific customization.
12 lines
247 B
JavaScript
12 lines
247 B
JavaScript
import fs from "fs";
|
|
|
|
export default function (req, res) {
|
|
fs.readFile(`externals/${req.body.id}.txt`, (err, data) => {
|
|
if (err) throw err;
|
|
|
|
res
|
|
.status(200)
|
|
.send({ data: data.toString().slice(0, data.toString().length - 1) });
|
|
});
|
|
}
|