From 10aab594fc09bdd018c6c0653cc376130712ed52 Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Wed, 14 Feb 2024 11:59:19 -0800 Subject: [PATCH] Doc Fixes Added $edge_angle to edge_profile_asym() side effects Added edge list example to Rounding_the_Cube tutorial --- attachments.scad | 1 + tutorials/Rounding_the_Cube.md | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/attachments.scad b/attachments.scad index fc9e807..09d7a4e 100644 --- a/attachments.scad +++ b/attachments.scad @@ -1842,6 +1842,7 @@ module edge_profile(edges=EDGES_ALL, except=[], excess=0.01, convexity=10) { // `$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. // `$profile_type` is set to `"edge"`. +// `$edge_angle` is set to the inner angle of the current edge. // Example: // ogee = [ // "xstep",1, "ystep",1, // Starting shoulder. diff --git a/tutorials/Rounding_the_Cube.md b/tutorials/Rounding_the_Cube.md index c6c414e..e6a599c 100644 --- a/tutorials/Rounding_the_Cube.md +++ b/tutorials/Rounding_the_Cube.md @@ -76,6 +76,13 @@ include cuboid([100,80,60], rounding=20, except = TOP+FRONT); ``` +Multiple edges can be specified in the form of a list: + +```openscad-3D +include +cuboid([100,80,60], rounding=20, edges=[FWD,TOP], except=[TOP+LEFT,FWD+RIGHT]); +``` + You can also specify which edges to round using a 3x4 array, where each entry corresponds to one of the 12 edges and is set to 1 if that edge is included and 0 if the edge is not. The edge ordering is: [