Skip to content

Instantly share code, notes, and snippets.

View adeeshaek's full-sized avatar

Adeesha Ekanayake adeeshaek

View GitHub Profile
@adeeshaek
adeeshaek / gist:4720123
Created February 6, 2013 03:56
Simple Custom GUI framework for Unity3d
/*
* myGUIControls
* purpose: define custom GUI controls, such as
* dialogBox
* author: Adeesha Ekanayake
*/
using UnityEngine;
using System.Collections;
using System;
@adeeshaek
adeeshaek / stamp.scad
Created June 20, 2024 13:25
How to create a pottery stamp using openSCAD for 3d printing
use <chamfer_extrude.scad>
// declare the height and radius of the cylinder supporting the stamp
cylinder_height = 20;
cylinder_radius = 10;
// move the stamp so that it is in the centre of the cylinder
translate([-1.3, 0.2, cylinder_height])
// scale the stamp so that it fits on the cylinder
scale([0.2, 0.2, 0.4])