Open SirNate0 opened 1 year ago
Somehow the check got broken or out of order. The if statement would probably work fine if it were below the ternary operator setting the circular_pitch, or it should check for the diametral_pitch being undef as well.
circular_pitch
diametral_pitch
undef
https://github.com/openscad/MCAD/blob/bd0a7ba3f042bfbced5ca1894b236cea08904e26/involute_gears.scad#L321-L325
Somehow the check got broken or out of order. The if statement would probably work fine if it were below the ternary operator setting the
circular_pitch
, or it should check for thediametral_pitch
beingundef
as well.https://github.com/openscad/MCAD/blob/bd0a7ba3f042bfbced5ca1894b236cea08904e26/involute_gears.scad#L321-L325