{"id":7126,"date":"2024-09-17T17:00:11","date_gmt":"2024-09-17T17:00:11","guid":{"rendered":"https:\/\/artemline.com\/%d0%ba%d0%b0%d0%bb%d1%8c%d0%ba%d1%83%d0%bb%d1%8f%d1%82%d0%be%d1%80-%d1%81%d0%bc%d0%be%d0%bb%d1%8b\/"},"modified":"2026-05-31T21:17:08","modified_gmt":"2026-05-31T21:17:08","slug":"%d0%ba%d0%b0%d0%bb%d1%8c%d0%ba%d1%83%d0%bb%d1%8f%d1%82%d0%be%d1%80-%d1%81%d0%bc%d0%be%d0%bb%d1%8b","status":"publish","type":"page","link":"https:\/\/artemline.com\/ru\/%d0%ba%d0%b0%d0%bb%d1%8c%d0%ba%d1%83%d0%bb%d1%8f%d1%82%d0%be%d1%80-%d1%81%d0%bc%d0%be%d0%bb%d1%8b\/","title":{"rendered":"\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u043c\u043e\u043b\u044b"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"7126\" class=\"elementor elementor-7126 elementor-38\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"wd-negative-gap elementor-element elementor-element-a18ba9d e-flex e-con-boxed e-con e-parent\" data-id=\"a18ba9d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c3a1f5e elementor-widget elementor-widget-shortcode\" data-id=\"c3a1f5e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">      <div id='product__calculator__main'>\n          <h3>Resin consumption<\/h3>\n\n          <span class='heading'>Select fill type<\/span>\n          \n          <!-- TYPE -->\n          <div id='main-calc-type'>\n              <div class='type'>\n                  <label for=\"casting-box-type\" class='casting-box-type'>\n                      <input type=\"radio\" name='main-calc-type' id='casting-box-type'>\n                      <img decoding=\"async\" src=\"\/wp-content\/uploads\/boxcast.webp\" alt=\"\" width=\"0\" height=\"0\" \/>\n                      <span>Rectangular fill<\/span>\n                  <\/label>\n              <\/div>\n              <div class='type'>\n                  <label for=\"casting-circle-type\" class='casting-circle-type'>\n                      <input type=\"radio\" name='main-calc-type' id='casting-circle-type'>\n                      <img decoding=\"async\" src=\"\/wp-content\/uploads\/circlecast.webp\" alt=\"\" width=\"0\" height=\"0\" \/>\n                      <span>Circular fill<\/span>\n                  <\/label>\n              <\/div>\n              <div class='type'>\n                  <label for=\"coating-box-type\" class='coating-box-type'>\n                      <input type=\"radio\" name='main-calc-type' id='coating-box-type'>\n                      <img decoding=\"async\" src=\"\/wp-content\/uploads\/boxcoat.webp\" alt=\"\" width=\"0\" height=\"0\" \/>\n                      <span>Rectangular cover<\/span>\n                  <\/label>\n              <\/div>\n              <div class='type'>\n                  <label for=\"coating-circle-type\" class='coating-circle-type'>\n                      <input type=\"radio\" name='main-calc-type' id='coating-circle-type'>\n                      <img decoding=\"async\" src=\"\/wp-content\/uploads\/circlecoat.webp\" alt=\"\" width=\"0\" height=\"0\" \/>\n                      <span>Circular covering<\/span>\n                  <\/label>\n              <\/div>\n              <div class='type'>\n                  <label for=\"casting-custom-type\" class='casting-custom-type'>\n                      <input type=\"radio\" name='main-calc-type' id='casting-custom-type'>\n                      <img decoding=\"async\" src=\"\/wp-content\/uploads\/customcast.webp\" alt=\"\" width=\"0\" height=\"0\" \/>\n                      <span>Incorrect fill<\/span>\n                  <\/label>\n              <\/div>\n          <\/div>\n\n          <span class='heading'>Enter proportions<\/span>\n\n          <!-- RATIO -->\n          <div class='product__calculator__main'>\n              <div class='label'>Ratio<\/div>\n              <div class='inputs'>\n                <div class=\"input-a\">\n                    <label for=\"main-calc-ratio-a\">Component A<\/label>\n                    <input id='main-calc-ratio-a' type=\"number\" name='ratio-a' value=\"\">\n                <\/div>\n                <!-- <span class='divider'> : <\/span> -->\n                <div class=\"input-b\">\n                    <label for=\"main-calc-ratio-a\">Component B<\/label>\n                    <input id='main-calc-ratio-b' type=\"number\" name='ratio-b' value=\"\">\n                <\/div>\n              <\/div>\n          <\/div>\n\n          <span class='heading'>Enter dimensions<\/span>\n\n          <!-- INPUTS -->\n          <div class=\"main-calc-inputs\">\n              <div id='casting-box-inputs' class='product__calculator__inputs'>\n                  <div class='label'>Length<\/div>\n                  <input id='casting-box-lenght' type=\"number\"> cm\n                  <div class='label'>Width<\/div>\n                  <input id='casting-box-width' type=\"number\"> cm\n                  <div class='label'>Thickness<\/div>\n                  <input id='casting-box-height' type=\"number\"> mm\n              <\/div>\n              <div id='casting-circle-inputs' class='product__calculator__inputs'>\n                  <div class='label'>Diameter<\/div>\n                  <input id='casting-circle-diameter' type=\"number\"> cm\n                  <div class='label'>Thickness<\/div>\n                  <input id='casting-circle-height' type=\"number\"> mm\n              <\/div>\n              <div id='coating-box-inputs' class='product__calculator__inputs'>\n                  <div class='label'>Length<\/div>\n                  <input id='coating-box-lenght' type=\"number\"> cm\n                  <div class='label'>Width<\/div>\n                  <input id='coating-box-width' type=\"number\"> cm\n                  <div class='label'>Thickness<\/div>\n                  <input id='coating-box-height' value='1.5' type=\"number\"> mm \n                  <span><br>* The maximum layer thickness when covering surfaces with resin is 1.5-2 mm<\/br><\/span>\n              <\/div>\n              <div id='coating-circle-inputs' class='product__calculator__inputs'>\n                  <div class='label'>Diameter<\/div>\n                  <input id='coating-circle-diameter' type=\"number\"> cm\n                  <div class='label'>Thickness<\/div>\n                  <input id='coating-circle-height' value='1.5' type=\"number\"> mm\n                  <span><br>* The maximum layer thickness when covering surfaces with resin is 1.5-2 mm<\/br><\/span>\n              <\/div>\n              <div id='casting-custom-inputs' class='product__calculator__inputs'>\n                  <div class='label'>Water weight<\/div>\n                  <input id='casting-custom-weight' type=\"number\"> gr\n                  <p class='custom-type-text'>To calculate the required weight of resin for pouring into an irregular mold, you need to put the mold on the scale, reset the weight, pour into the mold a volume of water equal to the future pouring and enter the resulting weight of water above.<\/p>\n              <\/div>\n          <\/div>\n          \n\n          <!-- RESULT -->\n          <div class='product__calculator__results'>\n              <span class='heading'>Result<\/span>\n\n              <div class='product__calculator__result'>\n                  <div class='product__calculator__result__input'>\n                      <div class='inputs'>\n                          <span class='label'>Total: <\/span>\n                          <span id='main-calc-result-amount'><\/span>\n                          <span>gr<\/span>\n                      <\/div>\n                  <\/div>\n              <\/div>\n              <div class='product__calculator__result'>\n                  <div class='product__calculator__result__input'>\n                      <div class='inputs'>\n                          <span class='label'>Component \u0410: <\/span>\n                          <span id='main-calc-result-a'><\/span>\n                          <span>gr<\/span>\n                      <\/div>\n                  <\/div>\n              <\/div>\n              <div class='product__calculator__result'>\n                  <div class='product__calculator__result__input'>\n                      <div class='inputs'>\n                          <span class='label'>Component B: <\/span>\n                          <span id='main-calc-result-b'><\/span>\n                          <span>gr<\/span>\n                      <\/div>\n                  <\/div>\n              <\/div>\n          <\/div>\n          \n\n      <\/div>\n\n      <script type=\"text\/javascript\">\n          let castingBoxType = document.getElementById(\"casting-box-type\");\n          let castingCircleType = document.getElementById(\"casting-circle-type\");\n          let coatingBoxType = document.getElementById(\"coating-box-type\");\n          let coatingCircleType = document.getElementById(\"coating-circle-type\");\n          let castingCustomType = document.getElementById(\"casting-custom-type\");\n\n          let castingBoxInputs = document.getElementById(\"casting-box-inputs\");\n          let castingCircleInputs = document.getElementById(\"casting-circle-inputs\");\n          let coatingBoxInputs = document.getElementById(\"coating-box-inputs\");\n          let coatingCircleInputs = document.getElementById(\"coating-circle-inputs\");\n          let castingCustomInputs = document.getElementById(\"casting-custom-inputs\");\n\n          let resultAmount = document.getElementById(\"main-calc-result-amount\");\n          let resultA = document.getElementById(\"main-calc-result-a\");\n          let resultB = document.getElementById(\"main-calc-result-b\");\n\n          let allInputs = document.getElementsByClassName(\"product__calculator__inputs\");\n          for(var i=0; i<allInputs.length; i++)allInputs[i].style.display='none';\n\n          var allTypes = document.querySelector(\"div.type label\");\n          for(var i=0; i<allTypes.length; i++)allTypes[i].classList.remove(\"active\");\n\n          function calculation() {\n              let ratioA = parseFloat(document.getElementById(\"main-calc-ratio-a\").value);\n              let ratioB = parseFloat(document.getElementById(\"main-calc-ratio-b\").value);\n\n              if(castingBoxType.checked){\n                  var allInputs = document.getElementsByClassName(\"product__calculator__inputs\");\n                  for(var i=0; i<allInputs.length; i++)allInputs[i].style.display='none';\n\n                  allTypes = document.querySelectorAll(\"div.type label\");\n                  for(var i=0; i<allTypes.length; i++)allTypes[i].classList.remove(\"active\");\n\n                  document.querySelector('label.casting-box-type').classList.add(\"active\");\n\n                  castingBoxInputs.style.display='block';\n                  \n                  \/\/ x y z\n                  var castingBoxLenght = parseFloat(document.getElementById(\"casting-box-lenght\").value);\n                  var castingBoxWidth = parseFloat(document.getElementById(\"casting-box-width\").value);\n                  var castingBoxHeight = parseFloat(document.getElementById(\"casting-box-height\").value);\n\n                  if(castingBoxLenght && castingBoxWidth && castingBoxHeight) {\n                      let S = (castingBoxLenght * castingBoxWidth * castingBoxHeight) * 0.11;\n                      let a1 = (S * ratioA) \/ (ratioA + ratioB);\n                      let b1 = (S * ratioB) \/ (ratioA + ratioB);\n                      resultAmount.innerHTML = S.toFixed(2);\n                      resultA.innerHTML = a1.toFixed(2);\n                      resultB.innerHTML = b1.toFixed(2);\n                  }\n\n              } \n              else if(castingCircleType.checked) {\n                  var allInputs = document.getElementsByClassName(\"product__calculator__inputs\");\n                  for(var i=0; i<allInputs.length; i++)allInputs[i].style.display='none';\n                  castingCircleInputs.style.display='block';\n\n                  allTypes = document.querySelectorAll(\"div.type label\");\n                  for(var i=0; i<allTypes.length; i++)allTypes[i].classList.remove(\"active\");\n                  document.querySelector('label.casting-circle-type').classList.add(\"active\");\n\n                  \/\/ x y z\n                  var castingCircleDiameter = parseFloat(document.getElementById(\"casting-circle-diameter\").value);\n                  var castingBoxHeight = parseFloat(document.getElementById(\"casting-circle-height\").value);\n\n                  if(castingCircleDiameter && castingBoxHeight) {\n                      let v = (Math.PI * (Math.pow(castingCircleDiameter\/2, 2)) * castingBoxHeight * 0.1)\n                      let S = v * 1.1;\n                      let a1 = (S * ratioA) \/ (ratioA + ratioB);\n                      let b1 = (S * ratioB) \/ (ratioA + ratioB);\n                      resultAmount.innerHTML = S.toFixed(2);\n                      resultA.innerHTML = a1.toFixed(2);\n                      resultB.innerHTML = b1.toFixed(2);\n                  }\n              }\n              else if(coatingBoxType.checked) {\n                  var allInputs = document.getElementsByClassName(\"product__calculator__inputs\");\n                  for(var i=0; i<allInputs.length; i++)allInputs[i].style.display='none'; \n                  coatingBoxInputs.style.display='block';\n\n                  allTypes = document.querySelectorAll(\"div.type label\");\n                  for(var i=0; i<allTypes.length; i++)allTypes[i].classList.remove(\"active\");\n                  document.querySelector('label.coating-box-type').classList.add(\"active\");\n\n                  coatingBoxType.classList.add(\"active\");\n                   \/\/ x y z\n                  var coatingBoxLenght = parseFloat(document.getElementById(\"coating-box-lenght\").value);\n                  var coatingBoxWidth = parseFloat(document.getElementById(\"coating-box-width\").value);\n                  var coatingBoxHeight = parseFloat(document.getElementById(\"coating-box-height\").value);\n\n                  if(coatingBoxLenght && coatingBoxWidth && coatingBoxHeight) {\n                      let S = (coatingBoxLenght * coatingBoxWidth * coatingBoxHeight) * 0.11;\n                      let a1 = (S * ratioA) \/ (ratioA + ratioB);\n                      let b1 = (S * ratioB) \/ (ratioA + ratioB);\n                      resultAmount.innerHTML = S.toFixed(2);\n                      resultA.innerHTML = a1.toFixed(2);\n                      resultB.innerHTML = b1.toFixed(2);\n                  }\n              }\n              else if(coatingCircleType.checked) {\n                  var allInputs = document.getElementsByClassName(\"product__calculator__inputs\");\n                  for(var i=0; i<allInputs.length; i++)allInputs[i].style.display='none';\n                  coatingCircleInputs.style.display='block';\n\n                  allTypes = document.querySelectorAll(\"div.type label\");\n                  for(var i=0; i<allTypes.length; i++)allTypes[i].classList.remove(\"active\");\n                  document.querySelector('label.coating-circle-type').classList.add(\"active\");\n\n                  \/\/ x y z\n                  var coatingCircleDiameter = parseFloat(document.getElementById(\"coating-circle-diameter\").value);\n                  var coatingBoxHeight = parseFloat(document.getElementById(\"coating-circle-height\").value);\n\n                  if(coatingCircleDiameter && coatingBoxHeight) {\n                      let v = (Math.PI * (Math.pow(coatingCircleDiameter\/2, 2)) * coatingBoxHeight * 0.1)\n                      let S = v * 1.1;\n                      let a1 = (S * ratioA) \/ (ratioA + ratioB);\n                      let b1 = (S * ratioB) \/ (ratioA + ratioB);\n                      resultAmount.innerHTML = S.toFixed(2);\n                      resultA.innerHTML = a1.toFixed(2);\n                      resultB.innerHTML = b1.toFixed(2);\n                  }\n              }\n              else if(castingCustomType.checked) {\n                  var allInputs = document.getElementsByClassName(\"product__calculator__inputs\");\n                  for(var i=0; i<allInputs.length; i++)allInputs[i].style.display='none';\n                  castingCustomInputs.style.display='block';\n\n                  allTypes = document.querySelectorAll(\"div.type label\");\n                  for(var i=0; i<allTypes.length; i++)allTypes[i].classList.remove(\"active\");\n                  document.querySelector('label.casting-custom-type').classList.add(\"active\");\n\n                  var castingCustomWeight = parseFloat(document.getElementById(\"casting-custom-weight\").value);\n\n                  if(castingCustomWeight) {\n                      console.log(castingCustomWeight);\n                      let S = castingCustomWeight * 1.1;\n                      let a1 = (S * ratioA) \/ (ratioA + ratioB);\n                      let b1 = (S * ratioB) \/ (ratioA + ratioB);\n                      resultAmount.innerHTML = S.toFixed(2);\n                      resultA.innerHTML = a1.toFixed(2);\n                      resultB.innerHTML = b1.toFixed(2);\n                  }\n              }\n          }\n\n          document.getElementById(\"product__calculator__main\").addEventListener(\"input\", calculation);\n      <\/script>\n  <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7126","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/artemline.com\/ru\/wp-json\/wp\/v2\/pages\/7126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artemline.com\/ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/artemline.com\/ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/artemline.com\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artemline.com\/ru\/wp-json\/wp\/v2\/comments?post=7126"}],"version-history":[{"count":1,"href":"https:\/\/artemline.com\/ru\/wp-json\/wp\/v2\/pages\/7126\/revisions"}],"predecessor-version":[{"id":7127,"href":"https:\/\/artemline.com\/ru\/wp-json\/wp\/v2\/pages\/7126\/revisions\/7127"}],"wp:attachment":[{"href":"https:\/\/artemline.com\/ru\/wp-json\/wp\/v2\/media?parent=7126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}