From 775e1857e5ff2088c48ddcfeec1ac8973c2f4963 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 10 May 2017 16:41:12 +0800 Subject: [PATCH] changed default value --- docs/lib-archimedean_spiral_extrude.md | 4 ++-- src/archimedean_spiral_extrude.scad | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/lib-archimedean_spiral_extrude.md b/docs/lib-archimedean_spiral_extrude.md index 8716feee..ee3d2e06 100644 --- a/docs/lib-archimedean_spiral_extrude.md +++ b/docs/lib-archimedean_spiral_extrude.md @@ -2,7 +2,7 @@ Extrudes a 2D shape along the path of an archimedean spiral. -When using this module, you should use points to represent the 2D shape. You need to provide indexes of triangles, too. This module provides two prepared triangles indexes. See [polysections](https://openhome.cc/eGossip/OpenSCAD/lib-polysections.html) for details. +When using this module, you should use points to represent the 2D shape. If your 2D shape is not solid, indexes of triangles are required. See [polysections](https://openhome.cc/eGossip/OpenSCAD/lib-polysections.html) for details. Dependencies: `rotate_p`, `archimedean_spiral`, `cross_sections`, `polysections`. @@ -12,7 +12,7 @@ Dependencies: `rotate_p`, `archimedean_spiral`, `cross_sections`, `polysections` - `arm_distance`, `init_angle`, `point_distance`, `num_of_points` and `rt_dir` : See [archimedean_spiral](https://openhome.cc/eGossip/OpenSCAD/lib-archimedean_spiral.html) for details. - `twist` : The number of degrees of through which the shape is extruded. - `scale` : Scales the 2D shape by this value over the length of the extrusion. Scale can be a scalar or a vector. -- `triangles` : `"RADIAL"` (default), `"HOLLOW"`, `"TAPE"` or user-defined indexes. See [polysections](https://openhome.cc/eGossip/OpenSCAD/lib-polysections.html) for details. +- `triangles` : `"SOLID"` (default), `"HOLLOW"` or user-defined indexes. See [polysections](https://openhome.cc/eGossip/OpenSCAD/lib-polysections.html) for details. ## Examples diff --git a/src/archimedean_spiral_extrude.scad b/src/archimedean_spiral_extrude.scad index 6bf301d6..aebd5598 100644 --- a/src/archimedean_spiral_extrude.scad +++ b/src/archimedean_spiral_extrude.scad @@ -11,7 +11,7 @@ **/ module archimedean_spiral_extrude(shape_pts, arm_distance, init_angle, point_distance, num_of_points, - rt_dir = "CT_CLK", twist = 0, scale = 1.0, triangles = "RADIAL") { + rt_dir = "CT_CLK", twist = 0, scale = 1.0, triangles = "SOLID") { points_angles = archimedean_spiral( arm_distance = arm_distance, init_angle = init_angle,