3d-stuff/openscad/own/tiled wolverine claws/tiled_claws.scad

73 lines
1.3 KiB
OpenSCAD
Raw Permalink Normal View History

2020-10-11 02:27:48 +02:00
// Tiled Wolverine Claws
// by zeus - zeus@ctdo.de - CC-BY-NC-4.0
// -> https://www.thingiverse.com/zeus
// -> https://github.com/zeus86
// 2014-12-13
//remixed from "Wolverine Claws in plastic" by "chefmaki"
//( http://www.thingiverse.com/thing:28270 ).
//uncomment claw_t at the end of this document
//to draw the top-section of the claw.
h=2.8;
// ============================
module cut_t(){
intersection(){
import("stl/claw.stl");
rotate([0,0,-65]){translate([-15,0,h/2]){#cube([29,8.5,h],center=true);}}
rotate([0,0,25]){translate([-0,15,h/2]){#cylinder(r=8.5,h=h,center=true, $fn=3);}}
}
}
module claw_t(){
difference(){
import("stl/claw.stl");
rotate([0,0,-65]){translate([0,-72.5,h/2]){#cube([100,153.5,h+0.1],center=true);}}
}
cut_t();
}
// ============================
module cut_b(){
intersection(){
import("stl/claw.stl");
difference(){
rotate([0,0,-65]){translate([-15,0,h/2]){#cube([29,8.5,h],center=true);}}
rotate([0,0,25]){translate([-0,15,h/2]){#cylinder(r=8.5,h=h,center=true, $fn=3);}}
}}
}
module claw_b(){
difference(){
import("stl/claw.stl");
rotate([0,0,-65]){translate([0,72.5,h/2]){#cube([100,153.5,h+0.1],center=true);}}
}
cut_b();
}
// ============================
claw_t();
translate([100,25,0]){
claw_b();}