Change roundedness from $fn to $fs

This commit is contained in:
Sebastiaan de Schaetzen 2023-02-17 20:24:47 +01:00
parent 7a7c12b38f
commit e82d2e5913

View File

@ -10,15 +10,15 @@ block_height =
type == "plate" ? 3.2 : type == "plate" ? 3.2 :
0; 0;
length_per_stud = 31.8 / 4; length_per_stud = 31.8 / 4;
stud_details = 4 * ($preview ? 5 : 5);
wall_width = 1.6; wall_width = 1.6;
ceiling_width = 1; ceiling_width = 1;
$fs = 1;
assert(block_height > 0, "Invalid block height. Perhaps type is not correct?"); 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"); assert(studs_x >= studs_y, "studs_x must be equal or larger than studs_y");
module stud() { module stud() {
cylinder(d = 4.8, h = 1.8, $fn = stud_details); cylinder(d = 4.8, h = 1.8);
} }
module studs() { module studs() {
@ -50,11 +50,11 @@ module base() {
} }
module pillar() { module pillar() {
cylinder(h = block_height, d = 6.48, $fn = stud_details); cylinder(h = block_height, d = 6.48);
} }
module small_pillar() { module small_pillar() {
cylinder(h = block_height, d = 3.2, $fn = stud_details); cylinder(h = block_height, d = 3.2);
} }
module pillars() { module pillars() {