PartDesignTests: explicitly thread pitch for regular profile ISO threads, fix enum

This commit is contained in:
Pascal de Bruijn
2025-03-10 18:54:48 +01:00
parent 599f100c4f
commit f7dc6dc245

View File

@@ -202,14 +202,14 @@ class TestHole(unittest.TestCase):
# The order of the arrays and elements is critical
thread_types = {
'ISOMetricProfile': [
"M1", "M1.1", "M1.2", "M1.4", "M1.6",
"M1.8", "M2", "M2.2", "M2.5", "M3",
"M3.5", "M4", "M4.5", "M5", "M6",
"M7", "M8", "M9", "M10", "M11",
"M12", "M14", "M16", "M18", "M20",
"M22", "M24", "M27", "M30", "M33",
"M36", "M39", "M42", "M45", "M48",
"M52", "M56", "M60", "M64", "M68",
"M1x0.25", "M1.1x0.25", "M1.2x0.25", "M1.4x0.3", "M1.6x0.35",
"M1.8x0.35", "M2x0.4", "M2.2x0.45", "M2.5x0.45", "M3x0.5",
"M3.5x0.6", "M4x0.7", "M4.5x0.75", "M5x0.8", "M6x1.0",
"M7x1.0", "M8x1.25", "M9x1.25", "M10x1.5", "M11x1.5",
"M12x1.75", "M14x2.0", "M16x2.0", "M18x2.5", "M20x2.5",
"M22x2.5", "M24x3.0", "M27x3.0", "M30x3.5", "M33x3.5",
"M36x4.0", "M39x4.0", "M42x4.5", "M45x4.5", "M48x5.0",
"M52x5.0", "M56x5.5", "M60x5.5", "M64x6.0", "M68x6.0",
],
'ISOMetricFineProfile': [
"M1x0.2", "M1.1x0.2", "M1.2x0.2", "M1.4x0.2",