Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a dust boot for a 57mm spindle consisting of two main components: a boot and a brush holder. For the boot, start with a main cylinder 62mm in diameter and 20mm high. Attach a rectangular block 50mm wide, 38mm deep, and 20mm high to the side. On the opposite side, add a cylinder 19mm in radius and 30mm high. Fr...
$fn=180; view=0; if (view) { boot (); color ("green") translate ([0,0,7]) rotate ([180,0,82]) brush (); } else { boot (); translate ([40,-50,38]) rotate ([180,0,0]) brush (); } module boot () { difference () { union () { cylinder (r=62/2, h=20); translate ([-43,-5,0]) cube ([15, 10, 20]); translat...
glb/cad_7315fc49b799.glb
Create a servo arm consisting of a tapered main body and a geared mounting hub. Start by creating a hull between two cylinders aligned on the Z-axis: a base cylinder with a diameter of 12mm and a height of 3mm, and a second cylinder positioned 20mm away with a diameter of 7mm and a height of 2mm. At the wider end, co...
durchmesser_hinten = 12; durchmesser_vorn = 7; dicke_hinten = 3; dicke_vorn = 2; laenge = 20; bohrung_vorn = 1.5; bohrung_hinten = 3.5; servo(); difference(){ hull(){ translate([0,0,0])cylinder(h=dicke_hinten,d=durchmesser_hinten,$fn=100); translate([laenge,0,0])cylinder(h=dicke_vorn,d=durchmes...
glb/cad_463a4392b534.glb
Create a Simple Filament Feeder by extruding a specific 2D profile to a height of 50mm. The profile consists of a flat base 30mm wide and 1.8mm thick. At each end of this base, attach a vertical sidewall 21mm high and 1.8mm thick; the outer top edge of each sidewall should be tapered inward by 0.25mm and angled 15 degr...
side1=21; side2=23; wallt=1.8; bottom=30; F=5; L=50; module tsquare(D) { tx=0.25; polygon(points=[ [0,0], [tx,D[1]], [D[0]-tx,D[1]], [D[0],0] ]); } module SideWall() { square([wallt,side1]); translate([0,side1-wallt/2]) rotate([0,0,15]) tsquare([wallt,side2]); } module Fillet() { difference() { t...
glb/cad_82799ed31097.glb
Create a Baphomet Portal symbol consisting of a circular ring and an inscribed five-pointed star. The overall diameter of the circular ring is 75mm with a thickness of 3mm. The star is formed by five intersecting linear beams that span the interior of the circle, with each point of the star meeting the inner edge of ...
imageSize = 337; sigilD = 75; sigilSprueLen = 5; sigilSprueInner = 0; sigilSprueD = 4; sigilR = sigilD/2; z = sigilD/imageSize; ringThick = 3; module head() { translate([0,2,0]) translate([ringThick,ringThick,0]) scale((sigilD-ringThick*2)/337) scale([1,1,ringThick*20/255]) translate([0,0,-2...
glb/cad_9cec0a064ea7.glb
Create a Neopixel holder for a Baphomet sigil. The object is a circular frame designed to hold a LED strip and support a clear plastic sigil. The main structure is a ring with an outer radius of approximately 41.5mm (calculated from the sigil radius of 37.5mm plus the sprue length of 5mm and a small thickness offset)....
clearance = .25; $fn = 288; neopixelWidth = 4.85 + clearance*2; neopixelHeight = 4.90 + clearance*2; neopixelDepth = 1.85 + clearance; neopixelLensDiameter = 3.64+clearance; backingStripThickness = .4; backingStripLength = 33.05 + clearance * 2; backingStripWidth = 10.04 + clearance; backingStripConductorSpacin...
glb/cad_6a64006d41c4.glb
Create a Baphomet Portal prop consisting of a decorative base and a central symbol. First, construct the base as a modular floor section. Create a rectangular block 50mm wide and 50mm deep with a base height of 7.5mm. On the top surface of this base, add a texture layer 3.7mm thick. Incorporate a grid of grooves 0.65...
OF_square = 25; OF_wall_height = 50; OF_base_height = 7.5; OF_groove_width = .65; OF_wall_thickness = 10.2; OF_floor_texture_depth = 3.7; OF_wall_texture_depth = 1; module OF_Floor( floorXY = [OF_square*2, OF_square*2], containingZ = OF_wall_height, baseHeight = OF_base_height, baseWallThickness ...
glb/cad_c35a1aab4003.glb
Create a circular labyrinth model with a total diameter of 45mm and a height of 1mm. The design consists of a series of concentric ring-like walls and paths that are divided into three equal 120-degree radial sectors. Construct the walls by creating a series of concentric cylinders with varying inner and outer radii. ...
$fn=48; D = 45; R = D/2; H = 1; HH = H * 2; spacing = R/10; thickness = spacing * .616; function xof(r, y) = sqrt(1 - y/r*y/r) * r ; function outerR(i) = R - i * spacing - spacing/2 + thickness/2; function innerR(i) = R - i * spacing - spacing/2 - thickness/2; function upperY(i) = i*spacing + thickness/2; f...
glb/cad_483b4cb94c51.glb
Create a simple LED holder by starting with a central rectangular block measuring 3mm by 11mm by 30mm, centered on the origin. Remove a cylindrical section with a radius of 4.3mm and a length of 15mm from the bottom end of the block, centered along the 11mm width. At the opposite top end, create a hollow cylindrical sl...
rotate([90,0,0]) union(){ difference(){ cube(size = [3,11,30], center = true); translate(v=[-5,0,-9]) rotate([0,90,0]) cylinder(h = 15, r=4.3, $fn = 30); translate(v=[-5,0,9]) rotate([0,90,0]) difference(){ cylinder(h = 15, r = 25 , $fn = 30); cylinder(h = 15, r = 23 , $fn = 30); } } difference(){ translate(v=[-1...
glb/cad_b02aa158faf2.glb
Create a sphere flower pot by starting with a low-resolution polyhedral sphere with a radius of 14mm and 15 facets. Hollow this out by removing a concentric inner sphere with a radius of 13mm to create a shell with a 1mm wall thickness. To create the planting holes, remove five identical cylinders, each with a radius o...
difference(){ difference(){ difference(){ difference(){ difference(){ difference(){ sphere(14, $fn=15, center = true); translate([0,0,10]) cylinder(1, h=9, r1=5.5, r2=5.5, center = true); } sphere(13, $fn=50, center=true); } translate([0,10,8]) rotate([150,0,0]) cylinder(1, h=9, r1=4.5, r2=4.5, center=true);...
glb/cad_40be0dbdf434.glb
Create a Li-ion battery reuse adapter. Start with a main outer box measuring 35.9mm wide, 51.7mm deep, and 14.7mm high. The walls and base are 1.2mm thick, with a base thickness of 3mm. Hollow out the center to create a battery compartment measuring 32.5mm wide, 47.5mm deep, and 10.5mm high. The compartment floor is t...
width = 32.5; depth = 47.5; height = 10.5; wallThickness = 1.2; baseThickness = 3; lockLength = 3; holderWidth = 5; contactCover = 1; contact1Distance = 10; contact2Distance = 24; Holes = 1; holeDiameter = 3; holeHeadDiameter = 6.5; holeHeadHeight = 2; holeXDistance = 20; holeYDistance = 20; contactDepth...
glb/cad_b9a5d0399e69.glb
Create a retainer clip for an E3D V6 hotend by starting with a rectangular block measuring 40mm in length, 15mm in width, and 6mm in height. From this base, remove two cylindrical holes and one rectangular slot to create the final geometry. First, center a circular hole with a diameter of 5mm through the height of the ...
module e3d_retainer_clip() { difference() { cube( [ 40, 15, 6.0 ] ) ; union() { translate( [ 28, 7.5, -1 ] ) cylinder( 8, d=13.0, $fn=100 ) ; translate( [ 28, 2.0, -1 ] ) cube( [ 30, 11, 8 ] ) ; translate( [ 7, 7.5, -1 ] ) cylinder( 8, d=5, $fn=100 ) ; } } } e3d_retainer_clip() ;
glb/cad_d84dbe2d3cd6.glb
Create a 5x5 grid of M3 nut holders for 20mm extrusions, spaced 9mm apart in both the X and Y directions. Each individual holder is a small, rounded hexagonal prism with a total height of 6.32mm. To form the main body of a single holder, create a cylinder with a radius of 5mm and a height of 6mm, then apply a Minkowski...
module M3_Nut_Round() { difference() { scale([0.8,0.8,0.9]) minkowski() { cylinder(r=5,h=6,center=true,$fn=24); cube([1,1,1],center=true); } translate([0,0,0]) { cylinder(r=3.25,h=3.8,center=true,$fn=6); cylinder(r=1.8,h=10,center=true,$fn=24); } translate([0,0,5]) cube([20,20,10],center=tru...
glb/cad_46e2f61d26b8.glb
Create a spare ring for a robotic vacuum cleaner by constructing a composite cylindrical shape. Start with a base cylinder that has a radius of 17.5mm and a height of 2mm, centered on the Z-axis. Add a second, taller cylinder on top of the base with a radius of 10.5mm and a height of 6mm, also centered on the Z-axis. F...
$fs=0.2; $fa=3; module mod1() { union() { translate(v=[0,0,1]) cylinder(h=2, r=35/2, center=true); translate(v=[0,0,3]) cylinder(h=6, r=21/2, center=true); } } module taper(l, w1, w2, h) { linear_extrude(height=l, center=true) polygon( points=[[-w1/2,h/2],[w1/2,h/2],[w2/2,-h/2],[-w2/2,-h/2]], paths=[[0,1,2,3...
glb/cad_c2740f600667.glb
Create a bridge test model starting with a solid rectangular block 5mm wide, 20mm deep, and 10mm high. Within this block, create a series of 11 horizontal slot cutouts. Each cutout is a rectangular void 5mm wide, 20mm deep, and 0.4mm high, spaced 1mm apart vertically starting from the base. To further modify the inte...
module bridge() { union() { difference() { cube(size=[5,20,10]); translate(v=[-15,10,1]) rotate(a=[45,0,0]) cube(size=20); } for (i=[0:10]) { translate(v=[0,0,i*1]) cube(size=[5,20,0.4]); } } } module triag() { difference() { cube(size=[20, 7, 7], center=true); translate(v=[0,5,5]) rotate(a=[45,0,0]) cube...
glb/cad_da46bb9d899d.glb
Create a slides duplicator for 35mm slides. Start with a rectangular base measuring 30mm wide, 50mm deep, and 5mm thick. Position two small holes with a diameter of 3mm and a depth of 1.5mm on this base: one at coordinates (20, 40) and another at (20, 10), with additional holes at (10, 40) and (10, 10). Attached to t...
module base(){translate([0,-25,0]){ difference(){ cube([30,50,5]); union() { translate([20,40,0]) cylinder(5,1.5,1.5,$fn=100); translate([20,10,0]) cylinder(5,1.5,1.5,$fn=100); translate([10,40,0]) cylinder(5,1.5,1.5,$fn=100); translate([10,10,0]) cylinder(5,1....
glb/cad_03bcfa4de055.glb
Create a Cheshire collimator for a Newtonian telescope. Start by constructing a main hollow cylinder with an outer diameter of 32.5mm, a wall thickness of 2.2mm, and a total height of 70mm. This creates an inner bore diameter of 28.1mm. At the bottom of this cylinder, carve out a large, centered circular opening that...
diam=32.5; he=70; wall=2.2; inner=diam - (2*wall); module pfeife(){ difference(){ cylinder(r=inner/2, h=80, center=true, $fn=100); translate([0,0,40]) rotate([0,-45,0]) cube([80,80,30], center=true); } } module cheshire(){ difference(){ union(){ translate([0,0,10]) cylinder(r=diam/2, h=he, center=true,$fn=100); tr...
glb/cad_0a2e11bbb1f0.glb
Create a universal holder plate with a quicklock mechanism. Start with a main rectangular plate that is 25mm wide, 2.5mm thick, and 30mm high. Centered on this plate, add a mounting block that is 14mm wide and 10mm thick, extending the full 30mm height of the plate. On both the left and right sides of the main plate, ...
HolderHeight=30; ScrewHolesHeigth=21.0; ScrewHolesHeigth2=71.0; ScrewDiameter=3; HolderMountWidth=14.0; HolderMountThickness=10; HandleLength=20; HandleOffset=1.0; HandleLock=2.5; $fn=80; cheekDegree=45; plateThickness=2.5; plateWidth=25; cheekThickness=2.8; cheekWidth=11.0; screwHolesFromEdge=6.3; cube([plateWidth,...
glb/cad_0db055054e34.glb
Create a Baratza Vario portafilter holder with a funnel and mounting system. The main body is a hollowed-out funnel with a 58mm internal diameter and a height of 20mm, featuring walls 2.4mm thick. Build a mounting section above the funnel to secure the portafilter. This mount should have an outer diameter of 78.4mm a...
portafilter_dia = 58; portafilter_mount_dia = 78.4; portafilter_mount_height = 10.0; portafilter_mount_deep = 4.0; funnel_height = 20; wall_thick = 2.4; holder_height = 119.50; holder_nub_offset = 9.5; holder_nub_dia = 4.5; portafilter_offset = 10; leg_width = 29.3; stop_width = 11.75; stop_depth = 2.0; $fn=1...
glb/cad_49998c07b232.glb
Create an assembled chain consisting of two rows of three interlocking links each, with a smaller connecting link at the end. Each standard link is a rectangular block measuring 20mm in length, 30mm in width, and 8mm in height. On the shorter ends of these blocks, create hinges. A male hinge consists of a 8mm wide, 8...
$fa = 20; $fs = 1.5; $fn = 50; handle_width = 30; handle_length = 20; handle_height = 8; nub = 4; tol = .4; h_l = 2*nub; num_links_per_row=3; num_rows = 2; assembly(); test = num_links; links = 0; module assembly() { for(j=[1:num_rows-1]) { for(i=[0:num_links_per_row-1]) { translate([i*(handle_len...
glb/cad_0b98c364e4fb.glb
Create a Speed/Temp Control Pin consisting of a circular base and a vertical shaft. Start by creating a thin cylindrical base with a radius of 5mm and a height of 1mm. From this base, remove two rectangular notches: one measuring 4mm by 2mm by 2mm positioned at x=-8, y=-1, z=-0.5, and another measuring 4mm by 2mm by 2m...
$fn = 100; translate ([0,0,0]) { difference() { cylinder (r = 5, h = 1); translate ([-2,-8,-0.5]) { cube([4,4,2]); } translate ([-8,-1,-0.5]) { cube([4,2,2]); } translate([4,-1,-0.5]) { cube([4,2,2]); } } } translate ([...
glb/cad_44487f96bcbf.glb
Create a Speed/Temp Control Pin consisting of a circular base and a vertical cylindrical shaft. Start by creating a flat circular disc with a radius of 10.75mm and a height of 1.63mm. Centered on this disc, add a vertical cylinder with a radius of 3.16mm and a height of 32.11mm. To refine the shaft, remove a rectangula...
$fn = 100; translate ([0,0,0]) { difference() { cylinder (r = 10.75, h = 1.63); translate ([-6, 10.115, -0.5]) { cube([12,4,4]); } translate ([-3.04,8.985,-0.5]) { cube([6.08,4,4]); } translate ([-13.69,-1.3,-0.5]) { cube([4,2.6,4]...
glb/cad_5a82c2f90f55.glb
Create a Pencil Launcher by constructing a hollow main tube and removing specific internal volumes. Start with a solid cylinder 130mm tall with a radius of 17mm. From the center of this cylinder, remove a smaller coaxial cylinder 210mm tall with a radius of 15.5mm, ensuring it extends beyond the ends of the main body t...
difference(){ union(){ cylinder(130,17,17,$fn=60); } translate([0,0,-1]) cylinder(210,15.5,15.5,$fn=60); rotate([90,0,0]) translate([0,5,-20]) cylinder(10,1,1,$fn=60); rotate([90,0,120]) translate([0,5,-20]) cylinder(10,1,1,$fn=60); rotate([90,0,240]) translate([0,5,-20]) cylinder(10,1,1,$fn=60)...
glb/cad_21fe00f8f460.glb
Create a Pencil Launcher consisting of a tiered cylindrical body with a hollow center. Start by creating a base cylinder 17mm in diameter and 15mm high. On top of this base, add a second cylinder 15mm in diameter and 6mm high, centered on the same axis. Drill a central vertical hole 10mm in diameter through the entire ...
difference(){ union(){ cylinder(15,17,17,$fn=60); translate([0,0,15]) cylinder(6,15,15,$fn=60); } translate([0,0,-15]) cylinder(40,5,5,$fn=60); translate([-5,7,-1]) cube([2,10,40]); translate([3,7,-1]) cube([2,10,40]); translate([-5,-17,-1]) cube([2,10,40]); translate([3,-17,-1]) cube([2,1...
glb/cad_dec85685729c.glb
Create a Pencil Launcher consisting of a main cylindrical body with a hollow center. Start with a solid cylinder 30mm high and 29mm in diameter. Remove a smaller concentric cylinder from the center with a diameter of 18mm to create a tube. Cut a transverse hole completely through the center of the tube with a diameter ...
difference(){ union(){ cylinder(30,14.5,14.5,$fn=60); translate([-3,14,27]) cube([6,4,3]); translate([-3,-18,27]) cube([6,4,3]); } translate([0,0,-12]) cylinder(25,9,0,$fn=60); translate([15,0,-0.1]) cylinder(40,8,8,$fn=60); translate([-15,0,-0.1]) cylinder(40,8,8,$fn=60); tran...
glb/cad_b87d16a19d6d.glb
Create a Braun Mixing Wand Coupling consisting of a central cylindrical body with a total height of 16.6mm and an outer radius of 4.5mm. The center of the object is bored out by a vertical hole with a radius of 2.9mm. At the base of the object, create a flat circular foundation 0.5mm thick with a radius of 2.75mm. Fr...
ro=9/2; ho=16.6; ri = 5.8/2; do_gap=1; h_gap=1.2; r_gap=3.2/2; t_gap=14.2; h_base=2.2; h_base2=1.6; w_grip=3; h_grip=11; h_peak=3; h_slotb=0.5; r_slotb=5.5/2; h_slot=12.5; w_slot=3.5; $fs=0.01; $fn=100; module peak() { polyhedron([ [-w_grip/2, ro, h_grip], [w_grip/2, ro, h_grip], [0, ro, h_grip+h_peak], ...
glb/cad_a00ad8967bbb.glb
Create a Rubik's 3x3x3 O-type puzzle consisting of a central core and multiple rotating cubies. Each cubie is based on a 20mm cube dimension. Construct the cubies as modified cubes with rounded edges (1mm radius) and specific interlocking hook geometries on their faces to allow them to slide and rotate. The hooks are ...
cub=20; ri=cub; gap=.2; re=1; mx=5; mz=4; faces=.5; hookm=[ [ 0, 0], [ 2*mx, 0], [ 2*mx, 2*mz], [ mx, 2*mz], [ mx, mz], [ 0, mz], [ ...
glb/cad_56c4dda3b979.glb
Create a 20 Tooth 2mm GT2 Pulley. Start with a central cylindrical shaft hole with a diameter of 5.2mm. Build a base cylinder around this hole with a diameter of 20mm and a height of 8mm. On top of this base, add a toothed section with a height of 12mm and an outside diameter of 11.88mm. This section must feature 20 ...
teeth = 20; profile = 12; motor_shaft = 5.2; m3_dia = 3.2; m3_nut_hex = 1; m3_nut_flats = 5.7; m3_nut_depth = 2.7; retainer = 1; retainer_ht = 1.5; idler = 1; idler_ht = 1.5; pulley_t_ht = 12; pulley_b_ht = 8; pulley_b_dia = 20; no_of_nuts = 1; nut_angle = 90; nut_shaft_distance = 1.2; additional_tooth_width = 0.2;...
glb/cad_51880abf0600.glb
Create a customizable letter tile. Start with a rectangular block 15mm high, 15mm wide, and 4mm thick. Apply a 1mm chamfer to all edges on the top and bottom faces, as well as all side edges. On the top face, center a character (such as the letter "Z") using a serif font. The text should be scaled to 75% of the tile h...
cut_or_add = "add"; e = 0.6; txt = "Z"; ts = 0.75; ar = 0.8; fn = "Serif"; tst = "bold italic"; th = 15; tw = 15; tt = 4; sep = ""; twm = 1; d = 1; ns = 2; nt = 3; cht = 1; chs = 1; chc = 1; chb = 1; tpr = 4; sp = 2; useimg = 0; ih = 0.75; iw = 0.75; image_file = "dog.png"; txt2 = useimg==1 ? "...
glb/cad_1f0f3109e595.glb
Create a Great Stellated Dodecahedron ornament by constructing a central icosahedron and replacing each of its 20 triangular faces with a tall, narrow trigonal pyramid. Scale the overall model by a factor of 20. The vertices of the core icosahedron are defined by the golden ratio, with coordinates based on permutations...
scale (20) etc_dodecahedron(-4*($t)+1); module etc_dodecahedron(scale) { a = scale*0.87268; b = scale*1.41202; c = scale*0.53934; gr = (1+sqrt(5))/2; polyhedron (points = [ [ 0, 1, gr],[0, -1, gr], [ 0, 1, -gr], [0, -1, -gr], [ 1, gr, 0], [-1, gr, 0], ...
glb/cad_ce446bcae30e.glb
Create a Great Stellated Dodecahedron ornament. Construct the shape by placing 20 identical trigonal pyramids onto the 20 faces of a central icosahedron. Scale the pyramids so that the resulting polyhedron's faces are pentagrams with apex angles of 36 degrees, resulting in a star-like geometry where the points are shar...
mark = 2; if (mark==4) union() { scale (17) etc_dodecahedron(-.2918); hanger(30); } else if (mark==2) rotate([32,0,0]) difference() { scale (8) etc_dodecahedron(-2); decoration(0.53934,0,1.41202,1.5,10,30,16); } else if (mark==3) union() { scale (17) etc_dodecahedron(-.07568); hanger(30); } else if (...
glb/cad_4dae8a0ca94e.glb
Create a chip clip by starting with a rectangular block 125mm long, 30mm wide, and 10mm high. Hollow out the center of this block by removing a smaller rectangular section that is 115mm long, 10mm wide, and 11mm high, positioned 10mm from the side walls and slightly offset below the base to create a deep channel. At on...
$fn=400; l=125; w=30; h=10; sthick=10; pclose=.75; translate([pclose*2/6*w,pclose*2/6*w,0]) cylinder (r=pclose*2/6*w,h); difference() { cube([l,w,h]); translate([-.1*sthick,sthick,-.05*h]) cube([l-.9*sthick,w-2*sthick,1.10*h]); } translate([l,w/2,0]) cylinder(r=w/2,h);
glb/cad_f46b9ce2cc3a.glb
Create an X carriage mounting plate. Start with a main body composed of two overlapping filleted rectangular blocks: one measuring 4mm by 6mm by the carriage length (determined by the base length plus twice the hole-to-side offset), and a second, wider block measuring 8mm by 6mm by the bushing carriage length plus 3mm....
include <configuration.scad> use <bushing.scad> use <extras/groovemount.scad> carriage_l_adjusted = max(adjust_bushing_len(bushing_xy, carriage_l_base, layer_height * 9), adjust_bushing_len(bushing_carriage, carriage_l_base, layer_height * 9)); carriage_l_real = max((bushing_xy[2] > 30 ? carriage_l_adjusted : (2 * b...
glb/cad_0682447ac9a9.glb
Create a Scythe game token consisting of a tiered circular base and a central star emblem. Start by creating a main outer cylinder with a radius of 8mm and a height of 1.5mm. On top of this, add a second cylinder with a radius of 7mm and a height of 2.5mm. Bore a central hole through the entire assembly with a radius o...
$fn=100; module arm(length, width) { translate([0,0,3]) linear_extrude(1.5, scale=0) polygon([[-width/2,0],[width/2,0],[0,length]]); translate([0,0,2]) linear_extrude(1, scale=1) polygon([[-width/2,0],[width/2,0],[0,length]]); } difference() { union() { difference() { union() { color("green") cylinder(r=...
glb/cad_260cb70d00be.glb
Create a parametric ball joint consisting of two main components: a ball and a socket. First, create the ball component by centering a sphere with a radius of 10mm. Attach a tapered cylinder to the bottom of this sphere, starting with a base radius of 8mm at the sphere's bottom surface and tapering to a radius of 6mm o...
size=10; joint_spacing =0.5; joint_thickness = 2; joint_arms = 5; arm_width = 10; $fs=0.8; $fa=4; demo(); module demo() { ball(); rotate([sin($t*720)*28,cos($t*360*4)*28,cos($t*360*2)*20]) joint(); } module print() { translate([size*2+10,0,0]) ball(); rotate([0,180,0]) joint(); } module ball() { sphere(r=size...
glb/cad_91021a002cf3.glb
Create a compression ring adapter for a Dremel 4000. Start by creating a main cylinder with a height of 20mm and a constant diameter of 69mm. From the center of this cylinder, remove a smaller internal cylindrical volume to create a wall; this internal void should have a base diameter of 54mm that tapers slightly to a ...
$fn=150; dremel_4000_diameter_max = 54; dremel_4000_diameter_min = 51; diameter=69; height = 20; opening_width = 10; difference(){ cylinder(h=height,d1=diameter,d2=diameter); resize(newsize=[dremel_4000_diameter_max,dremel_4000_diameter_min,height]){ cylinder(h=height, d1=dremel_4000_diameter_max , ...
glb/cad_dcbf9dcb7544.glb
Create two mirrored pinball flipper opto curtain mounts. Each mount begins with a main rectangular body 10mm wide and 100mm long with a thickness of 2mm. At the end of this body, add a bridge base that is 3mm wide and 15mm long, extending from the outer edge of the main body. On top of this base, construct a bridge tha...
length=100; width=10; mount_d=4; mount_offset=5; mount_distance=13; clearing_height=6; clearing_width=7; bridge_base_offset=9; curtain_offset_right=16; curtain_offset_left=curtain_offset_right+12; curtain_length=15; thick=1; translate([-width,0,0]) curtain_mount(curtain_offset_left, 1); translate([width,0,0]) curtain_...
glb/cad_0d11b82b0dc1.glb
Create a 16 electret microphone holder consisting of a central ring and a series of radiating sockets. Start by creating a flat, washer-like ring with an outer radius of 40mm, an inner radius of 20mm, and a height of 2mm. Position this ring centered on the X and Y axes. Around the outer perimeter of this ring, place 16...
module micHolder() { difference(){ cylinder(h = 10, r= 6); translate([0,0,2]) cylinder(h = 10, r = 5); translate([0,0,0]) cylinder(h = 2, r = 2); } } for(a = [0 : 22.5 : 360-22.5]) { rotate(a, [1,0,0]) translate([0,0,30]) micHolder(); } rotate(90, [0,1,0]) tran...
glb/cad_46a4da7c08b1.glb
Create a drain flush converter consisting of two stacked cylindrical sections. Start by creating a base cylinder with an outer diameter of 52.5mm and a height of 50mm. On top of this base, add a second, shorter cylinder with an outer diameter of 49mm and a height of 14mm. The overall structure should be a single contin...
$fn=100; fiammaRingHeight=14; fiammaRingInnerDia=78.4/2; fiammaRingOuterDia=98/2; drainRingOuterDia=105/2; drainRingInnerDia=90/2; drainRingHeight=50; difference() { hull() { cylinder(r=drainRingOuterDia, h=drainRingHeight); translate([0,0,drainRingHeight]) { difference() { difference() { ...
glb/cad_0a863d0b0d8f.glb
Create a Truma roof cap designed as a hollowed cylindrical assembly. Start by creating a threaded base with a diameter of 60mm, a pitch of 3mm, and a height of 10mm. Above this thread, build a base ring with a radius of 40mm and a height of 1.5mm, transitioning into a wider upper ring with a radius of 32.5mm and a heig...
include<../modules/threads.scad> $fn=80; threadedHole=54; threadedRoadRadius=60; threadHeight=10; ringRadius=80; ringHeight=1.5; topRingRadius=65; topRingHeight=4-ringHeight; tamasztoRudAtmero=8; tamasztoRudHeight=25; fedoAtmero=115; fedoHeight=3; fedoLetores=2; merevitoGyuruAtmero=topRingRadius; merevitoGyuru...
glb/cad_b59729fa7273.glb
Create a canopy for an Aerotek Mini Punish'air by starting with a hollow sphere that has an outer diameter of 70mm and an inner diameter of 68mm. Cut the sphere in half along the horizontal plane to create a hemispherical shell. Remove material from the center of the base using two intersecting cylinders, each with a r...
difference() { color("green") sphere(d=70); sphere(d=68); translate([0,0,-35]) cube(70, true); rotate([45,90,0]) cylinder(r=7,h=70,center=true); rotate([90+45,90,0]) cylinder(r=7,h=70,center=true); translate([25,0,20]) rotate([0,45,0]) cylinder(r=6,h=20,center=true); translate([25,0,17]) ...
glb/cad_9b98cf079b9d.glb
Create a NeoLucida Cover, which is a hinged protective box. The main body consists of two symmetrical halves, each 25mm wide, 60mm deep, and 10mm high. Each half is a hollowed-out rectangular shell with a wall thickness of 1.5mm. Connect the two halves along the 60mm edge using a printed-in-place hinge. The hinge mech...
$fn = 100; width = 25; depth = 60; height = 10; wallThickness = 1.5; hingeOuter = 7; hingeInner = 3; hingeInnerSlop = .5; hingeFingerSlop = .4; fingerLength = hingeOuter/1.65; fingerSize = 6.8; topFingerSize = fingerSize; latchWidth = 15; bottom(); top(); bottomLatch(); module bottom() { union() { difference() { ...
glb/cad_0a1a8ad2f580.glb
Create a servo mount in the shape of an L-bracket. Start with a base plate measuring 60mm wide, 30mm deep, and 5mm thick. Attach a vertical wall to one side that is 60mm high and 5mm thick, forming a right angle. Extend the base of the L-bracket by adding a side mount extension that adds 10mm to the width, 30mm to the ...
servo_mount(); width = 60; height = 60; depth = 30; thick = 5; ext_width = 10; screw_radius = 1.9; module servo_mount(){ difference(){ l_bracket(); translate([15,-1,25]) cube(size = [30,7,40]); translate([10.2,-1,25]) rotate ([-90,-90,0]) servo_screw_hole(); translate([46,-1,25]) rotate ([-90,-90,0]) serv...
glb/cad_334968012cb6.glb
Create an X-Carriage with Remover designed for a 3D printer. Start by constructing a central base plate that is 80mm long and 3mm thick. Add two symmetrical support bridges extending from the base, each 53mm long and 12mm wide, rotated at 13-degree angles in opposite directions. Include two vertical support walls, each...
include <configuration.scad> include <x-lm8uu-dual_holder-slim-vertical.scad> include <Bracket.scad> belt_clamp_thickness=2; belt_clamp_width=m3_diameter+3*belt_clamp_thickness+2; mirror() simonkuehling_x_carriage(); base_length = 80; rod_dist = 50; plate_thickness = 3; module simonkuehling_x_carriage() { render...
glb/cad_3bdf3f5ec172.glb
Create a limit switch mount by starting with a rectangular block measuring 22mm wide, 20mm deep, and 4mm thick, centered on the origin. Remove two identical tapered holes from the top face; each hole should have a bottom radius of 2.1mm and a top radius of 3.3mm, with a total height of 5mm. Position these holes so thei...
betweenHoles = 10; difference() { cube([22,20,4], center=true); for(i=[-1,1]){ translate([i*betweenHoles/2,5,0]) cylinder(r1=3.3, r2=2.1, h=5, $fn=100, center=true); } translate([0,-5,1]) cube([25,3, 2], center=true); }
glb/cad_2fd0319405a1.glb
Create a power cable cover for an AnyCubic Prusa i3. Start with a main rectangular block 58mm wide, 52mm long, and 42mm high. Along one 52mm edge, integrate a semi-cylindrical shell with an outer diameter of 13mm and an inner diameter of 10mm, extending the full length of the part to create a clip for a rod. On the o...
innerLength = 50; width = 58; width2 = 45; height1 = 19; height2 = 48; height3 = 6; wall = 2; wallSpindel = 1.5; phaseOffset = 7; durchmesserSpindel = 10; durchmesserLoch = 3.3; durchmesserKabel = durchmesserSpindel; delta = 1; lochY = innerLength / 2 + wall; length = innerLength + wall; difference() { union() { ...
glb/cad_446174345401.glb
Create a Doublecase for Raspberry Pi, designed as a protective housing for two boards. The main structure is a rectangular box with an internal cavity measuring 86mm in length and 57mm in width. The walls have a thickness of 2mm with rounded corners (radius of 4mm). The case is split horizontally at the height of the ...
use<write.scad> DRAWfull = 0; DRAWtop = 0; DRAWbottom = 1; DRAWtopinlet = 0; DRAWbottominlet = 0; DRAWpcb = 0; GPIOHOLE = 2; GPIOsize = 2; topframe = false; topinlet = false; topholes = false; holeofs=5; holesiz=2.5; holestep=6; noholes=12; holelen=30; holeangle...
glb/cad_7f1d8659679d.glb
Create a Pneumatic Syringe Extruder Adapter consisting of a mounting block and a sealing insert. First, create a rectangular mounting block. The block's width along the fin axis is 57.8mm, its depth is 33.4mm, and its thickness is 16.1mm. Center a vertical cylindrical hole through the block with a diameter of 10.3mm ...
extrude_width = 0.5; syringe_OD = 25.6; syringe_ID = 22.65; fin_thickness = 3.4; fin_span = 44.2; lip_width = 29.0; o_ring_ID = 21.95; o_ring_cs = 1.78; o_ring_squish = o_ring_cs / 8; threaded_length = 3/8 * 25.4; nominal_thread_OD = 0.405 * 25.4; insert_depth = 3 * o_ring_cs; o_ring_depth = insert_depth/2; seal_ra...
glb/cad_be8bbecb0c1b.glb
Create a Screw-to-Screw Connector consisting of two hexagonal nuts joined by a short central cylinder. First, create a hexagonal nut with a flat-to-flat diameter of 18.3mm and a height of 10mm. Inside this nut, create a threaded hole with an outer diameter of 14.3mm and a pitch of 2mm. Second, create an identical he...
screw1OD = 14.3; screw1Pitch = 2; screw1Height=10; screw2OD = 14.3; screw2Pitch = 2; screw2Height=10; connectorLength=2; nut1OD=screw1OD+1; nut1_diameter=nut1OD+4; nut2OD=screw2OD+1; nut2_diameter=nut2OD+4; nut_step_shape_degrees = 45; facets = 6; hex_nut(nut1_diameter,screw1Height,screw1Pitch,nut_step_shape_degre...
glb/cad_c3c484445a84.glb
Create a RAMPS board clip consisting of a rod clamp and an attached board holder. Start by creating a central rod clamp: form two mirrored blocks, each 29.25mm wide, 10mm high, and 11.6mm deep, joined by a 4mm thick central bridge. Bore a cylindrical hole with a radius of 4.1mm through the center of these blocks along ...
rod_size = 8.2; rod_clamp_size = 12; rod_separation=58.5; clamp_depth=4*rod_size/5; ard_width=53; ard_stop=10; ard_thickness=2; clip_width=3; clip_depth=7; clip_height=14; clip_groove_width=ard_thickness+0.5; clip_groove_depth=1; clip_groove_offset=1; clip_offset_from_rod=3; clip_lateral_offset=20; thickness = 4; cl...
glb/cad_6817c58667a0.glb
Create a ping pong ball holder by starting with a main cylinder 41mm in diameter and 10mm high, centered on the origin. Remove a smaller concentric cylinder from the center with a diameter of 36mm and a height of 12mm to create a ring. To add a mounting hole, remove a cylinder with a diameter of 4.5mm and a length of 5...
$fn = 1000; difference() { cylinder(d=41,h=10,center=true); cylinder(d=36,h=12,center=true); translate([0,19,0]) rotate([90,0,0]) cylinder(d=4.5,h=5,center=true); translate([0,16,0]) rotate([90,0,0]) cylinder(d=8,h=5,center=true); }
glb/cad_12e75a7e0061.glb
Create a Sierpinski Tetrahedron fractal with three iterations. The base unit is a square pyramid with a height of 10mm and a base width of 20mm. Arrange these pyramids recursively: place four pyramids at the corners of a square and one at the apex to form a larger pyramid. Repeat this process for three iterations until...
NUM_ITER = 3; module pyramid(h=10, x=0, y=0, z=0) { height = h+.5; translate([x, y, z]) { polyhedron( points=[ [height, height, 0], [height, -1*height, 0], [-height, -1*height, 0], [-1*height, heigh...
glb/cad_aa0652c10a67.glb
Create a tripod support for a hand scanner. Start by constructing a main body that is a cylinder with a radius of 10mm and a length of 80mm, laid horizontally. Scale this cylinder by a factor of 2 along its length and 1.7 along its height to create an oval-like profile. From this shape, remove a rectangular block measu...
difference (){ union (){ scale([1,1.2,1.1]) SCANNER (); translate([40,3,-26]) cylinder(r2=14, r1=8,h=15,$fn=50 ); }; SCANNER(); translate([0,-15,-8])cube ([80,15,16]); translate([40,4,-26])cylinder(r=3,h=11,$fn=50 );}; module SCANNER (){ difference (){ rotate([0,90,0]) scale([2,1,1])cylinder(r=10,h=80,$fn=50 ); ...
glb/cad_375693bd9e01.glb
Create a Laptop Hide Cam webcam cover by first constructing a primary base shape. Start with a hull formed by three spheres: two spheres with a 5mm radius positioned at [0, 4, -4] and [0, -4, -4], and a third sphere with a 9mm radius at [0, 0, 0]. Scale this combined hull by a factor of 6 along the X-axis and 1.1 along...
THICKNESS = 9 ; HIDECAM (); module HIDECAM (){ difference (){ scale([6,1,1.1]) hull (){ translate([0,4,-4]) sphere(5, $fn=50); translate([0,-4,-4]) sphere(5, $fn=50); translate([0,0,0])sphere(9, $fn=50); }; translate([-70,-THICKNESS/2,-5])cube ([140,THICKNESS,16]); translate([-...
glb/cad_ef7cdecd476c.glb
Create a laptop support for a 3D hand scanner. First, construct a base component by creating a hull of two spheres with radii of 5mm, positioned at [0, 4, -4] and [0, -4, -4], and a third sphere with a radius of 9mm at the origin. Scale this combined shape by [6, 1, 1.1] and rotate it 180 degrees around the X-axis. Fro...
THICKNESS = 7; difference (){ rotate([180,0,0]) laptop (); translate([-60,-10,-10])cube ([20,20,20]); translate([40,-10,-10])cube ([20,20,20]);}; translate([-40,0,30]) difference (){ scale([1,1.2,1.1]) scanner (); scanner (); translate([0,-15,-8])cube ([80,15,16]);}; module scanner (){ difference (){ rota...
glb/cad_18ba93c56797.glb
Create a puzzle ring consisting of four identical ring-shaped segments that stack vertically. Each segment is a cylinder with an outer radius of 12.5mm, an inner radius of 9.5mm, and a height of 3mm. To create the interlocking puzzle mechanism, modify each segment by adding and removing rectangular tabs (wedges) meas...
ring_inner_diam = 9.5; ring_height = 3.0; ring_thick = 3.0; wedge_width = 6.0; wedge_depth = 3.0; module wedge_neg_above(angle) { rotate([0,0,angle]) translate([ring_inner_diam,0,ring_thick/4+0.1]) cube([wedge_depth,wedge_width,ring_thick/2+0.2],center=true); } module wedge_neg_below(angle) { ...
glb/cad_ef76eedd7050.glb
Create an anti-vibration pad consisting of a rectangular base with a series of triangular prisms extending upwards. The base is a solid rectangular slab measuring 24mm in width, 18mm in height, and 1mm in thickness. On top of this base, place a row of identical triangular ridges aligned along the width. Each ridge is...
width = 24; height = 18; bottom_thickness = 1; extrude_width = 0.4; tri_height = 4; tri_width = 2.1; tri_w = tri_width + extrude_width; x = floor(width /tri_w) * tri_w; y = height; z = bottom_thickness; tri_points = [ [0,0,0], [tri_w,0,0], [(tri_w - extrude_width)/ 2 ,0, tri_height], [((tri_w - ...
glb/cad_340ac82831bc.glb
Create a pole mount bracket for a PCR800 rain gauge. The main body is a vertical cylindrical socket with an outer radius of 15.3mm and a height of 70mm. The center of the cylinder is hollowed out with a radius of 12.75mm, leaving a wall thickness of 2.55mm, and the bottom is open with a drain hole of 7mm radius. Attac...
dTube = 25.5; rOCone = 113.5/2; rFeet = 128/2; hFeet = 11.5; wFeet = 12.7; lFeet = 30; pHole = 24; rHole = 1.8; tBase = 2.2; rOBase1 = (dTube+4)/2; rOBase2 = (dTube+8)/2; rIBase = dTube/2; hBase = 30; aCone = 50; tCone = 2; rCLow = 15/2; hCone = (rOCone - rOBase2) * tan(aCone); hTCone = (rOCone - rCLow) * tan(aCone); ...
glb/cad_18a91c86993e.glb
Create a vertical ID card holder designed for a standard 54 x 85.5 x 2 mm RFID card. The main body should be a hollow sleeve with a side wall thickness of 2 mm, a bottom thickness of 1 mm, and a top thickness of 1 mm. The outer dimensions of the sleeve should be approximately 54.98 x 86.6 x 3 mm to allow for a 0.5 mm...
part = "vertical"; card_thickness = 2; card_width = 53.98; card_height = 85.6; horizontal_tolerance = 0.5; vertical_tolerance = 0.05; back_pattern_type = "voronoi"; back_pattern_protrudes = "yes"; hacker_emblem_size = 35; text_line1 = "BLAH!"; text_line2 = "BLAH!"; text_line3 = "BLAH!"; text_line_interval = 5; ...
glb/cad_694cbac92866.glb
Create a set of six structural profiles, each with a length of 100mm. All profiles use a wall thickness of 2mm. First, create a U-profile with an outer width of 15mm and height of 15mm. Second, create an H-profile with an outer width of 15mm and height of 15mm, consisting of two outer walls connected by a central cros...
module HProfile(w, h, d, l, space) { union() { cube([w + space*2, d + space*2, l], center = true); translate([-w/2+d/2,0,0])cube([d + space*2, h + space*2, l], center = true); translate([+w/2-d/2,0,0])cube([d + space*2, h + space*2, l], center = true); } } module UProfile(w, h, d, l, space) { union() { tra...
glb/cad_f0b54c42c527.glb
Create a connection piece for a motor and rod by starting with a main cylinder that is 30mm tall with a diameter of 10mm. Bore a central hole through the top of this cylinder with a diameter of 10mm and a depth of 15mm. At the bottom of the main cylinder, create a smaller central opening with a diameter of 5mm and a de...
space = 0.05; Height = 30; SmoothRodDiameter = 10; SmoothRodHoleDepth = 15; ScrewHoleDiameter = 3; Diameter = 5; Cutaway = 0.5; ShaftLength = 15; difference() { cylinder(h = Height, r = max(SmoothRodDiameter, Diameter), center = true); translate([0,0, -Height/2+ShaftLength/2]) difference() { cylinder(h = 15, ...
glb/cad_99a5c55b37e7.glb
Create a CD / DVD Label Guide consisting of three concentric cylindrical components with a total height of 5mm. First, create a central thin-walled ring with an outer diameter of 15mm and an inner diameter of 13mm, centered vertically. Second, place a solid flat disc at the top with a diameter of 30mm and a thickness o...
inner_diam=15; outer_diam=30; height=5; module inner(){ difference(){ cylinder(r=inner_diam/2,h=height,center=true); cylinder(r=inner_diam/2-1,h=height,center=true); } } module top(){ translate([0,0,height/2])cylinder(r=outer_diam/2,h=1,center=true); } module outer(){ translate([0,0,1.]) difference(){ cyli...
glb/cad_8557a5e6008c.glb
Create a cooling fan mount for a 40mm fan. Start with a rectangular base plate measuring 42mm by 47mm with a thickness of 5mm. Center a large circular cutout with a radius of 18.5mm through this plate. Position four small screw holes with a radius of 1.5mm and a depth of 7mm at the corners of the fan mounting area. At...
mv=40; rotate ([35,0,0]) union(){ difference(){ translate ([-(mv/2+0.5),18,-2]) rotate ([55,0,0]) cube ([mv+2,12,5]); rotate ([55,0,0]){ translate ([-12,17,-18]) cylinder(r=2,h=8,$fn=100); translate ([-12,17,-13.5]) cylinder(r=3,h=3,$fn=100);} rotate ([55,0,0]){ translate ([13,17,-18]) cylinder(r=2,h=8,$fn=100); trans...
glb/cad_dd5c364797df.glb
Create a customizable street number sign consisting of a rounded backplate and a raised border with an embedded number. Start by creating a rectangular backplate with a height of 150mm and a thickness of 3mm. The width of this plate should scale based on the number of digits in the street number; for a single digit, th...
number_text = "4"; height = 150; backplate_thickness = 3; number_thickness = 3; corner_roundness = 25; border_thickness = 5; aspect = 1; width = (height + height * 0.53 * (len(str(number_text)) - 1)) * aspect; $fn=100; border_roundness = corner_roundness / 100; number_sign(); module anti_round(r){ differ...
glb/cad_522223738d9b.glb
Create a finger extensor exerciser consisting of two identical mirrored plates, each 2mm thick. The overall footprint of each plate is defined by a polygon with five vertices. These vertices are positioned at specific radii from the center: the first (thumb) vertex is at 30mm (60% of the outer radius), and the remainin...
scale = 1; thumbAngularWidth = 90; otherFingerAngularWidth = 40; thumbDistanceRatio = 0.6; outerRadius = scale*50; spacing=3; thickness=2; centralPostHoleDepth=1.5; innerPostHoleDepth=2.1; outerPostHoleDepth=1.5; tolerance=0.5; postDiameter=scale*5; includeTop = true; includeBottom = true; inset1 = 1.5; inset2 = ins...
glb/cad_4e4374862e50.glb
Create a CL 260 Carriage by starting with a rounded rectangular block. The main body is a cube with dimensions 25.8mm x 25.8mm x 25.8mm, where every edge and corner is rounded with a 1mm radius. Subtract three cylindrical holes from this block to create the carriage's functional openings. The first hole is a vertical ...
$fn=40; Rundung = 1; Durchmesser1 = 15.8; Durchmesser2 = 15.8; Durchmesser3 = 17; DurchmesserS = 5; DurchmesserSK = 5; Laenge_Gewinde = 5; Rand = 5; Abstand = 18; BX = Durchmesser1 + Durchmesser3 + Rand*2; BY = Durchmesser2 + Durchmesser3 + Rand*2; BZ = Durchmesser1 + Durchmesser2 + Rand*2; CX =BX-2*Rundung; CY =BY-2*...
glb/cad_4448c6955028.glb
Create a two-part snap-fit case for a Dragon Board single board computer. For the bottom section, create a rounded rectangular shell with a width of 58mm and a length of 89.2mm, featuring a corner radius of 18mm and a wall thickness of 2mm. The interior must be hollowed out to accommodate a PCB of 54mm by 85.2mm. Cut...
$fn = 120; include <marks_lib.scad>; PCB_WIDTH = 54; PCB_LENGTH = 85.2; module pcb() {     union() {         translate([0,0,-1.17]) color("green") cube([54, 85.2, 1.17]);         translate([0,1.7,0]) color("silver") cube([14,14.3,8.2]);         translate([0,21.1,0]) color("silver") cube([14,14.3,8.2]);         ...
glb/cad_f1cb5eafb797.glb
Create a Christmas tree model consisting of a central trunk, ten stacked sections, and a topper. Start by creating a central trunk as a cone with a bottom diameter of 40mm, a top diameter of 4mm, and a total height of 144mm. Around this trunk, place ten hexagonal sections. The first section should be a hexagonal pris...
Render = "all"; trunk_color = "white"; topper_color = "red"; sections_color = "red"; sections = 10; section_thickness = 3; space_between_sections = 9; section_height = section_thickness + space_between_sections; bottom_section_diameter = 130; bottom_section_diameter_delta = 10; trunk_bottom_diameter = 40; trunk_tip...
glb/cad_db0c27f226fd.glb
Create a knurled surface sample by starting with a square base plate measuring 50mm by 50mm with a thickness of 2mm. On the top surface of this plate, carve a repeating diamond-grid texture using intersecting diagonal grooves. Create a series of parallel channels by removing material with 1mm wide slots spaced every 3m...
difference(){ cube([50,50,2]); for(i=[0:3:200]){ translate([100,100-i,2]){ rotate([0,45,45]) cube([1,150,1]); } } for(i=[0:3:200]){ translate([0,100-i,1.22]){ rotate([0,-45,-45]) cube([1,150,1]); } } }
glb/cad_c1f024c1f677.glb
Create a voxel-style Super Mario Star by assembling a series of small cubes, each measuring 8mm x 8mm x 8mm. The overall shape is a five-pointed star with a thick outer border and a central core. Construct the main body using a grid of these cubes. The inner core of the star is composed of cubes arranged to form the ...
module voxel(xRange, yRange, height = 1.5) { for (x = xRange) { for (y = yRange) { translate([x, y, height / 2 - 0.5]) cube([1,1,height], center = true); } } } difference() { scale([8,8,8]) translate([-7.5, -7.5, -0.25]) { color( [1, 0.8, 0.1] ) { vo...
glb/cad_d3427cd19c90.glb
Create a wardrobe backpack holder by starting with a central rectangular block measuring 55mm in length, 25.5mm in width, and 20mm in height. At each end of this block, center a cylinder with a radius of 12.75mm and a height of 20mm. From this combined mass, remove two internal vertical holes to create the openings. Ea...
module hole() { translate([7.51, 0, 0]) { cylinder ($fn = 100, h=22, r = 8, center = true); } translate([-7.51, 0, 0]) { cylinder ($fn = 100, h=22, r = 8, center = true); } cube([15,16,22], center = true); } module holes(){ translate([20,0,0]){ hole(); } transla...
glb/cad_c2932fb9bb7d.glb
Create a Rotary Table Stepper Motor Adapter consisting of a base plate, a central cylindrical support, and a top mounting plate. Start with a rectangular base plate measuring 70mm by 50.8mm with a thickness of 12.7mm. In the center of this plate, create a vertical cylindrical column with a radius of 6.35mm and a heig...
module nema17plate() { difference() { cube([42.3,42.3,6.35]); translate([5.65,5.65,-1]) { cylinder(r=1.75,h=10,$fn=100); } translate([5.65,36.65,-1]) { cylinder(r=1.75,h=10,$fn=100); } translate([36.65,5.65,-1]) { cylinder(r=1.75,h...
glb/cad_e4d54d2a5f6b.glb
Create a GT2 timing belt with a thickness of 7mm. The belt is a circular ring with 141 teeth. Each tooth is based on a profile that includes a central rectangular section 2mm wide and 1.2mm high, topped with a semi-circle of radius 0.555mm. The sides of each tooth feature a complex curve formed by the intersection of a...
$fn = 25 * 1; PI = 3.14 * 1; p = 2 * 1; R1 = 0.15 * 1; R2 = 1 * 1; R3 = 0.555 * 1; b = 0.4 * 1; H = 1.38 * 1; h = 0.75 * 1; i = 1.2 * 1; PLD = 0.254 * 1; thickness = 7; teethAmount = 141; actualRadius = teethAmount * p / (2 * PI); circularBelt(teethAmount); module circularBelt(teethAmount) { linear_extrude(hei...
glb/cad_b9765709a6bc.glb
Create a Matrix Tray by starting with a solid rectangular block measuring 77mm in width, 77mm in depth, and 20mm in height. Carve out a 5x5 grid of square wells from the top face, where each well measures 12.5mm by 12.5mm and is 19mm deep. Position these wells so that there is a 2mm thick outer wall around the perimete...
th_o=2; th_i=5; base=1; hieght=10; rows=2; cols=2; x=12.5; y=5; module tray(th_o=2, th_i=1, th_b=1, height, rows,cols,x,y){ difference(){ bx=(th_o*2)+(x*cols)+(th_i*(cols-1)); by=(th_o*2)+(y*rows)+(th_i*(rows-1)); cube([bx,by,hieght]); for (c=[0:cols-1]) for (r=[0:rows-1...
glb/cad_9ab37a284c5f.glb
Create a fish finder sonar holder by starting with a central cylindrical body of 22.22mm diameter and 24.7mm height. Extend one side of this cylinder into a flat rectangular tail that is 7mm thick and extends to a total length of 53.36mm. Integrate a larger outer cylinder with a diameter of 17.08mm and a total height...
$fn=360; difference(){ union(){ hull(){ cylinder(d=22.22, h=24.7); translate([-22.22/2,22.22/2,0]) cube([22.22+22.22/2,7,24.7]); } translate([22.22,22.22/2,0]) cube([53.36-22.22-22.22/2,7,24.7]); translate([0,0,-(28.25-24.7)/2]) cylind...
glb/cad_b5276c3ee405.glb
Create an R2 Ornament consisting of two identical hemispherical shells that, when joined, form a sphere with an 80mm diameter. For each half, create a hollow hemisphere with a wall thickness of 10mm. On the flat circular base of one hemisphere, center a small circular loop (torus) to serve as a hanging point. The e...
skin_thickness = 10; $fn=20; mmPerInch = 25.4; droid_diameter = 18.25 * mmPerInch; dome_diameter = 18.16 * mmPerInch; dome_height = 10.51 * mmPerInch; dome_ratio = dome_height/ (dome_diameter/2); panel_gap = .0625 * mmPerInch; panel_overlap_depth = skin_thickness/2; middle_rings_offset = (.084+.566+.125)*mmPerInch; pi...
glb/cad_608626d024ce.glb
Create a two-part enclosure for an electronics project consisting of a bottom base and a top cover. Both parts share a footprint of 23mm by 36mm with a height of 15mm and have rounded corners with a 3mm radius. The walls of both pieces are 1.5mm thick. For the bottom base, create a hollow rectangular shell. On the two...
$fa = 1; $fs = 0.5; $fn = 0; wall = 1.5; dims = [23, 36, 15]; cutout = [15.5, 14.5, 2*wall]; corner_r = 3; offset = 1; lip = 1; dist = 10; latch = [wall, 7, dims[2]-wall]; button = [6.5,6.5,2*wall]; offset_button = 3; module skin(debug=false, thickness=5, box=400) { if (!debug) intersection() { children...
glb/cad_9cb4b4ad2bd0.glb
Create a pyramid puzzle consisting of two identical interlocking pieces. First, construct a regular tetrahedron with a side length of 50mm. To create the two identical puzzle pieces, divide this tetrahedron by slicing it with a plane. Position a large bounding cube to remove the top portion of the tetrahedron, but rota...
r = 50; alpha = 54.8; module puzzle (r=10){ difference() { translate ([0,0,-r/(2*sqrt(2))])rotate ([alpha,0,0])pyramid(r); translate ([0,0,5*r]) cube([20*r,20*r,10*r], center = true); } } module pyramid(side=50 ){ { polyhedron ( points = [[0,0,0],[side,0,0],[side/2,sqrt(3)*side/2,0], [side/2,sqrt(3)...
glb/cad_6cd5de1ce00b.glb
Create a glue-on cap for AVA's Gear Toy 2b. The cap is a hollowed-out cylinder with a total height of 5mm and an outer diameter of 20mm. To create the interior cavity, remove a concentric cylinder from the center with a diameter of 15mm and a height of 5mm. Position this inner cutout so that it is centered along the ve...
zoom = 0.7; height = 10; circPitch = 10; teeth1 = 24; teeth2 = 12; tMax = 6; nozzle = 0.4; offset = 5*nozzle; $fn=64; include <MCAD/involute_gears.scad> function pitch(mm) = mm * 180 / PI; function radius(cp, t) = cp * t / (2*PI); function teeth(cp, r) = 2*PI * r / cp; radius1 = radius(circPitch, teeth1); radius2 = ...
glb/cad_0044f9580269.glb
Create a Small Stellated Dodecahedron ornament by constructing a regular dodecahedron and replacing each of its 12 pentagonal faces with a pentagonal pyramid. To achieve the specific proportions of a small stellated dodecahedron, the apex of each pyramid must be positioned such that the resulting triangular faces have ...
scale(10) small_stellated_dodecahedron(-3.4317*($t)+2.4317); module small_stellated_dodecahedron(scale) { a=scale*0.61803; b=scale*0.38197; polyhedron (points = [ [ 1.00000, 1.00000, 1.00000], [ 1.00000, 1.00000, -1.00000], [ 1.00000, -1.00000, ...
glb/cad_fcaf76d8c934.glb
Create a Small Stellated Dodecahedron ornament by constructing a regular dodecahedron and replacing each of its 12 pentagonal faces with a pentagonal pyramid pointing outwards. To achieve the specific proportions of a small stellated dodecahedron, the apex angle of the triangles forming the pyramids should be 36 degree...
mark = 1; if (mark==2) union() { scale(18) small_stellated_dodecahedron(-.8944); hanger2(30); } else if (mark==3) union() { scale(18) small_stellated_dodecahedron(0.8944); hanger2(31); } else if (mark==4) union() { scale(18) small_stellated_dodecahedron(0.4279); hanger2(31); } else if (mark==5) union() { sca...
glb/cad_11bb55dff069.glb
Create a HolderMan phone stand by constructing a stylized human figure lying flat with a thickness of 4mm. Start with a central rectangular body 80mm long and 20mm wide. At the head end, center a circular head with a radius of 10mm. Add two small circular eyes with a 5mm radius and a semi-circular mouth with a 15mm rad...
$fn=120*1; thickness = 4 * 1; cellphoneWidth = 90; cellphoneThickness = 18; cellphoneThicknessFeet = 15; bodyWidth = 20 * 1; spread = 1.5*2; difference(){ union(){ difference() { union(){ cube([80,bodyWidth,thickness]); translate([80, 0,0]) cylinder(h=thickness, r=(bodyWidth/2)+spread); translate([80,bo...
glb/cad_653f8d18be64.glb
Create a Holiday Card Pin by starting with a sphere with a radius of 2mm centered at the origin. Attach a rectangular block to the sphere, measuring 4mm wide, 15mm long, and 2mm thick, centered on the Y-axis and extending from the sphere's center to 7.5mm in both directions along the Y-axis. Carve a longitudinal slot t...
difference() { union() { difference() { union() { sphere(r=2,$fn=100); translate([0,8,0]) cube([4,15,2], center=true); } translate([0,10.5,0]) cube([1,16,5], center=true); } translate([1.25,15.5,0]) cylinder(r=0.75,h=2,$fn=100,center=true); translate([-1,15.5,0]) cylinder(r=1,h=2,$fn=100,ce...
glb/cad_cb13836b8b10.glb
Create a Pacman figure by starting with a main cylinder that has a radius of 20mm and a height of 10mm. Carve a wedge-shaped mouth out of this cylinder by removing a triangular prism with a radius of 15mm and a height of 15mm, positioned with its center at x = -15, y = 0, and z = 0. Finally, add a circular hole with a ...
difference(){ cylinder(h = 10, r=20, $fn=80); translate([-15,0,0]){ cylinder(h = 15, r = 15, $fn=3, center = false); } translate([-3,-10,0]){ cylinder(h = 15, r=3, $fn=50); } }
glb/cad_25b500b4bbe3.glb
Create a motor firewall for a power pod. Start with a rectangular base plate 31mm wide, 25mm high, and 4mm thick. Center a circular hole with a diameter of 8mm through the plate. Add four bolt holes, each 3.3mm in diameter, arranged in a rectangular pattern centered on the plate with a horizontal spacing of 19mm and ...
width = 31; height = 25; thickness = 4; center_hole_dia = 8; bolt_hole_dia = 3.3; horiz_hole_spacing = 19; vert_hole_spacing = 16; notch_width = 6; notch_height = 4; tab_length = 10; tab_height = 4; tab_thickness = 1.5; tab_pos = 5; foam_thickness = 5; $fn=100; difference() { union() { firewa...
glb/cad_0d1b0faa99ee.glb
Create a Pinky ghost figure by starting with a central block 28mm wide, 28mm deep, and 10mm high, centered on the origin. Carve out the shape by removing several 10mm cubes at specific offsets to create a jagged, stepped profile. Specifically, remove 10mm cubes centered at [4, 12, -5], [8, 10, -5], [10, 8, -5], [12, 2,...
difference(){ cube([28,28,10],center=true); translate([4,12,-5]){ cube([10,10,10]); } translate([8,10,-5]){ cube([10,10,10]); } translate([10,8,-5]){ cube([10,10,10]); } translate([12,2,-5]){ cube([10,10,10]); } translate([-14,12,-5]){ cube([10,10,10]); } translate([-18,10,-5]){ cube([10,10,10]...
glb/cad_9143b10c7ebb.glb
Create a customizable cable holder consisting of a flat rectangular base and two integrated cable retaining clips. Start with a base plate that is 20mm long, 40mm wide, and 2mm thick, with rounded corners defined by a 2mm radius. On this base, place two identical cable holder clips spaced evenly along the width. Each...
width = 40; length = 20; depth = 2; count_holders = 2; holder_external_diameter = 8; holder_depth = 3.3; big_spacer = 2.5; small_spacer = 1.5; internal_circle = 3.5; $fn = 200; module base() { linear_extrude(depth) { hull() { circle(2); translate([length, 0, 0]) circle(2); ...
glb/cad_3351697e13ae.glb
Create an HX1-Mod Budaschnozzle X-Carriage adapter. Start with a main rectangular plate measuring 75mm wide, 88.9mm long, and 12mm high. Center a large vertical cylindrical hole with a 47mm diameter through the plate to accommodate the hot end. Above this, add a rectangular hot end holder block measuring 28mm wide, 7...
plate_width_original = 63.5; plate_width_original_depth = 4; plate_width = 75; plate_length = 88.9; plate_height = 12; hotend_diameter = 47; hotend_height = 52; hotend_holder_height = 6.5; hotend_holder_width = 28; hotend_holder_length = 72; hotend_holder_holes_distance_to_center = 27.81; hotend_holder_holes_diameter ...
glb/cad_29455c9fad63.glb
Create a Keystone Jack Punchdown Holder by starting with a rectangular base measuring 65mm in length, 30mm in width, and 21mm in height. Apply a 3mm radius fillet to all vertical corners of the base to ensure they are rounded. Carve out several rectangular recesses from the top surface to create the jig. First, create...
$fn=60; jigID = 2; fit = 0.25; baseLen = 60.0; baseWid = 30.0; baseAddl = 6; baseHgt = 15.0 + baseAddl; baseCornerR = 3.0; recess1Len = 10 + fit; recess1Wid = 14.6 + fit; recess1Dep = 8.9 + baseAddl; recess1X = (baseLen-30)/2; recess1Y = (baseWid-recess1Wid)/2; recess1Z = baseHgt - recess1Dep; recess2Len = 20.2 ...
glb/cad_b319a83ef899.glb
Create a stringed bushing replacement with an outer diameter of 15mm, an inner diameter of 8mm, and a total height of 24mm. The object is constructed by stacking thin, discrete layers, each 0.2mm thick. Each layer is a cylinder with a 48-facet resolution. From the center of each layer, remove a 3-sided prism (triangu...
bushingODCorrection = 0.0; bushingIDCorrection = 0.0; bushingLength = 24; layerHeight = 0.2; layerTwistAngle = 30; implementation = 0; make(); module make() { bushingOD = 15 + bushingODCorrection; bushingID = 8 + bushingIDCorrection; if (implementation == 0) { bushing_fast(bushingOD, bushingID, bushingLen...
glb/cad_70ae32c38080.glb
Create a collection of geometric primitives as follows: First, create two pyramids. The first is a hull of two centered rectangles: a base of 10mm by 20mm and a top of 0.001mm by 0.001mm, with a height of 10mm. The second is a hull of a 20mm by 20mm base and a 5mm by 5mm top, also 10mm high. Next, create a right-angl...
Test(); minVal = 0.001; module Test() { translate([-10,10,0]) pyramid(xFloor=10,yFloor=20, yTop=10); translate([-30,10,0]) pyramid(xFloor=20,yFloor=20, xTop=5, yTop=5); tri_angle(10,20,5, direction=1); translate([20,10,0]) hollow_cylinder(r1=10,r2=10,h=5,wall=2,center=false, $fn=100); translate([-...
glb/cad_6ac3c8d60933.glb
Create a Walk/Don't Walk Sign housing. Construct a rectangular base frame with rounded corners. The main body consists of a outer shell with a total height of 16mm. Create two primary side walls: one at a height of 8mm and one at 16mm, both 4mm thick and 100mm long. Connect these with two angled side frames, each 64m...
translate([-40,-50,0]) cube(size = [4,100,8]); translate([40,-50,0]) cube(size = [4,100,16]); difference() { translate([-30,56,0]) cube(size = [64,4,16]); translate([-30,56,8]) rotate ([0,-6.9,0]) cube(size = [80,4,8]); } difference() { translate([-30,-60,0]) cube(size = [64,4,16]); translate([-30,-60,8]) rotate ([0...
glb/cad_66ac70fba392.glb
Create a Walk/Don't Walk Sign decorative panel. Start with a rectangular base plate measuring 80mm wide, 100mm tall, and 2mm thick, with rounded corners of radius 10mm. On the upper half of the plate, carve out a silhouette of a walking person. This figure consists of a circular head with a 5mm radius, a shoulder sect...
translate([-40,-50,0]) cube(size = [4,100,2]); translate([40,-50,0]) cube(size = [4,100,2]); translate([-30,56,0]) cube(size = [64,4,2]); translate([-30,-60,0]) cube(size = [64,4,2]); translate([-36,-2,0]) cube(size = [76,4,2]); difference() { translate([-36,-50,0]) cube(size = [8,100,2]); translate([-32,-35,0...
glb/cad_38fdc182f38f.glb
Create a rectangular enclosure for a Walk/Don't Walk sign. The main body is a hollow box with a height of 20mm. The outer walls are 4mm thick. The footprint is approximately 64mm by 112mm. The enclosure features rounded corners with a radius of 10mm. On the side walls, incorporate a circular hole with a radius of 3.2m...
difference() { translate([-40,-50,0]) cube(size = [4,100,20]); translate([-42,16,10.8]) rotate ([0,90,0]) cylinder (h = 8, r=3.2); } translate([40,-50,0]) cube(size = [4,100,20]); translate([-30,56,0]) cube(size = [64,4,20]); translate([-30,-60,0]) cube(size = [64,4,20]); difference() { translate([-36,-39,0]) c...
glb/cad_5330dd6ff1a9.glb
Create a rectangular enclosure for a Walk/Don't Walk sign. The main body is a hollow box with a height of 20mm. The outer walls are 4mm thick, and the overall footprint is approximately 64mm by 112mm. The enclosure features rounded corners with a radius of 10mm. On the side walls, incorporate a circular hole with a r...
difference() { translate([-40,-50,0]) cube(size = [4,100,20]); translate([-42,16,10.8]) rotate ([0,90,0]) cylinder (h = 8, r=3.2); } translate([40,-50,0]) cube(size = [4,100,20]); translate([-30,56,0]) cube(size = [64,4,20]); translate([-30,-60,0]) cube(size = [64,4,20]); difference() { translate([-36,-39,0]) c...
glb/cad_2dcdcf014d98.glb
Create a Hoberman Circle consisting of ten repeating scissor-lift segments arranged in a circular pattern. Each segment is composed of two types of arms: a pin arm and a hole arm, each with a thickness of 5mm and a width of 20mm. The pin arm consists of two rectangular legs joined at a central pivot. The inner leg is...
pin_radius=4; pin_height=5; edge_radius=10; layer_height=5; segments=10; R_min=150; R_max=200; R_mid=(R_min+R_max)/2; theta=360/segments; half_theta=theta/2; inner_leg=sqrt(R_min*R_min+R_mid*R_mid-2*R_min*R_mid*cos(half_theta)); outer_leg=sqrt(R_max*R_max+R_mid*R_mid-2*R_max*R_mid*cos(half_theta)); inner_phi=asin(R_mi...
glb/cad_c0e9a3ed2891.glb
Create a set of 18 customizable pentominoes. Each piece is composed of 5x5mm square pixels, each with a height of 2mm. Every individual pixel is a cube with a centered square hole of 6x6mm (calculated as the pixel side minus a 2mm border on each side) and a depth of 1mm. To ensure the pieces fit together with a small ...
pixelSide = 10; pixelHeight = 2; holeDepth = 1; pixelBorder = 2; shrinkage = 0.25; piece1 = 1; piece2 = 1; piece3 = 1; piece4 = 1; piece5 = 1; piece6 = 1; piece7 = 1; piece8 = 1; piece9 = 1; piece10 = 1; piece11 = 1; piece12 = 1; piece13 = 1; piece14 = 1; piece15 = 1; piece16 = 1; piece17 = 1; piece18 = 1; $fs=0....
glb/cad_7b3248fe10ac.glb
Create a sleeve for an LED remote control. Start with a solid rectangular block measuring 55.7mm wide, 11mm thick, and 60mm high. Round the four vertical corners of this block with a 2mm radius. Hollow out the center of the block to create a pocket that is 52.7mm wide, 8mm deep, and 60mm high, maintaining the 2mm corne...
corner_radius = 2; outer_dimensions = [ 55.7, 11, 60]; inner_dimensions = [ 52.7, 8, 60]; side_margin = 3; bottom_margin = 7; tape_size = [10.0, 0.5, 20.0]; opening = inner_dimensions - [ 2*side_margin, 0, 0]; wall = (outer_dimensions - inner_dimensions)/2; difference() { pocket( outer_dimensions, corner_radius); ...
glb/cad_308fd7355d3e.glb
Create a custom USB key case consisting of a main body and a separate cap. For the main body, create a prism with a height of 50mm and a diameter of 40mm. The cross-section should be a polygon with 3 facets (an equilateral triangle) that is twisted by 20 degrees along its vertical axis. Carve a rectangular hole through...
diameter = 40; usbHeight = 50; capHeight = 25; usbCircuitWidth = 14; usbCircuitThickness = 6; usbCircuitDepth = 38; usbWidth = 13.5; usbThickness = 6; usbDepth = 10; magnetSize = 5.3; facets = 3; twist = 20; convex = 0; module usbCaseBottom() { difference(){ linear_extrude(height = usbHeight, cent...
glb/cad_94cad77c2235.glb
Create a set of calibration cubes arranged in a 3x3x3 grid. First, construct a single hollow cube with outer dimensions of 30mm x 30mm x 30mm. Remove a cylindrical hole with a radius of 10.5mm from the center of each of the six faces, and remove a cylindrical tunnel with the same 10.5mm radius that passes through the c...
unit=30; module hollowCube(){ half=unit/2; long=unit*2; rad=(unit/2) - (unit * (.15) ); difference() { cube(unit); translate([half,half,0]) cylinder(unit,rad,rad); translate([half,2.1*half,half]) rotate([90,0,0]) cylinder(long,rad,rad); translate([(-1)*half,half,half]) rotate([0,90,0]) cylinder(long,rad,ra...
glb/cad_de27e552b96b.glb
Create a GuerrillaRadio enclosure cover. Start with a main rounded rectangular base measuring 64mm by 49mm with a thickness of 1mm. Add two smaller rounded rectangular protrusions to the top and bottom edges of this base, each measuring 13mm by 4mm by 1mm, centered along the width. On the top surface, create a recesse...
$fa = 0.5; $fs = 0.5; $fn = 50; bay = [60,45]; lip = 2; wall = 1; box_wall = 1; cap = [13, 4, 1]; module wedge(d = [1,1,1], center = false) { mov = center ? [-d[0]/2,-d[1]/2,0] : [0,0,d[2]]/2; translate(mov) linear_extrude(height = d[2], center=true) polygon([[0,0],[d[0],0],[0,d[1]]]); } module rou...
glb/cad_a92a5a5f0b2e.glb