From c59292a40defc5d3fcfdff644ecdb742483e421c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C4=8C=C3=AD=C5=BEek?= Date: Wed, 17 Feb 2021 18:56:20 +0100 Subject: [PATCH 1/2] Fix function header typos interfering with docs generation. --- math.scad | 2 +- strings.scad | 4 ++-- vnf.scad | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/math.scad b/math.scad index 76fe0e9..7d26bf2 100644 --- a/math.scad +++ b/math.scad @@ -409,7 +409,7 @@ function posmod(x,m) = (x%m+m)%m; -// Function: modang(x) +// Function: modang() // Usage: // ang = modang(x) // Description: diff --git a/strings.scad b/strings.scad index 26be635..be287de 100644 --- a/strings.scad +++ b/strings.scad @@ -34,7 +34,7 @@ function _substr(str,pos,len,substr="") = _substr(str, pos+1, len-1, str(substr, str[pos])); -// Function suffix() +// Function: suffix() // Usage: // suffix(str,len) // Description: @@ -726,7 +726,7 @@ function str_pad(str,length,char=" ",left=false) = left ? str(padding,str) : str(str,padding); -// Function str_replace_char() +// Function: str_replace_char() // Usage: // newstr = str_replace_char(str, char, replace) // Description: diff --git a/vnf.scad b/vnf.scad index 9118ee3..d764104 100644 --- a/vnf.scad +++ b/vnf.scad @@ -870,7 +870,7 @@ module vnf_validate(vnf, size=1, show_warns=true, check_isects=false) { // Section: VNF transformations // -// Function: vnf_halfspace(halfspace, vnf) +// Function: vnf_halfspace() // Usage: // vnf_halfspace([a,b,c,d], vnf) // Description: From 576b3ab457baf8e3e1d4fe3ce49970ddc5a21254 Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Thu, 18 Feb 2021 16:19:45 -0500 Subject: [PATCH 2/2] remove debug echo --- rounding.scad | 1 - 1 file changed, 1 deletion(-) diff --git a/rounding.scad b/rounding.scad index f70bead..d77caa5 100644 --- a/rounding.scad +++ b/rounding.scad @@ -975,7 +975,6 @@ function offset_sweep( height = one_defined([l,h,height], "l,h,height", dflt=u_add(bottom_height,top_height)), middle = height-bottom_height-top_height ) - echo(height=height) assert(height>0, "Height must be positive") assert(middle>=0, str("Specified end treatments (bottom height = ",bottom_height, " top_height = ",top_height,") are too large for extrusion height (",height,")"