mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
Merge branch 'master' into revarbat_dev
This commit is contained in:
commit
ef4402c183
@ -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…
x
Reference in New Issue
Block a user