diff --git a/Lego.scad b/Lego.scad index 28816ed..94558a9 100644 --- a/Lego.scad +++ b/Lego.scad @@ -10,15 +10,15 @@ block_height = type == "plate" ? 3.2 : 0; length_per_stud = 31.8 / 4; -stud_details = 4 * ($preview ? 5 : 5); wall_width = 1.6; ceiling_width = 1; +$fs = 1; assert(block_height > 0, "Invalid block height. Perhaps type is not correct?"); assert(studs_x >= studs_y, "studs_x must be equal or larger than studs_y"); module stud() { - cylinder(d = 4.8, h = 1.8, $fn = stud_details); + cylinder(d = 4.8, h = 1.8); } module studs() { @@ -50,11 +50,11 @@ module base() { } module pillar() { - cylinder(h = block_height, d = 6.48, $fn = stud_details); + cylinder(h = block_height, d = 6.48); } module small_pillar() { - cylinder(h = block_height, d = 3.2, $fn = stud_details); + cylinder(h = block_height, d = 3.2); } module pillars() {