mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-28 22:49:47 +02:00
Change offset() default closed value to match builtin
This commit is contained in:
@@ -1193,7 +1193,7 @@ module rabbit_clip(type, length, width, snap, thickness, depth, compression=0.1
|
||||
bounds = pointlist_bounds(rounded);
|
||||
extrapt = is_pin ? [] : [rounded[0] - [0,extra]];
|
||||
finalpath = is_pin ? rounded
|
||||
: let(withclearance=offset(rounded, r=-clearance))
|
||||
: let(withclearance=offset(rounded, r=-clearance, closed=false))
|
||||
concat( [[withclearance[0].x,-extra]],
|
||||
withclearance,
|
||||
[[-withclearance[0].x,-extra]]);
|
||||
|
Reference in New Issue
Block a user