Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Signet Ring Thing of Power. Start by creating a cylindrical ring stock with a radius of 20mm and a height of 35mm. To form the finger hole, remove a cylinder with a radius of 12.5mm and a height of 60mm, centered along the ring's axis. Smooth the interior edges of the finger hole by removing two spheres with r...
use <MCAD/bitmap/bitmap.scad>; SYMBOL = "G"; SYMBOL_OFFSET = 0; SYMBOL_TWIST = 0; MIRRORED = 0; RING_SIZE = 11.5; RING_DIAMETER = 0; TILT = 66.2; $fn = 90; Ring( RING_DIAMETER == 0 ? RingSizeToFingerDiameter(RING_SIZE) : RING_DIAMETER, TILT, SYMBOL, SYMBOL_OFFSET, SYMBOL_TWIST, MIRRORED); module Rin...
glb/cad_d4edd2c01452.glb
Create a customizable spectrophotometer cuvette rack by constructing a grid of square holders. For a single holder unit, start with a square base measuring 17.5mm by 17.5mm with a thickness of 3mm. Remove a 10mm square center from this base to create a hollow square ring. Extend the structure upwards by adding four ve...
long = 1; wide = 1; support_height = 24*1; support_length = 5*1; support_thick = 2*1; base_inner_hole = 10*1; base_int_hole = 13.5*1; base_ext = base_int_hole+2*support_thick; base_thick = 3*1; for (i = [0:long-1]) { for (j = [0:wide-1]) { translate([i*(base_ext-support_thick),j*(base_ext-support_thick),0]) { diffe...
glb/cad_4747d7044ea1.glb
Create a mount by starting with a central rectangular plate measuring 73mm in length, 12mm in width, and 3mm in thickness. Attach a cylinder with a diameter of 12mm and a height of 3mm to each of the two short ends of the plate so that the cylinders are centered and the overall length of the object becomes 85mm. Throug...
width = 12; lenght = 85; thick = 3.0; hole_len = 20; hole_diam = 2.8; difference() { union() { cube([lenght - width, width, thick], center=true); translate([(lenght - width)/2, 0, 0]) cylinder(d=width, h=thick, $fn=100, center=true); translate([-(lenght - width)/2, 0, 0]) ...
glb/cad_de1c48945029.glb
Create a PrintrBot Plus v2.1 P26 bracket by starting with a rectangular block 16.26mm wide, 71.4mm high, and 6mm thick. Carve out two rectangular notches from the sides: one at the bottom and one at the top, each measuring 5.96mm wide and 8mm high, extending through the thickness of the part. Additionally, remove a cen...
h=71.4; w=16.26; t=6; r=7.8/2; module hole() { union() { cylinder(r=r,h=t+2,$fn=100); translate([0,-r,0]) cube([2*r+1,2*r,t+2]); } } module p26() { difference() { cube([w,h,t]); translate([-1,-1,-1]) cube([w-10.3+1,7+1,t+2]); translate([-1,h-7,-1]) cube([w-10.3+1,7+1,t+2]); translate([-1,23,...
glb/cad_76364e1094b5.glb
Create a garage port hinge consisting of a main rectangular block and a protruding cylindrical pin. Start with a solid block that is 36mm long, 30mm wide, and 30mm high. From this block, remove a section from the front face to create a recessed rectangular inset that is 20mm long, 14mm wide, and 27mm deep, centered on ...
garage_port_hinge (); module garage_port_hinge () { height = 30 ; length = 36 ; width= 30 ; half_width = width / 2; borders = 4; top_cube_length = length - 4 * borders; top_cube_width = width - 4 * borders; top_cube_height = height-3 ; top_z = height/2 + 8 ; tip_cut_pos = length/2 - 0.1; difference...
glb/cad_3365752d7a32.glb
Create a garage port hinge consisting of a central rectangular block with a cylindrical protrusion. Start with a main body that is 30mm long, 25mm wide, and 30mm high. Center this block on the origin. Remove a large cylindrical hole from the center of the block; this hole should have a radius of 7.2mm and a height of...
garage_port_hinge (); module garage_port_hinge () { height = 30 ; length = 30 ; width= 25 ; half_width = width / 2; borders = 4; top_cube_length = length - 4 * borders; top_cube_width = width - 4 * borders; top_cube_height = height-3 ; top_z = height/2 + 8 ; tip_cut_pos = length/2 - 0.1; ...
glb/cad_b4e2b380beb7.glb
Create two identical washers for a closet shelf fix. Each washer is a short, thick cylinder with a height of 3mm and an outer radius of 7.1mm. Center a circular hole with a radius of 2.4mm through the middle of each cylinder. Position the two finished pieces so they are aligned along the Y-axis, with one centered at co...
heigth=3; difference() { translate([0, 10, 0]) cylinder(r=7.1, h=heigth, center=true); translate([0, 10, 0]) cylinder(r=2.4, h=heigth*2, center=true); } difference() { translate([0, -10, 0]) cylinder(r=7.1, h=heigth, center=true); translate([0, -10, 0]) cylinder(r=2.4, h=heigth*2, center=true); }
glb/cad_96cdfbe92139.glb
Create a closet shelf support by starting with a cylinder that has a height of 12mm, a bottom radius of 10mm, and a top radius of 6mm, centered on the X and Y axes. From this primary shape, remove a central rectangular block measuring 25mm by 10mm by 25mm, centered at a height of 7.2mm, to create a wide slot. Additiona...
width=10; offset=width/2; rotate(a=[-90,0,0]) { difference(){ translate([0,0,offset])cylinder(h=width+2,r1=width, r2=6,center=true, $fn=120); translate([0,7.2,0])cube([25,10,25],true); } translate([0, -2, -3.5]) cylinder(r=3.5, h=7, center=true, $fn=120); }
glb/cad_1e2a43102971.glb
Create a toilet paper holder replacement part consisting of a central vertical shaft with varying diameters. Start by creating a main cylinder 138mm tall with a radius of 2mm. Centered on this shaft, add a wider cylinder with a radius of 12mm and a height of 122mm, positioned so its base starts 8mm from the bottom of t...
$fn = 100; union () { cylinder(138,2,2); translate([0,0,8]) cylinder(122,12,12); translate([0,0,0]) cylinder(3,5,5); translate([0,0,135]) cylinder(3,5,5); }
glb/cad_b2182d8f38b3.glb
Create a Kossel mini enclosure mount by starting with a central cube measuring 15mm x 15mm x 8mm. Drill a 3mm diameter hole vertically through the center of the cube, passing through the 8mm thickness. On the bottom face of this cube, center a cylinder with a 6mm diameter and a height of 3mm, which should be subtracted...
$fn=40; debelina=8; debelina_pleksi=2; translate([0,0,15/2]){ translate([0,0,debelina/2]){ difference(){ cube([15,15,debelina],center=true); cylinder(d=3,h=20,center=true); translate([0,0,debelina/2-1]){ cylinder(d=6,h=3,center=true); } }} transl...
glb/cad_8c6f4ed5ffbb.glb
Create a Plugged Tube consisting of a main outer tube and a removable plug. The outer tube is a hollow cylinder with an internal diameter of 28mm, a wall thickness of 3mm, and a total length of 80mm. Cut a vertical slot through the tube walls with a width of 5mm and a depth of 28mm to allow the plug to slide in. Const...
ahd=8; cid=28; pld=cid-1; plw=25; shd=[3.2,3.5,4,4.5]; chd=4; tl=80; txh=5; tgw=5; tgd=cid; lip=false; $fn=40; wt=3; xw=0.4; module plug(){ difference(){ union(){ minkowski(){ cylinder(d=pld-xw-chd,h=plw-chd, center=true, $fn=120); sphere(d=chd); ...
glb/cad_698b3b072d55.glb
Create a Plugged Tube by constructing a hollow vertical cylinder with an outer diameter of 40mm and a wall thickness of 8mm. Cut a longitudinal slot through the cylinder wall to allow for assembly. Inside this tube, place a cylindrical plug with a diameter of 20mm and a height of 8mm. The plug should be centered within...
tod = 40; wh = 8; wd = 20; wxd = 5; hd = 6; xw = 0.4; gw = 4; gbh = 4; cd = 2; $fn=240; difference(){ union(){ intersection(){ cylinder(d=wd+wxd, h=wh*2); translate([-wd/2,-wd,-xw]) cube([wd,wd*2,wh*2]); } } translate([0,0,tod/2+wh]) rotate([90,0,0]) cylinde...
glb/cad_b289abbcc186.glb
Create a Plugged Tube consisting of a main tube, a plug, and a lever handle. First, construct the tube as a hollow cylinder with an outer diameter of 40mm and a wall thickness of 3mm. Create a plug to fit inside this tube. The plug is a cylinder with a diameter of 25mm and a height of 25mm. The top face of the plug...
bw=20; bh=10; bd=5; cw=3; cg=15; hl=50; hg=0.5; psr=10; per=20; phd=5; xw=0.4; pld=28; plw=25; cd=3; tod=40; wbh=3; ahd=6; module involute(sr, er, sa, ea, $fn = 20){ rt = (er - sr); at = (ea - sa); myPoints = [ for (t = [0:(1/$fn):(1+0.5/$fn)]) [(sr+rt*t) * cos(sa+at*t),(sr+rt*t) * sin(sa+at*t)]]...
glb/cad_72fc317db17b.glb
Create a Plugged Tube by constructing a central nut-shaped housing and a surrounding plug. Start by creating a hexagonal prism with a diameter of 7.6mm and a height of 3.2mm, centered at the origin. To form the nut cavity, remove a larger concentric hexagonal hole with a diameter of 8.4mm and a height of 4.8mm from the...
ahd=6; pld=28; plw=25; shd=5; nd=8 / cos(30); nh=4; cd=4; twoholes=false; $fn=40; xw=0.4; difference(){ hull(){ cylinder(d=nd-xw, h=nh-xw*2, $fn=6, center=true); translate([plw/2-xw*2,0,0]) rotate(45) cylinder(d=nd/cos(30)+xw, h=nh-xw, $fn=4, center=true); } translate([0,0,-xw...
glb/cad_6a8fdbbf4de4.glb
Create a Plugged Tube by starting with a main cylindrical plug that is 25mm tall and 26.5mm in diameter. The top and bottom edges of this cylinder should be rounded with a 4mm chamfer. Bore a central vertical hole through the entire height of the plug with a diameter of 6mm. Create a horizontal hole 5mm in diameter tha...
ahd=6; pld=26.5; plw=25; shd=5; nd=8 / cos(30); nh=4; cd=4; twoholes=false; $fn=40; xw=0.4; difference(){ minkowski(){ cylinder(d=(pld-xw-cd),h=plw-cd, center=true); sphere(d=cd, $fn=24); } cylinder(r=(ahd+xw)/2,h=plw+xw, center=true); rotate([0,90,0]) cylinder(d=shd+xw*2, h=pld); t...
glb/cad_7b91401de1e3.glb
Create a Plugged Tube by first constructing a main handle body. This body is a rounded rectangular prism with a total length of 100mm, a width of 20mm, and a height of 15mm, featuring rounded edges with a 6mm radius. Centrally carve a vertical cylindrical hole through the body with a diameter of 10.8mm. Additionally,...
bft=3.5; bfl=22; bhd=10; xw=0.4; cd=6; hl=100; hw=20; hh=15; hth=2; difference(){ minkowski(){ linear_extrude(height=hh-cd, center=true) hull(){ translate([-hl/2,0]) circle(d=hw-cd); translate([hl/2,0]) circle(d=hw-cd); } sphere(d=cd); } translate([0,0,hth-x...
glb/cad_d081eadf85c9.glb
Create a Mini Storage Rack with a total height of 64mm. The rack is a vertical grid of open-faced rectangular slots. Starting from the bottom, create one row of four half-height slots. Each slot is a hollow shell with outer dimensions of 31mm width and 14.25mm height, and inner dimensions of 29mm width and 12.25mm he...
half_row = 1; normal_row = 1; double_row = 1; quad_row = 1; height = 64; topclip = 1; btmclip = 1; grid(); module grid (){ if (half_row > 0) { for (row = [1:half_row]) { for (col = [1 : 4]) { translate(v = [col*30, 0, row*13.38]) { half_box(); } } } } if (normal_row > 0) { for (ro...
glb/cad_b1807391bf2a.glb
Create a centrifuge foot consisting of a rectangular base and a vertical mounting post. Start by creating a rectangular base 30mm in length and width with a height of 8mm and rounded corners with a 2mm radius. Centered on top of this base, build a vertical rectangular post with a footprint of 24mm by 24mm and a total h...
use <path_extrude.scad>; xw=0.4; il=24; fl=30; ih=38; cr=2; fh=8; ww=1; mXlength=ih+fh+xw; mXD=10; mXP=1.5; mXDmin=mXD - 5*sqrt(3)/8*mXP; mXDp=mXD - 3*sqrt(3)/8*mXP; mXH=sqrt(3)/2 * mXP; mXR=mXH/(mXP/2); mXppr=24; mXloops=mXlength/mXP; mXtid=mXD-mXP; type="nut"; mXmyPoints = [[mXH*3/8,-mXP/16], [mXH*3/8,mXP/16], ...
glb/cad_d36a4567dfd0.glb
Create a Centrifuge Foot consisting of a vertical cylindrical post set into a wide, shallow circular base. The main post is a cylinder with a total height of 46mm and a diameter of 10mm. The base is a flat disc with a diameter of 30mm and a height of 8mm, featuring rounded edges with a 2mm radius. Centrally bore a ver...
use <path_extrude.scad>; xw=0.4; il=24; fl=30; ih=38; cr=2; fh=8; ww=1; mXlength=ih+fh+xw; mXD=10; mXP=1.5; mXDmin=mXD - 5*sqrt(3)/8*mXP; mXDp=mXD - 3*sqrt(3)/8*mXP; mXH=sqrt(3)/2 * mXP; mXR=mXH/(mXP/2); mXppr=24; mXloops=mXlength/mXP; mXtid=mXD-mXP; type="nut"; mXmyPoints = [[mXH*3/8-xw,-mXP/16], [mXH*3/8-xw,mXP/16...
glb/cad_c9d82d0b5759.glb
Create a mini storage drawer with a depth of 64mm, a width of 27mm, and a height of 24mm. The main body is a hollow rectangular box with walls 1mm thick. The interior cavity should measure 63mm in depth, 25mm in width, and 23mm in height. At the front face of the drawer, create a label holder by adding a rectangular s...
box_type = 1; depth = 64; divider = 1; panel = 0; if (panel == 0) { difference() { cylinder(h=5, r=5); translate(v=[-5,0,0]) { cube(size=[10,10,10], center=true); } } } if (box_type == 0) { if (panel == 0) { translate(v=[-depth/2+0.5,0,11.5/2]) { difference() { cube(size=[depth-1,27,11.5], cen...
glb/cad_d6354b9ba7f0.glb
Create a RepRapPro Huxley Pen Holder by constructing a central cylindrical body with a total height of 15mm and an outer diameter of 15.5mm. Bore a hole through the center of this cylinder with a diameter of 9.5mm for the pen, and further widen the bottom of this central bore to a diameter of 8mm. At the base of the ...
$fn=120; pen_diameter = 9.5; outer_diameter = pen_diameter + 6; mounting_plate = outer_diameter + 10.5 + 4; pen_end_diameter = 8; total_height = 15; bottom(); module bottom() { difference() { union() { cylinder(r=outer_diameter/2, h=total_height); cylinder(r=mounting_plate/2, h=6); } translate([0, 0, -...
glb/cad_61b13017fb87.glb
Create a RepRapPro Huxley Pen Holder. Start with a base plate formed by the hull of a circle with a radius of 12.75mm and a rectangle measuring 8mm by 20mm, extruded to a height of 6mm. Centered on this base, place a cylinder with an outer diameter of 15.5mm and a height of 30mm. Create a central vertical hole through ...
pen_diameter = 9.5; outer_diameter = pen_diameter + 6; mounting_plate = outer_diameter + 10.5 + 4; $fn=120; top(); module top() { difference() { union() { linear_extrude(height = 6, center = true, convexity = 10) hull() { translate([13, 0, 0]) square([8, 20], center=true); circle(r = mounting_plate/2...
glb/cad_38a965334f2e.glb
Create a Magnetic Bit Holder consisting of a rectangular base with rounded ends. The main body is a rectangular slab measuring 54mm in width, 20mm in depth, and 3mm in height. Within this slab, create a grid of 10 cylindrical holes to hold magnets. The grid consists of two rows of five holes each. Each hole has a dia...
magnet_diameter = 8; magnet_thickness = 2; bottom_thickness = 1; number_of_magnets_x = 5; number_of_magnets_y = 2; space_between_magnets_x = 2; space_between_magnets_y = 6; space_around_magnets = 2; DO_connection_part = true; DO_connection_part_is_top_layer_fanzy_stuff = false; connection_hole_diameter = 2; ...
glb/cad_2fe9f1163e1c.glb
Create a Replicape BeagleBone T-Slot Mount. Start with a base plate that is 1.3mm thick. At each of the four corners of the plate, create a mounting hole assembly. Each assembly consists of a larger outer cylinder with a radius of 3.75mm and a smaller concentric inner hole with a radius of 1.75mm, both extending to a h...
holes_size = 1.75; holes_size_outter = 3.75; holes_support = 11; translate([61,0,0]) { translate([0,-17,0]) { translate([17,0,0])rotate([0,0,180])t_slot(); cube([10,62,1.3]); } translate([6.8,-18,0])rotate([0,0,3.5])cube([3,63,holes_support*.65]); } translate([-3,0,0]) { translate([0,-17,0]) { translate([-3...
glb/cad_355628c22d83.glb
Create a Bullet Tray by starting with a solid rectangular block measuring 116.5mm in length, 50mm in width, and 27mm in height. From this block, remove a grid of 27 identical bullet-shaped voids. Each void is composed of a cylinder with a radius of 4.98mm and a height of 16.6mm, topped with a conical section that trans...
$fn=20; module simpleBulletNose() { caliber = 8.5852 / 2; noseRadius = 1.9 / 2; noseLength = 20.47; bodyLength = 16.6; union() { cylinder(bodyLength, r=caliber); translate([0,0, bodyLength - 0.1]) cylinder(noseLength, r1=caliber, r2=noseRadius); } } module bulletMold() { oversize = 1.16 ; scale([oversiz...
glb/cad_d2c029c51b75.glb
Create a simple ring with a circular cross-section. The ring should have an internal hole diameter of 20mm and a wall thickness of 5mm. The overall shape is a torus where the outer profile is circular and the inner bore is a perfect cylinder with a 20mm diameter. Ensure the geometry is smooth, using a high facet count ...
$fn=40; echo("360/20 = ",180/$fn); rotate([84,0,180])color("Gold") ring(20,5); module ring(D=20,t=5){ difference(){ translate([0,0,-t/4])union(){half(D,t);mirror([1,0,0])half(D,t);} translate([0,0,-t/3])rotate([90,0,0])cylinder(d=D,h=60,center=true,$fn=60); for(i=[-1,1])translate([0,i*t*1.01,0])rotate([90-i*6,0,0...
glb/cad_e98f80b395b8.glb
Create a prototype whiteboard by starting with a central rectangular slab measuring 100mm by 80mm with a thickness of 5mm, centered on the origin. Engrave the text "goodboard" into the top surface of the slab, centered at a position 40mm along the length, with a depth of 2.5mm. Directly below this, engrave the phrase "...
use <Write.scad> width = 5; small = width/2; difference() { cube([100,80,width], center=true); translate([40,0,small]) rotate([0,0,90]) write("goodboard",center=true,space=2.5); translate([45,0,small]) rotate([0,0,90]) write("made in cascadia",h=1,center=true,space=2.5); translate([45,0,-small-0.1]) cyl...
glb/cad_fce520522da1.glb
Create a ring with a diamond by first constructing a circular band with an inner diameter of 20mm and a thickness of 5mm. The band should be a smooth, continuous loop. Positioned atop the band, centered at the top, place a diamond-shaped gemstone with a total width of 9mm. The gemstone should follow ideal diamond pro...
ring=0; hole=0; diam=1; $fn=30; if(ring!=0) color("Gold")difference(){ ring(20,5); translate([0,0,12.4])diamond(9); } if(diam!=0) { color("LightCyan",.7)translate([0,0,12.4])diamond(9); } module ring(D=20,t=5){ color("gold")difference(){ union() translate([0,0,-t/4])for(i=[0:t:360]){hull(){ rota...
glb/cad_a2956af2f919.glb
Create a Print Bed Flatness Tester consisting of several thin plates, each with a uniform thickness of 0.2mm. The overall footprint is a square measuring 150mm by 150mm, centered on the origin. First, create a square border by placing four rectangular strips of 0.2mm thickness: two strips 150mm long and 2mm wide runni...
use <utils/build_plate.scad> bed_size=150; layer_size=0.2; orientation_box="yes"; half=bed_size/2; build_plate_selector = -1; build_plate_manual_x = 200; build_plate_manual_y = 200; bps=build_plate_selector<100?build_plate_selector:3; bpmx=build_plate_selector==3?build_plate_manual_x: build_plate_selector=...
glb/cad_276fc6327f6b.glb
Create a ring with three diamond-shaped gemstones. Start by constructing a circular band with an inner diameter of 20mm and a thickness of 5mm. Place one large diamond gemstone at the top center of the ring. This central diamond should be scaled to a size of 9mm. Position two smaller diamond gemstones, each 6mm in si...
ring=0; hole=0; diam=1; $fn=30; if(ring!=0) color("Gold")difference(){ ring(20,5); translate([0,0,12.4])diamond(9); for(i=[-37,37])rotate([0,i,0])translate([0,0,12.0])diamond(6); } if(diam!=0) { color("LightCyan",.7)translate([0,0,12.4])diamond(9); for(i=[-37,37])color("LightCyan",.7)rotate([0,i,0...
glb/cad_1f24c7dd83e5.glb
Create a 3D model of an ideal brilliant cut diamond. The shape consists of a crown and a pavilion meeting at a central girdle. The crown is the upper portion, featuring a flat octagonal table on top with a diameter of 56.1mm. From this table, create eight kite-shaped facets and eight star facets that slope downwards ...
Color_Red=240; Color_Green=10; Color_Blue=10; Color_Alpha=.9; Crown_Height=19.2; Pavilion_Depth=41.5; Table_Diameter=56.1; Crown_Angle=41.1; Pavilion_Angle=39.7; color([Color_Red/255,Color_Green/255,Color_Blue/255,Color_Alpha])difference(){ translate([0,0,-.00001])cylinder(d=10,h=7,$fn=16*3); translate([-6,-6,Crown_H...
glb/cad_7ca34ae9adb6.glb
Create a parametric honeycomb box consisting of a bottom container and a matching lid. For the bottom part, create a solid rectangular block with outer walls 2mm thick and a total height of 17mm. From the top face of this block, remove a honeycomb pattern of hexagonal cells, each with a flat-to-flat width of 20mm and i...
rows = 5; columns = 5; cell_step = 20; height = 15; inner_walls = 1.5; outer_walls = 2; lid_clearance = 0.6; lid_depth = 5; module honeycomb_row(cells, cell_step, inner_walls, height) { translate([0, 0, -height/2]) linear_extrude(height=height) { for (j = [0 : cel...
glb/cad_e61dcf63f9aa.glb
Create a .338 Lapua Magnum cartridge by combining a casing and a bullet. For the casing, start with a base cylinder 52mm high with a radius of 7.455mm. Above this, add a 6mm high conical transition section that tapers from the base radius down to a radius of 6.91mm. Top this with a 7.5mm high cylinder with a radius of ...
$fn=50; module case() { neckRadius = 9.46 / 2; shoulderRadius = 13.82 / 2; baseRadius = 14.91 / 2; extractorGrooveRadius = 13 / 2; rimRadius = 14.93 / 2; neckHeight = 7.5; shoulderHeight = 6; bodyHeight = 52; extractorGrooveTaperHeight = 0.8; extractorGrooveHeight = 1.1; rimHeight = 1.4; translate([0, 0,...
glb/cad_ecf66998fe65.glb
Create a .338 Lapua Magnum cartridge by combining a casing and a bullet. For the casing, start with a base cylinder 14.91mm in diameter and 52mm high. Add a tapered shoulder section 6mm high that transitions from the base diameter down to a neck diameter of 9.46mm. Above this shoulder, add a neck cylinder 7.5mm high wi...
$fn=50; module case() { neckRadius = 9.46 / 2; shoulderRadius = 13.82 / 2; baseRadius = 14.91 / 2; extractorGrooveRadius = 13 / 2; rimRadius = 14.93 / 2; neckHeight = 7.5; shoulderHeight = 6; bodyHeight = 52; extractorGrooveTaperHeight = 0.8; extractorGrooveHeight = 1.1; rimHeight = 1.4; translate([0, 0,...
glb/cad_e66f8b866e15.glb
Create a .338 Lapua Magnum cartridge case by constructing a series of stacked cylinders. Start with a base rim that is 14.93mm in radius and 1.4mm high. Above this, add a cylinder 1.1mm high with a radius of 6.5mm, followed by a 0.8mm high tapered transition that expands to a radius of 7.455mm. The main body is a cylin...
$fn=50; module case() { neckRadius = 9.46 / 2; shoulderRadius = 13.82 / 2; baseRadius = 14.91 / 2; extractorGrooveRadius = 13 / 2; rimRadius = 14.93 / 2; neckHeight = 7.5; shoulderHeight = 6; bodyHeight = 52; extractorGrooveTaperHeight = 0.8; extractorGrooveHeight = 1.1; rimHeight = 1.4; translate([0, 0,...
glb/cad_682236ccb183.glb
Create a screw and a matching nut. For the screw, create a 7-sided helical shaft with a total height of 115mm. The shaft's profile is defined by a polygon with vertices at coordinates (23, 0), (11.5, 0), (8.5*cos(90/7), 8.5*sin(90/7)), (8.5*cos(180/7), 8.5*sin(180/7)), (11.5*cos(360/7), 11.5*sin(360/7)), and (23*cos(36...
module screw(type = 2, r1 = 8.5, r2 = 11.5, n = 7, h = 115, t = 7) { linear_extrude(height = h, twist = 360*t/n, convexity = t) difference() { circle(r2); for (i = [0:n-1]) { if (type == 1) rotate(i*360/n) polygon([ [ 2*r2, 0 ], [ r2, 0 ], [ r1*cos(180/n), r1*sin(180/n) ], [ r2*cos(36...
glb/cad_85e4cea02510.glb
Create a recessed roller keep with overall dimensions of 75mm in length, 18mm in width, and 9mm in height. The main body is a rectangular block with two semi-circular ends of 12mm radius. Carve a central longitudinal channel through the body to create a recessed area. This channel is 53mm long and 12mm wide, with a f...
wk_length = 75; wk_width = 18; wk_height = 9; wk_radius = 12; wk_floor_height = 1.5; sh_height = wk_height + 1; sh_body_radius = 2; sh_head_radius = 4; sh_head_height = 1; sh_cone_height = 2; screw_offset_x = 31.5; screw_offset_y = 9; lp_length = 53; lp_width = 12; lp_height = wk_height; lp_aperture = 18; ...
glb/cad_e53f32f603ca.glb
Create an oven knob consisting of a circular base plate and an attached handle. The base plate is a cylinder with a diameter of 50mm, a center height of 9.7mm, and an edge height of 5.7mm, featuring a 3mm fillet on the edges. Attached to the plate is a handle with a width of 12mm, a length of 32mm, and a height of 22...
use <write.scad>; pin_outer = 13; pin_inner = 6.1; pin_innerf = 2; pin_holedepth = 19; pin_spring_cutoffset = 4; pin_spring_slotheight = 1.75; pin_spring_slotwidth = 8; plate_width = 50; plate_edge_height = 5.7; plate_center_height = 9.7; plate_edge_fillet = 1; handle_width = 12; handle_length = 32; handle_height ...
glb/cad_2d53c1ee3370.glb
Create a Stabilo88 pen holder for a ROLAND DPX-2000 plotter. Start by constructing a base cylinder with a radius of 8.25mm and a height of 1.5mm. Centered on this base, add a taller cylinder with a radius of 5.75mm and a height of 24mm. From the center of this combined structure, remove a hexagonal prism with a flat-to...
use <MCAD/regular_shapes.scad> $fs = 0.01; module example() { difference(){ difference(){ union(){ cylinder(h=1.5, r=16.5/2); cylinder(h=30-6, r=11.5/2); } hexagon_prism(30-8, 10/2); } cylinder(h=30-6, r=3/2); } } example();
glb/cad_d1b995732690.glb
Create a parametric pipe saddle clamp. Start with a rectangular base measuring 45mm in length, 11.7mm in depth, and 5mm in thickness. Form the main body by creating a rounded bridge structure. This bridge is defined by the hull of two cylinders with a radius of 5.85mm (half the mount depth), positioned at opposite en...
pipe_d = 24; pipe_lift = -9; screw_d = 4.8; screwh_d = 7.8; screw_trans = 0; support_d = 0; base_thickness = 5; bridge_thickness = 2.4; mount_length=45; mount_depth=11.7; screw_distance=33.5; base_thick = max(base_thickness,screw_trans); pipe_r = pipe_d/2; mount_length_trust = mount_length - mount_depth +...
glb/cad_c57a34996ad1.glb
Create a pair of helical extruder gears. Construct two identical gear halves that mirror each other across a central plane to form a double helical gear. Each gear half should have 13 teeth with a circular pitch of 700mm and a pressure angle of 30 degrees. For each half, create a central hub with a diameter of 15mm a...
bevel_gear_pair (); pi=3.1415926535897932384626433832795; module bevel_gear_pair ( gear1_teeth = 41, gear2_teeth = 7, axis_angle = 90, outside_circular_pitch=1000) { outside_pitch_radius1 = gear1_teeth * outside_circular_pitch / 360; outside_pitch_radius2 = gear2_teeth * outside_circular_pitch / 360; pitch_ape...
glb/cad_26fa604c3c50.glb
Create a keyboard-style penholder consisting of a hollow cylindrical vase and a matching cap. For the vase, create a cylinder with an outer radius of 30mm and a height of 72mm. Hollow it out by removing a concentric cylinder from the center with a radius of 29mm, leaving a 2mm thick wall and a 2mm thick base. For t...
part="vase"; lines = 4; line1 = "1st Line"; line2 = "2nd Line"; line3 = "3rd Line"; line4 = "4th Line"; captext = "Cap text"; squared = "no"; $fn=30; line_height=18; t1 =str(line1); t2 =str(line2); t3 =str(line3); t4 =str(line4); capt = str(captext); scale([1.05,1.05,1.05]){ if(part=="both"){ tr...
glb/cad_1eaa2417d4f4.glb
Create a triangle bracelet chain consisting of 24 identical interlocking links arranged in a circular loop. Each individual link is constructed from a combination of cylindrical and rectangular segments with a wall thickness of 3mm. To form a single link, create two parallel horizontal bars, each 20mm long and 3mm th...
whatToPrint=0; len=20; separation=8; wall=3; $fn=20; small=0.01; steps=60; module loaf(length,width) { translate([length,width/2,0]) rotate([0,-90,0]) union() { translate([width/2,0,0]) cylinder(d=width,h=length); translate([0,-width/2,0]) cube([width/2,width,length]...
glb/cad_ee00c9a77e92.glb
Create a MakerDev Extruder Fan Mount for a MendelMax X-carriage. The main body is a conical funnel with a height of 50mm, tapering from a top radius of 20.625mm down to a bottom radius of 15.8mm. At the top, create a flat circular plate with a radius of 20.625mm and a thickness of 2mm. Within this plate, place four s...
$fs=0.5; $fa=5; module fan_mount(panel_thickness, mounting_hole_distance) { fan_dia = 41.25; screw_dia = 3; nut_dia = 5.5; nut_thickness = 2.5; module nuttrap(nutsize, length) { cylinder(r = nutsize / cos(180 / 6) / 2 + 0.05, length, $fn=6); } union() { difference() { union() { hull() { for (...
glb/cad_ffe2c1d9b48b.glb
Create a candlestick holder consisting of a central cylindrical tube with three radiating legs. The main tube should have an outer diameter of 27.4mm and a total height of 15mm. Create a hollow center by removing a cylinder with a diameter of 25mm from the middle, leaving a bottom wall thickness of 1.2mm. Attached to...
candleDiameter = 25; height = 15; thickness = 1.2; legs = 3; legLength = 35; legThickness = 20; legHeight = 10; holderHeight = 5; $fn=30; r = candleDiameter/2 + thickness; s = legThickness/2; x = r - sqrt( pow(r,2) - pow(s,2) ); difference() { union() { cylinder(h=height, r=candleDiameter/2+thickness); ...
glb/cad_e26d2569a56e.glb
Create a Spaceship Fan Duct LED Mount. Start by creating a central rectangular base plate measuring 24mm by 8mm with a thickness of 2mm. Position a smaller rectangular block measuring 14mm by 2mm by 3mm centered on the base, offset from the left edge by 4mm. Attached to the top of this assembly, create a mounting pla...
wrap_angle=30; width=10; wall=2; segment_length=50; center_length=22; nozzle_offset=4; vplatform=[24,8]; inclination_angle=35; hmove=3; module reflect(v) { children(); mirror(v) children(); } module plate() { add1=wall*tan(wrap_angle/2); sc1=center_length/(center_length+2*add1); translate(...
glb/cad_1eed704287b8.glb
Create a handle for a cylindrical magnet consisting of three separate parts. First, create a lower base cylinder with a diameter of 30mm and a height of 20mm, featuring a concentric hole 20mm in diameter and 19mm deep, leaving a 1mm thick floor. Second, create an upper cap by starting with a cylinder 30mm in diameter a...
magnet_diametre=20; magnet_width=10; $fn=100; module upper(diam,width){ union(){ difference(){ cylinder(d=30,h=30); translate([0,0,16]) rotate_extrude(convexity = 10) translate([25, 0, 0]) circle(r = 15, $fn = 100); }; translate([0,0,30]) cylinder(d=diam,h=18-width); } } module lower(diam,width){...
glb/cad_7441fd81e043.glb
Create a bike pump holder with a height of 35mm. The main body is formed by the hull of two cylinders: a 32mm diameter cylinder for the bike frame and a 30mm diameter cylinder for the pump, separated by a distance that ensures a minimum gap of 5mm between the frame and pump. The walls of the holder should be 3mm thick....
height=35; frame_diameter=32; pump_diameter=30; strap_width=20; strap_slot=3; opening = 86; screw_length=30; minimum_frame_distance=5; wall=3; frame_pressure=0.5; tolerance=0.2; clamp_slot=4; nut_height=2.4; nut_size=5.5; screw_diameter=3; $fn=64; opening_angle=2*asin(opening/100); nut_dia=nut_size*2/sq...
glb/cad_c2ae934ae444.glb
Create a fan airflow compressor grille. Start with a square base plate measuring 70mm by 70mm with a thickness of 4mm. Round the four corners of the base with a 3mm radius. Center a circular opening in the base with a diameter of 32mm. At each of the four corners of the plate, place a mounting hole with a diameter of 4...
hh = 4; hh2 = hh / 2; bohr = 4.2; h2 = hh + .2; D0 = 70; D1 = 62; D3 = 32; D4 = D3 - 6; R0 = 3; D0x = D0 - 2 * R0; grid = 2.4; grid2 = grid / 2; difference () { translate ([-D0x / 2, -D0x / 2, -hh2]) { scale( [1, 1, .5]) { minkowski() { cube([D0x, D0x, hh]); cylinder(r = R0, h = hh); } } } cylinder (h =h2...
glb/cad_b08526bd6fe7.glb
Create a Single print E-Cigarette Mod Holder by constructing a base and a supporting arm. Start with a rectangular base plate measuring 220.8mm by 3.5mm by 28mm, centered on the origin. From this base, extend a vertical support arm 80mm high and 3.5mm thick, centered along the width. At the bottom of this arm, integrat...
width = 28; thick = 3.5; height = 80; d = 92; r = d/2; modD = 24; lip = thick; ModStand(); module ModStand() { rotate([0,0,12]) Arm(); Base(); } module Base() { translate([0, -thick/2, 0]) cube(size = [modD * 2.4, thick, width], center = true); } module Home() { cylinder(h = width, r = thick/2, center = tr...
glb/cad_b870538ad1de.glb
Create a wall-wart support bracket with a total length of 55mm. The main body is a C-shaped channel with a height of 36.5mm and a width of 38mm. The walls and base of this channel have a uniform thickness of 3.5mm. The outer corners of the overall shape should be rounded with a 3mm radius, while the inner corners of th...
distanceWallWartSticksOut=38; powerbarHeight=36.5; powerbarWidth=51; wallWartWidth=55; thickness=3.5; innerCorner=6; outerCorner=3; cutOut=3; thickness=3.5; module end_of_parameters_dummy() {} module roundedSquare(size=[10,10], radius=1, center=false, $fn=16) { size1 = (size+0==size) ? [size,size] : size; if ...
glb/cad_26605c8c241d.glb
Create a tool holder plate by combining a central clip mechanism with a base plate. Start with a base plate measuring 50mm by 50mm with a thickness of 4mm and rounded corners (radius 2mm). On top of this base, add a second rectangular section measuring 50mm by 22mm with a thickness of 10mm and rounded corners (radius 2...
$fn=30; $fa=6; $fs=0.2; module nut(r,h){ cylinder(h=h,r=r,$fn=6); } module ccube(w,l,h) { translate([-w/2,-l/2,0]) cube([w,l,h]); } module clip(len){ tw=20; tb= 8/2+0.03; tc= tb+1.1; tt= 3.5; ti= 5.5; tf= 9; th = 1.8; th1 = th-1; tw2 = tw/2; tw3 = tw/3; translate ([0,tw/6,-len/2]) linear_extrude(l...
glb/cad_29a42b594f14.glb
Create a Table Corner Protector by constructing a solid hull and removing a central void. Start by creating a hull that encompasses three sets of double-spheres. The first set is positioned at the origin, and the other two sets are positioned at 20mm along the X and Y axes respectively. Each double-sphere set consists ...
$fn=64; h=8; w=20; ep=1; r=5; thin=1; d = 0.707*(r-ep); alpha=0*thin*atan((r-d)/(w-d))/2; r1=1; rotate([90,alpha,0]) difference() { part(h); hole(); } module part() { hull() { translate([d,d]) double_sph(r); if (thin) { translate([w,0,0]) double_sph(r1); ...
glb/cad_9f8df81a6588.glb
Create a Rostock pen gripper consisting of a central base and three vertical posts. Start with a base plate that is 5mm thick, shaped as the intersection of a cylinder with a 30mm radius and a triangular prism (a cylinder with 3 facets) with a 20mm radius. Position three vertical posts symmetrically around the center...
h=5; post_height=60; cutout = 12.5; inset = 6; screw_radius= 2.9/2; nut_radius=6.29/2; module pen_mount() { color([0.5,0,0.7]) translate([0, 0, h/2]) intersection(){ difference() { union() { for (a = [0:2]) { rotate([0, 0, a*120]) { difference(){ translate(...
glb/cad_699f5595ded5.glb
Create a SAV MkI clip for a printer frame. The main body is a C-shaped channel with a total length of 64.3mm (55.3mm inner length plus two 4.5mm walls), a width of 35mm, and a height of 14mm. The channel is open on the top and bottom, leaving a central void of 55.3mm by 26mm by 14mm. Extend a support base from the bac...
drill = 3.5; drillDistance = 4; SAV_holes = 57; length = 70; width = 25; wallWidth = 4.5; clipL = 55.3; clipW = 35; clipH = 14; supportL = 68; supportW = wallWidth; supportH = 14; restL = 10; restW = 1.5; restH = supportH; gripS = 3; frameW = 6.3; M3NutD = 6.6; M3NutH = 3; module SAV_drills ( ) { cylinder ( r=d...
glb/cad_ac2d21e41e5a.glb
Create a SAV 3D LCD i3 frame support by starting with a rectangular base block measuring 50mm in length, 30mm in width, and 10mm in height. Carve a horizontal slot through the entire 50mm length of the block, centered vertically, with a width of 6.5mm and a height of 1.8mm. Additionally, remove a second rectangular sec...
supportW = 30; supportH = 10; pcbSlot = 1.8; pcbL = 6.5; frameSlot = 6.5; frameL = 20; drillD = 44.45; drillRad = 3.6/2; module drills (hi=0, sep=0, rad=0, num=0) { for ( i =[0:num-1] ) { translate ([i*sep, 0, 0]) cylinder ( r=rad, h=hi, $fn=rad*8 ); } } difference () { cube ([50, supportW, supportH]); ...
glb/cad_512142f612ba.glb
Create a motor bracket for an Ord Bot Z-axis belt drive conversion. Start by constructing a main vertical plate that is 10mm wide, 13mm deep, and 55mm tall, centered on the X and Z axes. Attach a horizontal support arm to the top of this plate, measuring 4mm wide, 40mm long, and 10mm thick, extending from the center. ...
difference(){ union(){ translate([0,22.5,20])cube([4,55,10],center=true); translate([0,22.5,10])cube([4,55,10],center=true); translate([-8.5,40,15])cube([14.3,20,20],center=true); translate([0,19.5,0])rotate([40,0,0])cube([4,70,10],center=true); translate([-7,20,-3])rotate([30,0,15])cube([4,50,10],center=true); } un...
glb/cad_2b4556c97b9a.glb
Create a motor bracket for an Ord Bot Z-axis belt drive conversion. Start by constructing a main vertical body that is 4mm wide, 55mm deep, and 20mm tall. Add a second rectangular section directly beneath the first, also 4mm wide and 55mm deep, but 10mm tall, to create a combined base structure. To create the mountin...
difference(){ union(){ translate([0,22.5,20])cube([4,55,10],center=true); translate([0,22.5,10])cube([4,55,10],center=true); translate([4.5,0,0])cube([13,3,50],center=true); translate([0,19.5,0])rotate([40,0,0])cube([4,70,10],center=true); translate([9,40,15])cube([14.3,20,20],center=true); translate([0,19.5,0])rotate...
glb/cad_b55f35375412.glb
Create a motor bracket for an Ord Bot Z-axis conversion consisting of two identical L-shaped plates joined at a right angle. Each plate is a thin rectangular slab 3mm thick, 55mm wide, and 55mm tall. On the vertical face of each plate, center a square cutout measuring 23.5mm by 29mm. Around this central opening, plac...
union(){ translate([0,-54,0])difference(){union(){ translate([0,62,0])cube([55,3,55],center=true);} union(){ translate([15.5,62,18])cube([3.2,10,12],center=true); translate([-15.5,62,18])cube([3.2,10,12],center=true); translate([15.5,62,-14])cube([3.2,10,12],center=true); translate([-15.5,62,-14])cube([3.2,10,12],cen...
glb/cad_0f4170be034b.glb
Create a Customizable Rocker Switch Panel consisting of a flat rectangular panel and multiple mounting clips. The panel is 2mm thick. For a configuration of 1 row and 3 columns of switches, create three rectangular cutouts in the panel, each 13mm wide and 20mm long. Space these columns 5mm apart and leave a 7mm margin ...
thickness = 2; nutInDiameter = 5.5; nutHeight = 2.5; screwHoleDiameter = 3; $fn = 20; rows = 1; columns = 3; switchWidth = 13; switchLength = 20; angle = 70; mountingClips = 3; mountingClipMargin = 3; clipWidth = 13; boardWidth = 6.6; boardClampLength = 10; extenderLength = 11; xSwitchPadding = 5; ySwi...
glb/cad_24561ddda1e3.glb
Create a Compact MendelMax Y-Rod Holder. The main body is a block with a width and height of 16mm and a length of 12mm. Centered within this body, create a horizontal cylindrical hole with a diameter of 8mm and a length of 13mm to house the bearing. Cut a vertical slot through the center of the block with a width of 4...
LM8UU_dia = 8; LM8UU_length = 12; rod_dia = 2; screw_thread_dia_iso = 3; screw_head_dia_iso = 5.5; nut_wrench_size_iso = 5.5; clearance_dia = 0.5; screw_thread_dia = screw_thread_dia_iso + clearance_dia; screw_head_dia = screw_head_dia_iso + clearance_dia; nut_wrench_size = nut_wrench_size_iso + clearance_dia; nut_di...
glb/cad_2ec9f3c9e590.glb
Create a JHead to Buda style hotend adapter by starting with a solid cylinder that has a radius of 8.2mm and a height of 10mm. Bore a central hole through the entire height of the cylinder with a radius of 2.5mm. Finally, create a conical opening at the bottom of the part by removing material in a tapered shape that st...
externalRadio = 8.2; filament = 3; height = 10; $fn=50; module budaAdapter(){ difference(){ cylinder(r=externalRadio, h=height); translate([0,0,-1])cylinder(r=1+(filament/2), h=height+2); translate([0,0,-0.2])cylinder(h = 3*height/4, r1 = 1.2*filament, r2 = 0.8*filament, center = false); } } budaAdapter();
glb/cad_6602f8237a41.glb
Create a 3D spiral model based on a four-center geometry. The spiral is constructed from a series of connected 90-degree circular arcs with increasing radii. Start with an initial arc using an inner radius of 5mm and an outer radius of 10mm (creating a wall thickness of 5mm). Each subsequent 90-degree arc must transit...
Main(); module Main() { Spirale4c(Start=1, End=10, Base=5, Ht=7, Th=5, debug=false); } module Spirale5c(Start=1, End=7, Base=7, Ht=0, Th=1, debug=false) { Start = abs(Start); End = ( abs(End)<Start ? Start : abs(End) ); Base = abs(Base); Ht = abs(Ht); Th = abs(Th); angle = 72; a2 = ang...
glb/cad_40c3cb92bb79.glb
Create a Dutch Druplicon by combining a central spherical body with stylized legs and footwear. Start with a central sphere with a radius of 9mm. To this, add a larger, complex organic outer shell based on the Druplicon shape, tilted 13 degrees forward. Carve a face-shaped void into the front of this shell, positioned ...
include <clogs.scad> $fn = 50; rotate([0,0,180]) { union() { rotate([13, 0,0]) { difference() { shape(); translate(v=[0, 7, -2]) { rotate([90, 0, 0]) { face(); } } } } translate(v = [4, -2, -12]) rotate([0, -8, 0]) cylinder(h = 6, r = 5*(2/3)); translate(v =...
glb/cad_85ccb2c4bebd.glb
Create a Flexible SD Card Holder by starting with a solid rectangular base measuring 28mm wide, 47mm long, and 6mm high. Carve out ten identical slots for standard SD cards: each slot should be 24mm wide, 2mm thick, and 6mm deep, positioned starting 2mm from the side edges and spaced 4mm apart center-to-center, beginni...
nb_normal = 10; nb_micro = 10; difference() { cube([28,2+nb_normal*4+(nb_micro/2)*3,6]); #for(i=[0:nb_normal-1]) translate([2,2+4*i,2]) cube([24,2,6]); #for(i=[0:(nb_micro/2)-1]) { translate([2,2+4*nb_normal+3*i,3]) cube([9.7,0.7,6]); translate([16,2+4*nb_normal+3*i,3]) cube([9.7,0.7,6]); } }
glb/cad_dd5cb4c62f8c.glb
Create a pipe adapter consisting of two concentric cylindrical sections. First, create a large base cylinder with an outer radius of 32mm and a height of 48mm. Inside this base, remove a central cylindrical core with a radius of 30mm and a height of 44mm to create a hollow shell. Next, add a smaller cylinder on top of ...
module example005() translate([0,-30,0])cube([5,60,1]); rotate([0,0,30]) translate([0,-30,0])cube([5,60,1]); rotate([0,0,30]) translate([0,-30,0])cube([5,60,1]); rotate([0,0,90]) translate([0,-30,0])cube([5,60,1]); rotate([0,0,130]) translate([0,-30,0])cube([5,60,1]); difference() { union() { difference() { union (...
glb/cad_1d33007cdd53.glb
Create a Y-axis bearing holder for an LM10UU bearing. Start by constructing a main cylindrical sleeve with an outer diameter of 23mm and an inner diameter of 19mm to accommodate the bearing, with a total length of 29mm. This sleeve should be partially open at the top to allow the bearing to be inserted. Attach this sl...
$fn=0; $fa=0.1; $fs=0.3; bearing_diameter=19; bearing_length=29; wall_thickness=2; hole_spacing=20; hole_diameter=3.5; screw_head_diameter=6; module bearing_holder() { difference(){ rotate([0,90,0]) translate([-bearing_diameter/2-wall_thickness-2, 0, 0]) cylinder(h=bearing_length, r=bearing_diameter/2 +wall...
glb/cad_c58e049e942f.glb
Create a mechanical endstop holder for a 6mm rod. Start with a main rectangular block measuring 29mm in length, 16mm in width, and 8mm in height, positioned 2mm above the base plane. Carve a central U-shaped channel through the width of the block; this cutout should be 6mm wide, 6mm high, and 18mm long, centered along ...
$fs = 0.2; module endstop () { difference () { translate ([0,0,2]) cube([29, 16, 8]); translate([3,3,-1]) cylinder(r=1.5, h=12); translate([29-3,16-3,-1]) cylinder(r=1.5, h=12); translate([10,-1,10-((6-0.25)/2)]) rotate (-90, [1,0,0]) cylinder(r=3, h=18); translate([7,-1,7]) cube([6, 18, 6]); translate([...
glb/cad_2c32cd49ca18.glb
Create a Y-axis corner bracket for a 3D printer frame. Start with a rectangular base block measuring 18mm wide, 22mm deep, and 53mm high. Remove material to create three primary cylindrical holes, each with a radius of 5.4mm and a 30-facet resolution. Position the first hole horizontally through the block at a height...
bed_elevation = 6; module corner_base(){ translate([-9,-11,0]) cube([18,22,47+bed_elevation]); } module corner_holes(){ translate([-11,-11,0]){ translate([0,11,10+1]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=5.4, $fn=30); translate([0,11,30+3]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h =...
glb/cad_08baf222d314.glb
Create a procedural sculpture called Procedural Pyramids composed of multiple nested and rotating pyramid clusters. First, define a base pyramid with a square base measuring 20mm by 20mm and a height of 10mm, with the apex centered above the base. Construct a primary cluster by placing one full-sized pyramid at the o...
module pyra(s) { scale([s,s,s]) { polyhedron( points=[ [10,10,0],[10,-10,0],[-10,-10,0],[-10,10,0], [0,0,10] ], faces=[ [0,1,4],[1,2,4],[2,3,4],[3,0,4], [1,0,3],[2,1,3] ] ); } } module multi_pyra() { pyra(1); for (i=[2:4]) { ...
glb/cad_e14c0c405fc8.glb
Create a chamfered box with a separate lid. For the bottom part, create a chamfered cube with outer dimensions of 53mm x 53mm x 46.5mm. Hollow out the center by removing a 50mm x 50mm x 45mm cube starting from a height of 1.5mm, leaving a 1.5mm base. To create the rim, remove a chamfered cube from the top of this botto...
include <Chamfers-for-OpenSCAD/Chamfer.scad>; inner_width = 50; inner_depth = 50; inner_height_bottom_part = 45; inner_height_upper_part = 5; brim_height = 2; tolerance = 0.0; difference() { chamferCube(inner_width + 3, inner_depth + 3, inner_height_bottom_pa...
glb/cad_7b483c33719c.glb
Create a bicycle pump holder with a total height of 75mm. The model consists of two main concentric curved sections. First, create a large outer arc with a radius of 25mm and a wall thickness of 1.5mm, spanning a 90-degree angle. Position this arc so it is centered vertically. Second, create a smaller inner cylindrica...
$fa = .1*1; $fn = 100*1; heigth = 75; pumpRadius = 12; cycleRadius = 25; thickness = 1.5; difference(){ union(){ translate([0,cycleRadius+thickness/2,0]) rotate([0,0,45]) arcTube(heigth, cycleRadius,cycleRadius+thickness,90); translate([0,-pumpRadius-thickness/2,-heigth/6]) rotate([0,0,180]) openCyl(...
glb/cad_6d60069fd7fc.glb
Create a stand for a DSO138 oscilloscope by constructing a base shaped like a rounded equilateral triangle. Start with a three-sided prism with a height of 15mm and a radius of 90mm, then apply a 4mm fillet or rounding to all edges. From this main body, remove a central triangular void created by a three-sided prism wi...
$fn=50; difference(){ union(){ minkowski(){ cylinder(h=15,r1=90,r2=90,center=false,$fn=3); cylinder(r=4,h=1); } } union(){ translate([20,0,0]) cylinder(h=17,r1=55,r2=55,center=false,$fn=3); translate([-40,-44,10]) cube([27,88,7],center=false); }}
glb/cad_4b85d01884ca.glb
Create a parametric shaft collar by starting with a centered cylinder that has a height of 10mm and an outer radius of 17.7mm. Remove a concentric inner cylinder with a radius of 12.7mm and a height of 12mm to create a hollow ring. Cut a rectangular slot through the wall of the collar, centered on the X-axis, with a wi...
shaft_diameter = 25.4 / 2; collar_width = 10; collar_height = 10; bolt_diameter = 3; nut_width = 6; nut_thickness = 4; split_width = 4; shaft_radius = shaft_diameter / 2; difference() { cylinder ( r = shaft_radius + collar_width, h = collar_height, center = true); cylinder ( r = shaft_radius, h = collar_heig...
glb/cad_bff5ae896545.glb
Create a toy bathroom sink consisting of a basin and a supporting pedestal. Start by constructing the main basin as a rectangular block 46mm wide, 24mm deep, and 10mm high. Carve a smooth, oval-shaped void out of the top center of this block, measuring 42mm in width and 18mm in depth. On the top surface of the basin, p...
include <./MCAD/shapes.scad> difference(){ union(){ translate(v=[-9, -9, 0.0]) { cube([18, 18,3], center=false); } linear_extrude(height = 15, center = false, convexity = 10, scale=.5) translate([-7, -7, 0]) square([14,14]); translate(v=[-4, -4, 0.0]) { cube([8, 8,40], center=false); } tra...
glb/cad_7364b54f422d.glb
Create a toy bathroom sink by constructing a rectangular basin atop a tapered pedestal. Start with a rectangular base block 18mm wide, 18mm deep, and 3mm high. From the center of this base, extend a vertical pedestal upwards to a total height of 40mm, with the pedestal's width narrowing as it rises. At the top of the a...
include <./MCAD/shapes.scad> difference(){ union(){ translate(v=[-9, -9, 0.0]) { cube([18, 18,3], center=false); } linear_extrude(height = 15, center = false, convexity = 10, scale=.5) translate([-7, -7, 0]) square([14,14]); translate(v=[-4, -4, 0.0]) { cube([8, 8,40], center=false); } tra...
glb/cad_aa67f2cf484c.glb
Create a U-shaped peg board accessory. Start by creating two identical peg mounts designed to fit into 7mm holes. Each mount consists of a cylinder with a radius of 3.25mm and a height of 5.5mm, topped with a hemisphere of radius 3.8mm. Connect these two mounts with a central rectangular arm. The arm should be 6mm wid...
peg_item = "U"; end_arm_percentage = 25; peg_length = 20; add_shelf_support = "N"; hook_width_percentage = 100; magic_offset=10; hole_size = 7; tolerance = 5; backing_board = 6; peg_offset = 25; sphere_size=hole_size*(1+(tolerance*.006)); cylinder_radius=(hole_size-.5)/2; object_width=7*(hook_width_percentage...
glb/cad_9b35dcb5a2e1.glb
Create two tripod mounts for a camera: one for a flat surface and one for a curved surface with a radius of 45.5mm. Both mounts should be circular disks with a diameter of 30mm and a thickness of 6mm. For both disks, center a hexagonal hole with a width of 6.53mm across the flats to hold a nut. Additionally, create a ...
$fn=120; can_d = 91; mount_d = 30; mount_t = 6; circ = 16; elev = 3; nut = 11.35; nut_diam = 2*(sqrt((nut*nut)/3)); echo ("nut size across points:", nut_diam, "mm"); translate([mount_d*0.66,0,mount_t/2]) tmount(diam = mount_d, thick = mount_t, hole = circ, hole_h = elev, hex = nut_diam); tra...
glb/cad_b10d0c6541b3.glb
Create a tripod mount for a cylindrical camera body. Start with a base disk that is 35mm in diameter and 12mm thick. To allow the mount to sit flush against a curved surface, remove a cylindrical section from the bottom of the disk with a radius of 33.125mm (half of the 66.25mm can diameter), centered so that it carves...
$fn=120; can_d = 66.25; mount_d = 35; mount_t = 6; circ = 16; elev = 3.75; nut = 11.35; nut_diam = 2*(sqrt((nut*nut)/3)); echo ("nut size across points:", nut_diam, "mm"); translate([0,0,mount_t]) tmount_curved(arc = can_d, diam = mount_d, thick = mount_t*2, hole = circ, hole_h = elev...
glb/cad_abd1be8fbd33.glb
Create a Wade's Geared Extruder base for a Makerbot. Start with a main rectangular block that is 24mm wide, 55mm high, and 28mm deep. Attach a base plate to the bottom that is 70mm long and 7mm thick, extending 25mm beyond the block's edge. Bevel the edges where the block meets the base with a 6mm radius. On the side ...
include<configuration.scad> malcolm_hotend_mount=1; groovemount=2; peek_reprapsource_mount=4; arcol_hotend_mount=8; mendel_parts_v6_mount=16; grrf_peek_mount_holes=32; wade_makerbot(hotend_mount=mendel_parts_v6_mount); wade_block_height=55; wade_block_width=24; wade_block_depth=28; block_bevel_r=6; base_thickness=...
glb/cad_ead02ee89474.glb
Create a Bowden extruder mount for a 3D printer. Start with a main rectangular plate measuring 49mm by 70mm with a thickness of 5mm. On the left side, integrate an endstop bumper consisting of two joined rectangular blocks: one 4mm by 46mm by 5mm and another 4mm by 14mm by 4mm. Add a belt clip assembly featuring a 15....
include <common_hardware.scad>; use <cartesian.scad>; use <MCAD/2Dshapes.scad>; use <MCAD/triangles.scad>; include <MCAD/units.scad>; include <MCAD/shapes.scad>; mount_type=1; display_vertical=true; plate_main=false; plate_vent_base=false; plate_vent=false; plate_base=false; plate_clamp=false; plated=plate_main||pla...
glb/cad_dcd45f023303.glb
Create a PET mini-shredder tool with a total length of 145mm, a width of 22mm, and a height of 12mm. The main body is a rectangular block with a central cavity of 141mm by 18mm by 8mm. At the top of the tool, create an open section 44mm long. Within the main body, carve six slanted slots, each 1.1mm thick, angled at ...
$fa=2.5; eps=0.05; lblade =100; wblade = 18+0.1; tblade = 0.5; dscrew = 5; t=2; l = 145; lwindow = 30; lopen = 44; lend = lopen-lwindow; h = 12; w = wblade+2*t; tslot = 1.1; slantslot = 20; endscrewpos=lend/2; offcenter =0.5; nknivesegments = 7; lknivesegment = 10; lknivefront = lknivesegment* nknivesegments; un...
glb/cad_870fa94be5a8.glb
Create a PET mini-shredder consisting of a main body and a drilling template. For the main body, create a central rectangular block 145mm long, 27mm wide, and 17mm high. Hollow out the center to create a main cavity that accommodates an aluminum L-profile. On the top and bottom edges of the main body, add hexagonal b...
$fa=2.5; eps=0.05; gold =(sqrt(5)+1)/2; l = 145; lwindow = 30; lopen = 44; lend = lopen-lwindow; lblade =100; wblade = 18+0.1; tblade = 0.5; talu = 2.1; halu = 15.15; walu = 25.2; lalu = l; dscrew = 5; nknivesegments = 7; lknivesegment = 10; lknivefront = lknivesegment* nknivesegments; unusedsegments = 3; lwaste = l...
glb/cad_1b01aa824917.glb
Create a Vertical X Carriage consisting of two main plates: a carriage plate and an extruder plate, both with a thickness of 8mm. The carriage plate is a rectangular block 75mm wide and 90mm high. Remove material from the sides to create rounded notches using 10mm radius cylinders at the top and bottom corners. Drill...
include <lm8uu-holder-slim.scad> include <configuration.scad> extruder_nozzle_size = 0.5; wall = 8; width = 75; depth = wall; height = 90; widthE = width; depthE = wall; heightE = 60; dual_sep = 50.6; tri_sep = 64.6; screw = 5.4; screw_hd = 12.5; screw4 = 4.5; screw3 = 3.5; screw2 = 2.6; adjuster = 7.3; extruder = 50;...
glb/cad_31c13e51667f.glb
Create a Vertical X Carriage spacer by starting with a rectangular block measuring 28mm in height, 8mm in width, and 37mm in length. Remove two large cylindrical holes that run through the center of the block along its 37mm length; these holes should have a radius of 2.67mm and be positioned 6mm above and below the c...
width1=40; height1=20; length1=35; width2=8; height2=28; length2=37; bolt1 = 5.5; bolt_space1 = 19.4; bolt2 = 3.5; bolt_space2 = 26; bolt_space2a = 16; spacer2(); module spacer1() { rotate([90,0,0]) difference() { cube([height1, width1, length1], true); translate([0,bolt_space1/2,10-length1]) cylinder(h = 10 + ...
glb/cad_7fc479536700.glb
Create a Vertical X Carriage mount by starting with a rectangular base measuring 70mm in length, 30mm in width, and 5.9mm in height. Centered along the width of the base, carve out a large central slot that is 12.2mm wide, formed by the union of two circular profiles with a radius of 6.1mm positioned at coordinates (35...
innerd = 12.2; outert = 5.9; screw4 = 5; offset = 49; mount(); module mount() { difference() { cube([70,30,outert]); hull() { translate([35,10,-5]) cylinder(h=20,r=innerd/2,$fn=100); translate([35,0,-5]) cylinder(h=20,r=innerd/2,$fn=100); } screwholes(); } } module screwholes() { hull() { transla...
glb/cad_ae56ca033e2c.glb
Create a rose stem by constructing a main vertical cylinder with a radius of 3mm and a total height of 140mm. At the very top of this stem, centered on the upper face, add a smaller cylindrical male joint with a radius of 1.45mm and a height of 3.2mm. If thorns are required, distribute them evenly along the length of t...
$fs = 0.01; $fa = 3; stem_length = 140; stem_radius = 3; joint_length = 3.2; joint_radius = 2.9/2; num_thorns = 0; rot_angle = 360/num_thorns; thorn_length = 15; thorn_rad1 = 3; thorn_rad2 = 1; thorn_angle = 45; trans_dist = (stem_length - thorn_length)/(num_thorns + 1); union() { cylinder(r = stem_radius, h = stem...
glb/cad_d2632c01d4a2.glb
Create a timing pulley for a rock tumbler. The pulley has a total of 24 teeth with a pitch of 5.06mm. The main body is a cylinder with a height of 8.5mm, which is the width of the belt. The teeth are square-shaped, each with a width of 1.4mm and a depth of 1.8mm. The pulley features two circular flanges, one on the to...
shaftDiameter = 0; shaftFlatDiameter = 0; squareShaftWidth = 8.6; hubDiameter = 22; hubHeight = 8; flanges = 2; hubSetScewDiameter = 0; numSetScrews = 1; numTeeth = 24; toothType = 3; pitch = 5.06; beltWidth = 8.5; beltThickness = 1.15; notchDepth = 1.8; toothWidth = 1.4; PI = 3.14159265; $fs=0.2; $fa=3; pulleyDiame...
glb/cad_40106dc9561b.glb
Create a timing pulley for a rock tumbler. The pulley has a total height of 18mm, consisting of a central gear section 10mm high and two flanges, each 4mm high, located at the top and bottom. The gear section has a diameter of approximately 50.9mm and features 32 square teeth spaced 5mm apart (pitch). Each tooth is 1.4...
shaftDiameter = 6.4; shaftFlatDiameter = 5.9; hubDiameter = 22; hubHeight = 8; flanges = 2; hubSetScewDiameter = 3; numSetScrews = 1; numTeeth = 32; toothType = 3; pitch = 5; beltWidth = 10; beltThickness = 1.15; notchDepth = 1.8; toothWidth = 1.4; PI = 3.14159265; $fs=0.2; $fa=3; pulleyDiameter = pitch*numTeeth/PI;...
glb/cad_32696334a2ed.glb
Create a rock tumbler gear and pulley system consisting of two main components: a transfer gear and a timing pulley. First, construct the transfer gear as a herringbone gear with a total thickness of 15mm and an outer diameter of 76mm. The gear should feature 32 teeth with a 45-degree pressure angle and a 1-degree hel...
D=76; T=15; tol=0.4; number_of_planets=5; number_of_teeth_on_planets=7; approximate_number_of_teeth_on_sun=9; drive_gear_teeth = 32; P=45; nTwist=1; w=12; hole_type = "round"; penetration = 1.0; with_monogram = 0; flange_count = 3; flange_hole = 4.5; flange_thickness = 4; DR=0.5*1; shaftDiameter = w; shaft...
glb/cad_ffda1b1fc9e8.glb
Create a planetary gear bearing with an outer diameter of 64mm and a thickness of 15mm. The main body is a cylinder with a central square hole measuring 8.3mm per side. This hole does not penetrate fully, extending only 80% through the thickness of the part. Inside the main cylinder, create a sun gear with 18 teeth. A...
D=64; T=15; tol=0.56; number_of_planets=5; number_of_teeth_on_planets=7; approximate_number_of_teeth_on_sun=9; P=45; nTwist=1; w=8.3; hole_type = "square"; penetration = 0.8; with_monogram = 0; flange_count = 3; flange_hole = 4.5; flange_thickness = 4; DR=0.5*1; m=round(number_of_planets); np=round(number_...
glb/cad_8030e8c00304.glb
Create a planetary gear bearing with an outer diameter of 76mm and a thickness of 15mm. The main body is a ring featuring an internal herringbone gear with 18 teeth. At the center of this ring, create a square hole with a width of 8.6mm that penetrates 100% of the thickness. Within the ring, position 5 planetary gears...
D=76; T=15; tol=0.4; number_of_planets=5; number_of_teeth_on_planets=7; approximate_number_of_teeth_on_sun=9; P=45; nTwist=1; w=8.6; hole_type = "square"; penetration = 1.0; with_monogram = 0; flange_count = 3; flange_hole = 4.5; flange_thickness = 4; DR=0.5*1; m=round(number_of_planets); np=round(number_o...
glb/cad_b007abafcae8.glb
Create a Kühling's TommyC Misumi X-Ends 8mm Edition, a mounting bracket for a 3D printer X-axis. Start by creating two mirrored rod mounts. Each mount is a block with a length of 40mm and a height of 14mm. Center a teardrop-shaped hole with a radius of 4.2mm (8mm rod diameter plus 0.2mm clearance) through the center ...
use <jonaskuehling-default.scad> include <lm8uu-holder-slim_double-vertical_4mmThick_jmil.scad> rod_dia = 8; rod_dist = 50; zrod_leadscrew_dist = 30; clearance = 0.2; wall = 3; wall_thin = 3; xend_body_length = 40; m3_screw_dia = 3; m3_screw_head_dia = 5.5; m3_screw_head_height = 3; m3_nut_wrench_size = 5.5; m3_nut_h...
glb/cad_3327be13489b.glb
Create a Ricoh Theta Stand with a total height of 20mm and a wall thickness of 1.6mm. The central feature is a hollow vertical shell designed to hold a camera body. This shell is formed by the intersection of two circles with radii of 75mm, offset such that they create a lens-like profile with a depth of 18mm and a wid...
height = 20; stand_thickness = 1.6; base_r = 100; clearance = 1.5; tetha_r = 75; tetha_depth = 18; tetha_width = 45; module theta_profile(extra=0) { r = tetha_r; r_dist = tetha_depth + extra; w = tetha_width + extra; intersection() { translate([-r+r_dist/2,0,0]) circle(r=r, $fn=1...
glb/cad_35bdf9d8ee01.glb
Create a 3D model of a tree generator test consisting of a circular base and a single vertical tapered spire. Start by creating a flat, thin circular base with a radius of 40mm and a height of 1mm. Centered on this base, construct a vertical tapered column that resembles a low-resolution cylinder. This column should ha...
seed = 18; branch ( max_length = 50, min_length_ratio = .7, iterations_left = 7, max_radius = 8, min_radius_ratio = .9, max_branching = 4, min_branching = 1, min_branching_length_ratio = .5, res = 12, radius_cutoff = 2.4); cylinder(r = 40, h = 1); module branch(max_length = 20,min_length_ratio = ....
glb/cad_b06d562540ed.glb
Create a Dial Gauge Holder consisting of two hollow cylindrical components. First, create a vertical cylinder with an outer radius of 6.5mm and a height of 12mm, then remove a concentric inner cylinder with a radius of 2.6mm and the same height to create a thick-walled tube. Second, create a horizontal cylinder with an...
$fn=55; union () { translate ([-0.75,5,7]) rotate([90,0,0]) { difference () { cylinder(r=7,h=10); cylinder(r=5,h=10); } } translate ([-12,0,0]) { difference () { cylinder(r=6.5,h=12); cylinder(r=2.6,h=12); } } }
glb/cad_1750077d108a.glb
Create a Detolf Clip for LED bars by constructing a solid base and removing specific internal volumes. Start with a base shape formed by the convex hull of a cylinder with a 4mm radius and a height of 4mm, and a rectangular block measuring 11mm by 10.7mm with a height of 4mm, centered so the block and cylinder overlap....
bar_width = 8.7; bar_height = 6; bar_clip_thickness = 2; bar_clip_lip = 1.5; rod_diameter = 6; rod_thickness = 2; length = 4; difference() { hull() { cylinder(r=(rod_thickness+rod_diameter)/2,h=length); translate([-1 * ((1.5 * bar_height) + bar_clip_thickness),-1 * (bar_width + bar_clip_thickness) /2,0]) cube([b...
glb/cad_7caf2028de72.glb
Create a Detolf Clip for LED bars by constructing a small mounting bracket with a total height of 4mm. Start by forming a base shape that is the convex hull of a cylinder with a radius of 4mm and a rectangular block measuring 5.25mm by 5.2mm. From this solid, remove a central cylindrical hole with a radius of 3mm that ...
wire_width = 3.2; wire_height = 1.75; wire_clip_thickness = 2; rod_diameter = 6; rod_thickness = 2; length = 4; difference() { hull() { cylinder(r=(rod_thickness+rod_diameter)/2,h=length); #translate([-1 * ((2 * wire_height) + wire_clip_thickness),-1 * (wire_width + wire_clip_thickness) /2,0]) cube([wire_height ...
glb/cad_3fb2958f4830.glb
Create a quick release eccentric assembly consisting of three distinct parts. First, create a main body part by starting with a cylinder 20mm in diameter and 20mm high. Subtract a smaller concentric cylinder 10mm in diameter and 20mm high, but shift the center of this hole 2mm along the x-axis to create an eccentric ...
D1 = 20; D2 = 10; S = 2; A = 20; C = 5; L = 40; G = 45; A2 = 3; D3 = 4; N = 8; tol = 0.3; rendering_quality = 300; module create_part1() { difference(){ union(){ cylinder(h = A, d = D1, $fn=rendering_quality); rotate([0,0,-G]) translate([D1/2-C,-L,0]) cube([C,L,A]); } translate([S,0,-tol])cylind...
glb/cad_10dda75383f4.glb
Create a side handle for a snow shovel consisting of a cylindrical grip and a clamping mechanism. First, create the main handle as a hollow cylinder with an outer diameter of 30mm, a length of 125mm, and a wall thickness of 15mm. Add circular flanges to both ends of this cylinder. Next, construct the clamp. Create t...
layout = "split"; wall_thickness = 6; pin_diameter = 1.75; hole_clearance = 0.1; layer_height = 0.25; extrusion_width = 0.38; handle_length = 125; handle_outer_diameter = 30; handle_wall_thickness = 15; handle_flange_border = 3; clamp_inner_diameter = 30; clamp_length = 50; clamp_gap = 3; screw_od = 5.1; w...
glb/cad_0f722a4a168c.glb