colah/ImplicitCAD — Issue #32: scad: rotate around an arbitrary axis is not supported
Author: tolomea
Created: 2012-03-04 01:30:07+00:00
State: open

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

produces:

Module rotate gave the following warnings:
unused arguments
Module rotate gave the following warnings:
unused arguments
Module rotate gave the following warnings:
unused arguments
Rendering 3D object to bob.stl
DifferenceR3 0.0 [Sphere 25.0,Rotate3 (90.0,0.0,0.0) (Translate3 (0.0,0.0,-25.0) (ExtrudeR 0.0 (Circle 12.5) 50.0)),Rotate3 (90.0,0.0,0.0) (Translate3 (0.0,0.0,-25.0) (ExtrudeR 0.0 (Circle 12.5) 50.0)),Rotate3 (90.0,0.0,0.0) (Translate3 (0.0,0.0,-25.0) (ExtrudeR 0.0 (Circle 12.5) 50.0))]