fix internal bug

This commit is contained in:
Adrian Mariano 2023-07-30 23:02:18 -04:00
parent e3c152e69f
commit 7cc14f1d94

View file

@ -1040,7 +1040,6 @@ module ring_gear2d(
assert(is_finite(gear_spin)); assert(is_finite(gear_spin));
pr = pitch_radius(circ_pitch, teeth, helical=helical); pr = pitch_radius(circ_pitch, teeth, helical=helical);
ar = outer_radius(circ_pitch, teeth, helical=helical, profile_shift=profile_shift, internal=true); ar = outer_radius(circ_pitch, teeth, helical=helical, profile_shift=profile_shift, internal=true);
echo(ar=ar);
attachable(anchor,spin, two_d=true, r=pr) { attachable(anchor,spin, two_d=true, r=pr) {
zrot(gear_spin) zrot(gear_spin)
difference() { difference() {
@ -1053,7 +1052,7 @@ module ring_gear2d(
clearance = clearance, clearance = clearance,
backlash = backlash, backlash = backlash,
profile_shift = profile_shift, profile_shift = profile_shift,
internal = true && false internal = true
); );
} }
children(); children();