mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-06 04:09:47 +00:00
Fix onion() example.
This commit is contained in:
parent
ff4880074d
commit
1c95f7f6c9
1 changed files with 1 additions and 1 deletions
|
@ -1588,7 +1588,7 @@ module onion(r, ang=45, cap_h, d, anchor=CENTER, spin=0, orient=UP)
|
||||||
rotate_extrude(convexity=2) {
|
rotate_extrude(convexity=2) {
|
||||||
difference() {
|
difference() {
|
||||||
teardrop2d(r=r, ang=ang, cap_h=cap_h);
|
teardrop2d(r=r, ang=ang, cap_h=cap_h);
|
||||||
left(r) square(size=[2*r,2*cap_h], center=true);
|
left(r) square(size=[2*r,2*max(cap_h,r)+1], center=true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
children();
|
children();
|
||||||
|
|
Loading…
Reference in a new issue