Add RESOLUTION variable to every circle and remove debug echo
This commit is contained in:
parent
2a0b457a7a
commit
01d5343f5f
@ -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])
|
||||||
|
Loading…
Reference in New Issue
Block a user