1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 17:24:20 +02:00

updated doc

This commit is contained in:
Justin Lin
2017-06-10 17:08:28 +08:00
parent f4f37a244a
commit 40bcc0091c

View File

@@ -62,14 +62,15 @@ Dependencies: `rotate_p`, `bezier_curve`, `shape_pie`.
centre_dist = 30; centre_dist = 30;
shape_pts = shape_glued2circles(radius, centre_dist); shape_pts = shape_glued2circles(radius, centre_dist);
width = centre_dist + radius * 2; width = centre_dist + radius * 2;
rotate_extrude() translate([0.00001, 0, 0]) rotate_extrude()
rotate(-90) difference() { intersection() {
polygon(shape_pts); rotate(-90) polygon(shape_pts);
translate([0, -radius / 2]) translate([radius / 2, 0])
square([width, radius], center = true); square([radius, width], center = true);
} }
![shape_glued2circles](images/lib-shape_glued2circles-3.JPG) ![shape_glued2circles](images/lib-shape_glued2circles-3.JPG)