{"id":50029,"date":"2026-12-02T07:40:38","date_gmt":"2026-12-01T23:40:38","guid":{"rendered":"https:\/\/www.qiusir.com\/?p=50029"},"modified":"2026-12-02T13:12:50","modified_gmt":"2026-12-02T05:12:50","slug":"50029","status":"publish","type":"post","link":"https:\/\/www.qiusir.com\/?p=50029","title":{"rendered":"qiutopIA:\u87ba\u65cb\u6d4b\u5fae\u5668"},"content":{"rendered":"\n<div id=\"mc-widget-root-2026\" style=\"max-width:980px;margin:16px auto;padding:14px;background:#ffffff;color:#111111;border:1px solid #111111;font-family:'Times New Roman',Georgia,serif;user-select:none;-webkit-user-select:none;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;\">\n  <div style=\"border:1px solid #111111;background:#ffffff;overflow:hidden;width:100%;\">\n    <svg id=\"mc-svg\" viewBox=\"0 0 1000 375\" style=\"width:100%;height:auto;display:block;touch-action:none;\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n      <defs>\n        <pattern id=\"mc-knurl\" width=\"5\" height=\"5\" patternTransform=\"rotate(45 0 0)\" patternUnits=\"userSpaceOnUse\">\n          <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"5\" stroke=\"#888888\" stroke-width=\"0.9\"><\/line>\n          <line x1=\"0\" y1=\"0\" x2=\"5\" y2=\"0\" stroke=\"#888888\" stroke-width=\"0.9\"><\/line>\n        <\/pattern>\n        <pattern id=\"mc-hatch\" width=\"6\" height=\"6\" patternTransform=\"rotate(45 0 0)\" patternUnits=\"userSpaceOnUse\">\n          <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"6\" stroke=\"#888888\" stroke-width=\"1\"><\/line>\n        <\/pattern>\n        <clipPath id=\"mc-tclip\">\n          <rect x=\"28\" y=\"-44\" width=\"146\" height=\"88\"><\/rect>\n        <\/clipPath>\n        <clipPath id=\"mc-lclip\">\n          <rect x=\"272\" y=\"4\" width=\"144\" height=\"116\"><\/rect>\n        <\/clipPath>\n      <\/defs>\n\n      <rect x=\"0\" y=\"0\" width=\"1000\" height=\"375\" fill=\"#ffffff\"><\/rect>\n      <line x1=\"30\" y1=\"115\" x2=\"960\" y2=\"115\" stroke=\"#888888\" stroke-width=\"0.85\" stroke-dasharray=\"4,4\"><\/line>\n\n      <!-- \u6d4b\u7827 -->\n      <rect x=\"150\" y=\"102\" width=\"40\" height=\"26\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.3\"><\/rect>\n      <line x1=\"186\" y1=\"102\" x2=\"186\" y2=\"128\" stroke=\"#111111\" stroke-width=\"1.1\"><\/line>\n\n      <!-- \u5f85\u6d4b\u7269\u4f53 -->\n      <g id=\"mc-specimen\"><\/g>\n\n      <!-- \u53ef\u79fb\u52a8\u6d4b\u5fae\u87ba\u6746 -->\n      <g id=\"mc-spindle\">\n        <rect x=\"190\" y=\"102\" width=\"240\" height=\"26\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.3\"><\/rect>\n        <line x1=\"194\" y1=\"102\" x2=\"194\" y2=\"128\" stroke=\"#111111\" stroke-width=\"1.1\"><\/line>\n      <\/g>\n\n      <!-- \u7269\u4f53\u5b9e\u9645\u957f\u5ea6\u6807\u6ce8\uff08\u4e00\u76f4\u663e\u793a\uff0c\u5c0f\u6570\u70b9\u540e5\u4f4d\uff09 -->\n      <g id=\"mc-actual-dim\"><\/g>\n\n      <!-- U\u578b\u5c3a\u67b6 -->\n      <path d=\"M 156 91 L 130 91 C 64 91, 44 152, 44 212 C 44 290, 114 330, 224 330 C 330 330, 400 280, 408 176 L 408 83 L 368 83 L 368 160 C 362 236, 306 274, 224 274 C 146 274, 102 236, 102 186 C 102 146, 120 136, 156 136 Z\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.45\" stroke-linejoin=\"round\"><\/path>\n      <path d=\"M 128 146 C 110 174, 118 242, 188 264\" fill=\"none\" stroke=\"#111111\" stroke-width=\"0.85\"><\/path>\n      <rect x=\"176\" y=\"288\" width=\"104\" height=\"22\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.0\"><\/rect>\n      <text x=\"228\" y=\"303\" text-anchor=\"middle\" font-size=\"11.5\" fill=\"#111111\">0-20mm  0.01mm<\/text>\n\n      <!-- \u9501\u7d27\u88c5\u7f6e -->\n      <g id=\"mc-lock\" style=\"cursor:pointer;\">\n        <rect x=\"373\" y=\"79\" width=\"28\" height=\"72\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.2\"><\/rect>\n        <g id=\"mc-lock-pivot\" transform=\"translate(387, 79)\">\n          <path d=\"M -4.5 0 L -6 -28 C -6 -32, 6 -32, 6 -28 L 4.5 0 Z\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.2\"><\/path>\n          <circle cx=\"0\" cy=\"0\" r=\"5\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.2\"><\/circle>\n        <\/g>\n      <\/g>\n\n      <!-- \u56fa\u5b9a\u5957\u7b52 -->\n      <g id=\"mc-sleeve\">\n        <rect x=\"408\" y=\"83\" width=\"245\" height=\"64\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.3\"><\/rect>\n        <line x1=\"426\" y1=\"115\" x2=\"653\" y2=\"115\" stroke=\"#111111\" stroke-width=\"1.2\"><\/line>\n        <g id=\"mc-sleeve-ticks\"><\/g>\n      <\/g>\n\n      <!-- \u53ef\u52a8\u5fae\u5206\u7b52\u4e0e\u68d8\u8f6e -->\n      <g id=\"mc-thimble\" transform=\"translate(435, 115)\" style=\"cursor:ew-resize;\">\n        <polygon points=\"0,-31 28,-44 28,44 0,31\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.3\" stroke-linejoin=\"round\"><\/polygon>\n        <rect x=\"28\" y=\"-44\" width=\"146\" height=\"88\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.3\"><\/rect>\n        <g id=\"mc-thimble-ticks\" clip-path=\"url(#mc-tclip)\"><\/g>\n        <rect x=\"116\" y=\"-44\" width=\"58\" height=\"88\" fill=\"url(#mc-knurl)\" stroke=\"#111111\" stroke-width=\"1.1\"><\/rect>\n        <rect x=\"174\" y=\"-21\" width=\"22\" height=\"42\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.2\"><\/rect>\n        <rect x=\"196\" y=\"-26\" width=\"38\" height=\"52\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.3\"><\/rect>\n        <rect x=\"202\" y=\"-26\" width=\"26\" height=\"52\" fill=\"url(#mc-hatch)\" stroke=\"#111111\" stroke-width=\"1.0\"><\/rect>\n        <path d=\"M 234 -24 Q 242 0 234 24 Z\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.2\"><\/path>\n      <\/g>\n\n      <!-- \u53f3\u4e0b\u90e8\u5206\uff1a\u5c40\u90e8\u653e\u5927\u56fe + \u8bfb\u6570\u7b97\u5f0f\u6846 -->\n      <g transform=\"translate(560, 186)\">\n        <rect x=\"0\" y=\"0\" width=\"420\" height=\"168\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.15\"><\/rect>\n        <rect x=\"4\" y=\"10\" width=\"231\" height=\"104\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.1\"><\/rect>\n        <g id=\"mc-loupe-main\"><\/g>\n        <line x1=\"4\" y1=\"62\" x2=\"235\" y2=\"62\" stroke=\"#111111\" stroke-width=\"1.3\"><\/line>\n        <polygon points=\"235,10 272,4 272,120 235,114\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.1\" stroke-linejoin=\"round\"><\/polygon>\n        <rect x=\"272\" y=\"4\" width=\"144\" height=\"116\" fill=\"#ffffff\" stroke=\"#111111\" stroke-width=\"1.1\"><\/rect>\n        <g id=\"mc-loupe-thimble\" clip-path=\"url(#mc-lclip)\"><\/g>\n        <line x1=\"235\" y1=\"62\" x2=\"272\" y2=\"62\" stroke=\"#c62828\" stroke-width=\"1.0\" stroke-dasharray=\"3,2\"><\/line>\n\n        <!-- \u8bfb\u6570\u6846\u7f6e\u4e8e\u653e\u5927\u955c\u6b63\u4e0b\u65b9\uff08\u9501\u5b9a\u5343\u5206\u5c3a\u65f6\u663e\u793a\u8bfb\u6570\uff09 -->\n        <line x1=\"0\" y1=\"126\" x2=\"420\" y2=\"126\" stroke=\"#111111\" stroke-width=\"1.0\"><\/line>\n        <g id=\"mc-readout-box\">\n          <rect x=\"1\" y=\"127\" width=\"418\" height=\"40\" fill=\"#fafafa\"><\/rect>\n          <text id=\"mc-readout-text\" x=\"210\" y=\"153\" text-anchor=\"middle\" font-size=\"18\" fill=\"#111111\" style=\"opacity:0;\">\n            <tspan font-style=\"italic\">d<\/tspan><tspan id=\"mc-expr\"> = 6.0 + 35.2 \u00d7 0.01 = <\/tspan><tspan id=\"mc-val\" font-weight=\"700\">6.352 mm<\/tspan>\n          <\/text>\n          <text id=\"mc-readout-hint\" x=\"210\" y=\"152\" text-anchor=\"middle\" font-size=\"13.5\" fill=\"#777777\">\u70b9\u51fb\u4e0a\u65b9\u9501\u7d27\u62e8\u6746\u9501\u5b9a\u540e\u663e\u793a\u8bfb\u6570<\/text>\n        <\/g>\n      <\/g>\n    <\/svg>\n  <\/div>\n\n  <!-- \u6700\u4e0b\u65b9\uff1a\u8c03\u8282\u68d2 + \u53f3\u4fa7\u5168\u5c4f\u6309\u94ae -->\n  <div style=\"margin-top:10px;display:flex;align-items:center;gap:12px;width:100%;\">\n    <span style=\"font-style:italic;font-size:15px;\">d<\/span>\n    <input type=\"range\" id=\"mc-slider\" min=\"0\" max=\"20\" step=\"0.00001\" value=\"6.35248\" style=\"flex:1;accent-color:#111111;cursor:pointer;\">\n    <button type=\"button\" id=\"mc-fs-btn\" title=\"\u5168\u5c4f\" style=\"width:28px;height:26px;padding:0;border:1px solid #111111;background:#ffffff;color:#111111;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;\">\n      <svg id=\"mc-fs-icon\" viewBox=\"0 0 16 16\" style=\"width:14px;height:14px;display:block;\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\">\n        <path d=\"M2 6V2h4M14 6V2h-4M2 10v4h4M14 10v4h-4\"><\/path>\n      <\/svg>\n    <\/button>\n  <\/div>\n<\/div>\n\n<script>\n(function () {\n  var root = document.getElementById(\"mc-widget-root-2026\");\n  if (!root) { return; }\n\n  var MM_PX = 8.4;\n  var X0 = 435;\n  var ROW_H = 4.3;\n  var L_MM_PX = 36.0;\n  var L_ROW_H = 14.5;\n  var MAX_MM = 20;\n\n  var actualMm = 6.35248;\n  var locked = false;\n  var pseudoFs = false;\n\n  var svg = document.getElementById(\"mc-svg\");\n  var sleeveTicks = document.getElementById(\"mc-sleeve-ticks\");\n  var thimble = document.getElementById(\"mc-thimble\");\n  var tTicks = document.getElementById(\"mc-thimble-ticks\");\n  var spindle = document.getElementById(\"mc-spindle\");\n  var specimen = document.getElementById(\"mc-specimen\");\n  var actualDim = document.getElementById(\"mc-actual-dim\");\n  var lockGroup = document.getElementById(\"mc-lock\");\n  var lockPivot = document.getElementById(\"mc-lock-pivot\");\n  var slider = document.getElementById(\"mc-slider\");\n  var fsBtn = document.getElementById(\"mc-fs-btn\");\n  var fsIcon = document.getElementById(\"mc-fs-icon\");\n  var readoutText = document.getElementById(\"mc-readout-text\");\n  var readoutHint = document.getElementById(\"mc-readout-hint\");\n  var exprEl = document.getElementById(\"mc-expr\");\n  var valEl = document.getElementById(\"mc-val\");\n  var loupeMain = document.getElementById(\"mc-loupe-main\");\n  var loupeThimble = document.getElementById(\"mc-loupe-thimble\");\n\n  function ns(tag) {\n    return document.createElementNS(\"http:\/\/www.w3.org\/2000\/svg\", tag);\n  }\n\n  function buildSleeve() {\n    sleeveTicks.innerHTML = \"\";\n    var m = 0;\n    while (m <= MAX_MM) {\n      var x = X0 + m * MM_PX;\n      var isMaj = (m % 5 === 0);\n      var l = ns(\"line\");\n      l.setAttribute(\"x1\", x);\n      l.setAttribute(\"y1\", isMaj ? 96 : 103);\n      l.setAttribute(\"x2\", x);\n      l.setAttribute(\"y2\", 115);\n      l.setAttribute(\"stroke\", \"#111111\");\n      l.setAttribute(\"stroke-width\", isMaj ? \"1.25\" : \"0.95\");\n      sleeveTicks.appendChild(l);\n\n      if (isMaj) {\n        var t = ns(\"text\");\n        t.setAttribute(\"x\", x);\n        t.setAttribute(\"y\", 92);\n        t.setAttribute(\"text-anchor\", \"middle\");\n        t.setAttribute(\"font-size\", \"11.5\");\n        t.setAttribute(\"fill\", \"#111111\");\n        t.textContent = String(m);\n        sleeveTicks.appendChild(t);\n      }\n\n      if (m < MAX_MM) {\n        var hx = x + 0.5 * MM_PX;\n        var hl = ns(\"line\");\n        hl.setAttribute(\"x1\", hx);\n        hl.setAttribute(\"y1\", 115);\n        hl.setAttribute(\"x2\", hx);\n        hl.setAttribute(\"y2\", 126);\n        hl.setAttribute(\"stroke\", \"#111111\");\n        hl.setAttribute(\"stroke-width\", \"0.95\");\n        sleeveTicks.appendChild(hl);\n      }\n      m++;\n    }\n  }\n\n  function renderSpecimen(wPx, dMm) {\n    specimen.innerHTML = \"\";\n    actualDim.innerHTML = \"\";\n\n    var maxWPx = MAX_MM * MM_PX;\n    var clampedWPx = Math.min(wPx, maxWPx);\n    var xLeft = 190;\n    var xRight = 190 + clampedWPx;\n\n    if (clampedWPx >= 1.5) {\n      var r = clampedWPx * 0.5;\n      var cx = xLeft + r;\n      var c = ns(\"circle\");\n      c.setAttribute(\"cx\", cx.toFixed(2));\n      c.setAttribute(\"cy\", 115);\n      c.setAttribute(\"r\", r.toFixed(2));\n      c.setAttribute(\"fill\", \"#ffffff\");\n      c.setAttribute(\"stroke\", \"#111111\");\n      c.setAttribute(\"stroke-width\", \"1.2\");\n      specimen.appendChild(c);\n\n      var dot = ns(\"circle\");\n      dot.setAttribute(\"cx\", cx.toFixed(2));\n      dot.setAttribute(\"cy\", 115);\n      dot.setAttribute(\"r\", \"1.8\");\n      dot.setAttribute(\"fill\", \"#111111\");\n      specimen.appendChild(dot);\n    }\n\n    var dimY = 58;\n    var ext1 = ns(\"line\");\n    ext1.setAttribute(\"x1\", xLeft);\n    ext1.setAttribute(\"y1\", 100);\n    ext1.setAttribute(\"x2\", xLeft);\n    ext1.setAttribute(\"y2\", dimY - 4);\n    ext1.setAttribute(\"stroke\", \"#111111\");\n    ext1.setAttribute(\"stroke-width\", \"0.85\");\n    ext1.setAttribute(\"stroke-dasharray\", \"2,2\");\n    actualDim.appendChild(ext1);\n\n    var ext2 = ns(\"line\");\n    ext2.setAttribute(\"x1\", xRight.toFixed(2));\n    ext2.setAttribute(\"y1\", 100);\n    ext2.setAttribute(\"x2\", xRight.toFixed(2));\n    ext2.setAttribute(\"y2\", dimY - 4);\n    ext2.setAttribute(\"stroke\", \"#111111\");\n    ext2.setAttribute(\"stroke-width\", \"0.85\");\n    ext2.setAttribute(\"stroke-dasharray\", \"2,2\");\n    actualDim.appendChild(ext2);\n\n    if (clampedWPx >= 8) {\n      var dLine = ns(\"line\");\n      dLine.setAttribute(\"x1\", xLeft);\n      dLine.setAttribute(\"y1\", dimY);\n      dLine.setAttribute(\"x2\", xRight.toFixed(2));\n      dLine.setAttribute(\"y2\", dimY);\n      dLine.setAttribute(\"stroke\", \"#111111\");\n      dLine.setAttribute(\"stroke-width\", \"1.0\");\n      actualDim.appendChild(dLine);\n\n      var aL = ns(\"polygon\");\n      aL.setAttribute(\"points\", xLeft + \",\" + dimY + \" \" + (xLeft + 5) + \",\" + (dimY - 2.5) + \" \" + (xLeft + 5) + \",\" + (dimY + 2.5));\n      aL.setAttribute(\"fill\", \"#111111\");\n      actualDim.appendChild(aL);\n\n      var aR = ns(\"polygon\");\n      aR.setAttribute(\"points\", xRight.toFixed(2) + \",\" + dimY + \" \" + (xRight - 5).toFixed(2) + \",\" + (dimY - 2.5) + \" \" + (xRight - 5).toFixed(2) + \",\" + (dimY + 2.5));\n      aR.setAttribute(\"fill\", \"#111111\");\n      actualDim.appendChild(aR);\n    }\n\n    var midX = (xLeft + xRight) * 0.5;\n    var lbl = ns(\"text\");\n    lbl.setAttribute(\"x\", midX.toFixed(2));\n    lbl.setAttribute(\"y\", dimY - 8);\n    lbl.setAttribute(\"text-anchor\", \"middle\");\n    lbl.setAttribute(\"font-size\", \"13\");\n    lbl.setAttribute(\"fill\", \"#111111\");\n\n    var t1 = ns(\"tspan\");\n    t1.setAttribute(\"font-style\", \"italic\");\n    t1.textContent = \"d\";\n    lbl.appendChild(t1);\n\n    var t2 = ns(\"tspan\");\n    t2.setAttribute(\"baseline-shift\", \"sub\");\n    t2.setAttribute(\"font-size\", \"9.5\");\n    t2.textContent = \"0\";\n    lbl.appendChild(t2);\n\n    var t3 = ns(\"tspan\");\n    t3.setAttribute(\"font-weight\", \"700\");\n    t3.textContent = \" = \" + dMm.toFixed(5) + \" mm\";\n    lbl.appendChild(t3);\n\n    actualDim.appendChild(lbl);\n  }\n\n  function renderThimble(dMm) {\n    tTicks.innerHTML = \"\";\n    var divs = (dMm % 0.5) \/ 0.01;\n    if (divs < 0) { divs += 50; }\n    var center = Math.round(divs);\n    var i = -14;\n\n    while (i <= 14) {\n      var idx = center + i;\n      var tick = ((idx % 50) + 50) % 50;\n      var dy = (divs - idx) * ROW_H;\n      var norm = dy \/ 44;\n      if (1 >= Math.abs(norm)) {\n        var py = Math.sin(norm * (Math.PI * 0.5)) * 42;\n        var alpha = Math.max(0.25, Math.cos(norm * (Math.PI \/ 2.2)));\n        var isFive = (tick % 5 === 0);\n        var len = isFive ? 18 : 11;\n\n        var l = ns(\"line\");\n        l.setAttribute(\"x1\", 28);\n        l.setAttribute(\"y1\", py.toFixed(2));\n        l.setAttribute(\"x2\", 28 + len);\n        l.setAttribute(\"y2\", py.toFixed(2));\n        l.setAttribute(\"stroke\", tick === 0 ? \"#c62828\" : \"#111111\");\n        l.setAttribute(\"stroke-width\", isFive ? \"1.2\" : \"0.9\");\n        l.setAttribute(\"opacity\", alpha.toFixed(2));\n        tTicks.appendChild(l);\n\n        if (isFive) {\n          var t = ns(\"text\");\n          t.setAttribute(\"x\", 51);\n          t.setAttribute(\"y\", (py + 3.8).toFixed(2));\n          t.setAttribute(\"font-size\", \"10.5\");\n          t.setAttribute(\"fill\", tick === 0 ? \"#c62828\" : \"#111111\");\n          t.setAttribute(\"opacity\", alpha.toFixed(2));\n          t.textContent = String(tick);\n          tTicks.appendChild(t);\n        }\n      }\n      i++;\n    }\n  }\n\n  function renderLoupe(dMm, fixedMm) {\n    loupeMain.innerHTML = \"\";\n    loupeThimble.innerHTML = \"\";\n\n    var edgeX = 235;\n    var maxM = Math.min(MAX_MM, Math.floor(dMm + 0.15));\n    var minM = Math.max(0, maxM - 6);\n    var wholeInt = Math.floor(fixedMm + 1e-8);\n    var hasHalf = (Math.round((fixedMm - wholeInt) * 10) === 5);\n    var m = minM;\n\n    while (maxM >= m) {\n      var lx = edgeX - (dMm - m) * L_MM_PX;\n      if (lx >= 4) {\n        if (edgeX >= lx) {\n          var isMaj = (m % 5 === 0);\n          var isActiveW = false;\n          if (!hasHalf) {\n            if (m === wholeInt) { isActiveW = true; }\n          }\n          var h = isMaj ? 27 : 18;\n          var l = ns(\"line\");\n          l.setAttribute(\"x1\", lx.toFixed(1));\n          l.setAttribute(\"y1\", 62);\n          l.setAttribute(\"x2\", lx.toFixed(1));\n          l.setAttribute(\"y2\", 62 - h);\n          l.setAttribute(\"stroke\", isActiveW ? \"#c62828\" : \"#111111\");\n          l.setAttribute(\"stroke-width\", isActiveW ? \"2.0\" : (isMaj ? \"1.5\" : \"1.1\"));\n          loupeMain.appendChild(l);\n\n          var t = ns(\"text\");\n          t.setAttribute(\"x\", lx.toFixed(1));\n          t.setAttribute(\"y\", 62 - h - 5);\n          t.setAttribute(\"text-anchor\", \"middle\");\n          t.setAttribute(\"font-size\", \"12\");\n          t.setAttribute(\"font-weight\", isActiveW ? \"700\" : \"400\");\n          t.setAttribute(\"fill\", isActiveW ? \"#c62828\" : \"#111111\");\n          t.textContent = String(m);\n          loupeMain.appendChild(t);\n        }\n      }\n\n      if (MAX_MM > m) {\n        var hm = m + 0.5;\n        var hx = edgeX - (dMm - hm) * L_MM_PX;\n        if (hx >= 4) {\n          if (edgeX >= hx) {\n            var isActiveH = false;\n            if (hasHalf) {\n              if (m === wholeInt) { isActiveH = true; }\n            }\n            var hl = ns(\"line\");\n            hl.setAttribute(\"x1\", hx.toFixed(1));\n            hl.setAttribute(\"y1\", 62);\n            hl.setAttribute(\"x2\", hx.toFixed(1));\n            hl.setAttribute(\"y2\", 84);\n            hl.setAttribute(\"stroke\", isActiveH ? \"#c62828\" : \"#111111\");\n            hl.setAttribute(\"stroke-width\", isActiveH ? \"2.0\" : \"1.1\");\n            loupeMain.appendChild(hl);\n          }\n        }\n      }\n      m++;\n    }\n\n    var divs = (dMm % 0.5) \/ 0.01;\n    if (0 > divs) { divs += 50; }\n    var center = Math.round(divs);\n    var i = -5;\n\n    while (5 >= i) {\n      var idx = center + i;\n      var tick = ((idx % 50) + 50) % 50;\n      var dy = (divs - idx) * L_ROW_H;\n      var y = 62 + dy;\n      if (y >= 4) {\n        if (120 >= y) {\n          var isFive = (tick % 5 === 0);\n          var isAl = (2.2 > Math.abs(dy));\n          var len = isFive ? 26 : 16;\n          var col = \"#111111\";\n          if (tick === 0) { col = \"#c62828\"; }\n          if (isAl) { col = \"#1b5e20\"; }\n\n          var vl = ns(\"line\");\n          vl.setAttribute(\"x1\", 272);\n          vl.setAttribute(\"y1\", y.toFixed(1));\n          vl.setAttribute(\"x2\", 272 + len);\n          vl.setAttribute(\"y2\", y.toFixed(1));\n          vl.setAttribute(\"stroke\", col);\n          vl.setAttribute(\"stroke-width\", isAl ? \"2.1\" : (isFive ? \"1.4\" : \"1.0\"));\n          loupeThimble.appendChild(vl);\n\n          var sl = ns(\"line\");\n          sl.setAttribute(\"x1\", 235);\n          sl.setAttribute(\"y1\", (62 + dy * 0.88).toFixed(1));\n          sl.setAttribute(\"x2\", 272);\n          sl.setAttribute(\"y2\", y.toFixed(1));\n          sl.setAttribute(\"stroke\", col);\n          sl.setAttribute(\"stroke-width\", \"0.8\");\n          sl.setAttribute(\"opacity\", \"0.65\");\n          loupeThimble.appendChild(sl);\n\n          var showT = isFive;\n          if (isAl) { showT = true; }\n          if (showT) {\n            var vt = ns(\"text\");\n            vt.setAttribute(\"x\", 272 + len + 7);\n            vt.setAttribute(\"y\", (y + 4.5).toFixed(1));\n            vt.setAttribute(\"font-size\", \"12.5\");\n            vt.setAttribute(\"font-weight\", isAl ? \"700\" : \"400\");\n            vt.setAttribute(\"fill\", col);\n            vt.textContent = String(tick);\n            loupeThimble.appendChild(vt);\n          }\n        }\n      }\n      i++;\n    }\n  }\n\n  function syncLockDisplay() {\n    readoutText.style.opacity = locked ? \"1\" : \"0\";\n    readoutHint.style.opacity = locked ? \"0\" : \"1\";\n  }\n\n  function render() {\n    actualMm = Math.round(actualMm * 100000) \/ 100000;\n    if (0 > actualMm) { actualMm = 0; }\n    if (actualMm > MAX_MM) { actualMm = MAX_MM; }\n\n    var dMm = actualMm;\n    var dx = dMm * MM_PX;\n\n    thimble.setAttribute(\"transform\", \"translate(\" + (X0 + dx).toFixed(3) + \", 115)\");\n    spindle.setAttribute(\"transform\", \"translate(\" + dx.toFixed(3) + \", 0)\");\n    slider.value = dMm.toFixed(5);\n\n    var eps = dMm + 1e-8;\n    var fixedMm = Math.floor(eps \/ 0.5) * 0.5;\n    var movableMm = dMm - fixedMm;\n    if (0 > movableMm) { movableMm = 0; }\n    var divsStr = (movableMm \/ 0.01).toFixed(1);\n\n    exprEl.textContent = \" = \" + fixedMm.toFixed(1) + \" + \" + divsStr + \" \u00d7 0.01 = \";\n    valEl.textContent = dMm.toFixed(3) + \" mm\";\n\n    renderSpecimen(dx, dMm);\n    renderThimble(dMm);\n    renderLoupe(dMm, fixedMm);\n    syncLockDisplay();\n  }\n\n  function updateFsState(active) {\n    var pathNode = fsIcon.querySelector(\"path\");\n    if (active) {\n      root.style.maxWidth = \"none\";\n      root.style.width = \"100vw\";\n      root.style.height = \"100vh\";\n      root.style.margin = \"0\";\n      root.style.padding = \"18px 24px\";\n      root.style.border = \"none\";\n      if (pseudoFs) {\n        root.style.position = \"fixed\";\n        root.style.top = \"0\";\n        root.style.left = \"0\";\n        root.style.zIndex = \"999999\";\n      }\n      if (pathNode) {\n        pathNode.setAttribute(\"d\", \"M6 2v4H2M10 2v4h4M6 14v-4H2M10 14v-4h4\");\n      }\n    } else {\n      root.style.position = \"static\";\n      root.style.top = \"\";\n      root.style.left = \"\";\n      root.style.zIndex = \"\";\n      root.style.maxWidth = \"980px\";\n      root.style.width = \"\";\n      root.style.height = \"\";\n      root.style.margin = \"16px auto\";\n      root.style.padding = \"14px\";\n      root.style.border = \"1px solid #111111\";\n      if (pathNode) {\n        pathNode.setAttribute(\"d\", \"M2 6V2h4M14 6V2h-4M2 10v4h4M14 10v4h-4\");\n      }\n    }\n  }\n\n  function isNativeFs() {\n    if (document.fullscreenElement === root) { return true; }\n    if (document.webkitFullscreenElement === root) { return true; }\n    return false;\n  }\n\n  fsBtn.addEventListener(\"click\", function () {\n    if (isNativeFs()) {\n      if (document.exitFullscreen) {\n        document.exitFullscreen();\n      } else if (document.webkitExitFullscreen) {\n        document.webkitExitFullscreen();\n      }\n      return;\n    }\n    if (pseudoFs) {\n      pseudoFs = false;\n      updateFsState(false);\n      return;\n    }\n    if (root.requestFullscreen) {\n      root.requestFullscreen().catch(function () {\n        pseudoFs = true;\n        updateFsState(true);\n      });\n    } else if (root.webkitRequestFullscreen) {\n      root.webkitRequestFullscreen();\n    } else {\n      pseudoFs = true;\n      updateFsState(true);\n    }\n  });\n\n  document.addEventListener(\"fullscreenchange\", function () {\n    updateFsState(isNativeFs());\n  });\n  document.addEventListener(\"webkitfullscreenchange\", function () {\n    updateFsState(isNativeFs());\n  });\n  window.addEventListener(\"keydown\", function (e) {\n    if (e.key === \"Escape\") {\n      if (pseudoFs) {\n        pseudoFs = false;\n        updateFsState(false);\n      }\n    }\n  });\n\n  var dragging = false;\n  var startX = 0;\n  var startY = 0;\n  var startMm = 0;\n\n  thimble.addEventListener(\"pointerdown\", function (e) {\n    if (locked) { return; }\n    dragging = true;\n    startX = e.clientX;\n    startY = e.clientY;\n    startMm = actualMm;\n    thimble.setPointerCapture(e.pointerId);\n  });\n\n  window.addEventListener(\"pointermove\", function (e) {\n    if (!dragging) { return; }\n    var rect = svg.getBoundingClientRect();\n    var scale = 1000 \/ rect.width;\n    var dMmX = ((e.clientX - startX) * scale) \/ MM_PX;\n    var dMmY = ((e.clientY - startY) * scale) * 0.0025;\n    actualMm = startMm + dMmX + dMmY;\n    render();\n  });\n\n  window.addEventListener(\"pointerup\", function () {\n    dragging = false;\n  });\n\n  slider.addEventListener(\"input\", function () {\n    if (locked) { render(); return; }\n    var v = parseFloat(slider.value);\n    if (isNaN(v)) { v = 0; }\n    actualMm = v;\n    render();\n  });\n\n  lockGroup.addEventListener(\"click\", function () {\n    locked = !locked;\n    lockPivot.setAttribute(\"transform\", locked ? \"translate(387, 79) rotate(40)\" : \"translate(387, 79) rotate(0)\");\n    thimble.style.cursor = locked ? \"not-allowed\" : \"ew-resize\";\n    syncLockDisplay();\n  });\n\n  svg.addEventListener(\"wheel\", function (e) {\n    e.preventDefault();\n    if (locked) { return; }\n    var delta = e.shiftKey ? 0.0001 : 0.005;\n    actualMm = actualMm + (e.deltaY > 0 ? -delta : delta);\n    render();\n  }, { passive: false });\n\n  buildSleeve();\n  render();\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>0-20mm 0.01mm d = 6.0 + 35.2 \u00d7 0.01 = 6.352 mm \u70b9\u51fb\u4e0a\u65b9\u9501\u7d27\u62e8\u6746 &#8230; <a title=\"qiutopIA:\u87ba\u65cb\u6d4b\u5fae\u5668\" class=\"read-more\" href=\"https:\/\/www.qiusir.com\/?p=50029\" aria-label=\"\u9605\u8bfb qiutopIA:\u87ba\u65cb\u6d4b\u5fae\u5668\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"ngg_post_thumbnail":0,"h5ap_radio_sources":[],"footnotes":""},"categories":[5,7],"tags":[443,247],"class_list":["post-50029","post","type-post","status-publish","format-image","hentry","category-physics","category-ict","tag-ai","tag-physics","post_format-post-format-image"],"_links":{"self":[{"href":"https:\/\/www.qiusir.com\/index.php?rest_route=\/wp\/v2\/posts\/50029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qiusir.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qiusir.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qiusir.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qiusir.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=50029"}],"version-history":[{"count":7,"href":"https:\/\/www.qiusir.com\/index.php?rest_route=\/wp\/v2\/posts\/50029\/revisions"}],"predecessor-version":[{"id":50065,"href":"https:\/\/www.qiusir.com\/index.php?rest_route=\/wp\/v2\/posts\/50029\/revisions\/50065"}],"wp:attachment":[{"href":"https:\/\/www.qiusir.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=50029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qiusir.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=50029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qiusir.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=50029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}