Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a GoPro Hero 3 Black Mount for Multiple Cameras by starting with a central cube measuring 104mm x 45.8mm x 104mm, centered on the Y-axis with a slight offset of 1.8mm. From this main body, remove six rectangular camera slots, each measuring 22mm x 90.5mm x 42.75mm. Position these slots symmetrically around the...
spread = 38; module lensCutOut(){ hull(){ cylinder(h = 25, r = 12.25, center = true); translate([0, -90, 0]) cylinder(h = 25, r = 12.25, center = true); } } module GoPro(){ cube(size = [22,90.5,42.75], center = true); } difference(){ translate([0, 1.8, 0]) cube(size = [104,45.8,104], center = true); rotate([180...
glb/cad_fa80d559d5a8.glb
Create a GoPro Hero 3 Black Mount by constructing a central body and removing specific geometric volumes. Start with a main rectangular block measuring 44.5mm wide, 60mm deep, and 22mm high, centered on the X and Z axes. Attach a second rectangular block to the side, measuring 70mm wide, 7mm deep, and 22mm high, also c...
$fn=200; module GoPro(){ cube(size = [42.5,60,22], center = true); } module lensCutOut(){ hull(){ cylinder(h = 25, r = 12.25, center = true); translate([0, -90, 0]) cylinder(h = 25, r = 12.25, center = true); } } difference(){ union(){ translate([-6, -12, -1]) cube(size = [44.5,60,22], center = true); translat...
glb/cad_3ecaacf94a78.glb
Create a GoPro Hero 3 Black Mount for Multiple Cameras Inc. spherical mount by constructing a hollow cylinder. The outer shell should be a smooth cylinder with a radius of 8mm and a total height of 68mm, centered on the origin. Remove a smaller concentric cylindrical core from the center with a radius of 3.35mm and the...
$fn=200; difference(){ cylinder(r=8,h=68, centre = true); cylinder(r=3.35,h=68, centre = true); }
glb/cad_927989e24a5a.glb
Create an iPod Stereopticon Case by first constructing a main outer body. This body is formed by a hull encompassing a centered cube of 59mm x 162mm x 1mm with rounded corners (8mm radius) and an additional upper section created from a hull of a 2mm x 70mm x 10mm cube with a 22mm radius. Hollow out the interior to cre...
$fn=200; difference(){ hull(){ hull(){ minkowski(){ cube(size = [59,162,1], center = true); cylinder(r=8,h=0.001); } translate([0, 0, 54]) minkowski(){ cube(size = [2,70,10], center = true); cylinder(r=22,h=1); } } translate([45, 0, 5]) cylinder(r=2,h=11, center = true); } translate([0, 0, 45]) uni...
glb/cad_0670b3f79c49.glb
Create a case for an iPod Touch 5G and battery by starting with a main body formed from the hull of a 59mm x 162mm x 30mm box and a cylinder with a 2mm radius and 30mm height, rounded with an 8mm radius. From this volume, remove a central rectangular cavity measuring 60mm x 123.8mm x 6.8mm and a larger cutout measuring...
$fn=200; difference(){ hull(){ minkowski(){ cube(size = [59,162,30], center = true); cylinder(r=8,h=0.01); } translate([45, 0, 0]) cylinder(r=2,h=30, center = true); } translate([-15, -62.5, 11.65]) rotate([0,90,90]) cube(size = [6.8,15,2], center = true); translate([-22, -53, 8]) rotate([0,0,90]) cylinde...
glb/cad_c224dd84755c.glb
Create a lens shelf for a stereopticon by starting with a central plate. Form the main body by combining a 2mm by 70mm by 1.5mm rectangular slab with a cylinder of 21mm radius and 1mm height, creating a rounded, pill-shaped base. From this base, remove two identical cylindrical holes centered along the long axis at pos...
$fn=200; difference(){ minkowski(){ cube(size = [2,70,1.5], center = true); cylinder(r=21,h=1); } translate([0, 29, -11]) cylinder(r=14,h=30, centre = true); translate([0, 29, .75]) cylinder(r=16,h=1, centre = true); translate([0, -29, -11]) cylinder(r=14,h=30, centre = true); translate([0, -29, .75]) cylind...
glb/cad_a52312a67538.glb
Create a hex socket tool consisting of a hexagonal main body and a cylindrical base. Start by creating a hexagonal prism for the socket body with a height of 101mm and a flat-to-flat width of 30mm. The outer walls of this hexagon should have a thickness of 3mm. Centered within this hexagonal body, remove a hexagonal ho...
size = 30; drive = 12.7; depth = 100; tolerance = 0.2; walls = 3.0; tolSize = size + tolerance; inscribedSize = tolSize/0.866025; tolDrive = drive + tolerance; socketRadius = ((inscribedSize+walls)/2); driveRadius = ((tolDrive*1.5)+3)/2; difference() { union() { translate([0,0,(depth+1)/2]) cylinder(h = d...
glb/cad_e609539477e7.glb
Create a Droid X Mount consisting of two primary components: a base backplate and an attachment arm. First, construct the backplate by creating a rectangular block 49mm wide, 5mm thick, and 16mm high. Centered on top of this, add a smaller rectangular block 25mm wide, 16mm deep, and 5mm high. From this combined struc...
translate([0,0,0]) back(); translate([0,17,0]) back_other(); translate([52,30,0]) attachement(); translate([52,2,0]) attachement_other(); module joint () { difference(){ union(){ cylinder(h=5, r=40/2, center = false, $fn=100); translate([0,5,0])cube(size=[15, 14, 20],center = false); } translate([15/2,5+1...
glb/cad_802cc762d3ff.glb
Create a Filament Frame corner bracket. The object is a right-angle connector designed to join square beams. Start by creating a central cube with a side length of 21.43mm (calculated as beam size 19.05mm plus two wall thicknesses of 1.19mm and two tolerances of 0.15mm). The bracket consists of three identical connec...
part = "corner"; ROUNDNESS=5; units = "in"; conversion = (units=="in")?25.4:1; beamWidth = .75; thicknessOfBeam = 0.078125; wallThickness = 0.078125; printerTolerance = .006; beamThickness = thicknessOfBeam * conversion; beamSize = beamWidth * conversion; tolerance = printerTolerance * conversion; thickness =...
glb/cad_6e848aada984.glb
Create a garage chain clip with a uniform height of 4.5mm. Start by creating a central backplane rectangular prism that is 74mm long, 2mm wide, and 4.5mm high, centered along the x-axis. Add two front trigger prisms, each 6mm wide, 25mm long, and 4.5mm high, positioned symmetrically on either side of the backplane's ce...
height = 4.5; spread = 54; backplane_length = spread + 20; backplane_x = -backplane_length/2; translate([backplane_x, 0, 0]) cube([backplane_length, 2, height]); translate([3, -25, 0]) cube([6, 25, height]); translate([-9, -25, 0]) cube([6, 25, height]); left_clip_x = -spread/2 - 2; translate([left_clip_x, 0...
glb/cad_cc103dfa1e25.glb
Create a Universal Phone Car Mount by starting with a solid rectangular block measuring 132mm in width, 15.5mm in depth, and 65mm in height. Hollow out the center of this block by removing a smaller rectangular volume of 128mm by 11.5mm by 65mm, leaving a wall thickness of 2mm on the sides and bottom. On the front fac...
iPhoneWidth = 128; iPhoneHeight = 63; iPhoneDepth = 11.5; slots = 2; mountThickness = 2; difference() { cube([iPhoneWidth+2*mountThickness,iPhoneDepth+2*mountThickness,3/4*(iPhoneHeight+mountThickness)]); translate([mountThickness,mountThickness,mountThickness]) cube([iPhoneWidth,iPhoneDepth,iPhoneHeight+mountT...
glb/cad_f66da89a6bae.glb
Create a shelf support consisting of a main body and a protruding peg. Start by creating a rectangular block that is 12mm deep, 18mm wide, and 19mm high. At the front face of this block, centered vertically and horizontally, attach a small rectangular tab that measures 3mm wide, 5mm high, and 4.8mm deep. From the back ...
height = 19; width = 18; depth = 12; pegDiameter = 5; pegLength = 9; tagWidth = 3; tagHeight = 5; tagDepth = 4.8; overlap = 1; bigOverlap = 5; difference() { translate([0, -width/2, 0]) cube([depth,width, height]); translate([-overlap,-width+2, height/2]) rotate([-20,0,0]) cube([depth+20,width, height+20], ce...
glb/cad_e0ee47a61a1c.glb
Create a Dual Extrusion Calibration Cube consisting of two separate parts: an outer box and an inner cross. For the outer box, create a 35mm cube. Subtract a central cross-shaped void formed by the intersection of three rectangular prisms, each measuring 37mm by 25mm by 25mm, aligned along the X, Y, and Z axes. Subtra...
OuterBoxSize = 35; InnerCrossSize = 25; Thickness = 5; ModelToRender = "O"; module MAKE_INNER_XYZ_LETTERS (OuterBoxSize, InnerCrossSize) { union() { translate([0,(OuterBoxSize+2)/2,0]) rotate([90,0,0]) linear_extrude((OuterBoxSize+2)) text("Y", OuterBoxSize / 3, "Liberation Sans:style=Bold", hali...
glb/cad_5a7243a0f7ae.glb
Create an earth rod cover by constructing a hollowed-out vertical shell. Start with a main outer cylinder that has a radius of 19mm and a total height of 82mm. Create a central hollow core by removing a cylinder with a radius of 17mm and a height of 81mm, positioned 2mm from the base. On one side of the cylinder, int...
radius=17; width=26; height=80; depth=40; cap=28; thickness=2; overlap=1; difference() { union() { cylinder(r=radius+thickness,h=height+thickness,$fn=128); translate([-width/2-thickness,0,cap+thickness]) cube([width+thickness+thickness,depth+thickness,height-cap]); translate([-width/2-thickness,depth-cap,0])...
glb/cad_40a31883a45f.glb
Create a coin sorter consisting of a base box, a top board, and coin tubes. Construct a base box with a hollow interior. The box should have a thickness of 2mm. On the top edges of the base box, add four male dovetail joints. Create a top board with a thickness of 2mm. This board must feature four female dovetail jo...
currency = "usd"; height = 50; pattern = "no"; image = 0; part = "basebox"; understand = 1; coin_1_diameter_millimeter = 30; coin_1_diameter_hundredths = 61; coin_1_thickness_hundredths = 215; coin_99_diameter_millimeter = 111; coin_2_diameter_millimeter = 26; coin_2_diameter_hundredths = 50; coin_2_thickness_...
glb/cad_e5e6e4646b2d.glb
Create a one-button adapter for a Lifemax 1233 talking clock. Start by constructing a rectangular base plate measuring 80mm by 65mm with a height of 4mm and rounded corners with a 1mm radius. In the center of this plate, create a large circular opening with a radius of 26mm that passes completely through the base. With...
include <MCAD/boxes.scad>; overlap=1; difference() { translate([0,0,2]) roundedBox([80, 65, 4], 1, false); translate([0,0,2]) cylinder(r=26, h=2+overlap, $fn=128); translate([0,0,1]) cylinder(r=6.6, h=1+overlap, $fn=32); translate([0,0,-overlap]) cylinder(r=3.5, h=5, $fn=16); translate([-15,0,0]) cube([2,2,10], ...
glb/cad_7815f448af28.glb
Create an RC car wheel hex hub nut with a total height of 6mm. The main body is a regular hexagon with a flat-to-flat width of 12mm. Centered vertically through the entire height of the hexagon, create a cylindrical hole with a diameter of 3mm. At the top of the part, carve out a horizontal slot to accommodate an axl...
include <MCAD/shapes.scad>; $fn = 50; hex_mm = 12; hex_height = 6; pin_depth = 2.3; pin_length = 11.2; pin_width = 2.3; axle_hole = 3; flare_height = 2; difference(){ union(){ difference(){ translate([0,0,(hex_height-flare_height-((hex_height-6)/2))]) hexagon(hex_mm,(hex_height-flare_height)); translate([...
glb/cad_b8c236ba19e1.glb
Create an LED ring diffuser consisting of a flat circular base with 24 conical spikes radiating outwards. Start by creating a thin ring with an outer radius of 34mm and an inner radius of 24mm, and a height of 1mm. Around the perimeter of this ring, place 24 identical conical spikes. Each spike should have a circular b...
thick=0.5; height=10; module globe() { render() difference() { sphere(r=10/2); translate([0,0,-0.5]) sphere(r=10/2); } } module spike() { render() difference() { cylinder(r1=10/2, r2=0, h=height, $fa=360/5); translate([0,0,-0.5]) cylinder(r1=10/2, r2=0, h=height, $fa=360/5); } } module ring() { rende...
glb/cad_ffb208f5486d.glb
Create a Hex Nut Corner Support consisting of two identical rectangular plates joined at a 90-degree angle. Each plate must be a rectangular prism measuring 5mm by 30mm by 15mm. Position the two plates so that one is rotated 90 degrees relative to the other, forming an L-shaped bracket. In the center of each plate, c...
$fs=0.1; nut_size = 6; bolt_size = 2; side_one(nut_size); translate([15,-12.5,0]) { rotate([0, 0, 90]) { side_two(nut_size); } } module side_one(nut_size) { difference(){ cube([5, 30, 15], center = true); translate([2.5,0,0]) { difference(){ rotate([0, 90, 0]) { hexagon(nut_size, 4); bolt(...
glb/cad_44f51f79faf2.glb
Create a Knitting Machine Drill Jig consisting of two main parts: a top section and a bottom section. The overall structure is based on a cylinder with a diameter of 55mm and a total height of 23mm. The main body is a hollow cup with a wall thickness of 2mm. A central vertical hexagonal hole with a diameter of 7.7mm ...
cutout_height=21; hole_width=27; cup_thickness=2; crank_axis_diameter=51; bit_height=13; bit_diameter=7.7; model_number=1; bolt_diameter=3.7; contraction=.03; ep=(cutout_height - 19) + 0.05; cup_diameter=crank_axis_diameter+cup_thickness*2; cup_height=cutout_height+cup_thickness*1; buttress_height=model_number=...
glb/cad_df7bc6369aa5.glb
Create a Rostock Max delta fan mount. Start with a central base consisting of a 40mm sphere with a 36mm sphere removed from its center to create a thin shell. Cut a 40mm cube from the bottom of this shell to create a flat base. On this flat base, place four mounting holes. Each hole is a cylinder with a 5mm diameter a...
module object(){ difference(){ sphere(40/2); sphere(36/2,2); translate([0,0,-20]) cube(size=[40,40,40],center=true); translate([20,20,30]) cube(size=[40,40,40],center=true); } difference(){ translate([0,0,0]) cube(size=[40,40,3],center=true); sphere(36/2,2); translate([16,16,0]) cylinder(r1=5/2,r2=5/2,h=30,center=tr...
glb/cad_85c2a1aefa1f.glb
Create a Radar Eye accessory by constructing a spherical base with a tapered protrusion. Start with a sphere 18mm in diameter centered at (0, 0, -7). Hollow out this sphere by removing a smaller concentric sphere 16mm in diameter centered at (0, 0, -14). Inside the center, remove a further concentric sphere 10mm in dia...
$fn=40; cylinder(h=15,d1=2.5,d2=1); difference(){ translate([0,0,-7]) sphere(d=18); translate([0,0,-14]) sphere(d=16); } difference(){ translate([0,0,-7]) sphere(d=10); translate([0,0,-13]) sphere(d=8); } difference(){ translate([0,0,-9]) sphere(d=2); translate([0,0,-10]) sphere(d=1); }
glb/cad_74253ddd3cce.glb
Create a magnetic mask box consisting of a main container and a separate flat lid. For the main container, create a rectangular box with outer dimensions of 107.5mm width, 207.5mm height, and 92.25mm depth. The walls should have a thickness of 1.25mm. The interior is hollowed out, leaving a base floor of 1.25mm. At t...
bWidth = 105; bHeight = 205; bDepth = 90; bThickness1= 1.25; bThickness2 = 3; bMaxScrewStep = 100; bMaxScrewPadLenght = 4; bScrewPadRadius = 1.7; bHoleHeight = 2; module screwPad( height,hole=0,hradius=bScrewPadRadius,hdepth=bHoleHeight){ if(hole == 0){ cylinder(r=3.5, h=height,$fn=30); translate(...
glb/cad_f89bd64c9deb.glb
Create a customizable key ring by constructing a rounded, oval-shaped loop. Start with a ring that has an outer diameter of 20mm and a cross-sectional thickness of 4mm. The main body should be formed by two cylinders with a radius of 10mm, spaced 15mm apart (creating a total length of 25mm), and connected by a hull ope...
ring_diameter = 20; ring_thickness = 4; hole_length = 25; diameter = ring_diameter; rad = diameter/2; length=hole_length - 2*rad; rounded = 1; thickness = ring_thickness-2*rounded; overhang = 40; facets = 100; keyring(); module keyring(){ difference(){ ring(); clasp(); } } module clasp(){ ...
glb/cad_a41aa7029eac.glb
Create a MistKing wall mount for a display unit. Start with a main rectangular base plate measuring 98mm wide by 57mm deep and 8mm thick. Hollow out the center of this plate to create a pocket that is 92mm wide, 49mm deep, and 4mm thick, leaving a 4mm thick wall around the perimeter. At the bottom center of the base,...
W=92; H=49; D=17; CLoc = 40.5; CThk = 6; CDep = 11; Th = 4; hanD = 10; hanH = 10; hanW = 14; module hole() { holeDiameter=3; chamfer=4; color("green") translate([0,Th/2,0]) rotate([90,0,0]) cylinder(d1=holeDiameter, d2=holeDiameter*chamfer, h=Th, center=true, $fn=64); } module hook() { colo...
glb/cad_56a5148cfa2a.glb
Create a trophy base called a Pokal by starting with a centered cube that measures 70mm in length, 70mm in width, and 40mm in height. On the front vertical face of the cube, carve out three centered lines of text arranged vertically. The top line should read "Zeile1", the middle line "Zeil2", and the bottom line "Zeil3...
include <write/Write.scad> Laenge_und_Breite=70; Hoehe=40; Text_Zeile_1 ="Zeile1"; Texthoehe_Zeile_1=8; Text_Zeile_2 ="Zeil2"; Texthoehe_Zeile_2=8; Text_Zeile_3 ="Zeil3"; Texthoehe_Zeile_3= 8; Textart="write/knewave.dxf"; Abstand_Text_Oben_Unten=6; difference(){ translate([0,0,0]) cube(size=[Laenge_und_Breite,L...
glb/cad_3e17ac3761ba.glb
Create an Exact Measuring Scoop consisting of a thin-walled hollow tube standing vertically on a circular base. The main body is a cylinder with an outer radius of 5mm and an inner radius of 4mm, creating a wall thickness of 1mm. The height of this tube is 70.2mm. The tube sits atop a flat, solid circular base with a r...
weight = 3; radius=4; modifier=117; fragments = 180; height=(weight/0.0502655)/100*modifier; union(){ difference() { cylinder(height, radius+1, radius+1, $fn = fragments, center=false); cylinder(height, radius, radius, $fn = fragments, center=false); } translate([0,-15,1]){ ...
glb/cad_4030c93cbac5.glb
Create a Jiffy holder for six seed pods. Start by creating a central vertical cylinder with a diameter of 45mm and a height of 65mm. Surround this central cylinder with six shorter cylinders, each with a diameter of 43.975mm and a height of 15mm. Position these six outer cylinders so that their centers are 44mm from th...
dia = 44; h = 15; h2 = 65; thck = 1; pcsH = 15; $fn=60; difference() { union() { cylinder(d=dia+thck,h=h2); for(i= [0:5] ) { rotate([0,0,60*i]) translate([dia,0,0]) cylinder(d=dia-0.025,h=h); } } translate([dia/2,dia/2+1,3*pcs...
glb/cad_41816db6d6b7.glb
Create a tablet holder by starting with a solid rectangular block that is 100mm wide, 300mm high, and 50mm deep, centered on the origin. Carve out a slot at the top to hold a device, creating a rectangular opening that is 110mm wide and 15mm thick, positioned at a height of 100mm from the center and extending 16mm deep...
holder_width = 100; holder_height = 300; holder_depth = 50; tablet_thickness = 15; frame_height = 15; difference(){ cube([holder_width,holder_height,holder_depth],center = true); translate([0, holder_height/3, (holder_depth/2)-frame_height+1]) linear_extrude(height=frame_height) square([holder_width+10,tablet...
glb/cad_60e55eab964a.glb
Create a printer output tray with a main flat body and two integrated mounting pins. The main tray body is 122mm wide and 100mm long with a thickness of 2.5mm. The two rear corners of the tray are rounded with a radius of 15mm. At the center of the rear edge, create a rectangular cutout (flex gap) that is 7mm wide an...
pin_len = 5; pin_d = 3.35; shoulder_d = 5.5; shoulder_len = 1.5; pin_x = -15; pin_y = 12; tray_width = 122; tray_len = 100; tray_bottom_corner_x = 8; tray_bottom_corner_y = -9; thickness = 2.5; tray_corner_radius = 15; tray_curve_r = 45.75; tray_curve_squish = .5; flex_gap_width = 7; flex_gap_len = 70; $fa = 1; $...
glb/cad_73e65421a26a.glb
Create a showergel and electric toothbrush holder. Start with a main rectangular block measuring 190mm in width, 90mm in depth, and 80mm in height. Hollow out the center of this block by removing a smaller rectangular volume of 183mm by 85mm by 85mm, leaving a thick-walled open container. On the left side, add a vert...
module example002() { difference(){ union(){ translate([-57, 0, -15 ]) cube([3, 34, 50], center = true); difference(){ cube([190, 90, 80], center = true); translate([0, 0, 5]) cube([183, 85, 85], center = true); translate([80- 5*30 , -i*19, 0 ]) cylinder(h = 90, r1 = 3, r2 = 3, center = true); } toothBrush...
glb/cad_ea1bfd8c57a6.glb
Create a PSU Cover and Switch mount consisting of two separate parts. First, create a terminal cover as a hollow rectangular box measuring 110mm x 49mm x 25mm with 2mm thick walls. Remove a rectangular section from the top measuring 110mm x 19mm x 25mm. On the bottom face, center a circular hole with a 10mm diameter. ...
m3_nut_rad = 5.3/2; switch_depth = 36; module terminal_cover() { difference() { cube([110,49,25]); translate([2,2,2]) cube([106,45,25]); translate([0,42,7]) cube([110,19,25]); translate([-1,15,20]) rotate([0,90,0]) cylinder(120,1.75,1.75,$fn=32); translate([10,7,-1]) cylinder(10,4,4,$fn=32); ...
glb/cad_6e79c18f5e37.glb
Create a customizable message keychain. Start by designing the text "allenZ" using a futuristic font style, with each letter 10mm high and 5mm thick. Center this text atop a rectangular base. The base should be a flat stick measuring 8mm wide and 3mm thick, with a total length calculated as the number of characters in ...
include <write/Write.scad> message = "allenZ"; Font = "write/orbitron.dxf"; font_size = 10; font_thickness = 5; stick_thickness = 3; stick_width = 8; hole_radius = 3; flat_bottom = 2; translate ([0,0,font_thickness/2]) union () { write(message,t=font_thickness, h=font_size, center = true, font = Font); if (fl...
glb/cad_76bfbdee4449.glb
Create a toy tanker truck consisting of a chassis and a tank. For the chassis, start with a rectangular block 55mm long, 36mm wide, and 25mm high. Carve out two wheel wells to accommodate axles. Each axle assembly consists of a central cylinder 10mm long with a 4.5mm radius, flanked by two conical sections that transit...
truck(); tank(); axle_rad=3; wheel_rad=9; axle_space=1.5; wheel_space=2.5; module truck() { wheels(); translate([30,0,0]) wheels(); difference() { translate([-12.5,-5.5,0]) cube([55,36,25]); for (v=[[30,0,0],[0,0,0]]) translate(v) { cylinder(h=2.5,r=wheel_rad+wheel_space); translate([0,0,2.5]) cyli...
glb/cad_1395360ba96c.glb
Create a bed leveling bracket consisting of a cylindrical base and a partial outer wall. Start with a solid cylinder at the bottom with a radius of 7.25mm and a height of 2mm. Centered on top of this base, add a larger hollow cylindrical shell with an outer radius of 9.25mm and a total height of 10.3mm. The interior ...
$fn = 360; nut_hole_width = 5.8; opening_degrees = 147; inner_diameter = 14.5; inner_height = 6.3; bottom_height = 2; top_height = 2; side_wall_width = 2; top_width = 4; eps = 0.01; eps2 = 2 * eps; total_height = bottom_height + inner_height + top_height; inner_radius = inner_diameter/2; outer_radius = inner_rad...
glb/cad_e5eac082b006.glb
Create a Tooth Brush Hanger with a rectangular base measuring 120mm in width, 50mm in depth, and 40mm in height. The main body is a hollowed-out shell with a wall thickness of 2.5mm. Along the front face, create four evenly spaced wedge-shaped cutouts to hold toothbrushes. Each cutout starts as a small circle (5mm di...
n = 4; dim = [120,50,40]; wall = 2.5; afschot = 10/100; fasteners = true; z_off = dim.z/2; ver = 2; layer_height = 0.3; $fa=2; $fs=2*layer_height; a = atan(3/2); r_groove = 2*wall/cos(a); r_base = r_groove + wall; rr = r_base; sep = dim.x/(n+1/3); echo(str("inclination=",atan(afscho...
glb/cad_810e34b383a7.glb
Create a Tantillus dowel mount consisting of a flat rectangular plate and a perpendicular cylindrical spindle. Start with a rectangular plate 54.5mm wide, 28mm high, and 1mm thick. Place two circular holes with a radius of 2.5mm through this plate; center the first hole 7.25mm from the left edge and the second hole 47....
module spindle() { difference() { union() { translate(v=[0,-8,0]) { cube(size=[8,16,54.5]); } cylinder(h=54.5, r=8, $fn=30); } translate(v=[0,0,-.25]) { cylinder(h=55, r=4.0, $fn=30); } } } rotate(a=[0,-90,0]) { union() { difference() { translate(v=[0,0,0]) { cube(size=[54.5,10+10+...
glb/cad_1134e9b2dd1d.glb
Create a customizable coat hook consisting of a rounded head and a cylindrical base. Start by creating a central disc with a diameter of 80mm and a thickness of 25mm. Soften the outer edge of this disc by applying a rounding radius of 25mm to the perimeter. Attached to the flat back of this disc, add a cylindrical sh...
thickness=25; wall_distance=25; roundness=25; Diameter=80; Diameter2=36; screw_distance=20; screw_hole_size=8; $fn=100; s=screw_hole_size*1.53; r1=Diameter/2; translate([0,0,thickness/2]) cylinder(h=thickness,r=r1-roundness,center=true); translate([0,0,thickness/2]) rotate_extrude(convexity=10) translate([r1-...
glb/cad_6b077fe4881a.glb
Create a Pilot Headset Boom Mike Attachment in the shape of a thick washer. Start by creating a large cylinder with a radius of 100mm and a height of 30mm. From the center of this cylinder, remove a smaller concentric cylinder with a radius of 50mm and a height of 70mm, positioned such that it extends 20mm below the ba...
difference() { cylinder (r=100, h=30); translate ([0,0,-20]) {cylinder (r=50, h=70);} }
glb/cad_271d5120072a.glb
Create a Pilot Headset Boom Mike Attachment consisting of two stacked cylinders. First, create a wide base cylinder with a radius of 100mm and a height of 50mm. On top of this base, center a second cylinder with a radius of 50mm and a height of 80mm. To create the necessary channels and mounting points, remove the foll...
difference(){ union() { cylinder (r=100, h=50); cylinder (r=50, h=80); } union() { translate([-55,75,45]) rotate(a=[0,90,0]) cylinder(r=15, h=1000); translate([-57,80,45]) rotate(a=[90,0,0]) cylinder(r=15, h=160); translate([-55,-75,45]) rotate(a=[0,90,0]) cylinder(r=15, h=1000); translate([0,0,-1...
glb/cad_21413f196a60.glb
Create a Microduino Cube V1 casing by starting with a rounded rectangular block. The main body is formed by taking a cube of 30mm x 65mm x 10mm and applying a Minkowski sum with a sphere of radius 16mm to create smooth, rounded edges. Hollow out the center of this shape to create a cavity. Remove a central rectangular...
res=50; module screw(){ translate([0,0,0]) cylinder(r=1,h=30,center=true,$fn=res); translate([0,0,35]) cylinder(r=3,h=60,center=true,$fn=res); translate([0,0,-35]) cylinder(r=3,h=60,center=true,$fn=6); } module mdsV2Box(){ difference(){ translate([0,0,0]) cube([42,61,30],center=true); translate([18.9,23,0]) c...
glb/cad_d85688fd9acd.glb
Create a spool bracket consisting of a central vertical hub and four radiating arms. Start with a central square block measuring 10mm by 10mm with a height of 18mm. Drill a vertical hole through the center of this block with a diameter of 3mm. Extend four arms from the center, each 52mm wide and 18mm high. The inner p...
spool = 52.0; axle_d = 6.0; arm_h = 18.0; wall = 1*2.0; flange = 1*4; flange_h = 1*3; ridge = 1*1.0; arm_w = axle_d + 2*wall; fudge = 1*0.1; view(); module rounded_cube(d, y, z) { cyl_r = d/2 - ridge; intersection ( ){ union () { cylinder(r = cyl_r, h = z, $fn=100); translate([0, 0, z-ridge]) cylinde...
glb/cad_61ad8783cec7.glb
Create a 3D Periodic Density model consisting of a base plate and a grid of element blocks where the height of each block represents its relative density. Start with a base plate measuring 200mm by 100mm with a thickness of 2mm. On the top surface, add a title block measuring 80mm by 20mm with a height of 2mm, and en...
use<write.scad> translate([-200,4,0]) cube([200,100,2]); translate([-160,80,1]) cube([80,20,2]); translate([-120,90,4]) writecube("Density",[0,0,4],t=2,h=6,face="top",up=0); translate([-185.1,90.1,1]) cube([10.2,10.2,1]);translate([-185.1,90.1,1]) writecube("H ",[5.1,5.1,1],0,face="top",up=0); translate([-15.1,90.1,1]...
glb/cad_5c796ef37efa.glb
Create a HobbyKing MultiWii Pro V2.0 case consisting of a bottom base and a top lid. For the bottom base, create a rounded cube with overall dimensions of 54mm x 54mm x 15mm and a corner radius of 1.5mm. Hollow out the center to create a cavity of 50mm x 50mm x 11mm, leaving a wall thickness of 2mm. On the bottom fac...
Demo = true; ShowDeckel = true; ShowBoden = true; SpiLoch = false; use <Minkowski.scad>; if(Demo) include <MultiWii_Pro_Board.scad>; size_x = 50+1.0; size_y = 50+1.0; size_z = 11+0.0; cut = 9; radius = 1.5; wand = 2.0; eps = 0.05; if(ShowBoden) Boden(); if(ShowDeckel) translate([0, 0, Demo?eps:size_z+2*wand]...
glb/cad_f16e57dd41f9.glb
Create a HobbyKing MultiWii Pro V2.0 case in the shape of a rounded cube. The overall dimensions of the cube are 10mm by 10mm by 10mm. To achieve the rounded effect, apply a corner radius of 1mm to all edges. The geometry should be constructed using a low-facet resolution, specifically using a facet count of 16 for any...
details=4; $fn=pow(2,min(max(1,details),7)); module RoundedCube(size, radius, center=false) { radiussize = min(min(min(4*radius, size[0]), size[1]), size[2]); minkowski() { cube([max(0.0001,size[0]-radiussize), max(0.0001,size[1]-radiussize), max(0.0001,size[2]-radiussize)], center); cylinder(r=radiussi...
glb/cad_c3a0b67eeef1.glb
Create a HobbyKing MultiWii Pro V2.0 case by starting with a main rectangular board measuring 50mm by 50mm with a thickness of 1.54mm. The board should have rounded corners with a radius of 2.5mm. At each of the four corners, create a circular mounting hole with a diameter of 3.05mm, centered 2.5mm from the edges. O...
translate([-25, -25, 3.5]) HK_MultiWii_Pro_Board(); module HK_MultiWii_Pro_Board () { MWPB_Corner_Radius=2.5; MWPB_X_Size=50; MWPB_Y_Size=50; MWPB_Z_Size=1.54; $fn=150; fudge=.01; color("MediumBlue") difference() { translate([MWPB_Corner_Radius,MWPB_Corner_Radius,0]) minkows...
glb/cad_3c73dd290693.glb
Create a net cup holder for a wide-mouthed jar by constructing two stacked cylinders with a central hole. First, create a wide base cylinder with a radius of 45mm and a height of 10mm. Directly on top of this base, center a second cylinder with a radius of 36.5mm and a height of 20mm. Finally, remove a vertical cylindr...
$innerPieceRadius = 36.5; $netCupRadius = 26.5; $rimRadius = 45; $innerPieceHeight = 20; $rimHeight = 10; difference(){ union(){ cylinder(h=$rimHeight, r=$rimRadius); cylinder(h=$innerPieceHeight, r=$innerPieceRadius); }; cylinder(h=$innerPieceHeight * 3, r=$netCupRadius); }
glb/cad_6fa15e410c22.glb
Create a print-in-place dial assembly on a base plate. Start with a rectangular base plate measuring 30mm x 30mm x 4mm. At an offset of 2.5mm from the left and front edges, place a square island measuring 25mm x 25mm x 2mm. Within this island, create a central cylindrical void that extends from the base plate through ...
include <BOSL/constants.scad> use <BOSL/masks.scad> renderResolution = 50; basePlateSize = [30,30,4]; islandSize = [25,25,2]; module sector(radius, angles, fn = renderResolution*5) { r = radius / cos(180 / fn); step = -360 / fn; points = concat([[0, 0]], [for(a = [angles[0] : step : angles[1] - ...
glb/cad_529e9422ee71.glb
Create a parametric free-turning knob with a total height of 20mm and a diameter of 30mm. The main body is a revolved solid with a flat bottom and a rounded top edge with a 5mm radius. Center a vertical through-hole with a diameter of 6.25mm passing through the entire height of the object. At the top of the knob, cre...
THRU_HOLE_DIAM=6.25; KNOB_HEIGHT=20; KNOB_DIAM=30; TOP_RADIUS=5; BOTTOM_RADIUS=2; WELL_DIAM=14; WELL_DEPTH=10; NUM_GRIP_CUTOUTS=12; GRIP_CUTOUT_DIAM=4; module rotate_on_circ(a, r) { dx=r*sin(a); dy=r*cos(a); translate([dx,dy,0]) children(); } module knob(){ difference(){ union(){ ...
glb/cad_a66ec4323f56.glb
Create a 3-axis camera gimbal for a Fatshark 600 TVL camera. The assembly consists of a central mounting structure designed to interface with HXT900 mini servos. Start by creating the main body, which is a rectangular block measuring 23mm in width, 12mm in depth, and 23mm in height. Attach a flat mounting plate to th...
ServoHXT900(); module ServoHXT900() { white = [1, 1, 1]; blue = [0.5, 0.5, 1.0]; brown = [0.6, 0.25, 0.2]; red = [1, 0.2, 0.1]; yellow = [1, 0.75, 0.1]; black = [0, 0, 0]; difference() { union() { color(blue) translate([6-23/2, 0, 23/2]) cube([23, 12, 23], center=true); color(blue)...
glb/cad_59c5f3d662fa.glb
Create a 3D model of a camera gimbal designed for a Fatshark 600 TVL camera. The main body is a rectangular block measuring 23mm in width, 12mm in depth, and 22.5mm in height, centered on the X and Y axes. Attached to the top of this block is a mounting plate measuring 32.5mm wide, 12mm deep, and 2.5mm thick, centered ...
ServoMG90S(); module ServoMG90S() { white = [1, 1, 1]; blue = [0.5, 0.5, 1.0]; grey = [0.6, 0.55, 0.35]; brown = [0.6, 0.25, 0.2]; red = [1, 0.2, 0.1]; yellow = [1, 0.75, 0.1]; black = [0, 0, 0]; difference() { union() { color(grey) translate([6-23/2, 0, 22.5/2]) cube([23, 12, 22.5], c...
glb/cad_3ef5905cd476.glb
Create a 3-axis camera gimbal for a Fatshark 600 TVL camera. First, construct the camera holder. Create a base plate 22.5mm wide, 22.5mm deep, and 3mm thick. Intersect this with a cube rotated 45 degrees to create chamfered corners. Add two cylindrical mounting posts with a radius of 2.5mm and a height of 3mm, positi...
Demo = 1; UseMG90S = 1; Kamerahalter = 1; Servoplatte = 1; Tragarm = 1; use <Servo HXT900.scad> use <Servo MG90S.scad> if(Kamerahalter==1) { translate([0, (Demo-1)*17.5+Demo*(-2-5), 0]) rotate([Demo*90, 0, 0]) difference() { union() { intersection() { translate([0, 0, 3/2]) cube([20.5+...
glb/cad_a1eb0bc25cba.glb
Create a camera gimbal consisting of two identical mirrored arms. For one arm, start with a base block 12mm wide, 6mm deep, and 8mm high. Attach a second block to this base, 18mm wide, 6mm deep, and 8mm high, rotated -30 degrees along the Z-axis. Extend the structure with a final rectangular section 20mm wide, 6mm deep...
Demo=1; Breite=8; use <Servo HXT900.scad> module Haltearm() { difference() { union() { cube([12, 6, Breite]); rotate([0, 0, -30]) cube([18, 6, Breite]); translate([15.6, -9, 0]) cube([20, 6, Breite]); } translate([-0.05, -3, Breite]) rotate([-20, 0, 0]) cube([15.5+2, 9+1, Breite]...
glb/cad_69de099bd318.glb
Create a camera gimbal mounting system consisting of two mirrored holding arms connected by a central base. Start by creating two identical holding arms. Each arm is a composite shape: a rectangular base of 12mm by 6mm by 8mm, joined to a second rectangular section of 18mm by 6mm by 8mm rotated -30 degrees on the Z-axi...
Demo=1; Breite=8; use <Servo HXT900.scad> module Haltearm() { difference() { union() { cube([12, 6, Breite]); rotate([0, 0, -30]) cube([18, 6, Breite]); translate([15.6, -9, 0]) cube([20, 6, Breite]); } translate([-0.05, -3, Breite]) rotate([-20+(8-Breite)*5, 0, 0]) cube([15.5+2,...
glb/cad_729d86d358ea.glb
Create a camera gimbal mounting plate by starting with a central rectangular block measuring 33mm wide, 18mm deep, and 5.2mm high. At each end of this block, centered 8mm from the side edges and 4mm from the front and back edges, create a vertical hole with a radius of 1.5mm that passes completely through the block. Ar...
Demo=1; Cos30=0.866025403; use <Servo MG90S.scad> module Haltearm() { translate([0, -20*Cos30, 10]) difference() { union() { cube([5, 12, 5.2]); rotate([-30, 0, 0]) cube([5, 20, 6]); } translate([2.5, 6, 0]) cylinder(r=1.8/2, h=5.21, $fn=10); } } if(Demo==1) translate([-5.5, 6-20*...
glb/cad_bbaae731e477.glb
Create a five-pointed star with a thickness of 5mm. The star is constructed by combining a central pentagonal prism with five surrounding triangular points. The central core is a regular pentagon with a circumradius of 15.8mm and a facet resolution of 5 sides. Extending from each face of this pentagon are five identica...
point=1.77; thick=5; size=1; spin=18; difference(){ translate([0,0,0])scale([size,size,1])rotate([0,0,spin]){ rotate([0,0,36])color("yellow")cylinder(r=15.8,h=thick,$fn=5); rotate([0,0,0])translate([22.96,0,0])rotate([0,0,0])scale([point,1,1])color("gold")cylinder(r=13.58,h=thick,$fn=3); rotate([0,0,72])translate([22....
glb/cad_4ac023bb1b8b.glb
Create a screen door latch by starting with a solid rectangular block measuring 24mm in length, 15.3mm in width, and 13mm in height. Drill a vertical hole with a radius of 1.8mm through the top face, centered at coordinates (3, 11.3). Remove a rectangular section from the bottom rear of the block, starting at x=8, with...
$fn=100; difference() { cube([24, 15.3, 13]); translate([3, 11.3, -0.1]) cylinder(r=1.8, h=13.2); translate([-0.1, -0.1, 6.7]) cube([5.6, 8.4, 6.4]); translate([8.0, -0.1, -0.1]) cube([17, 5.4, 13.2]); translate([-5.0, 12.5, -0.1]) rotate([0, 0, -20]) cube([5, 8, 13.2]); translate([14.0, 10.2, -0.1]) rotate([0, ...
glb/cad_5eda18cfb55a.glb
Create a mounting plate for an IEC320 fused power socket. Start with a rectangular base plate measuring 68mm in length, 48mm in height, and 2mm in depth. Center a rectangular cutout through the plate that is 48mm long and 31mm high. To create the retaining clips, add two thin rectangular strips that are 48mm long and...
socket_ext_length = 50; socket_ext_height = 31; socket_int_length = 48; socket_int_height = 28; plate_length = socket_int_length + 20; plate_height = socket_int_height + 20; plate_depth = 2; socket_clip_depth = 0.7; socket_clip_height = (socket_ext_height-socket_int_height)/2; socket_clip_cutout_depth = plate_depth ...
glb/cad_7afe85316afe.glb
Create a Desk Caddy by starting with a main rectangular block measuring 70mm wide, 40mm deep, and 4mm thick. Rotate this entire assembly 64 degrees along the X-axis. To form the base and support structure, add a rectangular section extending 15mm from the bottom of the main plate, creating a total depth of 55mm. With...
difference() { rotate([64,0,0]) { cube([70,40,4]); difference() { rotate([90,0,0]) { cube([70,18,15]); } translate([2,-2,6]) { cube([30,4,6]); } translate([70-8-18,-2,6]) { cube([18,4,6]); } } translate([0,0,14]) { cube([70,3,4]); } difference() { union() { tr...
glb/cad_04e240c9d38b.glb
Create a Desk Caddy consisting of two joined rectangular containers with a wall thickness of 2.5mm. First, construct a paper holder as a solid rectangular block 112mm wide, 30mm deep, and 115mm high. Hollow out this block by removing a smaller rectangular section from the center, leaving 2.5mm walls, and carve a semi-c...
paper_holder_width=112; paper_holder_depth=30; paper_holder_height=115; pencil_holder_width=100; pencil_holder_depth=40; pencil_holder_height=100; wall_thickness=2.5; translate([0,pencil_holder_depth-wall_thickness,0]) paper_holder(paper_holder_width,paper_holder_depth,paper_holder_height,wall_thickness); translate(...
glb/cad_6bc5ff801b80.glb
Create a two-part CD Hub Clamp designed to mount a disc onto a 5mm shaft. Both parts feature a central vertical hole with a 5.2mm diameter to accommodate the shaft. The first part is a base consisting of a wide cylindrical platform 30mm in diameter and 2.6mm thick. Centered on this platform is a cylindrical hub post 1...
slop = 0.2; fn = 50; eps = 0.03; SPOKES = 3; SpokeClearance = 0.2; CDID = 15 + slop; CDOD = 120; CDZ = 1.3; HubOD = 15.1; HubBaseOD = 30; HubID = 5.0 + slop; HubZ = CDZ*3; HubBaseZ = CDZ * 2; HubSlotW = 2; HubSW2 = HubSlotW - SpokeClearance; module CD() { difference() { cylinder(d=CDOD, h=CDZ, $fn=100); ...
glb/cad_c8fdff502e89.glb
Create a two-part CD Hub Clamp designed to mount a disc onto a 5mm diameter shaft. The first part is a base hub. Create a central cylinder with a diameter of 15.1mm and a height of 3.9mm. Attach a wider circular platform to the bottom of this cylinder with a diameter of 30mm and a thickness of 2.6mm. Drill a 5.2mm di...
slop = 0.2; fn = 50; eps = 0.03; SPOKES = 4; SpokeClearance = 0.2; CDID = 15 + slop; CDOD = 120; CDZ = 1.3; HubOD = 15.1; HubBaseOD = 30; HubID = 5.0 + slop; HubZ = CDZ*3; HubBaseZ = CDZ * 2; HubSlotW = 2; HubSW2 = HubSlotW - SpokeClearance; module CD() { difference() { cylinder(d=CDOD, h=CDZ, $fn=100); ...
glb/cad_0811d39dac8d.glb
Create a wearable glasses frame with a thickness of 5mm. The front consists of two symmetrical lens rims. Each rim is a rounded rectangle created by a hull of four circles with a radius of 10mm. The top edge of each rim is 150mm wide and the height is 50mm. The inner nose bridge area is 10mm wide at the top and 20mm wi...
top_nose_width= 10; lower_nose_width= 20; top_glass_width=150; lower_glass_width=150; glass_heigth=50; ear_to_ear=140; corner_roundness=10; ear_to_eye=100; thickness=5; aro=3; support_position=0.8; support_heigh=10; difference() { linear_extrude(height = thickness, center = true, convexity = 0, twist = 0) hull() {...
glb/cad_04ebf0795f08.glb
Create a printable bushing for an LM6UU bearing with a total length of 19mm and an outer diameter of 12mm. Start with a solid cylinder of these dimensions. Remove a central cylindrical hole with a diameter of 6mm that runs the full length of the part. Inside this central hole, create a helical groove pattern by remov...
$fn = 48; lm6uu_length = 19; lm6uu_id = 6.0; lm6uu_od = 12.0; id_clearance = 1.0; n = 5; layer_height = 0.5; difference() { cylinder(r = lm6uu_od/2, h = lm6uu_length); difference() { cylinder(r=(lm6uu_id+id_clearance)/2, h = lm6uu_length); linear_extrude(height = lm6uu_length, twist = 540/n, slices = lm6uu_l...
glb/cad_4640c1af1af7.glb
Create a capodaster for a guitar fretboard by designing a curved 3D plate with a thickness of 10mm. Start with a solid cylinder 70mm in diameter. From this, carve out a large circular section using a second circle with a radius of 241mm, centered 220mm above the origin, to create a thin, crescent-like arc. To ensure th...
linear_extrude(height=10) difference(){ intersection(){ circle(35); translate([0,220,0]){ difference(){ circle(241, $fa=0.01); translate([0,15,0,])circle(250, $fa=0.01); } } }; union(){ translate([-25,-20,0]) circle(2); translate([25,-20,0]) circle(2); } }
glb/cad_059b71d629aa.glb
Create an extruder stepper mount for a NEMA 17 motor. Start by creating a hollow square-like collar with a wall thickness of 3mm and an internal width of 42mm to fit the motor. The collar should have a total height of 15mm. Integrate a clamping mechanism by adding a vertical slit 3mm wide through the center of one wa...
slop = 0.2; wall = 3; base_plate_height = 16; b_p_th = 6; motor_w = 42; motor_r = 50/2; $fn=32; height = wall+12; 632_dia = 3.5; 632_rad = 632_dia/2+slop; hole_sep = 30; stepper_holder(); module stepper_holder() { scale_slop = 1.025; scale_size = (motor_w+wall+wall)/motor_w; difference(){ union(){ hul...
glb/cad_34c1acfc4495.glb
Create a measuring spoon by constructing a hollow cylinder with an attached rectangular handle. First, create a solid cylinder with a radius of 9mm and a height of approximately 9.95mm. Subtract a smaller concentric cylinder with a radius of 8mm and a height of 100mm from the center to create a thin-walled cup. Attach ...
$fn=150; volume = 5; height = (volume * 1000) / (PI * 64); difference(){ union(){ cylinder(h=height+2,r=9); translate([0,-5,height-1])cube([50,10,3]); } translate([0,0,2])cylinder(h=100,r=8); }
glb/cad_3d1e4e36d766.glb
Create a bottle-mug by constructing a hollow vessel and an attached handle. Start with a cylindrical base 10mm high with an outer radius of 5mm and an inner wall thickness of 0.5mm. On top of this base, add a 4mm high conical section that tapers from the 5mm base radius down to a 3mm radius at the top. Above the taper,...
$fn = 100; base_radius = 5; base_height = 10; slant_height = 4; mouth_opening_radius = 3; mouth_piece_height = 5; handle_height = base_height-2; module baseflask(){ difference(){ cylinder(h = base_height, r = base_radius); translate([0,0,1]) cylinder(h = base_height+2, r = base_radius - 0.5); } } module slantf...
glb/cad_d27263c94a0c.glb
Create a simple toy bench. Start by constructing a rectangular seat that is 10mm wide, 6mm deep, and 1mm thick. In the center of this seat, create a circular hole with a radius of 1mm that passes completely through the thickness. To form the backrest, create an identical 10mm by 6mm by 1mm rectangular slab and position...
x = 10; y = 6; z = 1; module bench(x1,y1,z1){ difference(){ cube([x1,y1,z1]); translate([x1/2,y1/2,0]) cylinder(h = z1+2, r = 1); } } module legs(){ translate([1,0,-4]) cylinder(h=4, r =1); translate([x-1,0,-4]) cylinder(h=4, r =1); translate([1,y-2,-4]) cylinder(h=4, r =1); translate([x-1,y-2,-4]) ...
glb/cad_24f9ad0a7e6a.glb
Create a sink grating consisting of a cylindrical base and a wider circular top. The structure is defined by a thickness of 2mm and a spacing of 3mm between concentric rings. Start with a central vertical cylinder with a diameter of 2mm (1 * 5mm spacing minus 2mm thickness) and a total height of 22mm. Surround this wi...
Height=20; Thickness=2; CirclesBottom=5; CirclesTop=2; GratingSpace=3; RadiansBottom=8; RadiansTop=16; SideGratingNumber=20; OverhangFix=0.2; Resolution=50; FirstCircle=1; FirstCircleFullHeight = "Yes"; Manifoldfix=0.1; FirstCircleHeight = (FirstCircleFullHeight=="Yes") ? Height : 0; CircleSpacing=GratingSpace+Thick...
glb/cad_344dd85f86b7.glb
Create a microphone shock mount bracket with a rectangular profile. The main body is a flat frame with an inner open area of 80mm width by 65mm height and a wall thickness of 8mm. The overall outer dimensions of the frame are 96mm by 81mm. The frame features a height of 25mm. At the corners, integrate vertical support...
inner_height = 65; inner_width = 80; thickness = 8; holes_apart = 23; recorder_width = 30; recorder_height = 20; cutoff = 8; apart = 50; screwlength=1.5; screw_diameter=3.5; hole_center = apart/2 - holes_apart/2; difference() { translate([(inner_width/2), 0, 0]) cube([thickness*2, thickness*0.6, apart/2]); trans...
glb/cad_c40f0a5de385.glb
Create a shadow mask by starting with a centered rectangular plate measuring 100mm in length, 100mm in width, and 2mm in thickness. In this plate, carve out a grid of circular holes that pass completely through the thickness of the material. Each hole should have a radius of 3mm. Arrange these holes in a repeating 2D a...
length = 100; width = 100; thickness = 2; $fn = 25; shape_size = 3; spacing = 9; module ShowPegGrid(Size) { difference(){ cube ([length,width,thickness],center = true); for (i=[-length/((spacing+1)*2) : length/((spacing+1)*2)]) for (j=[-width/((spacing+1)*2) : width/((spacing+1)*2)]) translate([i*spacing...
glb/cad_14e0a804d9d9.glb
Create a Cartoon Character Maker avatar by constructing a stylized head and facial features. Start with a head shape created by hulling a sphere at the top and a larger sphere at the bottom, tilted back by 20 degrees. Add a cylindrical neck at the base. For the face, place two eyes at a height of 50mm; each eye is a s...
resolution=8; height=100; head_tilt=20; top_width= 4; bottom_width = 3; neck = 4; hair_type="average guy"; hair_length = 5; eye_type="eye roll"; eye_size= 6; eye_angle=-8; eye_spacing=4; glasses="hipster"; eyebrow_thickness=7; eyebrow_length=7; eyebrow_tilt=15; facial_hair="full beard"; facial_hair_len...
glb/cad_6d02a5d67468.glb
Create an Airtripper Bowden extruder housing for a MK7 hobbed shaft collar. Start with a base plate 42mm wide by 42mm deep and 3mm thick. At the center of the base, create a circular cutout with a radius of 13mm, transitioning to a smaller concentric circular cutout with a radius of 5mm as it extends 20mm upward. A...
translate([0,0,0]) rotate([0,0,270]) extruder_block(); nema_l=71.5; nema_x=42; nema_y=42; nema_z=47.4; screw_l=30; insert_l=15; module axle_8mm() { cylinder(16,r=3.80, $fn=40); translate([-5,-0.5,0]) cube([10,1,1]); translate([-0.5,-5,0]) cube([1,10,1]); difference() { cylinder(1,r=10, $fn=40); translate([0,...
glb/cad_d74cc3ec7ad4.glb
Create a battery tray for five AA batteries. Start with a solid rectangular block measuring 74mm in width, 54mm in length, and 16mm in height. From the top face, remove a central rectangular volume measuring 70mm by 50mm with a depth of 14.67mm to create the main cavity. Within this cavity, carve out five vertical cyli...
thickness = 2; batteries = 5; brackets = true; type = "AA"; custom_diameter = 14; custom_length = 50; if (type == "custom") batteryTray(custom_diameter, custom_length); else if (type == "AA") batteryTray(14,50); else if (type == "AAA") batteryTray(10,44); else if (type == "AAAA") batteryTray(8.3,42.5); else if (type...
glb/cad_09764db5b2ef.glb
Create a Customizable Guitar Capo consisting of two primary components: a front pressure bar and a curved back support. For the front bar, create a rectangular block 12mm long, 44mm wide, and 4mm thick. Center a cylinder with a 1mm radius along the length of this block. Remove two rectangular sections from the center ...
nut_width = 44; capo_length = 12; capo_back_thickness = 4; capo_front_thickness = 4; neck_shape = 0.5; fretboard_height = 5; articulation_radius = 2; articulation_offset = 2; clip_height = 7; translate([20, 0, 0]) translate([fretboard_height, 0, 0]) { rotate([0, -90, 0]) difference() { union() { cube(size=[capo...
glb/cad_6f6d92df1725.glb
Create a RepRap filament holder consisting of a bottom bar, a top bar, and a retaining cap. For the bottom and top bars, create a rectangular block measuring 82mm in length, 16mm in width, and 16mm in height, with semi-cylindrical ends of radius 8mm. Center two holes of diameter 8mm along the length, spaced 58mm apar...
use <utils/build_plate.scad>; build_plate_selector = 3; build_plate_manual_x = 200; build_plate_manual_y = 200; peg_tolerance = 5; build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y); part = "all"; crossbar_diameter = 8; crossbar_spacing = 58; vertical_bar_diameter = 6; print_part(); ...
glb/cad_8cb7957bf267.glb
Create a clamp handle consisting of a rectangular base and an angled upper tip. Start with a base block 16mm wide, 20mm deep, and 11mm high. Remove a rectangular slot from the center of the base that is 8.25mm wide, 17mm deep, and 12mm high, leaving two outer walls. Drill a 3mm diameter hole through the center of the b...
s=0.01; $fs = 0.2; $fa = 3; CHWidth=16; CHBaseDepth=20; CHBaseBackWall=3; CHBaseHeight=11; CHBaseFrontRadius=2; CHGapWidth=8.25; CHGapDepth=17; CHGapHeight=12; CHTipLength=40; CHTipBaseRadius=10; CHTipBaseAngle=22.5; CHTipBaseAngle2=0; CHTipFlat1=17; CHTipEndRadius=15; CHTipEndRadiusOffset=30; CHTipCubeDepth=18.5; ...
glb/cad_8746743fa170.glb
Create a Small iPad2 Stand by extruding a specific 2D profile to a height of 200mm. The profile is rotated -20 degrees and consists of several joined geometric elements. Start with a main central body formed by a 10mm by 100mm rectangle with semi-circles of 5mm radius centered at both the top and bottom ends. Attach a ...
linear_extrude(height = 200) rotate(-20) { union() { square([10,100]); translate([5,100])circle(5); translate([5,0])circle(5); } translate([5,50]) rotate(45) translate([-5,-50]) union() { square([10,50]); translate([5,50])circle(5); translate([5,0])circle(5); } translate([-10,0])square([10,10]); translate([-20...
glb/cad_ba485313fac7.glb
Create a socket outlet mount designed as a half-open U-shaped bracket. The main body is a rectangular block with an outer width of 63mm (55mm internal width plus 4mm walls on each side), a height of 49mm (41mm internal height plus 4mm walls top and bottom), and a total depth of 19mm (15mm internal depth plus 4mm walls)...
holder_w=55; holder_h=41; holder_d=15; hole_dia=5; material_t=4; $fn=50; endclamp_halfopen(); module endclamp_closed(){ difference(){ translate([0,0,holder_d/2+material_t/2]){ cube([holder_w+2*material_t,holder_h+2*material_t,holder_d+material_t],center=true);} translate([0,0,holder_d/2+material_t]){ cube...
glb/cad_382624f13ce9.glb
Create an electrical toothbrush holder base as a rectangular block with rounded corners. The main body should be 350mm long, 150mm wide, and 100mm high, with a corner radius of 20mm. Remove three vertical cylindrical holes of varying sizes from the top face to create storage slots. Position the first and largest hole a...
module toothBrustHolderBase(size,radius){ x = size[0]; y = size[1]; z = size[2]; linear_extrude(height=z) hull() { translate([(-x/2)+(radius/2), (-y/2)+(radius/2), 0]) circle(r=radius); translate([(x/2)-(radius/2), (-y/2)+(radius/2), 0]) circle(r=radius); translate([(-x/2)+(radius/2), (y/2)-(radius/2...
glb/cad_1810abe4c5d6.glb
Create a Coin Tray for EUR Cents by starting with a rectangular base plate 1.67mm thick. The plate's width should be 74.25mm and its depth 64.25mm. Within this plate, carve out three rows of cylindrical holes, each 1.67mm deep, to hold coins. The first row consists of 5 holes with a diameter of 16.25mm, spaced with 2mm...
oneCent = 16.25; oneCentCount = 5; twoCent = 18.75; twoCentCount = 4; fiveCent = 21.25; fiveCentCount = 4; borderThickness = 2; maxLength = max(fiveCent*fiveCentCount+(fiveCentCount+1)*borderThickness, twoCent*twoCentCount+(twoCentCount+1)*borderThickness,oneCent*oneCentCount+(oneCentCount+1)*borderThickness); dif...
glb/cad_5b1206cf7ea0.glb
Create a stove knob consisting of a base dial and a separate attachment shaft. First, construct the dial. Create a circular base with a diameter of 53mm and a height of 2mm. On top of this, add a frustum (a tapered cylinder) with a bottom diameter of 53mm, a top diameter of 39mm, and a height of 10mm. Around the slop...
$fn=64; BASE=2; SHAFT_HOLE_DIAMETER = 6.1; SHAFT_OUTER_DIAMETER = 16; SHAFT_HEIGHT = 21; module roundedRect(size, radius) { x = size[0]; y = size[1]; z = size[2]; linear_extrude(height=z) hull() { translate([radius, radius, 0]) circle(r=radius); translate([x - radius, radius, 0]) circle(r=radius); ...
glb/cad_a0a10412cc53.glb
Create a Rounded Star by combining a central sphere with five symmetrical protruding arms. Start with a central sphere with a radius of 15.01mm. To create the five arms, generate five identical ellipsoids, each scaled to 50mm in length (X-axis), 17mm in width (Y-axis), and 15mm in height (Z-axis). Position these ellips...
cornerCount = 5; starRadius = 50; cornerWidth = 17; cornerHeight = 15; cornerFN = 64; maniFix=0.01; halve=true; useExperimentalCorner=false; useExperimentalTruncation=false; cornerSegmentCount=10; if(halve){ halveStar(); }else{ star(); } module halveStar(){ difference(){ star(); translate([0,0,-cornerHeight]) ...
glb/cad_1cc0e7a40975.glb
Create a spool holder base reinforcement part. Start with a solid cylinder 32mm in diameter and 10mm in total height. Center a vertical hole with a diameter of 8.1mm through the cylinder, but offset the center of this hole by 1.2mm along one axis. From the top surface, remove a rectangular block measuring 21mm by 15mm ...
use <write.scad>; $fn=64; top_th = 3.5; re_h = 6.5 + top_th; re_diam = 32; hole_offset = 1.2; rotate([0,180,0]) { mirror([0,0,1]) { difference() { translate([0,0,re_h/2]) cylinder (r=re_diam/2, h=re_h, center=true); translate([0,hole_offset,0]) cylinder (r=8.1/2, h=3*re_h, center=true); translate([0,0,top_th...
glb/cad_544fded5c138.glb
Create two identical L-shaped PCB solder paste stencil brackets, each with a thickness of 1.6mm. For the first bracket, create an L-shaped base with an inner length of 50mm along the long axis and 30mm along the short axis. The width of both arms of the L should be 30mm. Round all external corners with a radius of 2m...
num_parts = 2; thickness = 1.6; inner_length_1 = 50; inner_length_2 = 30; width_1 = 30; width_2 = 30; corner_radius=2; center_hole_radius = 2; pieces_seperation = 20; $fn=64; eps = 0.001; eps2 = 2*eps; module l_shape(xl, yl, zl, xw, yw) { difference() { cube([yw+xl, xw+yl, zl]); translate([yw, xw, ...
glb/cad_bdb347a917e3.glb
Create a parametric cup name tag by constructing a tapered ring. Start with a hollow conical frustum that has a bottom inner diameter of 60.75mm and a top inner diameter of 87.25mm, with a total height of 147.5mm. The wall thickness of this ring should be 4mm. To create the recessed band, remove a section from the rin...
lower_cup_diameter = 60.75; upper_cup_diameter = 87.25; cup_height = 147.5; ring_offset_from_bottom = 0; ring_height = 12; ring_thickness = 4; ring_recessed_height = 8; lower_radius = lower_cup_diameter / 2; upper_radius = upper_cup_diameter / 2; angle = atan(cup_height / (upper_cup_diameter - lower_cup_diameter) ...
glb/cad_55849a368ec6.glb
Create a snap-in case for the Hacklace2 electronics board. Start by creating a solid rectangular base measuring 55mm in length, 30mm in width, and 13mm in height. Center a rectangular hollow cavity inside this base that is 47mm long, 26mm wide, and 13mm deep. At one end of the case, add a semi-circular tab extending o...
print_case(0); module show(with_headers) { translate([0, 0, 3+9.5-3]) hl2(with_headers); color("green") case_lower(with_headers); } module show_exploded(with_headers) { translate([0, 0, 35]) hl2(with_headers); color("green") case_lower(with_headers); } module print_case(with_headers) { case_lower(wit...
glb/cad_d4d667192814.glb
Create a Meme picture frame designed to hold a 100.4mm by 152.4mm photo (4x6 inches) with a total frame depth of 3.2mm. Start by creating a solid rectangular base with dimensions 101.6mm by 153.2mm and a height of 3.2mm. Hollow out the center to create a frame wall 0.8mm thick. Inside this, create a second rectangula...
include <strings.scad> TOLERANCE = 0.4; INCHES_TO_MM = 25.4; PHOTO_HEIGHT = 4 * INCHES_TO_MM + TOLERANCE; PHOTO_WIDTH = (6) * INCHES_TO_MM + TOLERANCE; PHOTO_DEPTH = 0.4; FRAME_SIZE = 5; WALL_WIDTH = 0.8; FRAME_DEPTH = 3.2; TAB_SIZE = 1; TAB_LENGTH = 20; STAND_WIDTH = 20; STAND_ANGLE = 15; STAND_OFFSET = 0.2; $fs=0.25...
glb/cad_d039f24d9ceb.glb
Create a robot leg part with an overall thickness of 5mm. At the rear, create a rectangular rubber clamp with an outer diameter of 11.5mm and a height of 5mm. This clamp should be a hollow ring, partially open to allow a rubber insert to be placed inside. Extend the body forward from the clamp. The middle section cons...
servoposition=48; cons = 17; ralt=4; svbt=1.5; num=5; plateau =11.5; wall=1.5; stab=1.1; zdim=5; sl = 23; sw = 12.5; smhr = 1; smhd = 26.5; rubd = 6.7; rubh = 6; two_se = false; module servo(){ cube([sl,sw,40],center=true); translate([-smhd/2,0,0]) cylinder(r=smhr, h=40,center=true,$fn=10); if (two_s...
glb/cad_dd28d9854ea2.glb
Create a poppy model by joining two overlapping cylinders, each 50mm in diameter and 3mm high, with their centers offset by 25mm. At the center point between these two discs, place a smaller vertical cylinder 7.5mm in diameter and 5mm high. Extend a thin stem downwards from this center point by adding a cylinder 3mm in...
$fn=50; module poppy(){ color("red") cylinder(h=3,d=50); translate([25,0,0]) color("red") cylinder(h=3,d=50); translate([12.5,0,0]) color("black") cylinder(h=5,d=7.5); translate([12.5,0,-5]) color("green") cylinder(h=5,d=3); } difference(){ poppy(); translate([12.5,3,-2]) rotate([90,0,0]) color("blue") cy...
glb/cad_b8b5f3260004.glb
Create a larger foot for a caravan step by constructing a composite circular base with a central raised collar. Start with a primary disc that has an outer radius of 26mm and a total thickness of 6mm. In the center of this disc, create a raised cylindrical ring with an outer diameter of 29.9mm and an inner diameter of ...
include <MCAD/shapes.scad> rohr=19.9; rohr2=19.1+6; tiefe=10; dicke=5; h1=sin(18)*rohr2/2; $fn=50; difference(){ union(){ difference(){ wheel(26,2*dicke+1); translate([-40,-40,0]) cube([80,80,dicke+1]); } translate([0,2,-h1]) rotate([18,0,0]) cylinder(r=rohr/2+5,h=tiefe+h1) ; } translate([0,0.8,0]) rot...
glb/cad_d1f0d9b3e12a.glb
Create a simplified Wall-E robot model. Start with a central body as a cube measuring 40mm in width and depth, and 36mm in height. For the locomotion, add two track assemblies on the sides. Each track consists of a hull containing three cylinders of varying radii (the largest being 13.3mm) to form the tread shape, wi...
size=40; hoehe=size*0.9; raeder=size/3; auge=size/5; augendicke=size*0.5; augenhoehe=size/3; armdicke=size/12; armlaenge=size*0.65; $fn=30; wall_e(); module wall_e(){ difference(){ cube([size,size,hoehe],center=true); translate([-size/2,0,size/3.3]) cube([2,size*0.7,size/10],center=true); translate([-size/2,si...
glb/cad_0fef9fa4a351.glb
Create a Poppy Ring by first constructing the flower head from two overlapping cylinders, each with a diameter of 50mm and a height of 3mm. Position the first cylinder at the origin and the second shifted 25mm along the x-axis so they partially overlap. In the center of this combined shape, place a smaller vertical cyl...
$fn=50; module poppy(){ color("red") cylinder(h=3,d=50); translate([25,0,0]) color("red") cylinder(h=3,d=50); translate([12.5,0,0]) color("black") cylinder(h=5,d=7.5); translate([12.5,5,-8]) rotate([90,0,0]) color("green") cylinder(h=10,d=20); } difference(){ poppy(); translate([12.5,5,-8]) rotate([90,...
glb/cad_853e3b0e534c.glb
Create a compact case for a 1/3 inch Sony CCD camera PCB. The main body is a hollowed rectangular shell with outer dimensions of 39.7mm by 39.7mm (PCB size 38.3mm plus 0.7mm walls and 0.2mm clearance). The shell height is 6.1mm (composed of a 4.8mm clamp height and a 1.3mm PCB thickness). The top surface features a ce...
pcbsize = [38.3, 38.3, 1.4]; lens_offset = [0.0, 0.0, 0]; component_height = 2.0; corner_height = 1.0; lens_mount_neck_d = 16.0; lens_mount_base_h = 7.0; lens_mount_h = 13.0; screw_h = 2.5; screw_w = 2.5; clearance = 0.2; ramp_w = 0.4; clamp_d = 1.3; clamp_height = 1.3 + 3.5; wall = 0.7; wall_angle = 60; d = 0.1; c...
glb/cad_647dc23dae04.glb
Create a desiccant box with a main body measuring 100mm in length, 50mm in width, and 14mm in height. The body should be a hollow rectangular shell with a uniform wall thickness of 1.5mm. To create the interior cavity, remove a central block starting 1.5mm from the bottom and 1.5mm from each side wall. Along the top in...
$fn=30; len=100; wid=50; hgt=14; w=1.5; difference(){ cube([len,wid,hgt]); translate([w,w,w]) cube([len-w*2,wid-w*2,hgt+2]); } translate([w/2,wid/2+5/2,hgt-w]) rotate([90,0,0]) cylinder(r=w,h=5); translate([len-w/2,wid/2+5/2,hgt-w]) rotate([90,0,0]) cylinder(r=w,h=5); cylinder(r=wid*0.3,h=0.4); translate([len...
glb/cad_586b56daf308.glb
Create a Desiccant Box with a snap-on lid. The main body is a rectangular open-top container with outer dimensions of 103mm in length, 53mm in width, and 8mm in height, featuring a uniform wall thickness of 1.5mm. The lid is a matching rectangular frame with outer dimensions of 103mm by 53mm and a height of 8mm. The ...
$fn=30; len=100; wid=50; hgt=8; w=1.5; s=0.4; slit_wid=1.5; module bodyrt(){ difference(){ cube([len+w*2,wid+w*2,hgt]); translate([w-s,w-s,w]) cube([len+2*s,wid+2*s,hgt+2]); } } module slits(){ no_of_cells = floor((len-5)/(slit_wid*4))-0; for (i = [0 : no_of_cells]) { translate([5+1.5+(i*slit_wid*4...
glb/cad_8b0a4bacb259.glb
Create a Raspberry Pi Camera Mount consisting of a rectangular base plate with two upright support pillars. Start with a flat rectangular base that is 20mm wide, 30mm deep, and 2mm thick. At the two rear corners of this base, add two vertical cylindrical pegs, each with a radius of 1mm and a height of 3mm. Connect thes...
tolerance=0; module nop() { } module centercube(sz) { translate(sz/-2) cube(sz); } module camera(peg=1.0) { translate([-21,-12.5,0]/2) cylinder(r=peg,h=3,$fn=32); translate([21,-12.5,0]/2) cylinder(r=peg,h=3,$fn=32); translate([-21,12.5,0]/2) cylinder(r=peg,h=3,$fn=32); translate([21,12.5,0]/2) cylinder(r=peg,...
glb/cad_b44be06d4ea2.glb
Create a Bike Seat Rail Mount platform with a total width of 36mm, a total length of 56mm, and a total height of 11mm. The main body is a rectangular block with a large internal cutout measuring 30.5mm wide by 5.25mm high, extending along most of the length. A second, shallower top cutout measures 25.25mm wide by 6mm h...
TW=36; TL=56; TH=11; MBL=31; TWT=1.9; WT=2; ICW=30.5; ICH=5.25; TCW=25.25; TCH=6; TabCD=18.5; TabCW=16; TabEx=11.5; TabL=TabCD+TabEx; TabT=1.5; TabW=12; GRad=6; union(){ difference(){ cube([TW,TL,TH],center=true); translate([0,WT,TH/2-TWT-ICH/2]) cube([ICW,(TL-WT),ICH],center=true); translate([0,WT,TH...
glb/cad_71e91e127475.glb
Create a replacement speaker stand consisting of two symmetrical legs. Each leg is based on a semi-circular arc with an outer diameter of 11mm and an inner diameter of 6mm, creating a wall thickness of 2.5mm. The arc spans 180 degrees. At each end of the arc, extend a straight rectangular section 15mm in length and 2.5...
include <MCAD/units/metric.scad> include <options.scad> use <MCAD/shapes/2Dshapes.scad> use <MCAD/shapes/polyhole.scad> module legs () { difference () { translate ([0, screw_spacing / 2 + leg_thickness / 2, 0]) rotate (gradient, X) translate ([0, -(screw_spacing / 2 + leg_thickness / 2), 0...
glb/cad_6109a62767d6.glb