From e82d2e5913e7d282f9125d6e5fd006f62baedc48 Mon Sep 17 00:00:00 2001 From: Sebastiaan de Schaetzen Date: Fri, 17 Feb 2023 20:24:47 +0100 Subject: [PATCH] Change roundedness from $fn to $fs --- Lego.scad | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() {