Compare commits
2 Commits
e5d1903fd1
...
e4512627b7
Author | SHA1 | Date | |
---|---|---|---|
e4512627b7 | |||
09667b86d5 |
@ -164,9 +164,6 @@ function setMarkProfile() {
|
|||||||
function focusTest(x, y) {
|
function focusTest(x, y) {
|
||||||
setMarkProfile();
|
setMarkProfile();
|
||||||
|
|
||||||
// store to reset
|
|
||||||
var oldFocus = get("focus");
|
|
||||||
|
|
||||||
// focus on the material surface
|
// focus on the material surface
|
||||||
set("focus", 0);
|
set("focus", 0);
|
||||||
|
|
||||||
@ -210,6 +207,9 @@ function focusTest(x, y) {
|
|||||||
line(xCoord, y + maxLineHeight - currentLineHeight);
|
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
|
// draw minimum and maximum values on the edges as well as a zero marker
|
||||||
var yTextOffset = maxLineHeight + 1 * spacing;
|
var yTextOffset = maxLineHeight + 1 * spacing;
|
||||||
|
|
||||||
@ -231,11 +231,6 @@ function focusTest(x, y) {
|
|||||||
move(roofX, y + yTextOffset);
|
move(roofX, y + yTextOffset);
|
||||||
line(roofX + sign * fontWidth * 1.5, y + yTextOffset + fontWidth * 1.5);
|
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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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>
|
11
materials/Dichtungspapier.xml
Normal file
11
materials/Dichtungspapier.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user