mirror of
https://github.com/adrianschlatter/threadlib.git
synced 2025-01-16 20:58:26 +01:00
Prevent duplicates
Prevent duplicate lines in THREAD_TABLE.scad when long and short descriptors are identical => if condition in metric_thread.awk
This commit is contained in:
parent
d8c8384988
commit
75814d2013
File diff suppressed because it is too large
Load Diff
@ -73,14 +73,17 @@ BEGIN {
|
||||
printf Designator "-ext," # designator such as "M4-ext"
|
||||
printExternalThreadSpecs();
|
||||
|
||||
printf DesignatorLong "-ext," # designator such as "M4x0.7-ext"
|
||||
printExternalThreadSpecs();
|
||||
|
||||
if (DesignatorLong != Designator) {
|
||||
printf DesignatorLong "-ext," # designator such as "M4x0.7-ext"
|
||||
printExternalThreadSpecs();
|
||||
}
|
||||
|
||||
# Internal thread:
|
||||
printf Designator "-int," # designator such as "M4-int"
|
||||
printInternalThreadSpecs();
|
||||
|
||||
printf DesignatorLong "-int," # designator such as "M4x0.7-int"
|
||||
printInternalThreadSpecs();
|
||||
if (DesignatorLong != Designator) {
|
||||
printf DesignatorLong "-int," # designator such as "M4x0.7-int"
|
||||
printInternalThreadSpecs();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user