Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create an X-rod mount for a Cupcake X-Stage clamp. Start with a square base measuring 40mm by 40mm with a thickness of 7mm. Round the four corners of this base with a 10mm radius. In the center of the base, create a vertical clamping block. This block is a rectangular prism 19mm wide and 13.78mm tall (extending 14.5m...
facets3mmhole=24; facets3mmcapsule=18; facetsSmallRadii=24; module radius(radius,length,axis) { if(axis=="X") { rotate(90,[1,0,0]) rotate(90,[0,1,0]) translate([0,0,-0.1]) linear_extrude(height = length+0.2, center = false, convexity = 4, twist = 0) difference() { ...
glb/cad_281fb2259846.glb
Create a Raspberry Pi case base plate measuring 100mm by 45mm with a total thickness of 12mm. Construct a rectangular outer border with a wall thickness of 1.5mm. Within this border, create a grid of square holes by removing material to leave a network of internal support girders. These girders should be 3mm thick and ...
$fn=100; module grid(h=100,w=100,thick=3,grid=8,bar=3) { for(x=[0:grid:w]) { translate([x-w/2,-h/2,0]) cube([bar,h+thick,thick]); } for(y=[0:grid:h]) { translate([-w/2,y-h/2,0]) cube([w,bar,thick]); } } module girder(h=100,w=100,adjx=0,adjy=0,thick=3,grid=8,bar=3) { translate([w/2,h/2,0]) intersection(){ t...
glb/cad_a3f2bb04c749.glb
Create a small robot figure called Twonky. Start with a central cube-like body approximately 16mm in size. On the front face, add a small, low-resolution sphere (20 facets) centered near the bottom. On the top surface, place a thin vertical cylinder with a radius of 2mm and a height of 5.3mm, positioned 11.2mm from t...
size=32; module twonky(){ difference(){ union(){ scale([1.2,1.2,1.2]) translate([0,-size/4,(size/16)+1]) linear_extrude(height = 2, center = true, convexity = 10, twist = 0) polygon(points=[[0,0],[6,0],[6,10],[10,10],[0,18],[-10,10],[-6,10],[-6,0]]); translate([-size/5,-2,size/6]) rotate([0,0,0]) l...
glb/cad_df26a0ac265a.glb
Create a 3x3 grid of game tiles for "Twonky's Nightmare," where each individual tile is a cube measuring 32mm x 32mm x 5.33mm. For the basic tiles, add small spheres with a 1mm radius positioned at the edges: five spheres along each side, spaced every 6.4mm, with the spheres on the left and right edges placed 12.8mm ...
size=32; module basic_tile(){ union(){ cube([size,size,size/6],center=true); for (i=[-2:2]){ translate([size/2.5,i*size/5,size/14]) sphere(size=1,$fn=10); } for (i=[-2:2]){ translate([-size/2.5,i*size/5,size/14]) sphere(size=1,$fn=10); } for (i=[-1:1]){ translate([i*size/5,size/2.5,size/14]) sph...
glb/cad_418251d86550.glb
Create a 3x3 grid of game tiles for "Twonky's Nightmare," where each tile is a cube measuring 32mm x 32mm x 5.33mm. For the basic tiles, add small spheres with a 1mm radius positioned at the edges: five spheres along the left and right edges (at y = ±6.4mm and ±12.8mm) and three spheres along the top and bottom edges...
size=32; module basic_tile(){ union(){ cube([size,size,size/6],center=true); for (i=[-2:2]){ translate([size/2.5,i*size/5,size/14]) sphere(size=1,$fn=10); } for (i=[-2:2]){ translate([-size/2.5,i*size/5,size/14]) sphere(size=1,$fn=10); } for (i=[-1:1]){ translate([i*size/5,size/2.5,size/14]) sph...
glb/cad_5124bc17631e.glb
Create a universal bottle cap by constructing a series of concentric cylinders. Start with a main outer cylinder that has a radius of 12.65mm (the sum of a 9.25mm bottle radius and a 3.4mm border) and a total height of 10mm. Remove a central cylindrical core from this shape with a radius of 9.25mm and a height of 8.5mm...
bottlerad=9.25; border=3.4; thick=1.5; depth=7; top=1.5; difference(){ cylinder(h=depth+top, r=bottlerad+thick, $fn=60, center=true); translate([0,0,top]) cylinder(h=depth+top, r=bottlerad, $fn=60, center=true); } difference(){ translate([0,0,0]) cylinder(h=depth+top, r=bottlerad-border, $fn=60, center=true); tran...
glb/cad_d1e09ba8c1dc.glb
Create a Nautilus wind mill consisting of three identical spiral arms radiating from a central hub. Each arm is defined by a logarithmic spiral path that starts at a radius of 2mm and extends to a radius of approximately 15.3mm over a rotation of 720 degrees (from 2 full turns). The spiral arms have a constant thicknes...
use <shortcuts.scad> a = .5; k = .2; start = 2; stop = 4; d = .5; h = 20; aa = .8; N = 3; r = 3; windwheel(); module windwheel(N = 3, h = 10, aa = .85, r = 3, spokes = true) { linear_extrude(height = h, scale = aa) { for (i = [0:N-1]) nautil(dw = i*360/N); } Ri(2*r, r, h, false); if (spokes)...
glb/cad_11731bf67345.glb
Create an 8mm acme nut block surrogate by starting with a centered rectangular block measuring 34mm in length, 20mm in width, and 13.1mm in height. Remove two vertical hexagonal holes from the top face, each with a diameter of 9.4mm and a depth of 15mm, positioned 20mm apart from each other centered along the length. B...
$fn=32; difference(){ translate([0, 0, 0]) cube ([34,20,13.1],center=true); translate([10, 0, 5]) {cylinder($fn=6,h=15,r=4.7,center=true); translate([-10,0,-5])rotate ([90,0,0])cylinder(h=30,r=4.1,center=true); } translate([-10, 0, 5]){ cylinder($fn=6,h=15,r=4.7,center=true);} translate(v = [10, 0, 0]) cylinder(h=30,r...
glb/cad_34675548f3a4.glb
Create a Choke Lever Cap consisting of two stacked cylindrical sections. Start with a base cylinder 33mm in diameter and 1mm high. Cut a rectangular notch out of this base that is 16.5mm wide and 33mm long, centered along one axis, to create a flat opening on one side. On top of this base, center a second cylinder with...
de = 33.0; di = 23.0; he = 1.0; hi = 3.0; xx = 12.5; $fa = 0.5; $fs = 0.5; build(); module build() { union() { difference() { cylinder(d=de, h=he); translate([xx,-de/2,-he]) cube([de/2,de,3*he]); } translate([0,0,he]) difference() { ...
glb/cad_4c43c9ecc3bf.glb
Create a Cello Spike holder by starting with a rectangular base that is 34mm wide, 60mm long, and 6mm thick. On top of this base, add a second rectangular block that is 34mm wide and 34mm long, with a height of 26mm. Carve a cylindrical hole with a radius of 9mm through the center of the upper block, angled at 60 deg...
spike_diameter = 18; spike_border = 8; spike_angle = 60; base_depth = 6; string_diameter = 4; string_knot_diameter = 10; outer_width = spike_diameter + spike_border * 2; outer_length = outer_width + string_knot_diameter * 3; rotate ( [ 0, 0, 180 ] ) difference () { body(); union() { holes(); ...
glb/cad_c09af83caafa.glb
Create a Rostock hotend support part by designing a half-cylinder base and removing a vertical slice to leave a 180-degree arc. Start with a main cylinder 13.98mm in radius and 9.37mm high. Add a second, shorter cylinder on top of the first with a radius of 23.98mm and a height of 4.685mm. Carve out three concentric ...
largura=28.56-0.60; altura=9.37; parafuso=1.58+0.70; r1=7.97+0.40; r2=5.94+0.30; r3=7.97+0.40; h1=2.79; h2=4.05; h3=3.72; difference() { union() { cylinder(r=largura/2,h=altura,$fn=100); translate([0,0,altura]) cylinder(r=largura/2+10,h=altura/2,$fn=100); } for (i=[0:7]) { rotate([0,0,45*i]) transla...
glb/cad_17b6fc76ac22.glb
Create a customizable fan shroud for a J-head hotend. Start by constructing the main fan housing as a block with dimensions 30mm x 30mm x 10mm. The overall body is a combination of a cylinder with a radius of 16mm and the rectangular fan housing. Create a central vertical hole to accommodate the heat sink, with a diam...
mt="BLIND"; mtt="NO"; sprv=1; grp=2; xv=30; yv=30; zv=10; dtv1=3; dts1=6.1; ets=2.15; tl=.25; dav=28.50; angulo= 90; angulo_bisel=60; epavx=1.40; epavy=1.40; dcr=25; hcr=35.60; dgce=11.95; hgcr=2.40; rcr=dcr/2; rgcr=dgce/2; dtv=dtv1+tl; dts=dts1+tl; rtv=dtv/2; rts=dts/2; stvr=sprv+rcr; ventilador=[xv,yv,grp]; Atp...
glb/cad_35b1464ad5fd.glb
Create a customizable fan shroud for a J-head hotend. Start by constructing a main rectangular housing for a fan with dimensions of 30mm x 30mm x 10.1mm. The housing should have a wall thickness of 1.35mm. At the bottom of the housing, create a conical air outlet nozzle with an opening angle of 115 degrees. Integrate ...
top_face="OPEN"; nuts="YES"; ffsl=16; xv=30.00; yv=30.00; zv=10.10; dto_1=3.0; dtu_1=6.10; ets_1=2.15; tl=.30; dav=28.40; angt=115; angb=70; epx=1.35; epy=1.35; dbc=24.95; hcr=35.35; dgce=9.10; hte=2.30; grp=hte; hgcr=hte-tl; dtor=dto_1+tl; dtu=dtu_1+tl; ets=ets_1+tl; rtor=dtor/2; sprv=ffsl-(zv+1.5*grp+ets); dcr=db...
glb/cad_0fbf16a9ae49.glb
Create a customizable fan shroud for a J-head hotend. Start by constructing a main rectangular housing with a width of 30mm, height of 30mm, and thickness of 10.1mm. At the center of the housing, create a cylindrical cutout to accommodate the heat sink, with a diameter of 24.95mm and a total height of 35.35mm. Above ...
top_face="BLIND"; nuts="NO"; ffsl=16; xv=30.00; yv=30.00; zv=10.10; dto_1=3; dtu_1=6.10; ets_1=2.15; tl=.25; dav=28.40; angt=120; angb=70; epx=1.35; epy=1.35; dbc=24.95; hcr=35.35; dgce=9.10; hte=2.30; grp=hte; hgcr=hte-tl; dtor=dto_1+tl; dtu=dtu_1+tl; ets=ets_1+tl; rtor=dtor/2; sprv=ffsl-(zv+1.5*grp+ets); dcr=dbc+...
glb/cad_36489cc8a6d0.glb
Create a filament guide and NEMA17 clamp. Start by constructing a base clamp with a height of 10.8mm. The clamp's profile is a rounded square with an outer dimension of 47.5mm by 47.5mm and a corner radius of 9.5mm. From this outer shape, remove a central square section of 32mm by 32mm, but leave the corners intact to ...
use<rounded_box.scad> use<infi.scad> t= 5; sw = 42.5; ssw = 32; ssl = 10.8; gl = 40; gw = 10; gr = 0.6*t; inf = 3*ssw; gcw = 3; module round_stepper_profile() { d = (sw-ssw)/2; difference() { rounded_square(sw+2*t,sw+2*t, t+d); translate([t,t]) polygon([[d,0],[0,d], [0,sw-d],...
glb/cad_c885aba492e7.glb
Create a Lidar-Lite shield tube consisting of two identical cylindrical shells connected by a central bridge. Each cylinder must have an outer diameter of 21.26mm and an inner diameter of 19.48mm, resulting in a wall thickness of 0.89mm. The total length of each cylinder is 87mm, comprising an 80mm forward section and ...
slop = 0.23; FL = 80; BL = 7; WT = 0.8; TL = FL+BL; ID = 19.05 + slop; OD = ID + 2*WT; CC = 27.6; SS = 10; BWD = 12; BD = -3; BNH = 10; RD = BL-BD; RH = 0.4; RH2 = 2; RID1 = ID-0.4; RID2 = ID-5.1; fn=50; eps=0.03; module ring(IDR = 5) { difference() { cylinder(d=OD, h=RH, $fn=fn); translate([0,0,-eps]) cylinder...
glb/cad_26055a0ee83f.glb
Create a Lidar-Lite shield tube consisting of two parallel cylindrical shells connected by a central rectangular bridge. Each cylinder has an outer diameter of 20.36mm, an inner diameter of 19.33mm, and a wall thickness of 0.8mm. The total length of the assembly is 87mm. The cylinders are positioned with their centers...
slop = 0.23; FL = 80; FL2 = FL-3; BL = 7; WT = 0.8; TL = FL+BL; ID = 19.1 + slop; OD = ID + 2*WT; CC = 27.6; SS = 10; BWD = 12; BD = -3; BNH = 10; RD = BL-BD; RH = 0.4; RH2 = 2; RID1 = ID-0.4; RID2 = ID-6.1; fn=50; eps=0.03; module ring(IDR = 5) { difference() { cylinder(d=OD, h=RH, $fn=fn); translate([0,0,-eps...
glb/cad_2494ec1dc3d0.glb
Create a webcam mount for a Logitech C270 camera designed to fit a 2020 extrusion. Start by constructing a main body that is 25mm tall. Within this structure, incorporate a cylindrical void to accommodate the camera, featuring a base radius of 4mm and a top radius of 4.5mm, extending to a height of 5.5mm. Position this...
bheight=4; height=25; holeR=1.7; difference() { mirror([0,0,0]) union() { translate([0,0, 0]) dxf_linear_extrude(file="part1b.dxf", height=bheight, $fn=360); translate([0,0, 0]) dxf_linear_extrude(file="part2.dxf", height=bheight, $fn=360); translate([0,0, 0]) dxf_linear_extrude(file="part1.dxf", height=height, $fn=3...
glb/cad_472115b28d35.glb
Create a DevLoL Stempel stamper. Start by creating a solid cylinder with a radius of 22.2mm and a total height of 40mm. On the top face of the cylinder, center a circular cutout with a radius of 22.2mm that extends 20mm deep into the body. Within the remaining floor of this cutout, create a raised logo emblem. The em...
fudge = 0.1; module poly_path29961517112(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[0.015625,-173.718750],[-8.511719,-173.508938],[-17.006348,-172.879855],[-25.458740,-171.834282],[-33.859375,-170.375000],[-27.703125,-142.093750],[-34.6891...
glb/cad_ccecf20bc7e9.glb
Create a 20mm rounded plug with a cable shaft. Start by constructing a base that is a 20.6mm cube with a height of 7mm. The bottom 5mm of this base should be shaped as the intersection of the cube and a cylinder with a 12mm radius centered at the coordinates (10.3, 10.3). On top of this 5mm section, add a 2mm thick squ...
tolerance = 0.6; difference() { union() { intersection(){ cube([20+tolerance,20+tolerance,5]); translate([10,10,0]) cylinder(h=5, r=12); } translate([-2,-2,5]) cube([24,24,2]); } translate([10,10,0]) cylinder(r1=6, r2=5, h=4); translate([10,10,4]) cylinder(r1=5, r2=6, h=4); translate([10,8.5,0]) cube([20,...
glb/cad_1d311c9a5a78.glb
Create a snap-together airbrush hanger by constructing a central base and integrated mounting arms. Start with a main rectangular block measuring 30mm wide, 48mm deep, and 24mm high. From the bottom of this block, remove a semi-cylindrical cutout with a radius of 9mm to create a cradle. In the center of the block, cr...
x=[1,0,0]; y=[0,1,0]; z=[0,0,1]; module holder(){ translate([0,0,-7])difference(){ cube([20,32,2],center=true); translate(y*-12)cylinder(h=3,r=6.2,center=true); translate([5,10,0]) cylinder(h=4,r=3.5,center=true); translate([-5,10,0]) cylinder(h=4,r=3.5,center=true); } difference(){ cube([20,10,16],center=true); tr...
glb/cad_a3e7e03684cb.glb
Create a Lighter Plug by constructing a composite cylindrical object. Start with a main hollow cylinder that has an outer radius of 10mm, a height of 20mm, and a centered internal hole with a radius of 7.5mm that begins 5mm from the base and extends to the top. Attach a wider flat disc to the bottom of this cylinder wi...
translate([0,0,20]) difference() { union() { difference() { cylinder(h=20,r=10); translate([0,0,5.01]) cylinder(h=15,r=7.5); } translate([0,0,-5])cylinder(h=5,r=15); translate([0,0,-19.99]) cylinder(h=15,r2=7.5,r1=10); } translate([0,0,-20]) cylinder (h=30,r2=3,r1=5); }
glb/cad_832ac4d2e71a.glb
Create a pen holder consisting of a circular base and a decorative open-lattice wall. Start by creating a solid circular base with a radius of 28mm and a height of 1mm, with the top surface tapering slightly from a radius of 28mm to 27mm over that height. Around this base, construct a woven cylindrical wall using a ser...
$fn=100; thick=2; module elem(ang=0,step=0,div=0,r=20,thick) { x=sin(ang)*r; y=cos(ang)*r; x2=sin(ang-step)*r; y2=cos(ang-step)*r; hull() { translate([sin(ang)*r,cos(ang)*r,ang/div]) cube(thick); translate([sin(ang-step)*r,cos(ang-step)*r,(ang-step)/div]) cube(thick); } } module helem(thick=2)...
glb/cad_7ccc16180636.glb
Create a Yazzo Rod Mounted Socket Elbow designed to hold a rod and provide two ball socket connection points. Start by creating a central cylindrical tube with an outer radius of 10.2875mm (based on the golden ratio multiplier of the inner radius) and an inner hole diameter of 7.9375mm (5/16") to accommodate the rod....
goldenratio = 1.61803399; joinfactor = 0.125; gBarIR = 5/16/2*25.4; gBarOR = gBarIR*goldenratio; gBarLength = 22; gBallRadius = 20/2; gMountLength = gBallRadius*2*goldenratio; gDoubleMountLength = gBallRadius*2*goldenratio*goldenratio; rodmountedsocket_elbow(gBarIR*1.05, gBarOR, gMountLength, gBallRadius); module t...
glb/cad_fdc8573c51a7.glb
Create a Mendel90 spool holder bracket. Start with a main body that is 40mm wide, 130mm high, and 10mm thick. The top of the body should have rounded corners with a 5mm radius. Hollow out the center of the body to create a ridge 6mm thick, leaving a wall thickness of 3.2mm around the perimeter and a thin vertical strut...
width = 40; height = 130; rod_diameter = 10; test_object = "Full Render"; quality = 30; thickness = 10; ridge_thickness = 6; flange_height = 16; screwhole_size = 4.6; screwhole_extra_length = 2; screwhole_offset = 12.5; rod_diameter_tolerance = 0.4; rod_snap_fit = 0.4; rod_support_depth = 17; rod_support_back_wal...
glb/cad_30edcbb57e24.glb
Create a custom door for a Eurobot by starting with a rectangular base plate measuring 40mm wide, 41.5mm deep, and 3mm thick. Along one of the 41.5mm sides, add a cylindrical rod with a radius of 1.5mm and a length of 46mm, centered 3mm from the side edge and 1.5mm from the bottom face. On the opposite side of the plat...
use <Write.scad> union() { cube([40,41.5,3]); translate([-3,0,1.5]) rotate([0,90,0]) cylinder(r=1.5, h=46, $fn=20); difference() { hull() { translate([0,38.5,3]) rotate([0,90,0]) cylinder(r=3, h=40, $fn=20); translate([0,38.5,5]) rotate([0,90,0]) cylinder(r=3, h=40, $fn=20); } translate([-1,41.5,4.5]...
glb/cad_a87b20d732b5.glb
Create a Clip-on Hook by constructing a hollow cylinder with an outer diameter of 25.5mm, an inner diameter of 19.5mm, and a height of 10mm. The wall thickness is 3mm. Cut a gap into the cylinder to create a C-shaped clip, but leave a solid section at the bottom to form a protruding hook. Specifically, remove a wedge-s...
include <MCAD\3d_triangle.scad> diam=19.5; thick=3; clipextra=2; high=10; hooklen=10; scale([1.2,1,1]) union() { translate([0,0,high/2]) difference() { cylinder(r=diam/2+thick,h=high,center = true); cylinder(r=diam/2,h=high+0.2,center = true); translate([0,0,-high/2-0.1]) 3dtri_draw([0,0,0],[diam+thick...
glb/cad_18b4acc0af31.glb
Create a PiCase for a Tontec 3.2" TFT touchscreen. Start by constructing a main rectangular body with dimensions 66mm by 103mm and a height of 4mm, ensuring the corners are rounded with a 3mm radius. Within this base, create a large central rectangular cutout to accommodate the screen. At the top edge of the case, pl...
include <MCAD/shapes.scad> include <MCAD/units.scad> include <MCAD/materials.scad> include <MCAD/nuts_and_bolts.scad> use <write/Write.scad> comp = 20; module pibot2() { difference() { union() { difference() { union() { color ("purple") translate ([0,0,0]) roundedBox(66,103,4,3); color ("green") translate ([22,-56...
glb/cad_e14e133071b4.glb
Create a PiCase for a Tontec 3.2" TFT touchscreen. Start by constructing a main rectangular body with rounded corners, measuring 66mm wide, 103mm long, and 4mm thick. Within this body, create a central rectangular cutout measuring 59mm by 87mm with a depth of 4.5mm. At the four corners of the main body, place four ...
include <MCAD/shapes.scad> include <MCAD/units.scad> include <MCAD/materials.scad> include <MCAD/nuts_and_bolts.scad> use <write/Write.scad> comp = 20; module pibot2() { difference() { union() { difference() { union() { color ("purple") translate ([0,0,0]) roundedBox(66,103,4,3); color ("green") translate ([22,-56...
glb/cad_7e0fa9cf8c6b.glb
Create a PiCase button assembly consisting of three identical button units connected by a central rectangular bar. Each button unit is composed of a grey cylindrical base with a diameter of 8mm and a height of 7.5mm, topped with a red cylindrical cap that has a diameter of 8mm and a height of 5mm. Position these three ...
include <MCAD/shapes.scad> include <MCAD/units.scad> include <MCAD/materials.scad> include <MCAD/nuts_and_bolts.scad> use <write/Write.scad> comp = 20; module pibot2() { union() { color ("red") translate ([14,0,-4.0]) cylinder(4,2.5,2.5,centered = true,$fn=40); color ("gray") translate ([14,0,-1.0]) cylinder(1,3.75,...
glb/cad_382d7add6e22.glb
Create a PiCase for a Tontec 3.2" TFT touchscreen. Start by constructing a main body as a rounded box with dimensions 66mm wide, 103mm deep, and 4mm high, featuring a corner radius of 3mm. Within this body, create several circular cutouts and rectangular slots. Position two circular holes with a diameter of 5mm and a...
include <MCAD/shapes.scad> include <MCAD/units.scad> include <MCAD/materials.scad> include <MCAD/nuts_and_bolts.scad> use <write/Write.scad> module pibot4() { difference() { union() { difference() { union() { color ("purple") translate ([0,0,0]) roundedBox(66,103,4,3); color ("green") translate ([22,-56,-2]) cylin...
glb/cad_5cf6ad564455.glb
Create a hollow bottle with a total height of 220mm and a wall thickness of 1mm. Start with a base section 10mm tall that tapers slightly from a bottom radius of 25mm to a top radius of 32mm. Above this, add a main cylindrical body 90mm tall with a constant outer radius of 32mm. Continuing upward, create a conical ne...
PI=3.131592; module beer_bottle(); { union() { difference() { translate([0,0,10/2]) cylinder(h=10, r1=50/2, r2=64/2, $fn=(50+64)/2*PI, center=true); translate([0,0,1.1+9/2]) cylinder(h=9, r1=49.5/2, r2=62/2, $fn=(49.5+62)/2*PI, center=true);...
glb/cad_b7d2d6bef644.glb
Create a "Catch More Fish" automatic hook setter consisting of several components. First, create a rod holder featuring a base block of 100mm x 60mm x 20mm. On this base, add a hollow cylindrical pipe with an outer diameter of 50mm and an inner diameter of 40mm, tilted at 28 degrees and with a length of 107mm. Includ...
include <utils/build_plate.scad> part = "platePivotJoint"; toleranceFitClearance = 0.15; bearingNutDiameter = 9.5; bearingNutThickness = 2; boltDiameter = 4; boltHeadDiameter = 7; boltCountersunkDepth = 3; hookSetterClipAngle = 75; module dummy() {} manifoldCorrection = 0.02; hookSetterClipThickness = 2; hookSet...
glb/cad_e66f5c7e6e42.glb
Create a Makerbot wire clip with a total height of 6mm. Start with a central rectangular base measuring 45mm in length, 3mm in width, and 6mm in height, centered on the origin. At each end of this base, add a vertical rectangular wall that is 3mm wide, 11mm deep, and 6mm high, positioned so the walls are perpendicular ...
t = 3; h = 6; walls = 5; rear = 39; cavein = 2; union() { cube ([rear + 2*t, t, h], center=true); for (i=[-1,1]) { translate([i*(rear/2+t/2),-walls/2-t,0]) cube ([t, walls + 2*t, h], center=true); } translate([-rear/2-t/2+cavein/2,-walls-3/2*t,0]) cube ([t+cavein, t, h], center=true); translate([rear/2-(rear-wall...
glb/cad_7ac0718d5f6b.glb
Create a parametric skateboard wedge with a rectangular base measuring 90mm in length and 58mm in width. The shape is a right-angled wedge where the height slopes linearly from 15mm on one end to 10mm on the other. Remove eight vertical holes to accommodate bolts, using a diameter of 5mm with a 0.3mm tolerance. These...
include <mcad/nuts_and_bolts.scad> tolerance = .3; module wedge(len, wid, hei1, hei2, oldschool, newschool, bolt) { bolt_wid = 41.28; new_len = 53.98; old_len = 63.5; mx = len/2; my = wid/2; difference() { rotate([0,-90,0]) linear_extrude(height=wid) polygon (points = [[0,0],[0,len],[hei2,len],[hei1,0]]); ...
glb/cad_dbe081b69a22.glb
Create a 3D model of a "Happy Monkey" based on a heightmap grid. Start by creating a square base plate that is 36mm wide, 36mm deep, and 1mm thick. On top of this base, construct an 8x8 grid of tapered prisms. Each prism should be positioned at 4mm intervals. The prisms are triangular in cross-section, with a bottom ...
rotation = 45; invert="NO"; values = 2; value = [0,1]; rows = 8 + 0; columns = 8 + 0; red_data_points = [ [147,147,147,146,154,163,164,148 ] ,[147,147,146,148,172,212,203,168 ] ,[146,149,154,156,198,205,206,183 ] ,[154,172,189,188,191,205,190,169 ] ,[163,199,190,213,196,160,150,145 ] ,[178,214,200,213,195,152,145,14...
glb/cad_9869ac1c453f.glb
Create a Buggy base by combining a main cylinder with a diameter of 20mm and a height of 10mm, a smaller cylinder with a diameter of 10mm and a height of 5mm positioned centrally but shifted 5mm downward along the Z-axis, and a third cylinder with a diameter of 20mm and a height of 5mm positioned 10mm behind the center...
difference() { union() { cylinder(10,10,10); translate([0,0,-5]) cylinder(15,5,5); translate([0,-10,0]) cylinder(10,5,5); } translate([0,0,-7]) cylinder(30,2,2,$fn=130); rotate([90,0,0]) translate([0,5,-12]) cylinder(20,1.5,1.5,$fn=130); translate([-3,3,1]) cube([5.5,2.5,20]); translate([0,-10,-1]) cylinder(12...
glb/cad_ffcb2c2365ac.glb
Create a Buggy chassis by constructing a rectangular base with walls. Start with a main body consisting of two parallel walls, each 160mm long, 4mm thick, and 32mm high, spaced 22mm apart along the Y-axis. Add two end caps: one 4mm wide by 26mm deep by 57mm high at the start, and another 4mm wide by 26mm deep by 32mm h...
difference() { union() { cube([160,4,32]); translate([0,22,0]) cube([160,4,32]); translate([-4,0,0]) cube([4,26,57]); translate([158,0,0]) cube([4,26,32]); cube([130,4,57]); translate([0,22,0]) cube([50,4,57]); } rotate([90,0,0]) translate([19,16,-30]) cylinder(40,2,2,$fn=130); rotate([90,0,0]) translate([49.5,16,-30...
glb/cad_7a86e0617046.glb
Create a hollowed-out hemispherical shell. Start by forming a solid sphere with a radius of 43mm. Add a cylinder with a radius of 43mm and a height of 14mm, centered on the same axis, to extend the top of the shape. From this combined volume, remove a smaller concentric sphere with a radius of 40mm and a concentric cyl...
difference() { union() { sphere(43); cylinder(14,43,43,$fn=130); } sphere(40); cylinder(52,40,40,$fn=130); translate([0,-100,-100]) cube([0.5,200,200]); translate([-50,-50,14]) cube([100,100,20]); }
glb/cad_993455b7b3ee.glb
Create a Buggy model by starting with a central vertical rectangular block that is 10mm wide, 10mm deep, and 50mm tall, centered on the X and Y axes. At the base of this block, add two cylinders, each with a radius of 5mm and a height of 50mm, positioned so that one is centered at X=0, Y=0 and the other is centered at ...
difference() { union() { translate([-5,-5,0]) cube([10,10,50]); translate([-5,0,0]) cylinder(50,5,5,$fn=130); translate([5,0,0]) cylinder(50,5,5); cylinder(10,14,11,$fn=130); translate([10,0,0]) cylinder(10,14,11,$fn=130); } rotate([90,0,0]) translate([3,45,-10]) cylinder(20,2,2,$fn=130); }
glb/cad_40023b865160.glb
Create a hollow customizable cylinder with a total height of 100mm. Start by creating a base flange as a solid disk with a diameter of 66mm and a thickness of 2mm. Above this flange, build a tapered outer wall that starts at a diameter of 57mm at the bottom and narrows to 56mm at the top, reaching a total height of 100...
ind =44; od1=57; od2=56; fd=66; fth=2; ch=100; translate([0, 0, 0]) { union() { difference() { union(){ translate([0, 0, fth]) cylinder(h = ch-fth, r1 =od1/2,r2=od2/2,$fn=96); translate([0, 0,0])cylinder(h = fth, r= fd/2,$fn=96); } translate([0, 0, -1]) ...
glb/cad_43e918eb62c6.glb
Create a CremaBot enclosure consisting of two mirrored halves. For each half, start with a rounded box measuring 56mm x 68mm x 20mm with a corner radius of 5mm. Hollow out the center by removing a rounded box of 52mm x 64mm x 16mm with a 2mm radius. Add a base plate to the bottom that is 60mm x 72mm x 3mm with a 5mm ra...
fn=100; translate([-35,0,0]) { difference() { union() { difference() { roundedBox([56,68,20], 5, true, $fn=fn); translate([0,0,3]) { roundedBox([52,64,16], 2, true, $fn=fn); } } for(i=[0:1:1]) { mirror([0,1*i,0]) { translate([25,31,0]) { difference() ...
glb/cad_00f67bbd501f.glb
Create a Notched Bronze Bushing Holder by starting with a solid cylinder 10mm high with a radius of 7.875mm. Attach a rectangular block to one side of this cylinder, measuring 15.75mm in width, 7.875mm in depth, and 10mm in height, so that the block's inner face is flush with the cylinder's center axis. Hollow out the ...
difference(){ union() { translate([-7.875,0,]) cube([15.75,7.875,10]); translate([0,0,0]) cylinder(h=10,r=7.875,center=false,$fn=100); } translate([0,0,0]) cylinder(h=10,r=6.2,center=false,$fn=100); translate([4.2,4.2,0]) cylinder(h=10,r=1.2,center=false,$fn=100); translate([0,0,8.54]) cylinder(h=1.47,r=7.2,center=fals...
glb/cad_75689a45a46c.glb
Create a Prusa I3 x-tensioner tension bar. Start with a rectangular block measuring 30mm in width (x), 14mm in depth (y), and 5mm in height (z). Center the block on the origin. Remove a vertical cylindrical hole with a radius of 1.5mm through the center of the block along the z-axis. Additionally, create two larger c...
inside_x = 30; inside_y = 7; inside_z = 35; outside_x = 60; outside_y = 14; outside_z = 5; rod_xapart = 45; rod_r = 4.5; screw_r = 1.5; min_wall = 3; vertical_wall = 5; module inside_block(){ difference(){ union(){ translate([ inside_x*-0.5, 0,0]) cube([inside_x, inside_z, inside_y]); ...
glb/cad_2f9df8ab766a.glb
Create a Nikon AF-S Nikkor 18-55 mm lens hood adapter. Start by creating a hollow cylinder with an inner diameter of 56.75mm and an outer diameter of 60.75mm, with a total height of 5mm. To the inner wall of this cylinder, add a series of small, rectangular teeth distributed evenly around the circumference. Each toot...
pi = 3.14159265359; D = 56.75; R = D/2.00; pitch_height = 0.6; pitch_width = 1.5; pitch_depth = 2.5; OD = D + pitch_height; module inner_rim(diameter, p_h, p_w, p_d) { r = diameter/2.00; number_teeth = (2*pi*r)/(p_w*2.00); step = 360.0/number_teeth + 0.14; echo("number_teeth = ", number_teeth); e...
glb/cad_2a0a5dc2a701.glb
Create a Customizable Expansion Board Mount. Start by constructing a rectangular frame with outer dimensions of 81mm by 57mm and a height of 10mm. The frame walls should be 2mm thick. Inside this frame, create a central rectangular cutout of 75mm by 51mm, leaving a 1mm lip around the inner edge to secure a board. At e...
include <MCAD/nuts_and_bolts.scad> include <utils/build_plate.scad> board_x = 77; board_y = 53; board_z = 12; frame_thickness = 2; frame_height = 10; frame_lip = 1; board_screw_size = 3; board_screw_dist_x = 70; board_screw_dist_y = 45; frame_screw_size = 3; frame_screw_dist_x = 50; build_plate_selector = 0...
glb/cad_8a14bb13cc55.glb
Create a grid of eight identical washers arranged in four columns and two rows. Each washer is a hexagonal prism with a height of 2.1mm and a base radius of 5.5mm. For every washer, center a vertical cylindrical hole with a radius of 1.75mm that passes completely through the part. Additionally, carve a hexagonal rece...
nx=4; ny=2; scr=1.75; scr2=3.4; scrf=6; pr=5.5; ph=2.1; pf=6; pd=1.5; translate([-13,-13,0]) difference() { cylinder(r=3,h=.17,$fn=8); } for (x=[0:1:nx-1]) { for (y=[0:1:ny-1]) { translate([(pr+1)*2*x,(pr+0.5)*2*y,0]) difference() { cylinder(r1=pr,r2=pr-0.5,h=ph,$fn=pf); transl...
glb/cad_57ed89025919.glb
Create a wall mount for a shower curtain rod. The main body is a cylinder with an outer diameter of 36.5mm and a total height of 21mm. The bottom 6mm of this cylinder is a solid base, while the remaining 15mm is a hollow cup. Inside this cup, create a central vertical hole with a diameter of 31.5mm that extends from ...
include <katy.scad> rod_diam = 19.3; rodcap_od = rod_diam + 5; rodcap_height = 15; rodcap_base_od = rodcap_od + 16.5; rodcap_base_height = 5; rodcap_screw_spacing = rodcap_base_od - 8.5; wallpart_od = rodcap_base_od + 6; wallpart_height = 15; wallpart_base_thickness = 6; wallpart_screw_spacing = 25; wallpart_idler_...
glb/cad_3a9a4c890a99.glb
Create a Sinus FQ Gen Case for an Arduino Nano and AD9850. Start with a rectangular base measuring 89mm by 45mm by 3mm. Build a rear wall and two side walls, each 3mm thick and 43mm high, extending from the base. Add a front bottom section measuring 59mm by 32mm by 3mm, and a front upper wall measuring 59mm by 3mm by 1...
module batterie(){ color ([0,0,1]){ cube([54,26,18]); } } module stuetze(){ color([1,0,0]){ difference(){ translate([0,0,0]) rotate([0,45,0])cube ([10,41,10]); translate([0,-1,0]) cube([15,44,10]); translate([7,-1,-10]) cube([15,44,20]); } } } difference (){ union(){ cube([89,45,3]); ...
glb/cad_3293d2516222.glb
Create a GoPro lens cap by constructing a thin-walled cylindrical vessel. Start with a circular base that has an outer diameter of 27.6mm and a thickness of 2mm. From this base, extend a concentric vertical wall upwards to a total height of 12mm. This wall should have a thickness of 2mm and an inner diameter of 23.6mm....
include <MCAD/units/metric.scad> wall_thickness = 2; base_thickness = wall_thickness; lens_diameter = 23; lens_depth = 10; rounding_radius = 0.9; clearance = 0.3; $fs = .4; $fa = 1; module round (r) offset (r = r) offset (r = -r) offset (r = -r) offset (r = r) children (); rotate_extrude () union () { inner_ra...
glb/cad_5d0af420eae7.glb
Create a flat rectangular cover with a total outer dimension of 47mm in length, 20mm in width, and 0.5mm in height, centered on the origin. From this main plate, remove a central rectangular section measuring 44.5mm by 18mm with a height of 1mm, positioned 2.75mm above the origin. Additionally, remove a small rectangul...
module box(){ difference(){ difference(){ difference(){ union(){ translate([0,0,-1]) cube([47,20,8.5], center = true); } cube([45,18,8.5], center = true); } translate([22,5,0]) cube([5,6.5,8.5], center = true); } translate([-22,0,0]) cube([5,12.2,6.8], center = true); } } module cover(){ translate([0,0,3.5]) cube([47,...
glb/cad_21e4af773fb6.glb
Create a flashlight diffuser consisting of a cylindrical base and a conical top. Start by creating a hollow cylinder for the fitting with an inner diameter of 30mm, an outer diameter of 31.6mm, and a height of 15mm. On top of this base, add a hollow cone that extends 60mm in height. This cone should taper from a base i...
$fn = 60*1; wall_thickness = 0.8; fitting_diameter = 30; fitting_height = 15; cone_length = 60; cone_endopening_diameter=2; cone_tip = "closed"; difference() { cylinder(h=fitting_height, r=fitting_diameter/2+wall_thickness); cylinder(h=fitting_height, r=fitting_diameter/2); } translate([0,0,fitting_height]) d...
glb/cad_a725fdf35966.glb
Create a Volcano Easy Valve Adapter consisting of a hollow cylindrical body with a central flange. Start by creating a main outer cylinder with a height of 21mm and an outer diameter of 12.6mm. At the base of this cylinder, add a smaller cylindrical protrusion with a diameter of 8.18mm and a height of 6mm. Around the ...
$fn=200; diameter_1_text_box = 15; diameter_2_text_box = 12.6; adapter_length_text_box = 21; internal_diameter_text_box = 7; button_width_numerical_slider = 16.3; button_thickness_numerical_slider = 2; button_taper_numberical_slider = 6; omgwtf = button_width_numerical_slider*((100-button_taper_numberical_slide...
glb/cad_fad03358cd49.glb
Create a Sun Chandelier candle holder by constructing a central cylindrical core and a radiating array of decorative fins. Start with a central cylinder 30mm high with a radius of 16mm. Remove a smaller concentric cylindrical hole from this core that is 35mm high with a radius of 13.25mm, shifted 3mm along the Y-axis. ...
module stand() { linear_extrude(height=5, center=true) polygon(points=[[0,0],[50,0],[50,5],[30,12],[20,20],[10,30],[0,30]]); } difference() { union() { for (i=[1:18]) { rotate([0,i*20,0]) { scale([.7,.9,1]) stand(); scale([.8,1,.5]) stand(); }} rotate([-90,0,0]) cylinder(r=32/2, h=30); } translate([0,3,0]) rot...
glb/cad_77ac0bda135d.glb
Create a ball wrenches stand for a bench topper. Start with a rectangular base measuring 73mm in length, 60mm in width, and 3mm in height. On top of this base, add a second rectangular block measuring 67mm by 60mm with a height of 9mm, positioned 3mm from the front edge. Remove a rectangular section from both the left ...
$fn=16; difference(){ union(){ translate([0,0,0]) cube([73,60,3]); translate([3,0,0]) cube([67,60,9]); } translate([0,0,0]) cube([3,17,9]); translate([70,0,0]) cube([3,17,9]); translate([63,10,-1]) cylinder(h=20, r=2); translate([45.5,10,-1]) cylinder(h=20, r=1.7); translat...
glb/cad_cb14fadf4d7d.glb
Create a ball wrenches stand for a bench topper. Start by constructing a U-shaped base with an outer footprint of 73mm in length, 50mm in width, and a total height of 20mm. The base consists of a 3mm thick bottom plate and two vertical side walls that are also 3mm thick and 20mm high, positioned at the far left and rig...
$fn=16; difference(){ union(){ translate([0,0,0]) cube([73,50,3]); translate([0,0,0]) cube([73,3,20]); translate([0,0,0]) cube([3,50,20]); translate([70,0,0]) cube([3,50,20]); } translate([10,-1,13]) rotate([-90,0,0]) cylinder(h=20, r=2); translate([27.5,-1,13]) rotate(...
glb/cad_3c18b496b7e3.glb
Create a Circular Ruler tool by starting with a square base measuring 49mm by 49mm with a thickness of 1.4mm. In the center of this square, remove a circular section with a radius of 20.5mm. At the four corners of the square, centered 19mm from the middle of the plate in both X and Y directions, create four circular ...
x_regla = 49; y_regla = x_regla; z_regla = 1.4; anillo_1 = 5; anillo_2 = 10; anillo_3 = 15; anillo_4 = 20; agujero_1 = 0.5; agujero_2 = 1.5; agujero_3 = 2; agujero_4 = 2.5; margen = 0.5; grosor = 2; n_c = 300; union(){ difference(){ difference(){ cube([x_regla,y_regla,z_regla]); translate([x_regla/2,y_reg...
glb/cad_a63290f9911a.glb
Create a Circular Ruler by starting with a square plate measuring 49mm by 49mm with a thickness of 1.4mm. At the center of this plate, remove a large circular hole with a radius of 22.5mm. Additionally, remove four smaller circular holes from the plate, each with a radius of 2.5mm, positioned symmetrically at the corne...
x_ruler = 49; y_ruler = x_ruler; z_ruler = 1.4; ring_1 = 5; ring_2 = 10; ring_3 = 15; ring_4 = 20; hole_1 = 0.5; hole_2 = 1.5; hole_3 = 2; hole_4 = 2.5; range = 0.5; thickness = 2; fn = 300; union(){ difference(){ difference(){ cube([x_ruler,y_ruler,z_ruler]); translate([x_ruler/2,y_ruler/2,z_ruler/2]) ...
glb/cad_be06282f9883.glb
Create a back support arm for a Wavetek Meterman 25XT multimeter. Start with a main rectangular body measuring 90mm in length, 45mm in width, and 5mm in thickness. From this base, remove a large rectangular section starting 30mm from the left edge, with a width of 33mm and a height of 7mm, leaving a thin outer frame....
$fn=72; X = 90; Y = 45; Z = 5; X_cut = 30; Y_cut = 33; Z_cut = Z+2; Hand = (Y-Y_cut)/2; D_pin = 3.2; H_pin = Hand+3; module Pin() { translate([D_pin/2, 0, Z-D_pin/2]) rotate (a=-90, v=[1,0,0]) cylinder(h = H_pin, d = D_pin); } module FixationPin() { xx = 3; yy = 8; zz = Z+2; dd = 2; tra...
glb/cad_41dde8453d7d.glb
Create a support foot for a Tektronix AFG 3251. Start by constructing a main body that is a union of a rectangular block and a cylinder. The block must be 4.4mm thick, 33mm wide, and 23.4mm tall, centered on the origin. To this block, add a cylinder with a diameter of 4.4mm and a height of 28mm, centered on the origin ...
xx=4.4; yy=33; zz=23.4; pin=2.3; dd=xx; hh=zz+2*pin; echo(hh=hh); module cut1() { rotate([90,0,90]) hull() { translate([(yy/2),0,0]) cylinder(h=(xx+2),d=pin, center=true, $fn=72); translate([yy/2-6*pin,0,0]) cylinder(h=(xx+2),d=pin, ...
glb/cad_5d29c5ac1eee.glb
Create a fence gate model with an overall width of 47mm and a total height of 84mm (7 inches * 12). First, construct the internal support frame. Create two vertical posts, each 1.875mm wide, 1.6875mm deep, and 57mm tall. Position one at the left edge and the other at the right edge of the 47mm width. Connect these wi...
height = 7 * 12; fheight = 57; width = 47; w1 = 3 + 3/8; w2 = 5 + 3/8; w3 = 7 + 3/8; frameHeight = (height - 2 - fheight) / 2; echo(frameHeight); frame_Vpost_height = fheight; frame_Vpost_width = 1+ (7/8); frame_Vpost_depth = 1 + (11/16); frame_Hpost_depth = 1.5; frame_Hpost_width = 1.5; frame_Hpost_height =...
glb/cad_9a17c3553a15.glb
Create a base for an Android Guy figure. Start by creating a flat circular disc with a bottom radius of 50mm, a top radius of 47mm, and a height of 6mm. On top of this disc, construct a complex central housing. This housing is formed by combining a cylinder with a radius of 35mm and a height of 70mm, a smaller cylinder...
union() { rotate([180,0,0]) { difference(){ union(){ cylinder(r=35,h=70,$fn=100); translate([0,0,-14]) cylinder(r=21,h=70,$fn=100); rotate_extrude(convexity = 10, $fn=100) translate([21,0,0]) circle(r=14,$fn=100); } translate([0,0,50]) cube([100,100,100], center=true); transl...
glb/cad_431f476774df.glb
Create a Fan 40x40x20 hotend mount. Start with a central rectangular plate measuring 40mm by 40mm with a thickness of 5mm. From the center of this plate, remove a cylindrical core with a radius of 18.5mm and a height of 6mm. At each of the four corners of the plate, centered at coordinates (16, 16), (-16, 16), (-16, ...
$fn = 500; difference() { cube(size = [40,40,5], center = true); translate([0, 0, -3]) cylinder(h = 6, r=18.5, $fs=0.01); translate([16, 16, -3]) cylinder(h = 6, r=1.6, $fs=0.01); translate([-16, 16, -3]) cylinder(h = 6, r=1.6, $fs=0.01); translate([-16, -16, -3]) cylinder(h = 6, r=1.6, $f...
glb/cad_9d3b5623f625.glb
Create a coin necklace pendant by starting with a main circular rim. Construct this rim as a cylinder with a radius of 30mm and a height of 10mm, centered on the origin. Hollow out the center of this rim by removing a smaller cylinder with a radius of 25mm and a height of 12mm. Inside this hollowed area, add a decorati...
difference() { cylinder(r=30,h=10, center=true, $fn=100); cylinder(r=25,h=12, center=true, $fn=100); } difference() { scale([1,1,0.185]) sphere(r=28, $fn=100); union() { translate(v=[0,0,5]) cube([13,40,8], center=true); translate(v=[0,0,-5]) cube([13,40,8], center=true); } } translate(v=[0,32,0]) scale([1,1.5,1]) rot...
glb/cad_a14cc807b6aa.glb
Create a coin necklace pendant by starting with a main outer rim shaped as a cylinder with a radius of 30mm and a height of 10mm, centered on the origin. Hollow out the center of this rim by removing a smaller cylinder with a radius of 25mm and a height of 12mm. To create the inner face of the coin, add a sphere with a...
difference() { cylinder(r=30,h=10, center=true, $fn=100); cylinder(r=25,h=12, center=true, $fn=100); } difference() { scale([1,1,0.185]) sphere(r=28, $fn=100); union() { translate(v=[0,0,5]) cube([13,40,8], center=true); translate(v=[0,0,-5]) cube([13,40,8], center=true); } }
glb/cad_ed12f3d17479.glb
Create a pluggable picture frame connector. Start by creating a rectangular block that is 20mm long, 38mm wide, and 3mm high. From this block, remove a central rectangular section that is 157mm long, 31mm wide, and 4mm high, centered along the length and width, but shifted 2mm upward along the Z-axis. Finally, remove s...
len = 157/2; wid = 35; border = 5; conn = 10; tolerance=0.2; $fn=16; module base() { cube([len+2*border-2,wid+2*border-2,1], center=true); difference() { union() { for(x=[-len/2,len/2-conn, len/2]) for(y=[-wid/2-1, wid/2+1]) translate([x,y,0]) cylinder(h=3,r=2-tolerance); } translate([0,0,2]) cube([len-2,wid-2,4],...
glb/cad_c4c9070c831a.glb
Create a Hipro Server Power Supply Hack enclosure. Start with a solid rectangular block measuring 89mm in width, 79mm in depth, and 3mm in height. Add two vertical walls extending upwards from the sides, each 60mm wide, 79mm deep, and 3mm thick, positioned at the left and right edges of the base. To form the main cavit...
difference( ) { union() { cube([89,79,3]); translate([-2,14.5,-30]) rotate([90,0,90]) cube([50,80,5]); translate([0,3,0]) rotate([90,0,0]) cube([89,60,3]); translate([0,79,0]) rotate([90,0,0]) cube([89,60,3]); translate([-2,0,60]) rotate([0,90,0]) cube([60,79,5]); translate([86,0,60]) rotate([0,90,0]) cube([60,7...
glb/cad_152ee0cc7371.glb
Create a protective enclosure for a Hipro server power supply. The main body is a rectangular shell with an outer footprint of 89mm in length, 79mm in width, and 30mm in height. The walls are 3mm thick, creating an internal cavity that is 83mm long and 73mm wide. The top of the enclosure is open, except for a section ...
difference( ) { union() { color("red") cube([1,1,1]); translate([0,0,27])cube([89,79,3]); translate([-2,14.5,5]) rotate([90,0,90]) cube([50,50,5]); translate([0,3,0]) rotate([90,0,0]) cube([89,30,3]); translate([0,79,0]) rotate([90,0,0]) cube([89,30,3]); translate([-2,0,30]) rotate([0,90,0]) cube([30,79,5]); tra...
glb/cad_da7d2431650e.glb
Create a customizable dog tag by starting with a rectangular base measuring 50mm in length, 20mm in width, and 4mm in thickness. Center the text "Will" on the top face of the rectangle, engraving the letters to a depth of 12mm with a font thickness of 4mm and a bold style. To finish the piece, add a circular hole with ...
include <write/Write.scad> include <write.scad> name_text = "Will"; difference(){ translate([-25,-10,-2]){ cube([50, 20, 4]); } write(name_text, t = 4, h = 12, center = true, bold = 1); translate([20, 0, -2]){ cylinder(r = 3, h = 6); } }
glb/cad_251b9ea66c36.glb
Create a Customizable Compact Spool Holder by constructing a tiered cylindrical base with a central hole for a bearing. Start with a wide bottom cylinder 58.5mm in diameter and 3mm high. Directly on top of this, center a second cylinder 52.5mm in diameter and 3mm high. Above these plates, create a bearing support str...
Spool_Diameter = 52.5; Bearing_Diameter = 22.2; $fn=100; difference() { union() { translate ([0,0,0])cylinder(d=Spool_Diameter+6,h=3); translate ([0,0,3])cylinder(d=Spool_Diameter,h=3); hull() { translate ([0,0,6])cylinder(d=Bearing_Diameter+4,h=0.01); translate ([0,0,8])cylinder(d=Bearing_Diameter,h...
glb/cad_9cca4fbfd12d.glb
Create a blind shutter casing with an overall outer dimension of 590mm in length, 330mm in height, and 18.5mm in thickness. The main body is a solid rectangular slab, but it features a large rectangular cutout that removes a section of the interior, leaving a perimeter wall of 18.5mm thickness. Within this remaining f...
dikte =18.5; lengte = 590; hoogte = 330; diepte = 200; aantalSteunVerticaal = 5; aantalSteunHorizontaal = 3; diepteInfrezing = 8; hoogteSteun = 50; rolluikkasten(); module explode(){ translate([0,hoogte*2,0]){ difference(){ square ([lengte,hoogte],center = false); projection(cut=true) rolluikkastenExplode(); }...
glb/cad_d85b9ad27129.glb
Create a gear wheel for a Caterpillator robot. Start by constructing a cylindrical base with a height of 8mm and an external radius of 30mm. Around the perimeter of this cylinder, add 6 gear teeth. Each tooth should be a projected polygon defined by an internal radius of 25mm and an external radius of 30mm, spaced even...
module gear_wheel(re,ri,n,d) { am=360/n; ad=360/((d+1)*n*4); for (i=[0:n-1]) linear_extrude(height = h, center = true, convexity = 10, twist = 0) polygon( points=[ [0,0], [ri*cos(am*i-2*ad),ri*sin(am*i-2*ad)], [re*cos(am*i-ad),re*sin(am*i-ad)], [re*cos(am*i),re*sin(am*i)], [re*cos(am*i+ad),re...
glb/cad_333e1751a144.glb
Create a caterpillar track link with a total thickness of 6mm. The main body is a centered rectangular block 15.195mm long and 12mm wide. At each end of the length, integrate a semi-cylindrical protrusion with a radius of 3mm and a height of 11mm. Pierce the link with two transverse holes for the axes, each with a dia...
module eslabon(dtd,d,h,l,e,t) { lng=dtd+d+2*e; a=2*h+t; u=h+2*e; ut=h+2*e+t; difference(){ union(){ cube ([dtd,a,w], center=true); rotate (a=[90,0,0]) translate ([-0.5*dtd,0,0]) cylinder (r=w/2, h=a-t,$fn=100, center=true); rotate (a=[90,0,0]) translate ([0.5*dtd,0,0]) cylinder (r=w/2, h=a,$fn=100, ce...
glb/cad_489417f3970b.glb
Create a Worthless Dice model by starting with a solid cube that is 30mm on all sides. Remove material from this cube by drilling several cylindrical holes, each with a radius of 3mm and a length of 32mm to ensure they pass completely through the volume. On the top and bottom faces, place four holes in a square pattern...
difference() { translate ([0,0,0]) cube([30, 30, 30]); translate([7,8,-1]) cylinder(32,3,3); translate([15,8,-1]) cylinder(27,3,3); translate([23,8,-1]) cylinder(32,3,3); translate([7,22,-1]) cylinder(32,3,3); translate([15,22,-1]) cylinder(27,3,3); translate([23,22,-1]) cylinder(32,3,3); rotate ([90, 0, 0]) transla...
glb/cad_6de759ac43d9.glb
Create a zRod-2-Stepper Coupler. Start by creating a main cylinder with a total height of 24.5mm and a radius of 15.5mm. Subtract a central vertical hole with a radius of 4mm to accommodate the zRod. Around this central hole, create a larger concentric cylindrical cutout with a radius of 16.35mm and a height of 14.5m...
fastening_method = 0; boss_extension = 15.4; captive_nut_place = 3.5; shaft_diameter = 8.0; ball_diameter = 5.0; ball_count = 18; ball_spacing = 5.5; link_diameter = 2.5; screw_diameter = 3; screw_count = 3; nut_diameter = 7.1; nut_height = 2.8; clamp_inner_diameter = 13; clamp_width = 8; flat_spot_diamete...
glb/cad_ce735117c6ca.glb
Create an Arduino Micro Breadboard LCD Box consisting of a main enclosure and a matching lid. For the main enclosure, create a base block with a total length of 152.3mm (82.3mm plus a 10mm shifter and 60mm extension), a width of 65mm, and a height of 35mm. Hollow out the interior starting 2mm from the walls, leaving ...
use<write/write.scad> LCDwidth = 72.00; LCDheight = 27.00; card_length = 82.30; card_width = 55.00; box_height = 35; box_more = 60; shifter = 10; wall = 2; space = 0.5; dummy = 1; deckel = 5; boxx(); deckel(); module boxx() { difference() { union() { color([...
glb/cad_af042cce2457.glb
Create a lid for an Arduino Micro Breadboard LCD Box. Start by creating a solid rectangular base with a total length of 152.3mm, a width of 75mm, and a height of 10mm. From this base, remove a central rectangular section to create a hollow tray. This cutout should start 2mm from the edges (leaving a 2mm wall thicknes...
use<write/write.scad> LCDwidth = 72.00; LCDheight = 27.00; card_length = 82.30; card_width = 55.00; box_height = 35; box_more = 60; shifter = 10; wall = 2; space = 0.5; dummy = 1; deckel = 10; deckel(); module boxx() { difference() { union() { color([1,0,0,1...
glb/cad_aaa6d8b0ac0b.glb
Create a bunting decoration consisting of a flat triangular flag attached to a thin rod. First, construct the flag by extruding a triangle 4mm thick. The triangle should have a base width of 100mm and a height of 125mm, tapering from the base to a single point. Position this flag so it is centered on its base. Next, cr...
linear_extrude(height = 4, center = true, convexity = 10, twist = 0) polygon(points=[[-50,0],[50,0],[0,125]]); rotate([0, 90, 0]) translate([0, 0, 0]) difference() { cylinder(h = 100, r = 2, $fn=16, center = true); rotate([0, 0, 0]) cylinder(100, r = 1.5, $fn=16, center = true); }
glb/cad_f5b522bb3625.glb
Create a Trombone Mouthpiece Armor consisting of a protective sleeve and a removable cap. First, construct the main body as a hollow, rotationally symmetric shell. The lower section is a tapered cylinder designed to grip a mouthpiece shank; it has a bottom radius of approximately 6.7mm and tapers outward. The overall...
use <Write.scad> mouthpiece_outside_diameter = 39.6; mouthpiece_height = 83; shank = "large"; design = 0; your_name = ""; mouthpiece_name = ""; mmIn = 25.4; taper = 0.5 * 1/20; botR = ((shank == "large") ? 12.7 : 11)/2 + 0.42; taperLen = (shank == "large") ? 32 : 30; topR = botR + taper*taperLen; wallThickness =...
glb/cad_5e44ebd57af1.glb
Create a support bracket for a Y idler consisting of two joined sections. First, create a rectangular base measuring 32.2mm in length, 5.1mm in width, and 12.7mm in height. From this base, remove a horizontal cylindrical rod with a radius of 4.4mm centered at a height of 5.2mm, extending from a length of 14.6mm to the ...
translate([-15, 0, 0]) union() { difference() { cube([29.2 + 3, 5.1, 12.7]); translate([5, 5.2, 5]) rotate([90, 0, 0]) cylinder(h = 5.3, r = 1.5, $fn=100); translate([24.7, 5.2, 5]) rotate([90, 0, 0]) cylinder(h = 5.3, r = 1.5, $fn=100); translate([10.2 + 4.4, 5.2, 12.7]) rotate([90, 0, 0]) ...
glb/cad_25edc0abcc32.glb
Create a can organizer consisting of a series of connected cylindrical cutouts. The overall structure is a rectangular slab with a depth of 60mm and a total width based on four cans on the bottom row. Create the main body by subtracting cylindrical holes from a solid block. Each hole has a radius of 31.75mm. Arrange t...
NumberOfCansOnBottom = 4; DividerThickness = 5; DividerDepth = 60; BetweenCanShape = 1; CanRadius = 31.75; VERSION0 = BetweenCanShape == 0; VERSION1 = BetweenCanShape == 1; VERSION2 = BetweenCanShape == 2; SquareEdgesHeight = 10; facetCurveCount = 18; ENDS_VERSION = 1; retainThickness = VERSION0 ? SquareEdge...
glb/cad_e06d6e66c1bb.glb
Create a Clothes-dryer Vent Flange by starting with a hollow cylindrical ring that has an inner diameter of 98.5mm, an outer diameter of 102.5mm, and a height of 14mm. The ring should be modified into a C-shape by removing a small 5mm segment from the top center of the outer wall. Attached to the bottom of this ring, ...
inner_diameter = 98.5; thickness = 2; height = 14; screw_diameter = 8; screw_distance = 96.6372; screw_offset = 6; bottom_corner_radius = 5; top_snip = 5; $fa = 0.25*1; inner_radius = inner_diameter/2; outer_radius = inner_radius + thickness; outer_diameter = outer_radius*2; screw_radius = screw_diameter/2; scr...
glb/cad_c53dc7bb3df8.glb
Create a Customized Spool Hub Adapter with a height of 15mm. Start by creating a central cylindrical ring with an inner diameter of 33mm and a wall thickness of 3mm. Around the outer perimeter of this ring, add 5 equidistant arms. Each arm should be 2.4mm thick and extend outward to reach a total outer diameter of 54...
tube_diameter=32; spool_diameter=53; height=15; number_of_arms=5; function get_number_of_arms() = (part == "straight" && number_of_arms % 2 > 0 ? 1 : 0) + number_of_arms; inner_diameter_backlash=1.0; collar_thickness=2.0; chamfer_depth=2.0; wall=3.0; arm_thickness=2.4; arm_compression=1.0; arm_end_diameter=5.0; qu...
glb/cad_8321eb4ccc2a.glb
Create an extruder bearing by constructing a symmetrical spool-like shape with a total height of 3mm. Form the body using two stacked cylinders, each 1.5mm high. The bottom cylinder should have a constant diameter of 10mm, while the top cylinder should taper from a base diameter of 10mm up to a top diameter of 12mm. Ce...
hole=4; outerdiameter=12; halfheight=1.5; $fn=48; difference(){ union(){ cylinder(h=halfheight,d1=outerdiameter,d2=outerdiameter-2); translate([0,0,halfheight]) cylinder(h=halfheight,d2=outerdiameter,d1=outerdiameter-2);} cylinder(h=halfheight*2+.1,d=hole);}
glb/cad_0346dc4adf45.glb
Create an extruder bearing consisting of two mirrored conical sections joined at their widest point. First, construct a lower frustum with a base diameter of 10mm and a top diameter of 12mm, and a height of 1.5mm. Mirror this shape vertically to create a symmetrical spool with a total height of 3mm and a maximum center...
hole=4; outerdiameter=12; halfheight=1.5; difference(){ union(){ cylinder(h=halfheight,d1=outerdiameter,d2=outerdiameter-2,$fn=48); translate([0,0,halfheight]) cylinder(h=halfheight,d2=outerdiameter,d1=outerdiameter-2,$fn=48);} intersection(){ cylinder(h=halfheight*2+.1,d=hole+4,$fn=3); cylinder(h=halfheight*2+.1,d=h...
glb/cad_9d427cb57e90.glb
Create a support rack for an ultrasonic cleaner. Start by creating a base plate that is a hull of two cylinders, each with a radius of 40mm and a height of 2mm, positioned 80mm apart along the x-axis. Cut a grid of slots into this base. First, create 25 narrow slots running parallel to the x-axis, each 1.2mm wide and...
$fn=50; l=80; module kletka(){ difference(){ hull(){ cylinder(r=40,h=2); translate([l,0,0])cylinder(r=40,h=2); } for ( i = [0 : 24] ){ translate([i*8-6-30, 0, 1.5])cube([1.2,78,3],center=true); } for ( i = [0 : 20] ){ translate([60, i*4-38, 1.5])cube([210,1.2,3],center=true); } } } diffe...
glb/cad_49b7e0878271.glb
Create a potted palm tree model. Start by constructing a pot consisting of a truncated cone base with a bottom radius of 14mm and a top radius of 18mm, reaching a height of 20mm. On top of this base, add a hollow cylindrical rim with an outer radius of 20mm, an inner radius of 18mm, and a height of 7mm. From the center...
union(){ translate([0,0,20]) difference(){ cylinder(h = 7, r=20, $fn=200); cylinder(h = 7, r=18, $fn=100); } cylinder(h = 20, r1 = 14, r2 = 18, $fn=200); difference() { translate([0,0,25]) linear_extrude(height = 25, convexity = 10, scale=0.8, t...
glb/cad_4101a8e27063.glb
Create a potted palm model by combining a base pot and a stylized tree. For the pot, place a cube measuring 10mm by 10mm with a height of 3mm, positioned at coordinates (-5, -11.5, 7.1). Above this, construct the tree using a central sphere with a radius of 20mm. Modify this sphere by removing two larger spheres of 40m...
rd=20; rotate([0,90,0]) union(){ difference() { sphere(r=rd); translate([rd*2,0,0]) sphere(rd*2); translate([-rd*2,0,0]) sphere(rd*2); translate([0,-15,-33]) linear_extrude(height = 50, convexity = 10, scale=0.8, twist=100) circl...
glb/cad_2d048091d005.glb
Create a gutter holder by starting with a rectangular base plate measuring 8mm wide, 155mm long, and 2mm thick. At one end of this plate, integrate a hollow cylindrical ring with an outer diameter of 25mm and an inner diameter of 19mm, oriented perpendicular to the plate's length. The ring should be centered such that ...
breite = 8; dicke=2; durchmesserAussen = 25; durchmesserInnen =19; difference(){ union(){ cube([breite,155,dicke]); translate([0,0,-durchmesserAussen/2+dicke]) rotate([0,90,0]) difference(){ cylinder(breite,d=durchmesserAussen); translate([0,0,-.1]) cylinder(breite+.3, d=dur...
glb/cad_1b9e4e31980d.glb
Create a base for a traffic light by constructing a main cylinder with a radius of 20mm and a height of 5mm. From this main cylinder, remove a smaller concentric cylinder with a radius of 18mm and a height of 4mm to create a shallow rim. Additionally, remove a central vertical cylinder with a radius of 5mm and a height...
$fn=100; rotate([180,0,0]) difference(){ cylinder(h=5, r=20); cylinder(h=4, r=18); cylinder(h=100,r=5); translate([20,0,0]) sphere(r=4); }
glb/cad_48c0d324df29.glb
Create a traffic light housing by constructing a rectangular box with overall dimensions of 18mm width, 3mm depth, and 37.5mm height. The main body is formed by three vertical walls, each 18mm wide and 3mm thick, positioned parallel to each other with gaps between them. Specifically, create three rectangular slabs of 1...
$fn=100; rotate([90,0,0]) scale([1.5,1.5,1.5]) difference(){ union(){ cube(size = [12,2,25]); rotate([0,0,90]) translate([0,-2,0]) difference(){ cube(size = [12,2,25]); translate([10,0,5]) cube(2); translate([10,0,12]) cube(2); transla...
glb/cad_be52a8472682.glb
Create a traffic light body by constructing a hollow cylinder with a height of 100mm and an outer radius of 5mm. Remove the center by creating a concentric inner cylindrical hole with a radius of 4mm. To finish the shape, remove a spherical section with a radius of 4mm centered at the coordinate (5, 0, 0) to create a n...
$fn=100; rotate([180,0,0]) translate([0,0,-100]) difference(){ cylinder(h=100,r=5); cylinder(h=100,r=4); translate([5,0,0]) sphere(r=4); }
glb/cad_eed68fdc53c2.glb
Create a traffic light head by starting with a rectangular block measuring 18mm wide, 3mm deep, and 37.5mm tall. Remove several smaller rectangular sections from the front face to create a segmented frame: specifically, remove four rectangular blocks each 3mm wide and 3mm deep, positioned at the top, bottom, and interv...
$fn=100; rotate([90,0,0]) scale([1.5,1.5,1.5]) union(){ difference(){ cube(size = [12,2,25]); translate([10,0,0]) cube(size = [2,2,5]); translate([10,0,7]) cube(size = [2,2,5]); translate([10,0,14]) cube(size = [2,2,5]); translate([10,0,21]) cube(size = [2,2,4]); tra...
glb/cad_f6ca3fccf74d.glb
Create a towel hook by starting with a central cylinder 10mm high and 15mm in radius, centered on the origin. Remove a smaller cylinder with a 10mm radius and 20mm height from the center, and carve out a 30mm by 30mm by 11mm cube centered at x=14 to create a deep notch in the main body. Add a rounded protrusion to the ...
$fn=100; rotate([0,90,0]){ difference(){ rotate([90,300,0])k(); translate([12,0,-10])cube([12,12,12],center=true); } hull(){ translate([6,0,0])rotate([0,90,0])cylinder(r=20,h=3); translate([6,0,8])rotate([0,90,0])cylinder(r=16,h=3); } } module k(){ difference(){ cylinder(r=15,h=10,center=true); translate([-...
glb/cad_2ba4d276b4f7.glb
Create a parametric cable chain consisting of four distinct part types: male side links, female side links, bottom links, and top links. All parts have a uniform thickness of 3.6mm. For the side links (both male and female), create a rectangular base of 32mm by 15mm. Add a semi-circular protrusion with a radius of 7.5...
linklength = 32; linkwidth= 20; linkheight=15; toplength=20; sidethickness=3.6; bottomthickness=3.6; pivotradius = 4; cncspacing=4; tooldiameter=2; module chainlink_male() { difference() { union() { translate([0,-bottomthickness,0]) cube([linklength, linkheight+bottomthickness,sidet...
glb/cad_f2219b8c1f9b.glb
Create a Borg pentomino puzzle piece by starting with a solid rectangular block that is 40mm wide, 100mm long, and 20mm deep. Center this block on the origin. From this main volume, remove a smaller rectangular section to create a notch. This cutout should be a cube measuring 20mm in width, 20.25mm in length, and 20mm ...
piece_width = 40; piece_height = 100; piece_depth = 20; piece_spacing = 0; difference(){ difference() { cube(size = [piece_width, piece_height, piece_depth], center = true); } translate([-20,-10.25,-10]) cube([20,20.25,20]); translate([0,0,0]) cube([0,0,0]); translate([0,0,0]) cube([0,0,0]); ...
glb/cad_881ed124c1b5.glb
Create a Borg 3D pentomino puzzle piece by starting with a central rectangular block that is 40mm wide, 100mm high, and 40mm deep, centered on the origin. From this main volume, remove two rectangular sections to create a complex interlocking geometry. First, remove a block measuring 40mm wide, 60mm high, and 20mm deep...
piece_width = 40; piece_height = 100; piece_depth = 40; piece_spacing = 0; difference(){ difference() { cube(size = [piece_width, piece_height, piece_depth], center = true); } translate([-20,-30,-20]) cube([40,60,20]); translate([-20,-50,0]) cube([20,100,20]); translate([0,0,0]) cube([0,0,0])...
glb/cad_1c1b39f761bd.glb
Create a Borg pentomino puzzle piece by starting with a solid rectangular block measuring 60mm wide, 100mm high, and 20mm deep, centered on the origin. From this main volume, remove two smaller rectangular sections to create a U-shaped channel. The first cutout is a block 20mm wide, 60mm high, and 20mm deep, positioned...
piece_width = 60; piece_height = 100; piece_depth = 20; piece_spacing = 0; difference(){ difference() { cube(size = [piece_width, piece_height, piece_depth], center = true); } translate([-30,-10,-10]) cube([20,60,20]); translate([-10,-30,-10]) cube([20,60,20]); translate([0,0,0]) cube([0,0,0]...
glb/cad_74b11681dbd7.glb
Create a Borg 3D pentomino puzzle piece by starting with a central rectangular block that is 40mm wide, 100mm high, and 20mm deep, centered on the origin. From this main volume, remove two smaller cubic sections to create interlocking keys. Position the first cubic cutout, measuring 20mm by 20mm by 20mm, so its center ...
piece_width = 40; piece_height = 100; piece_depth = 20; piece_spacing = 0; difference(){ difference() { cube(size = [piece_width, piece_height, piece_depth], center = true); } translate([-20,30,-10]) cube([20,20,20]); translate([-20,-50,-10]) cube([20,20,20]); translate([0,0,0]) cube([0,0,0])...
glb/cad_d941c17f6c8a.glb
Create a Borg pentomino puzzle piece by starting with a central rectangular block that is 40mm wide, 100mm high, and 20mm deep, centered on the origin. From this main body, remove two smaller cubic sections to create notches: one 20mm cube positioned at the top-left corner (centered at x=-20, y=30, z=-10) and another 2...
piece_width = 40; piece_height = 100; piece_depth = 20; piece_spacing = 0; difference(){ difference() { cube(size = [piece_width, piece_height, piece_depth], center = true); } translate([-20,30,-10]) cube([20,20,20]); translate([-20,-50,-10]) cube([20,20,20]); } translate([-40,-10,-10]) cub...
glb/cad_00af701d1bb9.glb