From 749eaa44872663041d2599caed75b1efaa18c642 Mon Sep 17 00:00:00 2001 From: Jeff Barr Date: Mon, 5 Feb 2024 06:47:10 -0800 Subject: [PATCH] Add triangle option --- rings.scad | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rings.scad b/rings.scad index c2bee61..14fb51e 100644 --- a/rings.scad +++ b/rings.scad @@ -27,7 +27,7 @@ _RingHeight = 2; _RingShadowWidth = 4; // Ring Shape -_RingShape = "Circle"; // [Circle, Square, Pentagon, Hexagon, Octagon] +_RingShape = "Circle"; // [Circle, Triangle, Square, Pentagon, Hexagon, Octagon] // Ring Rotation _RingRotation = 0.0; @@ -195,6 +195,7 @@ module main() { RingSides = (_RingShape == "Circle") ? 99 : + (_RingShape == "Triangle") ? 3 : (_RingShape == "Square") ? 4 : (_RingShape == "Pentagon") ? 5 : (_RingShape == "Hexagon") ? 6 :