Merge pull request from revarbat/revarbat_dev

Fix onion() example.
This commit is contained in:
Revar Desmera 2021-04-12 02:37:11 -07:00 committed by GitHub
commit 06842df48f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1588,7 +1588,7 @@ module onion(r, ang=45, cap_h, d, anchor=CENTER, spin=0, orient=UP)
rotate_extrude(convexity=2) {
difference() {
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();