mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-02-16 16:39:38 +00:00
Bugfix for spiral_sweep(). polyline needed to be converted to 3D.
This commit is contained in:
parent
1ecd2e798d
commit
ef5d5a15be
2 changed files with 2 additions and 1 deletions
|
@ -781,6 +781,7 @@ module extrude_from_to(pt1, pt2, convexity=undef, twist=undef, scale=undef, slic
|
|||
// poly = [[-10,0], [-3,-5], [3,-5], [10,0], [0,-30]];
|
||||
// spiral_sweep(poly, h=200, r=50, twist=1080, $fn=36);
|
||||
module spiral_sweep(polyline, h, r, twist=360, center, anchor, spin=0, orient=UP) {
|
||||
polyline = path3d(polyline);
|
||||
pline_count = len(polyline);
|
||||
steps = ceil(segs(r)*(twist/360));
|
||||
anchor = get_anchor(anchor,center,BOT,BOT);
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
BOSL_VERSION = [2,0,271];
|
||||
BOSL_VERSION = [2,0,272];
|
||||
|
||||
|
||||
// Section: BOSL Library Version Functions
|
||||
|
|
Loading…
Reference in a new issue