-
Notifications
You must be signed in to change notification settings - Fork 0
Make deriveDimension? #6
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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 definitionReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request