Ensure that no 3d objects show up in gear(..., flat=true)
This commit is contained in:
parent
8db030f4ca
commit
b73db09ee5
|
@ -370,7 +370,7 @@ module gear (
|
||||||
half_thick_angle = half_thick_angle,
|
half_thick_angle = half_thick_angle,
|
||||||
involute_facets=involute_facets);
|
involute_facets=involute_facets);
|
||||||
|
|
||||||
if (gear_thickness < rim_thickness)
|
if (flat == false && gear_thickness < rim_thickness)
|
||||||
translate ([0,0,gear_thickness])
|
translate ([0,0,gear_thickness])
|
||||||
cylinder (r=rim_radius,h=rim_thickness-gear_thickness+1);
|
cylinder (r=rim_radius,h=rim_thickness-gear_thickness+1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue