Calcolatore Filettature Metriche/UNC

Calcolatore Passi Filettature Metriche/UNC

🔩 Calcolatore Filettature Metriche/UNC

Verifica gioco, interferenza e compatibilità tra vite e madrevite

🔢 Parametri di Input

` : ''; const resultsHTML = `

📋 Riepilogo Filettatura

Designazione
${threadDesignation}
Passo (mm)
${pitchMM.toFixed(3)}
TPI
${tpi.toFixed(1)}
Tolleranza Vite
${boltTol}
Tolleranza Madrevite
${nutTol}
${conversion}

📐 Diametri Calcolati

Vite - Ø Esterno
${boltMajor.toFixed(3)} mm
Vite - Ø Passo
${boltPitch.toFixed(3)} mm
Vite - Ø Nocciolo
${boltMinor.toFixed(3)} mm
Madrevite - Ø Interno
${nutMinor.toFixed(3)} mm
Madrevite - Ø Passo
${nutPitch.toFixed(3)} mm
Madrevite - Ø Esterno
${nutMajor.toFixed(3)} mm

🔍 Verifica Accoppiamento

${statusIcon} ${status}
Gioco Radiale
${clearance.toFixed(4)} mm
Altezza Filetto
${H.toFixed(3)} mm
${engagement > 0 ? `
Lunghezza Ingaggio
${engagement} mm
Capacità Teorica
${loadCapacity} mm²
` : ''}
${generateDiagram(boltMajor, boltMinor, nutMinor, nutMajor, clearance)} ${generateReferenceTable(type)} `; document.getElementById('results').innerHTML = resultsHTML; document.getElementById('results').style.display = 'block'; } function getTolerance(bolt, nut) { const tolerances = { '6g': 0.05, '6h': 0.03, '4h': 0.02, '6H': 0.05, '6G': 0.08, '5H': 0.03, '2A': 0.04, '3A': 0.02, '2B': 0.04, '3B': 0.02 }; return (tolerances[bolt] || 0.04) + (tolerances[nut] || 0.04); } function generateDiagram(boltMajor, boltMinor, nutMinor, nutMajor, clearance) { const scale = 15; const centerX = 200; const centerY = 150; const boltMajorR = boltMajor / 2 * scale; const boltMinorR = boltMinor / 2 * scale; const nutMinorR = nutMinor / 2 * scale; const nutMajorR = nutMajor / 2 * scale; const color = clearance < -0.05 ? '#f8d7da' : clearance > 0.2 ? '#fff3cd' : '#d4edda'; return `

📊 Diagramma Sezione Filettatura

Legenda: Vite (esterno) Madrevite (interno)
`; } function generateReferenceTable(type) { if (type === 'metric') { return `

📚 Tabella Riferimento Passi Metrici Standard

Diametro (mm) Passo Standard (mm) Passo Fine (mm)
M30.5-
M40.70.5
M50.80.5
M61.00.75
M81.251.0
M101.51.25
M121.751.25
M162.01.5
M202.51.5
M243.02.0
`; } else { return `

📚 Tabella Riferimento ${type.toUpperCase()} Standard

Designazione Diametro (inch) TPI Equivalente Metrico
#4-400.11240≈ M3
#8-320.16432≈ M4
1/4-200.25020≈ M6
5/16-180.31318≈ M8
3/8-160.37516≈ M10
1/2-130.50013≈ M12
5/8-110.62511≈ M16
3/4-100.75010≈ M20
7/8-90.8759≈ M22
1"-81.0008≈ M24
`; } }

Lascia un commento