That instead of redefining I really just want to write the equation and automatically define the 1(!) undefined Dimension.
@makeDimension DiametralPitch PerInch # = Nteeth/PitchDiameter, the number of teeth per inch of pitch diameter, larger DP is smaller teeth; dp is not a pitch in the same sense as basePitch
DiametralPitch(nTeeth::Int, pd::PitchDiameter) = DiametralPitch( nTeeth / convert(Inch, pd.measure)) # macro defines DiametralPitch{PerInch}(num), but this is the actual definition
That instead of redefining I really just want to write the equation and automatically define the 1(!) undefined Dimension.