Category Archives: OpenSCAD

A Simple 3D Shape

The below describes a simple shape designed in OpenSCAD. It’s actually a replacement part to fix a portable record player, a small tab that fits on the lid.

Basically, it’s a simple extruded shape with some block writing on the upper face:

//parameterize main dimensions
width = 20;
length=25;

//extrude the main shape
rotate([90,0,0]){
    linear_extrude(width) {
        polygon(points=[[0,0],[length,0],[length,3],[4,3],[2,6],[0,6]]);
    }
}

//add the text
translate([8, -6, 0]){
    rotate([0,0,-90]){
        linear_extrude(5){
            text( "PUSH", size=3);
        }
    } 
}