Initial Commit
This commit is contained in:
31
mylogo.scad
Normal file
31
mylogo.scad
Normal file
@@ -0,0 +1,31 @@
|
||||
$fn = 50;
|
||||
|
||||
border = 1;
|
||||
plate_wh = 80;
|
||||
plate_h = 1;
|
||||
logo_wh = plate_wh - border;
|
||||
base_t = 0.2;
|
||||
mask_t = 0.8;
|
||||
corner_r = 1;
|
||||
logo_file = "apple/apple-logo.svg";
|
||||
|
||||
|
||||
svg_scale = 0.3;
|
||||
|
||||
group() {
|
||||
difference() {
|
||||
linear_extrude(height = plate_h) offset(r = corner_r) square([plate_wh - 2* corner_r, plate_wh - 2*corner_r], center =true);
|
||||
linear_extrude(height = plate_h) square([logo_wh,logo_wh], center = true);
|
||||
}
|
||||
difference() {
|
||||
linear_extrude(height = plate_h) square([logo_wh,logo_wh], center = true);
|
||||
translate([0,0,plate_h - mask_t])
|
||||
linear_extrude(height = plate_h)
|
||||
scale(svg_scale)
|
||||
import(logo_file, center = true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user