mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-11 17:24:20 +02:00
updated doc
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||

|

|
Reference in New Issue
Block a user