From ab7a703b45a721c5f52d6183c2c2a1bd945ae0ef Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Fri, 26 Jan 2024 12:01:30 -0800 Subject: [PATCH 1/7] Missing side effect in edge_mask() --- attachments.scad | 1 + 1 file changed, 1 insertion(+) diff --git a/attachments.scad b/attachments.scad index c9ed0226..ebd8a4a4 100644 --- a/attachments.scad +++ b/attachments.scad @@ -1580,6 +1580,7 @@ module face_mask(faces=[LEFT,RIGHT,FRONT,BACK,BOT,TOP]) { // Tags the children with "remove" (and hence sets `$tag`) if no tag is already set. // `$idx` is set to the index number of each edge. // `$attach_anchor` is set for each edge given, to the `[ANCHOR, POSITION, ORIENT, SPIN]` information for that anchor. +// `$parent_size` is set to the size of the parent object. // Example: // diff() // cube([50,60,70],center=true) From 925666ae9be0e51e199ca0e4bbb132c8959de8c1 Mon Sep 17 00:00:00 2001 From: RAMilewski Date: Fri, 26 Jan 2024 20:03:25 +0000 Subject: [PATCH 2/7] Version Bump --- version.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.scad b/version.scad index 13ecfbaf..dcbd70ce 100644 --- a/version.scad +++ b/version.scad @@ -9,7 +9,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,701]; +BOSL_VERSION = [2,0,702]; // Section: BOSL Library Version Functions From c35332fc726c26b34d6d982caea49cfc1f3d6065 Mon Sep 17 00:00:00 2001 From: revarbat Date: Sat, 27 Jan 2024 01:44:25 +0000 Subject: [PATCH 3/7] Version Bump --- version.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.scad b/version.scad index dcbd70ce..b502c584 100644 --- a/version.scad +++ b/version.scad @@ -9,7 +9,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,702]; +BOSL_VERSION = [2,0,703]; // Section: BOSL Library Version Functions From 4338d4e2bad82f3bb14f97b6554a8304683d1f18 Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Sat, 27 Jan 2024 23:13:27 -0800 Subject: [PATCH 4/7] Cube Rounding Updates --- tutorials/Rounding the Cube.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/Rounding the Cube.md b/tutorials/Rounding the Cube.md index 35af0d7b..d04663c6 100644 --- a/tutorials/Rounding the Cube.md +++ b/tutorials/Rounding the Cube.md @@ -6,7 +6,7 @@ There are four different 3d shape primitives that you can use to make cube-like * [**cuboid()**](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#module-cuboid) - Creates a cube with chamfering and roundovers. -* [**cube()**](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#functionmodule-cube) - An extended version of OpenSCAD's cube() with anchors for attaching children. (See the [Attachments Tutorial](https://github.com/BelfrySCAD/BOSL2/wiki/Tutorial-Attachments)). +* [**cube()**](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#functionmodule-cube) - An extended version of OpenSCAD's [cube()](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Primitive_Solids#cube) with anchors for attaching children. (See the [Attachments Tutorial](https://github.com/BelfrySCAD/BOSL2/wiki/Tutorial-Attachments)). * [**prismoid()**](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#functionmodule-prismoid) - Creates a rectangular prismoid shape with optional roundovers and chamfering. From 2c105d76def18fed5768a28a4b6837c1267f2072 Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Sat, 27 Jan 2024 23:24:36 -0800 Subject: [PATCH 5/7] Link Updates --- tutorials/Rounding the Cube.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/Rounding the Cube.md b/tutorials/Rounding the Cube.md index d04663c6..5669a358 100644 --- a/tutorials/Rounding the Cube.md +++ b/tutorials/Rounding the Cube.md @@ -15,14 +15,14 @@ There are four different 3d shape primitives that you can use to make cube-like BOSL2 provides two different methods for rounding the edges of the cube-like primitives above. -* **Built-in Rounding** - Cuboid, prismoid, and rounded_prism all have built-in arguments for rounding some or all of their edges. +* **Built-in Rounding** - [Cuboid()](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#module-cuboid), [prismoid()](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#functionmodule-prismoid), and [rounded_prism()](https://github.com/BelfrySCAD/BOSL2/wiki/rounding.scad#functionmodule-rounded_prism) all have built-in arguments for rounding some or all of their edges. * **Masking** - BOSL2 includes a number of options for masking the edges and corners of objects. Masking can accomplish rounding tasks that are not possible with the built-in rounding arguments. ## Cuboid Rounding -You can round the edges of a cuboid() with the `rounding=` argument by specifying the radius of curvature: +You can round the edges of a [cuboid()](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#module-cuboid) with the `rounding=` argument by specifying the radius of curvature: ```openscad-3D include @@ -136,7 +136,7 @@ diff() In addition to the simple roundover mask, there are masks for [cove](https://github.com/BelfrySCAD/BOSL2/wiki/masks2d.scad#functionmodule-mask2d_cove), [chamfer](https://github.com/BelfrySCAD/BOSL2/wiki/masks2d.scad#functionmodule-mask2d_chamfer), [rabbet](https://github.com/BelfrySCAD/BOSL2/wiki/masks2d.scad#functionmodule-mask2d_rabbet), [dovetail](https://github.com/BelfrySCAD/BOSL2/wiki/masks2d.scad#functionmodule-mask2d_dovetail), [teardrop](https://github.com/BelfrySCAD/BOSL2/wiki/masks2d.scad#functionmodule-mask2d_teardrop) and [ogee](https://github.com/BelfrySCAD/BOSL2/wiki/masks2d.scad#functionmodule-mask2d_ogee) edges. -The mask2d_ogee() only works on cube() and cuboid() shapes, or a [prismoid()](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#functionmodule-prismoid) where size2 >= size1 in both the X and Y dimensions. +The mask2d_ogee() only works on [cube()](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#functionmodule-cube) and [cuboid()](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#module-cuboid) shapes, or a [prismoid()](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#functionmodule-prismoid) where size2 >= size1 in both the X and Y dimensions. ```openscad-3d include @@ -150,7 +150,7 @@ diff() ]); ``` -You can use edge-profile() to round the top or bottom of a [prismoid()](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#functionmodule-prismoid). Because the side faces of a [prismoid()](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#functionmodule-prismoid) are not strictly vertical, it's is necessary to increase the length of the masks using the *excess* parameter in edge_profile(), and in mask2d\_roundover to set the mask\_angle to $edge\_angle. +You can use [edge-profile()](https://github.com/BelfrySCAD/BOSL2/wiki/attachments.scad#module-edge_profile) to round the top or bottom of a [prismoid()](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#functionmodule-prismoid). Because the side faces of a [prismoid()](https://github.com/BelfrySCAD/BOSL2/wiki/shapes3d.scad#functionmodule-prismoid) are not strictly vertical, it's is necessary to increase the length of the masks using the *excess* parameter in [edge_profile()](https://github.com/BelfrySCAD/BOSL2/wiki/attachments.scad#module-edge_profile), and to set the mask\_angle to $edge\_angle in [mask2d\_roundover()](https://github.com/BelfrySCAD/BOSL2/wiki/masks2d.scad#functionmodule-mask2d_roundover). ```openscad-3D include From bbebaec70720a86279b1e16f17d90634bd65e6aa Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Sat, 27 Jan 2024 23:42:14 -0800 Subject: [PATCH 6/7] Update .openscad_mdimggen_rc --- .openscad_mdimggen_rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.openscad_mdimggen_rc b/.openscad_mdimggen_rc index 2bc6408a..89dbdc91 100644 --- a/.openscad_mdimggen_rc +++ b/.openscad_mdimggen_rc @@ -1,4 +1,4 @@ -docs_dir: "/Users/RAM/Desktop/BOSL2.wiki" +docs_dir: "BOSL2.wiki" image_root: "images/tutorials" file_prefix: "Tutorial-" source_files: "tutorials/*.md" From e2434c841a08aad9fe6bcc102ee9407d85068d03 Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Sun, 28 Jan 2024 12:37:00 -0800 Subject: [PATCH 7/7] Delete .openscad_mdimggen_rc Dist --- .openscad_mdimggen_rc Dist | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 .openscad_mdimggen_rc Dist diff --git a/.openscad_mdimggen_rc Dist b/.openscad_mdimggen_rc Dist deleted file mode 100644 index 89dbdc91..00000000 --- a/.openscad_mdimggen_rc Dist +++ /dev/null @@ -1,6 +0,0 @@ -docs_dir: "BOSL2.wiki" -image_root: "images/tutorials" -file_prefix: "Tutorial-" -source_files: "tutorials/*.md" -png_animations: true -