diff --git a/README.md b/README.md index e348a2f6..85cb81b6 100644 --- a/README.md +++ b/README.md @@ -68,10 +68,10 @@ These examples incubate dotSCAD and dotSCAD refactors these examples. See [examp - [sweep](https://openhome.cc/eGossip/OpenSCAD/lib3x-sweep.html) ### Transformation -- [along_with](https://openhome.cc/eGossip/OpenSCAD/lib2x-along_with.html) -- [bend](https://openhome.cc/eGossip/OpenSCAD/lib2x-bend.html) -- [hollow_out](https://openhome.cc/eGossip/OpenSCAD/lib2x-hollow_out.html) -- [shear](https://openhome.cc/eGossip/OpenSCAD/lib2x-shear.html) +- [along_with](https://openhome.cc/eGossip/OpenSCAD/lib3x-along_with.html) +- [bend](https://openhome.cc/eGossip/OpenSCAD/lib3x-bend.html) +- [hollow_out](https://openhome.cc/eGossip/OpenSCAD/lib3x-hollow_out.html) +- [shear](https://openhome.cc/eGossip/OpenSCAD/lib3x-shear.html) ### 2D Function - [bijection_offset](https://openhome.cc/eGossip/OpenSCAD/lib2x-bijection_offset.html) diff --git a/docs/images/lib2x-along_with-1.JPG b/docs/images/lib3x-along_with-1.JPG similarity index 100% rename from docs/images/lib2x-along_with-1.JPG rename to docs/images/lib3x-along_with-1.JPG diff --git a/docs/images/lib2x-along_with-2.JPG b/docs/images/lib3x-along_with-2.JPG similarity index 100% rename from docs/images/lib2x-along_with-2.JPG rename to docs/images/lib3x-along_with-2.JPG diff --git a/docs/images/lib2x-along_with-3.JPG b/docs/images/lib3x-along_with-3.JPG similarity index 100% rename from docs/images/lib2x-along_with-3.JPG rename to docs/images/lib3x-along_with-3.JPG diff --git a/docs/images/lib2x-along_with-4.JPG b/docs/images/lib3x-along_with-4.JPG similarity index 100% rename from docs/images/lib2x-along_with-4.JPG rename to docs/images/lib3x-along_with-4.JPG diff --git a/docs/images/lib2x-bend-1.JPG b/docs/images/lib3x-bend-1.JPG similarity index 100% rename from docs/images/lib2x-bend-1.JPG rename to docs/images/lib3x-bend-1.JPG diff --git a/docs/images/lib2x-bend-2.JPG b/docs/images/lib3x-bend-2.JPG similarity index 100% rename from docs/images/lib2x-bend-2.JPG rename to docs/images/lib3x-bend-2.JPG diff --git a/docs/images/lib2x-bend-3.JPG b/docs/images/lib3x-bend-3.JPG similarity index 100% rename from docs/images/lib2x-bend-3.JPG rename to docs/images/lib3x-bend-3.JPG diff --git a/docs/images/lib2x-hollow_out-1.JPG b/docs/images/lib3x-hollow_out-1.JPG similarity index 100% rename from docs/images/lib2x-hollow_out-1.JPG rename to docs/images/lib3x-hollow_out-1.JPG diff --git a/docs/images/lib2x-shear-1.JPG b/docs/images/lib3x-shear-1.JPG similarity index 100% rename from docs/images/lib2x-shear-1.JPG rename to docs/images/lib3x-shear-1.JPG diff --git a/docs/lib2x-along_with.md b/docs/lib3x-along_with.md similarity index 91% rename from docs/lib2x-along_with.md rename to docs/lib3x-along_with.md index cb431954..761a924b 100644 --- a/docs/lib2x-along_with.md +++ b/docs/lib3x-along_with.md @@ -8,7 +8,7 @@ Puts children along the given path. If there's only one child, it will put the c - `angles` : Rotate before translate each child. If not given, rotate children automatically according to `points` and `method`. - `twist` : If given, each child will be twisted before applying each element of `points` and `angles`. - `scale` : If given, each child will be scaled before applying each element of `points` and `angles`. It accepts a single value, `[sx, sy]` or `[sx, sy, sz]`. -- `method` : Which method does `along_with` take to **guess** how to rotate children if `angles` is not specified? It accepts two value, `"AXIS_ANGLE"` (default) and `"EULER_ANGLE"`. See `path_extrude` for more information. **Since:** 1.3. +- `method` : Which method does `along_with` take to **guess** how to rotate children if `angles` is not specified? It accepts two value, `"AXIS_ANGLE"` (default) and `"EULER_ANGLE"`. See `path_extrude` for more information. **Since:** 1.3 ## Examples @@ -22,7 +22,7 @@ Puts children along the given path. If there's only one child, it will put the c along_with(points) sphere(5); -![along_with](images/lib2x-along_with-1.JPG) +![along_with](images/lib3x-along_with-1.JPG) use ; use ; @@ -42,7 +42,7 @@ Puts children along the given path. If there's only one child, it will put the c cube(5); } -![along_with](images/lib2x-along_with-2.JPG) +![along_with](images/lib3x-along_with-2.JPG) use ; use ; @@ -61,7 +61,7 @@ Puts children along the given path. If there's only one child, it will put the c linear_extrude(1, center = true) text("A", valign = "center", halign = "center"); -![along_with](images/lib2x-along_with-3.JPG) +![along_with](images/lib3x-along_with-3.JPG) use ; use ; @@ -101,4 +101,4 @@ Puts children along the given path. If there's only one child, it will put the c along_with(path_pts, scale = 0.5) scales(); -![along_with](images/lib2x-along_with-4.JPG) \ No newline at end of file +![along_with](images/lib3x-along_with-4.JPG) \ No newline at end of file diff --git a/docs/lib2x-bend.md b/docs/lib3x-bend.md similarity index 92% rename from docs/lib2x-bend.md rename to docs/lib3x-bend.md index f34cc5f6..8beb5288 100644 --- a/docs/lib2x-bend.md +++ b/docs/lib3x-bend.md @@ -21,7 +21,7 @@ The containing cube of the target object should be laid down on the x-y plane. F %cube(size = [x, y, z]); linear_extrude(z) text("A"); -![bend](images/lib2x-bend-1.JPG) +![bend](images/lib3x-bend-1.JPG) Once you have the size of the containing cube, you can use it as the `size` argument of the `bend` module. @@ -36,7 +36,7 @@ Once you have the size of the containing cube, you can use it as the `size` argu bend(size = [x, y, z], angle = 270) linear_extrude(z) text("A"); -![bend](images/lib2x-bend-2.JPG) +![bend](images/lib3x-bend-2.JPG) The arc shape is smoother if the `frags` value is larger. @@ -50,6 +50,6 @@ The arc shape is smoother if the `frags` value is larger. linear_extrude(z) text("A"); -![bend](images/lib2x-bend-3.JPG) +![bend](images/lib3x-bend-3.JPG) This module is especially useful when you want to create things such as [PNG to pen holder](https://www.thingiverse.com/thing:1589493). diff --git a/docs/lib2x-hollow_out.md b/docs/lib3x-hollow_out.md similarity index 86% rename from docs/lib2x-hollow_out.md rename to docs/lib3x-hollow_out.md index d80d3bb4..f756b67a 100644 --- a/docs/lib2x-hollow_out.md +++ b/docs/lib3x-hollow_out.md @@ -13,4 +13,4 @@ Hollows out a 2D object. hollow_out(shell_thickness = 1) circle(r = 3, $fn = 48); hollow_out(shell_thickness = 1) square([10, 5]); -![hollow_out](images/lib2x-hollow_out-1.JPG) +![hollow_out](images/lib3x-hollow_out-1.JPG) diff --git a/docs/lib2x-shear.md b/docs/lib3x-shear.md similarity index 96% rename from docs/lib2x-shear.md rename to docs/lib3x-shear.md index 15ad6c76..cfa6b201 100644 --- a/docs/lib2x-shear.md +++ b/docs/lib3x-shear.md @@ -48,5 +48,5 @@ Shear all child elements along the X-axis, Y-axis, or Z-axis in 3D. cube(1); } -![shear](images/lib2x-shear-1.JPG) +![shear](images/lib3x-shear-1.JPG) diff --git a/src/along_with.scad b/src/along_with.scad index 40fdbee0..4299b4c3 100644 --- a/src/along_with.scad +++ b/src/along_with.scad @@ -4,7 +4,7 @@ * @copyright Justin Lin, 2017 * @license https://opensource.org/licenses/lgpl-3.0.html * -* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-along_with.html +* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-along_with.html * **/ diff --git a/src/bend.scad b/src/bend.scad index 4c898ff5..e04c418f 100644 --- a/src/bend.scad +++ b/src/bend.scad @@ -4,7 +4,7 @@ * @copyright Justin Lin, 2017 * @license https://opensource.org/licenses/lgpl-3.0.html * -* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-bend.html +* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-bend.html * **/ diff --git a/src/hollow_out.scad b/src/hollow_out.scad index 7a480cd1..bc6dd448 100644 --- a/src/hollow_out.scad +++ b/src/hollow_out.scad @@ -4,7 +4,7 @@ * @copyright Justin Lin, 2017 * @license https://opensource.org/licenses/lgpl-3.0.html * -* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-hollow_out.html +* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-hollow_out.html * **/ diff --git a/src/shear.scad b/src/shear.scad index f50377a3..fcea6cc7 100644 --- a/src/shear.scad +++ b/src/shear.scad @@ -4,7 +4,7 @@ * @copyright Justin Lin, 2019 * @license https://opensource.org/licenses/lgpl-3.0.html * -* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-shear.html +* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-shear.html * **/