Compare commits

...

2 Commits

3 changed files with 25 additions and 8 deletions

View File

@ -164,9 +164,6 @@ function setMarkProfile() {
function focusTest(x, y) {
setMarkProfile();
// store to reset
var oldFocus = get("focus");
// focus on the material surface
set("focus", 0);
@ -210,6 +207,9 @@ function focusTest(x, y) {
line(xCoord, y + maxLineHeight - currentLineHeight);
}
// focus on the material surface
set("focus", 0);
// draw minimum and maximum values on the edges as well as a zero marker
var yTextOffset = maxLineHeight + 1 * spacing;
@ -231,11 +231,6 @@ function focusTest(x, y) {
move(roofX, y + yTextOffset);
line(roofX + sign * fontWidth * 1.5, y + yTextOffset + fontWidth * 1.5);
}
// finally, restore focus
// for our marks, the negative focus won't have much of an impact, and I really don't feel like setting and resetting it for every single rectangle
// it's most relevant for the focus test
var oldFocus = set("focus", oldFocus);
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<linked-list version="0.0.0.0">
<PowerSpeedFocusFrequencyProperty>
<power>13</power>
<speed>100</speed>
<focus>0.0</focus>
<hideFocus>false</hideFocus>
<frequency>5000</frequency>
</PowerSpeedFocusFrequencyProperty>
</linked-list>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<material version="0">
<engraveColor>#000000</engraveColor>
<cutColor>#ff0000</cutColor>
<color>#dfa039</color>
<name>Dichtungspapier</name>
<materialThicknesses>
<float>0.3</float>
</materialThicknesses>
</material>