openscad_examples/scad/deterministic_random_seed2....

9 lines
265 B
OpenSCAD

$fn = 100;
random_seed=1337;
difference () {
cube([40, 40, 40], center = true);
rotate([0, 90, 0]) cylinder(r = 20/2, h = 40 + 1, center = true);
rotate([90, 0, 0]) cylinder(r = 20/2, h = 40 + 1, center = true);
cylinder(r = 20/2, h = 40 + 1, center = true);
}