colah/ImplicitCAD — Issue #31: scad: rotate angles are being interpreted as radians
Author: tolomea
Created: 2012-03-04 01:25:37+00:00
State: open

instead of degrees, consider these examples

difference() {
sphere(r=25);
rotate([0, 0, 90]) cylinder(r=12.5,h=50,center=true);
rotate([90, 0, 0]) cylinder(r=12.5,h=50,center=true);
rotate([0, 90, 0]) cylinder(r=12.5,h=50,center=true);
}

difference() {
sphere(r=25);
rotate([0, 0, 1.57079633]) cylinder(r=12.5,h=50,center=true);
rotate([1.57079633, 0, 0]) cylinder(r=12.5,h=50,center=true);
rotate([0, 1.57079633, 0]) cylinder(r=12.5,h=50,center=true);
}