Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Hat/Headphone Hanger based on a radius of 50mm. Start by creating a rectangular mounting plate centered on the X and Y axes, measuring 60mm in length, 37.5mm in width, and 12.5mm in height, positioned so its top surface is at Z=0. From this base, extend a vertical support structure. This structure is formed ...
radius=50; width=radius*.5; $fn=100; translate([-radius*.33,-radius*.375,-radius]) cube([radius*1.2,radius*.75,width*.25]); translate([5,0, -radius]){ difference(){ translate([0,-radius*.09,0]) cube([radius*.3, radius*.18, 20]); translate([0,0,radius*.201]) cylinder(h=radius*.8, r2=radius*0.8, r1=0); } } inte...
glb/cad_121961364ed0.glb
Create an IoT case for a TM1637 display and WeMos D1 Mini consisting of a main body and a separate lid. For the main body, construct a composite shape by joining two truncated cones. The first cone has a height of 30mm, transitioning from a diameter of 55mm to 70mm. The second cone, positioned adjacent to the first, ha...
$fn=200; Case=1; Lid=1; if(Lid)translate([120,0,-39]) { difference() { cylinder(d=54.8,h=4); translate([00,0,1.2]) cylinder(d=54.8-4,h=4); translate([-25.8,0,-1]) cylinder(d=6.4,h=10); translate([0,0,-1])cylinder(d=6,h=10); translate([12,0,-1.6]) rotate([0,0,90])linear_extrude(height=2) text("l",hali...
glb/cad_51f9815eec57.glb
Create a flexible chainmail mesh composed of interlocking rings. Each individual ring is a 12-sided polygonal torus with a thickness of 4.5mm and an inner diameter of 14mm. These rings are scaled by 1.5 along the Z-axis to create a slightly squashed, oval profile. Construct the basic unit by placing one primary horizo...
thick=4.5; insideD=14; nestleLength=insideD*1.25+thick*1.5; for (xychain=[0:nestleLength:nestleLength*6-1]){ translate([sin(-30)*xychain,cos(-30)*xychain,0]) x(); } module x(){ union(){ for (xchain=[0:nestleLength:nestleLength*6-1]){ translate([xchain,0,0]) render()Hnode(); } } } module Hnode(){ union(...
glb/cad_7d0063b66704.glb
Create a solder holder stand. Start with a base plate that is 69mm long, 59mm wide, and 4mm thick, with rounded corners. In the center of the base, create a large cylindrical cutout that runs across the width of the stand. This cutout should have an outer diameter of 53mm and a depth of 28mm, forming a semi-circular ...
use <fillet.scad> innerD=11; innerDB=28; outerD=53; W=51; t=4; extraHR=4*t; delta=0.1; hscale=0.8; module v () { difference() { $fn = 128; rotate(90,[1,0,0]) scale([hscale,1,1]) cylinder(r=(outerD+innerD)/2, h=t); rotate(90,[1,0,0]) scale([hscale-delta,1,1]) cylinder(r=(outerD-innerD)/2, h...
glb/cad_6bd965eb2757.glb
Create a solder holder by combining a cylinder and two rectangular blocks with rounded edges. Start with a cylinder that has a radius of 5mm and a height of 10mm. Position a first rectangular block measuring 10mm by 10mm with a height of 2mm so that it sits flat on the base. Place a second rectangular block of the same...
module fillet(r=1.0,steps=3,include=true) { if(include) for (k=[0:$children-1]) { children(k); } for (i=[0:$children-2] ) { for(j=[i+1:$children-1] ) { fillet_two(r=r,steps=steps) { children(i); children(j); intersection() { children(i); children(j); } } } } } module fillet_two(r=1.0...
glb/cad_1995d7728e2b.glb
Create a DIN 35 rail mount plate with a base plate measuring 90mm in depth, 50mm in width, and 10mm in height. At the center of the base, create a rectangular cutout 20mm deep, 39mm wide, and 5mm high. Extend this opening toward the rail side with a 5mm wide by 28mm high slot and add a 5mm wide by 12.8mm high opening...
height = 10; width = 50; depth = 90; wall_thickness = 3; corner_radius = 5; dinrail_height= 7.5; dinrail_width=35.5; dinrail_length = 400; co_depth = 20; co_width = 39; co_height = 5; difference() { union() { difference() { base_plate(); translate([depth/2,0,0]) sprin...
glb/cad_05c1fe11041b.glb
Create a URUAV UR65 Teddy Box for storing a drone, batteries, and a charger. The main body is a hollowed-out container with a height of 55mm. Construct the outer shell by placing four cylinders with a radius of 19mm and a height of 55mm. Position the centers of these cylinders at coordinates (±22.75, ±22.75). Connect...
$fn=200; Propd = 36; drone_box(); drone_box_cover(); module drone() { translate([45.5/2,-45.5/2,0])cylinder(r1=Propd/2,r2=Propd/2, h = 55); translate([-45.5/2,-45.5/2,0])cylinder(r1=Propd/2,r2=Propd/2, h = 55); translate([-45.5/2,45.5/2,0])cylinder(r1=Propd/2,r2=Propd/2, h = 55); translate([45.5/2,45.5/2,0])c...
glb/cad_43631bbbbac7.glb
Create an Ultimaker fan support consisting of a main rectangular base plate and a fan housing. The base plate is 86mm wide, 180mm long, and 5.5mm thick, with rounded corners of 7mm radius. Remove two rectangular sections from the center of the plate, each 60mm wide and 70mm long, to create large openings. Construct a ...
$fn = 30; FAN_WIDTH = 61; FAN_THICKNESS = 10; FAN_HOLE_WIDTH = 50; FAN_DIAMETER = 58; FAN_SCREW_DIAMETER = 2; FAN_CORNER_DIAMETER = 2; SUPPORT_WIDTH = 86; SUPPORT_LENGTH = 180; SUPPORT_THICKNESS = 5.5; use <MCAD/boxes.scad>; module fix() { cylinder(r = 3.5, h = SUPPORT_THICKNESS * 2); translate([0, 7, 0]) ...
glb/cad_652d8adc9172.glb
Create a slim mini jack plug case for a 2.5mm wire. The main body is a hexagonal prism with a height of 24mm and a flat-to-flat width of 8.4mm. Centered vertically through this body, remove a cylindrical hole with a diameter of 4.2mm that extends through the entire length. On top of the main body, add a second, small...
$fn = 100; CutVertexes = [ [10, 0, 0], [-10, 0, 0], [10, 10, 1], [-10, 10, 1], [10, 10, -1], [-10, 10, -1]]; CutFaces = [ [0,1,3,2], [0,4,5,1], [2,3,5,4], [0,2,4], [1,3,5]]; scale([1.2,1.2,1.2]) difference() { union() { cylinder(20, 7/2, 7/2, $fn = 6); translate([0, 0...
glb/cad_9f659023881e.glb
Create a Heda Symbol jewelry piece with a total thickness of 3mm. Start by creating a large outer ring with an outside diameter of 15mm and an inside diameter of 9mm. Inside this, place a smaller concentric ring with an outside diameter of 12mm and an inside diameter of 3mm. Add five rectangular bars, each 0.75mm wide...
$fn = 250; ODPar = 150; OD = ODPar / 10; oBandHPctPar = 200; oBandHPct = oBandHPctPar / 10; oBandIDPctPar = 600; oBandIDPct = oBandIDPctPar / 10; iBandHPctPar = 200; iBandHPct = iBandHPctPar / 10; iBandIDPctPar = 200; iBandIDPct = iBandIDPctPar / 10; barWPctPar = 50; barWPct = barWPctPar / 10; teethWPctPar = 49;...
glb/cad_de844de3dc74.glb
Create a Slim LM8UU Dual Screw Holder. The main body is a block with a width and height of 19.2mm and a length of 24mm. Center a horizontal cylindrical hole through the body with a diameter of 15.2mm and a length of 25mm to house the bearing. Create a vertical slot (gap) through the top center of the body with a widt...
LM8UU_dia = 15.2; LM8UU_length = 24; rod_dia = 8; screw_thread_dia_iso = 3; screw_head_dia_iso = 5.5; nut_wrench_size_iso = 5.5; clearance_dia = 0.5; screw_thread_dia = screw_thread_dia_iso + clearance_dia; screw_head_dia = screw_head_dia_iso + clearance_dia; nut_wrench_size = nut_wrench_size_iso + clearance_dia; nut...
glb/cad_3d4b3ec01af1.glb
Create a Slim LM8UU Dual Screw Holder designed to secure a linear bearing. Start by creating a main cylindrical body with an outer diameter of 19.2mm (15.2mm bearing diameter plus 2mm walls) and a length of 24mm. The body should be split by a central longitudinal gap 10mm wide to allow for the insertion of the bearing....
LM8UU_dia = 15.2; LM8UU_length = 24; rod_dia = 8; screw_thread_dia_iso = 3; screw_head_dia_iso = 5.5; nut_wrench_size_iso = 5.5; clearance_dia = 0.5; screw_thread_dia = screw_thread_dia_iso + clearance_dia; screw_head_dia = screw_head_dia_iso + clearance_dia; nut_wrench_size = nut_wrench_size_iso + clearance_dia; nut...
glb/cad_5afea7808f1c.glb
Create a Spiral Neon Neopixel holder. Start by constructing a central base consisting of two intersecting rectangular bars, each 2mm wide; one bar is 121mm long and the other is 145mm long, crossing at their centers to form a plus shape. At the end of one of these bars, add a hexagonal hole with a diameter of 8mm. Thro...
iw = 6; ih = 12; module semicircle(r=1) { difference() { circle(r=r); translate([r*1.1, 0]) square(r*2.2, center=true); } } module neonclip_2d() { difference() { translate([0,0]) square([iw+4, ih+3], center=true); translate([0,8]) square([iw, ih+16]...
glb/cad_4093760342d7.glb
Create a measuring rod by starting with a main cylinder that is 128mm tall with a radius of 5mm and a facet resolution of 5. Along the center axis of this rod, create a series of 127 holes starting from a height of 1mm up to 127mm, each spaced at 1mm intervals. Each hole should be a cylinder with a height of 4.8mm and ...
difference() { cylinder(128, 5, 5); for (i=[1:127]) { difference() { if (i % 10 == 0) { translate([0, 0, i]) cylinder(0.3, 5, 5); } else if (i % 5 == 0) { translate([0, 0, i]) cylinder(0.2, 5, 5); } else { translate([0, 0, i]) cylinder(0.1, 5, 5); } translate([0, 0, i-0.3]) cylinder(0.7, ...
glb/cad_84c941dbb546.glb
Create a chassis for work by starting with a central rectangular block measuring 20mm in length, 5mm in width, and 3mm in height. At each end of this block, centered along the length, add an octagonal cylinder with a height of 5mm and a diameter of 5mm. These octagonal cylinders must be hollowed out with an internal di...
module q1(){ difference(){ translate([0,0,1.5]) cube([20,5,3],center = true); translate([-10,-2.5,0]) rotate([0,0,23]) cylinder(h=10,d=5,$fn=8,center = true); translate([10,-2.5,0]) rotate([0,0,23]) cylinder(h=10,d=5,$fn=8,center = true); translate([-3,1,0]) cylinder(h=10,d=1.7,$fn=32,center = true); translate([3,1,0])...
glb/cad_5fd911c4c424.glb
Create a test object for Technic axle-hole compatibility consisting of three rectangular beams. Each beam is 7.99mm thick (half-thickness) and contains a series of six cross-shaped holes. The holes are spaced 7.99mm apart (center-to-center). The cross-shaped holes are defined by a central width (X_clearance) that incr...
jaggy_angle = 20; lss = 7.99; full_thickness = lss - 0.15; half_thickness = (lss * 0.5) - 0.15; std_diam = 4.8; safe_diam = 5.4; safe_rad = 0.5 * safe_diam; X_clear = 1.9; min_X_clear = X_clear - 0.1; max_X_clear = X_clear + 0.2; translate([0, 2*lss, 0]) testbeam_X1(range=6, jag_angle = 20, add_width=0.0); tran...
glb/cad_d353d644852b.glb
Create a spool holder spindle by starting with a cylinder that has a total height of 70mm and an outer radius of 27.5mm. The bottom 3mm of this cylinder forms a base flange. Hollow out the center of the cylinder to create a tube with an inner radius of 22.5mm. This central hole should extend through the entire height...
$fn=75; spindleRad = 50/2; spindleLen = 70; spindleThick = 5; countersink = spindleRad+5/2; bracketThick = 6; countersinkDepth = bracketThick/2; heightOffset = 6*25.4; backThick = 4.5; clipLength = 30; bracketDrop = 5*25.4-40; bracketWidth = 1*25.4; lockRad=4/2; lockPinRad=3/2; module bracket() { difference() { uni...
glb/cad_41c346ea55a8.glb
Create a Replicator Mini Large Spool Holder bracket. Start with a base rectangular block 25.4mm wide, 6mm thick, and 127mm long. At one end, integrate a cylindrical section with a radius of 35mm and a thickness of 6mm. Within this cylinder, center a circular hole with a radius of 25.2mm. Above this hole, create a small...
$fn=75; spindleRad = 50/2; spindleLen = 70; spindleThick = 5; countersink = spindleRad+5/2; bracketThick = 6; countersinkDepth = bracketThick/2; heightOffset = 6*25.4; backThick = 5.25; clipLength = 30; bracketDrop = 5*25.4; bracketWidth = 1*25.4; lockRad=4/2; lockPinRad=3/2; module bracket() { union() { difference...
glb/cad_fef0183f53df.glb
Create a Seej Battle Flag consisting of a cylindrical base and a waving flag body with embossed text. Start by creating the base: a cylinder 10mm tall with a radius of 5mm. At the top of this cylinder, add a tapered cap that transitions from a radius of 5mm down to 2mm over a height of 2mm. Attached to the base, cre...
use<write/Write.scad> initials="M G P"; loweryes=0; font = "Letters.dxf"; flag_height=10; flag_radius=6; flag_thick=1.2; textadjust =(loweryes==0)? 0 : 0.2; $fn=100; fod=flag_radius+flag_thick; fid=flag_radius; movr=(fid+fod)*cos(45); difference(){ union(){ translate([-7,5.5,0])cylinder(h=flag_height,r=5); tran...
glb/cad_02461af90ae0.glb
Create a GPS pedestal stand mount for a 450 quad frame. Start by constructing a central vertical cylinder with a radius of 8mm and a height of 10mm, using 50 facets. Flank this center piece with two smaller vertical cylinders, each with a radius of 5mm and a height of 6mm, using 36 facets; position these smaller cylind...
$fn=20; translate([-15.8,-5,0]) difference(){ union(){ translate([5,5,0]) cylinder(h=6, r=5, $fn=36); translate([27.6,5,0]) cylinder(h=6, r=5, $fn=36); translate([16,5,0]) cylinder(h=10, r=8, $fn=50); translate([5,0,0]) cube([22.6,10,6]); } translate([5,5,0]) cylinder(h=7, r=1.5); translate([27...
glb/cad_03f9b1987df5.glb
Create a GPS pedestal stand mount for a 450 quad frame. Start by forming a central base consisting of a rectangular block 22.6mm wide, 10mm deep, and 6mm high. Integrate this block with three vertical cylinders: place two outer cylinders with a radius of 5mm and a height of 6mm at the left and right edges (centered at ...
$fn=12; difference(){ union(){ translate([5,5,0]) cylinder(h=6, r=5, $fn=36); translate([27.6,5,0]) cylinder(h=6, r=5, $fn=36); translate([16,5,0]) cylinder(h=10, r=8, $fn=50); translate([5,0,0]) cube([22.6,10,6]); } translate([5,5,0]) cylinder(h=7, r=1.5); translate([27.6,5,0]) cylinder(h=7, ...
glb/cad_2691493eb175.glb
Create a speaker mount consisting of a low-profile ring with integrated retention tabs. Start by creating a main ring with an outer diameter of 25.6mm, an inner diameter of 16mm, and a total height of 5mm. Within this ring, create a recessed inner ledge by removing a cylinder from the center with a diameter of 18.4mm a...
mountThickness = 5; cylIr = 36.7 / 2; cylOr = cylIr + 5.3; cylHole = 32 / 2; cylH = mountThickness; holdingRimH = 1; tabH = 0.5; tabR = 3; tabOffset = 0.85; tabWallThick = 0.33; tabGapOffset = 1; tabGap = 0.05; module hollowSphere(height, radius, thick) { difference() { sphere(h=height, r=radius); sphere(h=he...
glb/cad_fa876af6359d.glb
Create a magnetic knife bar by constructing a rectangular enclosure with an open top. The main body should be a solid block measuring 320mm in length, 21mm in width, and 17mm in total height. From the top face, carve out a central rectangular cavity that is 300mm long, 20mm wide, and 2mm deep, leaving a wall thickness ...
magnetx=300; magnety=20; magnetz=2; thickness = 1*1; backthickness = 15*1; sidethickness = 10*1; sidemargin = 20*1; module box(){ translate([sidemargin-sidethickness/2,sidethickness,magnetz+thickness])rotate([180,0,0]) difference(){ translate([(-sidemargin-sidethickness)/2,-sidethickness/2,0]) cube([magnetx+...
glb/cad_85834eee5d83.glb
Create a Mendel X Motor Bracket designed to mount a NEMA 17 motor horizontally. Start with a central body that incorporates a NEMA 17 motor mount. This mount consists of a 43mm square block with a 43mm diameter cylinder centered on it. Add four rectangular slots for M3 screws, each 8mm wide and 60mm long, positioned ...
x_rail_sep=51; lower_bracket_width=84; lower_bracket_base_width=10; lower_bracket_base_height=15; lower_bracket_length=63; top_notch_height=22; rail_clamp_width=20; rail_clamp_height=25; nema17_side=43; m3_clearance_rad=1.9; m4_clearance_rad=2.8; m6_clearance_rad=3.7; m8_tight_rad=4.4; m8_clearance_rad=4.7; module ...
glb/cad_ee6075c21bb1.glb
Create a Customizable R-hop jig consisting of a cylindrical cutting tool mounted on a rounded rectangular base. First, construct the main body as a hollow cylinder with a height of 20mm. The outer diameter is 13.7mm (Outer + 2*Wall thickness) and the inner diameter is 9.7mm. Create a vertical slot through the center ...
Inner = 6.10; Outer = 9.70; a = 0.75; b = 0.450; n = 1; m = 1; da = 0.150; h = 20; t = 2; Base= 6.3; Chamfer = "Yes"; Angle = 60; Length = 0.8; Radius = 5; Indicator = "No"; Quality = 90; function q(q) = 50.5-q*0.5; function base_x(Outer, t, base, n) = (Outer+t*2+Base)*n; function base_y(Outer, t, base,...
glb/cad_d9963e9e1f64.glb
Create a small speaker box as a hollow cube with an outer dimension of 65mm on all sides and a wall thickness of 4mm. The top of the cube remains open. On the top face, center a circular cutout with a radius of 16mm (32mm diameter) to accommodate the speaker. Around the perimeter of this top opening, create a retainin...
oneSpeaker = 1; potentiometer = 1; threadThickness = .33; wallThickness = 4; cubeSize = 65; mountThickness = 5; pokeH = wallThickness + 2; rimH = pokeH; potH = wallThickness + 2; potR = 7.8 / 2; spkRing = 36.7 / 2; spkHole = 32 / 2; retainH = 1; translate([(cubeSize/2),(cubeSize/2),-rimH]) { difference() { ...
glb/cad_f24e3e5e81ce.glb
Create a FTDI Holder by starting with a solid rectangular base measuring 38mm in length, 25mm in width, and 8mm in height. From this base, carve out a central rectangular cavity that is 38mm long, 21mm wide, and 6mm deep, leaving a 2mm thick wall on the sides and a 2mm thick floor. To create the access slots, remove ...
difference(){ union() { cube([34+4, 21+4, 2]); cube([34+4, 2 + 2, 8]); translate([0,21,0]) cube([34+4, 2 + 2, 8]); } translate([-1, 2, 4]) cube([50, 3, 2]); translate([-1, 2, 6]) rotate(a=-45, v=[1,0,0]) cube([50, 2, 3]); translate([-1, 20, 4]) cube([50, 3, 2]); translate([-1, 21+2, 6]) rotate(a=180-45, v=[...
glb/cad_b0de56752abf.glb
Create a picture frame hook by starting with a rectangular base measuring 8mm by 30mm with a thickness of 1.5mm. Extend this base with two additional 8mm by 7mm by 1.5mm blocks, one positioned at the top and one at the bottom, to create a total length of 44mm. Along the side of this assembly, add five small cubes measu...
rotate([0,90,0]) difference(){ union(){ cube([8,30,1.5]); translate([0,-5,1.5]) cube([8,2+5,1.5]); translate([0,28,1.5]) cube([8,2+5,1.5]); } for (i= [0,1,2,3,4]){ translate([0,i*5+2,0]) rotate([0,0,45]) cube([4,4,1.5]); } translate([4,32.5,0]) cylinder(h=4,r=1.6); translate([4,-2.5,0]) cylinder(h=4,r=1.6); translat...
glb/cad_9f9d531f8d9e.glb
Create a parametric open PCB-box designed to hold a board of 34.5mm width, 63.66mm length, and 2mm height. The outer dimensions of the base should be 41mm by 70.66mm with a total height of 10mm. Construct the main body as a hollowed-out rectangular shell with wall thicknesses of 2.5mm. The box should feature a slide-...
pcb_width = 34.5; pcb_length = 63.66; pcb_height = 2; slisse = 1; pcb_bottom_margin = 2.5; wall_width_thick = 3.5; wall_width = wall_width_thick-slisse; box_height = 10; module box() { union() { cube([pcb_width + 2*wall_width, pcb_length + 2*wall_width, wall_width]); cube([wall_width_thick, pcb_length + 2*...
glb/cad_f90d3a20288f.glb
Create a basketball keychain consisting of a main circular body and an attached keyring loop. Start by creating a solid cylinder with a radius of 25.5mm and a height of 4.5mm. Attached to the side of this cylinder, centered at coordinates (29, 0, 0), add a smaller ring with an outer radius of 5mm, a thickness of 2mm,...
customKeychain(["YOUR","TEXT","HERE"]); module curves() { DATA = [ [[23.75,-1], [0,0], [-30,-11], [-47.5,0.5]], [[11.25,-21], [-15,0], [-26,20], [-30,7]], [[16.95,16.2], [-15,0], [-30,-27], [-38,-5.5]], [[-5.75,-22.5], [-14,15], [-15,33], [4,46]], ]; t_step = 0.05; for(curve=DATA) transla...
glb/cad_c1be2a9e6a88.glb
Create a bookshelf picture holder by constructing two identical mirrored components. For one component, start with a base block that is 12.7mm wide, 12.7mm high, and 12.7mm deep. Attach a rectangular arm to the back of this block that extends 25.4mm further back, making the total depth 38.1mm, while maintaining the 12....
unitscale = 25.4; width = 1/2; l1 = 2; l2 = 4; dip = 1/2; lip = 1/8; back = 1; uwidth = width * unitscale; ul1 = l1*unitscale; ul2 = l2*unitscale; udip = dip*unitscale; ulip = lip*unitscale; uback = back*unitscale; module part(){ difference(){ union(){ translate([0,-uback,0])cube([uwidth,ul1+uback,uwidth]); ...
glb/cad_b374298c0331.glb
Create an ornament consisting of three identical intersecting rings arranged as an equilateral triangle. Each ring must have an outer radius of 20mm, an inner radius of 16mm, and a height of 5mm. Position the first ring centered at coordinates (20, 17.32, 0). From this ring, remove a rectangular section 20mm wide and...
height = 5; movement = sin(60); ir = 16; or = 20; module ring(ir, or) { difference() { cylinder(r=or, h = height); translate([0,0,-1]) { cylinder(r=ir, h = height + 2); } } } union() { translate([or,or*movement,0]) { difference() { ring(ir, or); rotate(a=30) { translate([0,-or,-1]) { ...
glb/cad_d85b95aedf1d.glb
Create a Dial Support for a Lulzbot TAZ 4 printer. Start with a central rectangular block measuring 102mm in length, 8mm in width, and 32mm in height, with all edges rounded by a 1mm radius. At each end of this block, centered at x=35mm and x=-35mm, add a mounting clip. Each clip is composed of a cylinder with a radius...
module barras() { union() { translate([35.0,2,-221.5]) cylinder(h=443,r=5.125); translate([-35.0,2,-221.5]) cylinder(h=443,r=5.125); } } module presilha() { minkowski() { union() { difference() { cylinder(r=8.5,h=6); translate([-10,-7.25,0]) cube([10,11,6]); } transl...
glb/cad_2ca6e7547de1.glb
Create a Mendel Max Floor Fixing bracket with a thickness of 4mm. The main body is an L-shaped flat plate. Construct the base by combining a rectangular section measuring 82mm by 20mm with a perpendicular arm measuring 45mm by 20mm, resulting in an overall footprint of 82mm by 45mm. The outer corners of the overall sha...
m5_head = 8.4; m5_hole = 5.0+0.5; m3 = 3.0+0.5; lamp_body = 27;; body_width = 82.0; body_height = 45.0; body_layer = 4.0; body_steg = 20.0; translate([0,0,0]) rotate([0,0,0]) holder(); module holder() { difference() { union() { color("red") translate([body_steg/2,0,0]) rotate([0,0,0]) ...
glb/cad_91d7311c2049.glb
Create a boundary cable peg. Start with a flat rectangular top plate measuring 10mm wide by 10mm deep and 3mm thick. From this plate, extend a main body 80mm long. This body should be a hollowed-out square prism with a wall thickness of 1.5mm, but the interior is carved out by a 45-degree diagonal cross-section, leavin...
TopThickness=3; PegLength=80; PegWidth=10; PegThickness=1.5; HookLength=20; HookSpace=4; HookThickness=2; Manifoldfix=0.01; rotate([90,0,90]) Assembly(); module Assembly(){ cube([PegWidth+HookThickness+HookSpace,PegWidth,TopThickness]); intersection(){ PegSolid(); PegSkeleton(); } PegHook(); } module PegSo...
glb/cad_562751f7a9de.glb
Create a rectangular jaw for a table vise with overall dimensions of 65mm in width, 15mm in height, and 8mm in depth. Center two vertical holes along the width, positioned 47.13mm apart. Each hole must have a base diameter of 5.08mm and a depth of 8mm. To allow for screw heads, add a countersink to each hole with a d...
ovl_w = 65; ovl_h = 15; ovl_d = 8; hx = 47.13; h_dia = 5.08; cs_dia = 8.8; cs_d = 5.1; difference() { linear_extrude(height=ovl_d, convexity=6) { difference() { square([ovl_w, ovl_h], center=true); translate([-hx/2,0]) polycircle(d=h_dia); translate([hx/2,0]) polycircle...
glb/cad_9c59ea54ea30.glb
Create a Universal Cable Guide with a total height of 10mm. The main body is a flat plate with a thickness of 6mm. Start with a rectangular base that is 50mm wide (table thickness) and 20mm deep (clamp depth). On one end of this base, integrate a spring element consisting of 2 repeating serpentine loops, each 2mm thick...
tableThickness = 50; clampDepth = 20; guideWidth = 10; guideThickness = 6; cableWidths = [7, 7, 7, 6, 6, 5, 5, 4, 4]; cableClampThickness = 1; cableClampSpacing = 0.5; cableOpeningAngle = 60; springThickness = 2; springLoops = 2; springCompressionRatio = 0.75; $fn = 40; springWidth = springThickness * sprin...
glb/cad_d5713a52be5a.glb
Create a Boscam TR1 camera mount consisting of a rectangular base and two symmetrical side walls. Start with a base plate measuring 27mm wide, 42mm long, and 1.6mm thick. Construct two identical side walls, each 1.6mm thick. Each wall begins with a base extension 25mm long and 1.6mm thick, centered relative to the ba...
baseWidth = 27; baseLength = 42; baseThickness = 1.6; cameraWidth = 37; sideThickness = 1.6; union() { translate([-baseWidth / 2, -baseLength / 2, 0]) cube([baseWidth, baseLength, baseThickness]); side(); mirror([1, 0, 0]) side(); } module side() { coolingClearance = 2; sideBaseLength = 25; sideBaseOffse...
glb/cad_a524635656ba.glb
Create a Watch Movement Holder by constructing a series of concentric cylindrical subtractions from a main solid cylinder. Start with a solid outer cylinder that has a diameter of 47.4mm and a total height of 18.25mm. From the center of this solid, remove a series of coaxial cylinders to create tiered internal rings. ...
function INCH(x) = x * 25.4; function F(x) = x+.25; $fn = 90; module rcylinder(d, h, delta=0) { echo(h, d, delta); translate([0,0,delta]) hull() { minkowski() { cylinder(d=d-delta, h=h-delta); sphere(d=delta); } translate([0,0,2*h]) sphere(d=delta); ...
glb/cad_436ef39de812.glb
Create a spool system extension with a total thickness of 2.8mm. The main body is a long, narrow strip with a total length of 93mm and a width of 13mm. At both ends of this strip, create semi-circular caps with a radius of 6.5mm, making the overall shape a stadium or capsule. Centered within this body, remove a continu...
x(); module x(){ translate([6.5,6.5,1.4]) difference(){ union(){ cylinder(h=2.8,r=6.5,center = true, $fn=100); translate([40,0,0])cube(size = [80,13,2.8], center = true); translate([80,0,0])cylinder(h=2.8,r=6.5,center = true, $fn=100); } cylinder(h=2.8,r=4.5,center = true, $fn=100); translate...
glb/cad_4e35c516518b.glb
Create a panel mount for an Arduino Pro-Micro. Start with a base rectangular plate measuring 32mm wide, 11mm high, and 2.5mm thick, with rounded corners of 0.8mm radius. In the center of this base, remove a rectangular slot 10mm wide and 5mm high that penetrates the full thickness of the plate. Positioned vertically ...
$fn=32; leonardo_w = 18.5; leonardo_w_support = 13; leonardo_d = 35.0; leonardo_t = 1.8; usb_hole_w =10; usb_hole_h = 5; panel_w = 32.0; panel_h = 11.0; panel_t = 2.5; radius = .8; radius2 = radius / 2; adapter(); module adapter() { difference() { translate( [ -panel_w / 2, -panel_h /2, 0]) ...
glb/cad_5c8c040c0862.glb
Create a bobbin clip for an M-style bobbin. The main body is a curved C-shaped ring with a total height of 12.2mm. The ring has an outer diameter of 27.3mm and an inner diameter of 25.7mm, creating a wall thickness of 0.8mm. The ring is not a full circle; it has an opening angle of 120 degrees. Inside the main ring, a...
bobbinDiameter = 25.7; bobbinHeight = 10.6; bobbinSideWall = 1; insideClipWidth = 1.0; outsideClipWidth = 0.8; module noServiceablePartsInside() {} clipOpening = 120; endClipSize = 2.1; bobbinRim = 1.5 * bobbinSideWall; insideClipHeight = bobbinHeight + 2*outsideClipWidth - 2*bobbinRim - 2* insideClipWidth; m...
glb/cad_820322aa2bf1.glb
Create a needle file handle consisting of a main handle body and a separate clamping screw. For the handle, create a tapered cylindrical form that transitions from a base diameter of 13.5mm to a top diameter of 18mm over a height of 49mm. Above this, add a spherical cap with a diameter of 18mm that blends into a smal...
$fn=100; include <simplethreads.scad>; dFile=3+0.4; dOut=6*dFile; h=70; hIn=50; translate([0,0,0.5])difference(){ } difference(){ color([1,0,0])nut(); } module handle(){ difference(){ union(){ difference(){ cylinder(d1=dOut*0.75,d2=dOut,h=h*0.7); } ...
glb/cad_2938c8a66c10.glb
Create a CNC 3018 Pro X-Axis Reinforcement consisting of a central rectangular block with two cylindrical towers at either end. The main body is a rectangular slab measuring 71.8mm in length, 26.99mm in width, and 10mm in height. At each end of the slab, center a cylinder with a diameter of 26.99mm and a height of 10m...
x=1; $fn=50; dR=71.9; e=0.2; module X_Carry(){ translate([0,0,-5]) union(){ translate([36,-11.25,0]) cube([72,4.5,10],center=true); translate([36,11.1,0]) cube([72,4.8,10],center=true); cylinder(h=10,d=27+e,center=true); translate([0.5,0,0])cylinder(h=10,d=27+e,center=true); tran...
glb/cad_fa1e9f153286.glb
Create a pair of pliers for binding toy train tracks by constructing two identical mirrored arms. For one arm, start with a central rectangular block 10mm wide, 50mm long, and 28mm high, centered on the Z-axis. Add a square block 9.5mm wide and 9.5mm deep at the pivot area. Integrate a cylinder with a 38mm diameter and...
$fn=40; H=28; L=50; L2=90; D=38; C=10; gap=.4; hgap=.8; module side() { difference() { union() { translate([-(D-C)/2,L/2,0]) difference() { cube([C,L,H],center=true); translate([0,2*L/3,0]) rotate([0,0,-20]) cube([C,2*L,H+1],center=true); ...
glb/cad_a6b26b329a84.glb
Create a heated bed plate for an Ultimaker printer. Start with a square base measuring 241mm by 241mm with a thickness of 6mm and rounded corners with a 10mm radius. Remove a rectangular groove from the top surface that is 4mm wide and 3mm deep, centered along the length but offset 2mm from the edge and stopping 5mm ...
use <roundCornersCube.scad>; $fn = 30; module plate() { width = 241; length = width; thickness = 6; groove_depth = 2; module fix() { cylinder(r = 3, h = thickness * 2); translate([7.5, 0, 0]) { cylinder(r = 1.5, h = thickness * 2); } translate([2, 0,...
glb/cad_8b44ce54783d.glb
Create a periodic table coaster by starting with a central square base measuring 88.9mm by 88.9mm with a thickness of 3mm. Surround this base with a raised outer rim that is 3mm high, leaving a 1mm gap between the edge of the base and the outer boundary of the square. On the top surface of the base, add the following...
function inches(val) = val * 25.4; elem_name = "Manganese"; elem_number = "25"; elem_symbol = "Mn"; atomic_weight = "54.94"; module letter(l, s, j) { linear_extrude(height = text_height) { text(l, size = s, halign = j, valign = "center", $fn = 16); } } square_size = inches(3.5); p = square_size / 2; q = p -...
glb/cad_2b5b495437df.glb
Create an LED-Strip-Holder consisting of a central ribbed section and two mounting tabs. The overall height of the object is 8mm. Start by creating a central rectangular block 11mm wide, 7.7mm high, and 8mm deep. Within this central block, add four small vertical cylindrical pins, each 1mm in diameter and 8mm high, spa...
thick=1.3; weight=8; screw_base=9.5; screw_base_thick=thick+0.5; screw_hole=3; led_height=9-thick; led_lenght=11; tol=0.1; $fn=100; translate([screw_base,led_height,0]){ cube([led_lenght,thick,weight]); for(x = [0:4]){ translate([x*1.4+led_lenght/4,0,0]) cylinder(d=1.0, h=weight); } } union(){ ...
glb/cad_744151cff221.glb
Create a lower case for an Arduino Uno and relay shield. Start with a rounded rectangular block with a total height of 36mm. The outer walls should have a thickness of 2mm and rounded corners. Hollow out the center of the block to create a cavity for the PCB, leaving the wall thickness intact. On the bottom side, cre...
include <ArduinoUnoCaseConfig.scad> ArduinoCaseLowerPart(36, 0.48); caseWidth = pcbWidth + pcbWiggleRoom + 4 * wallThickness; module arduinoCaseBase(caseHeight, caseUpperLowerPartRatio) { union() { difference() { linear_extrude(height = caseHeight, convexity = 10) mi...
glb/cad_02f9baa23eab.glb
Create a Mavic Mini RC hole cover. Start by constructing a main body using a hull operation that connects four cylinders, each with a diameter of 4mm and a height of 2mm. Position these cylinders at the corners of a rectangle defined by x coordinates of ±13.65mm and y coordinates of ±2.9mm, all centered on the Z-axis. ...
content = "AEROPIC"; $fn = 100; module mytext() { font = "Liberation Sans:style=Bold"; linear_extrude(height = 2) { text(content, font = font, size = min(6,6*5/len(content)), halign ="center", valign ="center"); } } module manche() { hull() { translate([-27.3/2,2.9,0]) cylinder (d = 4,h=2, ce...
glb/cad_44314327f501.glb
Create a peace-sign themed fidget spinner. Start with a central cylindrical core that has a radius of 4.1mm and a total height of 6mm. At the top of this core, add a thin distance ring with a radius of 5.1mm and a height of 0.7mm. Around the center, create a decorative globe-like structure. This consists of two sets o...
$fa = 0.3; $fs = 0.3; height_insert = 3; height_griff = 3; whole_r_bearring = 4.1; distance_ring_z = 0.7; distance_ring_r = whole_r_bearring + 1; s = 1.5; radius_griff = 9; module txt() { mirror([0,1,0]) translate([-4.5,-3.1]) linear_extrude(1) text("\u0414", 10); } module stuetz(rst) { hoch = he...
glb/cad_f29a907d6b02.glb
Create a fidget spinner with five symmetrical arms radiating from a central hub. The overall thickness of the body is 7mm, but the main platform sections are 5mm thick with rounded edges. At the center, create a cylindrical hole with a radius of 11mm to accommodate a 608 bearing. Around this hole, create a central ra...
$fs = 0.3; $fa = 0.3; z = 7; rb = 11; rb_add = 4; mkr = 1; zl = z - 2*mkr; m5_eckmass = 8.9; m5_h = 4.7 + 1; module centerZ(h, total) { translate( [0, 0, (total-h)/2 ] ) children([0]); } module mk(r=mkr) { minkowski() { translate([0,0,r]) children([0]); sphere(r); } } module hole(...
glb/cad_0394058d6e23.glb
Create a set of components for a SkyWalker X8 drone. First, create a front belly plate as a rectangular block measuring 49mm by 80mm with a height of 3mm, featuring a centered vertical hole with a diameter of 3mm and a height of 20mm. Second, create a rear belly plate by forming a hull around four cylinders, each w...
$fn=200; translate([100,44,1.5])bely_plate_front(); translate([170,30,0])bely_plate_rear(); translate([95,-40,0])belly_plate_front_inner(); module Flight_Controller_anti_vib_CPU() { difference() { hull() { translate([53/2,53/2,0])cylinder(d=3,h=2); translate([-53/2,53/2,0])cylinder(d=3,h...
glb/cad_577265ab77ba.glb
Create a SkyWalker X8 assembly jig by starting with a central rectangular block measuring 40mm x 40mm x 15mm, centered on the origin. From this main body, remove several rectangular volumes to create a hollowed-out center: first, remove a 44mm x 19.2mm x 15mm block centered at [0, 11.6, 1.2], then a 44mm x 19.2mm x 15m...
$fn=200; difference() { cube([40,40,15],center=true); translate([0,12-0.4,1.2])cube([44,20-0.8,15],center=true); translate([0,10-0.4,1.2])cube([44,20-0.8,15],center=true); translate([0,0,1.2])cube([28,40-1.6,15],center=true); translate([17.5,0,1.5])rotate([90,0,0])cylinder(d=1.8,h=20,center=true); transl...
glb/cad_0a56840b1f0b.glb
Create a battery holder for 18650 cells. Start with a rectangular block measuring 19mm by 24mm by 84mm. From this block, remove a central section to create a hollow cavity. This cavity is formed by combining a rectangular prism of 73mm by 20mm by 26mm with a cylinder of 20mm diameter and 73mm height, positioned to cr...
$fn=200; cam=3; npt=4; max_angel=25; min_angel=0; battery_18650(); module battery_18650() { rotate([0,-7,0])translate([-0,-12,-16])difference() { cube([19,24,84]); translate([2,12,42])rotate([0,90,0])union() { translate([-40, -5, 1.8])cube([80,10,26]); hull() { translate([-36.5,-0...
glb/cad_452935b0f8a1.glb
Create a circular lithophane coaster with a total diameter of 82mm and a base thickness of 3mm. The main body consists of a central cylinder with a diameter of 82mm and a height of 3mm, which serves as the canvas for a surface-mapped image. The image is embossed onto the top surface, with the thickness of the embosse...
image_file = "eggplant.png"; res = 0; scribe = 0; diam = 82; z = 3; bordR = 3; bordZ = 4; pBack = 0.33; imgLen = (scribe)*diam + (1-scribe)*sin(45)*diam; zBack = z*pBack; $fn=60; intersection() { translate([0,0, zBack]) resize([imgLen, imgLen, z-zBack]) Lithopane(res); cylinder(d=diam...
glb/cad_89d32963e973.glb
Create a RAMPS adapter for Sanguinololu mounting holes. Start by creating a rectangular base plate measuring 94mm by 48mm with a thickness of 3mm. Remove a central rectangular section measuring 78mm by 32mm from the middle of the plate, leaving a border around the edges. At the four corners of this plate, create eight...
holes_size = 3; holes_size_outter = 7; holes_support = 8; support_thickness = 3; module mount_hole() { difference() { cylinder(d=holes_size_outter, h=holes_support, $fn=40); translate(v=[0,0,-1]) cylinder(d=holes_size, h=holes_support, $fn=40); } } module arduino_holes() { cylinder(d=ho...
glb/cad_9142e90ae072.glb
Create a set of small circular containers and matching lids decorated with radial hexagonal tilings. For the container, create a cylindrical bowl with an outer radius of 35mm and a wall thickness of 2mm (inner radius 33mm). The bowl should have a height of 25mm. At the inner bottom of the bowl, place a radial tiling ...
hexa_lid(5,1.9); module check(x) { for( i = [0:1:10]) { border_radial(x,i,0.9,1);}} module hexa_lid(x,sc_top) { translate([0,0,9.5]) scale([sc_top,sc_top,1]) union() { for( i = [0:1:9]) { border_radial(x,i,1.001,1);} color("red") for( i = [0:1:9]) { border_radial(x,i,.85,2);} } linear_extrude(...
glb/cad_1888a617d0dd.glb
Create a parametric horizontal test tube rack. Start by constructing a cylinder with a radius of 8.15mm and a length of 160mm, oriented horizontally. Enclose this cylinder within a rectangular block that has a width and height of 16.3mm and a length of 160mm, ensuring the cylinder is positioned to create a semi-circula...
thickness=2; length=160; diameter=16.3; rayon=diameter/2; tilt=1; module tube (){ rotate (a=[-tilt,0,0]) translate ([0,0,rayon]){ union() { translate ([-rayon,0,0]) cube ([diameter,length/1.2,diameter]); rotate (a=[-90,0,0]){cylinder (h=length,r=rayon);};};};}; tube (); translate ([20,20,20]){tube();};
glb/cad_48f0f2bae712.glb
Create a stackable hexagonal box with a height of 40mm and an outer radius of 50mm. The main body is a hexagonal prism with a wall thickness of 1.5mm. The interior is hollowed out by removing a smaller hexagonal prism from the center, starting 1.5mm from the base, leaving a solid bottom floor. At the base of the box, ...
i=0.05; s60=sin(60); module box(h,ro,ri,ww=1.5) { difference(){ cylinder(h=h,r=ro,$fn=6); for(r=[0:60:300]){ translate([sin(r)*ro*s60-s60*sin(r)*ri, cos(r)*ro*s60-s60*cos(r)*ri,-i]) cylinder(h=h+i+i,r=ri+i,$fn=6); } translate([0,0,ww]) difference() { cylinder(h=h,r=ro-ww,$fn=6); for(r=[0:60...
glb/cad_b8eb7f255586.glb
Create a RAMPS 1.4 LCD mount plate by starting with a rectangular base measuring 150mm wide, 55mm deep, and 3mm thick. At each of the four corners of the base, add a square post measuring 5mm by 5mm with a height of 10mm. Drill a vertical hole with a radius of 1.35mm through the center of each corner post, positioned 2...
$fs=0.01; difference() { union() { cube(size=[150,55,3]); translate([0,0,3]) cube(size=[5,5,10]); translate([145,0,3]) cube(size=[5,5,10]); translate([0,50,3]) cube(size=[5,5,10]); translate([145,50,3]) cube(size=[5,5,10]); } translate([2.5,2.5,-1]) cylinder(h=15,r=2.7/2); translate([2.5,5...
glb/cad_4c574e0a44a8.glb
Create a RAMPS 1.4 LCD mount consisting of a rectangular base plate and two angled side brackets. Start by creating a rectangular base plate measuring 90mm in length, 35mm in width, and 6mm in height. At each end of the plate, add a vertical bracket measuring 5mm wide, 50mm high, and 25mm deep. Rotate these brackets 15...
$fs=0.01; difference() { union() { cube(size=[90,35,6]); translate([0,-10,6]) rotate(a=[-15,0,0]) cube(size=[5,50,25]); translate([85,-10,6]) rotate(a=[-15,0,0]) cube(size=[5,50,25]); } translate([15,25,-1]) cylinder(h=4,r=5); translate([75,25,-1]) cylinder(h=4,r=5); translate([-5,-25,-10...
glb/cad_1c9e397e7602.glb
Create a generic rounded box with a lid. The overall external dimensions are 60.5mm by 50.5mm. All walls and the lid thickness are 2mm. First, construct the base. The base is a hollow rectangular shell with a height of 15mm. The four vertical corners must be rounded with a radius of 2mm. The interior is hollowed out, ...
EDmX = 60.5; EDmY = 50.5; Tke = 2; $fs=0.1; HIntBoite = 15; HCouv=10; C_Couvercle = true; C_BoitierBase = false; module Fond(){ Xd=EDmX/2-Tke; Yd=EDmY/2-Tke; difference() { union() { for (i=[-Xd, Xd]) { translate([i,0,0]) rotate([90,0,0]) cylinder(r=Tke,h=(EDmY - 2*Tke),center=tr...
glb/cad_1eb3cc53e167.glb
Create a 3D model of the ADHD drone frame. Start by constructing a central body using a NACA 12 airfoil profile with a length of 420mm. The main body is a mirrored assembly of two symmetrical frames. For the body frame, create a shape by intersecting the airfoil profile with a 285mm by 200mm rectangle. Extrude this to...
$fn=100; function airfoil_data(naca=12, L = 100, N = 81, open = false) = let(Na = len(naca)!=3?NACA(naca):naca) let(A = [.2969, -0.126, -.3516, .2843, open?-0.1015:-0.1036]) [for (b=[-180:360/(N):179.99]) let (x = (1-cos(b))/2) let(yt = sign(b)*Na[2]/.2*(A*[sqrt(x), x, x*x, x*x*x, x*x*x*x])) Na[0]==0...
glb/cad_9207a72bff48.glb
Create a CNC mill bearing clamp by starting with a central rectangular block measuring 40mm wide, 34mm deep, and 35mm high, centered on the origin. Carve out a large vertical semi-cylindrical channel from the top and front, with a radius of 17mm and a height of 37mm, to create a U-shaped cradle. Bore a horizontal cylin...
$fn=100; difference(){ translate([-18.5,-19,0])cube(size = [3,15,35], center = true); rotate([0,90,0])translate([-10,-25,-22])screwhole(); } translate([18.5,-19,0])cube(size = [3,15,35], center = true); difference(){ cube(size = [40,34,35], center = true); translate([0,-16,-18])cylinder(h = 37, r=17); rotate([0,90...
glb/cad_0ee8352da1a8.glb
Create a lampshade by generating a revolved hollow shell. Start with a 2D cross-section consisting of two concentric circles: an outer circle with a radius of 15mm and an inner circle with a radius of 13mm. Shift this cross-section 20mm along the x-axis. Scale the resulting shape by 0.5 on the x-axis and 0.7 on the y-a...
outerRadius = 15; squareLength = 20; xScale = 0.5; yScale = 0.7; lampShade(outerRadius = outerRadius, squareLength = squareLength, xScale = xScale, yScale = yScale); module lampShade(fn = 160, intersection_xTranslate = -20, outerRadius = 10, ...
glb/cad_bfbc24ff9035.glb
Create a simple robot model consisting of a body, head, and two servo-driven arms. Start with the body: create a central rectangular torso 60mm wide, 20mm deep, and 100mm tall. At the bottom center of the torso, remove a rectangular notch 15mm wide, 22mm deep, and 51mm tall. Above the torso, add a neck as a 15mm cube...
breedte=60; hoogte=100; circle=36; arm_length=16; arm_width_base=6.5; arm_width_end=4; arm_height=1.5; robot(breedte,hoogte); translate([0,-50,0]) rotate([0,90,0]) servo_1(); body(breedte, hoogte); module robot(breedte,hoogte) { body(breedte,hoogte); translate([(breedte/2+17),breedte/6-6,hoogte/2-37]) rota...
glb/cad_1e186414a994.glb
Create a bed belt holder for a 3D printer. Start with a main rectangular block measuring 30mm wide, 23mm deep, and 28mm high. At the top of the block, create a cutout that is 40mm wide, 11mm deep, and 20mm high, centered along the depth, to serve as a nut trap. Add two semi-cylindrical protrusions with a 4mm radius...
module yIdlerHalf() { difference() { union() { cube([44-14,28,5.5]); translate([12,0,5.5]) cube([7,28,3]); translate([44-14,14,0]) cylinder(r=14,h=5.5,$fn=32); } translate([-1,5.5,-1]) cube([13,17,7.1]); translate([12+3.5,14,3]) rotate([0,90,0]) cylinder(r=4.85,h=3.51,$fn=6); translate([12+3.5,...
glb/cad_19abd3075252.glb
Create a vertical bearing holder for a Thompson SPM08 linear bearing. Start with a base block that is 12mm wide, 20mm deep, and 60mm tall. Center a vertical cylindrical hole with a radius of 8mm through the entire 60mm height of the block. To allow for the insertion and retention of the bearing, create a vertical slo...
bearing_diameter = 16; module horizontal_bearing_base(bearings=1){ translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true); } module horizontal_bearing_holes(bearings=1){ cutter_lenght = 10+bearings*25; one_holder_lenght = 8+25; holder_lenght = 8+bearings*25; difference(){ translate(v=[0,0,12]) ...
glb/cad_e01dcb377ce0.glb
Create a 3D model of an X-end idler for a linear bearing system. Start by constructing the base shape of the idler. From this base, remove a central cylindrical hole with a radius of 4.2mm and a height of 17mm, using a 30-facet resolution for the cylinder. Additionally, create two conical cutouts to accommodate the b...
use <inc/x-end.scad> module x_end_idler_base(){ x_end_base(); %translate(v=[-5.5-(17/2)+(7/2),-25-2,30.25]) rotate(a=[0,-90,0]) cylinder(h = 7, r=(22/2)+2*0.66); translate([0,0,9+6]) rotate([0,180,0]) cylinder(r1=15/2, r2=12/2,h=1.5); } module x_end_idler_holes(){ difference() { x_end_holes(); trans...
glb/cad_bfa2f84c50c8.glb
Create a motor mount for a 3D printer X-axis end. Start with a base composed of two joined rectangular blocks: one measuring 17mm x 44mm x 30mm centered at [-14, 31, 11.5], and a second block measuring 17mm x 20mm x 53mm centered at [-14, 19, 26.5]. From this base, remove the following geometric features: 1. A central...
use <inc/x-end.scad> module x_end_motor_base(){ x_end_base(); translate(v=[-14,31,26.5-23/2]) cube(size = [17,44,30], center = true); translate(v=[-14,31-24/2,26.5]) cube(size = [17,20,53], center = true); } module x_end_motor_holes(){ x_end_holes(); translate(v=[-0,32,30.25]){ translate([-4,0,2]) cube([20,4...
glb/cad_fd3b373c409b.glb
Create a linear bearing X-end mount. Start with a main rectangular block measuring 17mm in width, 44mm in depth, and 60mm in height, centered on the X-axis. Subtract a vertical rectangular slot for the belt, measuring 10mm wide, 44mm deep, and 32mm high, positioned at X -14.5, Y -12, and Z 30. Create two push-fit rod...
include <../configuration.scad> use <bearing.scad> use <nuts_and_bolts.scad> module x_end_base(){ translate(v=[-14,-10-2,30]) cube(size = [17,39+5,60], center = true); vertical_bearing_base(); translate(v=[-2-2,-17,4]) cube(size = [8,16,8], center = true); translate(v=[0,-17,0]) rotate([0,0,30]) cylinder(h = 8, ...
glb/cad_956bc834a967.glb
Create a centering cap for a Thompson SPM08 linear bearing. Start by creating a solid cylinder with a radius of 9mm and a height of 10mm. From the center of this cylinder, remove a smaller concentric cylinder with a radius of 4.5mm and a height of 10mm, but offset this hole so that it starts 2mm from the bottom, leavin...
wall = 2; caplength = 8; offset = 14; clearance = 1; friction = 0.2; rod = 8; diameter = 16 - friction ; length = 25; $fn = 50; module bearing() { cylinder ( r=diameter/2,h=length); cylinder ( r=(rod+clearance )/2 , h=length*2); translate ([offset - (diameter/ 2) - clearance,-25,0]) cube ([10,50,50]); } translate...
glb/cad_cdebb83c3696.glb
Create a Sphericon by constructing two identical cones, each with a height of 7.071mm and a base radius of 7.071mm. Join these two cones base-to-base to form a double cone. Slice this double cone exactly in half along its central vertical axis to create two identical semi-double-cone halves. Position the first half as ...
CONE_DETAIL=100; module cone() { cylinder(r1=0.7071,r2=0, h=0.7071, $fn=100); } module joinedCones() { cone(); rotate([180,0,0]) cone(); } module halfJoinedCones() { difference() { joinedCones(); translate([0,-1,-1]) cube(size=[1,2,2]); } } module Sphericon() { scale(10) rotate([0,-45,0]) hull() { halfJoi...
glb/cad_249678abe6a2.glb
Create a Rim Reinforcement support consisting of a circular ring and three equidistant mounting lugs. Start with a base ring that has an inner diameter of 107mm and a thickness of 2.5mm. Add a concentric upper lip that is 4mm high, creating a channel for a bottle rim to sit in. At three points around the ring, spaced ...
$fn = 90; rim_id = 107; bottle_thickness = 1.5; support_thickness = 2.5; lip_height = 4; mount_count = 3; mount_diameter = 30; tie_rap_hole_diameter = 3.5; rope_hole_diameter = 5; module rim_support() { union() { difference() { union() { difference() { union() { for(i = [0:1:...
glb/cad_8bc4594821e0.glb
Create a 3D model of an 18650 battery. The main body is a cylinder with a diameter of 18mm and a total length of 65mm. At the bottom end, add a recessed negative pole by creating a cylinder with a diameter of 15.5mm and a height of 0.1mm. At the top end, add a protruding positive terminal consisting of a cylinder wit...
bat_D_l=61.5; bat_D_d=34.2; bat_C_l=50; bat_C_d=26.2; bat_B_l=60; bat_B_d=21.5; bat_A_l=50; bat_A_d=17; bat_AA_l=50.5; bat_AA_d=14.5; bat_AAA_l=44.5; bat_AAA_d=10.5; bat_18650_l=65; bat_18650_d=18.2; main=false; if (main == false) { show_batteries(); } module show_batteries() { num_battery=3; for ( i = [...
glb/cad_504c6e6383a2.glb
Create a mobile phone stand for a telescope consisting of a cylindrical connector and a flat camera bed. First, construct the connector as a hollow cylinder with an inner diameter of 59mm, a height of 38mm, and a wall thickness of 4mm. Cut two rectangular gaps into the outer wall, each 8mm wide and 4mm thick, position...
connector_diam_inside=59; connector_height=38; connector_wall=4; connector_gap=2; flap_width=8; block_width=14; block_depth=14; bed_wall=2; $fn=96; delta=0.002; assembly(); module assembly() { translate([0,30,connector_height/2]) rotate([0,0,90]) color("lightgreen") connector(); translate([0,0,-1]) color("red...
glb/cad_203a5bf48725.glb
Create a Lathe Sizing Template gauge with a uniform thickness of 3.175mm. The object is a flat, U-shaped geometric assembly. Start by creating a central rectangular bar that is 40.965mm wide and 40.965mm long. From this center, extend two arms of equal width (10.24mm) outwards in opposite directions along the x-axis. E...
t_size=1.625; conversion = 25.4; jaws= t_size * conversion; height=(.125) * conversion; top=jaws * .25; side=jaws * .25; arm=side; union() { translate([((jaws/2)+side+top/2),0,0]) cube(size=[top, jaws+arm+side, height], center=true); translate([(jaws/2)+(side/2),0,0]) cube(size=[side, jaws, height], center=true...
glb/cad_265728c3d481.glb
Create a Customizable Card Box for SRS consisting of a main box and a removable lid. For the box, create a rectangular container with outer dimensions of 43.5mm in width, 93.5mm in depth, and a total length of 193.5mm. The walls are 2.5mm thick. The interior is divided into three sequential sections along the length:...
cards_per_cm=45; card_height=40; card_width=90; section1=100; section2=45; section3=45; part = "All"; wall=2.5; lid_height=20; lid_wiggle=.5; card_wiggle=1; w=wall; lw=lid_height/100; cpc=cards_per_cm+0; sec1=10*(section1/cpc); sec2=10*(section2/cpc); sec3=10*(section3/cpc); x=card_height+card_wiggle; y=card...
glb/cad_302d3f2a906c.glb
Create a Fan Finger Guard by starting with a square plate measuring 60mm by 60mm with a thickness of 2.5mm. From the center of this plate, remove a circular section with a radius of 30mm to create a large central opening. Within this opening, create a concentric pattern of circular ribs and gaps: first, a solid ring wi...
difference(){ union(){ union(){ difference(){ cube([60,60,2.5],center=true); translate([0,0,-2])cylinder(r=30,h=5); } difference(){ cube([60,60,2.5],center=true); translate([0,0,-2])cube([58,58,10],center=true); } } rotate([0,0,45])cube([1,60,2.5],center=true); rotate([0,0,45])cube([60,1,2.5],center=true); differenc...
glb/cad_54158469a135.glb
Create a Garmin Sun Screen consisting of a thin shell with a thickness of 1.5mm. Start with a central rectangular top plate measuring 124mm wide by 60mm deep. Attach two side panels to the left and right edges of this plate; these panels should be 1.5mm thick and 66mm high, but taper in depth from 60mm at the top to 35...
thickness=1.5; width=124; side_height=66; overhang=60; rotate([180,0,0]) sun_screen(); module sun_screen() { difference() { union() { translate([0,overhang/2,-thickness/2]) cube([width, overhang, thickness],center=true); translate([-width/2, 0, 0]) side_panel(); ...
glb/cad_4236a0a0f079.glb
Create a GE Shower Filter Reinforcer clip with a height of 15mm. The main body is a flat plate formed by the convex hull of two cylinders: a large outer cylinder with a radius of 39.5mm and a smaller cylinder with a radius of 20mm. The smaller cylinder is offset from the center of the larger one by 34.7mm along the x-a...
CLIP_HEIGHT = 15; CLIP_THICKNESS = 10; FILTER_DIAMETER = 69; PIPE_DIAMETER = 20; SPACING = 15.4; module circles(THICKNESS=0) { cylinder(h=CLIP_HEIGHT, r=FILTER_DIAMETER / 2 + THICKNESS); translate([SPACING + (PIPE_DIAMETER / 2) + (FILTER_DIAMETER / 2),0,0]) cylinder(h=CLIP_HEIGHT, r=PIPE_DIAMETER / 2 + THICKNESS); } ...
glb/cad_6c360be40086.glb
Create a pet food scoop consisting of a cylindrical cup and an attached rectangular handle. The cup should have a total height of 35mm and a wall thickness of 5mm. Based on a volume of 0.375 US cups, the outer radius of the cylinder should be approximately 38.6mm. The interior of the cup is a hollow cylinder with a rad...
use<write/Write.scad>; volume = .375; height = 35; wall_thickness = 5; font_name = "Orbitron.dxf"; name = "Scooby"; handle_width = 16; cup2mm = 236588.236; volume_mm = (cup2mm *volume); cup_area = volume_mm/(height - wall_thickness); radius = sqrt(cup_area/PI); diameter = radius*2; handle_thickness = handle_width*5...
glb/cad_bbc3055c0071.glb
Create a Customizable Train Track consisting of two parallel rails connected by sleepers. The track has a total width of 54mm and a wheel width of 31.8mm. Construct the rails as two long, parallel beams. Along the length of these rails, place connector pins with a diameter of 9.2mm. These pins should fit into connecto...
GenerateObject=5; GenerateKnobsX=2; GenerateKnobsY=4; GenerateSecondCalibrationTrackEnd = 1; Unit=16; KnobD=9.4; KnobL=4.6; geo_hollow_knop=1; StudH=5; StudD=9.4; TubeD=13.2; BrickH=19.2; BrickWallT=1.5; HorzPlay=0.1; PlateH=9.6; BasePlateH=1.6; TrackPin=9.2; TrackHole=9.9; TrackPinWidth=6.4; TrackFu...
glb/cad_9759aed1f9e4.glb
Create a customizable train track section. The track consists of two parallel rails connected by sleepers. The rails are defined by a cross-section that includes a base and a raised rim. The distance between the rails is determined by the track width. The rails follow a path that can be straight or curved. For a curve...
GenerateObject=5; GenerateKnobsX=2; GenerateKnobsY=4; GenerateSecondCalibrationTrackEnd = 1; Unit=16; KnobD=9.4; KnobL=4.6; geo_hollow_knop=1; StudH=5; StudD=9.4; TubeD=13.2; BrickH=19.2; BrickWallT=1.5; HorzPlay=0.1; PlateH=9.6; BasePlateH=1.6; TrackPin=9.2; TrackHole=9.9; TrackPinWidth=6.4; GeoUseR...
glb/cad_0d15f987023c.glb
Create a mobile phone car bracket starting with a central rectangular plate measuring 65mm in length, 43mm in width, and 2mm in thickness. At the center of the plate, remove a rectangular cutout measuring 40mm by 18mm by 10mm. Create four identical slot cutouts, each consisting of a central 6.5mm by 3mm rectangle and a...
plate_length=65; plate_width=43; plate_thickness=2; name="your name"; slot_length=18; slot_width=3; slot_short=6.5; slot_offset_x=15; slot_offset_y=6; delta=0.01; $fn=64; plate(); module plate() { difference() { union() { translate([0,0,plate_thickness/2]) cube([plate_length, pla...
glb/cad_d268aabf6aee.glb
Create a simple toy car by starting with a main rectangular body that is 250mm long, 100mm wide, and 100mm high. Carve out the interior and lower sections to leave a chassis that is 10mm thick at the base. To form the cabin, remove a section from the top front, starting 30mm from the front edge, with a block 60mm long,...
difference(){ cube([250,100,100]); union(){ translate([0,0,50]) cube([30,100,50]); translate([30,0,50]) rotate([0,-65,0]) cube([60,100,60]); cube([250,100,10]); translate([20,00,00]) cube([40,30,30]); translate([20,70,0]) cube([40,30,30]); translate([190,0,0]) cube([40,30,30]); translate...
glb/cad_75bdceb2e492.glb
Create a customizable storage box system consisting of an outer enclosure and matching drawers. For the enclosure, create a solid rectangular block with a total width of 390mm, depth of 140mm, and height of 200mm. Carve out a grid of 18 rectangular slots (3 columns and 6 rows) to house the drawers. Each slot should b...
drawerWidthInner = 60.3; drawerHeightInner = 28.8; drawerLengthInner = 136.3; enabelLabel = "true"; depthLabel = 0.2; enabelDivider = "true"; depthDivider = 0.8; numberDivider = 4; handleHeight = 6; handleDepth = 6; handleLength = 18.4; handleIndentWidth = 3; handleIndentTop = 2; handleIndentSide = 0; col...
glb/cad_88144ec6a12e.glb
Create a General Purpose Wi-Fi Donger actuator assembly consisting of a base, a servo housing, and a mechanical arm. First, create a base plate that serves as a mounting bracket. This bracket features a main body with a width of 66mm and a height of 89mm, with rounded corners of 2mm radius. Centered on this bracket, ...
module hs422 ( height = 36.5, width = 20, length = 40.5, tab_height = 26, tab_length = 6.5, tab_width = 20, tab_t = 10.5, hole_d = 4.5, hole_x = 4.5, hole_y = 4, shaft_d = 6, shaft_h = 5, shaft_inset = 10.25, tol=0 ) { cube([width+tol,length+tol,height], cent...
glb/cad_9bc038ccaab8.glb
Create a knurled knob with a diameter of 76.2mm and a height of 19.05mm. The outer surface should feature a knurled texture with a width of 3mm, a height of 4mm, and a depth of 1.5mm. At the center of the bottom face, create a cylindrical shaft cutout with a diameter of 6.35mm. This cutout should extend to a height of...
include <knurledFinishLib.scad> use <write.scad> offsetMargin = 0.1; $fn = 64; knobHeight = 0.75 * 25.4; knobDiameter = 3.0*25.4; knobLegend = "X-R"; knobLegend = "Y-P"; knobLegend = "Z-W"; encoderShaftDiameter = 0.25 * 25.4; encoderShaftFlatLength = knobHeight - 0.25*25.4; encoderShaftFlatOffset = 1.5; kn...
glb/cad_8d2dedc63ad8.glb
Create a non-functional mini Morse code key. Start with a rectangular base 20mm long, 6mm wide, and 1mm thick. At each end of the base's length, add a vertical column created by the hull of two 6mm diameter cylinders, each 9mm tall, offset by 3mm. Through the center of these columns and the base, create a horizontal ...
$fn=132; length=20; width=6; width_delta=0.5; height=6; diam=3; diam_delta=0.2; basis_length=8; basis_height=1; hefboom_lengte=25; hefboom_breedte=5; hefboom_hoogte=3; basis(); translate([0,0,height]) hefboom(); module basis() { difference() { union() { minkowski() { ...
glb/cad_d861fd3d8efd.glb
Create a Customizable Crystallographic Building Block based on a Wigner-Seitz cell. Specifically, construct a trapezo-rhombic dodecahedron (the Wigner-Seitz cell of an HCP lattice) scaled by a factor of 9. The main body is formed by the intersection of half-spaces defined by the nearest neighbors of an HCP crystal str...
body = "hcp"; ps_userdef = [[+1,0,0],[-1,0,0],[0,+1,0],[0,-1,0],[0,0,+1],[0,0,-1]]; 1_scale = 9; s = 1_scale; 2_cutterhalfspacesize = 3; s0 = 2_cutterhalfspacesize; hollow = "no"; wall_thickness = 1.5; twall = wall_thickness; keepconnectorwalls = "no"*1; show_neighbourcenters = "no"; svertex = 1; scalz = 1; c...
glb/cad_2ab1cc9f04dd.glb
Create a banana binding post socket. Start with a central vertical contact post that is a cylinder 3.5mm in diameter and 22mm tall. At the base of this post, place a hexagonal nut with a diameter of 10mm and a height of 3.1mm. Above the nut, add a second hexagonal nut with a diameter of 7.1mm and a height of 2.4mm, sep...
bananaSocket("red",false); module bananaSocket(c="green",open=false) { $fn=20; translate([0,0,-14])nut_M4(); translate([0,0,-11.5]) color("silver") linear_extrude(0.35) difference() { union() { hull() { circle(d=3.7); translate([14-(3.7/2)-(6.67/2),0])circle(d=3.7); ...
glb/cad_e5bc36a51e1f.glb
Create a Customizable Chair Leg Cap by revolving a specific profile around a central vertical axis. The final object is a rotationally symmetrical cap with an outer diameter of 16mm. Start with a flat circular base that is 3mm thick. From the outer edge of this base, create a vertical wall that rises to a total heigh...
$fa = 1; $fs = 0.1; protectorOuterDiameter = 16.0; protectorInnerDiameter = 12.5; protectorInnerHeight = 10.0; protectorThickness = 3.0; protectorInnerExtraThickness = 3.0; protectorWallThickness = 2.0; protectorGasketPercent = 0.4; function gasket( location = [0, 0], h = 10, thickness = 1, n = 10 ) =...
glb/cad_d39c52ddd9fa.glb
Create a customizable thumb nut by constructing a central body and removing specific voids. Start with a composite solid consisting of three stacked sections along the Z-axis: a bottom 18-sided prism with a base radius of 8.51mm and a top radius of 9.525mm and a height of 1.5875mm, a middle 18-sided cylinder with a con...
diameter = 0.75; thickness = 0.25; hole_diameter = 0.1875; nut_size = 0.3125; nut_thickness = 0.125; scale([25.4, 25.4, 25.4]) { difference() { union() { translate([0, 0, 0]) cylinder(r1=((diameter/2) - (thickness/4)), r2=(diameter/2), h=(thickness / 4), $fn=18); translate([0, 0...
glb/cad_6602dd1f34e1.glb
Create an Ender phone webcam gantry mount consisting of two separate parts: a clip and a holder. First, create the clip. Construct a main rectangular bracket with a width of 10mm and a thickness of 3mm. This bracket should wrap around a motor mount area measuring 41.75mm by 36.9mm by 41.75mm. Incorporate a triangular ...
render_base = 1; render_holder = 1; render_bed = 0; bottom_to_camera = 72.5/2; y_off = -145; phone_roll = -8; phone_yaw = 190; x_off = 30; z_adj = 10; phone_h = 140.5; phone_w = 72.5; depth_fudge = .2; phone_d1 = 9 + depth_fudge; phone_d2 = 9 + depth_fudge; bevel_w = 14; hot_x = 70; pd1 = phone_d1 + depth...
glb/cad_c9948edc9c2b.glb
Create a gear reducer consisting of two meshing bevel gears. First, construct a large bevel gear with 41 teeth and a cone distance of 100mm. This gear should have a bore diameter of 2mm and a face width of 20mm. Position this gear so its axis is horizontal. Second, create a small bevel gear with 7 teeth, using the sam...
bevel_gear_pair (); pi=3.1415926535897932384626433832795; module bevel_gear_pair ( gear1_teeth = 41, gear2_teeth = 7, axis_angle = 90, outside_circular_pitch=1000) { outside_pitch_radius1 = gear1_teeth * outside_circular_pitch / 360; outside_pitch_radius2 = gear2_teeth * outside_circular_pitch / 360; pitch_ape...
glb/cad_949796c4f110.glb
Create a Parametric Clamp with a total thickness of 5mm. The main body is formed by two connected cylindrical sections. First, create a cylinder with a radius of 5mm and a height of 5mm, centered at x=5, y=5. Second, create a larger cylinder with a radius of 3.5mm and a height of 5mm, centered at x=14, y=5. Connect the...
module y_bar_clamps() { y_studding=4; threaded_crossbar=4; clamp_screw=1.5; thickness=5; gap=2; studwall=1; clampwall=2; clampcenter=studwall+y_studding*2+threaded_crossbar*2+clamp_screw; studcenterx=studwall+y_studding*2+threaded_crossbar; studheight=thickness+(gap/2); difference(){ union(){ translate([y_studd...
glb/cad_78268bd63bcd.glb
Create a Parametric Spool Holder consisting of a central base pad and four bearing arm assemblies. First, create a rectangular base pad 116mm wide, 77mm deep, and 5mm thick. Center a cutout in the bottom of the pad in the shape of a shallow arc. On the top surface, add two mounting holes with a radius of 3.25mm, posi...
use <utils/write.scad>; f1="orbitron.dxf"; f2="stencil.dxf"; use <ruler.scad>; $fn=100; c_mm2in = 0.03937008; c_in2mm = 25.4; c_mm2cm = 10; c_hol_shrink = 0.1; qEcho=1; qShowRuler=0; qDual=2; qBearing=0; qNumBearings=1; if (qShowRuler==1){ % xyzruler(75); } vBearOD_EX=22; vBearID_EX=8; vBearThick_EX=7; vWasherThi...
glb/cad_e9844c8fc120.glb
Create a universal joint consisting of a central joint piece and two connecting sleeves. First, construct the central joint by creating a hull between two cylinders of 10mm diameter, spaced 20mm apart center-to-center. Remove two intersecting cylindrical holes with a 3.4mm diameter from this shape: one running along ...
$fn=48; cl=0.4; part=0; joint_hole=3.4; joint_dia=10; joint_len=20; shaft_dia1=8; sleeve_dia1=19; sleeve_len1=16; shaft_dia2=12; sleeve_dia2=25; sleeve_len2=20; fastener_hole=3.1; ry=-15; rz=15; ep=0.002; sp=1; if (part==0 || part==3){ color("LightPink") difference(){ hull(){ translate([j...
glb/cad_909f5da0f78e.glb