1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00

remove offset

This commit is contained in:
Justin Lin 2019-10-06 11:55:59 +08:00
parent 702a2c9577
commit 6cacd821e8

View File

@ -13,12 +13,12 @@ sides = 3;
module ring_regular_polygon(radius, thickness, sides) {
hollow_out(thickness)
circle(radius + thickness, $fn = sides);
circle(radius + thickness / 2, $fn = sides);
}
module ring_regular_polygon_sector(radius, angle, thickness, width, sides) {
intersection() {
ring_regular_polygon(radius - 0.1, thickness + 0.2, sides);
ring_regular_polygon(radius, thickness + 0.2, sides);
rotate([0, 0, angle])
line2d([0, 0], [0, radius * 3 + width], width);
}