1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-20 05:21:38 +02:00
This commit is contained in:
Justin Lin
2022-03-30 09:39:11 +08:00
parent 3e1044787f
commit ba5b184d16
13 changed files with 55 additions and 52 deletions

View File

@@ -78,11 +78,11 @@ Puts children along the given path. If there's only one child, it will put the c
rotate(a)
translate([5, 0, 0])
one_scale();
rotate(a + 15)
translate([5, 0, 1.75])
one_scale();
}
}
t_step = 0.01;

View File

@@ -34,7 +34,8 @@ Once you have the size of the containing cube, you can use it as the `size` argu
*cube(size = [x, y, z]);
bend(size = [x, y, z], angle = 270)
linear_extrude(z) text("A");
linear_extrude(z)
text("A");
![bend](images/lib3x-bend-2.JPG)

View File

@@ -34,7 +34,9 @@ Extrudes a 2D object along the path of an ellipse from 0 to 180 degrees. The sem
ellipse_extrude(semi_minor_axis)
text("♥", size = 40, valign = "center", halign = "center");
mirror([0, 0, 1]) ellipse_extrude(semi_minor_axis)
mirror([0, 0, 1])
ellipse_extrude(semi_minor_axis)
text("♥", size = 40, valign = "center", halign = "center");
![ellipse_extrude](images/lib3x-ellipse_extrude-3.JPG)

View File

@@ -16,7 +16,7 @@ The 2D polygon should center at the origin and you have to determine the side le
dimension = 100;
render() stereographic_extrude(shadow_side_leng = dimension)
stereographic_extrude(shadow_side_leng = dimension, convexity = 10)
text(
"M", size = dimension,
valign = "center", halign = "center"