diff --git a/docs/images/lib-along_with-1.JPG b/docs/images/lib-along_with-1.JPG index 39b6a196..485d02ca 100644 Binary files a/docs/images/lib-along_with-1.JPG and b/docs/images/lib-along_with-1.JPG differ diff --git a/docs/images/lib-along_with-2.JPG b/docs/images/lib-along_with-2.JPG index 6f73b85e..3dcc6229 100644 Binary files a/docs/images/lib-along_with-2.JPG and b/docs/images/lib-along_with-2.JPG differ diff --git a/docs/images/lib-along_with-4.JPG b/docs/images/lib-along_with-4.JPG new file mode 100644 index 00000000..3369c7ab Binary files /dev/null and b/docs/images/lib-along_with-4.JPG differ diff --git a/docs/lib-along_with.md b/docs/lib-along_with.md index f79e4031..a03e6ea2 100644 --- a/docs/lib-along_with.md +++ b/docs/lib-along_with.md @@ -23,20 +23,20 @@ Puts children along the given path. If there's only one child, it will put the c include ; include ; - + $fn = 24; - + points = circle_path(radius = 50); - + along_with(points) { - linear_extrude(10) text("A", valign = "center", halign = "center"); - linear_extrude(5) circle(2); - sphere(1); - cube(5); - linear_extrude(10) text("A", valign = "center", halign = "center"); - linear_extrude(5) circle(2); - sphere(1); - cube(5); + linear_extrude(10, center = true) text("A", valign = "center", halign = "center"); + linear_extrude(5, center = true) circle(2); + sphere(1); + cube(5); + linear_extrude(10, center = true) text("A", valign = "center", halign = "center"); + linear_extrude(5, center = true) circle(2); + sphere(1); + cube(5); } ![along_with](images/lib-along_with-2.JPG)