1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 06:08:31 +01:00

refactor deps

This commit is contained in:
Justin Lin 2020-01-27 14:49:33 +08:00
parent 38a91fe2bd
commit d4d3d5f4d5
2 changed files with 8 additions and 61 deletions

View File

@ -8,19 +8,14 @@
*
**/
include <__comm__/__frags.scad>;
use <__comm__/__frags.scad>;
use <helix.scad>;
use <cross_sections.scad>;
use <polysections.scad>;
module helix_extrude(shape_pts, radius, levels, level_dist,
vt_dir = "SPI_DOWN", rt_dir = "CT_CLK",
twist = 0, scale = 1.0, triangles = "SOLID") {
function reverse(vt) =
let(leng = len(vt))
[
for(i = 0; i < leng; i = i + 1)
vt[leng - 1 - i]
];
twist = 0, scale = 1.0, triangles = "SOLID") {
is_flt = is_num(radius);
r1 = is_flt ? radius : radius[0];
r2 = is_flt ? radius : radius[1];

File diff suppressed because one or more lines are too long