mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Merge branch 'master' into revarbat_dev
This commit is contained in:
commit
ef4402c183
2 changed files with 2 additions and 3 deletions
|
@ -976,7 +976,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,")"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue