mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Fixed inverted faces for rcylinder().
This commit is contained in:
parent
a19e30db73
commit
1db271b9ac
1 changed files with 3 additions and 3 deletions
|
@ -231,13 +231,13 @@ module rcylinder(h=1, r=1, d=undef, fillet=0.25, center=false)
|
|||
up(center? 0 : h/2) {
|
||||
rotate_extrude(angle=360, convexity=2) {
|
||||
hull() {
|
||||
left(d/2-fillet) {
|
||||
right(d/2-fillet) {
|
||||
yspread(h-2*fillet) {
|
||||
circle(r=fillet, $fn=quantup(segs(fillet), 4));
|
||||
}
|
||||
}
|
||||
left(d/2/2) square(size=[d/2, h-fillet*2], center=true);
|
||||
left((d/2-fillet)/2) square(size=[d/2-fillet, h], center=true);
|
||||
right(d/2/2) square(size=[d/2, h-fillet*2], center=true);
|
||||
right((d/2-fillet)/2) square(size=[d/2-fillet, h], center=true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue