1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-18 20:41:18 +02:00

added comment

This commit is contained in:
Justin Lin
2017-05-04 10:12:46 +08:00
parent 5308d17e70
commit c0eac32830

View File

@@ -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) :