GM. If you copy and paste this text into OpenSCAD you can create and 3D print an object that is legally classified as a machine gun in the US.
Can somebody please report it so it gets deleted?
GM. If you copy and paste this text into OpenSCAD you can create and 3D print an object that is legally classified as a machine gun in the US.
Can somebody please report it so it gets deleted?
Is there a non-minified version of it somewhere? I just realized how nice some of the curves are. My openscad models are lucky to get a fillet lmao.
Sorry, switched keys and just saw this.
No, I never published anything but the minified script. My formatted source file still has a bunch of shorthand module I use for the primatives, but it's small enough I just went through and replaced them so.
$fn=64;
difference(){
/// Z PROFILE
linear_extrude(12.44){
difference(){
union(){
polygon(
[ [0, 0],
[0, 13],
[2.76, 13],
[3.56, 12.3],
[3.56, 4],
[4.35, 3.2],
[14.7, 3.2],
[15.5, 4],
[15.5, 10.68],
[17.08, 13.43],
[23.91, 17.37],
[24.34, 17.73],
[28.51, 22.7],
[29.12, 23],
[33.95, 23],
[35.11, 22.07],
[39.9, 1.75],
[39.31, 0.8],
[37, 0.25],
[20.26, 0] ]
);
translate([18.67,10.68])circle(3.18);
}
translate([23.12,18.75])circle(1.59);
translate([18.9,10.56])circle(2);
translate([27.82,8])circle(6.35);
polygon(
[ [37, 0],
[37, 0.25],
[36, 0.84],
[34, 9.46],
[26.5, 14.2],
[18.46, 12.5],
[18.68, 8.6],
[20.26, 7],
[20.26, 0] ]
);
}
translate([18.67,7])circle(1.59);
}
/// Y PROFILE
rotate([-90,0,0])linear_extrude(23){
difference(){
translate([0,-13])square([22.43,13]);
hull(){
translate([22,0])square([1,1]);
translate([5.3,-6.5])circle(5.93);
translate([5.3,-5.81])circle(5.93);
translate([17.46,-6.64])circle(5.93);
}
}
translate([23.1,-10.32])circle(.79);
translate([22.3,-13])square([1.59,2.68]);
}
/// X PROFILE
translate([23.1,0])rotate([0,90,0])linear_extrude(17)hull(){
translate([-13,19.24])square([1,1]);
translate([-12.7,0])square([3.18,1]);
translate([-11.11,18.65])circle(1.59);
}
}