mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
minor cleanup
This commit is contained in:
parent
1b0653a8a4
commit
56a883ed8f
1 changed files with 1 additions and 3 deletions
|
@ -1021,15 +1021,13 @@ function offset(
|
|||
|| !outsidecorner[i] // Don't round inside corners
|
||||
|| (!closed && (i==0 || i==len(goodsegs)-1)) // Don't round ends of an open path
|
||||
? (is_def(sharpcorners[i]) ? [sharpcorners[i]] : basepts)
|
||||
: chamfer //&& is_def(sharpcorners[i])
|
||||
? _offset_chamfer(
|
||||
: chamfer ? _offset_chamfer(
|
||||
goodpath[i], [
|
||||
select(goodsegs,i-1)[1],
|
||||
sharpcorners[i],
|
||||
goodsegs[i][0]
|
||||
], d
|
||||
)
|
||||
: chamfer ? basepts
|
||||
: // rounded case
|
||||
let(
|
||||
class =_tri_class( [ each select(goodsegs,i-1), goodsegs[i][0]]),
|
||||
|
|
Loading…
Reference in a new issue