From c0eac328304c5b045e2b37fb7c7863379504bfd8 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 4 May 2017 10:12:46 +0800 Subject: [PATCH] added comment --- src/ring_extrude.scad | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/ring_extrude.scad b/src/ring_extrude.scad index b60f5b68..ee684b54 100644 --- a/src/ring_extrude.scad +++ b/src/ring_extrude.scad @@ -1,3 +1,16 @@ +/** +* ring_extrude.scad +* +* Rotational extrusion spins a 2D shape around the Z-axis. +* It's similar to the built-in `rotate_extrude`; however, it supports angle, twist and scale options. +* +* @copyright Justin Lin, 2017 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-ring_extrude.html +* +**/ + module ring_extrude(shape_pts, radius, angle = 360, twist = 0, scale = 1.0, triangles = "RADIAL") { frags = $fn > 0 ? ($fn >= 3 ? $fn : 3) :