mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-02-20 02:29:37 +00:00
Fixed bug in offset(), failure for r=0
This commit is contained in:
parent
5339062f76
commit
72531fd812
1 changed files with 1 additions and 0 deletions
|
@ -702,6 +702,7 @@ function offset(
|
||||||
],
|
],
|
||||||
steps = is_def(delta) ? [] : [
|
steps = is_def(delta) ? [] : [
|
||||||
for(i=[0:len(goodsegs)-1])
|
for(i=[0:len(goodsegs)-1])
|
||||||
|
r==0 ? 0 :
|
||||||
ceil(
|
ceil(
|
||||||
abs(r)*vector_angle(
|
abs(r)*vector_angle(
|
||||||
select(goodsegs,i-1)[1]-goodpath[i],
|
select(goodsegs,i-1)[1]-goodpath[i],
|
||||||
|
|
Loading…
Reference in a new issue