Files
phone-case/primitives.scad
Colin ecc55805fb re-model the phone
case.scad is dead: i'll recreate it later
2023-12-21 07:11:57 +00:00

10 lines
387 B
OpenSCAD

/// cylinder() but with the axis on the y axis instead of the z axis
module cylinderY(d=undef, r=undef, h=undef, center=false) {
rotate(a=[-90,0,0]) cylinder(d=d, r=r, h=h, center=center);
}
/// cylinder() but with the axis on the x axis instead of the z axis
module cylinderX(d=undef, r=undef, h=undef, center=false) {
rotate(a=[0,-90,0]) cylinder(d=d, r=r, h=h, center=center);
}