Skip to content

Commit 95ae1ba

Browse files
committed
union is default anyway
1 parent 9bee52e commit 95ae1ba

File tree

4 files changed

+18
-25
lines changed

4 files changed

+18
-25
lines changed

items/library-shelf-markers/1 books-marker.scad

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ word_text = "Prototyping";
44
width = 59; // adjust that after adjusting the text
55
thickness = 0.8; // make it thick enough to print
66

7-
union(){
8-
translate ([2, -10, 0]) linear_extrude(thickness) text(word_text, size = 8);
9-
xy_extrude([[0, thickness],[0, -13.5],[width, -13.5],[width, thickness]], thickness);
10-
xz_extrude([[0, 0],[0, -50], [thickness, -50],[width, 0]], thickness, false);
11-
yz_extrude([[0, 0],[0, -50], [thickness, -50],[40, -35],[40, -15]], thickness, false);
12-
};
7+
translate ([2, -10, 0]) linear_extrude(thickness) text(word_text, size = 8);
8+
xy_extrude([[0, thickness],[0, -13.5],[width, -13.5],[width, thickness]], thickness);
9+
xz_extrude([[0, 0],[0, -50], [thickness, -50],[width, 0]], thickness, false);
10+
yz_extrude([[0, 0],[0, -50], [thickness, -50],[40, -35],[40, -15]], thickness, false);

items/library-shelf-markers/2 books-marker upper.scad

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ word_text = "Psychologie";
44
width = 63; // adjust that after adjusting the text
55
thickness = 0.8; // make it thick enough to print
66

7-
union(){
8-
translate ([2, 3.5, 0]) linear_extrude(thickness) text(word_text, size = 8);
9-
xy_extrude([[0, 14],[0, 0],[width, 0],[width, 14]], thickness);
10-
xz_extrude([[0, 0],[0, -50], [thickness, -50],[width, 0]], thickness, false);
11-
yz_extrude([[0, 0],[0, -50], [thickness, -50],[40, -35],[40, -15], [13, 0]], thickness, false);
12-
};
7+
translate ([2, 3.5, 0]) linear_extrude(thickness) text(word_text, size = 8);
8+
xy_extrude([[0, 14],[0, 0],[width, 0],[width, 14]], thickness);
9+
xz_extrude([[0, 0],[0, -50], [thickness, -50],[width, 0]], thickness, false);
10+
yz_extrude([[0, 0],[0, -50], [thickness, -50],[40, -35],[40, -15], [13, 0]], thickness, false);

items/library-shelf-markers/3 books-marker 2-line.scad

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ word_text2 = "Neurodiversität";
55
width = 78; // adjust that after adjusting the text
66
thickness = 0.8; // make it thick enough to print
77

8-
union(){
9-
translate ([2, 0, 0]) linear_extrude(thickness) text(word_text1, size = 8);
10-
translate ([2, -11, 0]) linear_extrude(thickness) text(word_text2, size = 8);
11-
xy_extrude([[0, thickness + 10],[0, -14],[width, -14],[width, thickness + 10]], thickness);
12-
xz_extrude([[0, 0],[0, -50], [thickness, -50],[width, 0]], thickness, false);
13-
yz_extrude([[0, 0],[0, -50], [thickness, -50],[40, -35],[40, -15], [10, 0]], thickness, false);
14-
};
8+
translate ([2, 0, 0]) linear_extrude(thickness) text(word_text1, size = 8);
9+
translate ([2, -11, 0]) linear_extrude(thickness) text(word_text2, size = 8);
10+
xy_extrude([[0, thickness + 10],[0, -14],[width, -14],[width, thickness + 10]], thickness);
11+
xz_extrude([[0, 0],[0, -50], [thickness, -50],[width, 0]], thickness, false);
12+
yz_extrude([[0, 0],[0, -50], [thickness, -50],[40, -35],[40, -15], [10, 0]], thickness, false);

items/library-shelf-markers/4 book_marker upright.scad

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ word_text = "Psychologie";
44
height = 63; // adjust that after adjusting the text
55
thickness = 0.8; // make it thick enough to print
66

7-
union(){
8-
rotate([0, 0, 90]) translate ([ -12, -10, 0]) linear_extrude(thickness) text(word_text, size = 8);
9-
xy_extrude([[0, height -14],[0, -14],[14, -14],[14, height -14]], thickness);
10-
xz_extrude([[0, 0],[0, -50], [thickness, -50],[14, 0]], thickness, false);
11-
yz_extrude([[0, 0],[0, -50], [thickness, -50],[height -14, 0]], thickness, false);
12-
};
7+
rotate([0, 0, 90]) translate ([ -12, -10.5, 0])
8+
linear_extrude(thickness) text(word_text, size = 8);
9+
xy_extrude([[0, height -14],[0, -14],[14, -14],[14, height -14]], thickness);
10+
xz_extrude([[0, 0],[0, -50], [thickness, -50],[14, 0]], thickness, false);
11+
yz_extrude([[0, 0],[0, -50], [thickness, -50],[height -14, 0]], thickness, false);

0 commit comments

Comments
 (0)