Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a park fence miniature. Start by constructing a vertical cylinder with a radius of 5mm and a total height of 60mm, centered on the X and Y axes. From the top of this vertical post, extend a horizontal cylinder with a radius of 5mm and a length of 120mm, positioned so it projects outward along the X-axis. To crea... | difference()
{
translate ([0,0,25])
rotate ([0,90,0])
cylinder(h = 120, r1 = 5, r2 = 5, $fn=100);
translate([120,0,15])
cylinder(h = 55, r1 = 5, r2 = 5, $fn=100);
}
translate ([i*20,0,0])
cube([10,5,60]... | glb/cad_f8a2b5074605.glb |
Create a Farola street lamp model consisting of a central vertical pole with radiating arms. Start by constructing the main vertical shaft as a hollow cylinder with a total height of 41mm and an outer radius of 1mm, featuring a smaller inner hole of 0.5mm radius running through its center. At the base, add a conical se... | module farola(brazos)
{
difference()
{
difference()
{
cylinder (h=10, r1 =3, r2 = 1, $fn=100, center = true);
translate([0,0,1])
cylinder(h=10, r1 =1, r2 = 0.5, $fn=100, center = true);
}
rotate([90,0,0])
translate([0,0,2])
cylinder(h=5, r1 =1, r2 = 1, $fn=100, center = true);
}
difference()
{
tran... | glb/cad_b813be97cd39.glb |
Create a Farola lamp housing by starting with a 4mm by 4mm by 6mm cube. Carve out a central rectangular void by removing a 2mm by 5mm by 4mm block positioned at coordinates [1, -1, 1] and another 5mm by 2mm by 4mm block positioned at [-1, 1, 1]. Finally, add a small vertical cylinder with a height of 4mm and a radius o... | rotate([0,0,(120)-115])
translate([-1,6,41.5])
difference()
{
difference()
{
difference()
{
cube ([4,4,6]);
translate([1,-1,1])
cube ([2,5,4]);
}
translate([-1,1,1])
cube ([5,2,4]);
}
translate([2,2,0])
cylinder(h=4, r1 =0.5, r2 =... | glb/cad_70d0f2c193f5.glb |
Create a Farola street lamp model consisting of a tall vertical pole and a conical base. Start by constructing a hollow vertical cylinder with a height of 41mm and an outer radius of 1mm, featuring a concentric inner hole with a radius of 0.5mm to allow for wiring. At the bottom of this pole, attach a conical base that... | difference()
{
difference()
{
cylinder (h=10, r1 =3, r2 = 1, $fn=100, center = true);
translate([0,0,1])
cylinder(h=10, r1 =1, r2 = 0.5, $fn=100, center = true);
}
rotate([90,0,0])
translate([0,0,2])
cylinder(h=5, r1 =1, r2 = 1, $fn=100, center = true);
}
difference()
{
translate ([0, 0, 4])
... | glb/cad_659d1e59edae.glb |
Create a Farola lamp post by starting with a central vertical cylinder that is 41mm tall with a radius of 1mm. At the top of this cylinder, at a height of 40mm, place a smaller cylinder with a radius of 1mm and a height of 10mm, rotated 80 degrees to extend outward. From this extended arm, remove a smaller concentric c... | difference()
{
difference()
{
difference()
{
translate ([0, 0,40])
rotate([-80,0,0])
cylinder(h=10, r1 =1, r2 = 1, $fn=100);
translate ([0, 0,40])
rotate([-80,0,i*360/3])
cylinder(h=10, r1 =0.5, r2 = 0.5, $fn=100);
}
... | glb/cad_67f798a661c8.glb |
Create a blender lid pusher with a height of 100mm and a wall thickness of 5mm. The overall footprint is a curved, banana-like shape defined by two concentric circular arcs.
The outer boundary is a circular arc with a radius of 135mm, spanning an angle of 84 degrees (the sum of 57 and 27 degrees). The inner boundary ... | h=100;
e=5;
r1=135;
r2=60;
r3=(r1-r2+e)/2;
a1=57;
a2=27;
c=4*e;
module cylemp(vr,ve=e,vh=h){
difference(){
cylinder(vh,vr,vr);
cylinder(vh,vr-ve,vr-ve);
}
}
module cubang(vdeg,vdegi=0,vr=r1,vh=h){
intersection(){
translate([-vr,0,0]) cube([2*vr,vr,vh]);
rotate(180-vdeg,[0,0,1])
translate([-vr,0,0]) cube([2*... | glb/cad_23576eeb31c8.glb |
Create a carrying case for a quadcopter by starting with a main cylinder 150mm in diameter and 25mm high. Hollow out the top of this cylinder by removing a smaller concentric cylinder with a 146mm diameter and a height of 4mm, leaving a 2mm thick base and a 2mm thick rim. Inside this hollowed area, carve out several re... | difference(){
difference(){
translate([0,0,0]) cylinder(h = 25, r=75, $fn=100);
translate([0,0,22]){
difference(){
cylinder(h = 4, r=75, $fn=100);
cylinder(h = 4, r=73, $fn=100);
}
}
}
{
translate([-25,-25,2]) cube([50,50,50]);
translate([-70,-7.5,2]) cube([140,15,50]);
translate([-7.5,-70,2]) cube([15,140,50]);
t... | glb/cad_9a8f9d699cf4.glb |
Create a Crazyflie carrying case by constructing a shallow, wide cylindrical base and a surrounding wall. Start with a solid cylinder 150mm in diameter and 2mm in height to serve as the floor. Around the outer edge of this base, add a concentric cylindrical ring with an outer diameter of 150mm and a height of 6mm. Holl... | cylinder(h = 2, r=75, $fn=100);
difference(){
cylinder(h = 6, r=75, $fn=100);
cylinder(h = 6, r=73, $fn=100);
} | glb/cad_1eacb3086ead.glb |
Create a rotary encoder knob by constructing a main body that is a hexagonal prism with a width of 17mm and a total height of 19mm. The top of the knob should be a flat circular face with a diameter of 14mm. The bottom of the knob should feature a base flange with a diameter of 18mm and a height of 2mm, topped by a con... | shaft_height = 15;
shaft_depth = 11;
width=17;
diameter_bottom_finish = 1;
extra_height = 0;
toprounding=-3;
shaft_clear = shaft_height-shaft_depth;
n = 6+0;
min_cap = 4+0;
height = shaft_height + min_cap + extra_height;
diameterBottom = width + diameter_bottom_finish;
$fn = 100;
difference(){
intersection(){
u... | glb/cad_7963958cbdad.glb |
Create a square stationery container composed of a grid of rods. Use rods with a width and height of 2mm and a length of 6mm.
Construct the base as a 3x3 grid of squares. This is achieved by creating a pattern of intersecting rods where each square cell is formed by the 6mm length of the rods.
Build the walls by ex... | l = 6;
w = 2;
h = w;
mark = 1;
if (mark == 3)
union()
{
translate([0,0,-w])
for ( i =[
[0,0,90],[0,0,180],[0,0,270],
[0,0,0],])
{
rotate(i)
fivex5();
}
for ( j = [
[0,90,0],[0,90,90],[0,90,180],
[0,90,270],
])
{
rotate(j)
translate([0,0,5*l-w/2])
r... | glb/cad_3feee0e7deba.glb |
Create a cam clamp pin for a miter saw by constructing a composite vertical body. Start with a central cylinder 8mm in diameter and 4.5mm high, centered at the base. Above this, add a larger elliptical cylinder with a width of 58mm and a depth of 6.5mm, extending upwards. At the very top, integrate a third elliptical c... | difference() {union () {translate ([0,2.95,0])cylinder (8,4,4.5);
scale ([1,1.15,1]) translate ([0,0,8])cylinder (58,6.5,6.5);
scale ([1,1.7,1]) translate ([0,2.75,60])cylinder (6,6.5,6.5);}
translate ([0,0,11])cylinder (58,5,5); } | glb/cad_339631481280.glb |
Create a Parameterized Vertical Carriage for Kossel. Start with a main central body as a cube 39mm wide, 40mm long, and 8mm high. At the top center of the body, add a semi-cylindrical protrusion with a radius of 19.5mm and a height of 8mm.
On the sides of the main body, construct two symmetrical rod holders. Each hold... | use_middle_belt = 0;
use_side_belt = 0;
main_cube_width = 39;
main_cube_length = 40;
main_height = 8;
height_offset = 0;
rod_fastener_height = 10 + main_height;
rod_fastener_width = 14;
rod_fastener_length = 8;
round_r = 3;
pad = 0.1;
smooth = 50;
rod_offset = 3;
belt_width = 18;
belt_x = 5.6;
belt_z = 7;
cutter_b... | glb/cad_69e9a39c469a.glb |
Create an S hook consisting of two mirrored C-shaped hooks connected by a straight central bar. The entire object has a uniform thickness of 3mm and a width of 5mm. Each hook end is formed by a ring with an outer diameter of 20mm and a wall thickness of 3mm, leaving an inner hollow diameter of 14mm. The distance betwee... | longueur=50;
largeur=5;
diacro=20;
epaisseur=3;
cube([longueur/2,epaisseur,largeur]);
difference() {
translate([longueur/2,diacro/2,0])
cylinder(h=largeur,r=diacro/2,$fn=100);
translate([longueur/2,diacro/2,0])
cylinder(h=largeur,r=diacro/2-epaisseur,$fn=100);
translate([longueur/2-diacro/2,epaisseur,0])
cube([diacr... | glb/cad_7c8d66f425db.glb |
Create a 67mm Filter Adapter for a GoPro lens. Start by constructing a central cylindrical socket for the GoPro lens with a radius of 11mm and a height of 6mm. Surround this with a larger outer ring to hold a 67mm filter, where the outer cylinder has a radius of 35mm and a height of 6mm, positioned 2mm above the base. ... | gopro_lens_radius = 22/2;
gopro_lens_thickness_scale = 1.3;
gopro_lens_border_radius = 5;
filter_radius = (67+2.5)/2;
fix = 0.5;
$fn = 90;
module gopro_lens()
{
cylinder (r=gopro_lens_radius,h=6);
}
module gopro_socket()
{
difference()
{
gopro_lens_border();
translate([0,0,-0.1])
scale([1,1,1.2])
gopr... | glb/cad_8f3c65144f30.glb |
Create a filament spool adapter consisting of a central hub, a wide base flange, and eight radial spokes.
Start by creating a central cylindrical core with a diameter of 11.3mm and a total height of 15mm. Bore a hole through the center of this core with a diameter of 8.3mm. At the base of the core, add a wide circula... | include <MCAD/polyholes.scad>
spool_hub();
plug_od = 52;
plug_depth = 12;
plug_chamfer = 0.75;
axle_hid = 8.3;
pt = 3;
lip_w = 5;
lip_o = 1;
MF = 0.2;
MSA = MF;
MDA = 2*MF;
module spool_hub() {
difference() {
union() {
intersection () {
cylinder( h = pt*2 , d=plug_od , $fn=2*plug_od);
... | glb/cad_cf1183571eb7.glb |
Create a Spanish Correo mailbox by revolving a specific profile around a central vertical axis. The profile begins with a base consisting of a rectangle 10mm wide and 20mm high, topped with a semi-circle of radius 5mm. Above this base, add a main cylindrical body with a height of 82mm and a width of 18mm. The top of th... | low_rad = 5;
top_rad = 2;
rotate_extrude(convexity = 10, $fn= 100) {
rotate([180, 0, 90]) {
square([10, 20]);
translate([10, 20 - low_rad, 0])
circle(r = low_rad, $fn=50);
square([82, 18]);
translate([80, 20 - top_rad, 0])
circle(r = top_rad, $fn=50);
tr... | glb/cad_a98d39efd21a.glb |
Create a model of the Christ the Redeemer statue. Start with a rectangular base measuring 45mm by 35mm with a height of 20mm, centered at the origin. From the center of this base, extend a vertical torso upward. The torso should be a rounded column created by blending a 10mm diameter sphere at the top (z=115) with a lo... | include <hand.scad>
translate([0, 0, 10])
cube([45, 35, 20], center=true);
hull() {
translate([0, 0, 115])
sphere(d=10, center=true);
$fn=50;
translate([0, 0, 50])
minkowski()
{
cube([20,10,70], center=true);
cylinder(r=5,h=1);
}
}
hull() {
translate([50, 0, 110])
spher... | glb/cad_e13d1e5c5376.glb |
Create a Park Slide model by starting with a central vertical rectangular pillar that is 10mm wide, 25mm deep, and 70mm tall. From this pillar, extend a slide ramp that is 95mm long, 3mm thick, and 15mm wide, angled downwards at 45 degrees. At the top of the pillar, add a horizontal platform measuring 11mm by 3mm by 15... | h = 70;
difference() {
translate([0, 0, h/2])
cube([10, 25, h], center=true);
translate([0, 0, 15])
rotate([0, -90, 0])
cylinder(h=20, d=22, center=true, $fn=3);
translate([0, 0, 35])
rotate([0, -90, 0])
cylinder(h=20, d=22, center=true, $fn=3);
translate([0, 0, 55])
rotate([... | glb/cad_0d94003c28d8.glb |
Create a miniature bench by starting with a rectangular seat measuring 40mm wide, 100mm deep, and 5mm thick. At each end of the seat, add a vertical armrest/leg that is 10mm wide, 5mm thick, and 60mm tall, positioned so the bottom of the armrest is flush with the bottom of the seat. Connect the two armrests across the ... | cube([40, 5, 30]);
cube([10, 5, 60]);
translate([0, 100, 0]) {
cube([40, 5, 30]);
cube([10, 5, 60]);
}
translate([0, 0, 30])
cube([5, 100, 30]);
translate([0, 0, 25])
cube([40, 105, 5]);
translate([10, 2.5, 30])
rotate([90, 0, 180])
difference(){
cylinder(d = 50, h = 5, center = true);
cylinder(d = 45, h = ... | glb/cad_7409a9f8364d.glb |
Create a MakerFarm i3v idler belt pulley designed for 12mm bearings. Start by creating a central cylindrical body with an outer diameter of approximately 11.88mm and a height of 6.5mm. This central section must feature 26 GT2-profile teeth carved into its outer circumference. To ensure the belt does not ride on the tip... | include <MCAD/polyholes.scad>
teeth = 26;
profile = 12;
motor_shaft = 12.1;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 0.75;
idler = 1;
idler_ht = 0.75;
pulley_t_ht = 6.5;
pulley_b_ht = 0.75;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance... | glb/cad_f906dac5ef98.glb |
Create a square tubing connector consisting of a central cube and protruding fingers. Start with a central cube measuring 25.6mm on all sides, centered at the origin.
Construct a finger component consisting of a central rectangular block measuring 18.2mm by 18.2mm by 22.2mm. To this block, add four thin "veins" (ribs... | connector=true;
tsize=25.4;
csize=25.6;
fsize=22.2;
vsize=1.5;
$fs = 0.2;
$fa = 3;
union() {
if(connector==true) {
cube([csize,csize,csize],center=true);
finger();
if(bottomfinger==true)
rotate([-90,0,0]) finger();
if(topfinger==true)
rotate([90,0,0]) finger();
if(leftfinger==true)
... | glb/cad_728ef7bad989.glb |
Create a grate grid consisting of a rectangular outer frame and an internal lattice of intersecting flat bars. The outer frame is a hollow rectangle measuring 184mm by 226mm, with a wall thickness of 8mm and a total height of 8mm. Inside this frame, construct a grid of intersecting flat bars. The bars are 12mm wide and... | module A()
{
difference()
{
cube([15,82,10]);
translate([-0.5,-0.5,5.2])cube([16,35,5]);
translate([-0.5,50,5.2])cube([16,33,5]);
}
translate([0,35,5])rotate([0,90,0])cylinder(15,5,5);
translate([0,49,5])rotate([0,90,0])cylinder(15,5,5);
translate([-33.5,33.5,0])cube([82,15,5]);
difference()
{
translate([0,25... | glb/cad_64d7ba3811d8.glb |
Create a FrSky Antenna Clamp consisting of two separate parts: a main box and a lid.
The main box is a cube 24mm wide, 24mm deep, and 12mm high. Centered on the top face, add a mounting tab 12mm wide, 8mm high, and 2.5mm thick. This tab features a central vertical hole with a radius of 1.5mm for an M3 screw, surround... | box_size=24;
clamp_length=10;
box_height=12;
ant_dim1=9.5;
ant_dim2=6.6;
lid_size=0.5;
tab_height=8;
tab_width=12;
tab_thick=2.5;
two_piece=true;
part=1;
$fn=100;
box();
if(!(two_piece && part==2))
tab();
module box() {
difference() {
cube([box_size,box_size,box_height],center=true);
translate([box_siz... | glb/cad_06441a4e1845.glb |
Create a parametric net pot for hydroponics. Start with a conical frustum that has a bottom diameter of 55mm, a top diameter of 75mm, and a total height of 60mm. Add a top rim by extending the top diameter by 2mm for a height of 1mm. The walls and base should have a thickness of 1.5mm.
Hollow out the center of the pot... | diameter_top=75;
diameter_bottom=55;
height=60;
overhang_extent=2;
overhang_height=1;
overhang_angle=55;
thickness_bottom=1.2;
thickness_walls=1.5;
width_connections=3;
pie_segments_1=8;
pie_segments_2=16;
pie_segments_3=24;
pie_segments_wall=24;
eps=0.03*1;
$fn=100*1;
module cyl_sect(r1, r2, h) {
differen... | glb/cad_23b70837ccfb.glb |
Create a Lithocup lampshade adapter by starting with a main circular plate that has a diameter of 107.95mm and a height of 3.175mm. Center a circular hole through the entire thickness of this plate with a diameter of 39.37mm. To create the groove on the top surface, remove a concentric ring of material from the center ... | $fn=250;
difference(){
bottom();
groove();
}
module bottom(){
difference(){
main_plate();
bulb_hole();
}
}
module main_plate(){
cylinder (h=3.175,d=107.95,center=true);
}
module bulb_hole(){
cylinder(h=3.2,d=39.37,center=true);
}
module groove(){
difference() {
groove_outer();
... | glb/cad_3635efba4782.glb |
Create a mobility aid model consisting of a base and a top platform. Start by constructing the base: create a rectangular frame 118mm long and 60mm wide, with a thickness of 2.6mm. This frame is composed of two long parallel rails and a series of small cross-members spaced every 120mm along the length. In the center of... | module ruota(raggio){
color("DarkGray"){
rotate([0,90,90]){
cylinder(h=6,r=raggio,$fn=50,center = true);
translate([-raggio,0,0])
{
cube([10,6,6],center = true);
}
}
}
}
module servo(x,y,z){
translate([0,0,z/2]){
cube([x,y,z],center = true);
}
}
module parte_bassa(lunghezza,larghezza){
color("D... | glb/cad_98a20f8ab408.glb |
Create a replacement knob for an Elecraft KX3. Start by building a stacked cylindrical body with a total height of 14mm. The base is a cylinder with a radius of 7.15mm and a height of 1mm. Above this, add a tapered section 1mm high that transitions from a radius of 7.15mm down to 6.5mm. On top of the taper, place a mai... | $fa = 0.15;
$fs = 0.15;
stage1R = 14.3/2;
stage1H = 1;
stage2R = 13/2;
stage2H = 1;
stage3R = stage2R;
stage3H = 11;
stage4R = stage3R - 0.5;
stage4H = 1;
holeR = 6.0/2;
holeH = 13.5;
difference() {
union() {
cylinder(r=stage1R, h=stage1H);
translate([0,0,stage1H-0.01]) cylinder(r1=stage1R, r2=stage2R, h=s... | glb/cad_089236e8eb61.glb |
Create a straight key for sending Morse code. Start by forming the main body from two joined rectangular blocks: a long base measuring 80mm by 9.5mm by 3mm, and a smaller block measuring 16mm by 9.5mm by 5mm attached to the end, extending the total length to 96mm.
Carve several holes and slots into this structure. Pl... | $fn = 0;
$fa = 0.01;
$fs = 0.3;
difference(){
union() {
translate([-43,-4.5,0])
cube([80,9.5,3]);
translate([21,-4.5,3])
cube([16,9.5,5]);
}
translate([2.5,0,0])
cylinder(h=3, r=2.0);
translate([-40,0,0])
cylinder(h=3, r=1.5);
translate([-35,2,1.5])
cube([75,2,3]);
translate([-35,3,0])
cyl... | glb/cad_3063573bf04f.glb |
Create a straight key base plate for a Morse code key. Start with a rectangular base measuring 100mm by 60mm with a thickness of 4mm.
Cut a wire channel into the base: create a rectangular slot 75mm long, 2mm wide, and 1.5mm deep, starting 10mm from the left edge and 15mm from the front edge. Additionally, cut a smal... | $fn = 0;
$fa = 0.01;
$fs = 0.3;
translate([-50,-30,0])
difference(){
cube([100, 60, 4]);
translate([10,15,2.5])
cube([75,2,1.5]);
translate([9,15,2.5])
cube([2,10,1.5]);
translate([-40,0,2])
cylinder(h=5, r=1.5);
translate([50,55,0])
cylinder(h=5, r=1.5);
translate([50,5,0])
cylinder(h=5, r=1.5);
... | glb/cad_6464d9b77c9a.glb |
Create a handle for a straight key by constructing two concentric cylinders. First, create a wide, flat base cylinder with a radius of 13mm and a height of 4mm. Centered on top of this base, add a smaller cylinder with a radius of 4mm and a height of 4mm. Finally, bore a hole through the center of the smaller cylinder ... | $fn = 0;
$fa = 0.01;
$fs = 0.3;
rotate([0,180,0])
translate([40,0,-22])
union(){
translate([-40,0,18])
cylinder(h=4, r=13);
difference(){
translate([-40,0,14])
cylinder(h=4, r=4);
translate([-40,0,14])
cylinder(h=4, r=1.5);
}
} | glb/cad_b92ec2f6e894.glb |
Create a straight key pivot top for a Morse code key. Start by creating a rectangular block that is 5mm wide, 20mm long, and 3mm high. Center this block on the Y-axis. Within this block, create two circular holes that pass completely through the 3mm thickness. Each hole must have a radius of 1.6mm. Position the first h... | $fn = 0;
$fa = 0.01;
$fs = 0.3;
translate([-17,0,-17])
difference(){
translate([15,-10,17])
cube([5,20,3]);
translate([17.5,7.5,16.5])
cylinder(h=4, r=1.6);
translate([17.5,-7.5,16.5])
cylinder(h=4, r=1.6);
} | glb/cad_238f8c27aef8.glb |
Create a straight key for sending Morse code. Start with a rectangular base plate measuring 100mm by 60mm with a thickness of 4mm.
On the top surface of the base, create a pivot point by adding a rectangular block 5mm wide, 20mm deep, and 13mm high. Carve a slot into this block that is 5mm wide, 10mm deep, and 5mm hi... | translate([-50,-30,0])
difference(){
cube([100, 60, 4]);
translate([10,15,2.5])
cube([75,2,1.5]);
translate([9,15,2.5])
cube([2,10,1.5]);
translate([-40,0,2])
cylinder(h=5, r=1.5);
}
translate([-40,0,2])
difference(){
cylinder(h=5, r=4);
cylinder(h=5, r=1.5);
}
translate([40,20,4])
difference()... | glb/cad_bb7d9e840c52.glb |
Create a toy piston engine model consisting of a crankcase, an engine block, and a moving internal assembly.
First, construct the crankcase as a centered cube of 60mm x 38.5mm x 24mm. Remove a central cylinder with a radius of 13.2mm and a height of 24mm, and cut a rectangular slot of 60mm x 16mm x 24mm from the side... | engine(360 * $t);
rCrank = 10;
tCrank = 4;
rCrankPin = 3;
rCrankShaft = 5;
tCrankShaft = 15;
lRod = 35;
tRod = 4;
rPiston = 8;
rPistonPin = 1.5;
lPiston = 15;
pistonPinOffset = 3;
pClear = 1.04;
zShift = pClear*(tRod/2 + tCrank/2);
module crankCase()
{
caseX = 2*(lRod - rCrank - (lPiston/2 - pistonPinOffset));
... | glb/cad_bec4314dc75f.glb |
Create a toy piston engine model consisting of the following geometric components:
First, create a crank case as a rectangular block with dimensions 44mm x 35mm x 24mm. Remove a central cylinder with a radius of 12.2mm and a height of 24mm, and cut a rectangular slot 44mm x 20mm x 24mm through the center. Bore a centr... | rCrank = 10;
tCrank = 4;
rCrankPin = 3;
rCrankShaft = 5;
tCrankShaft = 15;
lRod = 35;
tRod = 4;
rPiston = 8;
rPistonPin = 1.5;
lPiston = 15;
pistonPinOffset = 3;
pClear = 1.04;
zShift = pClear*(tRod/2 + tCrank/2);
fnParam = 30;
translate([lRod - rCrank - (lPiston/2 - pistonPinOffset), 1.75*(rCrank + rCrankPin), 0])... | glb/cad_53a51995e784.glb |
Create a laser prototyping model consisting of a central heatsink body and a top-mounted fan assembly. Start with a central rectangular block for the heatsink measuring 33mm x 33mm x 54.7mm. Remove four horizontal cylindrical holes with a radius of 1.4mm, positioned symmetrically at heights of 49.3mm, 25.6mm, 9.4mm, an... | laser();
module laser()
{
$fn=32;
difference()
{
cube([33,33,54.7], center=true);
translate([0,0,-(54.7/2-1.5)])
{
translate([-18,0,49.3]) rotate([0,90,0]) cylinder(r=2.8/2,h=8);
translate([-18,0,25.6]) rotate([0,90,0]) cylinder(r=2.8/2,h=8);
translate([-18,0,9.4]) rotate([0,90,0]) cylinder(r=2.8... | glb/cad_98bc68221e63.glb |
Create a push pin consisting of a handle and a pin. For the handle, start with a sphere of radius 5mm centered at the origin, but remove the bottom half of the sphere using a cube to create a flat base. From this flat base, extend a cylinder upwards along the Z-axis for 14.6mm; this cylinder should taper slightly from ... | module pushpin(bottomr=5, topr=5.5, handleLength=15, pinr=1.5, pinLength=15, pointLength=5.5, resolution=100) {
union() {
difference() {
sphere(bottomr, $fn=resolution);
translate([0, 0, -bottomr])
cube([bottomr*2+0.2, bottomr*2+0.2, bottomr*2], true);
}
translate([0, 0, 0.2])
... | glb/cad_6b25c293ae5e.glb |
Create a stylized chick figure by combining several geometric primitives, scaled up by a factor of 1.5. Start with a central body composed of overlapping spheres and ellipsoids. Position a sphere with a radius of 6mm at the center. Add a flattened ellipsoid (scaled 0.5, 0.6, 0.5) at [0, 1, 2.5] and another flattened el... | chick();
module chick(){
scale(1.5)translate([0,0,8])
intersection(){
translate([0,0,50-8])
cube(100,center = true);
union(){
translate([0,0,10])rotate([-65,0,0])
difference(){
cylinder(r1=4,r2=0.5,h=8);
translate([0,8,8])rotate([0,90,0])
cylinder(r=8,h=8,center =true);
}
transla... | glb/cad_fae9863bf7b6.glb |
Create an Enlarged Rostock Carriage for 12mm smooth rods and KB-12-WW linear bearings. The main body is a rectangular block 60mm wide and 76mm long.
At each end of the length, create a cylindrical housing with a radius of 11mm to hold the bearings. Within these housings, incorporate a conical groove that transitions ... | include <configuration.scad>
use <linear_bearing.scad>
use <belt_coupler_v6_Mod.scad>
H = carriage_height;
W = 60;
d = 22;
th = 4;
width = 76;
offset = 25;
cutout = 13;
middle = 2*offset - width/2;
module conical_groove(d1, d2, w) {
difference() {
translate([0, 0, -w ]) cylinder(r =d1/2+0.1, h=w*2, ... | glb/cad_6ffb6a3bde79.glb |
Create a belt coupler for a Rostock carriage. Start by creating a central rectangular block with a width of 19mm (carriage height plus 4mm), a height of 4.5mm, and a depth of 15mm. Center this block on the X and Z axes.
From this block, remove a series of 16 T2.5 profile belt teeth. Each tooth should be 16.5mm wide (b... | include <configuration.scad>
coupler_w = carriage_height+4;
coupler_h = 4.5;
coupler_d = 15;
belt_w = 15.5;
belt_n = 16;
belt_margin = 0.50;
coupler();
module coupler() {
difference(){
translate([0,-0.20,-coupler_d/2+belt_w])cube([coupler_w,coupler_h,coupler_d],center=true);
translate([-20,0,-0.01])
scal... | glb/cad_636b888e3aa6.glb |
Create a First-Surface Drain bulkhead fitting consisting of a circular base plate and a protruding threaded neck.
Start with a circular base plate 63.5mm in diameter and 2mm thick. Centered on this plate, create a vertical cylindrical neck with an outer diameter of approximately 22.2mm and a total height of 31.75mm. ... | pi=3.141592653589793238462643383279502884;
scoche=0.01;
halfscoche=scoche/2;
use <threads.scad>
function in2mm(in)=in*25.4;
function mm2in(mm)=mm/25.4;
function circ_g(n,g,t)=n*(g+t);
function rad_g(n,g,t)=circ_g(n,g,t)/(2*pi);
module finset(r,count,thickness,inside_r,h,gap_mm){
for(a=[0:360/count:359.99]){
rotat... | glb/cad_651fa1d53840.glb |
Create a 3D Printer Pro award badge. Start by constructing a base volume using a convex hull that encompasses twelve spheres, each with a radius of 2mm. Position these spheres to create a rounded, organic slab approximately 52mm wide, 36mm deep, and 10mm thick, with the spheres placed at the corners and midpoints of th... | t_angle=-15;
thk=10;
blkrad=2;
fn=20;
thkm=thk-blkrad-.1;
font="Arial:style=Black";
fsize=10;
difference(){ hull(){
translate([-26,6,thkm]) sphere(r=blkrad,$fn=fn);
translate([-26,-6,thkm]) sphere(r=blkrad,$fn=fn);
translate([26,6,thkm]) sphere(r=blkrad,$fn=fn);
translate([26,-6,thkm]) sphere(r=blkra... | glb/cad_aa55d9acbf45.glb |
Create a bracket for a bike light adapter. Start with a main rectangular base measuring 13.5mm wide, 60mm long, and 8mm high, with 2mm rounded corners. On top of this base, center a second rectangular block that is 18mm wide, 60mm long, and 5mm high, with 2mm rounded corners. This upper block should be positioned so it... | $fn=50;
include <nutsnbolts/cyl_head_bolt.scad>;
module nut_and_hole(xlate=[0,0,0],type="M3") {
translate(xlate) rotate([0,180,0]) {
nutcatch_parallel(type,l=4);
hole_through(name=type, l=50, cl=0.1, h=0, hcl=0.1);
}
}
module head_and_hole(xlate=[0,0,0],type="M5") {
translate(xlate) rotate([0,180,0]) {
ho... | glb/cad_a917cdf8f896.glb |
Create a Yagi antenna element clamp by starting with a central rectangular block measuring 50mm in length, 20mm in width, and 10mm in height, centered on the origin. Attach two smaller rectangular blocks to the bottom of the main body, one at each end; each should be 6mm wide, 20mm deep, and 10mm high, positioned so th... | diam_element=6;
diam_screw=4;
boom_width=16;
module soporte_elemento()
{
difference() {
union() {
cube([50, 20, 10], center = true);
translate([boom_width/2+3, 0, -10])
cube([6,20,10], center = true);
translate([-boom_width/2-3, 0, -10])
cube([6,20,10], center = true);
translate([25, 0, ... | glb/cad_9dd86cda8368.glb |
Create a Customizable Tile Setting Tool by constructing a base rectangular block measuring 22.5mm wide, 95.08mm long, and 4mm high. From this base, remove three rectangular sections to create a specific profile: first, remove a block measuring 45mm wide, 45mm long, and 5mm high, positioned 8mm from the left edge and st... | Tile_Height = 45;
Grout=2.54;
module tile_spacer ()
{
union()
{
difference()
{
cube (size = [Tile_Height/2,Tile_Height*2+Grout*2,4]);
translate (v = [8,0-Tile_Height/2,0]) cube (size = [Tile_Height,Tile_Height, 5]);
translate (v = [8,Grout+Tile_Height/2,0]) cube (size = [Tile_Height,Tile_Height, 5]);
tra... | glb/cad_eb9adec13963.glb |
Create a customizable omni wheel prototype consisting of a central hub and multiple peripheral spinners.
First, construct the hub as two mirrored halves. Each half starts with a cylindrical base of 32.5mm diameter and a height of 0.825mm. Above this base, add a tapered section that expands from 32.5mm to a diameter of... | part = "everything";
show_extras = 1;
splitring_id = 32.5;
splitring_od = 38;
splitring_height = 3.3;
hub_center_hole_od = 3;
hub_side_holes_count = 4;
hub_side_holes_dist = 6;
hub_side_holes_dia = 3;
hub_flat_percentage = 50;
hub_flat_ratio = hub_flat_percentage/100;
num_spinners = 10;
oring_id = 8;
oring_... | glb/cad_e46216f71884.glb |
Create a planetary gear bearing with an outer diameter of 51.7mm and a total thickness of 15mm. The assembly consists of an outer ring, a central sun gear, and five planet gears.
The outer ring is a cylinder with a 51.7mm diameter and 15mm height. Its inner wall features internal herringbone gear teeth. The sun gear i... | D=51.7;
T=15;
tol=0.15;
number_of_planets=5;
number_of_teeth_on_planets=7;
approximate_number_of_teeth_on_sun=9;
P=45;
nTwist=1;
w=6.7;
DR=0.5*1;
m=round(number_of_planets);
np=round(number_of_teeth_on_planets);
ns1=approximate_number_of_teeth_on_sun;
k1=round(2/m*(ns1+np));
k= k1*m%2!=0 ? k1+1 : k1;
ns=k*m/2-np... | glb/cad_ae23a5054ea5.glb |
Create a coin battery holder designed to hold 10 CR2032 batteries. Start by creating a rectangular base with a width of 20mm, a height of 0.8mm, and a length of 30.8mm. Along the two long sides of this base, add two thin vertical walls, each 0.8mm thick and 10mm high.
To create the individual battery slots, place 11 c... | nr = 10;
battery = "CR2032";
custom_radius = 10;
custom_width = 3;
sizedivider = 0.8;
module divider(radius) {
translate([radius, 0,radius])
rotate([-90,0,0]) {
difference() {
cylinder(r=radius, h=sizedivider,$fn=50);
translate([0,0,-0.01]) cylinder(r=radius-3, h=sizedivider +0.02);
}
tra... | glb/cad_2dfdb7b51211.glb |
Create a Smash Up game organizer box with an open top. The outer dimensions of the main body should be 95mm in width (x-axis), 14.4mm in depth (y-axis), and 30mm in height (z-axis). The walls of the box must be 1.5mm thick.
Carve out a central rectangular cavity starting 1.5mm from the bottom and sides, measuring 92m... | x = 92;
y = 11.4;
z = 30;
thk = 1.5;
grip = 0;
tol = 0.15;
union () {
translate ([-(thk + x / 2), -(thk + (y - grip) / 2), 0])
difference () {
union () {
cube ([x + 2 * thk, y + 2 * thk, z]);
if (grip > 0)
translate ([-(thk + tol), -grip, 0])
cube ([x + 4 * thk + 2 * tol, grip + thk, z]);
}
trans... | glb/cad_c5d27c3c779a.glb |
Create a Smash Up game organizer box with an open top. The main body is a rectangular shell with outer dimensions of 95mm in width, 14.4mm in depth, and 30mm in height. The walls of the box are 1.5mm thick, creating an internal cavity that measures 92mm by 11.4mm.
On the front exterior face of the box, centered horiz... | x = 92;
y = 11.4;
z = 30;
thk = 1.5;
grip = 0;
tol = 0.15;
union () {
translate ([-(thk + x / 2), -(thk + (y - grip) / 2), 0])
difference () {
union () {
cube ([x + 2 * thk, y + 2 * thk, z]);
if (grip > 0)
translate ([-(thk + tol), -grip, 0])
cube ([x + 4 * thk + 2 * tol, grip + thk, z]);
}
trans... | glb/cad_4d477b807f8c.glb |
Create a Minivilles organizer consisting of two main components: a card storage area and a coin holder.
First, create two identical card boxes. Each box should have an interior cavity measuring 59.5mm wide, 91mm long, and 61.5mm deep, with a wall thickness of 1.5mm. The corners of the boxes should be chamfered.
Secon... | part = "coins";
wiggle=.5;
logo=true;
do_holes_for_coins=0;
do_holes_for_cards=1;
cornercutoff="onlyMiddle";
$fn=50;
box_w=130;
box_h=183;
box_depth=64-2;
dice=16+2*wiggle;
coin=25;
coin_5_thick=11;
wall=1;
cut_to_see=false;
width=59+wiggle;
length=91+2*wiggle;
corner=1.5;
coin_width_complete=(box_w-2*wiggle)... | glb/cad_bb26d3c16ada.glb |
Create a customizable coin battery pack holder. For a CR2032 battery, start with a main circular base with a radius of 10.8mm and a height of 0.8mm. Carve a central cylindrical hole through this base with a radius of 10mm and a depth that exceeds the base height.
Add a circular wall around the perimeter with a height... | battery = "CR2032";
custom_radius = 10;
custom_width = 3;
edge = 0.8;
module divider(radius,width) {
difference() {
cylinder(r=radius+edge, h=edge+0.8,$fn=50);
translate([-radius/2,-2,0]) cylinder(r=0.4, h=edge+10,center=true,$fn=50);
translate([radius/2,-2,0]) cylinder(r=0.4, h=edge+10,center=true,$f... | glb/cad_a3da16cf58bc.glb |
Create a 1.75mm Filament Cleaner consisting of a main tapered body and a separate circular cap. For the main body, start with a cylinder 22mm in diameter and 20mm tall. Atop this, add a second cylinder with a 22mm diameter and 5.5mm height that tapers inward to a 11mm diameter at its top surface. Bore a central vertica... | $fn=50;
difference(){
union(){
cylinder(20,11,11);
translate([0,0,20]) cylinder(20,11,5.5);
}
union(){
translate([0,0,0]) cylinder(20,8,8);
translate([0,0,20]) cylinder(7,8,1);
translate([0,0,27]) cylinder(3,1.4,1.4);
translate([0,0,30]) cylinder(10,2.6,2.6)... | glb/cad_7b3cedec78bb.glb |
Create a rectangular console base with overall dimensions of 120.5mm in width (X), 62.4mm in depth (Y), and 30mm in height (Z).
From this solid block, remove the following sections:
First, create a slot for the acrylic sheet starting 10mm from the front and side edges. This slot must be 100.5mm wide, 10.4mm deep, a... | plexiDicke=10.4;
plexiLaenge=100.5;
plexiInKonsole=15;
BattHalterDicke=32;
BattHalterLaenge=61;
BattZ=17;
SchalterBreite=19;
SchalterLaenge=22;
SchalterEindringZ=20;
Rand=10;
konsZ=30;
konsY=Rand+plexiDicke+BattHalterDicke+Rand;
konsX=plexiLaenge+2*Rand;
LEDTiefe=10;
module konsole() {
difference() {
cube(s... | glb/cad_48addcc3a5ab.glb |
Create a Cardbox, consisting of a bottom box and a lid, designed to hold a stack of cards measuring 66mm wide, 90.7mm long, and 36.3mm high. Use a wall thickness of 1.6mm throughout.
For the bottom box, create an open-topped rectangular container with interior dimensions of 67.5mm by 92.2mm and a height of 37.8mm. The... | card_width = 66;
card_length = 90.7;
stack_height = 36.3;
support_size = 28;
tolerance = 1.5;
thickness = 1.6;
wut2print = "boxncover";
print_part();
cardwidth = card_width;
cardlength = card_length;
cardheight = stack_height;
support = support_size;
tol = tolerance;
thick1 = thickness;
cardw1 = cardwidth+tol... | glb/cad_31e58e4b4ab0.glb |
Create a toilet paper storage bar cap by constructing a solid cylinder with a radius of 10mm and a height of 30mm, then place a sphere with a radius of 10mm directly on top of the cylinder, centered at a height of 30mm. To create the hollow center for the bar, remove a smaller concentric cylinder with a radius of 8mm a... | difference() {
union() {
cylinder (r = 10, h = 30);
translate ([0,0,30]) sphere (10);
}
translate ([0,0,-.1]) cylinder (r = 8, h = 31);
translate ([0,0,30.8 ]) cylinder (r1= 8, r2= .1, h = 8);
} | glb/cad_b1e0cea0e1fc.glb |
Create a toilet paper storage bar mount. Start with a base composed of two intersecting rectangular blocks: one measuring 10mm x 100mm x 20mm and another measuring 60mm x 10mm x 20mm, joined to form an L-shaped footprint. On the back surface, add a thin vertical ridge 1mm wide, 100mm long, and 3mm thick, positioned 0.9... | $fn = 100;
difference () {
union() {
cube ([10,100,20]);
cube ([60,10,20]);
translate ([-0.9,0,8.5]) cube ([1,100,3]);
translate ([60, 20, 10] ) rotate ([90,0,0]) cylinder (r = 10, h = 30);
intersection () {
cube ([60,100,20]);
translate ([1... | glb/cad_d0f835cffb17.glb |
Create a Prusa i3 Boxed Z-axis top designed to hold a threaded rod and MF105ZZ bearings.
Start with a base block that is 45mm in length, 44mm in width, and 23mm in height. Integrate a motor mounting section with a bottom thickness of 5mm. Within this structure, create a cutout for a NEMA 17 motor, including the neces... | include <configuration.scad>
module zmotorholder(thickness=(i_am_box == 0 ? 38 : 23), bottom_thickness=5){
difference(){
union(){
difference(){
union(){
zrodholder(thickness=thickness, xlen=45, ylen=44, zdelta=((i_want_to_use_single_plate_dxf_and_make_my_z_w... | glb/cad_2938ff710697.glb |
Create a Multicopter FC Cover with a square footprint. Start by constructing four screw domes, each a 15-sided prism with a diameter of 6.6mm and a height of 10.5mm. Position these domes at the corners of a 45mm by 45mm square. Drill a 3.3mm diameter hole through the center of each dome.
Connect the domes with four si... | dist = 45 ;
wdist = 52 ;
da = 6.6;
di = 3.3 ;
hbo = 10.5 ;
hsw = 7 ;
hdome = 22 ;
cubewall = 0.9 ;
pyrawall = 0.95 ;
px = 60 ;
module fc_dome()
{
difference() {
union() {
for (i = [0:3]) {
rotate ([0,0,i*90]) translate ([-dist/2, -dist/2, hbo/2])
cylinder (r=da/2, h=hbo, $fn=15, center=... | glb/cad_3e18c19dedd5.glb |
Create a Jeep Keyfob cover with an outer shell measuring 78.25mm in length, 38.5mm in width, and 21.25mm in height. The shell should have a wall thickness of 2.5mm and rounded exterior corners with a fillet radius of 2mm.
The interior must be hollowed out to accommodate a keyfob of 74.5mm by 37.75mm by 17.5mm. On the ... | use <MCAD/fonts.scad>
thisFont=8bit_polyfont();
x_shift=thisFont[0][0];
y_shift=thisFont[0][1];
Margin = 1.01;
FN = 72.0;
FNS = 72.0;
rnd = .25;
clearance = .75;
L = 73.75+clearance;
W = 37+2*clearance;
H = 16.75+2*clearance;
RL = 6.5;
RS = 2;
Fr = 2;
bH = 3.5;
bW = 26.75;
bEdge = (W-bW)/2;
bL = L - bEdge;
THK = 2... | glb/cad_4b2ec8560a43.glb |
Create a Profile Foamy RC Motor Mount consisting of a thin central plate and four protruding vertical pegs. Start with a central circular plate 1mm thick with a radius of 3mm. In the center of this plate, create a vertical cylindrical rise 1mm higher than the plate with a radius of 3mm, and bore a hole through the cent... | $fa=0.5;
$fs=0.5;
mountradius=15.5;
foamthickness=6;
screwlength=12;
frontplatethickness=1;
mountoffset=sqrt(pow(mountradius,2)-pow((foamthickness/2+2),2));
foamoffset=foamthickness/2+2;
peglength=screwlength+2;
wingpeg=frontplatethickness+3;
module peg(zrotation=0){
rotate([0,0,zrotation])
translate([-mountoff... | glb/cad_6ae4d7230bc4.glb |
Create a Profile Foamy RC Motor Mount consisting of a central circular plate and four radiating arms. Start with a central cylinder that has a radius of 1.5mm and a height of 3mm. Bore a hole through the center of this cylinder with a radius of 0.5mm.
From this center, extend four identical arms spaced 90 degrees apar... | $fa=0.5;
$fs=0.5;
mountradius=15.5;
foamthickness=3;
screwlength=3;
frontplatethickness=2;
mountoffset=sqrt(pow(mountradius,2)-pow((foamthickness/2+2),2));
foamoffset=foamthickness/2+2;
peglength=screwlength+2;
wingpeg=frontplatethickness+3;
module peg(zrotation=0){
rotate([0,0,zrotation])
translate([-mountoffs... | glb/cad_85c5d64eaca9.glb |
Create a Raspberry Pi holder for a Prusa i3 frame. Start with a backplane that is 75mm wide, 3.1mm thick, and 30mm high. On the front of this backplane, build a U-shaped pocket to hold a case. This pocket consists of two vertical side walls and a bottom floor. Each side wall is 9.5mm wide, 30mm high, and 1.6mm thick, p... | $fs = 0.25;
holder_width = 72;
holder_height = 28.5;
frame_width = 55;
frame_thickness = 6;
mounting_hole_dia = 3;
module backplane()
{
cube([holder_width+3,3.1,30]);
}
module piholder()
{
translate([0,3,0]) cube([9.5,holder_height+1.5,1.6]);
translate([0,3,0]) cube([1.5,holder_height+1.5,20]);
tra... | glb/cad_f9836d6d84cf.glb |
Create a Z-axis top holder for a Prusa i3 single plate designed to constrain MF105ZZ bearings. Start with a base composed of three joined rectangular blocks: one measuring 8x45x16mm, one 30x5x12mm, and one 38x35x5mm.
From this base, remove several geometric sections to shape the part. Cut out three 30x30x51mm cubes r... | module z_top_base(){
translate([0,-5,0]) cube([8,45,16]);
translate([0,-5,0]) cube([30,5.01,12]);
translate([0,-5,0]) cube([38,35,5]);
}
module z_top_fancy(){
translate([0.5,0.5,0]) rotate([0,0,-45-180]) translate([-15,0,-1]) cube([30,30,51]);
translate([0.5,40-0.5,0]) rotate([0,0,-45+90]) translate([-15,0,-1]) ... | glb/cad_34bfffa6b9b9.glb |
Create a Push Pin Magnet by constructing a tapered handle and removing a cylindrical cavity for a magnet. Start by creating a push pin shape with a base radius of 10mm that tapers outward to a top radius of 13.5mm over a total handle height of 30mm. Ensure the geometry is smooth with a high facet resolution of 100. Fro... | use <pushpin.scad>
module pushpinMagnet(bottomr=10, topr=13.5, handleLength=30, pinr=0, pinLength=0, pointLength=0, resolution=100, magnetRadius=9, magnetHeight=5) {
difference() {
pushpin(bottomr, topr, handleLength, pinr, pinLength, pointLength, resolution);
translate([0, 0, handleLength-magnetHeight-0... | glb/cad_145e756d4572.glb |
Create a USB cable plate consisting of a rectangular base with a central cylindrical protrusion. The base plate is 100mm wide, 75mm high, and 2mm thick, with rounded corners having a 5mm radius.
In the center of the plate, add a cylindrical plug that is 26.5mm in diameter and 10mm high. This plug features four small ... | plateWidth = 100;
plateHeight = 75;
plateThickness = 2;
plateHalfWidth = plateWidth / 2;
plateHalfHeight = plateHeight / 2;
plateCornerRadius = 5;
plateCornerCenterXOffset = plateHalfWidth - plateCornerRadius;
plateCornerCenterYOffset = plateHalfHeight - plateCornerRadius;
plugDiameter = 26.5;
plugRadius = plugDiamet... | glb/cad_345f0f2dd1a0.glb |
Create an over powder wad for black powder era cartridges by constructing a low-resolution cylinder. The cylinder must have a total height of 2mm and a constant radius of 5.207mm from top to bottom. Ensure the cylinder is rendered with a low facet count to create a faceted, polygonal appearance rather than a smooth cur... | cylinder (h=2.0, r1=10.414/2, r2=10.414/2); | glb/cad_8d1ec160b7c2.glb |
Create an over powder wad for black powder era cartridges by constructing a low-resolution cylinder. The cylinder must have a total height of 4mm and a constant radius of 5.207mm from top to bottom. Ensure the cylinder is rendered with a low facet count to maintain a faceted, polygonal appearance rather than a smooth c... | cylinder (h=4.0, r1=10.414/2, r2=10.414/2); | glb/cad_dd8d9ccc3cee.glb |
Create a low-profile cylindrical disc for use as an over powder wad. The cylinder must have a total height of 2mm and a constant diameter of 11.608mm from top to bottom. Ensure the geometry is rendered as a prism with a low facet count rather than a perfectly smooth curve to match the faceted appearance of the edges. | cylinder (h=2.0, r1=11.608/2, r2=11.608/2); | glb/cad_3823889301e2.glb |
Create a black powder era cartridge over powder wad by constructing a low-resolution cylinder. The cylinder must have a total height of 4mm and a constant radius of 5.804mm (half of the 11.608mm diameter) from top to bottom. Ensure the cylinder is rendered with a low facet count to maintain a faceted, polygonal appeara... | cylinder (h=4.0, r1=11.608/2, r2=11.608/2); | glb/cad_ad24ed029bd7.glb |
Create a cylindrical object dispenser with a wall thickness of 1.2mm. The design consists of a base tray and a rear hopper.
First, construct a tray with an interior width of 48.95mm (44.5mm plus a 10% margin), a depth of 11.05mm, and a height of 11.05mm. The tray is an open-top box where the front wall is partially re... | obj_len = 44.5;
obj_dia = 10.5;
hopper_height = 3;
hopper_depth = 1;
num_tray = 1;
obj_dia_margin_percentage = 30;
obj_dia_margin = obj_dia_margin_percentage/100;
obj_len_margin_percentage = 10;
obj_len_margin = obj_len_margin_percentage/100;
wall_thickness = 1.2;
hopper_gap_percentage = 40;
hopper_gap_fraction... | glb/cad_4fea17ae9fe2.glb |
Create a Zero Height LM8UU Bearing Holder by constructing a geometric bracket with a central bearing cavity and mounting holes. Start with a base shape that is roughly 15.3mm wide and 32.2mm long.
At the center, create a cylindrical cutout with a diameter of 15.3mm and a length of 24.2mm to house the bearing. Pass a ... | b_length=24.2 ;
b_dia= 15.3;
dx=28;
dy=21;
angle=60;
b_angle=30;
bolt=4.9+0.4;
nut=9.8+0.4;
rod=8+2;
zcutoff=0;
boltlength=20-6-4-1-1;
module holder(){
intersection(){
difference(){
translate([b_dia/2+3,0,0.5]) rotate([90,0,0])cube ([b_dia,b_dia+1,b_length+8-1],center=true);
#rotate([90,0,0]) cylinder(h=b... | glb/cad_57c4469d6f7d.glb |
Create a freezer door handle consisting of a central grip and two mounting ends. The central grip is a vertical rectangular bar with a width of 30mm and a height of 40mm. At each end of this bar, attach a mounting block. Each block is formed by the convex hull of a 30x40x30mm cube and a cylinder with a 14mm radius and ... | $fn=30;
DISTANCIA_ENTRE_TORNILLOS=175;
LARGO_TOTAL_MANGO=210;
ANCHO_PUERTA=30;
SUPERFICIE_PLANA_ANCHO_PUERTA=20;
SEPARACION_TORNILLO_Y=13.5;
module puerta(){
cube([100,ANCHO_PUERTA-10,240]);
translate([0,10,0]) hull(){
translate([10,10,0]) cylinder(r=10,h=240);
translate([90,10,0]) cylinder(r=10,h=240);
}
tr... | glb/cad_fcee2241e713.glb |
Create a 3D model of Parametric Teeth Marks by extruding a specific 2D profile to a total height of 10mm, centered vertically. To create the profile, start with a circle with a diameter of 40mm. Intersect this circle with a square that is 40mm wide and 80mm tall, centered such that the square's left edge aligns with th... | mTeethLinear(40,10);
module mTeethLinear(size, height){
linear_extrude(height = height,center = true)mTeethOutline(size);
}
module mTeethRotate(size){
rotate([90,0,0])
rotate_extrude()mTeethOutline(size);
}
module mTeethOutline(size = 50){
intersection(){
translate([size/2,0])square([size,2*size], center = tr... | glb/cad_a8c50cfe21d8.glb |
Create a Roller Blind Beaded Cord Connector by starting with a main body formed from the hull of two spheres, each 10mm in diameter, positioned 10mm apart along the x-axis. Slice this body in half along the xy-plane to create a semi-cylindrical base. Remove a central horizontal channel 2mm high and 26mm long, and carve... | holeDiameter = 5.5;
blindCordConnector();
module blindCordConnector()
{
$fn=100;
difference() {
halfLog();
cordHole();
pegHole();
}
pegExtr();
}
module cordHole()
{
translate([0, 0, 5]) {
translate([-13, -1, -1]) cube(size = [26, 2, 2]);
translate([-5, 0, 0]) sphere(d = holeDiameter);... | glb/cad_265c76cee05a.glb |
Create a plank clamp designed to hold a 20.2mm thick plank. The main body is a cylindrical mount with an outer radius of 7.5mm and a total height of 12mm.
Inside this cylinder, create a concentric inner bore with a radius of 6mm and a height of 10mm. This creates a stepped wall thickness of 1.5mm at the top.
Along t... | use<rounded_box.scad>
wd = 6;
pl = 250;
pt = 20.2;
t = 8;
r= 2*t/3;
dl = 70;
gl = 40;
rr = 6;
dx = (wd+gl)/2;
w = t+2*rr;
cut_more = false;
reinforce = true;
sr=1.4;
echo(w/3);
module spool_plank_profile()
{
difference()
{ translate([-wd,-t])
{ rounded_square(wd+gl,2*t+pt, r);
... | glb/cad_4ddffac8d28d.glb |
Create a Raspberry Pi B+ Hanger consisting of a cylindrical sleeve and a matching lid.
For the main sleeve, construct a hollow cylinder with an outer radius of 37mm and a wall thickness of 2.5mm, extending to a height of 80mm. Cut a large rectangular section out of one side of the cylinder to create a wide opening. O... | $fn=100;
function maxx(x) = max(xmin,min(xmax,x));
function maxy(y) = max(ymin,min(ymax,y));
thick=2;
xmax=25;
xmin=0;
ymax=999;
ymin=-999;
radius=33;
module helem(thick=2) {
cube(thick);
}
module helix(start=0,step=5,rev=.75,r=20,div=3,thick=4) {
translate([-thick/2,-thick/2,0]) {
for(a=[step:step:360*rev... | glb/cad_eeacf771863b.glb |
Create a parametric pegboard hook consisting of a mounting plate and an attached hook. Start by creating a mounting plate that is 8.45mm wide, 20mm long, and 3.5mm thick. The plate should have a rounded, capsule-like profile formed by the hull of two 8.45mm diameter circles centered at each end.
Attached to this plate... | use <fillet.scad>
use <MCAD/general/facets.scad>
include <MCAD/units/metric.scad>
use <peg.scad>
plate_width = 8.45;
plate_length = 20;
plate_thickness = 3.5;
hook_thickness = 10;
hook_width = 4;
hook_length = 40;
hook_retainer_length = 20;
hook_retainer_thickness = 6;
hook_rounding_r = 5;
peg_positions = [
[0... | glb/cad_229886f6dc45.glb |
Create a simple catapult consisting of a chassis, two wheels, and a throwing arm.
Construct the chassis using two identical side frames. Each frame is a 10mm wide structure composed of a base block 150mm long and 10mm high, with a vertical support block 10mm wide and 75mm high positioned 60mm from the rear. Add a dia... | module taladro_m3(){
union(){
cylinder(r=1.75, h=40, $fn=20);
cylinder(r=3, h=5, $fn=20);
}
}
module estructura(){
difference(){
union(){
cube([10,150,10]);
translate([0,60,0])cube([10,10,75]);
translate([0,5,10])rotate([-45,0,0])cube([10,10,80]);
}
translate([-1,5,5])rotate([0,90,0])taladro_m3();... | glb/cad_d235ec39bd6d.glb |
Create a Corner Mirror Stick consisting of a long handle and a mirrored head. Start by creating a handle that is 80mm long. At the end of this handle, construct a mirror housing that is 20mm in length and 6mm in thickness. The mirror housing should be a cube with a 20mm side length and a 6mm height, but with a central ... | hl = 80;
l = 20;
mt = 2;
t=3*mt;
r=t/4;
st=t/3;
s = t/2;
a = 45;
sr= 1.2;
module _mirror_corner()
{
intersection()
{ difference()
{ cube([l,l,t]);
translate([st,st,mt]) cube([l,l,mt]);
translate([2*st,2*st,mt]) cube([ml-2*st,ml-2*st,3*t]);
translate([l,l]) cyli... | glb/cad_9e6942462cd2.glb |
Create a sign for pointing a catapult. Start by constructing a base consisting of a rectangular plate 120mm wide, 40mm deep, and 5mm thick, with a perpendicular wall 50mm high and 5mm thick extending from the back edge. Add a second perpendicular wall 200mm long and 5mm thick extending from the side.
On the top surfac... | include <Aclonica.scad>
module eslabon(){
difference(){
hull(){
translate([0,0,0])cylinder(r=6, h=4, $fn=20, center=true);
translate([0,10,0])cylinder(r=6, h=4, $fn=20, center=true);
}
hull(){
translate([0,0,0])cylinder(r=3, h=6, $fn=20, center=true);
translate([0,10,0])cylinder(r=3, h=6, $fn=20, ce... | glb/cad_2fe283727c91.glb |
Create a UK key duplicator consisting of a circular grip, a connecting stop, and a notched shaft.
Start with a circular grip head with a radius of 12mm and a thickness of 2mm. Centered within this grip, create a small circular hole with a radius of 2mm.
Attached to the grip, add a rectangular stop that is 3mm wide ... | use <write/Write.scad>
grip_text="";
notch1= 6;
notch2= 3;
notch3= 5;
notch4= 2;
notch5= 4;
pattern_offset=5;
cutter_style=0;
print_ready=0;
shaft_length=26;
shaft_height=8;
key_width =2;
grip_radius =12;
stop_width =3;
if (print_ready==0){
rotate([-90,0,-180]) create_yale();
} else if (print_ready==1) {
crea... | glb/cad_a8ed12f1eb69.glb |
Create a Portion Size Box by constructing a hollow cube with outer dimensions of 61mm x 61mm x 61mm. The walls should be 1mm thick, created by removing a smaller centered cube of 59mm x 59mm x 62mm from the interior. To form the handles, add two rectangular tabs measuring 40.67mm wide, 15mm deep, and 2mm thick. Positio... | container_size_dimension=61;
container_size_z=61;
serving();
module serving(){
container_x=container_size_dimension;
container_y=container_size_dimension;
container_z= container_size_z;
handle_x=2*container_x/3;
handle_y=15;
handle_z=2;
difference(){
cube([container_x,container_y,container_z], center=true);
cube([... | glb/cad_1afa39b5a24b.glb |
Create a card holder consisting of a flat base and four vertical walls. Start with a rectangular base plate measuring 97mm by 65.6mm with a thickness of 1.6mm. In the center of this base, create a rectangular cutout measuring 81mm by 46.4mm, leaving a consistent rim of 8mm around the edges.
From the top surface of the... | CardLength = 90;
CardWidth = 58;
Tolerance = 2;
SizeOfNozzle = 0.4;
OutsideSkirt = 5;
WallThicknessInLayers = 3;
WallHeight = 27;
WallLength = 10;
BottomThickness = 1.6;
CutOutPercentage = 80;
WallThickness = WallThicknessInLayers * SizeOfNozzle;
Rim = CardWidth * ((100 - CutOutPercentage) / 2) / 100;
CutOutL... | glb/cad_f4effb1654aa.glb |
Create a snowman statue by stacking a series of geometric primitives along a vertical axis. Start with a base consisting of a flat cylinder 40mm in diameter and 2mm high, centered at the origin. Directly on top of this base, place a sphere with a radius of 15mm. Above that, position a second sphere with a radius of 10m... | sphere(15,$fn=100);
translate([0,0,-20])
sphere(10,$fn=100);
translate([0,0,-32.5])
sphere(5,$fn=100);
translate([0,0,-15])
cylinder(h=2,r=8,$fn=100);
translate([0,0,+13])
cylinder(h=2,r=20,$fn=100);
translate([0,0,-30])
cylinder(h=1,r=4,$fn=100);
translate([0,0,-37.5])
cylinder(h=1.5,r=7,$fn=100);
translate([0,0... | glb/cad_b1e837e2c6eb.glb |
Create a Bracket Bed for Cable Chain. Start with a base shape formed by the convex hull of a cylinder with a 5mm radius and 4.4mm height centered at (8, 5, 0) and a rectangular block measuring 16mm by 7.5mm by 2mm positioned at (0, 9, 0). From this base, remove a central vertical hole with a 1.5mm radius and a hexagona... | $fn=50;
module bracket() {
union() {
difference(){
hull(){
translate([8,5,-2.4]) cylinder(r=5,h=4.4);
translate([0,9,0]) cube([16,7.5,2]);
}
translate([8,5,-3]) cylinder(r=1.5,h=6);
translate([8,5,-3]) cylinder(r=6.9/2,h=2.4,$fn... | glb/cad_1267a6ce993f.glb |
Create a Sun-Burst Charm by constructing a series of concentric rings and radial spokes on a flat base. Start with a solid circular base 3mm thick and 100mm in diameter. Within this base, create five concentric hollow rings with a thickness of 3mm. The outer ring has an outer diameter of 50.625mm and an inner diameter ... | cylinder(3,50,50,0);
difference(){
cylinder(3,10,10,0);
cylinder(3,9,9,0);
}
translate([0,0,3]){
difference(){
cylinder(3,15,15,0);
cylinder(3,13.5,13.5,0);
}
difference(){
cylinder(3,22.5,22.5,0);
cylinder(3,20.25,20.25,0);
}
difference(){
cylinder(3,33.75,33.75,0);
cylinder(3,30.375,30.375,0);
}
difference(){... | glb/cad_e6a3d231751c.glb |
Create a set of pull-chain finials consisting of two distinct decorative handles and two corresponding chain locks.
For the light switch finial, create a shape by joining a sphere with a 40mm diameter to a cylinder with a 9mm diameter and 7.5mm height. Center a vertical hole with a 4mm diameter through the entire len... | chain_passage_dia=4;
lock_dia=8;
lg_chain_dia=3;
lg_chain_space=5;
sm_chain_dia=2;
sm_chain_space=4;
translate([0,0,7.5])
light_switch();
translate([40,0,0])
fan_switch();
translate([0,-30,(lg_chain_dia+lg_chain_space)/2-.15])
rotate([0,90,0])lock(lg_chain_dia,lg_chain_space);
translate([40,-30,(sm_chain_dia+sm_c... | glb/cad_67041ac9e387.glb |
Create a Flexy-Form Insole for a right foot. Start with a base profile 260mm in length, with a heel radius of 35mm and a toe radius of 35mm. The overall thickness of the insole is 5mm, with a rigid thermoformable layer thickness of 2.5mm. The shape should be tapered around the edges with a chamfer width of 7mm.
The in... | Length = 260 ;
Heel_Radius = 35 ;
Toe_Radius = 35 ;
Inside_Width = 40;
Inside_Length = 190;
Outside_Width = 55;
Outside_Length = 165;
Instep_Offset = 25;
Foot = "Right" ;
STL_Type = "Joined" ;
Lattice = "On" ;
Number_of_Hinge_Lines = 3;
Thickness = 5;
Rigid_Layer_Thickness = 2.5;
Chamfer_Width = 7;
module sector2D(r, ... | glb/cad_bfe403c56295.glb |
Create an Over the Edge Tool Holder designed to hang from a surface. Start with a main body that is 33mm wide, 40mm deep, and 6mm thick. Extend the back of the body with a rectangular overhang that is 11mm wide and 87mm deep, with a thickness of 3mm.
Within this overhang, create a central vertical slot 3mm wide and 4... | x=35;
y=40;
z=6;
thick=3;
grip=10;
g=3;
s=1;
long=104;
offset=-17;
difference(){
union() {
cube([x-2,y,thick]);
polyhedron ( points = [[0, 0, 0], [0, offset, 0], [x-2+thick, 0, 0], [0, 0, thick], [0, offset, thick], [x-2+thick, 0, thick] ],
triangles = [[0,1,2],[0,3,1], [1,3,4], [1,4,5], [1,5,2],[0,2,5],[5,3,0],[3,5... | glb/cad_d3f421746434.glb |
Create an applicator tip for a caulking gun. Start by constructing the main body, which consists of two joined conical sections. The upper section is a cone with a height of 27mm, tapering from a base diameter of 13.8mm down to 2.8mm. Attached to the base of this cone is a second, inverted conical section extending dow... | beadrad=6.35;
opendia=3.175;
fn=45;
wall=2.8;
finlength=20;
tipmajdia=11;
tipmindia=0;
tiplen=27;
spoutmajdia=14;
spoutmindia=11;
spoutlen=30;
cutback=(opendia/2)*atan(tan(tiplen/(tipmajdia/2)));
difference(){
difference(){
body();
union(){
cylinder(d1=tipmajdia,d2=tipmindia,h=tiplen,$fn=fn);
translate([0,... | glb/cad_ee90769e9b0a.glb |
Create a shoe holder for a flat figure by constructing a base and two vertical retaining walls. Start with a base that consists of a semi-cylinder with a radius of 10mm and a height of 1.5mm, fused to a rectangular block measuring 30mm in length, 20mm in width, and 1.5mm in thickness. On this base, add two parallel ver... | width=20;
length=width*1.5;
wall=1.5;
holderheight=width;
holderplace=.3;
holdergap=.5;
rotate([90,0,0])
union()
{
cylinder(r=width/2,h=wall);
translate([0,-width/2,0])
{
cube([length,width,wall]);
translate([length*holderplace,0,0])
cube([wall,width,holderheight]);
... | glb/cad_db1fd248e939.glb |
Create a servo bracket for a hexapod robotic leg. Start with a main body that is 26mm wide, 60mm long, and 36mm high. The body is a U-shaped channel with a base and two vertical side walls. The base is 26mm wide and 26mm deep, with walls that are 2mm thick.
The two side walls are rounded at the top. In the center of e... | $fn=40;
dpetit=3;
dgros=8.5;
pospetit=7;
raidis=4;
epais=2;
larg=52+2*(raidis+epais);
haut=11+21+raidis+epais;
prof=22+2*epais;
difference(){
union(){
translate([-prof/2,-larg/2,0])cube([prof,larg,haut-(prof/2)+epais]);
translate ([0,larg/2,haut-11]) rotate([90,0,0]) cylinder(h=larg,d=prof);
}
translate([-1-pr... | glb/cad_4472513a1750.glb |
Create a hexapod robotic leg bracket designed for MG995 or MG996R servos. Start with a main body consisting of a rectangular block 24mm wide, 56mm long, and 32mm high, combined with a secondary block 2mm wide, 41mm long, and 5mm high positioned at the top.
Hollow out the center of the main body with a rectangular cav... | $fn=40;
dservo=4.25;
dpetit=3;
dgros=8.5;
hlog=3.25;
pospetit=7;
difference(){
union(){
translate([-10,-28,1])cube([24,56,32]);
translate([12,-20.5,33])cube([2,41,5]);
}
translate([-11,-20.5,3])cube([23,41,33]);
translate([-11,-26,3])cube([23,52,21]);
translate([-8.75,-31.3,27])cube([7.5,10,hlog]);
translate... | glb/cad_debe2f15ee79.glb |
Create a hexapod robotic leg bracket designed for MG995 or MG996R servos. The main structure is a U-shaped fork with a total width of 60mm, a total height of 35mm, and a total depth of 26mm. The walls of the fork are 2mm thick.
The fork is angled at 45 degrees. Incorporate structural reinforcements (stiffeners) that a... | $fn=40;
angle=45;
dpetit=3;
dgros=8.5;
pospetit=7;
raidis=4;
epais=2;
larg=52+2*(raidis+epais);
haut=11+21+raidis+epais;
prof=22+2*epais;
union(){
difference(){
rotate([0,-angle,0]){
difference(){
union(){
translate([0,-larg/2,0])cube([prof,larg,haut-(prof/2)+epais]);
difference(){
translate ([0,larg/2,0]) ro... | glb/cad_bb23b9eda6c0.glb |
Create a hexapod robotic leg assembly consisting of a sensor mount, a switch housing, and a ball-and-socket foot.
Start with the sensor mount: create a rectangular plate 26mm wide and 31mm long with a thickness of 6mm. Center a large circular hole in the middle and place six small 3mm diameter holes around it, positi... | switchepais1=1.6;
switchd1=6;
switchd2=9.4;
switchd3=10;
switchd4=7.5;
switchd5=12;
switchd6=switchd3+2*switchepais1;
switchd7=switchd6+2*switchepais1+1;
switchh1=3;
switchh11=11;
switchh12=12;
switchh2=2;
switchh3=9;
switchh4=20;
switchh5=10;
course=switchh12-switchh11;
bouchonepais1=1.6;
bouchond1=switchd1+0.5;
bou... | glb/cad_c6085005500d.glb |
Create a hexapod robotic leg assembly designed for MG995 or MG996R servos. Start by constructing a servo bracket and forks, including a fork angled at 45 degrees.
At the end of the leg, create a foot featuring a ball-and-socket connection for articulation. Integrate a foot switch into the base of the foot.
Include ... | long=46;
larg=21;
largpin=larg+6;
prof=0;
dsensor=17;
ecartsensors=42-16;
hsensor=12-3;
epais=2;
dpetit=3;
dgros=8.5;
pospetit=7;
distaxe=10.5;
platepais1=2;
platraidis=4;
platlarg=22+2*platepais1;
platlong=2*distaxe+2*pospetit+2*platraidis;
$fn=40;
difference(){
union(){
translate([-long/2-epais,-largpin/2-epai... | glb/cad_f73efa8722e6.glb |
Create a laser cutter air nozzle by starting with a rectangular base measuring 7mm wide, 28mm long, and 3mm thick. At the center of the 7mm width (3.5mm from the edge), place two vertical holes with a radius of 2mm; position the first hole 5mm from the front edge and the second hole 23mm from the front edge, both exten... | fineness=100;
difference()
{
union()
{
difference()
{
cube(size = [7, 18+10, 3], center = false);
translate([3, 5, -1])
cylinder(h=5, r1=2, r2=2, centre=false, $fn=fineness);
translate([3, 23, -1])
cylinder(h=5, r1=2, r2=2, centre=false, $fn=fineness);
}
difference()
{
hull()
{
translate([6, 0, 0])
cube(size = [1... | glb/cad_3e9fe648792e.glb |
Create a fan scoop for a Rostock Max printer by starting with a sphere 50mm in diameter. Flatten the sphere by scaling its Z-axis to 70% of its original height. To create the mounting base, add a solid plate 50mm wide, 50mm deep, and 1.5mm thick that aligns with the sphere's equator.
Hollow out the main body by remov... | fan_diameter = 50;
fan_radius = fan_diameter/2;
nozzle_length = 20;
nozzle_radius = 10;
bracket_thickness = 1.5;
bowl_thickness = 1;
mount_hole_radius = 3;
rim_width = 2;
smooth = 64;
rotate([0,180,])
scale([1,1,.7])
{
difference()
{
union()
{
sphere(fan_radius, $fn=smooth);
translate([-fan_radius,-fan_... | glb/cad_0238558d2b73.glb |
Create a 3D model of a Marvin keychain. Start by centering the main body at coordinates (12.38, 10.1, 12.6). The core of the figure is a sphere with a radius of 8.8mm. Surrounding this is a larger outer shell created by a sphere with a radius of 10.03mm, from which the inner 8.8mm sphere is removed.
Add a cylindrical ... | Words=["head", "helmet", "ear sphere", "ear cylinder", "loop", "legs"];
Elements_List=[1,0,0,1,1,0];
Nozzle=2;
Shield=1;
Color1="Red";
Color2="SlateGray";
$fn=80;
Elements_Trans=[for (i=[0:1:len(Elements_List)-1]) (Elements_List[i]-1)*-1];
echo("Color1:",[for (i=[0:1:len(Elements_List)-1]) if(Elements_List[i]==1) ... | glb/cad_5f074638a010.glb |
Create a 3D model of the Custom Shop Flames decorative graphic. The object is a flat, stylized flame pattern composed of a series of small, adjacent rectangular blocks (voxels) that form a jagged, organic silhouette.
The overall shape is roughly 45.5mm wide and 32mm long, with a thickness of 1.25mm. The design is con... | module image_MakeALot() {
union() {
translate([0,5,0]) cube([1.01,44.01,255]);
translate([1,6,0]) cube([1.01,43.01,255]);
translate([2,7,0]) cube([1.01,43.01,255]);
translate([3,7,0]) cube([1.01,43.01,255]);
translate([4,8,0]) cube([1.01,43.01,255]);
translate([5,8,0]) cube([1.01,43.01,255]);
translate(... | glb/cad_c1eebe7d020d.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.