Circle doesn't have center parameter

This commit is contained in:
mmcwilliams 2023-04-23 23:59:02 -04:00
parent 76f5d64c97
commit 44a3712728
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ module 2020Profile(height, core = ProfileCore) {
union() {
difference() {
minkowski() {
translate([0, 0, 0]) circle(r = minkR_PF, center = true, $fn = 32);
translate([0, 0, 0]) circle(r = minkR_PF, $fn = 32);
square([1 * 20 - 2 * minkR_PF, 1 * 20 - 2 * minkR_PF], center = true);
}
translate([0, 0, 0]) circle(r = core / 2, $fn = 24);
@ -41,7 +41,7 @@ module fillet(rad) {
translate([-rad, -rad, 0])
difference() {
translate([0, 0, 0]) square([rad + 0.01, rad + 0.01]);
circle(r = rad, center = true, $fn = 32);
circle(r = rad, $fn = 32);
}
}
@ -93,7 +93,7 @@ module tSlot() {
union() {
translate([minkR_TS, 0, 0])
minkowski() {
translate([0, 0, 0]) circle(r = minkR_TS, center = true, $fn = 32);
translate([0, 0, 0]) circle(r = minkR_TS, $fn = 32);
hull() {
square([0.001 * 20, 0.585 * 20 - 2 * minkR_TS], center = true);
translate([(0.233 * 20 - 2 * minkR_TS) / 2, 0, 0]) square([0.233 * 20 - 2 * minkR_TS, 0.2 * 20], center = true);