diff --git a/octoprint_mrbeam/static/js/render_fills.js b/octoprint_mrbeam/static/js/render_fills.js index 24f1b7312..4dfabfc0e 100644 --- a/octoprint_mrbeam/static/js/render_fills.js +++ b/octoprint_mrbeam/static/js/render_fills.js @@ -490,6 +490,12 @@ Snap.plugin(function (Snap, Element, Paper, global) { // fill: "none", // removed to fill target path with white fill when no fill exists for easier cursor selection }) .transform(mat); + + // remove stroke from text element to avoid thick stroke engraving + // the .qt_outline element will be used for stroke cutting or engraving + elem.attr({ + stroke: "none", + }); } else { console.error("getFontOutline(): failed."); } diff --git a/octoprint_mrbeam/static/js/working_area.js b/octoprint_mrbeam/static/js/working_area.js index 337a45eb6..654758d1c 100644 --- a/octoprint_mrbeam/static/js/working_area.js +++ b/octoprint_mrbeam/static/js/working_area.js @@ -3921,8 +3921,8 @@ $(function () { // add selected attributes to stroke path g.select("path").attr({ stroke: strokeColor, - fill: isFilled ? fill : "#ffffff", - "fill-opacity": isFilled ? 1 : 0, + fill: "#ffffff", + "fill-opacity": 0, }); } else { qtOutlineGroup.select("path")?.remove();