Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Switch-carrying Mendel Y-bar Clamp by starting with a central block that is 18.4mm wide, 27.1mm high, and 17.4mm deep. Integrate a cylinder with a radius of 9.2mm and a height of 27.1mm, centered and rotated 90 degrees on the X-axis, to form a rounded upper profile. Carve a diagonal slot through the center o...
rodsize = 8.7; fn = 90; partthick = rodsize * 2+1; partheight=rodsize * 3+2; mswitchdepth=5; module rod(length) cylinder(h = length, r = rodsize / 2, center = true); module ybar_clamp() difference() { translate([0,mswitchdepth,0]) union() { cube([partthick, partheight, rodsize*2], center = true); translate([0, ...
glb/cad_86df70a17ffd.glb
Create a patio table umbrella hole cover consisting of a wide flat top and a hollow cylindrical plug. Start by creating a solid cylinder for the top cover with a diameter of 60mm and a height of 1mm. Attached to the bottom of this disk, create a hollow cylinder with an outer diameter of 52mm and an inner diameter of 48...
$fn=200; cylinder(1,1,30); difference() { cylinder(12,26,26); cylinder(12,24,24); }
glb/cad_be3521a3e8bd.glb
Create a GBeam Light Adapter for an Ultrafire 7 LED flashlight. Start by creating a base cylinder with a radius of 26.5mm and a height of 10mm, centered on the Z-axis and extending from Z -8mm to Z 2mm. Add a metric thread with a 53mm diameter and a 3mm pitch to this base cylinder. On top of this base, place a cylinder...
include <threads.scad> thread_size = 54.8/2 + 0.25; difference() { union() { cylinder(h=22, r=60.0/2, $fn=96); translate([0,0,22]) cylinder(h=2, r2=thread_size, r1=60.0/2, $fn=96); translate([0,0,24]) cylinder(h=5, r=thread_size, $fn=96); translate([0,0,29]) cylinder(h=2, r2=thread_size - 0.6, r1=th...
glb/cad_f03835a73837.glb
Create a Nikon F-Mount lens adapter for a guerillaBeam slide holder. Start with a central cylindrical base 56mm in diameter and 2mm high. On top of this, add a second cylinder with a diameter of 60mm and a height of 2.5mm, which then transitions into a third cylinder 60mm in diameter and 5mm high. At the center, creat...
include <threads.scad> module arc(r,h,a,b) { intersection() { cylinder(r=r, h=h, $fn=96); linear_extrude(height=h) polygon(points=[[0,0],[3*r*cos(a),3*r*sin(a)],[3*r*cos(b),3*r*sin(b)]]); } } flange_diameter=22.2; flange_flaps=53.0/2 - 3; flange_flaps_height=1.2; flange_flaps_offset=2....
glb/cad_027c6035cc6a.glb
Create a cable organizer for an electrical outlet. Start by constructing a rectangular base tray with a width of 86mm, a length of 70mm, and a thickness of 8mm. At the back of this tray, add a vertical wall that is 86mm wide, 13mm deep, and 86mm high. This wall should have a central rectangular cutout measuring 70mm wi...
plug_side = 70; plug_h = 70; plug_gap = 8; plug_depth = 13; e =0.1; tray_w = plug_side + plug_gap*2; module receptible() { rotate([90, 0, 0]) difference() { cube([tray_w, plug_h + plug_gap*2, plug_depth]); translate([plug_gap, plug_gap, -e]) cube([plug_side, plug_h, plug_depth + 2*e...
glb/cad_1b6406e52c46.glb
Create a Yagi Antenna Holder by starting with a central rectangular block 44mm long, 12mm wide, and 9mm high. Attach a semi-cylinder to each of the two 12mm wide ends; these semi-cylinders should have a radius of 6mm and a height of 9mm, making the total length of the part 50mm. From this solid body, remove three int...
rod_d=6; profile_b=20; holder_l=50; screw_d=4; t=3; res=100; module profile() { translate([0,0,profile_b/2]) cube([profile_b,1000,profile_b],center=true); } module rod() { rotate([0,90,0]) cylinder(h=1000,r=rod_d/2,center=true,$fn=res); } module screw() { cylinder(h=1000,r=screw_d/2,center=true,...
glb/cad_64ba2aa955d2.glb
Create a small hole calibration brick by starting with a rectangular base measuring 45mm in length, 6mm in width, and 3mm in height, centered on the origin. Remove eleven vertical cylindrical holes from this block, each with a height of 20mm and a 50-facet resolution to ensure smoothness. The holes should be spaced eve...
{ difference(){ union(){ translate([0-2.5,0,0]) cube([45,6,3], center=true ); } union(){ translate([18,0,0]) cylinder( r = 1 , h = 20 , center=true , $fn=50 ); translate([15,0,0]) cylinder( r = 1.1 , h = 20 , center=true , $fn=50 ); translate([12,0,0]) cylinder( r = 1.2 , h = 20 , center=true , $fn=50 )...
glb/cad_42b6c9d199a6.glb
Create a Piper Aztec Pilot Air Vent Control Knob. Start with a main cylindrical body 13.83mm high with a radius of 16.7mm. Hollow out the center of this body by removing a cylinder with a radius of 15.6mm and a height of 12.6mm, positioned 4mm from the base. Create a concave, scooped top surface by removing a spherical...
setScrewHoleR = 2.5 ; shaftHoleR = 3.25 ; flatTop = 0 ; difference () { cylinder (h = 13.83, r = 16.7) ; translate (v = [0, 0, 4]) cylinder (h = 12.6, r = 15.6) ; if (flatTop < 1) { translate (v = [0, 0, -52.5]) sphere (r = 55) ; } translate (v = [5, 0, 8]) rotate (a = [0, 90, ...
glb/cad_f11c03a4d5f3.glb
Create a Customizable Chain Mail model consisting of a grid of interlocking links. Each individual link is based on a size of 12mm. Construct the link as a composite of several geometric elements: a central cube of 12mm x 12mm x 4mm, with various smaller cubes subtracted from its center and edges to create a hollowed, ...
link_size = 12; platform_width = 150; platform_depth = 150; pi = 3.141592653589793236 * 1.0; tau = pi * 2.0; module right(x) translate([+x,0,0]) children(); module left(x) translate([-x,0,0]) children(); module back(y) translate([0,+y,0]) children(); module fwd(y) translate([0,-y,0]) children(); module up(z) ...
glb/cad_0c70e11bfa05.glb
Create a Kinder Lithopane consisting of a central relief surface and a surrounding frame. Start by generating a 3D surface relief based on an image, scaled to 172.5mm by 172.5mm, with a maximum height of 5.78mm (17 layers at 0.34mm each). Position this relief atop a central base plate that is 172.5mm square and 1.02m...
use<write/write.scad> image_file = "sandra_150_150.txt"; name_bild = "Sandra"; zusatz_bild = "2013"; hole_diameter = 6; layer_height = 0.34; number_of_layers = 17; scaling = 1.15; length = 150*scaling; width = 150*scaling; min_layer_height = layer_height*3; hole_radius = hole_diameter/2; height ...
glb/cad_6bc725f777dc.glb
Create a Garnet Ornament by constructing a wireframe molecular structure and adding a hanging loop. First, build the core geometry using a set of vertices and connecting edges. The vertices are positioned at specific coordinates (e.g., [0, -5.62, 5.62], [0, -7.07, 1.27], [0.9, -7.07, 0], etc.). Connect these vertices...
mark = 1; if (mark==1) difference() { union() { scale([4,4,4.8]) rotate([0,90,0]) union() { polyhedron(g_atoms,g_faces); wire_frame(g_edges,g_atoms,.5,.2,6); } translate([0,0,26]) coin(3,15,3); } translate([0,0,38]) rotate([90,0,0]) cylinder(r=1,h=10,center=true,$fn=24); translate([0,0,-87.5]) cube(100,center=true)...
glb/cad_a2eca824b548.glb
Create a painting stand for models consisting of three stacked coaxial components. Start with a wide, flat cylindrical base that has a radius of 15mm and a height of 5mm. Centered on top of this base, add a truncated cone that rises 10mm, tapering from a bottom radius of 6mm to a top radius of 3mm. Finally, place a sec...
base=25; overlap=5; $fn=60; cylinder(r=(base+overlap)/2, h=5); translate([0,0,5]) cylinder(r1=(base+overlap)/5, r2=3, h=10); translate([0,0,15]) cylinder(r2=(base)/2, r1=3, h=10);
glb/cad_7d125c7f1f01.glb
Create a pentagonal box with a matching lid featuring a star motif. The main body is a five-sided prism with a radius of 40mm and a height of 20mm. The walls are 3mm thick, leaving an interior hollow space with a radius of 34mm. At the top edge of the box walls, place five small cylindrical pegs with a radius of 4mm an...
x=[1,0,0]; y=[0,1,0]; z=[0,0,1]; module penta(n){ cylinder(r=n,h=n,center=true,$fn=5); } module pentabox(){ translate(z*10) difference(){ penta(20); translate(z*2) penta(18); } translate(z*10) for(j=[1:5]){ rotate(z*(72*j)) translate(18*x) cylinder(r=2,center=true,h= ...
glb/cad_a83e2e2051a4.glb
Create a 3uP Idler Pulley mount. Start with a rectangular base measuring 44.4mm in width, 22.9mm in height, and 5mm in depth. On the two largest vertical faces, add two protruding triangular prisms. Each prism has a base width of 34.4mm, a height of 21mm, and a thickness of 3.5mm, positioned such that they are centered...
$fn = 64; include <nutsnbolts/cyl_head_bolt.scad>; m5hs = 0.7; m5ns = 0.4; translate([44.4 / 2, 3.5, 20]) { rotate([270, 0, 0]) %cylinder(h = 1.6, d = 11.16); translate([0, 1.6, 0]) { rotate([270, 0, 0]) %cylinder(h = 1.6, d = 22); translate([0, 1.6, 0]) rotat...
glb/cad_529ec606fe1c.glb
Create a parametric camp gas stove knob. Start with a main cylinder that has a height of 40mm and a diameter of 53mm. Create a central hole through the top 30mm of the cylinder with a diameter of 25mm. Within this central hole, remove a small vertical slice to create a flat edge, where the width of the flat is 25% of t...
knobHeight=40; toothWidth=2; baseDiameter=55-toothWidth; shaftDiameter=25; toothNumber=baseDiameter; shaftDepth=30; Flat=.25; difference(){ cylinder(h=knobHeight,r=baseDiameter/2,$fn=50); translate([0,0,knobHeight-shaftDepth]) cylinder(h=knobHeight,r=shaftDiameter/2,$fn=50); translate([0,0,knobHeight/5*3]) rotate([...
glb/cad_df0105b9f68c.glb
Create a Brass Leadscrew Nut Adapter by starting with a solid cylinder 36mm in diameter and 14mm high. Remove a concentric cylinder from the center with a radius of 5.5mm and a height of 16mm to create a central bore. Create a wider internal cavity by removing a cylinder with a radius of 11.125mm and a height of 3.75mm...
difference(){ cylinder(r=18,h=14,$fn=100); cylinder(r=18,h=7,$fn=100); translate([0,0,-1]) cylinder(r=5.5,h=16,$fn=100); translate([0,0,10.3]) cylinder(r=11.125,h=3.75,$fn=100); translate([0,8.25,-1]) #cylinder(r=1.5,h=12,$fn=100); translate([0,-8.25,-1]) #cylinder(r=1.5,h=12,$fn=100); t...
glb/cad_258daad14ecb.glb
Create a Brass Leadscrew Nut Adapter by starting with a solid cylinder 36mm in diameter and 14mm high. Remove a central cylindrical core with a radius of 5.5mm that runs through the entire height of the object. Create a wider internal cylindrical cavity with a radius of 18mm and a height of 11mm, positioned 4mm from th...
difference(){ cylinder(r=18,h=14,$fn=100); translate([0,0,4]) cylinder(r=18,h=11,$fn=100); translate([0,0,-1]) cylinder(r=5.5,h=16,$fn=100); translate([0,0,10.3]) cylinder(r=11.125,h=3.75,$fn=100); translate([0,8.25,-1]) #cylinder(r=1.5,h=12,$fn=100); translate([0,-8.25,-1]) #cylinder(r=1.5...
glb/cad_65cd26568625.glb
Create a latching header for a 4-pin electronic connector. Start with a rectangular base block measuring 16.66mm in width, 11.5mm in depth, and 3mm in height. From the top face of this block, remove a central rectangular slot that is 10.66mm wide and 11.5mm deep to accommodate the pins. To create the latching mechani...
wallthick = 3; pins = 4; bridge = false; linear_extrude(height = wallthick, convexity = 2) difference() { square([pins * 2.54 + .5 + wallthick * 2, 11.5], center = true); #translate([0, 3, 0]) square([5.6, 2.5], center = true); #translate([0, 1, 0]) square([3.1, 6.5], center = true); } linear_extrude(height = wall...
glb/cad_49709fbf1801.glb
Create a latching header housing for a 4-pin connector. The main body is a rectangular block with a total height of 15mm. The outer dimensions of the base are 16.7mm in width and 7.6mm in depth. Carve a central rectangular cavity through the body to accommodate the pins, measuring 10.66mm wide by 3mm deep. This cavit...
wallthick = 3; pins = 4; linear_extrude(height = 1.5, convexity = 2) difference() { translate([0, 0.8, 0]) square([wallthick * 2 + 2.54 * pins + 0.5, wallthick * 2 + 3 + 1.6], center = true); square([2.54 * pins + 0.5, 3], center = true); translate([0, 0.8, 0]) square([6.5, 3 + 1.6], center = true); for(side = [1,...
glb/cad_89a9f778effb.glb
Create a conduit sleeve for heated rear window cables. The cross-section of the sleeve is a hollow squared-off shape with a wall thickness of 1.5mm. The outer boundary of this section is defined by a rectangle 21mm wide (x-axis) by 28mm high (y-axis), with the corners slightly chamfered. The inner void is a smaller rec...
d = 0.01; da = 0.1; xrad = 10.5/2; yrad = 14.0/2; wall = 1.5; module section() { difference () { cr = wall*0.6; polygon([ [-xrad+2.5*cr, -yrad], [-xrad+0.8*cr, -yrad+0.8*cr], [-xrad, -yrad+2.5*cr], [-xrad, yrad-2.5*cr], [-xrad+0.8*cr, yrad-0.8*cr], ...
glb/cad_1c43c3a8c4cc.glb
Create a Split Lead Nut consisting of two identical mirrored halves. For each half, start with a rectangular block measuring 65mm in width, 20mm in depth, and 30mm in height. Within each block, carve out a central negative space for a right-hand trapezoidal thread. This thread must have a pitch of 10mm, a pitch radiu...
use <Thread_Library.scad> module part(sideA=true ) { height=30; smallSide=40; bigSide=65; holeRadius=3; countersinkRadius=6; countersinkDepth=3; translate([0,-height/2,24]) rotate([-90,0,0]) difference() { translate([0,smallSide/4,height/2]) cube([bigSide,smallSide/2,height],true); rotate([0,0,(s...
glb/cad_183f80c5b14b.glb
Create a model rocket toy that functions as a pencil holder. Start by constructing the main body as a cylinder with a diameter of 30mm and a height of 60mm. Add a smaller cylindrical collar on top of the main body with a diameter of 27mm and a height of 8mm. Hollow out the center of the entire structure to create a cav...
diameter = 30; wallThickness = 2.5; height = 60; interlockHeight = 8; interlockOD = diameter-3; finMinHeight = 20; finMaxHeight = 55; finLength = 40; finThickness = 4; bottomThickness = 3; module mainShape(){ cylinder (height, diameter/2, diameter/2, $fn=50); translate ([0,0,height]) cylinder (interlockHeight, inter...
glb/cad_af3cdcef92f8.glb
Create a model rocket toy pencil holder by constructing a hollowed cylindrical vessel. Start with a main outer cylinder that is 80mm tall with a diameter of 30mm. On top of this main body, add a smaller concentric cylinder that extends 8mm upward with a diameter of 27mm. To create the interior cavity, remove a central ...
diameter = 30; wallThickness = 1.5; height = 80; interlockHeight = 8; interlockOD = diameter-3; module mainShape(){ cylinder (height, diameter/2, diameter/2, $fn=50); translate ([0,0,height]) cylinder (interlockHeight, interlockOD/2, interlockOD/2, $fn=50); } module cutout(){ translate ([0,0,-1]) cylinder (height...
glb/cad_bc911ef55418.glb
Create a non-throated worm drive consisting of a trapezoidal threaded screw and a matching involute gear. First, construct a right-handed trapezoidal threaded rod with a total axial length of 40mm and a mid-profile radius of 10mm. The thread should have a pitch of approximately 6.28mm (calculated as $2\pi \times 40 /...
use <Thread_Library.scad> use <MCAD/involute_gears.scad> numberTeeth=20; pitchRadius=40; length=40; radius=10; pitch=2*3.1415*pitchRadius/numberTeeth; angle=360*$t; offset=7.5; distance=radius+pitchRadius+0.0*pitch; translate([0,15,0]) { translate([0,0,-length/2]) rotate([0,0,180+angle]) trapezoidThread( length=l...
glb/cad_9440a815a56f.glb
Create a Dual Mendel X Carriage for a 3D printer X-axis. Start with a central base block measuring 70mm wide, 100mm deep, and 6mm high. Add two rectangular extruder nut holder blocks, each 70mm wide, 12mm deep, and 8mm high, positioned symmetrically above and below the center of the base. On the left and right sides, ...
include <mendel.conf> include <mendel.inc> m3_nut_diameter=6.3; m3_diameter=m3_clearance_rad*2; m4_diameter=m4_clearance_rad_h*2; m4_nut_diameter=7.5; x_carriage_width=70; x_carriage_depth=100; x_base_height=6; x_belt_anchor_length=16; x_belt_anchor_width=17; x_belt_anchor_height=32.5; x_anchor_spacing=26; x_anchor_...
glb/cad_01e79a352f59.glb
Create a Dual Mendel X Carriage consisting of four identical bushings arranged in a square pattern. Each individual bushing is a hollow cylinder with an outer diameter of 16mm and a height of 11mm. The center of each bushing features a circular hole with a diameter of 8mm to accommodate a rod. To create the specific ...
rodsize = 8; outerDiameter = 16; lenght = 11; module bushing(){ union(){ difference(){ union(){ translate ([0,-outerDiameter/4,lenght/2]) cube([outerDiameter, outerDiameter/2,lenght], center = true); translate ([0,-outerDiameter/2,lenght/2]) rotate([90,0,0]) cylinder(h=2.5,r1=3.5,r2=1.3); } translate(v=[0,0,...
glb/cad_71f1b301e5fa.glb
Create a Fan Guide for a 30x30 fan by starting with a cube measuring 30mm x 30mm x 30mm. Remove a central conical void to create an airflow path; this void begins as a cylinder with a 15mm diameter at the base and expands to a 30mm diameter at the top, centered at X=15, Y=16, and extending 20mm in height. To form the...
intersection() { difference() { cube ([30,30,30]); union() { rotate ([110,0,0]) translate([15,16,-20]) cylinder(h=20,d=15, d2=30); translate([15,19,-1]) cylinder(h=50,d=22); translate([-1,25,-1]) cube ([40,40,40]); translate([15,26,-1]) cylinder(h=50,d=23); rotate ([90,0,0]) translate([2.5,2.5,0]) cylin...
glb/cad_2c1975c194a9.glb
Create a 90-degree headphone jack mold by starting with a rectangular block that is 22.7mm wide, 15.25mm deep, and 15mm high. From this block, remove the following geometric volumes to create the negative space for the jack sheath: First, create a vertical cylindrical hole for the jack with a diameter of 3.6mm and a d...
model=1; jackDia=3.6; jackLen=14; buttEndDia=4.5; buttEndThick=1.1; lowerEndDia=8.5; lowerEndThick=7.5; topDia=10; topLen=9.5; taperLen=4; cableDia=6.5; cableLen=29; wireDia=2.5; texture=1; textureSpacer=texture*1.5; textureLen=15; boltD=3.3; pctOvr=1.08; separation=5; $fn=60; chordDisp=sqrt(pow(topDia/2, 2...
glb/cad_ae69e2842c1b.glb
Create a Male Fan Connector consisting of two joined rectangular shells. The first shell is a hollow rectangular prism with outer dimensions of 10.5mm length, 12.5mm width, and 8.5mm height, with a wall thickness of 2mm. Inside this shell, create a central void of 6.5mm by 8.5mm by 6.5mm, but leave two thin vertical sl...
t = 2; d = 50; lf = 5; wf = 6; hf = 6.5; pdf = 2.4; lb = 6.5; wb = 8.5; hb = 6.5; pdb = 2.4; translate([d/2,d/2,0]) plug(); translate([-d/2,d/2,0]) plug(); translate([d/2,-d/2,0]) plug(); translate([-d/2,-d/2,0]) plug(); module plug() { translate([lb/2+t/2,0,0]) bfanplug(); translate([-lf/2-t/2,0,0]) efanplug();...
glb/cad_b9c5d842f766.glb
Create a Parametric Setup Bar by combining two rectangular blocks of different dimensions. First, create a rectangular base block that is 10mm wide, 25mm long, and 5mm high. Position this block so its back edge is centered along the Y-axis, extending from Y = -25mm to Y = 0mm. Second, create a larger rectangular block ...
overall_length = 50; base_size = 5; step_size = 5; half_length = overall_length/2; step_A = base_size; step_B = base_size+step_size; step_C = base_size+(step_size*2); step_D = base_size+(step_size*3); translate( v=[-(step_D/2),-half_length,0] ) { union() { cube( size = [step_B,half_length,step_A], center=false );...
glb/cad_30affdb97fce.glb
Create a front plate for a Hammond enclosure. Start with a solid rectangular base measuring 104.5mm in width, 31.5mm in height, and 9mm in thickness. Hollow out the center to create a wall thickness of 1.5mm, applying 4mm internal fillets and 5.5mm external fillets to the four corners. At each of the four corners, cre...
Vertical_Distance = 8.5; Component_Fit = 0.25; Plate_Fit = 0.25; Face_Plate_Height = 31; Face_Plate_Width = 104; VGA_Horizontal_Offset = 0; VGA_Vertical_Offset = 0; LED_Horizontal_Offset = 0; LED_Vertical_Offset = 0; Button_Horizontal_Offset = 0; Button_Vertical_Offset = 0; Audio_Horizontal_Offset = 0; Audio_Verti...
glb/cad_fe2cdc6438fa.glb
Create a rear plate for a Hammond enclosure. Start with a solid rectangular base measuring 104.5mm wide, 31.5mm high, and 9mm thick. Hollow out the center to create a wall thickness of 1.5mm on the sides and bottom, leaving the top edge solid to fill the gap between the plate and the lid. Apply a 4mm fillet to the four...
Slot_1 = "USB Single"; Slot_2 = "USB Single"; Slot_3 = "USB Single"; Vertical_Distance = 8.5; Component_Fit = 0.25; Plate_Fit = 0.25; Face_Plate_Height = 31; Face_Plate_Width = 104; Power_Horizontal_Offset = 0; Power_Vertical_Offset = 0; Slot_1_Horizontal_Offset = 0; Slot_1_Vertical_Offset = 0; Slot_2_Horizonta...
glb/cad_6b77a2d0d114.glb
Create a hinge for a 3mm panel. The hinge consists of two mirrored side pieces that wrap around a central pivot. Each side piece is 42mm long, 18mm wide, and 3mm high. For each side, create a main body with rounded corners. Along the inner edge of each piece, create a semi-cylindrical cutout with a radius of 3.65mm t...
Mated="N"; nx=4; ny=3; PinR=0.65; l=42; n=6; ht=3.0; ho=1.0; w1=18; w2=18; w3=6; w4=20; HingeR=PinR+3; Kerf1=.4; KerfR=.25; sm=32; scr=1.75; scr2=3.15; HingeOffset = Mated=="Y" ? 0 : HingeR; poly3=[[0,0],[0,w3],[ht/2,w3],[ht/2,0],[0,0]]; poly4=[[0,0],[0,w4],[ht-3,w4],[ht-3,0],[0,0]]; crenel1=[[0,0],[l/5-2,0],[l/5,...
glb/cad_356d50534866.glb
Create a Mendel Extruder Single 608, a pinch-style extruder body. Start with a main rectangular block measuring 65mm in length, 20mm in width, and 42mm in height. Attach a side piece for the motor anti-slippage screw measuring 12mm by 30mm by 37.5mm, connected by a small 14mm diagonal bracer. Carve a central cavity fo...
include <mendel_misc.inc> bearing_clearance_rad=13; filament_rad=1.6; ptfe_rad=9.3; extruder_clamp_thick=30; filament_x_offset=26.497; mounting_offset=extruder_thick-5; filament_oversize=0.5; module filament_cavity() { union () { cylinder(100,filament_rad+filament_oversize,filament_rad+filament_oversize,center=tru...
glb/cad_6a521d84f827.glb
Create a Fan Clip for a 2020 extrusion. Start with a central rectangular block measuring 21mm wide, 10mm deep, and 21mm high. From this block, remove two vertical rectangular slots, each 20.5mm wide and 99mm high, positioned 10mm apart along the width to create a C-shaped channel. Next, add a vertical cylindrical pos...
offset=4; difference(){ translate([2.3+offset/5,0,2.3+offset/5]) cube([25-offset,10,25-offset],center=true); difference(){ cube([20.5,99,20.5],center=true); translate([0,0,10]) rotate([90,0]) cylinder(d=3.8,h=50,center=true,$fn=25); translate([10,0,0]) rotate([90,0]) cylinder(d=3.8,h=50,center=true,$fn=25); ...
glb/cad_7e107720e199.glb
Create a customizable wheel for a toy gearmotor. Start by creating a hollow outer rim with a diameter of 50mm, a width of 15mm, and a wall thickness of 2mm. At the center of the wheel, construct a cylindrical hub with a diameter of 9.37mm and a height of 10mm. Connect the outer rim to this central hub using six evenl...
E=0.05*1; $fn=128*1; wheel_dia = 50; rim_thickness = 2.0; wheel_width = 15; num_spokes = 6; spoke_thickness = 1.0; shaft_dia = 5.37; shaft_flats_dia = 3.67; shaft_tolerance = 0.4; hub_width = 10; hub_thickness = 2.0; hub_dia = shaft_dia+2*hub_thickness; module cube2(size,aligns="LLL",radius=0,xy_radius=0) ...
glb/cad_277f1b9423ef.glb
Create a 3D model of "The Pezsta," a mashup character combining a stylized figure with a candy dispenser. Start by scaling a gangsta figure to 60% of its original size. Position a candy dispenser insert beneath the figure, rotated 180 degrees and shifted 12.5mm down along the Z-axis. Add a bow tie at position [1.5, -2...
fn = 30; pezsta(); module pezsta() { rotate([0,0,180]) union() { translate([0,2,-12.5]) rotate([180,0,0]) import_stl("dispenser_insert.stl"); scale(0.6) import_stl("gangsta_fixed.stl"); translate([1.5,-2,51]) rotate([10,-10,0]) bowtie(); translate([1,-4,63]) rotate([0,80,0]) scale(0.8) stetson(); } }...
glb/cad_0407bd7fe7dd.glb
Create a model of a watch by combining a central dial and a curved strap. Start by creating a solid cylinder for the dial with a radius of 20mm and a height of 10mm. For the strap, create a larger hollow cylinder with an outer radius of 30mm and a wall thickness of 5mm. This strap should have a total width of 20mm. Pos...
dialRadius=20; strapRadius=30; strapThickness=20; $fn=250; module strap(){ difference(){ cylinder(strapThickness,strapRadius,strapRadius); translate([-5.2,0,-5]) cylinder(strapThickness+10,strapRadius - 5, strapRadius -5); } } module dial(){ cylinder(h=10,r = dialRadius); } union(){ ...
glb/cad_f5f2cb1d6e82.glb
Create a Kossel fan duct and IR sensor mount. Start with a central vertical cylinder of radius 6.3mm and height 200mm. Around this, create a mounting block for a 40mm fan. The fan mounting surface is a square plate with a large central circular cutout of radius 19mm and height 20mm. Position four M3 screw holes at the ...
include <configuration.scad>; barrel_radius = 8; barrel_height = 30; groove_radius = 6.3; groove_height = 4.21; fan_offset = 15; m3VertExtraRadius=0.2; module hotend_fan() { difference() { union() { translate([0, 2 - fan_offset, 0]) cylinder(r=22, h=40, $fn=8); translate([0, 2, groove_hei...
glb/cad_228cec029d92.glb
Create a headphone mount consisting of a vertical wall plate and a curved support arm. Start with a rectangular wall plate 13mm wide, 36mm high, and 1.5mm thick. Centered on this plate, add two circular screw holes with a radius of 5mm, positioned vertically. Attached to the wall plate, construct a support arm that ex...
$fn = 100; difference(){ union(){ translate([8,5,22]){ rotate([0,90,0]){ cylinder(r=5,2); } } translate([8,5,10]){ rotate([90,0,90]) union(){ cube([13,36,1.5], center = true); translate([0,-2,1]){ cube([10,27,2], center = true); } translate([5,7,5]){ rotate([180,270,180]){ union(){ difference(){ cylinder(r=5, 10); tran...
glb/cad_94b660ac2b66.glb
Create a configurable Arduino project box consisting of a base and a lid. For the base, create a rounded rectangular shell with an outer dimension of approximately 68mm by 66mm and a height of 10mm. The walls should be rounded with a 10mm radius. Hollow out the center to create a cavity, leaving a floor thickness of ...
$fn=64; render_base=false; render_lid=false; render_together = true; if (render_base) base_1(); if (render_lid) translate([0,0,38]) mirror([0,0,1]) lid1(); if(render_together) { color("silver") base_1(); translate([0,0,1.5]) color("green") rotate([180,0,0]) mirror([0,0,1]) lid1(); } d=64; h=-2; case_holes = [ [-...
glb/cad_4532191d9adc.glb
Create a windshield mount collet by constructing a hollow cylinder with an outer diameter of 9.5mm and a total height of 5.1mm. Bore a concentric hole through the center of the cylinder with a diameter of 5.8mm. To finish the base, add a thin circular flange at the bottom with a thickness of 0.45mm and the same 5.8mm c...
$colletHeight=5.1; $boltDiameter=5.8; $colletDiameter=9.5; $headThickness=0.45; $headDiameter=0; $fn=100; difference(){ cylinder (r=$colletDiameter/2, h=$colletHeight ); translate([0,0,-0.1]) cylinder (r=$boltDiameter/2, h=$colletHeight + 0.2); } translate([0,0,-$headThickness ]) difference(){ cylind...
glb/cad_8c6221f84b74.glb
Create a windshield mount bracket as a flat plate with a thickness of 10mm. The main body is formed by the convex hull of four cylinders, each with a radius of 6mm, positioned to create a rounded rectangular profile. Place two cylinders at (3, 3) and (78.5, 3), and two more at (22, 24) and (97.5, 23). Within this plat...
include <ISOThreadCust.scad>; $cutBottomRight = 0; $thickness = 10; $sideOffset = 5; $boltsDistance = 75.5; $boltsDistanceVertical = 23; $sideVeryOffset = 23; $colletDiameter=9.3; $colletThickness=0.4; $colletHeight=2; $middleOffset=18; $middleLittleExtraOffset=1; $nutBackHoleDiam=6; $nutBackHoleDepth=8; $nutScale...
glb/cad_19c87818bfa5.glb
Create a Minecraft-style sheep head. The head is a rectangular prism measuring 35mm in width, 40mm in height, and 35mm in depth. To detail the face, remove a smaller rectangular section from the front center of the head. This cutout should be 30.5mm wide, 1.5mm deep, and 30.5mm high, leaving a border around the edges...
scale=5; module animal_leg() { difference() { union() { cube([4*scale,4*scale,12*scale]); translate([-.1*scale,-.1*scale,11*scale])cube([4.2*scale,4.2*scale,1*scale]); translate([-.5*scale,-.5*scale,0])cube([5*scale,5*scale,7.5*scale]); } leg_connector(); translate([2*scale,4.05*scale,11.5*scale])cube([2*scale,.1*scal...
glb/cad_f0e0aff7f997.glb
Create a wedge by starting with a rectangular block that is 20mm wide, 40mm long, and 5mm thick. From this block, remove a right-triangular section to create a sloped face. The cut should start at one corner of the top surface and extend diagonally to the opposite corner of the same surface, leaving a right-angled tria...
module wedge(base,height,thickness){ c=sqrt(base*base+height*height); tetha=atan(base/height); difference(){ cube([base,height,thickness]); translate([base+height,base,-0.1])rotate([0,0,90+tetha])cube([c,c,thickness+0.2]); } } wedge(20,40,5);
glb/cad_be9401a146f0.glb
Create a Dinosaur Stencil Pack by constructing a flat, 2mm thick stencil frame. The overall outer boundary is a rectangular plate 170mm wide with a 5mm margin around the edges. Within this plate, cut out a silhouette of a dinosaur. The silhouette is defined by a complex series of coordinates that form the shape of a ...
input ="no_input"; stencil_thickness = 2; stencil_width = 170; margin = 5; offX = 0; offY = 0; module void() {} dispo_width = stencil_width - 2*margin; points_array_orig = (input=="no_input"? [[179,268],[[199.26,15.12],[189.19,15.56],[181.5,16.45],[175.52,17.83],[169.55,19.42],[163.57,21.55],[157.55,24.22],[151.62...
glb/cad_25b2d4482de0.glb
Create a Gas and Electric Meter Box Key consisting of a ring, a handle, and a cylindrical body. Start by creating a key ring at the top; this is a flat piece 3mm thick with an outer radius of 4mm and a central circular hole with a radius of 2mm. Below this, attach a handle that is 6mm thick, formed by a rounded L-shape...
ringThick = 3; ringHoleRad = 2; ringOutterRad = 4; ringZOffset = 43; handleSide = 30; handleRound = 4; handleThick = 6; bodyHeight = 20; bodyRad = 7; triangleHeight = 14; triangleRound = 0.75; triangleSide = 11; quality = 50; ol = 0.01; ol2 = ol*2; triangleRad = triangleSide/sqrt(3); key(); module key() { $f...
glb/cad_380e48670cd8.glb
Create a geometric architectural model based on a base unit size of 15mm. Start with a hexagonal prism 7.5mm tall with a radius of 15mm. Remove three rectangular slots from this prism, each 1.875mm wide and 60mm long, centered on the Z-axis and rotated every 60 degrees around the center. Also, remove a slightly smaller...
taille=15; IterMax=2; toto(it=1,mit=IterMax); module toto() { difference() { cylinder(r=taille,$fn=6,h=taille/2); for(i=[1:3]) { rotate([0,0,i*60]) hull() { rotate([90,0,00]) translate([0,0,0]) cylinde...
glb/cad_5b859df8575e.glb
Create a Google Glass to Glasses Adapter by starting with a central rectangular block measuring 20mm wide, 16mm deep, and 21mm high, centered on the X and Y axes. From this main body, remove a complex polygonal volume that is 16.3mm tall. This polygon is defined by a series of vertices: (42.89, -10.54), (31.44, -8.26),...
fudge = 0.1; module poly_path3839(h) { scale([1, 1, 1]) union() { linear_extrude(height=h) polygon([[42.889570,-10.542960],[31.440958,-8.261437],[5.277674,-3.576195],[-9.486400,-1.344362],[-23.326458,0.273780],[-34.708270,0.873359],[-38.997889,0.664664],[-42.097610,0.049500],[-41.326531,1.006966],[-40.12...
glb/cad_596ab8f20ca7.glb
Create a set of four Roman numeral game pieces, each 6mm deep, consisting of the numerals I, III, V, and X. For the numeral I, place a vertical bar 1mm wide and 8mm high, with two horizontal bars 4mm wide and 1mm high positioned at the top and bottom. For the numeral III, place three vertical bars 1mm wide and 8mm high...
w=1; h=8; d=6; s=h/2; v_factor=2.2; h_spacer=1.2 * h; i_factor=1.5; module risk1() { translate([-w/2,0,0]) cube([w,h,d]); translate([-(i_factor*s)/2,0,0]) cube([i_factor*s,w,d]); translate([-(i_factor*s)/2,h-w,0]) cube([i_factor*s,w,d]); } module risk3() { for ( x =[-1, 0, 1 ]) { translate([(x*s/1.5)-w/2,0,0...
glb/cad_57b1b30da388.glb
Create three distinct game pieces, each consisting of a radial arrangement of rectangular prisms extending from a central point. Each piece is composed of several identical arms that meet at the center, where each arm is a rectangular block 1mm wide and 6mm deep. The first piece has 3 arms arranged symmetrically every...
w=1; d=6; s=d*2.1; r=w*3; h1=5; h2=h1*1.5; h3=h1*2; module risk(points, h) { angle = 360/points; angle2 = angle/2; middle = w*(points/2); middle2 = middle/2; filler = d/2; x = sin(angle) * filler; y = cos(angle) * filler; for (i = [0:points - 1]) { rotate([0,0, angle*i]) translate([-w/2,0,0]) cube([w,d,...
glb/cad_1b840d2e569c.glb
Create a coin box for quarters consisting of two mirrored halves joined by a central hinge. Each half is a rectangular container with a wall thickness of 1.5mm. The overall outer dimensions for each half are 28mm wide, 72.2mm deep, and 14mm high. For the bottom half, create a hollow rectangular box. On the inner side ...
$fn = 100; wallThickness = 1.5; depth = (34.6 * 2) + (wallThickness *2); width = 25 + (wallThickness * 2); height = 25/2 + wallThickness; hingeOuter = 7; hingeInner = 3.5; hingeInnerSlop = .6; hingeFingerSlop = .575; fingerLength = hingeOuter/1.65; fingerSize = 6; topFingerSize = fingerSize; latchWidth = 15; topSlop = ...
glb/cad_3ac2e6fada03.glb
Create two circular coin-shaped tokens of different sizes. The first is a small coin with a radius of 12.5mm and a height of 2mm. The second is a large coin with a radius of 17.5mm and a height of 2.8mm. For both coins, carve a concentric circular channel into the top face. This channel is defined by an outer radius ...
use <OpenScadFont.scad> smallR=12.5; smallH=2; number_height=0.5; c_opening=0.5; c_factor=0.6; number_factor=0.3; large_factor=1.4; largeR=smallR * large_factor; largeH=smallH * large_factor; module coin( r, h, string, nf ) { c_radius=r*c_factor; c_radius_inner=c_radius-2; difference() { cylinder(h, r, r); union()...
glb/cad_233fcf662643.glb
Create a shelf bracket shaped as an L-profile with a reinforcing gusset. Start with a base consisting of two intersecting rectangular prisms: one vertical plate measuring 110mm in height, 30mm in width, and 5mm in thickness, and one horizontal plate measuring 140mm in length, 30mm in width, and 5mm in thickness. Add st...
Length = 140; Height = 110; Width = 30; Stiffener = 4; Thickness = 5; CornerThickness = 5; HoleDiameter=5; difference () { union () { cube ([Height,Width,Thickness]); cube ([Thickness,Width,Length]); cube ([Thickness+Stiffener,Stiffener/2,Length]); translate ([0,Width-Stiffener/2,0]) cube ([Thickne...
glb/cad_e2a65f78f177.glb
Create a shelf pipe support consisting of a rectangular base plate and a cylindrical sleeve. Start with a base plate 70mm wide, 50mm high, and 3mm thick. Centered on this plate, construct a cylindrical sleeve with an outer diameter of 37mm and a length of 42mm. This sleeve should be tilted at a 60-degree angle relative...
PipeDiameter=31; PipeAngle=60; SleeveThickness=3; SleeveLength=21; SleeveHeightAdjust=30; PlateHeight=50; PlateWidth=70; PlateThickness=3; BoltHoleDiameter=4; ScrewHoleDiameter=4; SupportWidth=8; SupportHeight=36; difference () { union () { translate ([PlateWidth/2, PlateHeight-PipeDiameter/2,SleeveHeightAdjus...
glb/cad_ec505be08133.glb
Create a shelf pipe support bracket consisting of a rectangular base plate and a cylindrical sleeve. Start with a base plate measuring 70mm wide, 50mm high, and 3mm thick. Centered on this plate, construct a cylindrical sleeve with an outer diameter of 37mm and an inner hole diameter of 31mm. The sleeve should have a l...
PipeDiameter=31; PipeAngle=30; SleeveThickness=3; SleeveLength=20; SleeveHeightAdjust=26; PlateHeight=50; PlateWidth=70; PlateThickness=3; BoltHoleDiameter=4; ScrewHoleDiameter=4; SupportWidth=8; SupportHeight=36; difference () { union () { translate ([PlateWidth/2, PlateHeight-PipeDiameter/2,SleeveHeightAdjus...
glb/cad_729efb1f0d9f.glb
Create a personalized collar stay by constructing a flat, elongated tab with a thickness of 1.8mm. The main body should be 50mm long and 10mm wide. One end of the stay is a rounded butt with a radius of 5mm, while the opposite end tapers down to a tip with a radius of 1mm. The transition between the wide butt and the n...
text_or_image = "Text"; collar_stay_length = 50; collar_stay_height = 10; collar_stay_thickness = 1.8; collar_stay_tip_length = 10; pairs_of_stays = 5; build_plate_selector = 2; font = "write/letters.dxf"; text = "GEEK"; text_x_size = 7; text_y_size = 6; text_height = -0.5; image_file = "image-surface.dat"; image_x_...
glb/cad_abab25a8b542.glb
Create a replacement lid for a cream eye liner. Start by creating a solid cylinder with a radius of 19mm and a height of 8mm. Remove a smaller concentric cylinder from the center with a radius of 12.5mm and a height of 8mm, extending it 1mm below the base to ensure the center is completely hollow. Inside the remaining ...
use <Thread_Library.scad> difference (){ cylinder([0,0,0], r=19, h=8, $fn=60); translate ([0,0,-1]) cylinder([0,0,0], r=25/2, h=8, $fn=60); translate([0,0,4])trapezoidThreadNegativeSpace( length=7, radius=22, pitch=1.8, pitchRadius=16.6, threadHeightToPitch=0.5, profileRatio=0.5, threadAngle=35, RH=tr...
glb/cad_6642f12910b8.glb
Create a 20x20 V-slot extrusion profile with a height of 10mm. The profile is based on a 20mm square cross-section. Construct the main body by creating a repeating geometric unit and rotating it every 90 degrees four times around the center to form a symmetrical cross-shape. Each unit consists of a central structural...
extrusion_profile_20x20_v_slot(size=20, height=10); translate([30,0,0]) extrusion_profile_20x20_v_slot_smooth(size=20, height=10); $fn = 30; module extrusion_profile_20x20_v_slot(size=20, height=10) { linear_extrude(height=height) { union() { extrusion_profile_20x20_v_slot_part(size); rotate([0,0,90]) extru...
glb/cad_499df95ba63c.glb
Create a rectangular block measuring 62mm in length, 42mm in width, and 8mm in height. Within this block, create four rows of holes, each containing five holes spaced 10mm apart horizontally, starting from an offset of 0mm on the X-axis and varying on the Y-axis. The first row, positioned at Y=0, consists of six-side...
difference() { translate ([-6,-6, 1]) cube ([50+12,30+12,8]); for (x=[0:5]) { translate ([x*10, 0,0]) Cy (6+(x*0.1),6); translate ([x*10,10,0]) Cy (2.9+(x*0.1),30); translate ([x*10,30,0]) Cy (2.4+(x*0.1),5); translate ([x*10,20,0]) Cy (5.4+(x*0.1),30); } } module Cy (Hole,sides) { cylinder...
glb/cad_e4690c7894ec.glb
Create a scissor holder for a fridge by starting with a rectangular block that is 34mm wide, 34mm deep, and 15mm high. The front and back faces of this block are slightly angled, defined by a polygon with vertices at [0, 2], [34, 0], [34, 34], and [0, 32]. Carve out a central rectangular cavity from the top, starting 2...
translate([17,17,14.75]) rotate(-2,[0,1,0]) cylinder(r=15,h=4); difference() { linear_extrude(height=15, center=false) polygon(points=[ [0, 2], [34, 0], [34, 34], [0,32] ]); translate([0,0,2]) linear_extrude(height=11, center=false) polygon(points=[ [-1, 4], [35, 2], [35, 32], [-1, 30] ]); }
glb/cad_e2d0cc53d19d.glb
Create a double helical gear with an outer diameter of 64mm and a total height of 9mm. The gear is centered around a central hole with a diameter of 49mm. The gear features 30 teeth. Each tooth is a double helical shape, meaning it has a mirrored helical twist on both the top and bottom halves of the gear. The teeth h...
$fn=100; outerDiam=64; numHoles=6; toHoleRad=27.5; holeDiam=3; doubleHelical=1; gearHeight=3; pitchDiam=49; teethNum=30; addendum=2; dedendum=2; toothWidth=2; angle=30; gear(); module tooth(heightGear, diamPitch) { toothHeight=addendum+dedendum*2; union(){ translate([0,toothHeight/2,0]) rotateTooth(...
glb/cad_1d5a1092b5df.glb
Create an Angular Dice Tower consisting of a series of zig-zagging ramps and a top funnel. The structure is built around a ramp width of 30mm and a wall thickness of 2mm. Construct the main tower by alternating four ramp levels. Each ramp level is a channel 30mm wide and 2mm thick, angled at 40 degrees. The levels are...
root_2 = sqrt(2); slope = 40; exit_slope = 27; wall = 2; ramp_width = 30; overhang=7; total_width = wall + ramp_width*2; level_height = (ramp_width-wall)*tan(slope); trim=(wall/sin(slope) - wall)*tan(slope); module ramp(corner=true, angle=slope, cut_top=true){ translate([-wall/2,-wall/2,0]) union(){ inte...
glb/cad_5827b409336a.glb
Create a Customizable Button consisting of a rounded outer shell and an inner badge. First, construct the outer shell as a torus-like ring with a circular cross-section. The overall diameter of the button is 75mm, and the thickness of the ring's cross-section is 25mm. The shell should be hollowed out to accommodate a...
VIEW = 3; COLOR_SCHEME = 1; BUTTON_STRAIGHT = 75; BUTTON_ROUNDED = 25; BADGE_ROUNDED = 8; LETTER = "A"; RESOLUTION = 64; TOLERANCE_DIAMETER = 0.3; LAYER_H...
glb/cad_e82b5329556f.glb
Create a customizable rotating adjustable vent consisting of three main components: a vent hole frame, a rotating vent door, and an inside connector. First, create the vent hole frame. Start with a circular ring with an outer diameter of 64mm (Hole_Diameter + 10mm) and a thickness of 4mm. The center should have a circ...
part = "all"; Hole_Diameter = 54; Thickness = 4; Number_of_Ventilation_hole = 4; Plus_Width_of_door = 1.5; Tolerance = 0.25; Enclosure_Thickness = 4; Joint_Diameter = 3; Number_of_fixation = 3; Screw_diameter = 3; gAngle = 360/(Number_of_Ventilation_hole*2); gCenterDiam = max(0.20 * (Hole_Diameter/2), 9); gSc...
glb/cad_3d71cad5b463.glb
Create a Panel Mount for an Inline Thermocouple Jack. Start by constructing a flat flange base with a thickness of 3.81mm. The base should have a total length of 44.67mm and a width of 12.7mm. At each end of the flange, center a circular mounting hole with a diameter of 3.68mm. On top of this base, center a rectangula...
inch = 25.4; conn_w = 0.674 * inch; conn_t = 0.35 * inch; rivet_id = 0.085 * inch; rivet_inset = 0.275 * inch; height = 2 * rivet_inset; clearance = 0.20; sleeve_shell = 0.1 * inch; sleeve_l = conn_w + 2 * sleeve_shell; sleeve_w = conn_t + 2 * sleeve_shell; flange_t = 0.15 * inch; flange_surround = 0.15 * inch; ...
glb/cad_a4b0b627c445.glb
Create a fanring by constructing a hollow, flattened spherical shell. Start with an outer sphere with a radius of 80mm in the X and Y axes and a radius of 15mm in the Z axis. Create a matching inner void by subtracting a sphere with a radius of 70mm in the X and Y axes and 5mm in the Z axis. To open the ring, remove ...
$fn = 100 ; distancefromceilingmm = 15; ringradius = 80; xscale = ringradius*.01; yscale = xscale; zscale = distancefromceilingmm*.01; wallthickmm = 10; fanholeradius = 20; module ringmain(){ difference(){ scale([xscale,yscale,zscale]) sphere(r=100, center = true); scale([xscale-(wallthickmm*.01),yscale-(wa...
glb/cad_72f867da862d.glb
Create a fan ring cover by starting with a hollowed-out spherical shell. Scale a sphere to a radius of 80mm in the X and Y axes and 15mm in the Z axis to create a flattened, ring-like ellipsoid. Give this shell a wall thickness of 10mm. To open the shape, remove the top half of the ellipsoid using a large cube and crea...
$fn = 100 ; distancefromceilingmm = 15; ringradius = 80; xscale = ringradius*.01; yscale = xscale; zscale = distancefromceilingmm*.01; wallthickmm = 10; fanholeradius = 20; module ringmain(){ difference(){ scale([xscale,yscale,zscale]) sphere(r=100, center = true); scale([xscale-(wallthickmm*.01),yscale-(wa...
glb/cad_5e19ed81e7a9.glb
Create a rubber duck by combining several geometric primitives. Start with the body: create a sphere with a radius of 15mm, then scale it by a factor of 2 along the X-axis, 1.5 along the Y-axis, and 1 along the Z-axis. For the head, place a sphere with a radius of 12.5mm at position [20, 0, 20] and scale it by 1 along ...
scale([2,1.5,1]) sphere (r=15); translate([20,0,20]) scale ([1,.95,1]) sphere (r=12.5); translate([-0.5,12.5,2.5]) scale([2.5,1.2,1.5]) rotate([15,20,10]) sphere (r=8.5); translate([-0.5,-12.5,2.5]) scale([2.5,1.2,1.5]) rotate([15,20,10]) sphere (r=8.5); difference(){ translate([-20,0,0]) cylinder (15,10,10) rotate(...
glb/cad_2552c2f88748.glb
Create an OpenScad Spring Winder consisting of two main components: a winder disk and a clamping base. First, create the winder disk. Start with a cylinder 60mm in diameter and 8mm high. Centered within this disk, create a vertical hole 4.76mm in diameter to accommodate a steel mandrel. Around the outer edge of the di...
steel_mandrel_diameter = 4.7625; wire_diameter = 1; printer_fudge_factor = 0.21; translate([-20, 55, base_height]) rotate([180,0,0]) winder_base(); winder(); base_height=17.5; base_length = 40; base_width=25; base_width_narrow = base_width-10; winder_radius = 30; winder_height = 8; module winder_base() { ste...
glb/cad_09e8ddb5f751.glb
Create a Modified Pack n Play caddy hook with a uniform thickness of 10mm. Start with a main horizontal beam that is 70mm long and 10mm wide. At one end of this beam, form a curved hook by creating a circular ring with an outer diameter of 37mm and a wall thickness of 5mm. This hook should curve around to an angle of 2...
Beam_Length = 70; beam_Thick = 10; Hook_Diam = 27; Hook_Thick = 5; Hook_Angle = 180 + 45; Attachment_Length = 18; Attachment_Thick = 1.5; Barb_Height = 3; linear_extrude(10) Hook2D(); module Hook2D() { union() { difference() { union() { translate([Hook_Diam/2 -Hook_Thick,beam_Thick/2]) square([Beam_Length + H...
glb/cad_d7e5167bdcf0.glb
Create a 3D model of the 4A parts consisting of two identical ring-like components positioned vertically apart. Each component is a hollow cylinder with a 36-facet resolution. The outer diameter is 9mm and the inner diameter is 7mm, creating a wall thickness of 1mm. The height of each cylinder is 20mm. The top comp...
fa=1; cv=36; tubeF=1; sz=15; sqz=30; $fa=fa; module q() { intersection() { square(10); circle(10, $fn=cv); } } module q1() { scale([1,-1]) q(); } module q2() { scale([-1,-1]) q(); } module 2q() { translate ([2.5,0]) scale ([-1,1]) union () { q1(); q2(); } } module q3() { translate ([-7.5,-.0...
glb/cad_009aa13b86a5.glb
Create a Wall Thickness Calibration Test Piece starting with a rectangular base plate measuring 70mm by 74mm with a thickness of 0.5mm. On top of this base, construct two rows of test features, each feature having a height of 3mm. The first row consists of seven sets of shapes spaced 9.5mm apart, centered at Y=15mm. ...
translate([-50,-50,-1.01]) %cube([100,100,1]); BaseThickness=0.5; FeatureHeight=3; BarZCenter=BaseThickness+FeatureHeight/2; module test_bar_set(FeatureThickness) { translate([0,13,BarZCenter]) cube([FeatureThickness,6,FeatureHeight],center=true); difference() { translate([0,3,BarZCenter]) cylinder(r=4...
glb/cad_53ee1d067ca0.glb
Create a protective enclosure for an FTDI EVAL232R USB to Serial converter. Start with a main rectangular block measuring 38mm in width, 20.35mm in depth, and 65mm in height. Hollow out the center to create a main internal cavity measuring 33mm by 15mm, starting 3mm from the bottom and extending upwards, leaving 3mm ...
$fn=180; module radius(radius,length,axis) { if(axis=="X") { rotate(90,[1,0,0]) rotate(90,[0,1,0]) translate([0,0,-0.1]) linear_extrude(height = length+0.2, center = false, convexity = 4, twist = 0) difference() { translate([-0.1,-0.1]) square([radius+0.1,radius...
glb/cad_a71bb9a61207.glb
Create four identical body clip sockets for a monster truck, spaced 11mm apart along a single axis. For each socket, construct a base consisting of a cylinder with a 5mm radius and a height of 16mm. On top of this cylinder, add a smaller cylinder with a 2mm radius and a height of 4mm, capped with a sphere of 2mm radius...
$fn=89; inf=100; tol=0.2; module Peg() { difference() { union() { cylinder(r=5, h=16); cylinder(r=2, h=20); translate([0, 0, 20]) sphere(r=2); } translate([0.5, -inf/2, 14-inf]) cube([inf, inf, inf]); translate([0.5, 0, 8]) cube([1, 4.8+2*tol, 11.6+2*tol], center=true); translate([-5, 0, ...
glb/cad_a2fdd56e32ab.glb
Create a mounting support for a Wade-like extruder. Start with a main body based on a custom polygon profile extruded to a height of 15mm, with a total bounding width of approximately 74mm and depth of 60mm. The profile should include a rectangular block section measuring 14mm by 20mm by 65mm integrated into the struct...
difference() { translate( [-37, 7.5, 31] ) rotate( [90, 0, 0] ) union() { difference() { linear_extrude( height=15 ) polygon([[-31,29],[-23,29],[-23,-31],[-31,-31],[-42,-20],[-43,-16],[-43,-11],[-38,-11],[-37,-16],[-31,-16],[-31,-6],[-42,5],[-43,9],[-43,14],[-38,14],[-37,9],[-31,9]]); translat...
glb/cad_ca709a8b87dd.glb
Create a rear suspension bar for a Tamiya Lunchbox. Start by constructing a central horizontal cylinder with a radius of 3.5mm and a total length of 84mm, centered on the origin. Surround this cylinder with a rectangular block that is 84mm long, 7mm wide, and 10.5mm high, also centered on the origin. To finish the part...
$fn=90; inf=1000; X=84; Y=7; Z=14; difference() { union() { cube([X, Y, Z-Y/2], center=true); translate([0, 0, (Z-Y/2)/2]) rotate([0, 90, 0]) cylinder(r=Y/2, h=X, center=true); } for (y = [-1, 1]) translate([0, y*Y/2, 0]) scale([X/2, Y/2-0.6, 1]) cylinder(r=1, h=inf, center=true); }
glb/cad_20229dddd861.glb
Create a servo adapter by starting with a central rectangular block measuring 55mm in length, 13mm in width, and 20mm in height. From this main body, remove a large central rectangular section to create a cavity for the servo, leaving two thick outer walls. This inner cutout should be 22.7mm wide and 22.8mm deep. Addit...
$fn=30; inf=1000; tol=0.2; difference() { union() { translate([0, 10, 0]) cube([55, 10, 20], center=true); translate([0, (30-3)/2, 0]) cube([55, 3, 20], center=true); } translate([-22.7/2, 3.5-22.8/2, -12.5/2]) { cube([22.7+2*tol, 22.8+2*tol, inf]); translate([-(32.4-22.7)/2, 22.8-2.5, 0]...
glb/cad_04aa7116be36.glb
Create a rear suspension mount for a vehicle gearbox. Start with a main cylindrical base that has a radius of 12.5mm and a height of 5.5mm. Integrate this base with a hull that connects it to two smaller cylinders, each with a radius of 3.5mm and a height of 5.5mm, positioned at coordinates (-13.5, 4, 0) and (-19, -4, ...
$fn=90; tol=0.2; OR=25/2; IR=17/2; T=5.5; t=2.5/2; difference() { union() { cylinder(r=OR, h=T); translate([-13.5, 4, 0]) cylinder(r=5.4/2+2, h=13.4); translate([-19, -4, 0]) cylinder(r=7/2, h=5.5); hull() { cylinder(r=OR, h=T); translate([-13...
glb/cad_25ab68122893.glb
Create a wheel hub for a remote control monster truck. Start with a main central cylinder that has a radius of 24mm and a total height of 65mm. At both the top and bottom ends of this main cylinder, add a transition section 3mm thick that tapers outward from a radius of 27.5mm to the main 24mm radius. Inside this str...
$fn=89; tol=0.2; inf=1000; R=48/2; H=65; h=20; recess=0; BearingOuter=10.9/2; BearingThickness=4; T=3; R1=55/2; R2=57.7/2; difference() { union() { cylinder(r=R, h=H); for (z = [0, H-T]) translate([0, 0, z]) cylinder(r1=R1, r2=R, h=T); translate([0, 0, H-T]) cylinder(r1=R1, r2=R1, h=T); ...
glb/cad_c5bc3012440f.glb
Create a wheel hub for a remote control vehicle. Start with a main central cylinder that is 65mm tall with a radius of 24mm. At the bottom and top of this cylinder, add tapered sections that transition from the 24mm radius to a larger radius of 27.5mm over a height of 5mm. At the top of the hub, add a cylindrical cap...
$fn=90; tol=0.2; inf=1000; AxleR=4.8/2; WheelR=42/2; BoltSep=(64-0.5)/2; BoltR=BoltSep/sin(60); H=28; T=5; H2=1.4; R=48/2; H=65; h=20; recess=0; T=3; R1=55/2; R2=57.7/2; difference() { union() { cylinder(r=R, h=H); for (z = [0, H-T]) translate([0, 0, z]) cylinder(r1=R, r2=R1, h=T); translat...
glb/cad_a82208fbe52c.glb
Create a front suspension mount for a Tamiya Lunchbox. The main body is a composite cylindrical shape. Start with a base cylinder that has a radius of 9mm and a height of 12mm, positioned from Z=4mm to Z=16mm. Below this, add a truncated cone (frustum) starting at Z=-4mm with a bottom radius of 5.7mm and expanding to a...
$fn=89; inf=100; tol=0.2; r=9*sqrt(2); difference() { union() { translate([0, 0, -4]) cylinder(r1=(2*13.7-18)/2, r2=18/2, h=8); translate([0, 0, 4]) cylinder(r=18/2, h=12); } translate([0, 0, 16-2.5-2]) rotate([90, 0, 0]) cylinder(r=2, h=inf, center=true); for (z...
glb/cad_28dfb3b823ed.glb
Create a mount for a DC-DC buck converter by starting with a solid rectangular base measuring 61mm by 36.3mm with a height of 2mm, centered on the origin. From this base, extend a surrounding wall structure upwards to a total height of 24mm. The outer dimensions of this walled enclosure should be 55.6mm by 32.1mm, with...
$fn=90; tol=0.25; inf=1000; Gap=0.5; Wall=1.4; X=51; Y=26.3; module DCDCHole() { translate([-X/2, -Y/2, 0]) cube([X, Y, 21.5]); translate([-X/2, -Y/2, -inf/2]) { translate([11-Gap, 1-Gap, 0]) cube([32+2*tol+2*Gap, 10.5+2*tol+2*Gap, inf]); translate([11-Gap, 26.3-1.3-10.5-Gap, 0]) cube([32+2*tol...
glb/cad_c0a987f7d9a0.glb
Create a breadboard mount with an integrated power supply base. Start with a rectangular base plate measuring 170mm by 115mm with a thickness of 2mm. At each of the four corners of this plate, create a cylindrical cutout with a radius of 4mm that passes completely through the base. Additionally, place four smaller cy...
$fn=90; tol=0.25; inf=1000; Gap=0.5; BoardsX=165; BoardsY=110; BoardsZ=9; HookX=4.2; HookY=1; SwitchX = 12.9; SwitchY = 19.6; Wall=1.4; X=51; Y=26.3; H=40; RockerX=75; DCDCX=30; PotX=-20; Banana1X=-50; Banana2X=-75; translate([0, 0, 40]) difference() { union() { translate([-185/2+10-2.5, -160/2+10-2.5, 0]) c...
glb/cad_1d793ddf6748.glb
Create a breadboard and power supply mount. Start with a main rectangular base measuring 185mm by 160mm with a height of 40mm. Hollow out the center to create a shell with a wall thickness of 2mm. In the center of the base, create a recessed area to hold two standard breadboards. This area should be 165mm wide, 110mm ...
$fn=90; tol=0.25; inf=1000; Gap=0.5; BoardsX=165; BoardsY=110; BoardsZ=9; HookX=4.2; HookY=1; SwitchX = 12.9; SwitchY = 19.6; Wall=1.4; X=51; Y=26.3; H=40; RockerX=75; DCDCX=30; PotX=-20; Banana1X=-50; Banana2X=-75; module DCDCHole() { translate([-X/2, -Y/2, 0]) cube([X, Y, 21.5]); translate([-X/2, -Y/2, -inf/...
glb/cad_44f5b5feaac4.glb
Create a rectangular base plate for a breadboard and power supply mount. The main body is a rectangular slab measuring 179mm by 154mm with a height of 1mm. At each of the four corners of this slab, create a vertical cylindrical hole with a radius of 1.5mm that passes completely through the plate. The centers of these h...
$fn=90; tol=0.25; inf=1000; Gap=0.5; BoardsX=165; BoardsY=110; BoardsZ=9; HookX=4.2; HookY=1; SwitchX = 12.9; SwitchY = 19.6; Wall=1.4; X=51; Y=26.3; H=40; RockerX=75; DCDCX=30; PotX=-20; Banana1X=-50; Banana2X=-75; translate([0, 0, H-4]) difference() { translate([-185/2+3, -160/2+3, 0]) cube([185-6, 160-6, 1]); ...
glb/cad_f3b668537944.glb
Create a funnel by combining a narrow cylinder and a wide conical section. Start with a base cylinder 30mm high with a radius of 4mm. Atop this base, add a cone 50mm high that tapers from a bottom radius of 4mm to a top radius of 50mm. To make the funnel hollow, remove a central core consisting of a cylinder with a 3.3...
$fn=90; inf=200; difference() { union() { cylinder(r=4, h=30); translate([0, 0, 30]) cylinder(r1=4, r2=50, h=50); } cylinder(r=3.3, h=inf, center=true); translate([0, 0, 30]) cylinder(r1=3.5, r2=49, h=51); rotate([0, 30, 0]) translate([-4, -15, -15]) cube([30, 30, 30]); }
glb/cad_a3be52401f73.glb
Create a big strong hook by starting with a sphere of radius 35mm centered at coordinates (25, 40, 10). Constrain this sphere within a bounding box that is 50mm wide, 70mm deep, and 20mm high. From this resulting shape, remove a vertical cylinder with a radius of 40mm centered at (-8, 20, 0) to create the main inner cu...
$fn = 89; difference() { intersection() { translate([25, 40, 10]) sphere(r=35); cube([50, 70, 20]); } translate([-8, 20, -1]) cylinder(r=40, h=100, center=true); translate([10, 0, 10]) rotate([90, 0, 0]) cylinder(r=2, h=1000, center=true); translate([40, 0, 10]) rotate([90, 0, 0]) cylin...
glb/cad_1d708328231c.glb
Create a hook for hanging an LED heatsink by constructing a primary vertical rectangular block 37.5mm wide, 90mm long, and 10mm thick. Attach a smaller 10mm cube to the bottom left corner of this block, and extend a second 10mm wide by 10mm thick arm from that cube, running parallel to the main block for 90mm. To form ...
inf=100; tol=0.2; $fn=29; X=75/2; Y=90; T=10; difference() { union() { translate([-T, 0, 0]) cube([X+2*T, Y+T, T]); translate([-2*T, 0, 0]) cube([T, T, T]); } translate([-1.5*T, 0, T/2]) rotate([90, 0, 0]) cylinder(r=1.5+tol, h=inf, center=true); translate([0, -0.02, -inf/2]) cube([X, Y, ...
glb/cad_fc00203d57b4.glb
Create a Delta Robot Fan badge. Start with a circular base plate with a radius of 198mm and a thickness of 3mm. On top of this base, add two concentric rings: an inner ring with an inner radius of 140mm and outer radius of 148mm, and an outer ring with an inner radius of 190mm and outer radius of 198mm. Around the inn...
text="Delta Robot Fan"; size=6; letter_scale=1.0; project=[30,-50,10]; zraise=2; backh=3; offset=[0]; ring_thickness=8; ring_start=140; h=200; r=100; base_sides=3; t=10; beam=10; rod=4; ang=220; arm=120; include <spiffsans.scad>; scale(size*.025,size*.025,1) badge(); module badge() { linear_extrude(height=bac...
glb/cad_26f33da31f00.glb
Create a standing lamp housing designed to hold a 150x60x25mm heat sink and five LEDs. Start by constructing a main rectangular body with an outer length of 156mm, width of 66mm, and height of 28.3mm. Hollow out the center of this body to create a cavity measuring 150.5mm by 60mm by 25.3mm. At the bottom center of the...
$fn=90; inf=1000; tol=0.225; L=150.5; W=60; H=25.3; R=7.9/2; EL=26+6; EW=17.5; EH=11.5; O=sqrt(2)*40+40; S=71.2/2; difference() { union() { translate([-L/2-3, -W/2-3, O]) cube([L+6, W+6, H+3]); rotate([90, 0, 0]) linear_extrude(height = 66, center = true, convexity = 10, twist = 0, slices = 2, scale ...
glb/cad_ed24e991d6d8.glb
Create a base for a 50W standing lamp by starting with a solid rectangular slab measuring 154.5mm in length, 64.5mm in width, and 6mm in height, centered on the origin. Carve out a central rectangular cavity from the top face that is 150.5mm long, 60.5mm wide, and 6mm deep, leaving a thin outer wall. Within the floor o...
$fn=90; tol=0.25; inf=1000; HeatSinkX=150; HeatSinkY=60; HeatSinkZ=25; Z=6; difference() { cube([HeatSinkX+2*tol+4, HeatSinkY+2*tol+4, Z], center=true); translate([0, 0, Z-5]) cube([HeatSinkX+2*tol, HeatSinkY+2*tol, Z], center=true); for (x = [-2 : 2]) { translate([5*150/23*x+5, 25*(abs(x)%2-0.5), 0]) { ...
glb/cad_f9c3dab8b22a.glb
Create a hollow rectangular sleeve for a linear actuator. Start with a solid rectangular block measuring 80mm in length, 29mm in width, and 29mm in height. Hollow out the center by removing a rectangular section 25mm wide and 21mm high that runs through the entire length of the block, leaving a wall thickness of 2mm on...
$fn=90; tol=0.2; inf=1000; Wall=2; H=5.8; difference() { union() { translate([-25, -12.5-Wall, -12.5-Wall+12.5]) cube([80, 25+2*Wall, 25+2*Wall]); } translate([31/2+3, -12.5-tol, -12.5-tol+12.5]) cube([inf, 25+2*tol, 25+2*tol]); translate([-inf/2, -12.5+1.5, -12.5+1.5+12.5]) cube([inf, 25-3, 25-3])...
glb/cad_a15fb6ec0fb5.glb
Create a linear actuator mount by constructing a main body and removing specific voids. Start with a base block that is 80mm long, 29mm wide, and 29mm high. Attach a perpendicular wall to the side, creating an L-shape with a second block that is 50mm long, 4mm wide, and 50mm high. Hollow out the center of the main 80...
$fn=90; tol=0.2; inf=1000; Wall=2; difference() { union() { translate([-25, -12.5-Wall, -12.5-Wall+12.5]) cube([80, 25+2*Wall, 25+2*Wall]); translate([-25, -12.5-Wall, -25]) cube([50, 2*Wall, 50]); } translate([31/2+3, -12.5-tol, -12.5-tol+12.5]) cube([inf, 25+2*tol, 25+2*tol]); translate([-i...
glb/cad_fc1baa949efd.glb
Create a linear actuator mount consisting of a central chassis with intersecting walls. Start by constructing two perpendicular plates: one measuring 90mm by 65mm by 3mm, oriented in the XY plane, and another of the same dimensions oriented in the XZ plane, intersecting at the center to form a cross-shaped base. Add a ...
$fn=90; tol=0.2; inf=1000; Wall=3; Gap=1; Pinch=0.5; BearingRadius=11; BearingThickness=7; BearingD=sqrt(BearingRadius*BearingRadius+BearingThickness*BearingThickness/4); difference() { union() { for (x = [-1, 1]) { translate([-90/2, x*(12.5+Wall/2+Gap)-Wall/2, -65/2]) cube([90, Wall, 65]); tra...
glb/cad_9866c580ff00.glb
Create a motor speed measurement mount by starting with a base plate that is a circular disk with a radius of 20mm and a thickness of 1mm. Centered on this disk, build a tiered cylindrical pedestal. The first tier is a cylinder with a radius of 4.65mm and a height of 5mm. Directly on top of this, add a second cylinder ...
$fn=89; inf=1000; tol=0.2; T=1.4; intersection() { difference() { union() { cylinder(r=20, h=1); cylinder(r=3.1/2+tol+3, h=5); cylinder(r=3.1/2+tol+6, h=4); } cylinder(r=3.1/2+tol, h=inf, center=true); translate([0, 0, 4]) rotate_extrude(convexity = 10) translate([40-T/2-3, 0, 0]) circle(r = 3); tra...
glb/cad_fca81222c703.glb
Create a motor speed measurement tool consisting of a motor mount and a rotor. First, construct the mount as a base plate 50mm long, 35mm wide, and 5mm thick. At the center of the base, create a vertical support block 5mm wide, 35mm deep, and 24mm high. Remove a central vertical cylindrical hole with a radius of 6.6m...
$fn=89; inf=1000; tol=0.2; MotorRadius=38/2; MotorInnerRadius=12.8/2; MotorHeight=65; MotorHoleSep=25; T=5; DetPCBX=33; DetPCBY=1.6; DetPCBZ=10; DetX=24.6; DetY=4.7-1.5; DetZ=6.3; DetOX=25.3-DetX; DetPX=4.4; DetPY=12.5-DetY-DetPCBY; DetPZ=DetZ; DetGap=3; DetPOX=DetX/2-DetGap/2-DetPX/2; DetHOX=1.4+1.5; DetHGap=DetX-2*...
glb/cad_8d64417ed432.glb
Create a mini table saw mount. Start with a rectangular base plate measuring 70mm by 73mm with a thickness of 1mm. Centered on this plate, create a slot 2mm wide that runs the length of the base. Construct two identical bearing holders. Each holder consists of a cube measuring 16mm wide, 6mm deep, and 15mm high. At th...
$fn = 90; Bleed = 0.2; BearingInner = 3; BearingOuter = 5; BearingDepth = 3; NutInner = 9.9/2; NutOuter = 11.1/2; MotorOuter = 37.8/2; MotorSpindle = 3.2/2; MotorSpindleCut = 2.7 - MotorSpindle; MotorBoltSep = 24.7; MotorBoltRadius = 1.5; Thickness = 3; Holder = BearingOuter+Thickness; RodOffset = 15; inf=1000; DriveOf...
glb/cad_6659b12943c6.glb
Create a mini table saw motor mount. Start by constructing a base that combines a rectangular block and a semi-cylinder. The rectangular section should be 37.8mm wide, 3.5mm thick, and 63.1mm tall. On top of this rectangle, center a semi-cylinder with a radius of 18.9mm and a thickness of 3.5mm, creating a rounded top ...
$fn = 90; Bleed = 0.2; BearingInner = 3; BearingOuter = 5; BearingDepth = 3; NutInner = 9.9/2; NutOuter = 11.1/2; MotorOuter = 37.8/2; MotorSpindle = 3.2/2; MotorSpindleCut = 2.7 - MotorSpindle; MotorBoltSep = 24.7; MotorBoltRadius = 1.5; Thickness = 16.5-13; Holder = BearingOuter+Thickness; RodOffset = 15; inf=1000; D...
glb/cad_eaf838c04fe8.glb
Create a herringbone gear with 18 teeth and a total height of 14mm. The gear should feature a mirrored tooth profile on the top and bottom halves, meeting in the center to form a double-helical shape. The gear's overall diameter is based on a pitch of approximately 10.5mm. At the center, create a vertical hole with a...
$fn = 90; NutInner = 9.9/2; NutOuter = 11.1/2; Thickness = 3; TrainDiameter = 2*(NutOuter+Thickness); echo(TrainDiameter); NutRadius = 12.8/2; NutDepth = 8; Bleed = 0.2; inf = 1000; pi = 3.14159; Teeth = 18; echo(pi*TrainDiameter/3); module hexagon(size, height) { boxWidth = size/1.75; for (r = [-60, 0, 60]) rot...
glb/cad_06c86db88a5a.glb