mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-30 08:19:36 +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) ? [] : [
|
||||
for(i=[0:len(goodsegs)-1])
|
||||
r==0 ? 0 :
|
||||
ceil(
|
||||
abs(r)*vector_angle(
|
||||
select(goodsegs,i-1)[1]-goodpath[i],
|
||||
|
|
Loading…
Reference in a new issue