diff --git a/back.scad b/back.scad
index af14c31..e6fcb77 100644
--- a/back.scad
+++ b/back.scad
@@ -423,26 +423,29 @@ module outer() {
}
}
}
+
}
-// Maske, um abgerundete oder abgeschrägte Außenkanten zu schneiden.
+// Maske, um angerundete oder abgeschrägte Außenkanten zu schneiden.
module edge_cut() {
minkowski() {
linear_extrude(height=0.1) {
import("./svg/back outline.svg");
}
- $fn = $preview ? 4 : 16;
+ $fn = $preview ? 4 : 8;
if (beveled_edges) {
// Abgeschrägte Kanten.
cylinder(h=4, r1=1.5, r2=0);
} else {
// Abgerundete Kanten.
// Dafür generieren wir im folgenden einen konkaven Kegel.
- curve = [1.34, 1.07, 0.84, 0.63, 0.46, 0.32, 0.2, 0.11, 0.05, 0.01, 0];
- for (i = [0:len(curve)-2]) {
- translate([0, 0, i*0.5])
- cylinder(h=0.5, r1=curve[i], r2=curve[i+1]);
+ union() {
+ curve = [1.34, 1.07, 0.84, 0.63, 0.46, 0.32, 0.2, 0.11, 0.05, 0.01, 0];
+ for (i = [0:len(curve)-2]) {
+ translate([0, 0, i*0.5])
+ cylinder(h=0.5, r1=curve[i], r2=curve[i+1]);
+ }
}
}
}
diff --git a/front.scad b/front.scad
index f29f4df..6a56d02 100644
--- a/front.scad
+++ b/front.scad
@@ -219,6 +219,7 @@ module border_strut(width, length, height) {
[3, 4, 0],
[0, 4, 5, 1]
]);
+
}
// Die äußeren Teile: Front und Ränder.
@@ -324,26 +325,29 @@ module outer() {
border_strut(1.6, pos[3], pos[3]);
}
}
+
}
-// Maske, um abgerundete oder abgeschrägte Außenkanten zu schneiden.
+// Maske, um angerundete oder abgeschrägte Außenkanten zu schneiden.
module edge_cut() {
minkowski() {
linear_extrude(height=0.1) {
import("./svg/front outline.svg");
}
- $fn = $preview ? 4 : 16;
+ $fn = $preview ? 4 : 8;
if (beveled_edges) {
// Abgeschrägte Kanten.
cylinder(h=4, r1=1.5, r2=0);
} else {
// Abgerundete Kanten.
// Dafür generieren wir im folgenden einen konkaven Kegel.
- curve = [1.34, 1.07, 0.84, 0.63, 0.46, 0.32, 0.2, 0.11, 0.05, 0.01, 0];
- for (i = [0:len(curve)-2]) {
- translate([0, 0, i*0.5])
- cylinder(h=0.5, r1=curve[i], r2=curve[i+1]);
+ union() {
+ curve = [1.34, 1.07, 0.84, 0.63, 0.46, 0.32, 0.2, 0.11, 0.05, 0.01, 0];
+ for (i = [0:len(curve)-2]) {
+ translate([0, 0, i*0.5])
+ cylinder(h=0.5, r1=curve[i], r2=curve[i+1]);
+ }
}
}
}
diff --git a/svg/back construction.svg b/svg/back construction.svg
index 8d3197a..95e3c19 100644
--- a/svg/back construction.svg
+++ b/svg/back construction.svg
@@ -5,7 +5,7 @@
viewBox="0 0 150 110"
version="1.1"
id="svg8"
- inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+ inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="back construction.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
@@ -16,7 +16,19 @@
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
+ id="defs2">
+
+
+
+
+
+