mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 21:58:27 +01:00
2 bug fixes
This commit is contained in:
parent
373a119be8
commit
b029284228
@ -556,7 +556,7 @@ module dovetail(gender, length, l, width, w, height, h, angle, slope, taper, bac
|
||||
reverse(concat(smallend_points, xflip(p=reverse(smallend_points)))),
|
||||
reverse(concat(bigend_points, xflip(p=reverse(bigend_points))))
|
||||
],
|
||||
convexity=4
|
||||
slices=0, convexity=4
|
||||
);
|
||||
}
|
||||
children();
|
||||
|
@ -911,8 +911,8 @@ module convex_offset_extrude(
|
||||
top = struct_set(argspec, top, grow=false);
|
||||
bottom = struct_set(argspec, bottom, grow=false);
|
||||
|
||||
offsets_bot = rounding_offsets(bottom, -1);
|
||||
offsets_top = rounding_offsets(top, 1);
|
||||
offsets_bot = _rounding_offsets(bottom, -1);
|
||||
offsets_top = _rounding_offsets(top, 1);
|
||||
|
||||
// "Extra" height enlarges the result beyond the requested height, so subtract it
|
||||
bottom_height = len(offsets_bot)==0 ? 0 : abs(select(offsets_bot,-1)[1]) - struct_val(bottom,"extra");
|
||||
|
Loading…
x
Reference in New Issue
Block a user