Add uziom generation script and update wet input documents
- 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.
This commit is contained in:
11
pages/api/readtext.js
Normal file
11
pages/api/readtext.js
Normal file
@@ -0,0 +1,11 @@
|
||||
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) });
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user