优化:修改csg交集布尔运算的精度,避免错误的出现干涉

pull/1832/MERGE
ChenX 3 years ago
parent f3db96f084
commit 6e6a88604b

@ -54,3 +54,15 @@ readFile("node_modules\\dxf-parser\\dist\\ParseHelpers.js", "utf-8", (err, str)
console.log("dxf parse hack 成功");
});
});
readFile("node_modules\\@jscad\\modeling\\src\\maths\\constants.js", "utf-8", (err, str) =>
{
str = str.replaceAll("5", "3");
writeFile("node_modules\\@jscad\\modeling\\src\\maths\\constants.js", str, err =>
{
if (err)
console.log("csg写入失败");
else
console.log("csg hack 成功");
});
});

Loading…
Cancel
Save