diff --git a/src/Mod/PartDesign/App/FeatureHole.cpp b/src/Mod/PartDesign/App/FeatureHole.cpp index d259e1145c..eeaac1f634 100644 --- a/src/Mod/PartDesign/App/FeatureHole.cpp +++ b/src/Mod/PartDesign/App/FeatureHole.cpp @@ -376,6 +376,7 @@ const std::vector Hole::threadDescription[] = { "7/8", 22.225, 1.814, 20.40 }, { "1", 25.400, 2.117, 23.25 }, { "1 1/8", 28.575, 2.117, 26.50 }, + { "1 3/16", 30.163, 1.588, 28.58 }, { "1 1/4", 31.750, 2.117, 29.50 }, { "1 3/8", 34.925, 2.117, 32.75 }, { "1 1/2", 38.100, 2.117, 36.00 }, @@ -613,7 +614,7 @@ const double Hole::metricHoleDiameters[51][4] = { 150.0, 155.0, 158.0, 165.0} }; -const Hole::UTSClearanceDefinition Hole::UTSHoleDiameters[22] = +const Hole::UTSClearanceDefinition Hole::UTSHoleDiameters[23] = { /* UTS clearance hole diameters according to ASME B18.2.8 */ // for information: the norm defines a drill bit number (that is in turn standardized in another ASME norm). @@ -641,6 +642,7 @@ const Hole::UTSClearanceDefinition Hole::UTSHoleDiameters[22] = { "7/8", 23.0, 23.8, 26.2 }, { "1", 26.2, 27.8, 29.4 }, { "1 1/8", 29.4, 31.0, 33.3 }, + { "1 3/16", 31.0, 32.5, 34.9 }, { "1 1/4", 32.5, 34.1, 36.5 }, { "1 3/8", 36.5, 38.1, 40.9 }, { "1 1/2", 39.7, 41.3, 44.0 } diff --git a/src/Mod/PartDesign/App/FeatureHole.h b/src/Mod/PartDesign/App/FeatureHole.h index 96b8a91d34..d1ecf74371 100644 --- a/src/Mod/PartDesign/App/FeatureHole.h +++ b/src/Mod/PartDesign/App/FeatureHole.h @@ -116,7 +116,7 @@ public: double normal; double loose; }; - static const UTSClearanceDefinition UTSHoleDiameters[22]; + static const UTSClearanceDefinition UTSHoleDiameters[23]; void Restore(Base::XMLReader & reader) override; diff --git a/src/Mod/PartDesign/PartDesignTests/TestHole.py b/src/Mod/PartDesign/PartDesignTests/TestHole.py index a7af5d0194..37b0aa443b 100644 --- a/src/Mod/PartDesign/PartDesignTests/TestHole.py +++ b/src/Mod/PartDesign/PartDesignTests/TestHole.py @@ -269,7 +269,7 @@ class TestHole(unittest.TestCase): "#0", "#1", "#2", "#3", "#4", "#5", "#6", "#8", "#10", "#12", "1/4", "5/16", "3/8", "7/16", "1/2", "9/16", - "5/8", "3/4", "7/8", "1", "1 1/8", "1 1/4", + "5/8", "3/4", "7/8", "1", "1 1/8", "1 3/16", "1 1/4", "1 3/8", "1 1/2", ], 'UNEF': [