diff --git a/lib.scad b/lib.scad index 4e821c4..dc5cc0c 100644 --- a/lib.scad +++ b/lib.scad @@ -89,7 +89,7 @@ use use use use -use +use use use use diff --git a/readme.md b/readme.md index 58efa07..9c55f4c 100644 --- a/readme.md +++ b/readme.md @@ -37,7 +37,7 @@ A list of changes classified as breaking, additions or fixes is maintained in [C D_connectors O_ring Springs Handle Round Displays Opengrab Stepper_motors PCB_mount Rounded_cylinder Extrusion_brackets PCB Swiss_clips PSU_shroud Rounded_polygon - Extrusions PCBs Toggles Pocket_handle Rounded_right_triangle + Extrusions PCBs Toggles Pocket_handle Rounded_triangle Fans PSUs Transformers Press_fit Sector Fuseholder Panel_meters Tubings Printed_box Sweep Geared_steppers Pillars Variacs Printed_pulleys Thread @@ -5970,20 +5970,20 @@ Because the tangents need to be calculated to find the length these can be calcu Top --- - -## Rounded_right_triangle + +## Rounded_triangle Draw a 3D right triangle with rounded edges. Intended to be embedded in other parts. Can be optionally offset by the filleted amount. -[utils/rounded_right_triangle.scad](utils/rounded_right_triangle.scad) Implementation. +[utils/rounded_triangle.scad](utils/rounded_triangle.scad) Implementation. -[tests/rounded_right_triangle.scad](tests/rounded_right_triangle.scad) Code for this example. +[tests/rounded_triangle.scad](tests/rounded_triangle.scad) Code for this example. ### Modules | Module | Description | |:--- |:--- | | `rounded_right_triangle(x, y, z, fillet, center = true, offset = false)` | Draw a 3D right triangle with rounded edges. | -![rounded_right_triangle](tests/png/rounded_right_triangle.png) +![rounded_triangle](tests/png/rounded_triangle.png) Top diff --git a/tests/png/rounded_triangle.png b/tests/png/rounded_triangle.png new file mode 100644 index 0000000..741262b Binary files /dev/null and b/tests/png/rounded_triangle.png differ diff --git a/tests/rounded_right_triangle.scad b/tests/rounded_triangle.scad similarity index 95% rename from tests/rounded_right_triangle.scad rename to tests/rounded_triangle.scad index 91610b2..1b64825 100644 --- a/tests/rounded_right_triangle.scad +++ b/tests/rounded_triangle.scad @@ -18,7 +18,7 @@ // include <../global_defs.scad> -use <../utils/rounded_right_triangle.scad> +use <../utils/rounded_triangle.scad> module rounded_right_triangles() { diff --git a/utils/rounded_right_triangle.scad b/utils/rounded_triangle.scad similarity index 97% rename from utils/rounded_right_triangle.scad rename to utils/rounded_triangle.scad index c09207d..4519b10 100644 --- a/utils/rounded_right_triangle.scad +++ b/utils/rounded_triangle.scad @@ -21,7 +21,6 @@ //! Draw a 3D right triangle with rounded edges. Intended to be embedded in other parts. Can be optionally offset by the filleted amount. // include <../utils/core/core.scad> -include <..//utils/core/rounded_rectangle.scad> module rounded_right_triangle(x, y, z, fillet, center = true, offset = false) { //! Draw a 3D right triangle with rounded edges. fillet = max(fillet, eps);