mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-29 17:30:11 +02:00
add soccer_jogsaw
This commit is contained in:
21
examples/soccer_polyhedron/soccer_jigsaw.scad
Normal file
21
examples/soccer_polyhedron/soccer_jigsaw.scad
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
use <soccer_polyhedron.scad>;
|
||||||
|
|
||||||
|
r = 30;
|
||||||
|
thickness = 2.5;
|
||||||
|
spacing = 0.4;
|
||||||
|
half = true;
|
||||||
|
flat_inner = true;
|
||||||
|
|
||||||
|
color("gold")
|
||||||
|
intersection() {
|
||||||
|
difference() {
|
||||||
|
sphere(r);
|
||||||
|
if(flat_inner) {
|
||||||
|
soccer_polyhedron(r - thickness, spacing = 0);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
sphere(r - thickness);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
soccer_polyhedron(r * 1.5, spacing = spacing, jigsaw_base = true, half = half);
|
||||||
|
}
|
Reference in New Issue
Block a user