mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Docs example image bugfixes.
This commit is contained in:
parent
373a119be8
commit
46a322f935
3 changed files with 6 additions and 5 deletions
|
@ -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(smallend_points, xflip(p=reverse(smallend_points)))),
|
||||||
reverse(concat(bigend_points, xflip(p=reverse(bigend_points))))
|
reverse(concat(bigend_points, xflip(p=reverse(bigend_points))))
|
||||||
],
|
],
|
||||||
convexity=4
|
convexity=4, slices=0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
children();
|
children();
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
include <BOSL2/beziers.scad>
|
include <BOSL2/beziers.scad>
|
||||||
include <BOSL2/strings.scad>
|
include <BOSL2/strings.scad>
|
||||||
include <BOSL2/structs.scad>
|
include <BOSL2/structs.scad>
|
||||||
|
include <BOSL2/skin.scad>
|
||||||
|
|
||||||
|
|
||||||
// CommonCode:
|
// 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
|
// 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);
|
// 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)
|
// 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(
|
module convex_offset_extrude(
|
||||||
height, h, l,
|
height, h, l,
|
||||||
top=[], bottom=[],
|
top=[], bottom=[],
|
||||||
|
@ -911,8 +912,8 @@ module convex_offset_extrude(
|
||||||
top = struct_set(argspec, top, grow=false);
|
top = struct_set(argspec, top, grow=false);
|
||||||
bottom = struct_set(argspec, bottom, grow=false);
|
bottom = struct_set(argspec, bottom, grow=false);
|
||||||
|
|
||||||
offsets_bot = rounding_offsets(bottom, -1);
|
offsets_bot = _rounding_offsets(bottom, -1);
|
||||||
offsets_top = rounding_offsets(top, 1);
|
offsets_top = _rounding_offsets(top, 1);
|
||||||
|
|
||||||
// "Extra" height enlarges the result beyond the requested height, so subtract it
|
// "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");
|
bottom_height = len(offsets_bot)==0 ? 0 : abs(select(offsets_bot,-1)[1]) - struct_val(bottom,"extra");
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,138];
|
BOSL_VERSION = [2,0,139];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
|
Loading…
Reference in a new issue