A RGB LCD raspberry pi hat
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

3682 lines
203 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Interactive BOM for KiCAD</title>
  7. <style type="text/css">
  8. :root {
  9. --pcb-edge-color: black;
  10. --pad-color: #878787;
  11. --pad-hole-color: #CCCCCC;
  12. --pad-color-highlight: #D04040;
  13. --pin1-outline-color: #ffb629;
  14. --pin1-outline-color-highlight: #b4ff03;
  15. --silkscreen-edge-color: #aa4;
  16. --silkscreen-polygon-color: #4aa;
  17. --silkscreen-text-color: #4aa;
  18. --fabrication-edge-color: #907651;
  19. --fabrication-polygon-color: #907651;
  20. --fabrication-text-color: #a27c24;
  21. --track-color: #def5f1;
  22. --track-color-highlight: #D04040;
  23. --zone-color: #def5f1;
  24. --zone-color-highlight: #d0404080;
  25. }
  26. html, body {
  27. margin: 0px;
  28. height: 100%;
  29. font-family: Verdana, sans-serif;
  30. }
  31. .dark.topmostdiv {
  32. --pcb-edge-color: #eee;
  33. --pad-color: #808080;
  34. --pin1-outline-color: #ffa800;
  35. --pin1-outline-color-highlight: #ccff00;
  36. --track-color: #42524f;
  37. --zone-color: #42524f;
  38. background-color: #252c30;
  39. color: #eee;
  40. }
  41. button {
  42. background-color: #eee;
  43. border: 1px solid #888;
  44. color: black;
  45. height: 44px;
  46. width: 44px;
  47. text-align: center;
  48. text-decoration: none;
  49. display: inline-block;
  50. font-size: 14px;
  51. font-weight: bolder;
  52. }
  53. .dark button {
  54. /* This will be inverted */
  55. background-color: #c3b7b5;
  56. }
  57. button.depressed {
  58. background-color: #0a0;
  59. color: white;
  60. }
  61. .dark button.depressed {
  62. /* This will be inverted */
  63. background-color: #b3b;
  64. }
  65. button:focus {
  66. outline: 0;
  67. }
  68. button#tb-btn {
  69. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8.47 8.47'%3E%3Crect transform='translate(0 -288.53)' ry='1.17' y='288.8' x='.27' height='7.94' width='7.94' fill='%23f9f9f9'/%3E%3Cg transform='translate(0 -288.53)'%3E%3Crect width='7.94' height='7.94' x='.27' y='288.8' ry='1.17' fill='none' stroke='%23000' stroke-width='.4' stroke-linejoin='round'/%3E%3Cpath d='M1.32 290.12h5.82M1.32 291.45h5.82' fill='none' stroke='%23000' stroke-width='.4'/%3E%3Cpath d='M4.37 292.5v4.23M.26 292.63H8.2' fill='none' stroke='%23000' stroke-width='.3'/%3E%3Ctext font-weight='700' font-size='3.17' font-family='sans-serif'%3E%3Ctspan x='1.35' y='295.73'%3EF%3C/tspan%3E%3Ctspan x='5.03' y='295.68'%3EB%3C/tspan%3E%3C/text%3E%3C/g%3E%3C/svg%3E%0A");
  70. }
  71. button#lr-btn {
  72. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8.47 8.47'%3E%3Crect transform='translate(0 -288.53)' ry='1.17' y='288.8' x='.27' height='7.94' width='7.94' fill='%23f9f9f9'/%3E%3Cg transform='translate(0 -288.53)'%3E%3Crect width='7.94' height='7.94' x='.27' y='288.8' ry='1.17' fill='none' stroke='%23000' stroke-width='.4' stroke-linejoin='round'/%3E%3Cpath d='M1.06 290.12H3.7m-2.64 1.33H3.7m-2.64 1.32H3.7m-2.64 1.3H3.7m-2.64 1.33H3.7' fill='none' stroke='%23000' stroke-width='.4'/%3E%3Cpath d='M4.37 288.8v7.94m0-4.11h3.96' fill='none' stroke='%23000' stroke-width='.3'/%3E%3Ctext font-weight='700' font-size='3.17' font-family='sans-serif'%3E%3Ctspan x='5.11' y='291.96'%3EF%3C/tspan%3E%3Ctspan x='5.03' y='295.68'%3EB%3C/tspan%3E%3C/text%3E%3C/g%3E%3C/svg%3E%0A");
  73. }
  74. button#bom-btn {
  75. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8.47 8.47'%3E%3Crect transform='translate(0 -288.53)' ry='1.17' y='288.8' x='.27' height='7.94' width='7.94' fill='%23f9f9f9'/%3E%3Cg transform='translate(0 -288.53)' fill='none' stroke='%23000' stroke-width='.4'%3E%3Crect width='7.94' height='7.94' x='.27' y='288.8' ry='1.17' stroke-linejoin='round'/%3E%3Cpath d='M1.59 290.12h5.29M1.59 291.45h5.33M1.59 292.75h5.33M1.59 294.09h5.33M1.59 295.41h5.33'/%3E%3C/g%3E%3C/svg%3E");
  76. }
  77. button#bom-grouped-btn {
  78. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cg stroke='%23000' stroke-linejoin='round' class='layer'%3E%3Crect width='29' height='29' x='1.5' y='1.5' stroke-width='2' fill='%23fff' rx='5' ry='5'/%3E%3Cpath stroke-linecap='square' stroke-width='2' d='M6 10h4m4 0h5m4 0h3M6.1 22h3m3.9 0h5m4 0h4m-16-8h4m4 0h4'/%3E%3Cpath stroke-linecap='null' d='M5 17.5h22M5 26.6h22M5 5.5h22'/%3E%3C/g%3E%3C/svg%3E");
  79. }
  80. button#bom-ungrouped-btn {
  81. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cg stroke='%23000' stroke-linejoin='round' class='layer'%3E%3Crect width='29' height='29' x='1.5' y='1.5' stroke-width='2' fill='%23fff' rx='5' ry='5'/%3E%3Cpath stroke-linecap='square' stroke-width='2' d='M6 10h4m-4 8h3m-3 8h4'/%3E%3Cpath stroke-linecap='null' d='M5 13.5h22m-22 8h22M5 5.5h22'/%3E%3C/g%3E%3C/svg%3E");
  82. }
  83. button#bom-netlist-btn {
  84. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cg fill='none' stroke='%23000' class='layer'%3E%3Crect width='29' height='29' x='1.5' y='1.5' stroke-width='2' fill='%23fff' rx='5' ry='5'/%3E%3Cpath stroke-width='2' d='M6 26l6-6v-8m13.8-6.3l-6 6v8'/%3E%3Ccircle cx='11.8' cy='9.5' r='2.8' stroke-width='2'/%3E%3Ccircle cx='19.8' cy='22.8' r='2.8' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
  85. }
  86. button#copy {
  87. background-image: url("data:image/svg+xml,%3Csvg height='48' viewBox='0 0 48 48' width='48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M32 2h-24c-2.21 0-4 1.79-4 4v28h4v-28h24v-4zm6 8h-22c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h22c2.21 0 4-1.79 4-4v-28c0-2.21-1.79-4-4-4zm0 32h-22v-28h22v28z'/%3E%3C/svg%3E");
  88. background-position: 6px 6px;
  89. background-repeat: no-repeat;
  90. background-size: 26px 26px;
  91. border-radius: 6px;
  92. height: 40px;
  93. width: 40px;
  94. margin: 10px 5px;
  95. }
  96. button#copy:active {
  97. box-shadow: inset 0px 0px 5px #6c6c6c;
  98. }
  99. textarea.clipboard-temp {
  100. position: fixed;
  101. top: 0;
  102. left: 0;
  103. width: 2em;
  104. height: 2em;
  105. padding: 0;
  106. border: None;
  107. outline: None;
  108. box-shadow: None;
  109. background: transparent;
  110. }
  111. .left-most-button {
  112. border-right: 0;
  113. border-top-left-radius: 6px;
  114. border-bottom-left-radius: 6px;
  115. }
  116. .middle-button {
  117. border-right: 0;
  118. }
  119. .right-most-button {
  120. border-top-right-radius: 6px;
  121. border-bottom-right-radius: 6px;
  122. }
  123. .button-container {
  124. font-size: 0;
  125. margin: 10px 10px 10px 0px;
  126. }
  127. .dark .button-container {
  128. filter: invert(1);
  129. }
  130. .button-container button {
  131. background-size: 32px 32px;
  132. background-position: 5px 5px;
  133. background-repeat: no-repeat;
  134. }
  135. @media print {
  136. .hideonprint {
  137. display: none;
  138. }
  139. }
  140. canvas {
  141. cursor: crosshair;
  142. }
  143. canvas:active {
  144. cursor: grabbing;
  145. }
  146. .fileinfo {
  147. width: 100%;
  148. max-width: 1000px;
  149. border: none;
  150. padding: 5px;
  151. }
  152. .fileinfo .title {
  153. font-size: 20pt;
  154. font-weight: bold;
  155. }
  156. .fileinfo td {
  157. overflow: hidden;
  158. white-space: nowrap;
  159. max-width: 1px;
  160. width: 50%;
  161. text-overflow: ellipsis;
  162. }
  163. .bom {
  164. border-collapse: collapse;
  165. font-family: Consolas, "DejaVu Sans Mono", Monaco, monospace;
  166. font-size: 10pt;
  167. table-layout: fixed;
  168. width: 100%;
  169. margin-top: 1px;
  170. }
  171. .bom th, .bom td {
  172. border: 1px solid black;
  173. padding: 5px;
  174. word-wrap: break-word;
  175. text-align: center;
  176. position: relative;
  177. }
  178. .dark .bom th, .dark .bom td {
  179. border: 1px solid #777;
  180. }
  181. .bom th {
  182. background-color: #CCCCCC;
  183. background-clip: padding-box;
  184. }
  185. .dark .bom th {
  186. background-color: #3b4749;
  187. }
  188. .bom tr.highlighted:nth-child(n) {
  189. background-color: #cfc;
  190. }
  191. .dark .bom tr.highlighted:nth-child(n) {
  192. background-color: #226022;
  193. }
  194. .bom tr:nth-child(even) {
  195. background-color: #f2f2f2;
  196. }
  197. .dark .bom tr:nth-child(even) {
  198. background-color: #313b40;
  199. }
  200. .bom tr.checked {
  201. color: #aaa;
  202. }
  203. .dark .bom tr.checked {
  204. color: #666;
  205. }
  206. .bom tr {
  207. transition: background-color 0.2s;
  208. }
  209. .bom .numCol {
  210. width: 25px;
  211. }
  212. .bom .Description {
  213. width: 10%;
  214. }
  215. .bom .Part {
  216. width: 10%;
  217. }
  218. .bom .Value {
  219. width: 15%;
  220. }
  221. .bom .Quantity {
  222. width: 65px;
  223. }
  224. .bom th .sortmark {
  225. position: absolute;
  226. right: 1px;
  227. top: 1px;
  228. margin-top: -5px;
  229. border-width: 5px;
  230. border-style: solid;
  231. border-color: transparent transparent #221 transparent;
  232. transform-origin: 50% 85%;
  233. transition: opacity 0.2s, transform 0.4s;
  234. }
  235. .dark .bom th .sortmark {
  236. filter: invert(1);
  237. }
  238. .bom th .sortmark.none {
  239. opacity: 0;
  240. }
  241. .bom th .sortmark.desc {
  242. transform: rotate(180deg);
  243. }
  244. .bom th:hover .sortmark.none {
  245. opacity: 0.5;
  246. }
  247. .bom .bom-checkbox {
  248. width: 30px;
  249. position: relative;
  250. user-select: none;
  251. -moz-user-select: none;
  252. }
  253. .bom .bom-checkbox:before {
  254. content: "";
  255. position: absolute;
  256. border-width: 15px;
  257. border-style: solid;
  258. border-color: #51829f transparent transparent transparent;
  259. visibility: hidden;
  260. top: -15px;
  261. }
  262. .bom .bom-checkbox:after {
  263. content: "Double click to set/unset all";
  264. position: absolute;
  265. color: white;
  266. top: -35px;
  267. left: -26px;
  268. background: #51829f;
  269. padding: 5px 15px;
  270. border-radius: 8px;
  271. white-space: nowrap;
  272. visibility: hidden;
  273. }
  274. .bom .bom-checkbox:hover:before, .bom .bom-checkbox:hover:after {
  275. visibility: visible;
  276. transition: visibility 0.2s linear 1s;
  277. }
  278. .split {
  279. -webkit-box-sizing: border-box;
  280. -moz-box-sizing: border-box;
  281. box-sizing: border-box;
  282. overflow-y: auto;
  283. overflow-x: hidden;
  284. background-color: inherit;
  285. }
  286. .split.split-horizontal, .gutter.gutter-horizontal {
  287. height: 100%;
  288. float: left;
  289. }
  290. .gutter {
  291. background-color: #ddd;
  292. background-repeat: no-repeat;
  293. background-position: 50%;
  294. transition: background-color 0.3s;
  295. }
  296. .dark .gutter {
  297. background-color: #777;
  298. }
  299. .gutter.gutter-horizontal {
  300. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
  301. cursor: ew-resize;
  302. width: 5px;
  303. }
  304. .gutter.gutter-vertical {
  305. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=');
  306. cursor: ns-resize;
  307. height: 5px;
  308. }
  309. .searchbox {
  310. float: left;
  311. height: 40px;
  312. margin: 10px 5px;
  313. padding: 12px 32px;
  314. font-family: Consolas, "DejaVu Sans Mono", Monaco, monospace;
  315. font-size: 18px;
  316. box-sizing: border-box;
  317. border: 1px solid #888;
  318. border-radius: 6px;
  319. outline: none;
  320. background-color: #eee;
  321. transition: background-color 0.2s, border 0.2s;
  322. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABNklEQVQ4T8XSMUvDQBQH8P/LElFa/AIZHcTBQSz0I/gFstTBRR2KUC4ldDxw7h0Bl3RRUATxi4iiODgoiLNrbQYp5J6cpJJqomkX33Z37/14d/dIa33MzDuYI4johOI4XhyNRteO46zNYjDzAxE1yBZprVeZ+QbAUhXEGJMA2Ox2u4+fQIa0mPmsCgCgJYQ4t7lfgF0opQYAdv9ABkKI/UnOFCClXKjX61cA1osQY8x9kiRNKeV7IWA3oyhaSdP0FkAtjxhj3hzH2RBCPOf3pzqYHCilfAAX+URm9oMguPzeWSGQvUcMYC8rOBJCHBRdqxTo9/vbRHRqi8bj8XKv1xvODbiuW2u32/bvf0SlDv4XYOY7z/Mavu+nM1+BmQ+NMc0wDF/LprP0DbTWW0T00ul0nn4b7Q87+X4Qmfiq2wAAAABJRU5ErkJggg==');
  323. background-position: 10px 10px;
  324. background-repeat: no-repeat;
  325. }
  326. .dark .searchbox {
  327. background-color: #111;
  328. color: #eee;
  329. }
  330. .searchbox::placeholder {
  331. color: #ccc;
  332. }
  333. .dark .searchbox::placeholder {
  334. color: #666;
  335. }
  336. .filter {
  337. width: calc(60% - 64px);
  338. }
  339. .reflookup {
  340. width: calc(40% - 10px);
  341. }
  342. input[type=text]:focus {
  343. background-color: white;
  344. border: 1px solid #333;
  345. }
  346. .dark input[type=text]:focus {
  347. background-color: #333;
  348. border: 1px solid #ccc;
  349. }
  350. mark.highlight {
  351. background-color: #5050ff;
  352. color: #fff;
  353. padding: 2px;
  354. border-radius: 6px;
  355. }
  356. .dark mark.highlight {
  357. background-color: #76a6da;
  358. color: #111;
  359. }
  360. .menubtn {
  361. background-color: white;
  362. border: none;
  363. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 20 20'%3E%3Cpath fill='none' d='M0 0h20v20H0V0z'/%3E%3Cpath d='M15.95 10.78c.03-.25.05-.51.05-.78s-.02-.53-.06-.78l1.69-1.32c.15-.12.19-.34.1-.51l-1.6-2.77c-.1-.18-.31-.24-.49-.18l-1.99.8c-.42-.32-.86-.58-1.35-.78L12 2.34c-.03-.2-.2-.34-.4-.34H8.4c-.2 0-.36.14-.39.34l-.3 2.12c-.49.2-.94.47-1.35.78l-1.99-.8c-.18-.07-.39 0-.49.18l-1.6 2.77c-.1.18-.06.39.1.51l1.69 1.32c-.04.25-.07.52-.07.78s.02.53.06.78L2.37 12.1c-.15.12-.19.34-.1.51l1.6 2.77c.1.18.31.24.49.18l1.99-.8c.42.32.86.58 1.35.78l.3 2.12c.04.2.2.34.4.34h3.2c.2 0 .37-.14.39-.34l.3-2.12c.49-.2.94-.47 1.35-.78l1.99.8c.18.07.39 0 .49-.18l1.6-2.77c.1-.18.06-.39-.1-.51l-1.67-1.32zM10 13c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z'/%3E%3C/svg%3E%0A");
  364. background-position: center;
  365. background-repeat: no-repeat;
  366. }
  367. .statsbtn {
  368. background-color: white;
  369. border: none;
  370. background-image: url("data:image/svg+xml,%3Csvg width='36' height='36' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h28v24H4V6zm0 8h28v8H4m9-16v24h10V5.8' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  371. background-position: center;
  372. background-repeat: no-repeat;
  373. }
  374. .iobtn {
  375. background-color: white;
  376. border: none;
  377. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M3 33v-7l6.8-7h16.5l6.7 7v7H3zM3.2 26H33M21 9l5-5.9 5 6h-2.5V15h-5V9H21zm-4.9 0l-5 6-5-6h2.5V3h5v6h2.5z'/%3E%3Cpath fill='none' stroke='%23000' d='M6.1 29.5H10'/%3E%3C/svg%3E");
  378. background-position: center;
  379. background-repeat: no-repeat;
  380. }
  381. .dark .statsbtn, .dark .savebtn, .dark .menubtn, .dark .iobtn {
  382. filter: invert(1);
  383. }
  384. .flexbox {
  385. display: flex;
  386. align-items: center;
  387. justify-content: space-between;
  388. width: 100%;
  389. }
  390. .savebtn {
  391. background-color: #d6d6d6;
  392. width: auto;
  393. height: 30px;
  394. flex-grow: 1;
  395. margin: 5px;
  396. border-radius: 4px;
  397. }
  398. .savebtn:active {
  399. background-color: #0a0;
  400. color: white;
  401. }
  402. .dark .savebtn:active {
  403. /* This will be inverted */
  404. background-color: #b3b;
  405. }
  406. .stats {
  407. border-collapse: collapse;
  408. font-size: 12pt;
  409. table-layout: fixed;
  410. width: 100%;
  411. min-width: 450px;
  412. }
  413. .dark .stats td {
  414. border: 1px solid #bbb;
  415. }
  416. .stats td {
  417. border: 1px solid black;
  418. padding: 5px;
  419. word-wrap: break-word;
  420. text-align: center;
  421. position: relative;
  422. }
  423. #checkbox-stats div {
  424. position: absolute;
  425. left: 0;
  426. top: 0;
  427. height: 100%;
  428. width: 100%;
  429. display: flex;
  430. align-items: center;
  431. justify-content: center;
  432. }
  433. #checkbox-stats .bar {
  434. background-color: rgba(28, 251, 0, 0.6);
  435. }
  436. .menu {
  437. position: relative;
  438. display: inline-block;
  439. margin: 10px 10px 10px 0px;
  440. }
  441. .menu-content {
  442. display: none;
  443. position: absolute;
  444. background-color: white;
  445. right: 0;
  446. min-width: 300px;
  447. box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  448. z-index: 100;
  449. padding: 8px;
  450. }
  451. .dark .menu-content {
  452. background-color: #111;
  453. }
  454. .menu:hover .menu-content {
  455. display: block;
  456. }
  457. .menu:hover .menubtn, .menu:hover .iobtn, .menu:hover .statsbtn {
  458. background-color: #eee;
  459. }
  460. .menu-label {
  461. display: inline-block;
  462. padding: 8px;
  463. border: 1px solid #ccc;
  464. border-top: 0;
  465. width: calc(100% - 18px);
  466. }
  467. .menu-label-top {
  468. border-top: 1px solid #ccc;
  469. }
  470. .menu-textbox {
  471. float: left;
  472. height: 24px;
  473. margin: 10px 5px;
  474. padding: 5px 5px;
  475. font-family: Consolas, "DejaVu Sans Mono", Monaco, monospace;
  476. font-size: 14px;
  477. box-sizing: border-box;
  478. border: 1px solid #888;
  479. border-radius: 4px;
  480. outline: none;
  481. background-color: #eee;
  482. transition: background-color 0.2s, border 0.2s;
  483. width: calc(100% - 10px);
  484. }
  485. .menu-textbox.invalid, .dark .menu-textbox.invalid {
  486. color: red;
  487. }
  488. .dark .menu-textbox {
  489. background-color: #222;
  490. color: #eee;
  491. }
  492. .radio-container {
  493. margin: 4px;
  494. }
  495. .topmostdiv {
  496. width: 100%;
  497. height: 100%;
  498. background-color: white;
  499. transition: background-color 0.3s;
  500. }
  501. #top {
  502. height: 78px;
  503. border-bottom: 2px solid black;
  504. }
  505. .dark #top {
  506. border-bottom: 2px solid #ccc;
  507. }
  508. #dbg {
  509. display: block;
  510. }
  511. ::-webkit-scrollbar {
  512. width: 8px;
  513. }
  514. ::-webkit-scrollbar-track {
  515. background: #aaa;
  516. }
  517. ::-webkit-scrollbar-thumb {
  518. background: #666;
  519. border-radius: 3px;
  520. }
  521. ::-webkit-scrollbar-thumb:hover {
  522. background: #555;
  523. }
  524. .slider {
  525. -webkit-appearance: none;
  526. width: 100%;
  527. margin: 3px 0;
  528. padding: 0;
  529. outline: none;
  530. opacity: 0.7;
  531. -webkit-transition: .2s;
  532. transition: opacity .2s;
  533. border-radius: 3px;
  534. }
  535. .slider:hover {
  536. opacity: 1;
  537. }
  538. .slider:focus {
  539. outline: none;
  540. }
  541. .slider::-webkit-slider-runnable-track {
  542. -webkit-appearance: none;
  543. width: 100%;
  544. height: 8px;
  545. background: #d3d3d3;
  546. border-radius: 3px;
  547. border: none;
  548. }
  549. .slider::-webkit-slider-thumb {
  550. -webkit-appearance: none;
  551. width: 15px;
  552. height: 15px;
  553. border-radius: 50%;
  554. background: #0a0;
  555. cursor: pointer;
  556. margin-top: -4px;
  557. }
  558. .dark .slider::-webkit-slider-thumb {
  559. background: #3d3;
  560. }
  561. .slider::-moz-range-thumb {
  562. width: 15px;
  563. height: 15px;
  564. border-radius: 50%;
  565. background: #0a0;
  566. cursor: pointer;
  567. }
  568. .slider::-moz-range-track {
  569. height: 8px;
  570. background: #d3d3d3;
  571. border-radius: 3px;
  572. }
  573. .dark .slider::-moz-range-thumb {
  574. background: #3d3;
  575. }
  576. .slider::-ms-track {
  577. width: 100%;
  578. height: 8px;
  579. border-width: 3px 0;
  580. background: transparent;
  581. border-color: transparent;
  582. color: transparent;
  583. transition: opacity .2s;
  584. }
  585. .slider::-ms-fill-lower {
  586. background: #d3d3d3;
  587. border: none;
  588. border-radius: 3px;
  589. }
  590. .slider::-ms-fill-upper {
  591. background: #d3d3d3;
  592. border: none;
  593. border-radius: 3px;
  594. }
  595. .slider::-ms-thumb {
  596. width: 15px;
  597. height: 15px;
  598. border-radius: 50%;
  599. background: #0a0;
  600. cursor: pointer;
  601. margin: 0;
  602. }
  603. .shameless-plug {
  604. font-size: 0.8em;
  605. text-align: center;
  606. display: block;
  607. }
  608. a {
  609. color: #0278a4;
  610. }
  611. .dark a {
  612. color: #00b9fd;
  613. }
  614. #frontcanvas, #backcanvas {
  615. touch-action: none;
  616. }
  617. </style>
  618. <script type="text/javascript" >
  619. ///////////////////////////////////////////////
  620. /*
  621. Split.js - v1.3.5
  622. MIT License
  623. https://github.com/nathancahill/Split.js
  624. */
  625. !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Split=t()}(this,function(){"use strict";var e=window,t=e.document,n="addEventListener",i="removeEventListener",r="getBoundingClientRect",s=function(){return!1},o=e.attachEvent&&!e[n],a=["","-webkit-","-moz-","-o-"].filter(function(e){var n=t.createElement("div");return n.style.cssText="width:"+e+"calc(9px)",!!n.style.length}).shift()+"calc",l=function(e){return"string"==typeof e||e instanceof String?t.querySelector(e):e};return function(u,c){function z(e,t,n){var i=A(y,t,n);Object.keys(i).forEach(function(t){return e.style[t]=i[t]})}function h(e,t){var n=B(y,t);Object.keys(n).forEach(function(t){return e.style[t]=n[t]})}function f(e){var t=E[this.a],n=E[this.b],i=t.size+n.size;t.size=e/this.size*i,n.size=i-e/this.size*i,z(t.element,t.size,this.aGutterSize),z(n.element,n.size,this.bGutterSize)}function m(e){var t;this.dragging&&((t="touches"in e?e.touches[0][b]-this.start:e[b]-this.start)<=E[this.a].minSize+M+this.aGutterSize?t=E[this.a].minSize+this.aGutterSize:t>=this.size-(E[this.b].minSize+M+this.bGutterSize)&&(t=this.size-(E[this.b].minSize+this.bGutterSize)),f.call(this,t),c.onDrag&&c.onDrag())}function g(){var e=E[this.a].element,t=E[this.b].element;this.size=e[r]()[y]+t[r]()[y]+this.aGutterSize+this.bGutterSize,this.start=e[r]()[G]}function d(){var t=this,n=E[t.a].element,r=E[t.b].element;t.dragging&&c.onDragEnd&&c.onDragEnd(),t.dragging=!1,e[i]("mouseup",t.stop),e[i]("touchend",t.stop),e[i]("touchcancel",t.stop),t.parent[i]("mousemove",t.move),t.parent[i]("touchmove",t.move),delete t.stop,delete t.move,n[i]("selectstart",s),n[i]("dragstart",s),r[i]("selectstart",s),r[i]("dragstart",s),n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",r.style.userSelect="",r.style.webkitUserSelect="",r.style.MozUserSelect="",r.style.pointerEvents="",t.gutter.style.cursor="",t.parent.style.cursor=""}function S(t){var i=this,r=E[i.a].element,o=E[i.b].element;!i.dragging&&c.onDragStart&&c.onDragStart(),t.preventDefault(),i.dragging=!0,i.move=m.bind(i),i.stop=d.bind(i),e[n]("mouseup",i.stop),e[n]("touchend",i.stop),e[n]("touchcancel",i.stop),i.parent[n]("mousemove",i.move),i.parent[n]("touchmove",i.move),r[n]("selectstart",s),r[n]("dragstart",s),o[n]("selectstart",s),o[n]("dragstart",s),r.style.userSelect="none",r.style.webkitUserSelect="none",r.style.MozUserSelect="none",r.style.pointerEvents="none",o.style.userSelect="none",o.style.webkitUserSelect="none",o.style.MozUserSelect="none",o.style.pointerEvents="none",i.gutter.style.cursor=j,i.parent.style.cursor=j,g.call(i)}function v(e){e.forEach(function(t,n){if(n>0){var i=F[n-1],r=E[i.a],s=E[i.b];r.size=e[n-1],s.size=t,z(r.element,r.size,i.aGutterSize),z(s.element,s.size,i.bGutterSize)}})}function p(){F.forEach(function(e){e.parent.removeChild(e.gutter),E[e.a].element.style[y]="",E[e.b].element.style[y]=""})}void 0===c&&(c={});var y,b,G,E,w=l(u[0]).parentNode,D=e.getComputedStyle(w).flexDirection,U=c.sizes||u.map(function(){return 100/u.length}),k=void 0!==c.minSize?c.minSize:100,x=Array.isArray(k)?k:u.map(function(){return k}),L=void 0!==c.gutterSize?c.gutterSize:10,M=void 0!==c.snapOffset?c.snapOffset:30,O=c.direction||"horizontal",j=c.cursor||("horizontal"===O?"ew-resize":"ns-resize"),C=c.gutter||function(e,n){var i=t.createElement("div");return i.className="gutter gutter-"+n,i},A=c.elementStyle||function(e,t,n){var i={};return"string"==typeof t||t instanceof String?i[e]=t:i[e]=o?t+"%":a+"("+t+"% - "+n+"px)",i},B=c.gutterStyle||function(e,t){return n={},n[e]=t+"px",n;var n};"horizontal"===O?(y="width","clientWidth",b="clientX",G="left","paddingLeft"):"vertical"===O&&(y="height","clientHeight",b="clientY",G="top","paddingTop");var F=[];return E=u.map(function(e,t){var i,s={element:l(e),size:U[t],minSize:x[t]};if(t>0&&(i={a:t-1,b:t,dragging:!1,isFirst:1===t,isLast:t===u.length-1,direction:O,parent:w},i.aGutterSize=L,i.bGutterSize=L,i.isFirst&&(i.aGutterSize=L/2),i.isLast&&(i.bGutterSize=L/2),"row-reverse"===D||"column-reverse"===D)){var a=i.a;i.a=i.b,i.b=a}if(!o&&t>0){var c=C(t,O);h(c,L),c[n]("mousedown",S.bind(i)),c[n]("touchstart",S.bind(i)),w.insertBefore(c,s.element),i.gutter=c}0===t||t===u.length-1?z(s.element,s.size,L/2):z(s.element,s.size,L);var f=s.element[r]()[y];return f<s.minSize&&(s.minSize=f),t>0&&F.push(i),s}),o?{setSizes:v,destroy:p}:{setSizes:v,getSizes:function(){return E.map(function(e){return e.size})},collapse:function(e){if(e===F.length){var t=F[e-1];g.call(t),o||f.call(t,t.size-t.bGutterSize)}else{var n=F[e];g.call(n),o||f.call(n,n.aGutterSize)}},destroy:p}}});
  626. ///////////////////////////////////////////////
  627. ///////////////////////////////////////////////
  628. // Copyright (c) 2013 Pieroxy <pieroxy@pieroxy.net>
  629. // This work is free. You can redistribute it and/or modify it
  630. // under the terms of the WTFPL, Version 2
  631. // For more information see LICENSE.txt or http://www.wtfpl.net/
  632. //
  633. // For more information, the home page:
  634. // http://pieroxy.net/blog/pages/lz-string/testing.html
  635. //
  636. // LZ-based compression algorithm, version 1.4.4
  637. var LZString=function(){var o=String.fromCharCode,i={};var n={decompressFromBase64:function(o){return null==o?"":""==o?null:n._decompress(o.length,32,function(n){return function(o,n){if(!i[o]){i[o]={};for(var t=0;t<o.length;t++)i[o][o.charAt(t)]=t}return i[o][n]}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o.charAt(n))})},_decompress:function(i,n,t){var r,e,a,s,p,u,l,f=[],c=4,d=4,h=3,v="",g=[],m={val:t(0),position:n,index:1};for(r=0;r<3;r+=1)f[r]=r;for(a=0,p=Math.pow(2,2),u=1;u!=p;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=t(m.index++)),a|=(s>0?1:0)*u,u<<=1;switch(a){case 0:for(a=0,p=Math.pow(2,8),u=1;u!=p;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=t(m.index++)),a|=(s>0?1:0)*u,u<<=1;l=o(a);break;case 1:for(a=0,p=Math.pow(2,16),u=1;u!=p;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=t(m.index++)),a|=(s>0?1:0)*u,u<<=1;l=o(a);break;case 2:return""}for(f[3]=l,e=l,g.push(l);;){if(m.index>i)return"";for(a=0,p=Math.pow(2,h),u=1;u!=p;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=t(m.index++)),a|=(s>0?1:0)*u,u<<=1;switch(l=a){case 0:for(a=0,p=Math.pow(2,8),u=1;u!=p;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=t(m.index++)),a|=(s>0?1:0)*u,u<<=1;f[d++]=o(a),l=d-1,c--;break;case 1:for(a=0,p=Math.pow(2,16),u=1;u!=p;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=t(m.index++)),a|=(s>0?1:0)*u,u<<=1;f[d++]=o(a),l=d-1,c--;break;case 2:return g.join("")}if(0==c&&(c=Math.pow(2,h),h++),f[l])v=f[l];else{if(l!==d)return null;v=e+e.charAt(0)}g.push(v),f[d++]=e+v.charAt(0),e=v,0==--c&&(c=Math.pow(2,h),h++)}}};return n}();"function"==typeof define&&define.amd?define(function(){return LZString}):"undefined"!=typeof module&&null!=module?module.exports=LZString:"undefined"!=typeof angular&&null!=angular&&angular.module("LZString",[]).factory("LZString",function(){return LZString});
  638. ///////////////////////////////////////////////
  639. ///////////////////////////////////////////////
  640. /*!
  641. * PEP v0.4.3 | https://github.com/jquery/PEP
  642. * Copyright jQuery Foundation and other contributors | http://jquery.org/license
  643. */
  644. !function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.PointerEventsPolyfill=b()}(this,function(){"use strict";function a(a,b){b=b||Object.create(null);var c=document.createEvent("Event");c.initEvent(a,b.bubbles||!1,b.cancelable||!1);
  645. for(var d,e=2;e<m.length;e++)d=m[e],c[d]=b[d]||n[e];c.buttons=b.buttons||0;
  646. var f=0;return f=b.pressure&&c.buttons?b.pressure:c.buttons?.5:0,c.x=c.clientX,c.y=c.clientY,c.pointerId=b.pointerId||0,c.width=b.width||0,c.height=b.height||0,c.pressure=f,c.tiltX=b.tiltX||0,c.tiltY=b.tiltY||0,c.twist=b.twist||0,c.tangentialPressure=b.tangentialPressure||0,c.pointerType=b.pointerType||"",c.hwTimestamp=b.hwTimestamp||0,c.isPrimary=b.isPrimary||!1,c}function b(){this.array=[],this.size=0}function c(a,b,c,d){this.addCallback=a.bind(d),this.removeCallback=b.bind(d),this.changedCallback=c.bind(d),A&&(this.observer=new A(this.mutationWatcher.bind(this)))}function d(a){return"body /shadow-deep/ "+e(a)}function e(a){return'[touch-action="'+a+'"]'}function f(a){return"{ -ms-touch-action: "+a+"; touch-action: "+a+"; }"}function g(){if(F){D.forEach(function(a){String(a)===a?(E+=e(a)+f(a)+"\n",G&&(E+=d(a)+f(a)+"\n")):(E+=a.selectors.map(e)+f(a.rule)+"\n",G&&(E+=a.selectors.map(d)+f(a.rule)+"\n"))});var a=document.createElement("style");a.textContent=E,document.head.appendChild(a)}}function h(){if(!window.PointerEvent){if(window.PointerEvent=a,window.navigator.msPointerEnabled){var b=window.navigator.msMaxTouchPoints;Object.defineProperty(window.navigator,"maxTouchPoints",{value:b,enumerable:!0}),u.registerSource("ms",_)}else Object.defineProperty(window.navigator,"maxTouchPoints",{value:0,enumerable:!0}),u.registerSource("mouse",N),void 0!==window.ontouchstart&&u.registerSource("touch",V);u.register(document)}}function i(a){if(!u.pointermap.has(a)){var b=new Error("InvalidPointerId");throw b.name="InvalidPointerId",b}}function j(a){for(var b=a.parentNode;b&&b!==a.ownerDocument;)b=b.parentNode;if(!b){var c=new Error("InvalidStateError");throw c.name="InvalidStateError",c}}function k(a){var b=u.pointermap.get(a);return 0!==b.buttons}function l(){window.Element&&!Element.prototype.setPointerCapture&&Object.defineProperties(Element.prototype,{setPointerCapture:{value:W},releasePointerCapture:{value:X},hasPointerCapture:{value:Y}})}
  647. var m=["bubbles","cancelable","view","detail","screenX","screenY","clientX","clientY","ctrlKey","altKey","shiftKey","metaKey","button","relatedTarget","pageX","pageY"],n=[!1,!1,null,null,0,0,0,0,!1,!1,!1,!1,0,null,0,0],o=window.Map&&window.Map.prototype.forEach,p=o?Map:b;b.prototype={set:function(a,b){return void 0===b?this["delete"](a):(this.has(a)||this.size++,void(this.array[a]=b))},has:function(a){return void 0!==this.array[a]},"delete":function(a){this.has(a)&&(delete this.array[a],this.size--)},get:function(a){return this.array[a]},clear:function(){this.array.length=0,this.size=0},forEach:function(a,b){return this.array.forEach(function(c,d){a.call(b,c,d,this)},this)}};var q=["bubbles","cancelable","view","detail","screenX","screenY","clientX","clientY","ctrlKey","altKey","shiftKey","metaKey","button","relatedTarget","buttons","pointerId","width","height","pressure","tiltX","tiltY","pointerType","hwTimestamp","isPrimary","type","target","currentTarget","which","pageX","pageY","timeStamp"],r=[!1,!1,null,null,0,0,0,0,!1,!1,!1,!1,0,null,0,0,0,0,0,0,0,"",0,!1,"",null,null,0,0,0,0],s={pointerover:1,pointerout:1,pointerenter:1,pointerleave:1},t="undefined"!=typeof SVGElementInstance,u={pointermap:new p,eventMap:Object.create(null),captureInfo:Object.create(null),eventSources:Object.create(null),eventSourceList:[],registerSource:function(a,b){var c=b,d=c.events;d&&(d.forEach(function(a){c[a]&&(this.eventMap[a]=c[a].bind(c))},this),this.eventSources[a]=c,this.eventSourceList.push(c))},register:function(a){for(var b,c=this.eventSourceList.length,d=0;d<c&&(b=this.eventSourceList[d]);d++)
  648. b.register.call(b,a)},unregister:function(a){for(var b,c=this.eventSourceList.length,d=0;d<c&&(b=this.eventSourceList[d]);d++)
  649. b.unregister.call(b,a)},contains:function(a,b){try{return a.contains(b)}catch(c){return!1}},down:function(a){a.bubbles=!0,this.fireEvent("pointerdown",a)},move:function(a){a.bubbles=!0,this.fireEvent("pointermove",a)},up:function(a){a.bubbles=!0,this.fireEvent("pointerup",a)},enter:function(a){a.bubbles=!1,this.fireEvent("pointerenter",a)},leave:function(a){a.bubbles=!1,this.fireEvent("pointerleave",a)},over:function(a){a.bubbles=!0,this.fireEvent("pointerover",a)},out:function(a){a.bubbles=!0,this.fireEvent("pointerout",a)},cancel:function(a){a.bubbles=!0,this.fireEvent("pointercancel",a)},leaveOut:function(a){this.out(a),this.propagate(a,this.leave,!1)},enterOver:function(a){this.over(a),this.propagate(a,this.enter,!0)},eventHandler:function(a){if(!a._handledByPE){var b=a.type,c=this.eventMap&&this.eventMap[b];c&&c(a),a._handledByPE=!0}},listen:function(a,b){b.forEach(function(b){this.addEvent(a,b)},this)},unlisten:function(a,b){b.forEach(function(b){this.removeEvent(a,b)},this)},addEvent:function(a,b){a.addEventListener(b,this.boundHandler)},removeEvent:function(a,b){a.removeEventListener(b,this.boundHandler)},makeEvent:function(b,c){this.captureInfo[c.pointerId]&&(c.relatedTarget=null);var d=new a(b,c);return c.preventDefault&&(d.preventDefault=c.preventDefault),d._target=d._target||c.target,d},fireEvent:function(a,b){var c=this.makeEvent(a,b);return this.dispatchEvent(c)},cloneEvent:function(a){for(var b,c=Object.create(null),d=0;d<q.length;d++)b=q[d],c[b]=a[b]||r[d],!t||"target"!==b&&"relatedTarget"!==b||c[b]instanceof SVGElementInstance&&(c[b]=c[b].correspondingUseElement);return a.preventDefault&&(c.preventDefault=function(){a.preventDefault()}),c},getTarget:function(a){var b=this.captureInfo[a.pointerId];return b?a._target!==b&&a.type in s?void 0:b:a._target},propagate:function(a,b,c){for(var d=a.target,e=[];d!==document&&!d.contains(a.relatedTarget);) if(e.push(d),d=d.parentNode,!d)return;c&&e.reverse(),e.forEach(function(c){a.target=c,b.call(this,a)},this)},setCapture:function(b,c,d){this.captureInfo[b]&&this.releaseCapture(b,d),this.captureInfo[b]=c,this.implicitRelease=this.releaseCapture.bind(this,b,d),document.addEventListener("pointerup",this.implicitRelease),document.addEventListener("pointercancel",this.implicitRelease);var e=new a("gotpointercapture");e.pointerId=b,e._target=c,d||this.asyncDispatchEvent(e)},releaseCapture:function(b,c){var d=this.captureInfo[b];if(d){this.captureInfo[b]=void 0,document.removeEventListener("pointerup",this.implicitRelease),document.removeEventListener("pointercancel",this.implicitRelease);var e=new a("lostpointercapture");e.pointerId=b,e._target=d,c||this.asyncDispatchEvent(e)}},dispatchEvent:/*scope.external.dispatchEvent || */function(a){var b=this.getTarget(a);if(b)return b.dispatchEvent(a)},asyncDispatchEvent:function(a){requestAnimationFrame(this.dispatchEvent.bind(this,a))}};u.boundHandler=u.eventHandler.bind(u);var v={shadow:function(a){if(a)return a.shadowRoot||a.webkitShadowRoot},canTarget:function(a){return a&&Boolean(a.elementFromPoint)},targetingShadow:function(a){var b=this.shadow(a);if(this.canTarget(b))return b},olderShadow:function(a){var b=a.olderShadowRoot;if(!b){var c=a.querySelector("shadow");c&&(b=c.olderShadowRoot)}return b},allShadows:function(a){for(var b=[],c=this.shadow(a);c;)b.push(c),c=this.olderShadow(c);return b},searchRoot:function(a,b,c){if(a){var d,e,f=a.elementFromPoint(b,c);for(e=this.targetingShadow(f);e;){if(d=e.elementFromPoint(b,c)){var g=this.targetingShadow(d);return this.searchRoot(g,b,c)||d} e=this.olderShadow(e)} return f}},owner:function(a){
  650. for(var b=a;b.parentNode;)b=b.parentNode;
  651. return b.nodeType!==Node.DOCUMENT_NODE&&b.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&(b=document),b},findTarget:function(a){var b=a.clientX,c=a.clientY,d=this.owner(a.target);
  652. return d.elementFromPoint(b,c)||(d=document),this.searchRoot(d,b,c)}},w=Array.prototype.forEach.call.bind(Array.prototype.forEach),x=Array.prototype.map.call.bind(Array.prototype.map),y=Array.prototype.slice.call.bind(Array.prototype.slice),z=Array.prototype.filter.call.bind(Array.prototype.filter),A=window.MutationObserver||window.WebKitMutationObserver,B="[touch-action]",C={subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0,attributeFilter:["touch-action"]};c.prototype={watchSubtree:function(a){
  653. //
  654. this.observer&&v.canTarget(a)&&this.observer.observe(a,C)},enableOnSubtree:function(a){this.watchSubtree(a),a===document&&"complete"!==document.readyState?this.installOnLoad():this.installNewSubtree(a)},installNewSubtree:function(a){w(this.findElements(a),this.addElement,this)},findElements:function(a){return a.querySelectorAll?a.querySelectorAll(B):[]},removeElement:function(a){this.removeCallback(a)},addElement:function(a){this.addCallback(a)},elementChanged:function(a,b){this.changedCallback(a,b)},concatLists:function(a,b){return a.concat(y(b))},
  655. installOnLoad:function(){document.addEventListener("readystatechange",function(){"complete"===document.readyState&&this.installNewSubtree(document)}.bind(this))},isElement:function(a){return a.nodeType===Node.ELEMENT_NODE},flattenMutationTree:function(a){
  656. var b=x(a,this.findElements,this);
  657. return b.push(z(a,this.isElement)),b.reduce(this.concatLists,[])},mutationWatcher:function(a){a.forEach(this.mutationHandler,this)},mutationHandler:function(a){if("childList"===a.type){var b=this.flattenMutationTree(a.addedNodes);b.forEach(this.addElement,this);var c=this.flattenMutationTree(a.removedNodes);c.forEach(this.removeElement,this)}else"attributes"===a.type&&this.elementChanged(a.target,a.oldValue)}};var D=["none","auto","pan-x","pan-y",{rule:"pan-x pan-y",selectors:["pan-x pan-y","pan-y pan-x"]}],E="",F=window.PointerEvent||window.MSPointerEvent,G=!window.ShadowDOMPolyfill&&document.head.createShadowRoot,H=u.pointermap,I=25,J=[1,4,2,8,16],K=!1;try{K=1===new MouseEvent("test",{buttons:1}).buttons}catch(L){}
  658. var M,N={POINTER_ID:1,POINTER_TYPE:"mouse",events:["mousedown","mousemove","mouseup","mouseover","mouseout"],register:function(a){u.listen(a,this.events)},unregister:function(a){u.unlisten(a,this.events)},lastTouches:[],
  659. isEventSimulatedFromTouch:function(a){for(var b,c=this.lastTouches,d=a.clientX,e=a.clientY,f=0,g=c.length;f<g&&(b=c[f]);f++){
  660. var h=Math.abs(d-b.x),i=Math.abs(e-b.y);if(h<=I&&i<=I)return!0}},prepareEvent:function(a){var b=u.cloneEvent(a),c=b.preventDefault;return b.preventDefault=function(){a.preventDefault(),c()},b.pointerId=this.POINTER_ID,b.isPrimary=!0,b.pointerType=this.POINTER_TYPE,b},prepareButtonsForMove:function(a,b){var c=H.get(this.POINTER_ID);
  661. 0!==b.which&&c?a.buttons=c.buttons:a.buttons=0,b.buttons=a.buttons},mousedown:function(a){if(!this.isEventSimulatedFromTouch(a)){var b=H.get(this.POINTER_ID),c=this.prepareEvent(a);K||(c.buttons=J[c.button],b&&(c.buttons|=b.buttons),a.buttons=c.buttons),H.set(this.POINTER_ID,a),b&&0!==b.buttons?u.move(c):u.down(c)}},mousemove:function(a){if(!this.isEventSimulatedFromTouch(a)){var b=this.prepareEvent(a);K||this.prepareButtonsForMove(b,a),b.button=-1,H.set(this.POINTER_ID,a),u.move(b)}},mouseup:function(a){if(!this.isEventSimulatedFromTouch(a)){var b=H.get(this.POINTER_ID),c=this.prepareEvent(a);if(!K){var d=J[c.button];
  662. c.buttons=b?b.buttons&~d:0,a.buttons=c.buttons}H.set(this.POINTER_ID,a),
  663. c.buttons&=~J[c.button],0===c.buttons?u.up(c):u.move(c)}},mouseover:function(a){if(!this.isEventSimulatedFromTouch(a)){var b=this.prepareEvent(a);K||this.prepareButtonsForMove(b,a),b.button=-1,H.set(this.POINTER_ID,a),u.enterOver(b)}},mouseout:function(a){if(!this.isEventSimulatedFromTouch(a)){var b=this.prepareEvent(a);K||this.prepareButtonsForMove(b,a),b.button=-1,u.leaveOut(b)}},cancel:function(a){var b=this.prepareEvent(a);u.cancel(b),this.deactivateMouse()},deactivateMouse:function(){H["delete"](this.POINTER_ID)}},O=u.captureInfo,P=v.findTarget.bind(v),Q=v.allShadows.bind(v),R=u.pointermap,S=2500,T=200,U="touch-action",V={events:["touchstart","touchmove","touchend","touchcancel"],register:function(a){M.enableOnSubtree(a)},unregister:function(){},elementAdded:function(a){var b=a.getAttribute(U),c=this.touchActionToScrollType(b);c&&(a._scrollType=c,u.listen(a,this.events),
  664. Q(a).forEach(function(a){a._scrollType=c,u.listen(a,this.events)},this))},elementRemoved:function(a){a._scrollType=void 0,u.unlisten(a,this.events),
  665. Q(a).forEach(function(a){a._scrollType=void 0,u.unlisten(a,this.events)},this)},elementChanged:function(a,b){var c=a.getAttribute(U),d=this.touchActionToScrollType(c),e=this.touchActionToScrollType(b);
  666. d&&e?(a._scrollType=d,Q(a).forEach(function(a){a._scrollType=d},this)):e?this.elementRemoved(a):d&&this.elementAdded(a)},scrollTypes:{EMITTER:"none",XSCROLLER:"pan-x",YSCROLLER:"pan-y",SCROLLER:/^(?:pan-x pan-y)|(?:pan-y pan-x)|auto$/},touchActionToScrollType:function(a){var b=a,c=this.scrollTypes;return"none"===b?"none":b===c.XSCROLLER?"X":b===c.YSCROLLER?"Y":c.SCROLLER.exec(b)?"XY":void 0},POINTER_TYPE:"touch",firstTouch:null,isPrimaryTouch:function(a){return this.firstTouch===a.identifier},setPrimaryTouch:function(a){
  667. (0===R.size||1===R.size&&R.has(1))&&(this.firstTouch=a.identifier,this.firstXY={X:a.clientX,Y:a.clientY},this.scrolling=!1,this.cancelResetClickCount())},removePrimaryPointer:function(a){a.isPrimary&&(this.firstTouch=null,this.firstXY=null,this.resetClickCount())},clickCount:0,resetId:null,resetClickCount:function(){var a=function(){this.clickCount=0,this.resetId=null}.bind(this);this.resetId=setTimeout(a,T)},cancelResetClickCount:function(){this.resetId&&clearTimeout(this.resetId)},typeToButtons:function(a){var b=0;return"touchstart"!==a&&"touchmove"!==a||(b=1),b},touchToPointer:function(a){var b=this.currentTouchEvent,c=u.cloneEvent(a),d=c.pointerId=a.identifier+2;c.target=O[d]||P(c),c.bubbles=!0,c.cancelable=!0,c.detail=this.clickCount,c.button=0,c.buttons=this.typeToButtons(b.type),c.width=2*(a.radiusX||a.webkitRadiusX||0),c.height=2*(a.radiusY||a.webkitRadiusY||0),c.pressure=a.force||a.webkitForce||.5,c.isPrimary=this.isPrimaryTouch(a),c.pointerType=this.POINTER_TYPE,
  668. c.altKey=b.altKey,c.ctrlKey=b.ctrlKey,c.metaKey=b.metaKey,c.shiftKey=b.shiftKey;
  669. var e=this;return c.preventDefault=function(){e.scrolling=!1,e.firstXY=null,b.preventDefault()},c},processTouches:function(a,b){var c=a.changedTouches;this.currentTouchEvent=a;for(var d,e=0;e<c.length;e++)d=c[e],b.call(this,this.touchToPointer(d))},
  670. shouldScroll:function(a){if(this.firstXY){var b,c=a.currentTarget._scrollType;if("none"===c)
  671. b=!1;else if("XY"===c)
  672. b=!0;else{var d=a.changedTouches[0],e=c,f="Y"===c?"X":"Y",g=Math.abs(d["client"+e]-this.firstXY[e]),h=Math.abs(d["client"+f]-this.firstXY[f]);
  673. b=g>=h}return this.firstXY=null,b}},findTouch:function(a,b){for(var c,d=0,e=a.length;d<e&&(c=a[d]);d++)if(c.identifier===b)return!0},
  674. vacuumTouches:function(a){var b=a.touches;
  675. if(R.size>=b.length){var c=[];R.forEach(function(a,d){
  676. if(1!==d&&!this.findTouch(b,d-2)){var e=a.out;c.push(e)}},this),c.forEach(this.cancelOut,this)}},touchstart:function(a){this.vacuumTouches(a),this.setPrimaryTouch(a.changedTouches[0]),this.dedupSynthMouse(a),this.scrolling||(this.clickCount++,this.processTouches(a,this.overDown))},overDown:function(a){R.set(a.pointerId,{target:a.target,out:a,outTarget:a.target}),u.enterOver(a),u.down(a)},touchmove:function(a){this.scrolling||(this.shouldScroll(a)?(this.scrolling=!0,this.touchcancel(a)):(a.preventDefault(),this.processTouches(a,this.moveOverOut)))},moveOverOut:function(a){var b=a,c=R.get(b.pointerId);
  677. if(c){var d=c.out,e=c.outTarget;u.move(b),d&&e!==b.target&&(d.relatedTarget=b.target,b.relatedTarget=e,
  678. d.target=e,b.target?(u.leaveOut(d),u.enterOver(b)):(
  679. b.target=e,b.relatedTarget=null,this.cancelOut(b))),c.out=b,c.outTarget=b.target}},touchend:function(a){this.dedupSynthMouse(a),this.processTouches(a,this.upOut)},upOut:function(a){this.scrolling||(u.up(a),u.leaveOut(a)),this.cleanUpPointer(a)},touchcancel:function(a){this.processTouches(a,this.cancelOut)},cancelOut:function(a){u.cancel(a),u.leaveOut(a),this.cleanUpPointer(a)},cleanUpPointer:function(a){R["delete"](a.pointerId),this.removePrimaryPointer(a)},
  680. dedupSynthMouse:function(a){var b=N.lastTouches,c=a.changedTouches[0];
  681. if(this.isPrimaryTouch(c)){
  682. var d={x:c.clientX,y:c.clientY};b.push(d);var e=function(a,b){var c=a.indexOf(b);c>-1&&a.splice(c,1)}.bind(null,b,d);setTimeout(e,S)}}};M=new c(V.elementAdded,V.elementRemoved,V.elementChanged,V);var W,X,Y,Z=u.pointermap,$=window.MSPointerEvent&&"number"==typeof window.MSPointerEvent.MSPOINTER_TYPE_MOUSE,_={events:["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerOut","MSPointerOver","MSPointerCancel","MSGotPointerCapture","MSLostPointerCapture"],register:function(a){u.listen(a,this.events)},unregister:function(a){u.unlisten(a,this.events)},POINTER_TYPES:["","unavailable","touch","pen","mouse"],prepareEvent:function(a){var b=a;return $&&(b=u.cloneEvent(a),b.pointerType=this.POINTER_TYPES[a.pointerType]),b},cleanup:function(a){Z["delete"](a)},MSPointerDown:function(a){Z.set(a.pointerId,a);var b=this.prepareEvent(a);u.down(b)},MSPointerMove:function(a){var b=this.prepareEvent(a);u.move(b)},MSPointerUp:function(a){var b=this.prepareEvent(a);u.up(b),this.cleanup(a.pointerId)},MSPointerOut:function(a){var b=this.prepareEvent(a);u.leaveOut(b)},MSPointerOver:function(a){var b=this.prepareEvent(a);u.enterOver(b)},MSPointerCancel:function(a){var b=this.prepareEvent(a);u.cancel(b),this.cleanup(a.pointerId)},MSLostPointerCapture:function(a){var b=u.makeEvent("lostpointercapture",a);u.dispatchEvent(b)},MSGotPointerCapture:function(a){var b=u.makeEvent("gotpointercapture",a);u.dispatchEvent(b)}},aa=window.navigator;aa.msPointerEnabled?(W=function(a){i(a),j(this),k(a)&&(u.setCapture(a,this,!0),this.msSetPointerCapture(a))},X=function(a){i(a),u.releaseCapture(a,!0),this.msReleasePointerCapture(a)}):(W=function(a){i(a),j(this),k(a)&&u.setCapture(a,this)},X=function(a){i(a),u.releaseCapture(a)}),Y=function(a){return!!u.captureInfo[a]},g(),h(),l();var ba={dispatcher:u,Installer:c,PointerEvent:a,PointerMap:p,targetFinding:v};return ba});
  683. ///////////////////////////////////////////////
  684. ///////////////////////////////////////////////
  685. var config = {"show_fabrication": false, "redraw_on_drag": true, "highlight_pin1": false, "extra_fields": ["LCSC"], "dark_mode": true, "bom_view": "left-right", "board_rotation": 0, "checkboxes": "Sourced,Placed", "show_silkscreen": true, "show_pads": true, "layer_view": "FB"}
  686. ///////////////////////////////////////////////
  687. ///////////////////////////////////////////////
  688. var pcbdata = JSON.parse(LZString.decompressFromBase64("N4IglgRg9gtg+gNwKYCcDOYoDsQC4AEICATAHQDMIANIQGZRQAuADimFo2nvgNqjMBDACZcCPALo0QKJLW4gA8gGUA6gAkAjNUIRoAD26gZAG2ZRRvALTkKABgDst8vZqWyATgCsxABw+ALJKEAlgA5sZI3MSOpLZSZhY8AGxJpJ40Pu6xQSAYAF6RYqlJ5MSe9kk0nqTu5OTlPuIAvlLGAgCeqPIAQtogQigCAO7soYnNNPzCiaBtnejcPCC9OSHhhfiWtrHx5oue1f40ST6kxDloABYCzBvSUACuWANIAMaMfYNCYA8W28T+dxA9xSKC0WhoJAfMTbOL4WE5ZjsLQEDRSRjtW7yNAwIR9fIbHgaCg0Yn2TwTfCzDqoRLLECrMIRbhbHaEBL7U7pfAnM4Xa5Ygj3J4vd6fYQ/P5nQHA0HgyHQ3iwmgI9GYu44vFSAmLYnkUmkcnNH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FsBPSs5BRIBoBcAAGBcAA4A+gKgUpdyEBcaq0l0QGABGAA+BpAKEAIAHAAUCkIA4AEiBrgA1Q+amAAMAPlghQCAkmgEAAAA="))
  689. ///////////////////////////////////////////////
  690. ///////////////////////////////////////////////
  691. /* Utility functions */
  692. var storagePrefix = 'KiCad_HTML_BOM__' + pcbdata.metadata.title + '__' +
  693. pcbdata.metadata.revision + '__#';
  694. var storage;
  695. function initStorage(key) {
  696. try {
  697. window.localStorage.getItem("blank");
  698. storage = window.localStorage;
  699. } catch (e) {
  700. // localStorage not available
  701. }
  702. if (!storage) {
  703. try {
  704. window.sessionStorage.getItem("blank");
  705. storage = window.sessionStorage;
  706. } catch (e) {
  707. // sessionStorage also not available
  708. }
  709. }
  710. }
  711. function readStorage(key) {
  712. if (storage) {
  713. return storage.getItem(storagePrefix + key);
  714. } else {
  715. return null;
  716. }
  717. }
  718. function writeStorage(key, value) {
  719. if (storage) {
  720. storage.setItem(storagePrefix + key, value);
  721. }
  722. }
  723. function fancyDblClickHandler(el, onsingle, ondouble) {
  724. return function() {
  725. if (el.getAttribute("data-dblclick") == null) {
  726. el.setAttribute("data-dblclick", 1);
  727. setTimeout(function() {
  728. if (el.getAttribute("data-dblclick") == 1) {
  729. onsingle();
  730. }
  731. el.removeAttribute("data-dblclick");
  732. }, 200);
  733. } else {
  734. el.removeAttribute("data-dblclick");
  735. ondouble();
  736. }
  737. }
  738. }
  739. function smoothScrollToRow(rowid) {
  740. document.getElementById(rowid).scrollIntoView({
  741. behavior: "smooth",
  742. block: "center",
  743. inline: "nearest"
  744. });
  745. }
  746. function focusInputField(input) {
  747. input.scrollIntoView(false);
  748. input.focus();
  749. input.select();
  750. }
  751. function copyToClipboard() {
  752. var text = '';
  753. for (var node of bomhead.childNodes[0].childNodes) {
  754. if (node.firstChild) {
  755. text = text + node.firstChild.nodeValue;
  756. }
  757. if (node != bomhead.childNodes[0].lastChild) {
  758. text += '\t';
  759. }
  760. }
  761. text += '\n';
  762. for (var row of bombody.childNodes) {
  763. for (var cell of row.childNodes) {
  764. for (var node of cell.childNodes) {
  765. if (node.nodeName == "INPUT") {
  766. if (node.checked) {
  767. text = text + '✓';
  768. }
  769. } else if (node.nodeName == "MARK") {
  770. text = text + node.firstChild.nodeValue;
  771. } else {
  772. text = text + node.nodeValue;
  773. }
  774. }
  775. if (cell != row.lastChild) {
  776. text += '\t';
  777. }
  778. }
  779. text += '\n';
  780. }
  781. var textArea = document.createElement("textarea");
  782. textArea.classList.add('clipboard-temp');
  783. textArea.value = text;
  784. document.body.appendChild(textArea);
  785. textArea.focus();
  786. textArea.select();
  787. try {
  788. if (document.execCommand('copy')) {
  789. console.log('Bom copied to clipboard.');
  790. }
  791. } catch (err) {
  792. console.log('Can not copy to clipboard.');
  793. }
  794. document.body.removeChild(textArea);
  795. }
  796. function removeGutterNode(node) {
  797. for (var i = 0; i < node.childNodes.length; i++) {
  798. if (node.childNodes[i].classList &&
  799. node.childNodes[i].classList.contains("gutter")) {
  800. node.removeChild(node.childNodes[i]);
  801. break;
  802. }
  803. }
  804. }
  805. function cleanGutters() {
  806. removeGutterNode(document.getElementById("bot"));
  807. removeGutterNode(document.getElementById("canvasdiv"));
  808. }
  809. var units = {
  810. prefixes: {
  811. giga: ["G", "g", "giga", "Giga", "GIGA"],
  812. mega: ["M", "mega", "Mega", "MEGA"],
  813. kilo: ["K", "k", "kilo", "Kilo", "KILO"],
  814. milli: ["m", "milli", "Milli", "MILLI"],
  815. micro: ["U", "u", "micro", "Micro", "MICRO", "μ", "µ"], // different utf8 μ
  816. nano: ["N", "n", "nano", "Nano", "NANO"],
  817. pico: ["P", "p", "pico", "Pico", "PICO"],
  818. },
  819. unitsShort: ["R", "r", "Ω", "F", "f", "H", "h"],
  820. unitsLong: [
  821. "OHM", "Ohm", "ohm", "ohms",
  822. "FARAD", "Farad", "farad",
  823. "HENRY", "Henry", "henry"
  824. ],
  825. getMultiplier: function(s) {
  826. if (this.prefixes.giga.includes(s)) return 1e9;
  827. if (this.prefixes.mega.includes(s)) return 1e6;
  828. if (this.prefixes.kilo.includes(s)) return 1e3;
  829. if (this.prefixes.milli.includes(s)) return 1e-3;
  830. if (this.prefixes.micro.includes(s)) return 1e-6;
  831. if (this.prefixes.nano.includes(s)) return 1e-9;
  832. if (this.prefixes.pico.includes(s)) return 1e-12;
  833. return 1;
  834. },
  835. valueRegex: null,
  836. }
  837. function initUtils() {
  838. var allPrefixes = units.prefixes.giga
  839. .concat(units.prefixes.mega)
  840. .concat(units.prefixes.kilo)
  841. .concat(units.prefixes.milli)
  842. .concat(units.prefixes.micro)
  843. .concat(units.prefixes.nano)
  844. .concat(units.prefixes.pico);
  845. var allUnits = units.unitsShort.concat(units.unitsLong);
  846. units.valueRegex = new RegExp("^([0-9\.]+)" +
  847. "\\s*(" + allPrefixes.join("|") + ")?" +
  848. "(" + allUnits.join("|") + ")?" +
  849. "(\\b.*)?$", "");
  850. units.valueAltRegex = new RegExp("^([0-9]*)" +
  851. "(" + units.unitsShort.join("|") + ")?" +
  852. "([GgMmKkUuNnPp])?" +
  853. "([0-9]*)" +
  854. "(\\b.*)?$", "");
  855. for (var bom_type of ["both", "F", "B"]) {
  856. for (var row of pcbdata.bom[bom_type]) {
  857. row.push(parseValue(row[1], row[3][0][0]));
  858. }
  859. }
  860. }
  861. function parseValue(val, ref) {
  862. var inferUnit = (unit, ref) => {
  863. if (unit) {
  864. unit = unit.toLowerCase();
  865. if (unit == 'Ω' || unit == "ohm" || unit == "ohms") {
  866. unit = 'r';
  867. }
  868. unit = unit[0];
  869. } else {
  870. ref = /^([a-z]+)\d+$/i.exec(ref);
  871. if (ref) {
  872. ref = ref[1].toLowerCase();
  873. if (ref == "c") unit = 'f';
  874. else if (ref == "l") unit = 'h';
  875. else if (ref == "r" || ref == "rv") unit = 'r';
  876. else unit = null;
  877. }
  878. }
  879. return unit;
  880. };
  881. val = val.replace(/,/g, "");
  882. var match = units.valueRegex.exec(val);
  883. var unit;
  884. if (match) {
  885. val = parseFloat(match[1]);
  886. if (match[2]) {
  887. val = val * units.getMultiplier(match[2]);
  888. }
  889. unit = inferUnit(match[3], ref);
  890. if (!unit) return null;
  891. else return {
  892. val: val,
  893. unit: unit,
  894. extra: match[4],
  895. }
  896. }
  897. match = units.valueAltRegex.exec(val);
  898. if (match && (match[1] || match[4])) {
  899. val = parseFloat(match[1] + "." + match[4]);
  900. if (match[3]) {
  901. val = val * units.getMultiplier(match[3]);
  902. }
  903. unit = inferUnit(match[2], ref);
  904. if (!unit) return null;
  905. else return {
  906. val: val,
  907. unit: unit,
  908. extra: match[5],
  909. }
  910. }
  911. return null;
  912. }
  913. function valueCompare(a, b, stra, strb) {
  914. if (a === null && b === null) {
  915. // Failed to parse both values, compare them as strings.
  916. if (stra != strb) return stra > strb ? 1 : -1;
  917. else return 0;
  918. } else if (a === null) {
  919. return 1;
  920. } else if (b === null) {
  921. return -1;
  922. } else {
  923. if (a.unit != b.unit) return a.unit > b.unit ? 1 : -1;
  924. else if (a.val != b.val) return a.val > b.val ? 1 : -1;
  925. else if (a.extra != b.extra) return a.extra > b.extra ? 1 : -1;
  926. else return 0;
  927. }
  928. }
  929. function validateSaveImgDimension(element) {
  930. var valid = false;
  931. var intValue = 0;
  932. if (/^[1-9]\d*$/.test(element.value)) {
  933. intValue = parseInt(element.value);
  934. if (intValue <= 16000) {
  935. valid = true;
  936. }
  937. }
  938. if (valid) {
  939. element.classList.remove("invalid");
  940. } else {
  941. element.classList.add("invalid");
  942. }
  943. return intValue;
  944. }
  945. function saveImage(layer) {
  946. var width = validateSaveImgDimension(document.getElementById("render-save-width"));
  947. var height = validateSaveImgDimension(document.getElementById("render-save-height"));
  948. var bgcolor = null;
  949. if (!document.getElementById("render-save-transparent").checked) {
  950. var style = getComputedStyle(topmostdiv);
  951. bgcolor = style.getPropertyValue("background-color");
  952. }
  953. if (!width || !height) return;
  954. // Prepare image
  955. var canvas = document.createElement("canvas");
  956. var layerdict = {
  957. transform: {
  958. x: 0,
  959. y: 0,
  960. s: 1,
  961. panx: 0,
  962. pany: 0,
  963. zoom: 1,
  964. },
  965. bg: canvas,
  966. fab: canvas,
  967. silk: canvas,
  968. highlight: canvas,
  969. layer: layer,
  970. }
  971. // Do the rendering
  972. recalcLayerScale(layerdict, width, height);
  973. prepareLayer(layerdict);
  974. clearCanvas(canvas, bgcolor);
  975. drawBackground(layerdict, false);
  976. drawHighlightsOnLayer(layerdict, false);
  977. // Save image
  978. var imgdata = canvas.toDataURL("image/png");
  979. var filename = pcbdata.metadata.title;
  980. if (pcbdata.metadata.revision) {
  981. filename += `.${pcbdata.metadata.revision}`;
  982. }
  983. filename += `.${layer}.png`;
  984. saveFile(filename, dataURLtoBlob(imgdata));
  985. }
  986. function saveSettings() {
  987. var data = {
  988. type: "InteractiveHtmlBom settings",
  989. version: 1,
  990. pcbmetadata: pcbdata.metadata,
  991. settings: settings,
  992. }
  993. var blob = new Blob([JSON.stringify(data, null, 4)], {type: "application/json"});
  994. saveFile(`${pcbdata.metadata.title}.settings.json`, blob);
  995. }
  996. function loadSettings() {
  997. var input = document.createElement("input");
  998. input.type = "file";
  999. input.accept = ".settings.json";
  1000. input.onchange = function(e) {
  1001. var file = e.target.files[0];
  1002. var reader = new FileReader();
  1003. reader.onload = readerEvent => {
  1004. var content = readerEvent.target.result;
  1005. var newSettings;
  1006. try {
  1007. newSettings = JSON.parse(content);
  1008. } catch(e) {
  1009. alert("Selected file is not InteractiveHtmlBom settings file.");
  1010. return;
  1011. }
  1012. if (newSettings.type != "InteractiveHtmlBom settings") {
  1013. alert("Selected file is not InteractiveHtmlBom settings file.");
  1014. return;
  1015. }
  1016. var metadataMatches = newSettings.hasOwnProperty("pcbmetadata");
  1017. if (metadataMatches) {
  1018. for (var k in pcbdata.metadata) {
  1019. if (!newSettings.pcbmetadata.hasOwnProperty(k) || newSettings.pcbmetadata[k] != pcbdata.metadata[k]) {
  1020. metadataMatches = false;
  1021. }
  1022. }
  1023. }
  1024. if (!metadataMatches) {
  1025. var currentMetadata = JSON.stringify(pcbdata.metadata, null, 4);
  1026. var fileMetadata = JSON.stringify(newSettings.pcbmetadata, null, 4);
  1027. if (!confirm(
  1028. `Settins file metadata does not match current metadata.\n\n` +
  1029. `Page metadata:\n${currentMetadata}\n\n` +
  1030. `Settings file metadata:\n${fileMetadata}\n\n` +
  1031. `Press OK if you would like to import settings anyway.`)) {
  1032. return;
  1033. }
  1034. }
  1035. overwriteSettings(newSettings.settings);
  1036. }
  1037. reader.readAsText(file, 'UTF-8');
  1038. }
  1039. input.click();
  1040. }
  1041. function overwriteSettings(newSettings) {
  1042. initDone = false;
  1043. Object.assign(settings, newSettings);
  1044. writeStorage("bomlayout", settings.bomlayout);
  1045. writeStorage("bommode", settings.bommode);
  1046. writeStorage("canvaslayout", settings.canvaslayout);
  1047. writeStorage("bomCheckboxes", settings.checkboxes.join(","));
  1048. document.getElementById("bomCheckboxes").value = settings.checkboxes.join(",");
  1049. for (var checkbox of settings.checkboxes) {
  1050. writeStorage("checkbox_" + checkbox, settings.checkboxStoredRefs[checkbox]);
  1051. }
  1052. writeStorage("darkenWhenChecked", settings.darkenWhenChecked);
  1053. padsVisible(settings.renderPads);
  1054. document.getElementById("padsCheckbox").checked = settings.renderPads;
  1055. fabricationVisible(settings.renderFabrication);
  1056. document.getElementById("fabricationCheckbox").checked = settings.renderFabrication;
  1057. silkscreenVisible(settings.renderSilkscreen);
  1058. document.getElementById("silkscreenCheckbox").checked = settings.renderSilkscreen;
  1059. referencesVisible(settings.renderReferences);
  1060. document.getElementById("referencesCheckbox").checked = settings.renderReferences;
  1061. valuesVisible(settings.renderValues);
  1062. document.getElementById("valuesCheckbox").checked = settings.renderValues;
  1063. tracksVisible(settings.renderTracks);
  1064. document.getElementById("tracksCheckbox").checked = settings.renderTracks;
  1065. zonesVisible(settings.renderZones);
  1066. document.getElementById("zonesCheckbox").checked = settings.renderZones;
  1067. dnpOutline(settings.renderDnpOutline);
  1068. document.getElementById("dnpOutlineCheckbox").checked = settings.renderDnpOutline;
  1069. setRedrawOnDrag(settings.redrawOnDrag);
  1070. document.getElementById("dragCheckbox").checked = settings.redrawOnDrag;
  1071. setDarkMode(settings.darkMode);
  1072. document.getElementById("darkmodeCheckbox").checked = settings.darkMode;
  1073. setHighlightPin1(settings.highlightpin1);
  1074. document.getElementById("highlightpin1Checkbox").checked = settings.highlightpin1;
  1075. writeStorage("boardRotation", settings.boardRotation);
  1076. document.getElementById("boardRotation").value = settings.boardRotation / 5;
  1077. document.getElementById("rotationDegree").textContent = settings.boardRotation;
  1078. initDone = true;
  1079. prepCheckboxes();
  1080. changeBomLayout(settings.bomlayout);
  1081. }
  1082. function saveFile(filename, blob) {
  1083. var link = document.createElement("a");
  1084. var objurl = URL.createObjectURL(blob);
  1085. link.download = filename;
  1086. link.href = objurl;
  1087. link.click();
  1088. }
  1089. function dataURLtoBlob(dataurl) {
  1090. var arr = dataurl.split(','), mime = arr[0].match(/:(.*?);/)[1],
  1091. bstr = atob(arr[1]), n = bstr.length, u8arr = new Uint8Array(n);
  1092. while(n--){
  1093. u8arr[n] = bstr.charCodeAt(n);
  1094. }
  1095. return new Blob([u8arr], {type:mime});
  1096. }
  1097. var settings = {
  1098. canvaslayout: "default",
  1099. bomlayout: "default",
  1100. bommode: "grouped",
  1101. checkboxes: [],
  1102. checkboxStoredRefs: {},
  1103. darkMode: false,
  1104. highlightpin1: false,
  1105. redrawOnDrag: true,
  1106. boardRotation: 0,
  1107. renderPads: true,
  1108. renderReferences: true,
  1109. renderValues: true,
  1110. renderSilkscreen: true,
  1111. renderFabrication: true,
  1112. renderDnpOutline: false,
  1113. renderTracks: true,
  1114. renderZones: true,
  1115. }
  1116. function initDefaults() {
  1117. settings.bomlayout = readStorage("bomlayout");
  1118. if (settings.bomlayout === null) {
  1119. settings.bomlayout = config.bom_view;
  1120. }
  1121. if (!['bom-only', 'left-right', 'top-bottom'].includes(settings.bomlayout)) {
  1122. settings.bomlayout = config.bom_view;
  1123. }
  1124. settings.bommode = readStorage("bommode");
  1125. if (settings.bommode === null) {
  1126. settings.bommode = "grouped";
  1127. }
  1128. if (!["grouped", "ungrouped", "netlist"].includes(settings.bommode)) {
  1129. settings.bommode = "grouped";
  1130. }
  1131. settings.canvaslayout = readStorage("canvaslayout");
  1132. if (settings.canvaslayout === null) {
  1133. settings.canvaslayout = config.layer_view;
  1134. }
  1135. var bomCheckboxes = readStorage("bomCheckboxes");
  1136. if (bomCheckboxes === null) {
  1137. bomCheckboxes = config.checkboxes;
  1138. }
  1139. settings.checkboxes = bomCheckboxes.split(",").filter((e) => e);
  1140. document.getElementById("bomCheckboxes").value = bomCheckboxes;
  1141. settings.darkenWhenChecked = readStorage("darkenWhenChecked") || "";
  1142. populateDarkenWhenCheckedOptions();
  1143. function initBooleanSetting(storageString, def, elementId, func) {
  1144. var b = readStorage(storageString);
  1145. if (b === null) {
  1146. b = def;
  1147. } else {
  1148. b = (b == "true");
  1149. }
  1150. document.getElementById(elementId).checked = b;
  1151. func(b);
  1152. }
  1153. initBooleanSetting("padsVisible", config.show_pads, "padsCheckbox", padsVisible);
  1154. initBooleanSetting("fabricationVisible", config.show_fabrication, "fabricationCheckbox", fabricationVisible);
  1155. initBooleanSetting("silkscreenVisible", config.show_silkscreen, "silkscreenCheckbox", silkscreenVisible);
  1156. initBooleanSetting("referencesVisible", true, "referencesCheckbox", referencesVisible);
  1157. initBooleanSetting("valuesVisible", true, "valuesCheckbox", valuesVisible);
  1158. if ("tracks" in pcbdata) {
  1159. initBooleanSetting("tracksVisible", true, "tracksCheckbox", tracksVisible);
  1160. initBooleanSetting("zonesVisible", true, "zonesCheckbox", zonesVisible);
  1161. } else {
  1162. document.getElementById("tracksAndZonesCheckboxes").style.display = "none";
  1163. tracksVisible(false);
  1164. zonesVisible(false);
  1165. }
  1166. initBooleanSetting("dnpOutline", false, "dnpOutlineCheckbox", dnpOutline);
  1167. initBooleanSetting("redrawOnDrag", config.redraw_on_drag, "dragCheckbox", setRedrawOnDrag);
  1168. initBooleanSetting("darkmode", config.dark_mode, "darkmodeCheckbox", setDarkMode);
  1169. initBooleanSetting("highlightpin1", config.highlight_pin1, "highlightpin1Checkbox", setHighlightPin1);
  1170. settings.boardRotation = readStorage("boardRotation");
  1171. if (settings.boardRotation === null) {
  1172. settings.boardRotation = config.board_rotation * 5;
  1173. } else {
  1174. settings.boardRotation = parseInt(settings.boardRotation);
  1175. }
  1176. document.getElementById("boardRotation").value = settings.boardRotation / 5;
  1177. document.getElementById("rotationDegree").textContent = settings.boardRotation;
  1178. }
  1179. // Helper classes for user js callbacks.
  1180. const IBOM_EVENT_TYPES = {
  1181. ALL: "all",
  1182. HIGHLIGHT_EVENT: "highlightEvent",
  1183. CHECKBOX_CHANGE_EVENT: "checkboxChangeEvent",
  1184. BOM_BODY_CHANGE_EVENT: "bomBodyChangeEvent",
  1185. }
  1186. const EventHandler = {
  1187. callbacks: {},
  1188. init: function() {
  1189. for (eventType of Object.values(IBOM_EVENT_TYPES))
  1190. this.callbacks[eventType] = [];
  1191. },
  1192. registerCallback: function(eventType, callback) {
  1193. this.callbacks[eventType].push(callback);
  1194. },
  1195. emitEvent: function(eventType, eventArgs) {
  1196. event = {
  1197. eventType: eventType,
  1198. args: eventArgs,
  1199. }
  1200. var callback;
  1201. for(callback of this.callbacks[eventType])
  1202. callback(event);
  1203. for(callback of this.callbacks[IBOM_EVENT_TYPES.ALL])
  1204. callback(event);
  1205. }
  1206. }
  1207. EventHandler.init();
  1208. ///////////////////////////////////////////////
  1209. ///////////////////////////////////////////////
  1210. /* PCB rendering code */
  1211. var emptyContext2d = document.createElement("canvas").getContext("2d");
  1212. function deg2rad(deg) {
  1213. return deg * Math.PI / 180;
  1214. }
  1215. function calcFontPoint(linepoint, text, offsetx, offsety, tilt) {
  1216. var point = [
  1217. linepoint[0] * text.width + offsetx,
  1218. linepoint[1] * text.height + offsety
  1219. ];
  1220. // This approximates pcbnew behavior with how text tilts depending on horizontal justification
  1221. point[0] -= (linepoint[1] + 0.5 * (1 + text.justify[0])) * text.height * tilt;
  1222. return point;
  1223. }
  1224. function drawText(ctx, text, color) {
  1225. if ("ref" in text && !settings.renderReferences) return;
  1226. if ("val" in text && !settings.renderValues) return;
  1227. ctx.save();
  1228. ctx.fillStyle = color;
  1229. ctx.strokeStyle = color;
  1230. ctx.lineCap = "round";
  1231. ctx.lineJoin = "round";
  1232. ctx.lineWidth = text.thickness;
  1233. if ("svgpath" in text) {
  1234. ctx.stroke(new Path2D(text.svgpath));
  1235. ctx.restore();
  1236. return;
  1237. }
  1238. ctx.translate(...text.pos);
  1239. ctx.translate(text.thickness * 0.5, 0);
  1240. var angle = -text.angle;
  1241. if (text.attr.includes("mirrored")) {
  1242. ctx.scale(-1, 1);
  1243. angle = -angle;
  1244. }
  1245. var tilt = 0;
  1246. if (text.attr.includes("italic")) {
  1247. tilt = 0.125;
  1248. }
  1249. var interline = text.height * 1.5 + text.thickness;
  1250. var txt = text.text.split("\n");
  1251. // KiCad ignores last empty line.
  1252. if (txt[txt.length - 1] == '') txt.pop();
  1253. ctx.rotate(deg2rad(angle));
  1254. var offsety = (1 - text.justify[1]) / 2 * text.height; // One line offset
  1255. offsety -= (txt.length - 1) * (text.justify[1] + 1) / 2 * interline; // Multiline offset
  1256. for (var i in txt) {
  1257. var lineWidth = text.thickness + interline / 2 * tilt;
  1258. for (var j = 0; j < txt[i].length; j++) {
  1259. if (txt[i][j] == '\t') {
  1260. var fourSpaces = 4 * pcbdata.font_data[' '].w * text.width;
  1261. lineWidth += fourSpaces - lineWidth % fourSpaces;
  1262. } else {
  1263. if (txt[i][j] == '~') {
  1264. j++;
  1265. if (j == txt[i].length)
  1266. break;
  1267. }
  1268. lineWidth += pcbdata.font_data[txt[i][j]].w * text.width;
  1269. }
  1270. }
  1271. var offsetx = -lineWidth * (text.justify[0] + 1) / 2;
  1272. var inOverbar = false;
  1273. for (var j = 0; j < txt[i].length; j++) {
  1274. if (txt[i][j] == '\t') {
  1275. var fourSpaces = 4 * pcbdata.font_data[' '].w * text.width;
  1276. offsetx += fourSpaces - offsetx % fourSpaces;
  1277. continue;
  1278. } else if (txt[i][j] == '~') {
  1279. j++;
  1280. if (j == txt[i].length)
  1281. break;
  1282. if (txt[i][j] != '~') {
  1283. inOverbar = !inOverbar;
  1284. }
  1285. }
  1286. var glyph = pcbdata.font_data[txt[i][j]];
  1287. if (inOverbar) {
  1288. var overbarStart = [offsetx, -text.height * 1.4 + offsety];
  1289. var overbarEnd = [offsetx + text.width * glyph.w, overbarStart[1]];
  1290. if (!lastHadOverbar) {
  1291. overbarStart[0] += text.height * 1.4 * tilt;
  1292. lastHadOverbar = true;
  1293. }
  1294. ctx.beginPath();
  1295. ctx.moveTo(...overbarStart);
  1296. ctx.lineTo(...overbarEnd);
  1297. ctx.stroke();
  1298. } else {
  1299. lastHadOverbar = false;
  1300. }
  1301. for (var line of glyph.l) {
  1302. ctx.beginPath();
  1303. ctx.moveTo(...calcFontPoint(line[0], text, offsetx, offsety, tilt));
  1304. for (var k = 1; k < line.length; k++) {
  1305. ctx.lineTo(...calcFontPoint(line[k], text, offsetx, offsety, tilt));
  1306. }
  1307. ctx.stroke();
  1308. }
  1309. offsetx += glyph.w * text.width;
  1310. }
  1311. offsety += interline;
  1312. }
  1313. ctx.restore();
  1314. }
  1315. function drawedge(ctx, scalefactor, edge, color) {
  1316. ctx.strokeStyle = color;
  1317. ctx.lineWidth = Math.max(1 / scalefactor, edge.width);
  1318. ctx.lineCap = "round";
  1319. if ("svgpath" in edge) {
  1320. ctx.stroke(new Path2D(edge.svgpath));
  1321. } else {
  1322. ctx.beginPath();
  1323. if (edge.type == "segment") {
  1324. ctx.moveTo(...edge.start);
  1325. ctx.lineTo(...edge.end);
  1326. }
  1327. if (edge.type == "rect") {
  1328. ctx.moveTo(...edge.start);
  1329. ctx.lineTo(edge.start[0], edge.end[1]);
  1330. ctx.lineTo(...edge.end);
  1331. ctx.lineTo(edge.end[0], edge.start[1]);
  1332. ctx.lineTo(...edge.start);
  1333. }
  1334. if (edge.type == "arc") {
  1335. ctx.arc(
  1336. ...edge.start,
  1337. edge.radius,
  1338. deg2rad(edge.startangle),
  1339. deg2rad(edge.endangle));
  1340. }
  1341. if (edge.type == "circle") {
  1342. ctx.arc(
  1343. ...edge.start,
  1344. edge.radius,
  1345. 0, 2 * Math.PI);
  1346. ctx.closePath();
  1347. }
  1348. if (edge.type == "curve") {
  1349. ctx.moveTo(...edge.start);
  1350. ctx.bezierCurveTo(...edge.cpa, ...edge.cpb, ...edge.end);
  1351. }
  1352. ctx.stroke();
  1353. }
  1354. }
  1355. function getChamferedRectPath(size, radius, chamfpos, chamfratio) {
  1356. // chamfpos is a bitmask, left = 1, right = 2, bottom left = 4, bottom right = 8
  1357. var path = new Path2D();
  1358. var width = size[0];
  1359. var height = size[1];
  1360. var x = width * -0.5;
  1361. var y = height * -0.5;
  1362. var chamfOffset = Math.min(width, height) * chamfratio;
  1363. path.moveTo(x, 0);
  1364. if (chamfpos & 4) {
  1365. path.lineTo(x, y + height - chamfOffset);
  1366. path.lineTo(x + chamfOffset, y + height);
  1367. path.lineTo(0, y + height);
  1368. } else {
  1369. path.arcTo(x, y + height, x + width, y + height, radius);
  1370. }
  1371. if (chamfpos & 8) {
  1372. path.lineTo(x + width - chamfOffset, y + height);
  1373. path.lineTo(x + width, y + height - chamfOffset);
  1374. path.lineTo(x + width, 0);
  1375. } else {
  1376. path.arcTo(x + width, y + height, x + width, y, radius);
  1377. }
  1378. if (chamfpos & 2) {
  1379. path.lineTo(x + width, y + chamfOffset);
  1380. path.lineTo(x + width - chamfOffset, y);
  1381. path.lineTo(0, y);
  1382. } else {
  1383. path.arcTo(x + width, y, x, y, radius);
  1384. }
  1385. if (chamfpos & 1) {
  1386. path.lineTo(x + chamfOffset, y);
  1387. path.lineTo(x, y + chamfOffset);
  1388. path.lineTo(x, 0);
  1389. } else {
  1390. path.arcTo(x, y, x, y + height, radius);
  1391. }
  1392. path.closePath();
  1393. return path;
  1394. }
  1395. function getOblongPath(size) {
  1396. return getChamferedRectPath(size, Math.min(size[0], size[1]) / 2, 0, 0);
  1397. }
  1398. function getPolygonsPath(shape) {
  1399. if (shape.path2d) {
  1400. return shape.path2d;
  1401. }
  1402. if ("svgpath" in shape) {
  1403. shape.path2d = new Path2D(shape.svgpath);
  1404. } else {
  1405. var path = new Path2D();
  1406. for (var polygon of shape.polygons) {
  1407. path.moveTo(...polygon[0]);
  1408. for (var i = 1; i < polygon.length; i++) {
  1409. path.lineTo(...polygon[i]);
  1410. }
  1411. path.closePath();
  1412. }
  1413. shape.path2d = path;
  1414. }
  1415. return shape.path2d;
  1416. }
  1417. function drawPolygonShape(ctx, shape, color) {
  1418. ctx.save();
  1419. ctx.fillStyle = color;
  1420. if (!("svgpath" in shape)) {
  1421. ctx.translate(...shape.pos);
  1422. ctx.rotate(deg2rad(-shape.angle));
  1423. }
  1424. ctx.fill(getPolygonsPath(shape));
  1425. ctx.restore();
  1426. }
  1427. function drawDrawing(ctx, scalefactor, drawing, color) {
  1428. if (["segment", "arc", "circle", "curve"].includes(drawing.type)) {
  1429. drawedge(ctx, scalefactor, drawing, color);
  1430. } else if (drawing.type == "polygon") {
  1431. drawPolygonShape(ctx, drawing, color);
  1432. } else {
  1433. drawText(ctx, drawing, color);
  1434. }
  1435. }
  1436. function getCirclePath(radius) {
  1437. var path = new Path2D();
  1438. path.arc(0, 0, radius, 0, 2 * Math.PI);
  1439. path.closePath();
  1440. return path;
  1441. }
  1442. function getCachedPadPath(pad) {
  1443. if (!pad.path2d) {
  1444. // if path2d is not set, build one and cache it on pad object
  1445. if (pad.shape == "rect") {
  1446. pad.path2d = new Path2D();
  1447. pad.path2d.rect(...pad.size.map(c => -c * 0.5), ...pad.size);
  1448. } else if (pad.shape == "oval") {
  1449. pad.path2d = getOblongPath(pad.size);
  1450. } else if (pad.shape == "circle") {
  1451. pad.path2d = getCirclePath(pad.size[0] / 2);
  1452. } else if (pad.shape == "roundrect") {
  1453. pad.path2d = getChamferedRectPath(pad.size, pad.radius, 0, 0);
  1454. } else if (pad.shape == "chamfrect") {
  1455. pad.path2d = getChamferedRectPath(pad.size, pad.radius, pad.chamfpos, pad.chamfratio)
  1456. } else if (pad.shape == "custom") {
  1457. pad.path2d = getPolygonsPath(pad);
  1458. }
  1459. }
  1460. return pad.path2d;
  1461. }
  1462. function drawPad(ctx, pad, color, outline) {
  1463. ctx.save();
  1464. ctx.translate(...pad.pos);
  1465. ctx.rotate(deg2rad(pad.angle));
  1466. if (pad.offset) {
  1467. ctx.translate(...pad.offset);
  1468. }
  1469. ctx.fillStyle = color;
  1470. ctx.strokeStyle = color;
  1471. var path = getCachedPadPath(pad);
  1472. if (outline) {
  1473. ctx.stroke(path);
  1474. } else {
  1475. ctx.fill(path);
  1476. }
  1477. ctx.restore();
  1478. }
  1479. function drawPadHole(ctx, pad, padHoleColor) {
  1480. if (pad.type != "th") return;
  1481. ctx.save();
  1482. ctx.translate(...pad.pos);
  1483. ctx.rotate(deg2rad(pad.angle));
  1484. ctx.fillStyle = padHoleColor;
  1485. if (pad.drillshape == "oblong") {
  1486. ctx.fill(getOblongPath(pad.drillsize));
  1487. } else {
  1488. ctx.fill(getCirclePath(pad.drillsize[0] / 2));
  1489. }
  1490. ctx.restore();
  1491. }
  1492. function drawFootprint(ctx, layer, scalefactor, footprint, padColor, padHoleColor, outlineColor, highlight, outline) {
  1493. if (highlight) {
  1494. // draw bounding box
  1495. if (footprint.layer == layer) {
  1496. ctx.save();
  1497. ctx.globalAlpha = 0.2;
  1498. ctx.translate(...footprint.bbox.pos);
  1499. ctx.rotate(deg2rad(-footprint.bbox.angle));
  1500. ctx.translate(...footprint.bbox.relpos);
  1501. ctx.fillStyle = padColor;
  1502. ctx.fillRect(0, 0, ...footprint.bbox.size);
  1503. ctx.globalAlpha = 1;
  1504. ctx.strokeStyle = padColor;
  1505. ctx.strokeRect(0, 0, ...footprint.bbox.size);
  1506. ctx.restore();
  1507. }
  1508. }
  1509. // draw drawings
  1510. for (var drawing of footprint.drawings) {
  1511. if (drawing.layer == layer) {
  1512. drawDrawing(ctx, scalefactor, drawing.drawing, padColor);
  1513. }
  1514. }
  1515. // draw pads
  1516. if (settings.renderPads) {
  1517. for (var pad of footprint.pads) {
  1518. if (pad.layers.includes(layer)) {
  1519. drawPad(ctx, pad, padColor, outline);
  1520. if (pad.pin1 && settings.highlightpin1) {
  1521. drawPad(ctx, pad, outlineColor, true);
  1522. }
  1523. }
  1524. }
  1525. for (var pad of footprint.pads) {
  1526. drawPadHole(ctx, pad, padHoleColor);
  1527. }
  1528. }
  1529. }
  1530. function drawEdgeCuts(canvas, scalefactor) {
  1531. var ctx = canvas.getContext("2d");
  1532. var edgecolor = getComputedStyle(topmostdiv).getPropertyValue('--pcb-edge-color');
  1533. for (var edge of pcbdata.edges) {
  1534. drawedge(ctx, scalefactor, edge, edgecolor);
  1535. }
  1536. }
  1537. function drawFootprints(canvas, layer, scalefactor, highlight) {
  1538. var ctx = canvas.getContext("2d");
  1539. ctx.lineWidth = 3 / scalefactor;
  1540. var style = getComputedStyle(topmostdiv);
  1541. var padColor = style.getPropertyValue('--pad-color');
  1542. var padHoleColor = style.getPropertyValue('--pad-hole-color');
  1543. var outlineColor = style.getPropertyValue('--pin1-outline-color');
  1544. if (highlight) {
  1545. padColor = style.getPropertyValue('--pad-color-highlight');
  1546. outlineColor = style.getPropertyValue('--pin1-outline-color-highlight');
  1547. }
  1548. for (var i = 0; i < pcbdata.footprints.length; i++) {
  1549. var mod = pcbdata.footprints[i];
  1550. var outline = settings.renderDnpOutline && pcbdata.bom.skipped.includes(i);
  1551. if (!highlight || highlightedFootprints.includes(i)) {
  1552. drawFootprint(ctx, layer, scalefactor, mod, padColor, padHoleColor, outlineColor, highlight, outline);
  1553. }
  1554. }
  1555. }
  1556. function drawBgLayer(layername, canvas, layer, scalefactor, edgeColor, polygonColor, textColor) {
  1557. var ctx = canvas.getContext("2d");
  1558. for (var d of pcbdata.drawings[layername][layer]) {
  1559. if (["segment", "arc", "circle", "curve", "rect"].includes(d.type)) {
  1560. drawedge(ctx, scalefactor, d, edgeColor);
  1561. } else if (d.type == "polygon") {
  1562. drawPolygonShape(ctx, d, polygonColor);
  1563. } else {
  1564. drawText(ctx, d, textColor);
  1565. }
  1566. }
  1567. }
  1568. function drawTracks(canvas, layer, color, highlight) {
  1569. ctx = canvas.getContext("2d");
  1570. ctx.strokeStyle = color;
  1571. ctx.lineCap = "round";
  1572. for(var track of pcbdata.tracks[layer]) {
  1573. if (highlight && highlightedNet != track.net) continue;
  1574. ctx.lineWidth = track.width;
  1575. ctx.beginPath();
  1576. if ('radius' in track) {
  1577. ctx.arc(
  1578. ...track.center,
  1579. track.radius,
  1580. deg2rad(track.startangle),
  1581. deg2rad(track.endangle));
  1582. } else {
  1583. ctx.moveTo(...track.start);
  1584. ctx.lineTo(...track.end);
  1585. }
  1586. ctx.stroke();
  1587. }
  1588. }
  1589. function drawZones(canvas, layer, color, highlight) {
  1590. ctx = canvas.getContext("2d");
  1591. ctx.strokeStyle = color;
  1592. ctx.fillStyle = color;
  1593. ctx.lineJoin = "round";
  1594. for(var zone of pcbdata.zones[layer]) {
  1595. if (!zone.path2d) {
  1596. zone.path2d = getPolygonsPath(zone);
  1597. }
  1598. if (highlight && highlightedNet != zone.net) continue;
  1599. ctx.fill(zone.path2d);
  1600. if (zone.width > 0) {
  1601. ctx.lineWidth = zone.width;
  1602. ctx.stroke(zone.path2d);
  1603. }
  1604. }
  1605. }
  1606. function clearCanvas(canvas, color = null) {
  1607. var ctx = canvas.getContext("2d");
  1608. ctx.save();
  1609. ctx.setTransform(1, 0, 0, 1, 0, 0);
  1610. if (color) {
  1611. ctx.fillStyle = color;
  1612. ctx.fillRect(0, 0, canvas.width, canvas.height);
  1613. } else {
  1614. ctx.clearRect(0, 0, canvas.width, canvas.height);
  1615. }
  1616. ctx.restore();
  1617. }
  1618. function drawNets(canvas, layer, highlight) {
  1619. var style = getComputedStyle(topmostdiv);
  1620. if (settings.renderTracks) {
  1621. var trackColor = style.getPropertyValue(highlight ? '--track-color-highlight' : '--track-color');
  1622. drawTracks(canvas, layer, trackColor, highlight);
  1623. }
  1624. if (settings.renderZones) {
  1625. var zoneColor = style.getPropertyValue(highlight ? '--zone-color-highlight' : '--zone-color');
  1626. drawZones(canvas, layer, zoneColor, highlight);
  1627. }
  1628. if (highlight && settings.renderPads) {
  1629. var padColor = style.getPropertyValue('--pad-color-highlight');
  1630. var padHoleColor = style.getPropertyValue('--pad-hole-color');
  1631. var ctx = canvas.getContext("2d");
  1632. for (var footprint of pcbdata.footprints) {
  1633. // draw pads
  1634. var padDrawn = false;
  1635. for (var pad of footprint.pads) {
  1636. if (highlightedNet != pad.net) continue;
  1637. if (pad.layers.includes(layer)) {
  1638. drawPad(ctx, pad, padColor, false);
  1639. padDrawn = true;
  1640. }
  1641. }
  1642. if (padDrawn) {
  1643. // redraw all pad holes because some pads may overlap
  1644. for (var pad of footprint.pads) {
  1645. drawPadHole(ctx, pad, padHoleColor);
  1646. }
  1647. }
  1648. }
  1649. }
  1650. }
  1651. function drawHighlightsOnLayer(canvasdict, clear = true) {
  1652. if (clear) {
  1653. clearCanvas(canvasdict.highlight);
  1654. }
  1655. if (highlightedFootprints.length > 0) {
  1656. drawFootprints(canvasdict.highlight, canvasdict.layer,
  1657. canvasdict.transform.s * canvasdict.transform.zoom, true);
  1658. }
  1659. if (highlightedNet !== null) {
  1660. drawNets(canvasdict.highlight, canvasdict.layer, true);
  1661. }
  1662. }
  1663. function drawHighlights() {
  1664. drawHighlightsOnLayer(allcanvas.front);
  1665. drawHighlightsOnLayer(allcanvas.back);
  1666. }
  1667. function drawBackground(canvasdict, clear = true) {
  1668. if (clear) {
  1669. clearCanvas(canvasdict.bg);
  1670. clearCanvas(canvasdict.fab);
  1671. clearCanvas(canvasdict.silk);
  1672. }
  1673. drawNets(canvasdict.bg, canvasdict.layer, false);
  1674. drawFootprints(canvasdict.bg, canvasdict.layer,
  1675. canvasdict.transform.s * canvasdict.transform.zoom, false);
  1676. drawEdgeCuts(canvasdict.bg, canvasdict.transform.s);
  1677. var style = getComputedStyle(topmostdiv);
  1678. var edgeColor = style.getPropertyValue('--silkscreen-edge-color');
  1679. var polygonColor = style.getPropertyValue('--silkscreen-polygon-color');
  1680. var textColor = style.getPropertyValue('--silkscreen-text-color');
  1681. if (settings.renderSilkscreen) {
  1682. drawBgLayer(
  1683. "silkscreen", canvasdict.silk, canvasdict.layer,
  1684. canvasdict.transform.s * canvasdict.transform.zoom,
  1685. edgeColor, polygonColor, textColor);
  1686. }
  1687. edgeColor = style.getPropertyValue('--fabrication-edge-color');
  1688. polygonColor = style.getPropertyValue('--fabrication-polygon-color');
  1689. textColor = style.getPropertyValue('--fabrication-text-color');
  1690. if (settings.renderFabrication) {
  1691. drawBgLayer(
  1692. "fabrication", canvasdict.fab, canvasdict.layer,
  1693. canvasdict.transform.s * canvasdict.transform.zoom,
  1694. edgeColor, polygonColor, textColor);
  1695. }
  1696. }
  1697. function prepareCanvas(canvas, flip, transform) {
  1698. var ctx = canvas.getContext("2d");
  1699. ctx.setTransform(1, 0, 0, 1, 0, 0);
  1700. var fontsize = 1.55;
  1701. ctx.scale(transform.zoom, transform.zoom);
  1702. ctx.translate(transform.panx, transform.pany);
  1703. if (flip) {
  1704. ctx.scale(-1, 1);
  1705. }
  1706. ctx.translate(transform.x, transform.y);
  1707. ctx.rotate(deg2rad(settings.boardRotation));
  1708. ctx.scale(transform.s, transform.s);
  1709. }
  1710. function prepareLayer(canvasdict) {
  1711. var flip = (canvasdict.layer == "B");
  1712. for (var c of ["bg", "fab", "silk", "highlight"]) {
  1713. prepareCanvas(canvasdict[c], flip, canvasdict.transform);
  1714. }
  1715. }
  1716. function rotateVector(v, angle) {
  1717. angle = deg2rad(angle);
  1718. return [
  1719. v[0] * Math.cos(angle) - v[1] * Math.sin(angle),
  1720. v[0] * Math.sin(angle) + v[1] * Math.cos(angle)
  1721. ];
  1722. }
  1723. function applyRotation(bbox) {
  1724. var corners = [
  1725. [bbox.minx, bbox.miny],
  1726. [bbox.minx, bbox.maxy],
  1727. [bbox.maxx, bbox.miny],
  1728. [bbox.maxx, bbox.maxy],
  1729. ];
  1730. corners = corners.map((v) => rotateVector(v, settings.boardRotation));
  1731. return {
  1732. minx: corners.reduce((a, v) => Math.min(a, v[0]), Infinity),
  1733. miny: corners.reduce((a, v) => Math.min(a, v[1]), Infinity),
  1734. maxx: corners.reduce((a, v) => Math.max(a, v[0]), -Infinity),
  1735. maxy: corners.reduce((a, v) => Math.max(a, v[1]), -Infinity),
  1736. }
  1737. }
  1738. function recalcLayerScale(layerdict, width, height) {
  1739. var bbox = applyRotation(pcbdata.edges_bbox);
  1740. var scalefactor = 0.98 * Math.min(
  1741. width / (bbox.maxx - bbox.minx),
  1742. height / (bbox.maxy - bbox.miny)
  1743. );
  1744. if (scalefactor < 0.1) {
  1745. scalefactor = 1;
  1746. }
  1747. layerdict.transform.s = scalefactor;
  1748. var flip = (layerdict.layer == "B");
  1749. if (flip) {
  1750. layerdict.transform.x = -((bbox.maxx + bbox.minx) * scalefactor + width) * 0.5;
  1751. } else {
  1752. layerdict.transform.x = -((bbox.maxx + bbox.minx) * scalefactor - width) * 0.5;
  1753. }
  1754. layerdict.transform.y = -((bbox.maxy + bbox.miny) * scalefactor - height) * 0.5;
  1755. for (var c of ["bg", "fab", "silk", "highlight"]) {
  1756. canvas = layerdict[c];
  1757. canvas.width = width;
  1758. canvas.height = height;
  1759. canvas.style.width = (width / devicePixelRatio) + "px";
  1760. canvas.style.height = (height / devicePixelRatio) + "px";
  1761. }
  1762. }
  1763. function redrawCanvas(layerdict) {
  1764. prepareLayer(layerdict);
  1765. drawBackground(layerdict);
  1766. drawHighlightsOnLayer(layerdict);
  1767. }
  1768. function resizeCanvas(layerdict) {
  1769. var canvasdivid = {
  1770. "F": "frontcanvas",
  1771. "B": "backcanvas"
  1772. } [layerdict.layer];
  1773. var width = document.getElementById(canvasdivid).clientWidth * devicePixelRatio;
  1774. var height = document.getElementById(canvasdivid).clientHeight * devicePixelRatio;
  1775. recalcLayerScale(layerdict, width, height);
  1776. redrawCanvas(layerdict);
  1777. }
  1778. function resizeAll() {
  1779. resizeCanvas(allcanvas.front);
  1780. resizeCanvas(allcanvas.back);
  1781. }
  1782. function pointWithinDistanceToSegment(x, y, x1, y1, x2, y2, d) {
  1783. var A = x - x1;
  1784. var B = y - y1;
  1785. var C = x2 - x1;
  1786. var D = y2 - y1;
  1787. var dot = A * C + B * D;
  1788. var len_sq = C * C + D * D;
  1789. var dx, dy;
  1790. if (len_sq == 0) {
  1791. // start and end of the segment coincide
  1792. dx = x - x1;
  1793. dy = y - y1;
  1794. } else {
  1795. var param = dot / len_sq;
  1796. var xx, yy;
  1797. if (param < 0) {
  1798. xx = x1;
  1799. yy = y1;
  1800. } else if (param > 1) {
  1801. xx = x2;
  1802. yy = y2;
  1803. } else {
  1804. xx = x1 + param * C;
  1805. yy = y1 + param * D;
  1806. }
  1807. dx = x - xx;
  1808. dy = y - yy;
  1809. }
  1810. return dx * dx + dy * dy <= d * d;
  1811. }
  1812. function modulo(n, mod) {
  1813. return ((n % mod) + mod ) % mod;
  1814. }
  1815. function pointWithinDistanceToArc(x, y, xc, yc, radius, startangle, endangle, d) {
  1816. var dx = x - xc;
  1817. var dy = y - yc;
  1818. var r_sq = dx * dx + dy * dy;
  1819. var rmin = Math.max(0, radius-d);
  1820. var rmax = radius + d;
  1821. if (r_sq < rmin * rmin || r_sq > rmax * rmax)
  1822. return false;
  1823. var angle1 = modulo(deg2rad(startangle), 2 * Math.PI);
  1824. var dx1 = xc + radius * Math.cos(angle1) - x;
  1825. var dy1 = yc + radius * Math.sin(angle1) - y;
  1826. if (dx1 * dx1 + dy1 * dy1 <= d * d)
  1827. return true;
  1828. var angle2 = modulo(deg2rad(endangle), 2 * Math.PI);
  1829. var dx2 = xc + radius * Math.cos(angle2) - x;
  1830. var dy2 = yc + radius * Math.sin(angle2) - y;
  1831. if (dx2 * dx2 + dy2 * dy2 <= d * d)
  1832. return true;
  1833. var angle = modulo(Math.atan2(dy, dx), 2 * Math.PI);
  1834. if (angle1 > angle2)
  1835. return (angle >= angle2 || angle <= angle1);
  1836. else
  1837. return (angle >= angle1 && angle <= angle2);
  1838. }
  1839. function pointWithinPad(x, y, pad) {
  1840. var v = [x - pad.pos[0], y - pad.pos[1]];
  1841. v = rotateVector(v, -pad.angle);
  1842. if (pad.offset) {
  1843. v[0] -= pad.offset[0];
  1844. v[1] -= pad.offset[1];
  1845. }
  1846. return emptyContext2d.isPointInPath(getCachedPadPath(pad), ...v);
  1847. }
  1848. function netHitScan(layer, x, y) {
  1849. // Check track segments
  1850. if (settings.renderTracks && pcbdata.tracks) {
  1851. for(var track of pcbdata.tracks[layer]) {
  1852. if ('radius' in track) {
  1853. if (pointWithinDistanceToArc(x, y, ...track.center, track.radius, track.startangle, track.endangle, track.width / 2)) {
  1854. return track.net;
  1855. }
  1856. } else {
  1857. if (pointWithinDistanceToSegment(x, y, ...track.start, ...track.end, track.width / 2)) {
  1858. return track.net;
  1859. }
  1860. }
  1861. }
  1862. }
  1863. // Check pads
  1864. if (settings.renderPads) {
  1865. for (var footprint of pcbdata.footprints) {
  1866. for(var pad of footprint.pads) {
  1867. if (pad.layers.includes(layer) && pointWithinPad(x, y, pad)) {
  1868. return pad.net;
  1869. }
  1870. }
  1871. }
  1872. }
  1873. return null;
  1874. }
  1875. function pointWithinFootprintBbox(x, y, bbox) {
  1876. var v = [x - bbox.pos[0], y - bbox.pos[1]];
  1877. v = rotateVector(v, bbox.angle);
  1878. return bbox.relpos[0] <= v[0] && v[0] <= bbox.relpos[0] + bbox.size[0] &&
  1879. bbox.relpos[1] <= v[1] && v[1] <= bbox.relpos[1] + bbox.size[1];
  1880. }
  1881. function bboxHitScan(layer, x, y) {
  1882. var result = [];
  1883. for (var i = 0; i < pcbdata.footprints.length; i++) {
  1884. var footprint = pcbdata.footprints[i];
  1885. if (footprint.layer == layer) {
  1886. if (pointWithinFootprintBbox(x, y, footprint.bbox)) {
  1887. result.push(i);
  1888. }
  1889. }
  1890. }
  1891. return result;
  1892. }
  1893. function handlePointerDown(e, layerdict) {
  1894. if (e.button != 0 && e.button != 1) {
  1895. return;
  1896. }
  1897. e.preventDefault();
  1898. e.stopPropagation();
  1899. if (!e.hasOwnProperty("offsetX")) {
  1900. // The polyfill doesn't set this properly
  1901. e.offsetX = e.pageX - e.currentTarget.offsetLeft;
  1902. e.offsetY = e.pageY - e.currentTarget.offsetTop;
  1903. }
  1904. layerdict.pointerStates[e.pointerId] = {
  1905. distanceTravelled: 0,
  1906. lastX: e.offsetX,
  1907. lastY: e.offsetY,
  1908. downTime: Date.now(),
  1909. };
  1910. }
  1911. function handleMouseClick(e, layerdict) {
  1912. if (!e.hasOwnProperty("offsetX")) {
  1913. // The polyfill doesn't set this properly
  1914. e.offsetX = e.pageX - e.currentTarget.offsetLeft;
  1915. e.offsetY = e.pageY - e.currentTarget.offsetTop;
  1916. }
  1917. var x = e.offsetX;
  1918. var y = e.offsetY;
  1919. var t = layerdict.transform;
  1920. if (layerdict.layer == "B") {
  1921. x = (devicePixelRatio * x / t.zoom - t.panx + t.x) / -t.s;
  1922. } else {
  1923. x = (devicePixelRatio * x / t.zoom - t.panx - t.x) / t.s;
  1924. }
  1925. y = (devicePixelRatio * y / t.zoom - t.y - t.pany) / t.s;
  1926. var v = rotateVector([x, y], -settings.boardRotation);
  1927. if ("nets" in pcbdata) {
  1928. var net = netHitScan(layerdict.layer, ...v);
  1929. if (net !== highlightedNet) {
  1930. netClicked(net);
  1931. }
  1932. }
  1933. if (highlightedNet === null) {
  1934. var footprints = bboxHitScan(layerdict.layer, ...v);
  1935. if (footprints.length > 0) {
  1936. footprintsClicked(footprints);
  1937. }
  1938. }
  1939. }
  1940. function handlePointerLeave(e, layerdict) {
  1941. e.preventDefault();
  1942. e.stopPropagation();
  1943. if (!settings.redrawOnDrag) {
  1944. redrawCanvas(layerdict);
  1945. }
  1946. delete layerdict.pointerStates[e.pointerId];
  1947. }
  1948. function resetTransform(layerdict) {
  1949. layerdict.transform.panx = 0;
  1950. layerdict.transform.pany = 0;
  1951. layerdict.transform.zoom = 1;
  1952. redrawCanvas(layerdict);
  1953. }
  1954. function handlePointerUp(e, layerdict) {
  1955. if (!e.hasOwnProperty("offsetX")) {
  1956. // The polyfill doesn't set this properly
  1957. e.offsetX = e.pageX - e.currentTarget.offsetLeft;
  1958. e.offsetY = e.pageY - e.currentTarget.offsetTop;
  1959. }
  1960. e.preventDefault();
  1961. e.stopPropagation();
  1962. if (e.button == 2) {
  1963. // Reset pan and zoom on right click.
  1964. resetTransform(layerdict);
  1965. layerdict.anotherPointerTapped = false;
  1966. return;
  1967. }
  1968. // We haven't necessarily had a pointermove event since the interaction started, so make sure we update this now
  1969. var ptr = layerdict.pointerStates[e.pointerId];
  1970. ptr.distanceTravelled += Math.abs(e.offsetX - ptr.lastX) + Math.abs(e.offsetY - ptr.lastY);
  1971. if (e.button == 0 && ptr.distanceTravelled < 10 && Date.now() - ptr.downTime <= 500) {
  1972. if (Object.keys(layerdict.pointerStates).length == 1) {
  1973. if (layerdict.anotherPointerTapped) {
  1974. // This is the second pointer coming off of a two-finger tap
  1975. resetTransform(layerdict);
  1976. } else {
  1977. // This is just a regular tap
  1978. handleMouseClick(e, layerdict);
  1979. }
  1980. layerdict.anotherPointerTapped = false;
  1981. } else {
  1982. // This is the first finger coming off of what could become a two-finger tap
  1983. layerdict.anotherPointerTapped = true;
  1984. }
  1985. } else {
  1986. if (!settings.redrawOnDrag) {
  1987. redrawCanvas(layerdict);
  1988. }
  1989. layerdict.anotherPointerTapped = false;
  1990. }
  1991. delete layerdict.pointerStates[e.pointerId];
  1992. }
  1993. function handlePointerMove(e, layerdict) {
  1994. if (!layerdict.pointerStates.hasOwnProperty(e.pointerId)) {
  1995. return;
  1996. }
  1997. e.preventDefault();
  1998. e.stopPropagation();
  1999. if (!e.hasOwnProperty("offsetX")) {
  2000. // The polyfill doesn't set this properly
  2001. e.offsetX = e.pageX - e.currentTarget.offsetLeft;
  2002. e.offsetY = e.pageY - e.currentTarget.offsetTop;
  2003. }
  2004. var thisPtr = layerdict.pointerStates[e.pointerId];
  2005. var dx = e.offsetX - thisPtr.lastX;
  2006. var dy = e.offsetY - thisPtr.lastY;
  2007. // If this number is low on pointer up, we count the action as a click
  2008. thisPtr.distanceTravelled += Math.abs(dx) + Math.abs(dy);
  2009. if (Object.keys(layerdict.pointerStates).length == 1) {
  2010. // This is a simple drag
  2011. layerdict.transform.panx += devicePixelRatio * dx / layerdict.transform.zoom;
  2012. layerdict.transform.pany += devicePixelRatio * dy / layerdict.transform.zoom;
  2013. } else if (Object.keys(layerdict.pointerStates).length == 2) {
  2014. var otherPtr = Object.values(layerdict.pointerStates).filter((ptr) => ptr != thisPtr)[0];
  2015. var oldDist = Math.sqrt(Math.pow(thisPtr.lastX - otherPtr.lastX, 2) + Math.pow(thisPtr.lastY - otherPtr.lastY, 2));
  2016. var newDist = Math.sqrt(Math.pow(e.offsetX - otherPtr.lastX, 2) + Math.pow(e.offsetY - otherPtr.lastY, 2));
  2017. var scaleFactor = newDist/oldDist;
  2018. if (scaleFactor != NaN) {
  2019. layerdict.transform.zoom *= scaleFactor;
  2020. var zoomd = (1 - scaleFactor) / layerdict.transform.zoom;
  2021. layerdict.transform.panx += devicePixelRatio * otherPtr.lastX * zoomd;
  2022. layerdict.transform.pany += devicePixelRatio * otherPtr.lastY * zoomd;
  2023. }
  2024. }
  2025. thisPtr.lastX = e.offsetX;
  2026. thisPtr.lastY = e.offsetY;
  2027. if (settings.redrawOnDrag) {
  2028. redrawCanvas(layerdict);
  2029. }
  2030. }
  2031. function handleMouseWheel(e, layerdict) {
  2032. e.preventDefault();
  2033. e.stopPropagation();
  2034. var t = layerdict.transform;
  2035. var wheeldelta = e.deltaY;
  2036. if (e.deltaMode == 1) {
  2037. // FF only, scroll by lines
  2038. wheeldelta *= 30;
  2039. } else if (e.deltaMode == 2) {
  2040. wheeldelta *= 300;
  2041. }
  2042. var m = Math.pow(1.1, -wheeldelta / 40);
  2043. // Limit amount of zoom per tick.
  2044. if (m > 2) {
  2045. m = 2;
  2046. } else if (m < 0.5) {
  2047. m = 0.5;
  2048. }
  2049. t.zoom *= m;
  2050. var zoomd = (1 - m) / t.zoom;
  2051. t.panx += devicePixelRatio * e.offsetX * zoomd;
  2052. t.pany += devicePixelRatio * e.offsetY * zoomd;
  2053. redrawCanvas(layerdict);
  2054. }
  2055. function addMouseHandlers(div, layerdict) {
  2056. div.addEventListener("pointerdown", function(e) {
  2057. handlePointerDown(e, layerdict);
  2058. });
  2059. div.addEventListener("pointermove", function(e) {
  2060. handlePointerMove(e, layerdict);
  2061. });
  2062. div.addEventListener("pointerup", function(e) {
  2063. handlePointerUp(e, layerdict);
  2064. });
  2065. var pointerleave = function(e) {
  2066. handlePointerLeave(e, layerdict);
  2067. }
  2068. div.addEventListener("pointercancel", pointerleave);
  2069. div.addEventListener("pointerleave", pointerleave);
  2070. div.addEventListener("pointerout", pointerleave);
  2071. div.onwheel = function(e) {
  2072. handleMouseWheel(e, layerdict);
  2073. }
  2074. for (var element of [div, layerdict.bg, layerdict.fab, layerdict.silk, layerdict.highlight]) {
  2075. element.addEventListener("contextmenu", function(e) {
  2076. e.preventDefault();
  2077. }, false);
  2078. }
  2079. }
  2080. function setRedrawOnDrag(value) {
  2081. settings.redrawOnDrag = value;
  2082. writeStorage("redrawOnDrag", value);
  2083. }
  2084. function setBoardRotation(value) {
  2085. settings.boardRotation = value * 5;
  2086. writeStorage("boardRotation", settings.boardRotation);
  2087. document.getElementById("rotationDegree").textContent = settings.boardRotation;
  2088. resizeAll();
  2089. }
  2090. function initRender() {
  2091. allcanvas = {
  2092. front: {
  2093. transform: {
  2094. x: 0,
  2095. y: 0,
  2096. s: 1,
  2097. panx: 0,
  2098. pany: 0,
  2099. zoom: 1,
  2100. },
  2101. pointerStates: {},
  2102. anotherPointerTapped: false,
  2103. bg: document.getElementById("F_bg"),
  2104. fab: document.getElementById("F_fab"),
  2105. silk: document.getElementById("F_slk"),
  2106. highlight: document.getElementById("F_hl"),
  2107. layer: "F",
  2108. },
  2109. back: {
  2110. transform: {
  2111. x: 0,
  2112. y: 0,
  2113. s: 1,
  2114. panx: 0,
  2115. pany: 0,
  2116. zoom: 1,
  2117. },
  2118. pointerStates: {},
  2119. anotherPointerTapped: false,
  2120. bg: document.getElementById("B_bg"),
  2121. fab: document.getElementById("B_fab"),
  2122. silk: document.getElementById("B_slk"),
  2123. highlight: document.getElementById("B_hl"),
  2124. layer: "B",
  2125. }
  2126. };
  2127. addMouseHandlers(document.getElementById("frontcanvas"), allcanvas.front);
  2128. addMouseHandlers(document.getElementById("backcanvas"), allcanvas.back);
  2129. }
  2130. ///////////////////////////////////////////////
  2131. ///////////////////////////////////////////////
  2132. /* DOM manipulation and misc code */
  2133. var bomsplit;
  2134. var canvassplit;
  2135. var initDone = false;
  2136. var bomSortFunction = null;
  2137. var currentSortColumn = null;
  2138. var currentSortOrder = null;
  2139. var currentHighlightedRowId;
  2140. var highlightHandlers = [];
  2141. var footprintIndexToHandler = {};
  2142. var netsToHandler = {};
  2143. var highlightedFootprints = [];
  2144. var highlightedNet = null;
  2145. var lastClicked;
  2146. function dbg(html) {
  2147. dbgdiv.innerHTML = html;
  2148. }
  2149. function redrawIfInitDone() {
  2150. if (initDone) {
  2151. redrawCanvas(allcanvas.front);
  2152. redrawCanvas(allcanvas.back);
  2153. }
  2154. }
  2155. function padsVisible(value) {
  2156. writeStorage("padsVisible", value);
  2157. settings.renderPads = value;
  2158. redrawIfInitDone();
  2159. }
  2160. function referencesVisible(value) {
  2161. writeStorage("referencesVisible", value);
  2162. settings.renderReferences = value;
  2163. redrawIfInitDone();
  2164. }
  2165. function valuesVisible(value) {
  2166. writeStorage("valuesVisible", value);
  2167. settings.renderValues = value;
  2168. redrawIfInitDone();
  2169. }
  2170. function tracksVisible(value) {
  2171. writeStorage("tracksVisible", value);
  2172. settings.renderTracks = value;
  2173. redrawIfInitDone();
  2174. }
  2175. function zonesVisible(value) {
  2176. writeStorage("zonesVisible", value);
  2177. settings.renderZones = value;
  2178. redrawIfInitDone();
  2179. }
  2180. function dnpOutline(value) {
  2181. writeStorage("dnpOutline", value);
  2182. settings.renderDnpOutline = value;
  2183. redrawIfInitDone();
  2184. }
  2185. function setDarkMode(value) {
  2186. if (value) {
  2187. topmostdiv.classList.add("dark");
  2188. } else {
  2189. topmostdiv.classList.remove("dark");
  2190. }
  2191. writeStorage("darkmode", value);
  2192. settings.darkMode = value;
  2193. redrawIfInitDone();
  2194. }
  2195. function setFullscreen(value) {
  2196. if (value) {
  2197. document.documentElement.requestFullscreen();
  2198. } else {
  2199. document.exitFullscreen();
  2200. }
  2201. }
  2202. function fabricationVisible(value) {
  2203. writeStorage("fabricationVisible", value);
  2204. settings.renderFabrication = value;
  2205. redrawIfInitDone();
  2206. }
  2207. function silkscreenVisible(value) {
  2208. writeStorage("silkscreenVisible", value);
  2209. settings.renderSilkscreen = value;
  2210. redrawIfInitDone();
  2211. }
  2212. function setHighlightPin1(value) {
  2213. writeStorage("highlightpin1", value);
  2214. settings.highlightpin1 = value;
  2215. redrawIfInitDone();
  2216. }
  2217. function getStoredCheckboxRefs(checkbox) {
  2218. function convert(ref) {
  2219. var intref = parseInt(ref);
  2220. if (isNaN(intref)) {
  2221. for (var i = 0; i < pcbdata.footprints.length; i++) {
  2222. if (pcbdata.footprints[i].ref == ref) {
  2223. return i;
  2224. }
  2225. }
  2226. return -1;
  2227. } else {
  2228. return intref;
  2229. }
  2230. }
  2231. if (!(checkbox in settings.checkboxStoredRefs)) {
  2232. var val = readStorage("checkbox_" + checkbox);
  2233. settings.checkboxStoredRefs[checkbox] = val ? val : "";
  2234. }
  2235. if (!settings.checkboxStoredRefs[checkbox]) {
  2236. return new Set();
  2237. } else {
  2238. return new Set(settings.checkboxStoredRefs[checkbox].split(",").map(r => convert(r)).filter(a => a >= 0));
  2239. }
  2240. }
  2241. function getCheckboxState(checkbox, references) {
  2242. var storedRefsSet = getStoredCheckboxRefs(checkbox);
  2243. var currentRefsSet = new Set(references.map(r => r[1]));
  2244. // Get difference of current - stored
  2245. var difference = new Set(currentRefsSet);
  2246. for (ref of storedRefsSet) {
  2247. difference.delete(ref);
  2248. }
  2249. if (difference.size == 0) {
  2250. // All the current refs are stored
  2251. return "checked";
  2252. } else if (difference.size == currentRefsSet.size) {
  2253. // None of the current refs are stored
  2254. return "unchecked";
  2255. } else {
  2256. // Some of the refs are stored
  2257. return "indeterminate";
  2258. }
  2259. }
  2260. function setBomCheckboxState(checkbox, element, references) {
  2261. var state = getCheckboxState(checkbox, references);
  2262. element.checked = (state == "checked");
  2263. element.indeterminate = (state == "indeterminate");
  2264. }
  2265. function createCheckboxChangeHandler(checkbox, references, row) {
  2266. return function() {
  2267. refsSet = getStoredCheckboxRefs(checkbox);
  2268. var darkenWhenChecked = settings.darkenWhenChecked == checkbox;
  2269. eventArgs = {
  2270. checkbox: checkbox,
  2271. refs: references,
  2272. }
  2273. if (this.checked) {
  2274. // checkbox ticked
  2275. for (var ref of references) {
  2276. refsSet.add(ref[1]);
  2277. }
  2278. if (darkenWhenChecked) {
  2279. row.classList.add("checked");
  2280. }
  2281. eventArgs.state = 'checked';
  2282. } else {
  2283. // checkbox unticked
  2284. for (var ref of references) {
  2285. refsSet.delete(ref[1]);
  2286. }
  2287. if (darkenWhenChecked) {
  2288. row.classList.remove("checked");
  2289. }
  2290. eventArgs.state = 'unchecked';
  2291. }
  2292. settings.checkboxStoredRefs[checkbox] = [...refsSet].join(",");
  2293. writeStorage("checkbox_" + checkbox, settings.checkboxStoredRefs[checkbox]);
  2294. updateCheckboxStats(checkbox);
  2295. EventHandler.emitEvent(IBOM_EVENT_TYPES.CHECKBOX_CHANGE_EVENT, eventArgs);
  2296. }
  2297. }
  2298. function clearHighlightedFootprints() {
  2299. if (currentHighlightedRowId) {
  2300. document.getElementById(currentHighlightedRowId).classList.remove("highlighted");
  2301. currentHighlightedRowId = null;
  2302. highlightedFootprints = [];
  2303. highlightedNet = null;
  2304. }
  2305. }
  2306. function createRowHighlightHandler(rowid, refs, net) {
  2307. return function() {
  2308. if (currentHighlightedRowId) {
  2309. if (currentHighlightedRowId == rowid) {
  2310. return;
  2311. }
  2312. document.getElementById(currentHighlightedRowId).classList.remove("highlighted");
  2313. }
  2314. document.getElementById(rowid).classList.add("highlighted");
  2315. currentHighlightedRowId = rowid;
  2316. highlightedFootprints = refs ? refs.map(r => r[1]) : [];
  2317. highlightedNet = net;
  2318. drawHighlights();
  2319. EventHandler.emitEvent(
  2320. IBOM_EVENT_TYPES.HIGHLIGHT_EVENT,
  2321. {
  2322. rowid: rowid,
  2323. refs: refs,
  2324. net: net
  2325. });
  2326. }
  2327. }
  2328. function entryMatches(entry) {
  2329. if (settings.bommode == "netlist") {
  2330. // entry is just a net name
  2331. return entry.toLowerCase().indexOf(filter) >= 0;
  2332. }
  2333. // check refs
  2334. for (var ref of entry[3]) {
  2335. if (ref[0].toLowerCase().indexOf(filter) >= 0) {
  2336. return true;
  2337. }
  2338. }
  2339. // check extra fields
  2340. for (var i in config.extra_fields) {
  2341. if (entry[4][i].toLowerCase().indexOf(filter) >= 0) {
  2342. return true;
  2343. }
  2344. }
  2345. // check value
  2346. if (entry[1].toLowerCase().indexOf(filter) >= 0) {
  2347. return true;
  2348. }
  2349. // check footprint
  2350. if (entry[2].toLowerCase().indexOf(filter) >= 0) {
  2351. return true;
  2352. }
  2353. return false;
  2354. }
  2355. function findRefInEntry(entry) {
  2356. return entry[3].filter(r => r[0].toLowerCase() == reflookup);
  2357. }
  2358. function highlightFilter(s) {
  2359. if (!filter) {
  2360. return s;
  2361. }
  2362. var parts = s.toLowerCase().split(filter);
  2363. if (parts.length == 1) {
  2364. return s;
  2365. }
  2366. var r = "";
  2367. var pos = 0;
  2368. for (var i in parts) {
  2369. if (i > 0) {
  2370. r += '<mark class="highlight">' +
  2371. s.substring(pos, pos + filter.length) +
  2372. '</mark>';
  2373. pos += filter.length;
  2374. }
  2375. r += s.substring(pos, pos + parts[i].length);
  2376. pos += parts[i].length;
  2377. }
  2378. return r;
  2379. }
  2380. function checkboxSetUnsetAllHandler(checkboxname) {
  2381. return function() {
  2382. var checkboxnum = 0;
  2383. while (checkboxnum < settings.checkboxes.length &&
  2384. settings.checkboxes[checkboxnum].toLowerCase() != checkboxname.toLowerCase()) {
  2385. checkboxnum++;
  2386. }
  2387. if (checkboxnum >= settings.checkboxes.length) {
  2388. return;
  2389. }
  2390. var allset = true;
  2391. var checkbox;
  2392. var row;
  2393. for (row of bombody.childNodes) {
  2394. checkbox = row.childNodes[checkboxnum + 1].childNodes[0];
  2395. if (!checkbox.checked || checkbox.indeterminate) {
  2396. allset = false;
  2397. break;
  2398. }
  2399. }
  2400. for (row of bombody.childNodes) {
  2401. checkbox = row.childNodes[checkboxnum + 1].childNodes[0];
  2402. checkbox.checked = !allset;
  2403. checkbox.indeterminate = false;
  2404. checkbox.onchange();
  2405. }
  2406. }
  2407. }
  2408. function createColumnHeader(name, cls, comparator) {
  2409. var th = document.createElement("TH");
  2410. th.innerHTML = name;
  2411. th.classList.add(cls);
  2412. th.style.cursor = "pointer";
  2413. var span = document.createElement("SPAN");
  2414. span.classList.add("sortmark");
  2415. span.classList.add("none");
  2416. th.appendChild(span);
  2417. th.onclick = function() {
  2418. if (currentSortColumn && this !== currentSortColumn) {
  2419. // Currently sorted by another column
  2420. currentSortColumn.childNodes[1].classList.remove(currentSortOrder);
  2421. currentSortColumn.childNodes[1].classList.add("none");
  2422. currentSortColumn = null;
  2423. currentSortOrder = null;
  2424. }
  2425. if (currentSortColumn && this === currentSortColumn) {
  2426. // Already sorted by this column
  2427. if (currentSortOrder == "asc") {
  2428. // Sort by this column, descending order
  2429. bomSortFunction = function(a, b) {
  2430. return -comparator(a, b);
  2431. }
  2432. currentSortColumn.childNodes[1].classList.remove("asc");
  2433. currentSortColumn.childNodes[1].classList.add("desc");
  2434. currentSortOrder = "desc";
  2435. } else {
  2436. // Unsort
  2437. bomSortFunction = null;
  2438. currentSortColumn.childNodes[1].classList.remove("desc");
  2439. currentSortColumn.childNodes[1].classList.add("none");
  2440. currentSortColumn = null;
  2441. currentSortOrder = null;
  2442. }
  2443. } else {
  2444. // Sort by this column, ascending order
  2445. bomSortFunction = comparator;
  2446. currentSortColumn = this;
  2447. currentSortColumn.childNodes[1].classList.remove("none");
  2448. currentSortColumn.childNodes[1].classList.add("asc");
  2449. currentSortOrder = "asc";
  2450. }
  2451. populateBomBody();
  2452. }
  2453. return th;
  2454. }
  2455. function populateBomHeader() {
  2456. while (bomhead.firstChild) {
  2457. bomhead.removeChild(bomhead.firstChild);
  2458. }
  2459. var tr = document.createElement("TR");
  2460. var th = document.createElement("TH");
  2461. th.classList.add("numCol");
  2462. tr.appendChild(th);
  2463. var checkboxCompareClosure = function(checkbox) {
  2464. return (a, b) => {
  2465. var stateA = getCheckboxState(checkbox, a[3]);
  2466. var stateB = getCheckboxState(checkbox, b[3]);
  2467. if (stateA > stateB) return -1;
  2468. if (stateA < stateB) return 1;
  2469. return 0;
  2470. }
  2471. }
  2472. if (settings.bommode == "netlist") {
  2473. th = createColumnHeader("Net name", "bom-netname", (a, b) => {
  2474. if (a > b) return -1;
  2475. if (a < b) return 1;
  2476. return 0;
  2477. });
  2478. tr.appendChild(th);
  2479. } else {
  2480. for (var checkbox of settings.checkboxes) {
  2481. th = createColumnHeader(
  2482. checkbox, "bom-checkbox", checkboxCompareClosure(checkbox));
  2483. th.onclick = fancyDblClickHandler(
  2484. th, th.onclick.bind(th), checkboxSetUnsetAllHandler(checkbox));
  2485. tr.appendChild(th);
  2486. }
  2487. tr.appendChild(createColumnHeader("References", "References", (a, b) => {
  2488. var i = 0;
  2489. while (i < a[3].length && i < b[3].length) {
  2490. if (a[3][i] != b[3][i]) return a[3][i] > b[3][i] ? 1 : -1;
  2491. i++;
  2492. }
  2493. return a[3].length - b[3].length;
  2494. }));
  2495. // Extra fields
  2496. if (config.extra_fields.length > 0) {
  2497. var extraFieldCompareClosure = function(fieldIndex) {
  2498. return (a, b) => {
  2499. var fa = a[4][fieldIndex];
  2500. var fb = b[4][fieldIndex];
  2501. if (fa != fb) return fa > fb ? 1 : -1;
  2502. else return 0;
  2503. }
  2504. }
  2505. for (var i in config.extra_fields) {
  2506. tr.appendChild(createColumnHeader(
  2507. config.extra_fields[i], "extra", extraFieldCompareClosure(i)));
  2508. }
  2509. }
  2510. tr.appendChild(createColumnHeader("Value", "Value", (a, b) => {
  2511. return valueCompare(a[5], b[5], a[1], b[1]);
  2512. }));
  2513. tr.appendChild(createColumnHeader("Footprint", "Footprint", (a, b) => {
  2514. if (a[2] != b[2]) return a[2] > b[2] ? 1 : -1;
  2515. else return 0;
  2516. }));
  2517. if (settings.bommode == "grouped") {
  2518. tr.appendChild(createColumnHeader("Quantity", "Quantity", (a, b) => {
  2519. return a[3].length - b[3].length;
  2520. }));
  2521. }
  2522. }
  2523. bomhead.appendChild(tr);
  2524. }
  2525. function populateBomBody() {
  2526. while (bom.firstChild) {
  2527. bom.removeChild(bom.firstChild);
  2528. }
  2529. highlightHandlers = [];
  2530. footprintIndexToHandler = {};
  2531. netsToHandler = {};
  2532. currentHighlightedRowId = null;
  2533. var first = true;
  2534. if (settings.bommode == "netlist") {
  2535. bomtable = pcbdata.nets.slice();
  2536. } else {
  2537. switch (settings.canvaslayout) {
  2538. case 'F':
  2539. bomtable = pcbdata.bom.F.slice();
  2540. break;
  2541. case 'FB':
  2542. bomtable = pcbdata.bom.both.slice();
  2543. break;
  2544. case 'B':
  2545. bomtable = pcbdata.bom.B.slice();
  2546. break;
  2547. }
  2548. if (settings.bommode == "ungrouped") {
  2549. // expand bom table
  2550. expandedTable = []
  2551. for (var bomentry of bomtable) {
  2552. for (var ref of bomentry[3]) {
  2553. expandedTable.push([1, bomentry[1], bomentry[2], [ref], bomentry[4], bomentry[5]]);
  2554. }
  2555. }
  2556. bomtable = expandedTable;
  2557. }
  2558. }
  2559. if (bomSortFunction) {
  2560. bomtable = bomtable.sort(bomSortFunction);
  2561. }
  2562. for (var i in bomtable) {
  2563. var bomentry = bomtable[i];
  2564. if (filter && !entryMatches(bomentry)) {
  2565. continue;
  2566. }
  2567. var references = null;
  2568. var netname = null;
  2569. var tr = document.createElement("TR");
  2570. var td = document.createElement("TD");
  2571. var rownum = +i + 1;
  2572. tr.id = "bomrow" + rownum;
  2573. td.textContent = rownum;
  2574. tr.appendChild(td);
  2575. if (settings.bommode == "netlist") {
  2576. netname = bomentry;
  2577. td = document.createElement("TD");
  2578. td.innerHTML = highlightFilter(netname ? netname : "&lt;no net&gt;");
  2579. tr.appendChild(td);
  2580. } else {
  2581. if (reflookup) {
  2582. references = findRefInEntry(bomentry);
  2583. if (references.length == 0) {
  2584. continue;
  2585. }
  2586. } else {
  2587. references = bomentry[3];
  2588. }
  2589. // Checkboxes
  2590. for (var checkbox of settings.checkboxes) {
  2591. if (checkbox) {
  2592. td = document.createElement("TD");
  2593. var input = document.createElement("input");
  2594. input.type = "checkbox";
  2595. input.onchange = createCheckboxChangeHandler(checkbox, references, tr);
  2596. setBomCheckboxState(checkbox, input, references);
  2597. if (input.checked && settings.darkenWhenChecked == checkbox) {
  2598. tr.classList.add("checked");
  2599. }
  2600. td.appendChild(input);
  2601. tr.appendChild(td);
  2602. }
  2603. }
  2604. // References
  2605. td = document.createElement("TD");
  2606. td.innerHTML = highlightFilter(references.map(r => r[0]).join(", "));
  2607. tr.appendChild(td);
  2608. // Extra fields
  2609. for (var i in config.extra_fields) {
  2610. td = document.createElement("TD");
  2611. td.innerHTML = highlightFilter(bomentry[4][i]);
  2612. tr.appendChild(td);
  2613. }
  2614. // Value
  2615. td = document.createElement("TD");
  2616. td.innerHTML = highlightFilter(bomentry[1]);
  2617. tr.appendChild(td);
  2618. // Footprint
  2619. td = document.createElement("TD");
  2620. td.innerHTML = highlightFilter(bomentry[2]);
  2621. tr.appendChild(td);
  2622. if (settings.bommode == "grouped") {
  2623. // Quantity
  2624. td = document.createElement("TD");
  2625. td.textContent = bomentry[3].length;
  2626. tr.appendChild(td);
  2627. }
  2628. }
  2629. bom.appendChild(tr);
  2630. var handler = createRowHighlightHandler(tr.id, references, netname);
  2631. tr.onmousemove = handler;
  2632. highlightHandlers.push({
  2633. id: tr.id,
  2634. handler: handler,
  2635. });
  2636. if (references !== null) {
  2637. for (var refIndex of references.map(r => r[1])) {
  2638. footprintIndexToHandler[refIndex] = handler;
  2639. }
  2640. }
  2641. if (netname !== null) {
  2642. netsToHandler[netname] = handler;
  2643. }
  2644. if ((filter || reflookup) && first) {
  2645. handler();
  2646. first = false;
  2647. }
  2648. }
  2649. EventHandler.emitEvent(
  2650. IBOM_EVENT_TYPES.BOM_BODY_CHANGE_EVENT,
  2651. {
  2652. filter: filter,
  2653. reflookup: reflookup,
  2654. checkboxes: settings.checkboxes,
  2655. bommode: settings.bommode,
  2656. });
  2657. }
  2658. function highlightPreviousRow() {
  2659. if (!currentHighlightedRowId) {
  2660. highlightHandlers[highlightHandlers.length - 1].handler();
  2661. } else {
  2662. if (highlightHandlers.length > 1 &&
  2663. highlightHandlers[0].id == currentHighlightedRowId) {
  2664. highlightHandlers[highlightHandlers.length - 1].handler();
  2665. } else {
  2666. for (var i = 0; i < highlightHandlers.length - 1; i++) {
  2667. if (highlightHandlers[i + 1].id == currentHighlightedRowId) {
  2668. highlightHandlers[i].handler();
  2669. break;
  2670. }
  2671. }
  2672. }
  2673. }
  2674. smoothScrollToRow(currentHighlightedRowId);
  2675. }
  2676. function highlightNextRow() {
  2677. if (!currentHighlightedRowId) {
  2678. highlightHandlers[0].handler();
  2679. } else {
  2680. if (highlightHandlers.length > 1 &&
  2681. highlightHandlers[highlightHandlers.length - 1].id == currentHighlightedRowId) {
  2682. highlightHandlers[0].handler();
  2683. } else {
  2684. for (var i = 1; i < highlightHandlers.length; i++) {
  2685. if (highlightHandlers[i - 1].id == currentHighlightedRowId) {
  2686. highlightHandlers[i].handler();
  2687. break;
  2688. }
  2689. }
  2690. }
  2691. }
  2692. smoothScrollToRow(currentHighlightedRowId);
  2693. }
  2694. function populateBomTable() {
  2695. populateBomHeader();
  2696. populateBomBody();
  2697. }
  2698. function footprintsClicked(footprintIndexes) {
  2699. var lastClickedIndex = footprintIndexes.indexOf(lastClicked);
  2700. for (var i = 1; i <= footprintIndexes.length; i++) {
  2701. var refIndex = footprintIndexes[(lastClickedIndex + i) % footprintIndexes.length];
  2702. if (refIndex in footprintIndexToHandler) {
  2703. lastClicked = refIndex;
  2704. footprintIndexToHandler[refIndex]();
  2705. smoothScrollToRow(currentHighlightedRowId);
  2706. break;
  2707. }
  2708. }
  2709. }
  2710. function netClicked(net) {
  2711. if (net in netsToHandler) {
  2712. netsToHandler[net]();
  2713. smoothScrollToRow(currentHighlightedRowId);
  2714. } else {
  2715. clearHighlightedFootprints();
  2716. highlightedNet = net;
  2717. drawHighlights();
  2718. }
  2719. }
  2720. function updateFilter(input) {
  2721. filter = input.toLowerCase();
  2722. populateBomTable();
  2723. }
  2724. function updateRefLookup(input) {
  2725. reflookup = input.toLowerCase();
  2726. populateBomTable();
  2727. }
  2728. function changeCanvasLayout(layout) {
  2729. document.getElementById("fl-btn").classList.remove("depressed");
  2730. document.getElementById("fb-btn").classList.remove("depressed");
  2731. document.getElementById("bl-btn").classList.remove("depressed");
  2732. switch (layout) {
  2733. case 'F':
  2734. document.getElementById("fl-btn").classList.add("depressed");
  2735. if (settings.bomlayout != "bom-only") {
  2736. canvassplit.collapse(1);
  2737. }
  2738. break;
  2739. case 'B':
  2740. document.getElementById("bl-btn").classList.add("depressed");
  2741. if (settings.bomlayout != "bom-only") {
  2742. canvassplit.collapse(0);
  2743. }
  2744. break;
  2745. default:
  2746. document.getElementById("fb-btn").classList.add("depressed");
  2747. if (settings.bomlayout != "bom-only") {
  2748. canvassplit.setSizes([50, 50]);
  2749. }
  2750. }
  2751. settings.canvaslayout = layout;
  2752. writeStorage("canvaslayout", layout);
  2753. resizeAll();
  2754. changeBomMode(settings.bommode);
  2755. }
  2756. function populateMetadata() {
  2757. document.getElementById("title").innerHTML = pcbdata.metadata.title;
  2758. document.getElementById("revision").innerHTML = "Rev: " + pcbdata.metadata.revision;
  2759. document.getElementById("company").innerHTML = pcbdata.metadata.company;
  2760. document.getElementById("filedate").innerHTML = pcbdata.metadata.date;
  2761. if (pcbdata.metadata.title != "") {
  2762. document.title = pcbdata.metadata.title + " BOM";
  2763. }
  2764. // Calculate board stats
  2765. var fp_f = 0, fp_b = 0, pads_f = 0, pads_b = 0, pads_th = 0;
  2766. for (var i = 0; i < pcbdata.footprints.length; i++) {
  2767. if (pcbdata.bom.skipped.includes(i)) continue;
  2768. var mod = pcbdata.footprints[i];
  2769. if (mod.layer == "F") {
  2770. fp_f++;
  2771. } else {
  2772. fp_b++;
  2773. }
  2774. for (var pad of mod.pads) {
  2775. if (pad.type == "th") {
  2776. pads_th++;
  2777. } else {
  2778. if (pad.layers.includes("F")) {
  2779. pads_f++;
  2780. }
  2781. if (pad.layers.includes("B")) {
  2782. pads_b++;
  2783. }
  2784. }
  2785. }
  2786. }
  2787. document.getElementById("stats-components-front").innerHTML = fp_f;
  2788. document.getElementById("stats-components-back").innerHTML = fp_b;
  2789. document.getElementById("stats-components-total").innerHTML = fp_f + fp_b;
  2790. document.getElementById("stats-groups-front").innerHTML = pcbdata.bom.F.length;
  2791. document.getElementById("stats-groups-back").innerHTML = pcbdata.bom.B.length;
  2792. document.getElementById("stats-groups-total").innerHTML = pcbdata.bom.both.length;
  2793. document.getElementById("stats-smd-pads-front").innerHTML = pads_f;
  2794. document.getElementById("stats-smd-pads-back").innerHTML = pads_b;
  2795. document.getElementById("stats-smd-pads-total").innerHTML = pads_f + pads_b;
  2796. document.getElementById("stats-th-pads").innerHTML = pads_th;
  2797. // Update version string
  2798. document.getElementById("github-link").innerHTML = "InteractiveHtmlBom&nbsp;" +
  2799. /^v\d+\.\d+/.exec(pcbdata.ibom_version)[0];
  2800. }
  2801. function changeBomLayout(layout) {
  2802. document.getElementById("bom-btn").classList.remove("depressed");
  2803. document.getElementById("lr-btn").classList.remove("depressed");
  2804. document.getElementById("tb-btn").classList.remove("depressed");
  2805. switch (layout) {
  2806. case 'bom-only':
  2807. document.getElementById("bom-btn").classList.add("depressed");
  2808. if (bomsplit) {
  2809. bomsplit.destroy();
  2810. bomsplit = null;
  2811. canvassplit.destroy();
  2812. canvassplit = null;
  2813. }
  2814. document.getElementById("frontcanvas").style.display = "none";
  2815. document.getElementById("backcanvas").style.display = "none";
  2816. document.getElementById("bot").style.height = "";
  2817. break;
  2818. case 'top-bottom':
  2819. document.getElementById("tb-btn").classList.add("depressed");
  2820. document.getElementById("frontcanvas").style.display = "";
  2821. document.getElementById("backcanvas").style.display = "";
  2822. document.getElementById("bot").style.height = "calc(100% - 80px)";
  2823. document.getElementById("bomdiv").classList.remove("split-horizontal");
  2824. document.getElementById("canvasdiv").classList.remove("split-horizontal");
  2825. document.getElementById("frontcanvas").classList.add("split-horizontal");
  2826. document.getElementById("backcanvas").classList.add("split-horizontal");
  2827. if (bomsplit) {
  2828. bomsplit.destroy();
  2829. bomsplit = null;
  2830. canvassplit.destroy();
  2831. canvassplit = null;
  2832. }
  2833. bomsplit = Split(['#bomdiv', '#canvasdiv'], {
  2834. sizes: [50, 50],
  2835. onDragEnd: resizeAll,
  2836. direction: "vertical",
  2837. gutterSize: 5
  2838. });
  2839. canvassplit = Split(['#frontcanvas', '#backcanvas'], {
  2840. sizes: [50, 50],
  2841. gutterSize: 5,
  2842. onDragEnd: resizeAll
  2843. });
  2844. break;
  2845. case 'left-right':
  2846. document.getElementById("lr-btn").classList.add("depressed");
  2847. document.getElementById("frontcanvas").style.display = "";
  2848. document.getElementById("backcanvas").style.display = "";
  2849. document.getElementById("bot").style.height = "calc(100% - 80px)";
  2850. document.getElementById("bomdiv").classList.add("split-horizontal");
  2851. document.getElementById("canvasdiv").classList.add("split-horizontal");
  2852. document.getElementById("frontcanvas").classList.remove("split-horizontal");
  2853. document.getElementById("backcanvas").classList.remove("split-horizontal");
  2854. if (bomsplit) {
  2855. bomsplit.destroy();
  2856. bomsplit = null;
  2857. canvassplit.destroy();
  2858. canvassplit = null;
  2859. }
  2860. bomsplit = Split(['#bomdiv', '#canvasdiv'], {
  2861. sizes: [50, 50],
  2862. onDragEnd: resizeAll,
  2863. gutterSize: 5
  2864. });
  2865. canvassplit = Split(['#frontcanvas', '#backcanvas'], {
  2866. sizes: [50, 50],
  2867. gutterSize: 5,
  2868. direction: "vertical",
  2869. onDragEnd: resizeAll
  2870. });
  2871. }
  2872. settings.bomlayout = layout;
  2873. writeStorage("bomlayout", layout);
  2874. changeCanvasLayout(settings.canvaslayout);
  2875. }
  2876. function changeBomMode(mode) {
  2877. document.getElementById("bom-grouped-btn").classList.remove("depressed");
  2878. document.getElementById("bom-ungrouped-btn").classList.remove("depressed");
  2879. document.getElementById("bom-netlist-btn").classList.remove("depressed");
  2880. switch (mode) {
  2881. case 'grouped':
  2882. document.getElementById("bom-grouped-btn").classList.add("depressed");
  2883. break;
  2884. case 'ungrouped':
  2885. document.getElementById("bom-ungrouped-btn").classList.add("depressed");
  2886. break;
  2887. case 'netlist':
  2888. document.getElementById("bom-netlist-btn").classList.add("depressed");
  2889. }
  2890. writeStorage("bommode", mode);
  2891. if (mode != settings.bommode) {
  2892. settings.bommode = mode;
  2893. bomSortFunction = null;
  2894. currentSortColumn = null;
  2895. currentSortOrder = null;
  2896. clearHighlightedFootprints();
  2897. }
  2898. populateBomTable();
  2899. }
  2900. function focusFilterField() {
  2901. focusInputField(document.getElementById("filter"));
  2902. }
  2903. function focusRefLookupField() {
  2904. focusInputField(document.getElementById("reflookup"));
  2905. }
  2906. function toggleBomCheckbox(bomrowid, checkboxnum) {
  2907. if (!bomrowid || checkboxnum > settings.checkboxes.length) {
  2908. return;
  2909. }
  2910. var bomrow = document.getElementById(bomrowid);
  2911. var checkbox = bomrow.childNodes[checkboxnum].childNodes[0];
  2912. checkbox.checked = !checkbox.checked;
  2913. checkbox.indeterminate = false;
  2914. checkbox.onchange();
  2915. }
  2916. function checkBomCheckbox(bomrowid, checkboxname) {
  2917. var checkboxnum = 0;
  2918. while (checkboxnum < settings.checkboxes.length &&
  2919. settings.checkboxes[checkboxnum].toLowerCase() != checkboxname.toLowerCase()) {
  2920. checkboxnum++;
  2921. }
  2922. if (!bomrowid || checkboxnum >= settings.checkboxes.length) {
  2923. return;
  2924. }
  2925. var bomrow = document.getElementById(bomrowid);
  2926. var checkbox = bomrow.childNodes[checkboxnum + 1].childNodes[0];
  2927. checkbox.checked = true;
  2928. checkbox.indeterminate = false;
  2929. checkbox.onchange();
  2930. }
  2931. function setBomCheckboxes(value) {
  2932. writeStorage("bomCheckboxes", value);
  2933. settings.checkboxes = value.split(",").filter((e) => e);
  2934. prepCheckboxes();
  2935. populateBomTable();
  2936. populateDarkenWhenCheckedOptions();
  2937. }
  2938. function setDarkenWhenChecked(value) {
  2939. writeStorage("darkenWhenChecked", value);
  2940. settings.darkenWhenChecked = value;
  2941. populateBomTable();
  2942. }
  2943. function prepCheckboxes() {
  2944. var table = document.getElementById("checkbox-stats");
  2945. while (table.childElementCount > 1) {
  2946. table.removeChild(table.lastChild);
  2947. }
  2948. if (settings.checkboxes.length) {
  2949. table.style.display = "";
  2950. } else {
  2951. table.style.display = "none";
  2952. }
  2953. for (var checkbox of settings.checkboxes) {
  2954. var tr = document.createElement("TR");
  2955. var td = document.createElement("TD");
  2956. td.innerHTML = checkbox;
  2957. tr.appendChild(td);
  2958. td = document.createElement("TD");
  2959. td.id = "checkbox-stats-" + checkbox;
  2960. var progressbar = document.createElement("div");
  2961. progressbar.classList.add("bar");
  2962. td.appendChild(progressbar);
  2963. var text = document.createElement("div");
  2964. text.classList.add("text");
  2965. td.appendChild(text);
  2966. tr.appendChild(td);
  2967. table.appendChild(tr);
  2968. updateCheckboxStats(checkbox);
  2969. }
  2970. }
  2971. function populateDarkenWhenCheckedOptions() {
  2972. var container = document.getElementById("darkenWhenCheckedContainer");
  2973. if (settings.checkboxes.length == 0) {
  2974. container.parentElement.style.display = "none";
  2975. return;
  2976. }
  2977. container.innerHTML = '';
  2978. container.parentElement.style.display = "inline-block";
  2979. function createOption(name, displayName) {
  2980. var id = "darkenWhenChecked-" + name;
  2981. var div = document.createElement("div");
  2982. div.classList.add("radio-container");
  2983. var input = document.createElement("input");
  2984. input.type = "radio";
  2985. input.name = "darkenWhenChecked";
  2986. input.value = name;
  2987. input.id = id;
  2988. input.onchange = () => setDarkenWhenChecked(name);
  2989. div.appendChild(input);
  2990. // Preserve the selected element when the checkboxes change
  2991. if (name == settings.darkenWhenChecked) {
  2992. input.checked = true;
  2993. }
  2994. var label = document.createElement("label");
  2995. label.innerHTML = displayName;
  2996. label.htmlFor = id;
  2997. div.appendChild(label);
  2998. container.appendChild(div);
  2999. }
  3000. createOption("", "None");
  3001. for (var checkbox of settings.checkboxes) {
  3002. createOption(checkbox, checkbox);
  3003. }
  3004. }
  3005. function updateCheckboxStats(checkbox) {
  3006. var checked = getStoredCheckboxRefs(checkbox).size;
  3007. var total = pcbdata.footprints.length - pcbdata.bom.skipped.length;
  3008. var percent = checked * 100.0 / total;
  3009. var td = document.getElementById("checkbox-stats-" + checkbox);
  3010. td.firstChild.style.width = percent + "%";
  3011. td.lastChild.innerHTML = checked + "/" + total + " (" + Math.round(percent) + "%)";
  3012. }
  3013. document.onkeydown = function(e) {
  3014. switch (e.key) {
  3015. case "n":
  3016. if (document.activeElement.type == "text") {
  3017. return;
  3018. }
  3019. if (currentHighlightedRowId !== null) {
  3020. checkBomCheckbox(currentHighlightedRowId, "placed");
  3021. highlightNextRow();
  3022. e.preventDefault();
  3023. }
  3024. break;
  3025. case "ArrowUp":
  3026. highlightPreviousRow();
  3027. e.preventDefault();
  3028. break;
  3029. case "ArrowDown":
  3030. highlightNextRow();
  3031. e.preventDefault();
  3032. break;
  3033. default:
  3034. break;
  3035. }
  3036. if (e.altKey) {
  3037. switch (e.key) {
  3038. case "f":
  3039. focusFilterField();
  3040. e.preventDefault();
  3041. break;
  3042. case "r":
  3043. focusRefLookupField();
  3044. e.preventDefault();
  3045. break;
  3046. case "z":
  3047. changeBomLayout("bom-only");
  3048. e.preventDefault();
  3049. break;
  3050. case "x":
  3051. changeBomLayout("left-right");
  3052. e.preventDefault();
  3053. break;
  3054. case "c":
  3055. changeBomLayout("top-bottom");
  3056. e.preventDefault();
  3057. break;
  3058. case "v":
  3059. changeCanvasLayout("F");
  3060. e.preventDefault();
  3061. break;
  3062. case "b":
  3063. changeCanvasLayout("FB");
  3064. e.preventDefault();
  3065. break;
  3066. case "n":
  3067. changeCanvasLayout("B");
  3068. e.preventDefault();
  3069. break;
  3070. default:
  3071. break;
  3072. }
  3073. if (e.key >= '1' && e.key <= '9') {
  3074. toggleBomCheckbox(currentHighlightedRowId, parseInt(e.key));
  3075. }
  3076. }
  3077. }
  3078. function hideNetlistButton() {
  3079. document.getElementById("bom-ungrouped-btn").classList.remove("middle-button");
  3080. document.getElementById("bom-ungrouped-btn").classList.add("right-most-button");
  3081. document.getElementById("bom-netlist-btn").style.display = "none";
  3082. }
  3083. window.onload = function(e) {
  3084. initUtils();
  3085. initRender();
  3086. initStorage();
  3087. initDefaults();
  3088. cleanGutters();
  3089. populateMetadata();
  3090. dbgdiv = document.getElementById("dbg");
  3091. bom = document.getElementById("bombody");
  3092. bomhead = document.getElementById("bomhead");
  3093. filter = "";
  3094. reflookup = "";
  3095. if (!("nets" in pcbdata)) {
  3096. hideNetlistButton();
  3097. }
  3098. initDone = true;
  3099. prepCheckboxes();
  3100. // Triggers render
  3101. changeBomLayout(settings.bomlayout);
  3102. // Users may leave fullscreen without touching the checkbox. Uncheck.
  3103. document.addEventListener('fullscreenchange', () => {
  3104. if (!document.fullscreenElement)
  3105. document.getElementById('fullscreenCheckbox').checked = false;
  3106. });
  3107. }
  3108. window.onresize = resizeAll;
  3109. window.matchMedia("print").addListener(resizeAll);
  3110. ///////////////////////////////////////////////
  3111. ///////////////////////////////////////////////
  3112. ///////////////////////////////////////////////
  3113. </script>
  3114. </head>
  3115. <body>
  3116. <div id="topmostdiv" class="topmostdiv">
  3117. <div id="top">
  3118. <div style="float: right; height: 100%;">
  3119. <div class="hideonprint menu" style="float: right; top: 8px;">
  3120. <button class="menubtn"></button>
  3121. <div class="menu-content">
  3122. <label class="menu-label menu-label-top" style="width: calc(50% - 18px)">
  3123. <input id="darkmodeCheckbox" type="checkbox" onchange="setDarkMode(this.checked)">
  3124. Dark mode
  3125. </label><!-- This comment eats space! All of it!
  3126. --><label class="menu-label menu-label-top" style="width: calc(50% - 17px); border-left: 0;">
  3127. <input id="fullscreenCheckbox" type="checkbox" onchange="setFullscreen(this.checked)">
  3128. Full Screen
  3129. </label>
  3130. <label class="menu-label" style="width: calc(50% - 18px)">
  3131. <input id="fabricationCheckbox" type="checkbox" checked onchange="fabricationVisible(this.checked)">
  3132. Fab layer
  3133. </label><!-- This comment eats space! All of it!
  3134. --><label class="menu-label" style="width: calc(50% - 17px); border-left: 0;">
  3135. <input id="silkscreenCheckbox" type="checkbox" checked onchange="silkscreenVisible(this.checked)">
  3136. Silkscreen
  3137. </label>
  3138. <label class="menu-label" style="width: calc(50% - 18px)">
  3139. <input id="referencesCheckbox" type="checkbox" checked onchange="referencesVisible(this.checked)">
  3140. References
  3141. </label><!-- This comment eats space! All of it!
  3142. --><label class="menu-label" style="width: calc(50% - 17px); border-left: 0;">
  3143. <input id="valuesCheckbox" type="checkbox" checked onchange="valuesVisible(this.checked)">
  3144. Values
  3145. </label>
  3146. <div id="tracksAndZonesCheckboxes">
  3147. <label class="menu-label" style="width: calc(50% - 18px)">
  3148. <input id="tracksCheckbox" type="checkbox" checked onchange="tracksVisible(this.checked)">
  3149. Tracks
  3150. </label><!-- This comment eats space! All of it!
  3151. --><label class="menu-label" style="width: calc(50% - 17px); border-left: 0;">
  3152. <input id="zonesCheckbox" type="checkbox" checked onchange="zonesVisible(this.checked)">
  3153. Zones
  3154. </label>
  3155. </div>
  3156. <label class="menu-label" style="width: calc(50% - 18px)">
  3157. <input id="padsCheckbox" type="checkbox" checked onchange="padsVisible(this.checked)">
  3158. Pads
  3159. </label><!-- This comment eats space! All of it!
  3160. --><label class="menu-label" style="width: calc(50% - 17px); border-left: 0;">
  3161. <input id="dnpOutlineCheckbox" type="checkbox" checked onchange="dnpOutline(this.checked)">
  3162. DNP outlined
  3163. </label>
  3164. <label class="menu-label">
  3165. <input id="highlightpin1Checkbox" type="checkbox" onchange="setHighlightPin1(this.checked)">
  3166. Highlight first pin
  3167. </label>
  3168. <label class="menu-label">
  3169. <input id="dragCheckbox" type="checkbox" checked onchange="setRedrawOnDrag(this.checked)">
  3170. Continuous redraw on drag
  3171. </label>
  3172. <label class="menu-label">
  3173. <span>Board rotation</span>
  3174. <span style="float: right"><span id="rotationDegree">0</span>&#176;</span>
  3175. <input id="boardRotation" type="range" min="-36" max="36" value="0" class="slider" oninput="setBoardRotation(this.value)">
  3176. </label>
  3177. <label class="menu-label">
  3178. <div style="margin-left: 5px">Bom checkboxes</div>
  3179. <input id="bomCheckboxes" class="menu-textbox" type=text
  3180. oninput="setBomCheckboxes(this.value)">
  3181. </label>
  3182. <label class="menu-label">
  3183. <div style="margin-left: 5px">Darken when checked</div>
  3184. <div id="darkenWhenCheckedContainer"></div>
  3185. </label>
  3186. <label class="menu-label">
  3187. <span class="shameless-plug">
  3188. <span>Created using</span>
  3189. <a id="github-link" target="blank" href="https://github.com/openscopeproject/InteractiveHtmlBom">InteractiveHtmlBom</a>
  3190. </span>
  3191. </label>
  3192. </div>
  3193. </div>
  3194. <div class="button-container hideonprint"
  3195. style="float: right; position: relative; top: 8px">
  3196. <button id="fl-btn" class="left-most-button" onclick="changeCanvasLayout('F')"
  3197. title="Front only">F
  3198. </button>
  3199. <button id="fb-btn" class="middle-button" onclick="changeCanvasLayout('FB')"
  3200. title="Front and Back">FB
  3201. </button>
  3202. <button id="bl-btn" class="right-most-button" onclick="changeCanvasLayout('B')"
  3203. title="Back only">B
  3204. </button>
  3205. </div>
  3206. <div class="button-container hideonprint"
  3207. style="float: right; position: relative; top: 8px">
  3208. <button id="bom-btn" class="left-most-button" onclick="changeBomLayout('bom-only')"
  3209. title="BOM only"></button>
  3210. <button id="lr-btn" class="middle-button" onclick="changeBomLayout('left-right')"
  3211. title="BOM left, drawings right"></button>
  3212. <button id="tb-btn" class="right-most-button" onclick="changeBomLayout('top-bottom')"
  3213. title="BOM top, drawings bot"></button>
  3214. </div>
  3215. <div class="button-container hideonprint"
  3216. style="float: right; position: relative; top: 8px">
  3217. <button id="bom-grouped-btn" class="left-most-button" onclick="changeBomMode('grouped')"
  3218. title="Grouped BOM"></button>
  3219. <button id="bom-ungrouped-btn" class="middle-button" onclick="changeBomMode('ungrouped')"
  3220. title="Ungrouped BOM"></button>
  3221. <button id="bom-netlist-btn" class="right-most-button" onclick="changeBomMode('netlist')"
  3222. title="Netlist"></button>
  3223. </div>
  3224. <div class="hideonprint menu" style="float: right; top: 8px;">
  3225. <button class="statsbtn"></button>
  3226. <div class="menu-content">
  3227. <table class="stats">
  3228. <tbody>
  3229. <tr>
  3230. <td width="40%">Board stats</td>
  3231. <td>Front</td>
  3232. <td>Back</td>
  3233. <td>Total</td>
  3234. </tr>
  3235. <tr>
  3236. <td>Components</td>
  3237. <td id="stats-components-front">~</td>
  3238. <td id="stats-components-back">~</td>
  3239. <td id="stats-components-total">~</td>
  3240. </tr>
  3241. <tr>
  3242. <td>Groups</td>
  3243. <td id="stats-groups-front">~</td>
  3244. <td id="stats-groups-back">~</td>
  3245. <td id="stats-groups-total">~</td>
  3246. </tr>
  3247. <tr>
  3248. <td>SMD pads</td>
  3249. <td id="stats-smd-pads-front">~</td>
  3250. <td id="stats-smd-pads-back">~</td>
  3251. <td id="stats-smd-pads-total">~</td>
  3252. </tr>
  3253. <tr>
  3254. <td>TH pads</td>
  3255. <td colspan=3 id="stats-th-pads">~</td>
  3256. </tr>
  3257. </tbody>
  3258. </table>
  3259. <table class="stats">
  3260. <col width="40%"/><col />
  3261. <tbody id="checkbox-stats">
  3262. <tr>
  3263. <td colspan=2 style="border-top: 0">Checkboxes</td>
  3264. </tr>
  3265. </tbody>
  3266. </table>
  3267. </div>
  3268. </div>
  3269. <div class="hideonprint menu" style="float: right; top: 8px;">
  3270. <button class="iobtn"></button>
  3271. <div class="menu-content">
  3272. <div class="menu-label menu-label-top">
  3273. <div style="margin-left: 5px;">Save board image</div>
  3274. <div class="flexbox">
  3275. <input id="render-save-width" class="menu-textbox" type="text" value="1000" placeholder="Width"
  3276. style="flex-grow: 1; width: 50px;" oninput="validateSaveImgDimension(this)">
  3277. <span>X</span>
  3278. <input id="render-save-height" class="menu-textbox" type="text" value="1000" placeholder="Height"
  3279. style="flex-grow: 1; width: 50px;" oninput="validateSaveImgDimension(this)">
  3280. </div>
  3281. <label>
  3282. <input id="render-save-transparent" type="checkbox">
  3283. Transparent background
  3284. </label>
  3285. <div class="flexbox">
  3286. <button class="savebtn" onclick="saveImage('F')">Front</button>
  3287. <button class="savebtn" onclick="saveImage('B')">Back</button>
  3288. </div>
  3289. </div>
  3290. <div class="menu-label">
  3291. <span style="margin-left: 5px;">Config and checkbox state</span>
  3292. <div class="flexbox">
  3293. <button class="savebtn" onclick="saveSettings()">Export</button>
  3294. <button class="savebtn" onclick="loadSettings()">Import</button>
  3295. </div>
  3296. </div>
  3297. </div>
  3298. </div>
  3299. </div>
  3300. <div id="fileinfodiv" style="overflow: auto;">
  3301. <table class="fileinfo">
  3302. <tbody>
  3303. <tr>
  3304. <td id="title" class="title" style="width: 70%">
  3305. Title
  3306. </td>
  3307. <td id="revision" class="title" style="width: 30%">
  3308. Revision
  3309. </td>
  3310. </tr>
  3311. <tr>
  3312. <td id="company">
  3313. Company
  3314. </td>
  3315. <td id="filedate">
  3316. Date
  3317. </td>
  3318. </tr>
  3319. </tbody>
  3320. </table>
  3321. </div>
  3322. </div>
  3323. <div id="bot" class="split" style="height: calc(100% - 80px)">
  3324. <div id="bomdiv" class="split split-horizontal">
  3325. <div style="width: 100%">
  3326. <input id="reflookup" class="textbox searchbox reflookup hideonprint" type="text" placeholder="Ref lookup"
  3327. oninput="updateRefLookup(this.value)">
  3328. <input id="filter" class="textbox searchbox filter hideonprint" type="text" placeholder="Filter"
  3329. oninput="updateFilter(this.value)">
  3330. <div class="button-container hideonprint" style="float: left; margin: 0;">
  3331. <button id="copy" title="Copy bom table to clipboard"
  3332. onclick="copyToClipboard()"></button>
  3333. </div>
  3334. </div>
  3335. <div id="dbg"></div>
  3336. <table class="bom">
  3337. <thead id="bomhead">
  3338. </thead>
  3339. <tbody id="bombody">
  3340. </tbody>
  3341. </table>
  3342. </div>
  3343. <div id="canvasdiv" class="split split-horizontal">
  3344. <div id="frontcanvas" class="split" touch-action="none" style="overflow: hidden">
  3345. <div style="position: relative; width: 100%; height: 100%;">
  3346. <canvas id="F_bg" style="position: absolute; left: 0; top: 0; z-index: 0;"></canvas>
  3347. <canvas id="F_fab" style="position: absolute; left: 0; top: 0; z-index: 1;"></canvas>
  3348. <canvas id="F_slk" style="position: absolute; left: 0; top: 0; z-index: 2;"></canvas>
  3349. <canvas id="F_hl" style="position: absolute; left: 0; top: 0; z-index: 3;"></canvas>
  3350. </div>
  3351. </div>
  3352. <div id="backcanvas" class="split" touch-action="none" style="overflow: hidden">
  3353. <div style="position: relative; width: 100%; height: 100%;">
  3354. <canvas id="B_bg" style="position: absolute; left: 0; top: 0; z-index: 0;"></canvas>
  3355. <canvas id="B_fab" style="position: absolute; left: 0; top: 0; z-index: 1;"></canvas>
  3356. <canvas id="B_slk" style="position: absolute; left: 0; top: 0; z-index: 2;"></canvas>
  3357. <canvas id="B_hl" style="position: absolute; left: 0; top: 0; z-index: 3;"></canvas>
  3358. </div>
  3359. </div>
  3360. </div>
  3361. </div>
  3362. </div>
  3363. </body>
  3364. </html>