1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-08-31 08:45:34 +02:00

Cleaner rounded rectangles using hull instead of union.

This commit is contained in:
Chris Palmer
2016-01-08 23:49:18 +00:00
parent 5c8bed54cd
commit e1a847b33f
52 changed files with 8436 additions and 13022 deletions

View File

@@ -82,7 +82,7 @@ module right_triangle(width, height, h, center = true) {
module rounded_square(w, h, r)
{
union() {
hull() {
square([w - 2 * r, h], center = true);
square([w, h - 2 * r], center = true);
for(x = [-w/2 + r, w/2 - r])