Compare commits

..

No commits in common. "e4512627b7e069f962a5b31e220bcf982910d04d" and "e5d1903fd11f784a8ed4f6d1af5935f723a09877" have entirely different histories.

3 changed files with 8 additions and 25 deletions

View File

@ -164,6 +164,9 @@ function setMarkProfile() {
function focusTest(x, y) {
setMarkProfile();
// store to reset
var oldFocus = get("focus");
// focus on the material surface
set("focus", 0);
@ -207,9 +210,6 @@ 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,6 +231,11 @@ 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

@ -1,11 +0,0 @@
<?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

@ -1,11 +0,0 @@
<?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>