3d-models/replacement-parts/givi-key-grip.scad

42 lines
1.5 KiB
OpenSCAD
Raw Normal View History

2024-06-04 23:13:12 -05:00
$fn=360;
difference() {
color("white") union() {
translate([-12, 0, -2.5]) cube([24, 12, 5]);
translate([-6, -12, -2.5]) cube([12, 12, 5]);
translate([0, 0, 1.5]) cylinder(r1=12, r2=11, h=1);
translate([0, 0, -1.501]) cylinder(r=12, h=3.002);
translate([0, 0, -2.5]) cylinder(r1=11, r2=12, h=1);
}
union() {
color("red") translate([0, -11.4, 0]) union() {
for (i = [0:8]) {
translate([-5, i*1.2, -2]) cube([10, 0.4, 4]);
}
}
color("black") union() {
translate([0, 0, 2.1]) scale([0.32, 0.32, 0.402])
linear_extrude(1) import("probatem-logo.svg", center=true);
// translate([0, 0, -2.301]) rotate([0, 180, 0]) scale([0.32, 0.32, 0.201])
// linear_extrude(1) import("probatem-logo.svg", center=true);
}
color("slateblue") union() {
translate([-12, 6.4, 2.5]) rotate([0, 45, 0]) cube([1.414, 13, 1.414], center=true);
translate([-12, 6.4, -2.5]) rotate([0, 45, 0]) cube([1.414, 13, 1.414], center=true);
translate([12, 6.4, 2.5]) rotate([0, 45, 0]) cube([1.414, 13, 1.414], center=true);
translate([12, 6.4, -2.5]) rotate([0, 45, 0]) cube([1.414, 13, 1.414], center=true);
translate([0, 12, 2.5]) rotate([45, 0, 0]) cube([26, 1.414, 1.414], center=true);
translate([0, 12, -2.5]) rotate([45, 0, 0]) cube([26, 1.414, 1.414], center=true);
translate([-12, 12, 0]) rotate([0, 0, 45]) cube([1.414, 1.414, 6], center=true);
translate([12, 12, 0]) rotate([0, 0, 45]) cube([1.414, 1.414, 6], center=true);
}
}
}