{"id":16018,"date":"2025-06-04T01:13:44","date_gmt":"2025-06-04T01:13:44","guid":{"rendered":"https:\/\/www.mechstream.com\/?p=16018"},"modified":"2025-06-04T01:26:35","modified_gmt":"2025-06-04T01:26:35","slug":"gear-transmission-calculators","status":"publish","type":"post","link":"https:\/\/www.mechstream.com\/ar\/gear-transmission-calculators\/","title":{"rendered":"\u062d\u0627\u0633\u0628\u0627\u062a \u0646\u0627\u0642\u0644 \u0627\u0644\u062d\u0631\u0643\u0629"},"content":{"rendered":"<p class=\"wp-block-paragraph\">\u062d\u0633\u0651\u0646 \u0645\u0634\u0627\u0631\u064a\u0639\u0643 \u0627\u0644\u0647\u0646\u062f\u0633\u064a\u0629 \u0645\u0639 \u062d\u0627\u0633\u0628\u0627\u062a\u0646\u0627 \u0627\u0644\u0645\u062a\u0637\u0648\u0631\u0629 \u0644\u0646\u0627\u0642\u0644 \u0627\u0644\u062d\u0631\u0643\u0629. \u0635\u064f\u0645\u0645\u062a \u0647\u0630\u0647 \u0627\u0644\u062d\u0627\u0633\u0628\u0627\u062a \u0628\u062f\u0642\u0629 \u0648\u0643\u0641\u0627\u0621\u0629 \u0639\u0627\u0644\u064a\u0629\u060c \u062d\u064a\u062b \u062a\u0633\u0627\u0639\u062f\u0643 \u0641\u064a \u062a\u062d\u062f\u064a\u062f \u0646\u0633\u0628 \u0627\u0644\u062a\u0631\u0648\u0633 \u0648\u0639\u0632\u0645 \u0627\u0644\u062f\u0648\u0631\u0627\u0646 \u0648\u0627\u0644\u0633\u0631\u0639\u0629 \u0627\u0644\u0623\u0645\u062b\u0644 \u0644\u0645\u062e\u062a\u0644\u0641 \u0623\u0646\u0638\u0645\u0629 \u0646\u0642\u0644 \u0627\u0644\u062d\u0631\u0643\u0629. \u0633\u0648\u0627\u0621 \u0643\u0646\u062a \u062a\u0639\u0645\u0644 \u0641\u064a \u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0633\u064a\u0627\u0631\u0627\u062a \u0623\u0648 \u0627\u0644\u0635\u0646\u0627\u0639\u0629 \u0623\u0648 \u0627\u0644\u0631\u0648\u0628\u0648\u062a\u0627\u062a\u060c \u062a\u0648\u0641\u0631 \u0623\u062f\u0648\u0627\u062a\u0646\u0627 \u0646\u062a\u0627\u0626\u062c \u0645\u0648\u062b\u0648\u0642\u0629 \u0645\u0635\u0645\u0645\u0629 \u062e\u0635\u064a\u0635\u064b\u0627 \u0644\u062a\u0644\u0628\u064a\u0629 \u0627\u062d\u062a\u064a\u0627\u062c\u0627\u062a\u0643. \u0648\u0641\u0631 \u0627\u0644\u0648\u0642\u062a \u0648\u062d\u0633\u0651\u0646 \u0627\u0644\u062f\u0642\u0629 \u0645\u0639 \u0648\u0627\u062c\u0647\u0627\u062a \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0633\u0647\u0644\u0629 \u0648\u062d\u0633\u0627\u0628\u0627\u062a \u0634\u0627\u0645\u0644\u0629. \u0627\u0633\u062a\u0643\u0634\u0641 \u062d\u0627\u0633\u0628\u0627\u062a\u0646\u0627 \u0644\u062a\u0628\u0633\u064a\u0637 \u0639\u0645\u0644\u064a\u0629 \u0627\u0644\u062a\u0635\u0645\u064a\u0645 \u0648\u062a\u062d\u0642\u064a\u0642 \u0623\u062f\u0627\u0621 \u0645\u064a\u0643\u0627\u0646\u064a\u0643\u064a \u0641\u0627\u0626\u0642.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"626\" height=\"323\" src=\"https:\/\/www.mechstream.com\/wp-content\/uploads\/2025\/06\/\u56fe\u72471-\u5df2\u7f16\u8f91-1.png\" loading=\"lazy\" alt=\"\u062d\u0627\u0633\u0628\u0627\u062a \u0646\u0627\u0642\u0644 \u0627\u0644\u062d\u0631\u0643\u0629\" class=\"wp-image-16019\" srcset=\"https:\/\/www.mechstream.com\/wp-content\/uploads\/2025\/06\/\u56fe\u72471-\u5df2\u7f16\u8f91-1.png 626w, https:\/\/www.mechstream.com\/wp-content\/uploads\/2025\/06\/\u56fe\u72471-\u5df2\u7f16\u8f91-1-300x155.png 300w, https:\/\/www.mechstream.com\/wp-content\/uploads\/2025\/06\/\u56fe\u72471-\u5df2\u7f16\u8f91-1-100x52.png 100w\" sizes=\"(max-width: 626px) 100vw, 626px\" \/><\/figure>\n<\/div>\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>\u062d\u0627\u0633\u0628\u0629 \u0646\u0627\u0642\u0644 \u0627\u0644\u062d\u0631\u0643\u0629 \u0627\u0644\u062e\u0627\u0631\u062c\u064a | \u0623\u062f\u0627\u0629 \u062a\u0635\u0645\u064a\u0645 \u062a\u0631\u0648\u0633 \u0627\u062d\u062a\u0631\u0627\u0641\u064a\u0629<\/title>\n    <style>\n        :root {\n            --primary-color: #2c3e50;\n            --secondary-color: #3498db;\n            --text-color: #333;\n            --border-color: #ddd;\n            --background-color: #f8f9fa;\n            --result-background: #e8f4f8;\n            --tab-inactive-color: #bdc3c7;\n            --tab-active-color: var(--secondary-color);\n        }\n\n        * {\n            margin: 0;\n            padding: 0;\n            box-sizing: border-box;\n        }\n\n        body {\n            font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif;\n            line-height: 1.6;\n            color: var(--text-color);\n            background: #2C45A3;\n        }\n\n        .calculator-container {\n            max-width: 1200px;\n            margin: 2rem auto;\n            padding: 0 1rem;\n        }\n\n        \/* Tab Navigation *\/\n        .tab-nav {\n            display: flex;\n            justify-content: center;\n            margin-bottom: 1.5rem;\n            border-bottom: 2px solid var(--border-color);\n        }\n\n        .tab-button {\n            background: none;\n            border: none;\n            padding: 1rem 1.5rem;\n            cursor: pointer;\n            font-size: 1rem;\n            color: var(--tab-inactive-color);\n            transition: color 0.3s ease, border-bottom 0.3s ease;\n            border-bottom: 2px solid transparent;\n            margin: 0 0.5rem;\n        }\n\n        .tab-button:hover {\n            color: var(--primary-color);\n        }\n\n        .tab-button.active {\n            color: var(--tab-active-color);\n            border-bottom-color: var(--tab-active-color);\n            font-weight: bold;\n        }\n\n        \/* Calculator Sections *\/\n        .calculator-section {\n            display: none;\n        }\n\n        .calculator-section.active {\n            display: block;\n        }\n\n        .section {\n            background: white;\n            border-radius: 8px;\n            padding: 1.5rem;\n            margin-bottom: 1.5rem;\n            box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n        }\n\n        h1, h2, h3 {\n            color: var(--primary-color);\n            margin-bottom: 1rem;\n        }\n\n        .parameters-grid {\n            display: grid;\n            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n            gap: 1rem;\n            margin-bottom: 1rem;\n        }\n\n        .parameter-item {\n            padding: 0.5rem;\n            border-bottom: 1px solid var(--border-color);\n        }\n\n        .parameter-item strong {\n            color: var(--primary-color);\n        }\n\n        .input-grid {\n            display: grid;\n            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n            gap: 1rem;\n            margin-bottom: 1rem;\n        }\n\n        .input-group {\n            display: flex;\n            flex-direction: column;\n            gap: 0.5rem;\n        }\n\n        .input-group label {\n            font-weight: 500;\n            color: var(--primary-color);\n        }\n\n        .input-group input, .input-group select {\n            padding: 0.5rem;\n            border: 1px solid var(--border-color);\n            border-radius: 4px;\n            font-size: 1rem;\n        }\n\n        .calculate-btn {\n            background: var(--secondary-color);\n            color: white;\n            border: none;\n            padding: 0.75rem 1.5rem;\n            border-radius: 4px;\n            cursor: pointer;\n            font-size: 1rem;\n            transition: background 0.3s ease;\n            display: block;\n            width: 25%;\n            margin: 1rem auto;\n        }\n\n        .calculate-btn:hover {\n            background: #2980b9;\n            color: white;\n        }\n\n        .results {\n            display: none;\n            background: var(--result-background);\n            padding: 1.5rem;\n            border-radius: 8px;\n            margin-top: 1.5rem;\n        }\n\n        .results.active {\n            display: block;\n        }\n\n        .result-item {\n            margin-bottom: 0.5rem;\n            font-size: 1.1rem;\n        }\n\n        .result-item strong {\n            color: var(--primary-color);\n        }\n\n        @media (max-width: 768px) {\n            .input-grid {\n                grid-template-columns: 1fr;\n            }\n            \n            .parameters-grid {\n                grid-template-columns: 1fr;\n            }\n            .tab-nav {\n                flex-direction: column;\n                align-items: center;\n            }\n        }\n    <\/style>\n<\/head>\n<body>\n    <div class=\"calculator-container\">\n        <!-- Tab Navigation -->\n        <div class=\"tab-nav\">\n            <button class=\"tab-button active\" data-calculator=\"spur\">\u062a\u0631\u0633 \u062d\u0641\u0632\u064a<\/button>\n            <button class=\"tab-button\" data-calculator=\"helical\">\u062a\u0631\u0633 \u062d\u0644\u0632\u0648\u0646\u064a<\/button>\n            <button class=\"tab-button\" data-calculator=\"herringbone\">\u0645\u0639\u062f\u0627\u062a \u0645\u062a\u0639\u0631\u062c\u0629<\/button>\n        <\/div>\n\n        <!-- Calculator Sections Container -->\n        <div class=\"calculator-sections-container\">\n            <!-- Spur Gear Calculator Section -->\n            <section class=\"calculator-section active\" id=\"spurCalculator\">\n                <h2>\u062d\u0627\u0633\u0628\u0629 \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0645\u062d\u0641\u0632<\/h2>\n                <!-- Combined Parameters and Calculator Section for Spur Gear -->\n                <section class=\"section\">\n                    <h3>\u062d\u062f\u0648\u062f<\/h3>\n                    <div class=\"parameters-grid\">\n                        <div class=\"parameter-item\">\n                            <strong>\u0627\u0644\u0648\u062d\u062f\u0629 (\u0645):<\/strong> \u0646\u0633\u0628\u0629 \u0642\u0637\u0631 \u0627\u0644\u0645\u0644\u0639\u0628 \u0625\u0644\u0649 \u0639\u062f\u062f \u0627\u0644\u0623\u0633\u0646\u0627\u0646.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0639\u062f\u062f \u0627\u0644\u0623\u0633\u0646\u0627\u0646 (\u0632):<\/strong> \u0627\u0644\u0639\u062f\u062f \u0627\u0644\u0625\u062c\u0645\u0627\u0644\u064a \u0644\u0644\u0623\u0633\u0646\u0627\u0646 \u0627\u0644\u0645\u0648\u062c\u0648\u062f\u0629 \u0641\u064a \u0627\u0644\u062a\u0631\u0633.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u0636\u063a\u0637 (\u03b1):<\/strong> \u0627\u0644\u0632\u0627\u0648\u064a\u0629 \u0628\u064a\u0646 \u062e\u0637 \u0627\u0644\u0639\u0645\u0644 \u0648\u0627\u0644\u0638\u0644 \u0644\u062f\u0627\u0626\u0631\u0629 \u0627\u0644\u0645\u0644\u0639\u0628.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0639\u062f\u062f \u0623\u0633\u0646\u0627\u0646 \u0627\u0644\u062a\u0631\u0633 2 (z2):<\/strong> \u0627\u0644\u0639\u062f\u062f \u0627\u0644\u0625\u062c\u0645\u0627\u0644\u064a \u0644\u0644\u0623\u0633\u0646\u0627\u0646 \u0627\u0644\u0645\u0648\u062c\u0648\u062f\u0629 \u0641\u064a \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0645\u062a\u0632\u0627\u0648\u062c.\n                        <\/div>\n                    <\/div>\n\n                    <h3>\u0627\u0644\u0622\u0644\u0629 \u0627\u0644\u062d\u0627\u0633\u0628\u0629<\/h3>\n                    <form id=\"spurGearCalculatorForm\" action=\"\">\n                        <div class=\"input-grid\">\n                            <div class=\"input-group\">\n                                <label for=\"spurModule\">\u0627\u0644\u0648\u062d\u062f\u0629 (\u0645):<\/label>\n                                <input type=\"number\" id=\"spurModule\" step=\"0.1\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"spurTeeth1\">\u0639\u062f\u062f \u0627\u0644\u0623\u0633\u0646\u0627\u0646 (z1):<\/label>\n                                <input type=\"number\" id=\"spurTeeth1\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"spurTeeth2\">\u0639\u062f\u062f \u0627\u0644\u0623\u0633\u0646\u0627\u0646 (z2):<\/label>\n                                <input type=\"number\" id=\"spurTeeth2\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"spurPressureAngle\">\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u0636\u063a\u0637 (\u03b1):<\/label>\n                                <input type=\"number\" id=\"spurPressureAngle\" step=\"0.01\" required>\n                            <\/div>\n                        <\/div>\n                        <button type=\"submit\" class=\"calculate-btn\">\u0627\u062d\u0633\u0628<\/button>\n                    <input type=\"hidden\" name=\"trp-form-language\" value=\"ar\"\/><\/form>\n                <\/section>\n\n                <!-- Results Section for Spur Gear -->\n                <section class=\"results\" id=\"spurResults\">\n                    <h3>\u0646\u062a\u0627\u0626\u062c \u0627\u0644\u062d\u0633\u0627\u0628 (\u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0645\u062d\u0641\u0632)<\/h3>\n                    <div id=\"spurCalculationResults\">\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u0627\u0644\u0645\u0644\u0639\u0628 1 (d1):<\/strong> <span id=\"spurPitchDiameter1\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u0627\u0644\u0645\u0644\u0639\u0628 2 (d2):<\/strong> <span id=\"spurPitchDiameter2\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0645\u0631\u0643\u0632 (\u0623):<\/strong> <span id=\"spurCenterDistance\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u0627\u0644\u062f\u0627\u0626\u0631\u0629 \u0627\u0644\u0623\u0633\u0627\u0633\u064a\u0629 1 (db1):<\/strong> <span id=\"spurBaseCircleDiameter1\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u0627\u0644\u062f\u0627\u0626\u0631\u0629 \u0627\u0644\u0623\u0633\u0627\u0633\u064a\u0629 2 (db2):<\/strong> <span id=\"spurBaseCircleDiameter2\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u0627\u0644\u062f\u0627\u0626\u0631\u0629 \u0627\u0644\u0625\u0636\u0627\u0641\u064a\u0629 1 (da1):<\/strong> <span id=\"spurAddendumCircleDiameter1\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u0627\u0644\u062f\u0627\u0626\u0631\u0629 \u0627\u0644\u0625\u0636\u0627\u0641\u064a\u0629 2 (da2):<\/strong> <span id=\"spurAddendumCircleDiameter2\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u062f\u0627\u0626\u0631\u0629 \u062f\u064a\u062f\u0646\u062f\u0648\u0645 1 (df1):<\/strong> <span id=\"spurDedendumCircleDiameter1\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u062f\u0627\u0626\u0631\u0629 \u062f\u064a\u062f\u0646\u062f\u0648\u0645 2 (df2):<\/strong> <span id=\"spurDedendumCircleDiameter2\"><\/span> \u0645\u0645<\/div>\n                    <\/div>\n                <\/section>\n            <\/section>\n\n            <!-- Helical Gear Calculator Section -->\n            <section class=\"calculator-section\" id=\"helicalCalculator\">\n                <h2>\u062d\u0627\u0633\u0628\u0629 \u0627\u0644\u062a\u0631\u0648\u0633 \u0627\u0644\u062d\u0644\u0632\u0648\u0646\u064a\u0629<\/h2>\n                <!-- Combined Parameters and Calculator Section for Helical Gear -->\n                <section class=\"section\">\n                    <h3>\u062d\u062f\u0648\u062f<\/h3>\n                    <div class=\"parameters-grid\">\n                        <div class=\"parameter-item\">\n                            <strong>\u0623\u0633\u0646\u0627\u0646 \u0627\u0644\u062a\u0631\u0648\u0633 \u0627\u0644\u0635\u063a\u064a\u0631\u0629 (Z1):<\/strong> \u0639\u062f\u062f \u0627\u0644\u0623\u0633\u0646\u0627\u0646 \u0641\u064a \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0635\u063a\u064a\u0631.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0623\u0633\u0646\u0627\u0646 \u0627\u0644\u062a\u0631\u0648\u0633 \u0627\u0644\u0643\u0628\u064a\u0631\u0629 (Z2):<\/strong> \u0639\u062f\u062f \u0627\u0644\u0623\u0633\u0646\u0627\u0646 \u0641\u064a \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0643\u0628\u064a\u0631.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0627\u0644\u0648\u062d\u062f\u0629 \u0627\u0644\u0639\u0627\u062f\u064a\u0629 (mf):<\/strong> \u0646\u0633\u0628\u0629 \u0642\u0637\u0631 \u0627\u0644\u0645\u0644\u0639\u0628 \u0625\u0644\u0649 \u0639\u062f\u062f \u0627\u0644\u0623\u0633\u0646\u0627\u0646 \u0641\u064a \u0627\u0644\u0645\u0633\u062a\u0648\u0649 \u0627\u0644\u0637\u0628\u064a\u0639\u064a.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u062d\u0644\u0632\u0648\u0646 (\u03b2):<\/strong> \u0627\u0644\u0632\u0627\u0648\u064a\u0629 \u0628\u064a\u0646 \u0627\u0644\u062d\u0644\u0632\u0648\u0646 \u0648\u0645\u062d\u0648\u0631 \u0627\u0644\u062a\u0631\u0633.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0645\u0631\u0643\u0632 (\u0623):<\/strong> \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0628\u064a\u0646 \u0645\u0631\u0643\u0632\u064a \u0627\u0644\u062a\u0631\u0633\u064a\u0646.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u0636\u063a\u0637 (\u03b1):<\/strong> \u0627\u0644\u0632\u0627\u0648\u064a\u0629 \u0628\u064a\u0646 \u062e\u0637 \u0627\u0644\u0639\u0645\u0644 \u0648\u0627\u0644\u0638\u0644 \u0644\u062f\u0627\u0626\u0631\u0629 \u0627\u0644\u0645\u0644\u0639\u0628 (\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u0636\u063a\u0637 \u0627\u0644\u0637\u0628\u064a\u0639\u064a\u0629 \u0639\u0644\u0649 \u0627\u0644\u0623\u0631\u062c\u062d).\n                        <\/div>\n                    <\/div>\n\n                    <h3>\u0627\u0644\u0622\u0644\u0629 \u0627\u0644\u062d\u0627\u0633\u0628\u0629<\/h3>\n                    <form id=\"helicalGearCalculatorForm\" action=\"\">\n                        <div class=\"input-grid\">\n                            <div class=\"input-group\">\n                                <label for=\"z1\">\u0623\u0633\u0646\u0627\u0646 \u0627\u0644\u062a\u0631\u0648\u0633 \u0627\u0644\u0635\u063a\u064a\u0631\u0629 (Z1):<\/label>\n                                <input type=\"number\" id=\"z1\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"z2\">\u0623\u0633\u0646\u0627\u0646 \u0627\u0644\u062a\u0631\u0648\u0633 \u0627\u0644\u0643\u0628\u064a\u0631\u0629 (Z2):<\/label>\n                                <input type=\"number\" id=\"z2\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"normalModule\">\u0627\u0644\u0648\u062d\u062f\u0629 \u0627\u0644\u0639\u0627\u062f\u064a\u0629 (mf):<\/label>\n                                <input type=\"number\" id=\"normalModule\" step=\"0.01\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"helixAngle\">\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u062d\u0644\u0632\u0648\u0646 (\u03b2):<\/label>\n                                <input type=\"number\" id=\"helixAngle\" step=\"0.01\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"centerDistance\">\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0645\u0631\u0643\u0632 (\u0623):<\/label>\n                                <input type=\"number\" id=\"centerDistance\" step=\"0.01\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"pressureAngle\">\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u0636\u063a\u0637 (\u03b1):<\/label>\n                                <input type=\"number\" id=\"pressureAngle\" step=\"0.01\" required>\n                            <\/div>\n                        <\/div>\n                        <button type=\"submit\" class=\"calculate-btn\">\u0627\u062d\u0633\u0628<\/button>\n                    <input type=\"hidden\" name=\"trp-form-language\" value=\"ar\"\/><\/form>\n                <\/section>\n\n                <!-- Results Section for Helical Gear -->\n                <section class=\"results\" id=\"helicalResults\">\n                    <h3>\u0646\u062a\u0627\u0626\u062c \u0627\u0644\u062d\u0633\u0627\u0628\u0627\u062a (\u0627\u0644\u062a\u0631\u0648\u0633 \u0627\u0644\u062d\u0644\u0632\u0648\u0646\u064a\u0629)<\/h3>\n                    <div id=\"helicalCalculationResults\">\n                        <div class=\"result-item\"><strong>\u0627\u0644\u0648\u062d\u062f\u0629 \u0627\u0644\u0639\u0631\u0636\u064a\u0629 (mdu):<\/strong> <span id=\"mdu\"><\/span> <\/div>\n                        <div class=\"result-item\"><strong>\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0645\u0631\u0643\u0632 \u063a\u064a\u0631 \u0627\u0644\u0645\u062d\u0648\u0644\u0629 (A0):<\/strong> <span id=\"a0\"><\/span> <\/div>\n                        <div class=\"result-item\"><strong>\u0645\u0639\u0627\u0645\u0644 \u062a\u063a\u064a\u0631 \u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0645\u0631\u0643\u0632 (y):<\/strong> <span id=\"y\"><\/span> <\/div>\n                        <div class=\"result-item\"><strong>\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u062a\u062f\u0627\u062e\u0644 (\u03b1&#039;):<\/strong> <span id=\"alphaPrime\"><\/span> \u062f\u0631\u062c\u0627\u062a<\/div>\n                        <div class=\"result-item\"><strong>\u0625\u062c\u0645\u0627\u0644\u064a \u0645\u0639\u0627\u0645\u0644 \u062a\u062d\u0648\u0644 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0634\u062e\u0635\u064a (\u03be \u03a3):<\/strong> <span id=\"totalProfileShift\"><\/span> <\/div>\n                        <div class=\"result-item\"><strong>\u0645\u0639\u0627\u0645\u0644 \u062a\u063a\u064a\u0631 \u0627\u0631\u062a\u0641\u0627\u0639 \u0627\u0644\u0633\u0646 (\u0394y):<\/strong> <span id=\"deltaY\"><\/span> <\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u062e\u0637\u0648\u0629 \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0635\u063a\u064a\u0631\u0629 (Dfe1):<\/strong> <span id=\"dfe1\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u062e\u0637\u0648\u0629 \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0643\u0628\u064a\u0631\u0629 (Dfe2):<\/strong> <span id=\"dfe2\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u062f\u0627\u0626\u0631\u0629 \u0645\u0644\u062d\u0642 \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0635\u063a\u064a\u0631 (Df1):<\/strong> <span id=\"df1\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u062f\u0627\u0626\u0631\u0629 \u0645\u0644\u062d\u0642 \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0643\u0628\u064a\u0631 (Df2):<\/strong> <span id=\"df2\"><\/span> \u0645\u0645<\/div>\n                    <\/div>\n                <\/section>\n            <\/section>\n\n            <!-- Herringbone Gear Calculator Section -->\n            <section class=\"calculator-section\" id=\"herringboneCalculator\">\n                <h2>\u062d\u0627\u0633\u0628\u0629 \u062a\u0631\u0648\u0633 \u0645\u062a\u0639\u0631\u062c\u0629<\/h2>\n                <!-- Combined Parameters and Calculator Section for Herringbone Gear -->\n                <section class=\"section\">\n                    <h3>\u062d\u062f\u0648\u062f<\/h3>\n                    <div class=\"parameters-grid\">\n                        <div class=\"parameter-item\">\n                            <strong>\u0623\u0633\u0646\u0627\u0646 \u0627\u0644\u062a\u0631\u0648\u0633 \u0627\u0644\u0635\u063a\u064a\u0631\u0629 (Z1):<\/strong> \u0639\u062f\u062f \u0627\u0644\u0623\u0633\u0646\u0627\u0646 \u0641\u064a \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0635\u063a\u064a\u0631.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0623\u0633\u0646\u0627\u0646 \u0627\u0644\u062a\u0631\u0648\u0633 \u0627\u0644\u0643\u0628\u064a\u0631\u0629 (Z2):<\/strong> \u0639\u062f\u062f \u0627\u0644\u0623\u0633\u0646\u0627\u0646 \u0641\u064a \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0643\u0628\u064a\u0631.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0627\u0644\u0648\u062d\u062f\u0629 \u0627\u0644\u0639\u0627\u062f\u064a\u0629 (mf):<\/strong> \u0646\u0633\u0628\u0629 \u0642\u0637\u0631 \u0627\u0644\u0645\u0644\u0639\u0628 \u0625\u0644\u0649 \u0639\u062f\u062f \u0627\u0644\u0623\u0633\u0646\u0627\u0646 \u0641\u064a \u0627\u0644\u0645\u0633\u062a\u0648\u0649 \u0627\u0644\u0637\u0628\u064a\u0639\u064a.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u062d\u0644\u0632\u0648\u0646 (\u03b2):<\/strong> \u0627\u0644\u0632\u0627\u0648\u064a\u0629 \u0628\u064a\u0646 \u0627\u0644\u062d\u0644\u0632\u0648\u0646 \u0648\u0645\u062d\u0648\u0631 \u0627\u0644\u062a\u0631\u0633 (\u0646\u0641\u0633 \u0627\u0644\u0645\u0642\u062f\u0627\u0631 \u0644\u0643\u0644\u0627 \u0627\u0644\u0646\u0635\u0641\u064a\u0646).\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u0636\u063a\u0637 (\u03b1):<\/strong> \u0627\u0644\u0632\u0627\u0648\u064a\u0629 \u0628\u064a\u0646 \u062e\u0637 \u0627\u0644\u0639\u0645\u0644 \u0648\u0627\u0644\u0638\u0644 \u0644\u062f\u0627\u0626\u0631\u0629 \u0627\u0644\u0645\u0644\u0639\u0628 (\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u0636\u063a\u0637 \u0627\u0644\u0637\u0628\u064a\u0639\u064a\u0629 \u0639\u0644\u0649 \u0627\u0644\u0623\u0631\u062c\u062d).\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0639\u0631\u0636 \u0627\u0644\u0648\u062c\u0647 (\u0628):<\/strong> \u0639\u0631\u0636 \u0648\u062c\u0647 \u0633\u0646 \u0627\u0644\u062a\u0631\u0633.\n                        <\/div>\n                        <div class=\"parameter-item\">\n                            <strong>\u0639\u0631\u0636 \u0627\u0644\u0623\u062e\u062f\u0648\u062f \u0627\u0644\u062f\u0627\u062e\u0644\u064a:<\/strong> \u0639\u0631\u0636 \u0627\u0644\u0641\u062c\u0648\u0629 \u0628\u064a\u0646 \u0627\u0644\u0646\u0635\u0641\u064a\u0646 \u0627\u0644\u062d\u0644\u0632\u0648\u0646\u064a\u064a\u0646.\n                        <\/div>\n                    <\/div>\n\n                    <h3>\u0627\u0644\u0622\u0644\u0629 \u0627\u0644\u062d\u0627\u0633\u0628\u0629<\/h3>\n                    <form id=\"herringboneGearCalculatorForm\" action=\"\">\n                        <div class=\"input-grid\">\n                            <div class=\"input-group\">\n                                <label for=\"herringboneZ1\">\u0623\u0633\u0646\u0627\u0646 \u0627\u0644\u062a\u0631\u0648\u0633 \u0627\u0644\u0635\u063a\u064a\u0631\u0629 (Z1):<\/label>\n                                <input type=\"number\" id=\"herringboneZ1\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"herringboneZ2\">\u0623\u0633\u0646\u0627\u0646 \u0627\u0644\u062a\u0631\u0648\u0633 \u0627\u0644\u0643\u0628\u064a\u0631\u0629 (Z2):<\/label>\n                                <input type=\"number\" id=\"herringboneZ2\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"herringboneNormalModule\">\u0627\u0644\u0648\u062d\u062f\u0629 \u0627\u0644\u0639\u0627\u062f\u064a\u0629 (mf):<\/label>\n                                <input type=\"number\" id=\"herringboneNormalModule\" step=\"0.01\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"herringboneHelixAngle\">\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u062d\u0644\u0632\u0648\u0646 (\u03b2):<\/label>\n                                <input type=\"number\" id=\"herringboneHelixAngle\" step=\"0.01\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"herringbonePressureAngle\">\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u0636\u063a\u0637 (\u03b1):<\/label>\n                                <input type=\"number\" id=\"herringbonePressureAngle\" step=\"0.01\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"herringboneFaceWidth\">\u0639\u0631\u0636 \u0627\u0644\u0648\u062c\u0647 (\u0628):<\/label>\n                                <input type=\"number\" id=\"herringboneFaceWidth\" step=\"0.01\" required>\n                            <\/div>\n                            <div class=\"input-group\">\n                                <label for=\"herringboneGrooveWidth\">\u0639\u0631\u0636 \u0627\u0644\u0623\u062e\u062f\u0648\u062f \u0627\u0644\u062f\u0627\u062e\u0644\u064a:<\/label>\n                                <input type=\"number\" id=\"herringboneGrooveWidth\" step=\"0.01\" required>\n                            <\/div>\n                        <\/div>\n                        <button type=\"submit\" class=\"calculate-btn\">\u0627\u062d\u0633\u0628<\/button>\n                    <input type=\"hidden\" name=\"trp-form-language\" value=\"ar\"\/><\/form>\n                <\/section>\n\n                <!-- Results Section for Herringbone Gear -->\n                <section class=\"results\" id=\"herringboneResults\">\n                    <h3>\u0646\u062a\u0627\u0626\u062c \u0627\u0644\u062d\u0633\u0627\u0628\u0627\u062a (\u062a\u0631\u0648\u0633 \u0645\u062a\u0639\u0631\u062c\u0629)<\/h3>\n                    <div id=\"herringboneCalculationResults\">\n                        <div class=\"result-item\"><strong>\u0627\u0644\u0648\u062d\u062f\u0629 \u0627\u0644\u0639\u0631\u0636\u064a\u0629 (mdu):<\/strong> <span id=\"herringbonemdu\"><\/span> <\/div>\n                        <div class=\"result-item\"><strong>\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0645\u0631\u0643\u0632 \u063a\u064a\u0631 \u0627\u0644\u0645\u062d\u0648\u0644\u0629 (A0):<\/strong> <span id=\"herringbonea0\"><\/span> <\/div>\n                        <div class=\"result-item\"><strong>\u0645\u0639\u0627\u0645\u0644 \u062a\u063a\u064a\u0631 \u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0645\u0631\u0643\u0632 (y):<\/strong> <span id=\"herringboney\"><\/span> <\/div>\n                        <div class=\"result-item\"><strong>\u0632\u0627\u0648\u064a\u0629 \u0627\u0644\u062a\u062f\u0627\u062e\u0644 (\u03b1&#039;):<\/strong> <span id=\"herringbonealphaPrime\"><\/span> \u062f\u0631\u062c\u0627\u062a<\/div>\n                        <div class=\"result-item\"><strong>\u0625\u062c\u0645\u0627\u0644\u064a \u0645\u0639\u0627\u0645\u0644 \u062a\u062d\u0648\u0644 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0634\u062e\u0635\u064a (\u03be \u03a3):<\/strong> <span id=\"herringbonetotalProfileShift\"><\/span> <\/div>\n                        <div class=\"result-item\"><strong>\u0645\u0639\u0627\u0645\u0644 \u062a\u063a\u064a\u0631 \u0627\u0631\u062a\u0641\u0627\u0639 \u0627\u0644\u0633\u0646 (\u0394y):<\/strong> <span id=\"herringbonedeltaY\"><\/span> <\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u062e\u0637\u0648\u0629 \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0635\u063a\u064a\u0631\u0629 (Dfe1):<\/strong> <span id=\"herringbonedfe1\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u062e\u0637\u0648\u0629 \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0643\u0628\u064a\u0631\u0629 (Dfe2):<\/strong> <span id=\"herringbonedfe2\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u062f\u0627\u0626\u0631\u0629 \u0645\u0644\u062d\u0642 \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0635\u063a\u064a\u0631 (Df1):<\/strong> <span id=\"herringbonedf1\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0642\u0637\u0631 \u062f\u0627\u0626\u0631\u0629 \u0645\u0644\u062d\u0642 \u0627\u0644\u062a\u0631\u0633 \u0627\u0644\u0643\u0628\u064a\u0631 (Df2):<\/strong> <span id=\"herringbonedf2\"><\/span> \u0645\u0645<\/div>\n                        <div class=\"result-item\"><strong>\u0639\u0631\u0636 \u0627\u0644\u0648\u062c\u0647 \u0627\u0644\u0625\u062c\u0645\u0627\u0644\u064a:<\/strong> <span id=\"herringboneTotalFaceWidth\"><\/span> \u0645\u0645<\/div>\n                    <\/div>\n                <\/section>\n            <\/section>\n        <\/div>\n    <\/div>\n\n    <script>\n        \/\/ Tab Switching Logic\n        document.querySelectorAll('.tab-button').forEach(button => {\n            button.addEventListener('click', () => {\n                \/\/ Remove active class from all buttons and sections\n                document.querySelectorAll('.tab-button').forEach(btn => btn.classList.remove('active'));\n                document.querySelectorAll('.calculator-section').forEach(section => section.classList.remove('active'));\n\n                \/\/ Add active class to the clicked button\n                button.classList.add('active');\n\n                \/\/ Get the target calculator ID from data-calculator attribute\n                const targetCalculatorId = button.getAttribute('data-calculator') + 'Calculator';\n                \n                \/\/ Add active class to the corresponding calculator section\n                document.getElementById(targetCalculatorId).classList.add('active');\n\n                \/\/ Hide results section when switching tabs\n                document.getElementById('spurResults').classList.remove('active');\n                document.getElementById('helicalResults').classList.remove('active');\n                document.getElementById('herringboneResults').classList.remove('active');\n            });\n        });\n\n        \/\/ Spur Gear Calculator Logic\n        document.getElementById('spurGearCalculatorForm').addEventListener('submit', function(e) {\n            e.preventDefault();\n            \n            \/\/ Get input values\n            const m = parseFloat(document.getElementById('spurModule').value);\n            const z1 = parseInt(document.getElementById('spurTeeth1').value);\n            const z2 = parseInt(document.getElementById('spurTeeth2').value);\n            const alpha = parseFloat(document.getElementById('spurPressureAngle').value);\n\n            \/\/ Standard Spur Gear Calculations\n            const d1 = m * z1;\n            const d2 = m * z2;\n            const centerDistance = (d1 + d2) \/ 2;\n            const alpha_rad = alpha * Math.PI \/ 180;\n            const db1 = d1 * Math.cos(alpha_rad);\n            const db2 = d2 * Math.cos(alpha_rad);\n\n            \/\/ Assuming standard addendum (1*m) and dedendum (1.25*m)\n            const ha = 1 * m;\n            const hf = 1.25 * m;\n\n            const da1 = d1 + 2 * ha;\n            const df1 = d1 - 2 * hf;\n            const da2 = d2 + 2 * ha;\n            const df2 = d2 - 2 * hf;\n\n            \/\/ Display results\n            document.getElementById('spurPitchDiameter1').textContent = d1.toFixed(2);\n            document.getElementById('spurPitchDiameter2').textContent = d2.toFixed(2);\n            document.getElementById('spurCenterDistance').textContent = centerDistance.toFixed(2);\n            document.getElementById('spurBaseCircleDiameter1').textContent = db1.toFixed(2);\n            document.getElementById('spurBaseCircleDiameter2').textContent = db2.toFixed(2);\n            document.getElementById('spurAddendumCircleDiameter1').textContent = da1.toFixed(2);\n            document.getElementById('spurAddendumCircleDiameter2').textContent = da2.toFixed(2);\n            document.getElementById('spurDedendumCircleDiameter1').textContent = df1.toFixed(2);\n            document.getElementById('spurDedendumCircleDiameter2').textContent = df2.toFixed(2);\n\n            \/\/ Show results section\n            document.getElementById('spurResults').classList.add('active');\n        });\n\n        \/\/ Helical Gear Calculator Logic\n        document.getElementById('helicalGearCalculatorForm').addEventListener('submit', function(e) {\n            e.preventDefault();\n            \n            \/\/ Get input values\n            const z1 = parseInt(document.getElementById('z1').value);\n            const z2 = parseInt(document.getElementById('z2').value);\n            const mn = parseFloat(document.getElementById('normalModule').value);\n            const beta = parseFloat(document.getElementById('helixAngle').value);\n            const A = parseFloat(document.getElementById('centerDistance').value);\n            const alpha_n = parseFloat(document.getElementById('pressureAngle').value);\n\n            \/\/ --- Calculation Logic Placeholder for Helical ---\n            \/\/ Replace this with the actual formulas from your Excel file\n            let mdu; \/\/ Transverse Module\n            let A0; \/\/ Unshifted Center Distance\n            let y; \/\/ Center Distance Variation Coefficient\n            let alphaPrime; \/\/ Meshing Angle\n            let totalProfileShift; \/\/ Total Profile Shift Coefficient\n            let deltaY; \/\/ Tooth Height Variation Coefficient\n            let dfe1; \/\/ Small Gear Pitch Diameter\n            let dfe2; \/\/ Large Gear Pitch Diameter\n            let df1; \/\/ Small Gear Addendum Circle Diameter (or Dedendum, clarify with formulas)\n            let df2; \/\/ Large Gear Addendum Circle Diameter (or Dedendum, clarify with formulas)\n\n            const beta_rad = beta * Math.PI \/ 180;\n            const alpha_n_rad = alpha_n * Math.PI \/ 180;\n\n            \/\/ Standard transverse module\n            mdu = mn \/ Math.cos(beta_rad);\n            \n            \/\/ Standard unshifted center distance\n            A0 = (z1 + z2) * mdu \/ 2;\n\n            \/\/ --- Placeholder calculations (REPLACE WITH REAL CALCULATIONS FROM EXCEL) ---\n            y = (A - A0) \/ mn; \/\/ Example formula for y if A is input\n\n            \/\/ You need to add the formulas here to calculate all the output variables\n            alphaPrime = 'Calculate from Excel formula';\n            totalProfileShift = 'Calculate from Excel formula';\n            deltaY = 'Calculate from Excel formula';\n            dfe1 = mdu * z1; \/\/ Pitch diameter definition\n            dfe2 = mdu * z2; \/\/ Pitch diameter definition\n            df1 = 'Calculate from Excel formula'; \/\/ Addendum\/Dedendum diameter\n            df2 = 'Calculate from Excel formula'; \/\/ Addendum\/Dedendum diameter\n\n            \/\/ Display results\n            document.getElementById('mdu').textContent = typeof mdu === 'number' ? mdu.toFixed(4) : mdu;\n            document.getElementById('a0').textContent = typeof A0 === 'number' ? A0.toFixed(4) : A0;\n            document.getElementById('y').textContent = typeof y === 'number' ? y.toFixed(4) : y;\n            document.getElementById('alphaPrime').textContent = typeof alphaPrime === 'number' ? alphaPrime.toFixed(4) : alphaPrime;\n            document.getElementById('totalProfileShift').textContent = typeof totalProfileShift === 'number' ? totalProfileShift.toFixed(4) : totalProfileShift;\n            document.getElementById('deltaY').textContent = typeof deltaY === 'number' ? deltaY.toFixed(4) : deltaY;\n            document.getElementById('dfe1').textContent = typeof dfe1 === 'number' ? dfe1.toFixed(4) : dfe1;\n            document.getElementById('dfe2').textContent = typeof dfe2 === 'number' ? dfe2.toFixed(4) : dfe2;\n            document.getElementById('df1').textContent = typeof df1 === 'number' ? df1.toFixed(4) : df1;\n            document.getElementById('df2').textContent = typeof df2 === 'number' ? df2.toFixed(4) : df2;\n            \n            \/\/ Show results section\n            document.getElementById('helicalResults').classList.add('active');\n        });\n\n        \/\/ Herringbone Gear Calculator Logic\n        document.getElementById('herringboneGearCalculatorForm').addEventListener('submit', function(e) {\n            e.preventDefault();\n\n            \/\/ Get input values\n            const z1 = parseInt(document.getElementById('herringboneZ1').value);\n            const z2 = parseInt(document.getElementById('herringboneZ2').value);\n            const mn = parseFloat(document.getElementById('herringboneNormalModule').value);\n            const beta = parseFloat(document.getElementById('herringboneHelixAngle').value);\n            const alpha_n = parseFloat(document.getElementById('herringbonePressureAngle').value);\n            const faceWidth = parseFloat(document.getElementById('herringboneFaceWidth').value);\n            const grooveWidth = parseFloat(document.getElementById('herringboneGrooveWidth').value);\n\n            \/\/ --- Calculation Logic Placeholder for Herringbone ---\n            \/\/ This will be similar to helical gear calculations for basic dimensions\n            \/\/ but might have additional considerations based on specific formulas.\n            let mdu; \/\/ Transverse Module\n            let A0; \/\/ Unshifted Center Distance\n            let y; \/\/ Center Distance Variation Coefficient\n            let alphaPrime; \/\/ Meshing Angle\n            let totalProfileShift; \/\/ Total Profile Shift Coefficient\n            let deltaY; \/\/ Tooth Height Variation Coefficient\n            let dfe1; \/\/ Small Gear Pitch Diameter\n            let dfe2; \/\/ Large Gear Pitch Diameter\n            let df1; \/\/ Small Gear Addendum Circle Diameter (or Dedendum)\n            let df2; \/\/ Large Gear Addendum Circle Diameter (or Dedendum)\n            let totalFaceWidth; \/\/ Total Face Width including groove\n\n            const beta_rad = beta * Math.PI \/ 180;\n            const alpha_n_rad = alpha_n * Math.PI \/ 180;\n\n            \/\/ Standard transverse module (assuming based on normal module)\n            mdu = mn \/ Math.cos(beta_rad);\n\n            \/\/ Standard unshifted center distance\n            A0 = (z1 + z2) * mdu \/ 2;\n\n            \/\/ --- Placeholder calculations (REPLACE WITH REAL CALCULATIONS) ---\n            \/\/ Calculations for y, alphaPrime, totalProfileShift, deltaY, dfe1, dfe2, df1, df2\n            \/\/ will likely follow similar principles as your helical calculations.\n            \/\/ Total face width is usually 2 * (faceWidth of one half) + grooveWidth\n\n            y = 'Calculate from Excel formula';\n            alphaPrime = 'Calculate from Excel formula';\n            totalProfileShift = 'Calculate from Excel formula';\n            deltaY = 'Calculate from Excel formula';\n            dfe1 = mdu * z1; \/\/ Pitch diameter definition\n            dfe2 = mdu * z2; \/\/ Pitch diameter definition\n            df1 = 'Calculate from Excel formula'; \/\/ Addendum\/Dedendum diameter\n            df2 = 'Calculate from Excel formula'; \/\/ Addendum\/Dedendum diameter\n            totalFaceWidth = 2 * faceWidth + grooveWidth; \/\/ Example\n\n            \/\/ Display results\n            document.getElementById('herringbonemdu').textContent = typeof mdu === 'number' ? mdu.toFixed(4) : mdu;\n            document.getElementById('herringbonea0').textContent = typeof A0 === 'number' ? A0.toFixed(4) : A0;\n            document.getElementById('herringboney').textContent = typeof y === 'number' ? y.toFixed(4) : y;\n            document.getElementById('herringbonealphaPrime').textContent = typeof alphaPrime === 'number' ? alphaPrime.toFixed(4) : alphaPrime;\n            document.getElementById('herringbonetotalProfileShift').textContent = typeof totalProfileShift === 'number' ? totalProfileShift.toFixed(4) : totalProfileShift;\n            document.getElementById('herringbonedeltaY').textContent = typeof deltaY === 'number' ? deltaY.toFixed(4) : deltaY;\n            document.getElementById('herringbonedfe1').textContent = typeof dfe1 === 'number' ? dfe1.toFixed(4) : dfe1;\n            document.getElementById('herringbonedfe2').textContent = typeof dfe2 === 'number' ? dfe2.toFixed(4) : dfe2;\n            document.getElementById('herringbonedf1').textContent = typeof df1 === 'number' ? df1.toFixed(4) : df1;\n            document.getElementById('herringbonedf2').textContent = typeof df2 === 'number' ? df2.toFixed(4) : df2;\n            document.getElementById('herringboneTotalFaceWidth').textContent = typeof totalFaceWidth === 'number' ? totalFaceWidth.toFixed(2) : totalFaceWidth;\n\n            \/\/ Show results section\n            document.getElementById('herringboneResults').classList.add('active');\n        });\n    <\/script>\n<\/body>\n<\/html>","protected":false},"excerpt":{"rendered":"<p>Enhance your engineering projects with our advanced Gear Transmission Calculators. Designed for accuracy and efficiency, these calculators assist in determining optimal gear ratios, torque, and&#8230;<\/p>","protected":false},"author":2,"featured_media":16020,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"pmpro_default_level":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[3436],"tags":[3710,3390,3711],"class_list":["post-16018","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gear-calculator","tag-gear-calculators","tag-mechanical-engineering","tag-transmission-tools","pmpro-has-access"],"acf":[],"jetpack_featured_media_url":"https:\/\/www.mechstream.com\/wp-content\/uploads\/2025\/06\/Gear-Transmission-Calculators.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/posts\/16018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/comments?post=16018"}],"version-history":[{"count":0,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/posts\/16018\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/media\/16020"}],"wp:attachment":[{"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/media?parent=16018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/categories?post=16018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/tags?post=16018"}],"curies":[{"name":"\u0648\u0648\u0631\u062f\u0628\u0631\u064a\u0633","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}