Loading files
export const checkIfRotaryFile = (gcode) => {
const commentMatcher = /\s*;.*/g;
const bracketCommentLine = /\([^)]*\)/gm;
const content = gcode
.replace(bracketCommentLine, "")
.trim()
.replace(commentMatcher, "")
.trim();
return content.includes("A");
};
b841128f4This file is pinned to the selected release. Download the original to open it in your design tool.