Skip to content

Instantly share code, notes, and snippets.

@scruss
Created November 24, 2018 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scruss/f6ebd31009582cf0cd79801f6e0b1bd6 to your computer and use it in GitHub Desktop.
Save scruss/f6ebd31009582cf0cd79801f6e0b1bd6 to your computer and use it in GitHub Desktop.
Commodore Business Machines Logo - Chris Yaneff, 1965
// Commodore Business Machines Logo by Chris Yaneff (1965)
// scruss - 2018
// from https://twitter.com/vccmalta/status/1066231884911468544
a=100; // 10 cm
b=0.034*a;
c=0.166*a;
d=0.30*a;
e=0.364*a;
f=0.52*a;
g=0.53*a; // central hole is slightly elliptical
h=a-e;
i=b+2*(d+c);
$fn=64;
union() {
difference() {
translate([i/2,i/2])difference() {
circle(d=i,center=true);
scale([g/f,f/f])circle(d=f,center=true);
}
translate([h,0])square(a);
}
polygon([
[h, i-d-c],
[h, i-d],
[a, i-d],
[a-c, i-d-c]
]);
polygon([
[h, d],
[h, d+c],
[a-c, d+c],
[a, d]
]);
}
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment