mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
fix geometry offset() calls
This commit is contained in:
parent
d90aeb367f
commit
44361dd2bf
@ -1585,8 +1585,8 @@ function polygon_normal(poly) =
|
|||||||
// b=30;
|
// b=30;
|
||||||
// ofs = 17;
|
// ofs = 17;
|
||||||
// curve = [for(theta=[0:10:140]) [a * theta/360*2*PI - b*sin(theta), a-b*cos(theta)-20]];
|
// curve = [for(theta=[0:10:140]) [a * theta/360*2*PI - b*sin(theta), a-b*cos(theta)-20]];
|
||||||
// path = deduplicate(concat( reverse(offset(curve,r=ofs)),
|
// path = deduplicate(concat( reverse(offset(curve,r=ofs,closed=false)),
|
||||||
// xflip(offset(curve,r=ofs)),
|
// xflip(offset(curve,r=ofs,closed=false)),
|
||||||
// xflip(reverse(curve)),
|
// xflip(reverse(curve)),
|
||||||
// curve
|
// curve
|
||||||
// ));
|
// ));
|
||||||
@ -1612,8 +1612,8 @@ function polygon_normal(poly) =
|
|||||||
// b=30*2/3;
|
// b=30*2/3;
|
||||||
// ofs = 17*2/3;
|
// ofs = 17*2/3;
|
||||||
// curve = [for(theta=[0:10:140]) [a * theta/360*2*PI - b*sin(theta), a-b*cos(theta)]];
|
// curve = [for(theta=[0:10:140]) [a * theta/360*2*PI - b*sin(theta), a-b*cos(theta)]];
|
||||||
// path = deduplicate(concat( reverse(offset(curve,r=ofs)),
|
// path = deduplicate(concat( reverse(offset(curve,r=ofs,closed=false)),
|
||||||
// xflip(offset(curve,r=ofs)),
|
// xflip(offset(curve,r=ofs,closed=false)),
|
||||||
// xflip(reverse(curve)),
|
// xflip(reverse(curve)),
|
||||||
// curve
|
// curve
|
||||||
// ));
|
// ));
|
||||||
@ -1628,8 +1628,8 @@ function polygon_normal(poly) =
|
|||||||
// b=30*2/3;
|
// b=30*2/3;
|
||||||
// ofs = 17*2/3;
|
// ofs = 17*2/3;
|
||||||
// curve = [for(theta=[0:10:140]) [a * theta/360*2*PI - b*sin(theta), a-b*cos(theta)]];
|
// curve = [for(theta=[0:10:140]) [a * theta/360*2*PI - b*sin(theta), a-b*cos(theta)]];
|
||||||
// path = deduplicate(concat( reverse(offset(curve,r=ofs)),
|
// path = deduplicate(concat( reverse(offset(curve,r=ofs,closed=false)),
|
||||||
// xflip(offset(curve,r=ofs)),
|
// xflip(offset(curve,r=ofs,closed=false)),
|
||||||
// xflip(reverse(curve)),
|
// xflip(reverse(curve)),
|
||||||
// curve
|
// curve
|
||||||
// ));
|
// ));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user