Docs example image bugfixes.

This commit is contained in:
Revar Desmera 2020-02-29 19:16:43 -08:00
parent 373a119be8
commit 46a322f935
3 changed files with 6 additions and 5 deletions

View file

@ -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
convexity=4, slices=0
);
}
children();

View file

@ -12,6 +12,7 @@
include <BOSL2/beziers.scad>
include <BOSL2/strings.scad>
include <BOSL2/structs.scad>
include <BOSL2/skin.scad>
// CommonCode:
@ -884,7 +885,7 @@ function os_profile(points, extra,check_valid, quality, offset_maxstep, offset)
// Example: If you give a non-convex input you get a convex hull output
// right(50) linear_extrude(height=7) star(5,r=22,ir=13);
// convex_offset_extrude(bottom = os_chamfer(height=-2), top=os_chamfer(height=1), height=7)
// star(5,r=22,ir=13)
// star(5,r=22,ir=13);
module convex_offset_extrude(
height, h, l,
top=[], bottom=[],
@ -911,8 +912,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");

View file

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,138];
BOSL_VERSION = [2,0,139];
// Section: BOSL Library Version Functions