We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c962dbb commit 72c37f9Copy full SHA for 72c37f9
src/Mod/PartDesign/App/FeatureHole.cpp
@@ -1176,13 +1176,14 @@ std::optional<double> Hole::determineDiameter() const
1176
return std::nullopt;
1177
throw Base::IndexError("Thread size out of range");
1178
}
1179
- double diameter = threadDescription[threadType][threadSize].diameter;
1180
- double pitch = threadDescription[threadType][threadSize].pitch;
1181
- double clearance = 0.0;
1182
1183
if (threadType == 0)
1184
1185
+ double diameter = threadDescription[threadType][threadSize].diameter;
+ double pitch = threadDescription[threadType][threadSize].pitch;
+ double clearance = 0.0;
1186
+
1187
if (Threaded.getValue()) {
1188
1189
if (ModelThread.getValue()) {
0 commit comments