{"id":50024,"date":"2026-12-02T10:20:44","date_gmt":"2026-12-02T02:20:44","guid":{"rendered":"https:\/\/www.qiusir.com\/?p=50024"},"modified":"2026-12-04T13:13:50","modified_gmt":"2026-12-04T05:13:50","slug":"qiutopia%e6%b8%b8%e6%a0%87%e5%8d%a1%e5%b0%ba","status":"publish","type":"post","link":"https:\/\/www.qiusir.com\/?p=50024","title":{"rendered":"qiutopIA:\u6e38\u6807\u5361\u5c3a"},"content":{"rendered":"\n<div id=\"vc-box-2026\" style=\"max-width:980px;margin:16px auto;padding:12px;background:#fff;color:#111;border:1px solid #111;font-family:'Times New Roman',serif;user-select:none;-webkit-user-select:none;box-sizing:border-box;\">\n  <div style=\"border:1px solid #111;overflow:hidden;\">\n    <svg id=\"vc-svg\" viewBox=\"0 0 1000 355\" style=\"width:100%;height:auto;display:block;touch-action:none;\"><\/svg>\n  <\/div>\n  <div style=\"margin:10px 0;display:flex;align-items:center;gap:10px;\">\n    <span style=\"font-style:italic;font-size:15px;\">d<\/span>\n    <input type=\"range\" id=\"vc-sl\" min=\"0\" max=\"45\" step=\"0.0001\" value=\"9.3500\" style=\"flex:1;accent-color:#111;cursor:pointer;\">\n    <div id=\"vc-db\" style=\"display:inline-flex;border:1px solid #111;flex-shrink:0;\">\n      <button type=\"button\" data-d=\"10\" style=\"padding:3px 10px;border:0;border-right:1px solid #111;background:#fff;color:#111;font:inherit;font-size:13px;cursor:pointer;\">10<\/button>\n      <button type=\"button\" data-d=\"20\" style=\"padding:3px 10px;border:0;border-right:1px solid #111;background:#111;color:#fff;font:inherit;font-size:13px;cursor:pointer;\">20<\/button>\n      <button type=\"button\" data-d=\"50\" style=\"padding:3px 10px;border:0;background:#fff;color:#111;font:inherit;font-size:13px;cursor:pointer;\">50<\/button>\n    <\/div>\n    <button type=\"button\" id=\"vc-zero\" style=\"padding:3px 9px;border:1px solid #111;background:#fff;color:#111;font:inherit;font-size:13px;cursor:pointer;flex-shrink:0;\">\u5f52\u96f6<\/button>\n    <button type=\"button\" id=\"vc-obj\" style=\"padding:3px 9px;border:1px solid #111;background:#fff;color:#111;font:inherit;font-size:13px;cursor:pointer;flex-shrink:0;\">\u6362\u4ef6<\/button>\n    <button type=\"button\" id=\"vc-fs\" style=\"padding:3px 9px;border:1px solid #111;background:#fff;color:#111;font:inherit;font-size:13px;cursor:pointer;flex-shrink:0;\">\u5168\u5c4f<\/button>\n  <\/div>\n  <div style=\"border:1px solid #111;padding:6px 10px;\">\n    <svg id=\"vc-loupe\" viewBox=\"0 0 880 120\" style=\"width:100%;height:auto;display:block;\"><\/svg>\n  <\/div>\n<\/div>\n\n<script>\n(function () {\n  var R = document.getElementById(\"vc-box-2026\");\n  if (!R) { return; }\n\n  var PX = 11;\n  var X0 = 150;\n  var ZERO_OFF = 0.5;\n  var MAX = 45;\n  var divs = 20;\n  var objMm = 9.3500;\n  var jawMm = 9.3500;\n  var hasObj = true;\n  var lk = false;\n  var cfs = false;\n\n  var svg = document.getElementById(\"vc-svg\");\n  var loupe = document.getElementById(\"vc-loupe\");\n  var sl = document.getElementById(\"vc-sl\");\n  var db = document.getElementById(\"vc-db\");\n  var zb = document.getElementById(\"vc-zero\");\n  var ob = document.getElementById(\"vc-obj\");\n  var fs = document.getElementById(\"vc-fs\");\n\n  function ns(p, t, a, tx) {\n    var e = document.createElementNS(\"http:\/\/www.w3.org\/2000\/svg\", t);\n    if (a) {\n      for (var k in a) { e.setAttribute(k, a[k]); }\n    }\n    if (tx !== undefined) {\n      if (tx !== null) { e.textContent = tx; }\n    }\n    if (p) { p.appendChild(e); }\n    return e;\n  }\n\n  var defs = ns(svg, \"defs\");\n  var pat = ns(defs, \"pattern\", { id: \"vc-h\", width: 6, height: 6, patternTransform: \"rotate(45)\", patternUnits: \"userSpaceOnUse\" });\n  ns(pat, \"line\", { x1: 0, y1: 0, x2: 0, y2: 6, stroke: \"#888\", \"stroke-width\": 1 });\n\n  ns(svg, \"rect\", { width: 1000, height: 355, fill: \"#fff\" });\n  var rod = ns(svg, \"path\", { d: \"M410 158H870v7h22v7H410Z\", fill: \"#fff\", stroke: \"#111\", \"stroke-width\": 1.25 });\n\n  var gMain = ns(svg, \"g\");\n  ns(gMain, \"path\", { d: \"M150 24Q176 54 182 100v20h-32V98h14V78h-14Z\", fill: \"#fff\", stroke: \"#111\", \"stroke-width\": 1.35, \"stroke-linejoin\": \"round\" });\n  ns(gMain, \"polygon\", { points: \"150,24 164,42 164,78 150,78\", fill: \"url(#vc-h)\", stroke: \"#111\" });\n  ns(gMain, \"path\", { d: \"M96 120H870v68H150v134C124 296 104 248 96 188Z\", fill: \"#fff\", stroke: \"#111\", \"stroke-width\": 1.35, \"stroke-linejoin\": \"round\" });\n  ns(gMain, \"polygon\", { points: \"138,288 150,288 150,322 138,310\", fill: \"url(#vc-h)\", stroke: \"#111\" });\n  ns(gMain, \"line\", { x1: 150, y1: 138, x2: 870, y2: 138, stroke: \"#111\", \"stroke-width\": 1.15 });\n  ns(gMain, \"line\", { x1: 150, y1: 172, x2: 870, y2: 172, stroke: \"#111\", \"stroke-width\": 1.15 });\n  var spTxt = ns(gMain, \"text\", { x: 103, y: 160, \"font-size\": 11.5, fill: \"#111\" }, \"0.05mm\");\n  var mtG = ns(gMain, \"g\");\n\n  var vnG = ns(svg, \"g\", { style: \"cursor:ew-resize;\" });\n  ns(vnG, \"path\", { d: \"M0 24Q-26 54-32 100v16H0V98h-14V78H0Z\", fill: \"#fff\", stroke: \"#111\", \"stroke-width\": 1.35, \"stroke-linejoin\": \"round\" });\n  ns(vnG, \"polygon\", { points: \"0,24 -14,42 -14,78 0,78\", fill: \"url(#vc-h)\", stroke: \"#111\" });\n  var upR = ns(vnG, \"rect\", { y: 116, width: 260, height: 22, fill: \"#fff\", stroke: \"#111\", \"stroke-width\": 1.35 });\n  var scG = ns(vnG, \"g\", { transform: \"translate(88,116)\", style: \"cursor:pointer;\" });\n  ns(scG, \"rect\", { x: -3.5, y: -11, width: 7, height: 11, fill: \"#fff\", stroke: \"#111\", \"stroke-width\": 1.2 });\n  ns(scG, \"rect\", { x: -11, y: -15, width: 22, height: 4, rx: 1, fill: \"#fff\", stroke: \"#111\", \"stroke-width\": 1.25 });\n  var loP = ns(vnG, \"path\", { d: \"M0 172h260v26H74C56 244 30 290 0 322Z\", fill: \"#fff\", stroke: \"#111\", \"stroke-width\": 1.35, \"stroke-linejoin\": \"round\" });\n  ns(vnG, \"polygon\", { points: \"0,288 12,288 12,310 0,322\", fill: \"url(#vc-h)\", stroke: \"#111\" });\n  ns(vnG, \"line\", { x1: 0, y1: 138, x2: 0, y2: 172, stroke: \"#111\", \"stroke-width\": 1.35 });\n  var rwL = ns(vnG, \"line\", { x1: 260, y1: 138, x2: 260, y2: 172, stroke: \"#111\", \"stroke-width\": 1.35 });\n  var vtG = ns(vnG, \"g\");\n\n  var objG = ns(svg, \"g\", { style: \"cursor:pointer;\" });\n  var objCirc = ns(objG, \"circle\", { cx: 201.425, cy: 298, r: 51.425, fill: \"url(#vc-h)\", stroke: \"#111\", \"stroke-width\": 1.4 });\n  var objInner = ns(objG, \"circle\", { cx: 201.425, cy: 298, r: 31.88, fill: \"#fff\", stroke: \"#111\", \"stroke-width\": 1.15 });\n  var objAxisH = ns(objG, \"line\", { x1: 146, y1: 298, x2: 257, y2: 298, stroke: \"#555\", \"stroke-width\": 0.85, \"stroke-dasharray\": \"4,3\" });\n  var objAxisV = ns(objG, \"line\", { x1: 201.425, y1: 244, x2: 201.425, y2: 350, stroke: \"#555\", \"stroke-width\": 0.85, \"stroke-dasharray\": \"4,3\" });\n  var objDot = ns(objG, \"circle\", { cx: 201.425, cy: 298, r: 2.3, fill: \"#111\" });\n  var objDimG = ns(svg, \"g\");\n\n  var jawSp = ns(svg, \"text\", { x: 982, y: 312, \"text-anchor\": \"end\", \"font-size\": 14.5, fill: \"#333\" }, \"\u5361\u8ddd: 9.3500 mm\");\n  var readT = ns(svg, \"text\", { x: 982, y: 338, \"text-anchor\": \"end\", \"font-size\": 17, fill: \"#111\" });\n  var rdSp = ns(readT, \"tspan\");\n\n  ns(loupe, \"rect\", { width: 880, height: 120, fill: \"#fff\" });\n  var lgG = ns(loupe, \"g\");\n  ns(loupe, \"line\", { x1: 0, y1: 60, x2: 880, y2: 60, stroke: \"#111\", \"stroke-width\": 1.3 });\n\n  var vTicks = [];\n\n  function roundHalfUp(val) {\n    return Math.floor(val + 0.5 + 1e-9);\n  }\n\n  function drawObj() {\n    objDimG.innerHTML = \"\";\n    if (!hasObj) {\n      objCirc.setAttribute(\"r\", 0);\n      objInner.setAttribute(\"r\", 0);\n      objDot.setAttribute(\"r\", 0);\n      objAxisH.setAttribute(\"x1\", 0);\n      objAxisH.setAttribute(\"x2\", 0);\n      objAxisV.setAttribute(\"y1\", 0);\n      objAxisV.setAttribute(\"y2\", 0);\n      return;\n    }\n\n    var wPx = objMm * PX;\n    var rPx = wPx * 0.5;\n    var cx = X0 + rPx;\n    var cy = 298;\n    objCirc.setAttribute(\"cx\", cx);\n    objCirc.setAttribute(\"cy\", cy);\n    objCirc.setAttribute(\"r\", rPx);\n\n    var ir = rPx * 0.62;\n    objInner.setAttribute(\"cx\", cx);\n    objInner.setAttribute(\"cy\", cy);\n    objInner.setAttribute(\"r\", ir);\n\n    objAxisH.setAttribute(\"x1\", cx - rPx - 4);\n    objAxisH.setAttribute(\"x2\", cx + rPx + 4);\n    objAxisH.setAttribute(\"y1\", cy);\n    objAxisH.setAttribute(\"y2\", cy);\n\n    objAxisV.setAttribute(\"x1\", cx);\n    objAxisV.setAttribute(\"x2\", cx);\n    objAxisV.setAttribute(\"y1\", cy - rPx - 4);\n    objAxisV.setAttribute(\"y2\", cy + rPx + 4);\n\n    objDot.setAttribute(\"cx\", cx);\n    objDot.setAttribute(\"cy\", cy);\n    objDot.setAttribute(\"r\", 2.3);\n\n    if (wPx >= 2) {\n      var xL = X0;\n      var xR = X0 + wPx;\n      var yDim = 242;\n      ns(objDimG, \"line\", { x1: xL, y1: yDim - 4, x2: xL, y2: yDim + 4, stroke: \"#111\", \"stroke-width\": 0.9 });\n      ns(objDimG, \"line\", { x1: xR, y1: yDim - 4, x2: xR, y2: yDim + 4, stroke: \"#111\", \"stroke-width\": 0.9 });\n      if (wPx >= 10) {\n        ns(objDimG, \"line\", { x1: xL, y1: yDim, x2: xR, y2: yDim, stroke: \"#111\", \"stroke-width\": 0.9 });\n      }\n      ns(objDimG, \"text\", { x: cx, y: yDim - 5, \"text-anchor\": \"middle\", \"font-size\": 11.5, fill: \"#111\" }, objMm.toFixed(4) + \" mm\");\n    }\n  }\n\n  function buildMain() {\n    mtG.innerHTML = \"\";\n    var mainBaseX = X0 + ZERO_OFF * PX;\n    for (var m = 0; m !== 65; m++) {\n      var x = mainBaseX + m * PX;\n      var isC = (m % 10 === 0);\n      var isH = false;\n      if (!isC) {\n        if (m % 5 === 0) { isH = true; }\n      }\n      var len = 6.5;\n      if (isH) { len = 10; }\n      if (isC) { len = 14; }\n      ns(mtG, \"line\", { x1: x, y1: 172, x2: x, y2: 172 - len, stroke: \"#111\", \"stroke-width\": isC ? 1.25 : 0.95 });\n      if (isC) {\n        ns(mtG, \"text\", { x: x, y: 153, \"text-anchor\": \"middle\", \"font-size\": 12.5, fill: \"#111\" }, String(m \/ 10));\n      }\n    }\n    ns(mtG, \"text\", { x: mainBaseX + 62.0 * PX, y: 153, \"font-size\": 12, fill: \"#111\" }, \"cm\");\n  }\n\n  function buildVernier() {\n    vtG.innerHTML = \"\";\n    vTicks = [];\n    var lc = 1 \/ divs;\n    spTxt.textContent = lc.toFixed(divs === 10 ? 1 : 2) + \"mm\";\n\n    var sm = 19;\n    if (divs === 10) { sm = 9; }\n    if (divs === 50) { sm = 49; }\n    var sx = sm * PX;\n    var zeroX = ZERO_OFF * PX;\n    var fw = Math.max(150, zeroX + sx + 36);\n    var st = sx \/ divs;\n\n    upR.setAttribute(\"width\", fw);\n    rwL.setAttribute(\"x1\", fw);\n    rwL.setAttribute(\"x2\", fw);\n    loP.setAttribute(\"d\", \"M0 172h\" + fw + \"v26H74C56 244 30 290 0 322Z\");\n\n    for (var k = 0; k !== divs + 1; k++) {\n      var vx = zeroX + k * st;\n      var mj = (k % 5 === 0);\n      var md = false;\n      if (divs === 20) {\n        mj = (k % 2 === 0);\n        md = !mj;\n      }\n      var len = 7.5;\n      if (md) { len = 9.5; }\n      if (mj) { len = 13; }\n      var sw = 0.9;\n      if (mj) { sw = 1.15; }\n      if (k === 0) { sw = 1.4; }\n      var ln = ns(vtG, \"line\", { x1: vx, y1: 172, x2: vx, y2: 172 + len, stroke: \"#111\", \"stroke-width\": sw });\n      vTicks.push(ln);\n\n      var lb = \"\";\n      if (divs === 10) {\n        if (k % 5 === 0) { lb = String(k); }\n      } else if (divs === 20) {\n        if (k % 5 === 0) {\n          lb = (k * 0.05).toFixed(2);\n          if (lb === \"0.00\") { lb = \"0\"; }\n        }\n      } else {\n        if (k % 10 === 0) { lb = String(k \/ 5); }\n      }\n      if (lb !== \"\") {\n        ns(vtG, \"text\", { x: vx, y: 194, \"text-anchor\": \"middle\", \"font-size\": divs === 50 ? 9.5 : 10.5, fill: \"#111\" }, lb);\n      }\n    }\n  }\n\n  function renderLoupe(d, w, ai) {\n    lgG.innerHTML = \"\";\n    var zp = divs === 50 ? PX * 1.45 : PX * 2.8;\n    var sm = 19;\n    if (divs === 10) { sm = 9; }\n    if (divs === 50) { sm = 49; }\n    var cm = d + sm * 0.48;\n    var cx = 440;\n    var ak = ai ? ai : divs;\n    var st = sm \/ divs;\n    var am = w + Math.round(((sm + 1) \/ divs) * ak);\n    var sM = Math.max(0, Math.floor(cm - 26));\n    var eM = Math.min(65, Math.ceil(cm + 26));\n    var ax = cx + (d + ak * st - cm) * zp;\n\n    ns(lgG, \"line\", { x1: ax, y1: 10, x2: ax, y2: 110, stroke: \"#c62828\", \"stroke-opacity\": 0.22, \"stroke-width\": 6 });\n\n    for (var m = sM; m !== eM + 1; m++) {\n      var lx = cx + (m - cm) * zp;\n      if (Math.min(lx, 4) === lx) { continue; }\n      if (Math.max(lx, 876) === lx) { continue; }\n      var isC = (m % 10 === 0);\n      var isH = false;\n      if (!isC) {\n        if (m % 5 === 0) { isH = true; }\n      }\n      var al = (m === am);\n      var h = 14;\n      if (isH) { h = 20; }\n      if (isC) { h = 28; }\n      if (al) { h = 32; }\n      var mAttrs = { x1: lx, y1: 60, x2: lx, y2: 60 - h, stroke: al ? \"#c62828\" : \"#111\", \"stroke-width\": al ? 2.6 : (isC ? 1.5 : 1.05) };\n      if (al) { mAttrs[\"stroke-opacity\"] = 0.45; }\n      ns(lgG, \"line\", mAttrs);\n      if (isC) {\n        var tAttrs = { x: lx, y: 22, \"text-anchor\": \"middle\", \"font-size\": 12, \"font-weight\": al ? 700 : 400, fill: al ? \"#c62828\" : \"#111\" };\n        if (al) { tAttrs[\"fill-opacity\"] = 0.55; }\n        ns(lgG, \"text\", tAttrs, (m \/ 10) + \"cm\");\n      }\n    }\n\n    for (var k = 0; k !== divs + 1; k++) {\n      var vx = cx + (d + k * st - cm) * zp;\n      if (Math.min(vx, 4) === vx) { continue; }\n      if (Math.max(vx, 876) === vx) { continue; }\n      var z = (k === 0);\n      var al = (k === ak);\n      var mj = divs === 20 ? (k % 2 === 0) : (k % 5 === 0);\n      var h = 14;\n      if (mj) { h = 20; }\n      if (z) { h = 26; }\n      if (al) { h = 32; }\n      var col = \"#111\";\n      if (z) { col = \"#1565c0\"; }\n      if (al) { col = \"#c62828\"; }\n      var sw = 1.05;\n      if (z) { sw = 1.8; }\n      if (al) { sw = 2.6; }\n      ns(lgG, \"line\", { x1: vx, y1: 60, x2: vx, y2: 60 + h, stroke: col, \"stroke-width\": sw });\n\n      var show = false;\n      if (z) { show = true; }\n      if (al) { show = true; }\n      if (divs === 50) {\n        if (k % 10 === 0) { show = true; }\n      } else {\n        if (k % 5 === 0) { show = true; }\n      }\n      if (show) {\n        var fw = 400;\n        if (z) { fw = 700; }\n        if (al) { fw = 700; }\n        ns(lgG, \"text\", { x: vx, y: 107, \"text-anchor\": \"middle\", \"font-size\": al ? 12 : 10.5, \"font-weight\": fw, fill: col }, String(k));\n      }\n    }\n  }\n\n  function renderReadout(w, ai, lc, dc, readD) {\n    jawSp.textContent = \"\u5361\u8ddd: \" + jawMm.toFixed(4) + \" mm\";\n    rdSp.innerHTML = \"\";\n    if (!lk) {\n      readT.setAttribute(\"fill\", \"#777\");\n      readT.setAttribute(\"font-size\", \"15\");\n      ns(rdSp, \"tspan\", null, \"\uff08\u70b9\u51fb\u4e0a\u65b9\uff09\u9501\u5b9a\u5361\u5c3a\u540e\u663e\u793a\u8bfb\u6570\");\n      return;\n    }\n    readT.setAttribute(\"fill\", \"#111\");\n    readT.setAttribute(\"font-size\", \"17\");\n    ns(rdSp, \"tspan\", { \"font-style\": \"italic\" }, \"d\");\n    ns(rdSp, \"tspan\", null, \" = \" + w + \" + \" + ai + \" \u00d7 \" + lc.toFixed(dc) + \" = \");\n    ns(rdSp, \"tspan\", { \"font-weight\": \"bold\", \"font-size\": \"21\" }, readD.toFixed(dc) + \" mm\");\n  }\n\n  function update() {\n    var minJaw = hasObj ? objMm : 0;\n    jawMm = Math.round(Math.max(minJaw, Math.min(MAX, jawMm)) * 10000) \/ 10000;\n    var lc = 1 \/ divs;\n    var nearSteps = roundHalfUp(jawMm * divs);\n    var readD = nearSteps * lc;\n    var dx = jawMm * PX;\n    var w = Math.floor(nearSteps \/ divs);\n    var ai = nearSteps % divs;\n    var ak = ai ? ai : divs;\n    var dc = divs === 10 ? 1 : 2;\n\n    vnG.setAttribute(\"transform\", \"translate(\" + (X0 + dx) + \",0)\");\n    rod.setAttribute(\"d\", \"M\" + (X0 + dx + 60) + \" 158H\" + (852 + dx) + \"v7h18v7H\" + (X0 + dx + 60) + \"Z\");\n\n    for (var k = 0; k !== vTicks.length; k++) {\n      var col = \"#111\";\n      var sw = 0.95;\n      if (k === 0) { col = \"#1565c0\"; sw = 1.6; }\n      if (k === ak) { col = \"#c62828\"; sw = 2.2; }\n      vTicks[k].setAttribute(\"stroke\", col);\n      vTicks[k].setAttribute(\"stroke-width\", sw);\n    }\n\n    sl.max = MAX;\n    sl.step = 0.0001;\n    sl.value = jawMm.toFixed(4);\n    scG.setAttribute(\"transform\", lk ? \"translate(88,119)\" : \"translate(88,116)\");\n    vnG.style.cursor = lk ? \"not-allowed\" : \"ew-resize\";\n    renderReadout(w, ai, lc, dc, readD);\n    renderLoupe(jawMm, w, ai);\n  }\n\n  function changeObj() {\n    if (lk) { return; }\n    hasObj = true;\n    objMm = Math.round((4.0 + Math.random() * 7.6) * 10000) \/ 10000;\n    jawMm = objMm;\n    drawObj();\n    update();\n  }\n\n  zb.onclick = function () {\n    if (lk) { return; }\n    hasObj = false;\n    objMm = 0;\n    jawMm = 0;\n    drawObj();\n    update();\n  };\n\n  ob.onclick = changeObj;\n  objG.onclick = changeObj;\n\n  function setFs(a) {\n    fs.style.background = a ? \"#111\" : \"#fff\";\n    fs.style.color = a ? \"#fff\" : \"#111\";\n    fs.textContent = a ? \"\u9000\u51fa\" : \"\u5168\u5c4f\";\n    R.style.maxWidth = a ? \"none\" : \"980px\";\n    R.style.margin = a ? \"0\" : \"16px auto\";\n    R.style.display = a ? \"flex\" : \"\";\n    R.style.flexDirection = a ? \"column\" : \"\";\n    R.style.justifyContent = a ? \"center\" : \"\";\n    if (a) {\n      if (cfs) {\n        R.style.position = \"fixed\";\n        R.style.inset = \"0\";\n        R.style.zIndex = \"99999\";\n        R.style.overflow = \"auto\";\n      }\n    } else {\n      R.style.position = \"\";\n      R.style.inset = \"\";\n      R.style.zIndex = \"\";\n      R.style.overflow = \"\";\n    }\n  }\n\n  fs.onclick = function () {\n    var f = document.fullscreenElement;\n    if (!f) {\n      if (document.webkitFullscreenElement) { f = document.webkitFullscreenElement; }\n    }\n    if (f) {\n      if (document.exitFullscreen) { document.exitFullscreen(); }\n      else if (document.webkitExitFullscreen) { document.webkitExitFullscreen(); }\n      cfs = false;\n      setFs(false);\n      return;\n    }\n    if (cfs) {\n      cfs = false;\n      setFs(false);\n      return;\n    }\n    if (R.requestFullscreen) {\n      R.requestFullscreen().catch(function () {\n        cfs = true;\n        setFs(true);\n      });\n    } else if (R.webkitRequestFullscreen) {\n      R.webkitRequestFullscreen();\n    } else {\n      cfs = true;\n      setFs(true);\n    }\n  };\n\n  document.addEventListener(\"fullscreenchange\", function () {\n    setFs(document.fullscreenElement === R);\n  });\n\n  var dg = false;\n  var sx = 0;\n  var startJaw = 0;\n\n  scG.addEventListener(\"pointerdown\", function (e) {\n    e.stopPropagation();\n  });\n\n  scG.onclick = function (e) {\n    e.stopPropagation();\n    lk = !lk;\n    update();\n  };\n\n  vnG.onpointerdown = function (e) {\n    if (e.target.closest) {\n      if (e.target.closest(\"g\") === scG) { return; }\n    }\n    if (!lk) {\n      dg = true;\n      sx = e.clientX;\n      startJaw = jawMm;\n      vnG.setPointerCapture(e.pointerId);\n    }\n  };\n\n  window.addEventListener(\"pointermove\", function (e) {\n    if (dg) {\n      var w = svg.getBoundingClientRect().width;\n      if (w) {\n        jawMm = startJaw + ((e.clientX - sx) * (1000 \/ w)) \/ PX;\n        update();\n      }\n    }\n  });\n\n  window.addEventListener(\"pointerup\", function () { dg = false; });\n\n  sl.oninput = function () {\n    if (!lk) {\n      jawMm = parseFloat(sl.value) || 0;\n    }\n    update();\n  };\n\n  db.onclick = function (e) {\n    var b = e.target;\n    var nd = parseInt(b.getAttribute(\"data-d\"), 10);\n    if (!nd) { return; }\n    if (nd === divs) { return; }\n    divs = nd;\n    var bs = db.querySelectorAll(\"button\");\n    for (var i = 0; i !== bs.length; i++) {\n      bs[i].style.background = \"#fff\";\n      bs[i].style.color = \"#111\";\n    }\n    b.style.background = \"#111\";\n    b.style.color = \"#fff\";\n    buildVernier();\n    update();\n  };\n\n  drawObj();\n  buildMain();\n  buildVernier();\n  update();\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>d 10 20 50 \u5f52\u96f6 \u6362\u4ef6 \u5168\u5c4f<\/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-50024","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\/50024","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=50024"}],"version-history":[{"count":19,"href":"https:\/\/www.qiusir.com\/index.php?rest_route=\/wp\/v2\/posts\/50024\/revisions"}],"predecessor-version":[{"id":50150,"href":"https:\/\/www.qiusir.com\/index.php?rest_route=\/wp\/v2\/posts\/50024\/revisions\/50150"}],"wp:attachment":[{"href":"https:\/\/www.qiusir.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=50024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qiusir.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=50024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qiusir.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=50024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}