Skip to content

Instantly share code, notes, and snippets.

@arthurwolf
Created September 11, 2018 19:32
Show Gist options
  • Save arthurwolf/a62f9be5cc3a44719a2b2391454e9a5e to your computer and use it in GitHub Desktop.
Save arthurwolf/a62f9be5cc3a44719a2b2391454e9a5e to your computer and use it in GitHub Desktop.
Jog </h2><div data-v-4907e307=""><svg style="display: none;"><symbol data-v-4907e307="" data-fa-symbol="home" class="svg-inline--fa fa-home fa-w-18 fa-fw" aria-hidden="true" data-prefix="fas" data-icon="home" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" data-fa-i2svg="" id="home"><path fill="currentColor" d="M488 312.7V456c0 13.3-10.7 24-24 24H348c-6.6 0-12-5.4-12-12V356c0-6.6-5.4-12-12-12h-72c-6.6 0-12 5.4-12 12v112c0 6.6-5.4 12-12 12H112c-13.3 0-24-10.7-24-24V312.7c0-3.6 1.6-7 4.4-9.3l188-154.8c4.4-3.6 10.8-3.6 15.3 0l188 154.8c2.7 2.3 4.3 5.7 4.3 9.3zm83.6-60.9L488 182.9V44.4c0-6.6-5.4-12-12-12h-56c-6.6 0-12 5.4-12 12V117l-89.5-73.7c-17.7-14.6-43.3-14.6-61 0L4.4 251.8c-5.1 4.2-5.8 11.8-1.6 16.9l25.5 31c4.2 5.1 11.8 5.8 16.9 1.6l235.2-193.7c4.4-3.6 10.8-3.6 15.3 0l235.2 193.7c5.1 4.2 12.7 3.5 16.9-1.6l25.5-31c4.2-5.2 3.4-12.7-1.7-16.9z"></path></symbol></svg><!-- <i data-v-4907e307="" data-fa-symbol="home" class="fas fa-home fa-fw"></i> --><svg style="display: none;"><symbol data-v-4907e307="" data-fa-symbol="arrow-circle-right" class="svg-inline--fa fa-arrow-circle-right fa-w-16 fa-fw" aria-hidden="true" data-prefix="fas" data-icon="arrow-circle-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg="" id="arrow-circle-right"><path fill="currentColor" d="M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm-28.9 143.6l75.5 72.4H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h182.6l-75.5 72.4c-9.7 9.3-9.9 24.8-.4 34.3l11 10.9c9.4 9.4 24.6 9.4 33.9 0L404.3 273c9.4-9.4 9.4-24.6 0-33.9L271.6 106.3c-9.4-9.4-24.6-9.4-33.9 0l-11 10.9c-9.5 9.6-9.3 25.1.4 34.4z"></path></symbol></svg><!-- <i data-v-4907e307="" data-fa-symbol="arrow-circle-right" class="fas fa-arrow-circle-right fa-fw"></i> --><svg style="display: none;"><symbol data-v-4907e307="" data-fa-symbol="arrow-right" class="svg-inline--fa fa-arrow-right fa-w-14 fa-fw" aria-hidden="true" data-prefix="fas" data-icon="arrow-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="" id="arrow-right"><path fill="currentColor" d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"></path></symbol></svg><!-- <i data-v-4907e307="" data-fa-symbol="arrow-right" class="fas fa-arrow-right fa-fw"></i> --><svg style="display: none;"><symbol data-v-4907e307="" data-fa-symbol="arrow-left" class="svg-inline--fa fa-arrow-left fa-w-14 fa-fw" aria-hidden="true" data-prefix="fas" data-icon="arrow-left" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="" id="arrow-left"><path fill="currentColor" d="M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"></path></symbol></svg><!-- <i data-v-4907e307="" data-fa-symbol="arrow-left" class="fas fa-arrow-left fa-fw"></i> --><svg style="display: none;"><symbol data-v-4907e307="" data-fa-symbol="arrow-up" class="svg-inline--fa fa-arrow-up fa-w-14 fa-fw" aria-hidden="true" data-prefix="fas" data-icon="arrow-up" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="" id="arrow-up"><path fill="currentColor" d="M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"></path></symbol></svg><!-- <i data-v-4907e307="" data-fa-symbol="arrow-up" class="fas fa-arrow-up fa-fw"></i> --><svg style="display: none;"><symbol data-v-4907e307="" data-fa-symbol="arrow-down" class="svg-inline--fa fa-arrow-down fa-w-14 fa-fw" aria-hidden="true" data-prefix="fas" data-icon="arrow-down" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="" id="arrow-down"><path fill="currentColor" d="M413.1 222.5l22.2 22.2c9.4 9.4 9.4 24.6 0 33.9L241 473c-9.4 9.4-24.6 9.4-33.9 0L12.7 278.6c-9.4-9.4-9.4-24.6 0-33.9l22.2-22.2c9.5-9.5 25-9.3 34.3.4L184 343.4V56c0-13.3 10.7-24 24-24h32c13.3 0 24 10.7 24 24v287.4l114.8-120.5c9.3-9.8 24.8-10 34.3-.4z"></path></symbol></svg><!-- <i data-v-4907e307="" data-fa-symbol="arrow-down" class="fas fa-arrow-down fa-fw"></i> --><div data-v-4907e307="" class="jogwheel center"><svg data-v-4907e307="" width="480" height="390" viewBox="0 0 320 260" xmlns="http://www.w3.org/2000/svg" version="1.1"><defs data-v-4907e307=""><filter data-v-4907e307="" id="f1" x="-1" y="-1" width="300%" height="300%"><feOffset data-v-4907e307="" result="offOut" in="SourceAlpha" dx="3" dy="3"></feOffset><feGaussianBlur data-v-4907e307="" result="blurOut" in="offOut" stdDeviation="4"></feGaussianBlur><feBlend data-v-4907e307="" in="SourceGraphic" in2="blurOut" mode="normal"></feBlend></filter><symbol data-v-4907e307="" id="HomeIcon" viewBox="0 0 20 18" pointer-events="none"><desc data-v-4907e307="">HomeIcon - house</desc><use data-v-4907e307="" xlink:href="#home"></use></symbol></defs><g data-v-4907e307="" id="JogRose" viewBox="20 -10 260 260"><g data-v-4907e307="" id="HomeAll" onmouseup="runCommandSilent('G28')"><path data-v-4907e307="" d="M10 182.5 h-10 v57.5 h57.5 v-10 a 125,125 0 0,1 -47.5 -47.5 Z" fill="#444" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path><use data-v-4907e307="" x="3" y="217" width="20" height="18" xlink:href="#HomeIcon" color="white"></use></g><g data-v-4907e307="" id="HomeX" onmouseup="runCommandSilent('G28 X0')"><path data-v-4907e307="" d="M10 57.50 h-10 v-57.5 h57.5 v10 a 125,125 0 0,0 -47.5 47.5 Z" fill="#FFDC00" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path><use data-v-4907e307="" x="3" y="5" width="20" height="18" xlink:href="#HomeIcon" color="white"></use><text data-v-4907e307="" x="25" y="20" class="home"> X </text></g><g data-v-4907e307="" id="HomeY" onmouseup="runCommandSilent('G28 Y0')"><path data-v-4907e307="" d="M230 57.50 h10 v-57.5 h-57.5 v10 a 125,125 0 0,1 47.5 47.5 z" fill="#0074D9" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path><use data-v-4907e307="" x="217" y="5" width="20" height="18" xlink:href="#HomeIcon" color="white"></use><text data-v-4907e307="" x="202" y="20" class="home"> Y </text></g><g data-v-4907e307="" id="HomeZ" onmouseup="runCommandSilent('G28 Z0')"><path data-v-4907e307="" d="M230 182.5 h10 v57.5 h-57.5 v-10 a 125,125 0 0,0 47.5 -47.5 z" fill="#2ECC40" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path><use data-v-4907e307="" x="217" y="217" width="20" height="18" xlink:href="#HomeIcon" color="white"></use><text data-v-4907e307="" x="202" y="232" class="home"> Z </text></g><g data-v-4907e307="" id="Jog100" fill="#c0c0c0" class="std"><g data-v-4907e307="" id="Y+100" transform="translate(120 120)" jog-distance="100" jog-direction="+" jog-axis="Y"><path data-v-4907e307="" d="M-60 -67.07 L-75.93,-83 A112.5,112.5 0 0,1 75,-83 L60,-67.07 A90,90 0 0,0 -60.00,-67.07 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="X+100" transform="translate(120 120)" jog-distance="100" jog-direction="+" jog-axis="X"><path data-v-4907e307="" d="M67.07,-60 L83,-75.93 A112.5,112.5 0 0,1 83,75.93 L67.07,60 A90,90 0 0,0 67.07,-60" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="Y-100" transform="translate(120 120)" jog-distance="100" jog-direction="-" jog-axis="Y"><path data-v-4907e307="" d="M-60,67.07 L-75.93,83 A112.5,112.5 0 0,0 75,83 L60,67.07 A90,90 0 0,1 -60.00,67.07 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="X-100" transform="translate(120 120)" jog-distance="100" jog-direction="-" jog-axis="X"><path data-v-4907e307="" d="M-67.07,-60 L-83,-75.93 A112.5,112.5 0 0,0 -83,75.93 L-67.07,60 A90,90 0 0,1 -67.07,-60 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g></g><g data-v-4907e307="" id="Jog10" fill="#d0d0d0"><g data-v-4907e307="" id="Y+10" transform="translate(120 120)" jog-distance="10" jog-direction="+" jog-axis="Y"><path data-v-4907e307="" d="M-44.06 -51.13 L-60,-67.07 A90,90 0 0,1 60,-67 L44.06,-51.13 A67.5,67.5 0 0,0 -44.06,-51.13 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="X+10" transform="translate(120 120)" jog-distance="10" jog-direction="+" jog-axis="X"><path data-v-4907e307="" d="M51.13 44.06 L67.07,60 A90,90 0 0,0 67.07,-60 L51.13,-44.06 A67.5,67.5 0 0,1 51.13,44.06 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="Y-10" transform="translate(120 120)" jog-distance="10" jog-direction="-" jog-axis="Y"><path data-v-4907e307="" d="M-44.06 51.13 L-60,67.07 A90,90 0 0,0 60,67 L44.06,51.13 A67.5,67.5 0 0,1 -44.06,51.13 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="X-10" transform="translate(120 120)" jog-distance="10" jog-direction="-" jog-axis="X"><path data-v-4907e307="" d="M-51.13 44.06 L-67.07,60 A90,90 0 0,1 -67.07,-60 L-51.13,-44.06 A67.5,67.5 0 0,0 -51.13,44.06 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g></g><g data-v-4907e307="" id="Jog1" fill="#e0e0e0"><g data-v-4907e307="" id="Y+1" transform="translate(120 120)" jog-distance="1" jog-direction="+" jog-axis="Y"><path data-v-4907e307="" d="M-28.09 -35.16 L-44.06,-51.13 A67.5,67.5 0 0,1 44.06,-51.13 L28.09,-35.16 A45,45 0 0,0 -28.09,-35.16 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="X+1" transform="translate(120 120)" jog-distance="1" jog-direction="+" jog-axis="X"><path data-v-4907e307="" d="M35.16 -28.09 L51.13,-44.06 A67.5,67.05 0 0,1 51.13,44.06 L35.16,28.09 A45,45 0 0,0 35.16,-28.09 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="Y-1" transform="translate(120 120)" jog-distance="1" jog-direction="-" jog-axis="Y"><path data-v-4907e307="" d="M-28.09 35.16 L-44.06,51.13 A67.5,67.5 0 0,0 44.06,51.13 L28.09,35.16 A45,45 0 0,1 -28.09,35.16 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="X-1" transform="translate(120 120)" jog-distance="1" jog-direction="-" jog-axis="X"><path data-v-4907e307="" d="M-35.16 -28.09 L-51.13,-44.06 A67.5,67.05 0 0,0 -51.13,44.06 L-35.16,28.09 A45,45 0 0,1 -35.16,-28.09 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g></g><g data-v-4907e307="" id="Jog0_1" fill="#f0f0f0"><g data-v-4907e307="" id="Y+0.1" transform="translate(120 120)" jog-distance="0.1" jog-direction="+" jog-axis="Y"><path data-v-4907e307="" d="M-28.09 -35.16 A45,45 0 0,1 29.09,-35.16 L0,-7.07 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="X+0_1" transform="translate(120 120)" jog-distance="0.1" jog-direction="+" jog-axis="X"><path data-v-4907e307="" d="M35.16 -28.09 A45,45 0 0,1 35.16,28.09 L7.07,0 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="Y-0_1" transform="translate(120 120)" jog-distance="0.1" jog-direction="-" jog-axis="Y"><path data-v-4907e307="" d="M-28.09 35.16 A45,45 0 0,0 29.09,35.16 L0,7.07 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g><g data-v-4907e307="" id="X-0_1" transform="translate(120 120)" jog-distance="0.1" jog-direction="-" jog-axis="X"><path data-v-4907e307="" d="M-35.16 -28.09 A45,45 0 0,0 -35.16,28.09 L-7.07,0 z" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></path></g></g><g data-v-4907e307="" id="RoseScale"><g data-v-4907e307=""><circle data-v-4907e307="" cx="144" cy="96" r="9.5" class="scl"></circle><circle data-v-4907e307="" cx="159.5" cy="80.5" r="10.5" class="scl"></circle><circle data-v-4907e307="" cx="175" cy="65" r="12" class="scl"></circle><circle data-v-4907e307="" cx="195" cy="45" r="15" class="scl"></circle><text data-v-4907e307="" x="137" y="99" font-size="10" class="scl"> 0.1 </text><text data-v-4907e307="" x="155" y="85" font-size="14" class="scl"> 1 </text><text data-v-4907e307="" x="166" y="70" font-size="15" class="scl"> 10 </text><text data-v-4907e307="" x="182" y="50" font-size="15" class="scl"> 100 </text></g></g><g data-v-4907e307="" id="Decoration" pointer-events="none" font-weight="900" font-size="11" fill-opacity=".8"><g data-v-4907e307="" transform="translate(160 105)" fill-opacity="1"><rect data-v-4907e307="" width="60" height="30" rx="15" ry="15" fill="#FFDC00"></rect><use data-v-4907e307="" xlink:href="#arrow-right" height="20" width="20" x="30" y="5" color="white"></use><text data-v-4907e307="" y="19" x="10" class="axis"> X+ </text></g><g data-v-4907e307="" transform="translate(20 105)" fill-opacity="1"><rect data-v-4907e307="" width="60" height="30" rx="15" ry="15" fill="#FFDC00"></rect><text data-v-4907e307="" y="19" x="35" class="axis"> X- </text><use data-v-4907e307="" xlink:href="#arrow-left" height="20" width="20" x="10" y="5" color="white"></use></g><g data-v-4907e307="" transform="translate(107.5 20)" fill-opacity="1"><rect data-v-4907e307="" width="30" height="60" rx="15" ry="15" fill="#0074D9"></rect><text data-v-4907e307="" y="45" x="10" class="axis"> Y+ </text><use data-v-4907e307="" xlink:href="#arrow-up" height="20" width="20" x="5" y="10" color="white"></use></g><g data-v-4907e307="" transform="translate(107.5 160)" fill-opacity="1"><rect data-v-4907e307="" width="30" height="60" rx="15" ry="15" fill="#0074D9"></rect><text data-v-4907e307="" y="20" x="10" class="axis"> Y- </text><use data-v-4907e307="" xlink:href="#arrow-down" color="white" height="20" width="20" x="5" y="30"></use></g></g></g><g data-v-4907e307="" id="JogBar" transform="translate(250 0)" viewBox="20 -10 260 260"><desc data-v-4907e307="">JogBar - Z jogging bar</desc><g data-v-4907e307="" id="+Z" fill="#444"><path data-v-4907e307="" d=" M5,0 h30 a5,5 0 0,1 5,5 v27 h-40 v-27 a5,5 0 0,1 5,-5 z" class="std"></path><path data-v-4907e307="" d="M20,2 l17,17 h-10 v11 h-14 v-11 h-10 z" fill="#2ECC40" class="std"></path><text data-v-4907e307="" x="15" y="18" font-size="12" class="axis"> Z+ </text></g><g data-v-4907e307="" id="-Z" fill="#444"><path data-v-4907e307="" d=" M0,208 h40 v27 a5,5 0 0,1 -5,5 h-30 a5,5 0 0,1 -5,-5 z" class="std"></path><path data-v-4907e307="" d="M20,238 l-17,-17 h10 v-11 h14 v11 h10 z" fill="#2ECC40" class="std"></path><text data-v-4907e307="" x="15" y="230" font-size="12" class="axis"> Z- </text></g><g data-v-4907e307="" id="Z+10" fill="#d0d0d0" jog-distance="10" jog-direction="+" jog-axis="Z"><rect data-v-4907e307="" x="0" y="32" width="40" height="30" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></rect><circle data-v-4907e307="" cx="20" cy="47" r="13" class="scl"></circle><text data-v-4907e307="" x="9" y="53" font-size="18" class="scl"> 10 </text></g><g data-v-4907e307="" id="Z+1" fill="#e0e0e0" jog-distance="1" jog-direction="+" jog-axis="Z"><rect data-v-4907e307="" x="0" y="62" width="40" height="26" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></rect><circle data-v-4907e307="" cx="20" cy="75" r="11" class="scl"></circle><text data-v-4907e307="" x="15" y="81.5" font-size="18" class="scl"> 1 </text></g><g data-v-4907e307="" id="Z+0.1" fill="#f0f0f0" jog-distance="0.1" jog-direction="+" jog-axis="Z"><rect data-v-4907e307="" x="0" y="88" width="40" height="24" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></rect><circle data-v-4907e307="" cx="20" cy="100" r="9.5" class="scl"></circle><text data-v-4907e307="" x="13" y="103.5" font-size="10" class="scl"> 0.1 </text></g><g data-v-4907e307="" fill="#d0d0d0" jog-distance="0.1" jog-direction="-" jog-axis="Z"><rect data-v-4907e307="" x="0" y="178" width="40" height="30" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></rect></g><g data-v-4907e307="" id="Z-1" fill="#e0e0e0" jog-distance="1" jog-direction="-" jog-axis="Z"><rect data-v-4907e307="" x="0" y="152" width="40" height="26" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></rect></g><g data-v-4907e307="" id="Z-10" fill="#f0f0f0" jog-distance="10" jog-direction="-" jog-axis="Z"><rect data-v-4907e307="" x="0" y="128" width="40" height="24" class="std"><set data-v-4907e307="" attributeName="fill" to="orange" begin="mouseover" end="mouseout"></set></rect></g><g data-v-4907e307="" id="ZSpace" fill="#000000"><rect data-v-4907e307="" x="0" y="112" width="40" height="16" class="std"></rect></g></g></svg></div></div><h2> Position </h2><table class="table"><thead><tr><th scope="col">Coordinate system</th><th scope="col">X</th><th scope="col">Y</th><th scope="col">Z</th></tr></thead><tbody><tr><th scope="row">Workspace</th><td>330.0000</td><td>0.0000</td><td>0.0000</td></tr><tr><th scope="row">Machine</th><td>330.0000</td><td>0.0000</td><td>0.0000</td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment