Add RESOLUTION variable to every circle and remove debug echo

This commit is contained in:
maride 2017-12-21 16:40:27 +01:00
parent 2a0b457a7a
commit 01d5343f5f

View File

@ -148,15 +148,13 @@ module __round_square(width, height, radius) {
module __fan_cutout(outer_size, inner_size, bearing_size) { module __fan_cutout(outer_size, inner_size, bearing_size) {
// Bearing // Bearing
translate([outer_size-(outer_size-inner_size)/2, outer_size-(outer_size-inner_size)/2]) translate([outer_size-(outer_size-inner_size)/2, outer_size-(outer_size-inner_size)/2])
circle(d=bearing_size); circle(d=bearing_size, $fn=RESOLUTION);
translate([(outer_size-inner_size)/2, outer_size-(outer_size-inner_size)/2]) translate([(outer_size-inner_size)/2, outer_size-(outer_size-inner_size)/2])
circle(d=bearing_size); circle(d=bearing_size, $fn=RESOLUTION);
translate([outer_size-(outer_size-inner_size)/2, (outer_size-inner_size)/2]) translate([outer_size-(outer_size-inner_size)/2, (outer_size-inner_size)/2])
circle(d=bearing_size); circle(d=bearing_size, $fn=RESOLUTION);
translate([(outer_size-inner_size)/2, (outer_size-inner_size)/2]) translate([(outer_size-inner_size)/2, (outer_size-inner_size)/2])
circle(d=bearing_size); circle(d=bearing_size, $fn=RESOLUTION);
echo(outer_size-(outer_size-inner_size)/2);
echo((outer_size-inner_size)/2);
// middle squares // middle squares
translate([0, outer_size-inner_size, 0]) translate([0, outer_size-inner_size, 0])