Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a dummy battery model based on the AA cell specification. Start by creating a main cylindrical body with a diameter of 14.5mm and a total height of 50.5mm. At the top of this cylinder, add a smaller concentric cylindrical pin with a diameter of 5.5mm and a height of 1.0mm. Hollow out the main body to create a s...
battery_type = "Demo" ; body_diameter = 14.5 ; body_height = 50.5 ; body_wall_width = 1.2 ; pin_diameter = 5.5 ; pin_height = 1.0 ; wire_diameter = 1.2 ; cName = 0 ; cDiameter = 1 ; cHeight = 2 ; cWidth = 3 ; cPinDiameter = 4 ; cPinHeight = 5 ; cWire = 6 ; Ba...
glb/cad_9440e98cd3da.glb
Create a Silicon Rod Ice Tray Holder by constructing a flat base with a thickness of 1mm. The main body is a rectangular plate that spans 7 repeating cells. Each cell consists of a rectangular outer boundary measuring 24mm by 82mm (calculated from a 17mm cell width plus a 7mm gap, and a 75mm cell length plus a 7mm gap)...
tol = 2; tray_holder_thickness = 1; tray_holder_cell_count = 7; gap_l = 10; gap_w = 7; ice_w = 17; ice_l = 75; ice_h = 20; silicon_thickness= 3; enable_reference_model = false; if(enable_reference_model) translate([0,0,silicon_thickness]) union() { for(i = [0:1:3]) %translate([i*(ice_w+gap_w),0,-ice_h/2]) cu...
glb/cad_4da1cc73b5cb.glb
Create a Fridge Leaflet Holder by constructing a hollow rectangular sleeve. Start with a solid rectangular block that is 116.6mm wide, 73.33mm deep, and 9.6mm tall. From the center of this block, remove a smaller rectangular volume to create the interior cavity, leaving a wall thickness of 0.8mm on all sides. The inter...
holder_wall_thickness=0.8; holder_base_thickness=0.8; holder_hole_size=8; leaflet_w=115; leaflet_l=220; holder_w=leaflet_w+holder_wall_thickness*2; holder_l=leaflet_l/3; supported=false; module leafletholder() { union() { difference() { hull() { cube([holder_w,holder_l,holder_hole_si...
glb/cad_cf28db7e06f6.glb
Create a small jewelry box for a single oval gem. The box consists of two symmetrical halves connected by a thin, flexible hinge. Each half is a rounded rectangular shell with a base thickness of 1mm and side walls 1.2mm thick. The interior of each half is a rounded rectangular cavity with a fillet radius of 2mm. The ...
opal_base_mm = 1; opal_top_height = 3; opal_oval_width = 3; opal_oval_length = 5; width_number = 1; length_number = 1; widthDistance = 6; lengthDistance = 5; inaccuracy = 1; opalBaseDia_w_ina = opal_oval_width + inaccuracy; opalBaseDia_l_ina = opal_oval_length + inaccuracy; interiorFillet = 2.0; hingeWidth = ...
glb/cad_75488271a1a9.glb
Create a Customisable Opal Case consisting of a hinged box with a base and a lid. The interior cavity is designed to hold a single oval gem measuring 4mm by 6mm (3mm x 5mm plus a 1mm inaccuracy allowance). The interior height of the case is 6mm. Construct the base and lid as rectangular shells with a wall thickness of...
opal_stand_mm = 2; opal_base_mm = 1; opal_top_height = 3; opal_oval_width = 3; opal_oval_length = 5; width_number = 1; length_number = 1; widthDistance = 10; lengthDistance = 10; inaccuracy = 1; opalBaseDia_w_ina = opal_oval_width + inaccuracy; opalBaseDia_l_ina = opal_oval_length + inaccuracy; interiorFillet...
glb/cad_814c65cfbc28.glb
Create a set of connector sockets for Type-C, Lightning, and TRRS plugs. For each socket, construct a main body by creating a hull between two cylinders of a specified outer diameter and height. For the Type-C socket, use a plug diameter of 2.5mm, a plug length of 8.3mm, and a plug depth of 6.5mm. For the Lightning s...
$fn=100; module plug_socket(plugdia, pluglength, plugdepth, outerdia, outerheight, sideshift) { union() { translate([0, -sideshift,0]) difference() { union() { difference() { hull() { translate([0,(pluglength-plugdia)/2,0]...
glb/cad_49053c7ce02f.glb
Create a soldering jig for PCB alignment. Start with a base plate 0.5mm thick. The main body is formed by the convex hull encompassing four alignment pin structures located at coordinates [3.302, 5.4864], [2.5908, 52.8828], [27.5336, 54.7624], and [27.2288, 5.4864]. At each of these four positions, create an alignmen...
$fn=20; tol=0.6; base_thickness=0.5; CONFIG_pindia=1; CONFIG_pindiaouter=3; CONFIG_pindepth=5; align_pin_pos_entries = [ [3.302 , 5.4864 ], [2.5908 , 52.8828], [27.5336 , 54.7624], [27.2288 , 5.4864 ] ]; non_alignment_pin_pos_vec = [ [27.5336/2 , 100 ], [27.5336/2 , 90 ] ]; pindia = CONFIG_pindia ...
glb/cad_d166ac43e371.glb
Create a capacitor leg bending tool starting with a solid rectangular block measuring 16mm wide, 31mm long, and 9.5mm high. Carve a semi-cylindrical trough along the length of the block with a radius of 8mm, positioned so the top of the curve is 1mm from the top surface. At one end of the block, create a flat ledge b...
$fn=100; capd=16; capl=31; cap_pin_spacing=7.5; cap_pin_dia=1.1; base_h=1; leg_guide=5; pin_offset_1 = 1; pin_offset_2 = 0; pin_pitch = 2.54; cap_radius=capd/2; difference() { cube([capd,capl,cap_radius+base_h+1]); translate([cap_radius,leg_guide+2,cap_radius+base_h]) rotate([-90,0,0]) cylin...
glb/cad_9967c009e7a0.glb
Create an adhesive Raspberry Pi Camera v2.1 mount consisting of a rectangular base, a connecting arm, and a tilted camera holder. Start with a rectangular base plate measuring 50mm by 15mm with a thickness of 2mm. From the center of the short edge of this base, extend a cylindrical arm with a radius of 2.5mm and a le...
$fn=20; picam_tilt_angle = 50; picam_mount_offset = 40; sx = 50 ; sy = 15 ; sh = 2 ; module rpi_camera_model() { xs = 25.0; ys = 23.85; zs = 0.95; smt = 0.05; ID1 = 2.20; OD1 = 4.7; mhxc = 21.0; mhyc = 12.5; mhox = 2.0; mhoy = 2.0; hh = zs*2; smx = 8.45; smy = 8.45; smz = 2.3; s...
glb/cad_32fd8c694f47.glb
Create a Raspberry Pi Camera v2.1 mount consisting of a base block, a connecting arm, and a tilted camera holder. Start by creating a rectangular base block measuring 10mm wide, 15mm deep, and 5mm high. From the center of the bottom face of this block, extend a horizontal cylindrical arm with a radius of 2.5mm and a ...
$fn=20; picam_tilt_angle = 50; picam_mount_offset = 40; module rpi_camera_model() { xs = 25.0; ys = 23.85; zs = 0.95; smt = 0.05; ID1 = 2.20; OD1 = 4.7; mhxc = 21.0; mhyc = 12.5; mhox = 2.0; mhoy = 2.0; hh = zs*2; smx = 8.45; smy = 8.45; smz = 2.3; smbod = 7.25; smbz = 1.7; smco...
glb/cad_0c8a2758ba3b.glb
Create a Between Wall Hairdryer Holster by starting with a solid block that is 90mm wide, 15mm deep, and 50mm high. The block should be centered on the Y and Z axes. From this block, remove a large cylindrical void to create the holster's cradle. The cylinder should have a radius of 36mm and a height of 100mm. Positi...
$fn=50; side_wall_lim=90; sx = 15; sy = 50; sh = 2; module hairdryer_ring() { ring_rotate=45; translate([0,0,30]) rotate([ring_rotate,0,0]) translate([side_wall_lim/2,0,0]) cylinder(r=side_wall_lim*0.8/2, h=100, center=true); } difference() { hull() { translate([1/2,0,0]) cube([1,sx,sy]...
glb/cad_754b1d1c52ab.glb
Create a Dual Castellation Programmer Jig consisting of two mirrored halves. Each half is a rectangular block with a base thickness of 1mm and a total height of 7mm. Within each half, create a central rectangular cutout measuring 49.4mm by 18.9mm to accommodate a PCB. On either side of this cutout, integrate a series...
$fn=20; base_thickness = 1; bh = 2; st = 2; mt = 2; ppext = 8; ppbody = 25; ppdia = 1.5; ppdiatol = 0.5; ppdiaoutset = ppext*2/3+0.5; ppc = 18; pps = 2.54; fps = 3; modtol = 0.4; modx = 49.4; mody = 27.5; modcutx = 48.3; modcuty = 18.9; mod_pcb_thickness = 0.8; mod_bottom_depth = 4; modh = mod_pcb_thickness + mod...
glb/cad_eb70706e3402.glb
Create a Robot Vac Skirt Extender designed as a curved vertical strip. The main body is a 90-degree arc with an outer radius of 160mm and a height of 20mm. This arc has a constant thickness of 3mm. At one end of the arc, integrate a mounting tab. This tab is a rectangular block 4mm thick and 23mm wide (5 times the ho...
$fn=100; minimum_skirt = false; skirt_holes = true; hole_dia=4.6; hole_spacing=28.5-4.6; skirt_length=30; thickness=4; thickness_skirt=3; width=hole_dia*5; bot_radius=160; bot_skirt_h=20; module minimum_skirt(rounded_bottom) { translate([skirt_length,0,0]) difference() { union() { hull() ...
glb/cad_26fdf864fa84.glb
Create an Edge Header Programmer Clip designed to hold six P100-E2 probes. Start with a rectangular base block measuring 18.8mm in width (6 pins spaced at 2.54mm intervals plus diameter tolerances) and approximately 32mm in depth. The total height of the main body is roughly 7.5mm. In the center of the block, create a...
$fn=20; PCB_probe_clip_grip_enable = true; PCB_probe_align_enable = false; printer_nozzle=0.4; base_thickness = 0.2; ppext = 8; ppbody = 25; ppdia = 1.5; ppdiatol = 0.6; ppinset = 0.5; ppdiaoutset = ppext-ppinset; ppc = 6; pps = 2.54; pcb_thickness = 1.1; pcb_probe_offset = 1.3; pcb_probe_side_offset = 0; c...
glb/cad_7227af86ea54.glb
Create an Edge Header Programmer Clip jig designed to hold six P100-E2 probes. Start with a main rectangular block with a total width of 18.74mm (6 pins spaced at 2.54mm intervals plus probe diameter) and a depth of approximately 27.1mm. The block height is 7.4mm. At the base, create a central rectangular cutout 1.1mm...
$fn=20; printer_nozzle=0.4; base_thickness = 1; ppext = 8; ppbody = 25; ppdia = 1.5; ppdiatol = 0.6; ppinset = 0; ppdiaoutset = ppext-ppinset; echo(ppdiaoutset); ppc = 6; pps = 2.54; pcb_thickness = 1.1; pcb_probe_offset = 1.3; clip_tab = 5; pcb_h = 2; boxx = ppc * pps + ppdia; boxy = 2 + ppbody + ppdiaouts...
glb/cad_34a3544af014.glb
Create a Pogo Pin Serial Adapter jig. Start with a main rectangular block measuring 18.04mm in width, 27.1mm in depth, and 7.7mm in height. Carve a central rectangular slot through the middle of the block, starting from the bottom, with a width of 18.04mm and a height of 5.5mm, to accommodate a module. On the top sur...
$fn=20; printer_nozzle=0.4; base_thickness = 0.1; ppext = 8; ppbody = 25; ppdia = 1.5; ppdiatol = 0.6; ppinset = 2.5; ppdiaoutset = ppext-ppinset; echo(ppdiaoutset); ppc = 6; pps = 2.54; pcb_thickness = 1.1; pcb_probe_offset = 1.3; clip_tab = 5; pcb_h = 2; boxx = ppc * pps + ppdia; boxy = 2 + ppbody + ppdia...
glb/cad_b3309b0f1920.glb
Create a tool holder for a 3D printer frame. Start with a main rectangular caddy body that is 11mm wide, 50mm long, and 10mm high. On the left side, integrate a mounting slot 5mm wide and 10mm high. Add two symmetrical handle hooks extending from the top and bottom of the caddy. Each hook consists of a cylinder with a...
$fn=30; xhole=5; zhole=10; metal_thickness=2; hook_length=20; hook_dia=6; hole_tol=1; hex_dias=[1.6,2.2,2.5,3,4]; metal_stick_dia=1.5; xtweezer=5; ytweezer=12; xcaddy=xtweezer+6; ycaddy=50; module handles(ypos) { translate([0,0,hook_dia/2]) union() { translate([xhole+metal_thickness+xcaddy,ypos...
glb/cad_c45895083aaf.glb
Create a filament sensor mounting clip with a total height of 8.5mm. The model consists of a main frame clip and an attached sensor mount. First, construct the frame clip as an L-shaped bracket. The base is a flat strip 50mm long and 50mm wide, with a thickness of 1.5mm. Create a cutout in this base to accommodate a m...
$fn=100; filament_mount_y_length=6; filament_mount_x_length=5; filament_mount_y_offset=20; filament_mount_x_offset=40; filament_mount_width=8.5; filament_mount_thickness=1.5; printer_frame_tol=1; printer_frame_clip_thickness=1.5; printer_frame_y_lenght = 50; printer_frame_x_lenght = 50; metal_sheet_thickness=2+printe...
glb/cad_8b4a1460ab26.glb
Create a picture rail hook with a total width of 30mm and a thickness of 4mm. Start by creating a semi-circular mount that is a hollowed-out cylinder with an outer radius of 14.5mm (half the rail diameter plus thickness) and an inner radius of 10.5mm, extending to a height of 30mm. From this mount, extend a hook down...
$fn=50; centeredHook=false; dia=21; thickness=4; width=30; standoff=0.5; hookdia=10; hookflange=3; hookwidth=4; hookspacing=dia; difference() { translate([dia,0,0]) union() { translate([-dia/2,0,0]) difference() { cylinder(r=dia/2+thickness, h=width); ...
glb/cad_693e37f01fbb.glb
Create a wood pegboard hanger consisting of a back plate and a small open-top bin. Start with a rectangular back plate that is 2.18mm wide, 0.18mm deep, and 1.5mm high. Attached to the bottom of this plate, create a base for the bin that is 2.18mm wide and 0.18mm deep, with a bottom length of 1.0mm. Add two side walls ...
peg_dia=.175; peg_spac=1.0; backw=2.18; backd=.18; backh=1.5; bot_l=1.0; frontw=1; frontd=.10; fronth=.25; sidewl=.15; sidedl=1.0; sidewr=sidedl; sidedr=sidewl; sideh=0.25; lip_spac=2; $fa = .8; $fs = .4; $fn = 100; union() { translate([backw/2-peg_dia/2,-backd/2,-backh/2]) rotate ([180, 0, 0]) ...
glb/cad_e37de9eb2509.glb
Create a steel peg board hanger designed as a small open-topped bin with a mounting back. Start with a rectangular back plate that is 2.18mm wide, 0.18mm deep, and 1.5mm high. Attached to the bottom of this plate, create a base that is 1mm long, 2.18mm wide, and 0.18mm deep. Extend two side walls upward from the base...
peg_dia=.175; peg_spac=1.0; backw=2.18; backd=.18; backh=1.5; bot_l=1.0; frontw=1; frontd=.10; fronth=.25; sidewl=.15; sidedl=1.0; sidewr=sidedl; sidedr=sidewl; sideh=0.25; lip_spac=2; $fa = .8; $fs = .4; $fn = 100; union() { translate([backw/2-peg_dia/2,-backd/2,-backh/2]) rotate ([180, 0, 0]) ...
glb/cad_c9c62fdd5e81.glb
Create a Dual Stovetop Firestop mounting clip designed to fit a metal printer frame. Start by creating a main body that is 10mm wide and 1.5mm thick. The overall footprint of the clip is defined by a rectangular area of 52mm by 52mm. Construct the clip by forming a U-shaped channel to grip the frame. This is achieved ...
$fn=100; printer_frame_mount_width = 10; stfs_angle = -45/2; stfs_tolerance = 1.5; stfs_between_space = 25; hang_holes = 2; hang_hole_interspace = 4; hang_to_stfs_space = 5; stfs_head = 6.3; stfs_holes = 2.7; stfs_b_dia = 85.23; stfs_b_h = 55; stfs_head_dia = stfs_head+stfs_tolerance+1; stfs_hole_dia = stfs_holes+s...
glb/cad_4c1509e7e114.glb
Create a Microscope Camera Articulated Arm Adapter consisting of a circular base with a protruding mounting tab. Start with a main cylinder that has an outer diameter of 50.5mm and a height of 10mm. Center a large coaxial hole through this cylinder with a diameter of 35.5mm and a height of 20mm. Add a concentric inner...
$fn=100; printer_err = 0.5; outerdia = 50 + printer_err; lipdia = 38 + printer_err; lipheight = 2; holedia = 35 + printer_err; height = 10; screwdia = 2.1; arm_dia=5+0.6; arm_offset=4; translate([0,0,height/2]) difference() { union() { hull() { #translate([outerdia/2+20+(h...
glb/cad_6451bd0b5a6f.glb
Create a T-Slot Hook and Cable Mount designed for a 40x40mm profile. The object consists of a mounting clip and an attached hook. First, construct the mounting clip. Create a central shaft with a diameter of 8mm and a height of 12.5mm. This shaft should be integrated with a wedge-shaped base that transitions from a wi...
$fn=100; tslot_centerdepth = 5+0.5; tslot_centerwidth = 8; hookdia=10; hookflange=3; hookwidth=7; hookthickness=4; union() { difference() { union() { translate([0, tslot_centerdepth, 0]) intersection() { heightlim=7; ...
glb/cad_1499185276a6.glb
Create a T-Slot Hook and Cable Mount designed for a 40x40mm profile. The object consists of a mounting base and an attached cable-holding hook. First, construct the mounting base. Create a central shaft with a width of 8mm and a depth of 5.5mm to fit the T-slot. The base should feature a wedge-like profile that transi...
$fn=100; tslot_centerdepth = 5+0.5; tslot_centerwidth = 8; hookcenterspacing=10; hookdia=10; hookflange=3; hookwidth=7; hookthickness=2; model_slot_gap = 10; model_slot_side = 15; translate([0, -1, 0]) union() { difference() { union() { translate([0, tslot_centerdepth, 0]) ...
glb/cad_2320f8163a55.glb
Create a cable hook for T-slot mounting consisting of a mounting base and a series of cable clips. First, construct the mounting base. Create a central shaft with a radius of 4mm and a total height of 11mm. This shaft is integrated into a wedge-shaped body that transitions from a width of 20mm at the base to a width ...
$fn=100; tslot_centerdepth = 5+0.5; tslot_centerwidth = 8; hookcenterspacing=10; hookdia=10; hookflange=3; hookwidth=7; hookthickness=2; model_slot_gap = 10; model_slot_side = 15; nClips=4; cableDia = 6; wallThickness = 1.5; anglecut = 50; outer = cableDia + 2*wallThickness; module clip(cable, outer, ange...
glb/cad_e90c2f05e050.glb
Create a Cable Loop for T-slot mounting. The model consists of a mounting clip and a cable loop. First, create the T-slot mount. Start with a base shape that is 7mm high and 20mm wide, tapering from a width of 20mm at the top to 10mm at the bottom over a height of 8mm. Integrate a central cylindrical shaft with a radi...
$fn=100; tslot_centerdepth = 5+0.5; tslot_centerwidth = 8; clipx = 35; clipy = 15; hookdia=5; hookwidth=7; hookthickness=2; model_slot_gap = 10; model_slot_side = 15; translate([0, -1, 0]) union() { difference() { union() { translate([0, tslot_centerdepth, 0]) ...
glb/cad_d9006b103a2c.glb
Create a Wico Arcade Joystick 8-way Actuator by constructing a tiered cylindrical sleeve with a central hollow bore. Start by forming a base cylinder with a diameter of 17mm and a height of 18mm. On top of this base, add a second concentric cylinder with a diameter of 13mm and a height of 23mm, positioned so that it ex...
$fn=360; difference() { union() { cylinder(18, d=17); cylinder(23, d=13); } translate([0, 0, -1]) cylinder(25, d=9.8); }
glb/cad_99b392bad5a9.glb
Create a Wico Arcade Joystick Guard Actuator. Start with a main body consisting of a rectangular base measuring 47.5mm in length, 9.5mm in width, and 0.8mm in height, offset 1mm from the origin. To this base, add a hull that connects four cylinders, each with a diameter of 2mm and a height of 1.5mm, positioned at the f...
$fn=180; difference() { union() { translate([1, 0, 0]) cube([47.5, 9.5, .8]); hull() { translate([1, 0.5, 0]) cylinder(1.5, d=2); translate([1, 9, 0]) cylinder(1.5, d=2); translate([18, 0.5, 0]) cylinder(1.5, d=2); ...
glb/cad_6442ae942ad5.glb
Create a filament sensor mounting clip designed to attach to a NEMA17 motor. First, construct the motor clip as a rounded rectangular sleeve. Start with a solid block measuring 48.3mm in width and depth, and 8mm in height. All four vertical corners must be rounded with a 10mm radius. From the center of this block, re...
$fn=100; filament_mount_y_length=6; filament_mount_x_length=5; filament_mount_y_offset=20; filament_mount_x_offset=40; filament_mount_width=8.5; filament_mount_thickness=1.5; NEMA_dia=42.3; NEMA_clip_round=10; NEMA_clip_width=8; NEMA_clip_thickness=3; NEMA_mount_offset_h=9; NEMA_mount_offset_length=15; NEMA_mount_of...
glb/cad_2089d8c9a7eb.glb
Create a Williams Drop Target Guide by constructing a main platform and adding several vertical towers and walls. The base platform is a rectangular slab 71mm long, 19.2mm wide, and 1.4mm thick. At the front (x=4), create a machine screw tower by adding a cylinder 5.5mm in diameter and 16.1mm high, then remove a cent...
MachineScrewHoleDiameter = 3.9; PCBScrewHoleDiameter = 2.7; PCBBottomScrewHoleDiameter = 3.2; $fn=180; difference() { union() { translate ([0, -9.6, 3.5]) cube ([6, 19.2, 3], center=false); hull() { translate ([3, -9.6, 3.5]) cube ([3, 19.2, 3], center=false)...
glb/cad_3c4dce77e32e.glb
Create a mounting stand for a Klingon Bird of Prey pinball model. Start with a central main shaft that is a cylinder 99.8mm long with a diameter of 3mm. At both ends of this shaft, create mounting rings. The bottom mounting ring is formed by a hull connecting two 3mm diameter cylinders spaced 5.5mm apart, with an 8mm...
$fn=180; rotate([-90, 0, 0]) union() { cylinder(99.8, d=3); difference(){ union() { hull() { cylinder(3, d=3); translate([-5.5, 0, 0]) cylinder(3, d=3); } translate([-5.5, -2.5, 0]) cylinder(3, d=8); ...
glb/cad_6f9c125e1fcc.glb
Create a Backbox LED Diffuser consisting of a main body and optional caps. For the main body, create a cylinder 12mm high with a 20mm diameter. Hollow it out by removing a concentric cylinder 12mm high with a 16mm diameter, starting 1mm from the base. Further remove a concentric cylinder 12mm high with an 18mm diamet...
$fn=180; module ledHoles() { translate([-2.5, -2.5, -1.5]) cylinder(3, d=1, center=false); translate([-2.5, 2.5, -1.5]) cylinder(3, d=1, center=false); translate([2.5, -2.5, -1.5]) cylinder(3, d=1, center=false); translate([2.5, 2.5, -1.5]) cylinder(3, d=1, center=false); transl...
glb/cad_e36c9df29dee.glb
Create a screw-mountable wire holder consisting of a long backplate and a series of angled tool slots. The backplate is 6mm thick with rounded ends. Create seven identical holder units arranged in a row. Each unit consists of a base block 11mm wide and 4mm thick. From the top of this base, extend a vertical wall 15mm...
backplateThickness=6; backplateHeight=0; backplateSupportHeight=20; supportWallThickness=3; holderThickness=4; holderLengthA=15; holderLengthB=10; holderAngle=40; cnt=7; holderGapSizeDef=[10.5,0]; holderGapSizeDefCount=[cnt,1]; holderSizeDef=[11]; holderSizeDefCount=[cnt+1]; fn=40; drillholeDiameter=8; countersunkDiame...
glb/cad_dea1e8819f81.glb
Create a screw-mountable wire holder consisting of a base plate and a series of vertical retaining tabs. The base plate is 6mm thick and features rounded ends. Construct 10 retaining tabs spaced along the base. Each tab is 4mm thick and 75mm long, extending upwards from the base. The top of each tab is angled at 35 d...
backplateThickness=6; backplateHeight=0; backplateSupportHeight=20; supportWallThickness=3; holderThickness=4; holderLengthA=75; holderLengthB=15; holderAngle=35; cnt=9; holderGapSizeDef=[7.5,0]; holderGapSizeDefCount=[cnt,1]; holderSizeDef=[11]; holderSizeDefCount=[cnt+1]; fn=40; drillholeDiameter=8; countersunkDiamet...
glb/cad_bb0b346ec7ce.glb
Create a Laser Diode Simple Fan Assist mount. Start by creating a square base plate with a thickness of 5mm and overall dimensions of 40mm by 40mm. Round the four corners of this base with a 1mm radius. In the center of the base, create a large circular cutout with a diameter of 15mm to allow the laser diode lens to ...
$fn=32; fan_size = 40; fan_mount_base_thickness = 4; fan_mount_hole_pitch = 32; fan_mount_hole_diam = 3.1; fan_mount_nut_diam = 6.9; fan_mount_nut_depth = 1.5; fan_upper_standoff = 5; fan_side_standoff = 3; fan_mount_corner_r = 1; laserDiode_size = 40; laserDiode_thickness = 5; laserDiode_screw_pitch = 32; ...
glb/cad_22313ccfd931.glb
Create a Laser Diode Simple Fan Assist mount consisting of two primary aligned components: a laser diode base and a fan mount. First, create the laser diode base as a square plate 40mm wide and 40mm deep with a thickness of 1.5mm. Round the corners with a 1mm radius. In the center of this plate, create a circular cuto...
$fn=32; fan_size = 40; fan_mount_base_thickness = 4; fan_mount_hole_pitch = 32; fan_mount_hole_diam = 3.1; fan_mount_nut_diam = 6.9; fan_mount_nut_depth = 1.5; fan_upper_standoff = 5; fan_side_standoff = 10; fan_mount_corner_r = 1; laserDiode_size = 40; laserDiode_thickness = 1.5; laserDiode_screw_thickness...
glb/cad_d829dfc20e14.glb
Create a BLTouch Z Height Calibration Gauge consisting of three rectangular stepped sections aligned side-by-side. The overall width of the gauge is 50mm. The first section is a base plate 40mm long and 1mm thick. Centered on this section, 10mm from the front edge, extrude the text "BTouch" with a height of 1mm. The...
letter_h = 1; letter_s = 10; gaugeW = 50; gaugeL_perSwatch = 40; gaugeBaseH = 1; module swatch(lengthOffset, layerHOffset, swatchL, layerH, nameStr) { module letter(l) { linear_extrude(height = letter_h) text(l, size = letter_s, font = "Liberation Sans", halign = "center", valign = "center", $fn...
glb/cad_664cddc9b1f3.glb
Create a mini dice book consisting of a cover and a page block. The page block is a rectangular solid 40mm wide, 25mm high, and 103mm deep. The front and back covers are thin plates 149mm wide and 107mm high, with a 4mm thickness. The covers are connected by a flexible binding area created by a series of small rectangu...
D_MAGNETS=6; H_MAGNETS=3; INSET_MAGNETS=0.6; D_MAGNETS_LID=5; H_MAGNETS_LID=2; module back(){ translate([0,0,-4])linear_extrude(4)difference(){ translate([-95,-105])square([149,107]); translate([-41,-105])bend(107,8,10); } module bend(l,g=10,n=10) { p = (l - 3 * g)/2; for(x=[0:4:n*4]){ tr...
glb/cad_a1432750eb3a.glb
Create a Generic Strap Pole Mount designed to hold a battery pack against a cylindrical pole. Start by creating a rectangular sleeve with an outer width of 84mm, a depth of 28mm, and a height of 102mm. The walls of this sleeve should be 2mm thick. Hollow out the center of this sleeve by removing a rectangular block of ...
PoleRadius = 22; BatteryHeight = 100; BatteryDepth = 24; BatteryWidth = 80; WallThickness = 2; StrapThickness = 5; StrapWidth = 30; MountOffset = PoleRadius + (WallThickness *2)+ StrapThickness; MountHeight = BatteryHeight+WallThickness ; StrapMountDepth = (StrapThickness+WallThickness)*2; HolderDepth = BatteryDepth...
glb/cad_f68b03f087e3.glb
Create a buildplate model removal helper consisting of a main rectangular body with rounded edges. The base is a rounded slab 135mm long, 20mm wide, and 15mm thick. Centered on top of this base, add a raised rectangular section that is 135mm long, 8mm wide, and 25mm high, with rounded corners. In the center of this rai...
module plate() { hull() { minkowski() { cube([121,60,2.49], true); cylinder(d=16,0.01,$fn=60); } translate([0,0,5.75]) cube([65,5,13], true); } } rotate([0,0,90]) difference() { * union() { translate([0,0,12.5]) minkowski() { cube([72.5,20,24.99], true); cylinder(d=15,0.01,$fn=60); } transl...
glb/cad_f581516ab78f.glb
Create a Prusa Bear LCD Cable Plate by starting with a rectangular base measuring 20mm wide, 70mm long, and 2mm thick. Drill two circular holes completely through the plate, each with a diameter of 5.3mm. Position the first hole in the center of the width (10mm from the sides) and 10mm from the front edge. Position the...
2020plate(70,2); module 2020plate (l,h) { extdia = 20; difference(){ cube([extdia,l,h]); union() { translate([extdia/2,extdia/2,-.5]) { cylinder(h=h+1, d=5.3, $fn=360); } translate([extdia/2,l-extdia/2,-.5]) { cylinder(h=h+1, ...
glb/cad_c2f597ced6f5.glb
Create a PaCoBox, a compartmentalized storage container with a lid. The main body is a rectangular block with a total width of 82.86mm and height of 61.86mm, featuring a floor thickness of 1.2mm and outer walls of 2mm. Within the body, create a 3x2 grid of compartments. Each compartment interior measures 25mm by 25mm...
part_bottom(); if(use_lid) translate([0, 0, total_thickness + 10]) mirror([0, 0, 1]) part_lid(); compartment_count = [3, 2]; compartment_size = [25, 25, 10]; compartment_radius = 6; use_lid = true; use_labels = true; label_text = [["<", "8", "16"], ["32", "64", ">"]]; label_size = 6.5; label_height = .6; use_m...
glb/cad_6cd9581dae71.glb
Create a cat carrier replacement foot. Start with a rectangular base measuring 28.45mm wide, 38.1mm deep, and 1.63mm high, with rounded corners. On top of this base, build a main body that is 28.12mm wide, 29.05mm deep, and 21.37mm high. Add a top section to this body that is 27.31mm wide, 28.45mm deep, and 6.48mm high...
$fs = 0.15; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[0] == undef) ? [size, size, size] : size; translate_min = radius; translate_xmax = size[0] - radius; translate_ymax = size[1] - radius; translate_zmax = size[2] - radius; diameter = radi...
glb/cad_856f9a74bf94.glb
Create a parametric broom handle holder consisting of a mounting base and a curved gripping clip. Start with a rectangular mounting base 30mm long, 15mm high, and 1mm thick. Center a vertical hole through this base with a diameter of 3mm to accommodate an M3 screw. Around this hole, create a cylindrical boss to house t...
$fn = 40; handle_diameter = 23; handle_offset = 20; handle_screw_enable = true; handle_screw_hole = 3; handle_screw_head = 5.6; screw_hole_tol = 0.15; screw_head_tol = 0.5; mount_base_thickness = 1; mount_base_length = 30; mount_base_height = 15; curve_thickness = 2.1; curve_height = mount_base_height; majorcurve_...
glb/cad_f9dc4cd23264.glb
Create a Cat Carrier Locking Lug. Start with a rectangular base block measuring 3.302mm wide, 34.918mm deep, and 11.43mm high. On the center of the width face, add an upper cylinder with a radius of 8.1285mm and a height of 1.524mm. Directly beneath this, add a lower cylinder with a radius of 6.502mm and a height of ...
$fs = 0.15; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[0] == undef) ? [size, size, size] : size; translate_min = radius; translate_xmax = size[0] - radius; translate_ymax = size[1] - radius; translate_zmax = size[2] - radius; diameter = radius * 2; ob...
glb/cad_f23b5f9fb302.glb
Create a Rocketry Fin Jig by starting with a central square plate that is 162mm wide, 162mm deep, and 20mm thick. From the center of this plate, remove a cylindrical hole with a diameter of 104.04mm that passes completely through the thickness of the plate. To create the slots for four fins, remove four identical rect...
airframe_diameter = 102; fin_height = 30; fin_thickness = 6; jig_thickness = 20; fin_beveled = false; bevel_factor = 0.15; fillet_factor = 1.75; fillet_size = fin_thickness * fillet_factor; fit_factor = 1.02; difference() { jig_size = airframe_diameter + (2 * fin_height) + jig_thickne...
glb/cad_803ea2807aa3.glb
Create a Rocketry Fin Jig by starting with a triangular base. The base is an equilateral triangle with a total size of 92mm (the sum of a 57mm airframe diameter and 35mm fin height), extruded to a thickness of 20mm and centered vertically. Remove a central cylindrical hole from the triangle with a diameter of 58.14mm ...
airframe_diameter = 57; fin_height = 35; fin_thickness = 3.2; jig_thickness = 20; fin_beveled = true; bevel_factor = 0.15; fillet_factor = 3; fillet_size = fin_thickness * fillet_factor; fit_factor = 1.02; difference() { jig_size = airframe_diameter + fin_height; linear_extrude(height = jig_thickness, center =...
glb/cad_a0cfbba4905d.glb
Create an air hose adapter consisting of a hollow cylindrical ring. The main body is a cylinder with a height of 30mm, an outer radius of 90mm, and a wall thickness of 2mm. This creates a hollow tube with an inner radius of 88mm. From the bottom of this tube, remove a smaller concentric cylinder with a height of 8mm an...
$fn=120; h = 30; r1 = 62.5; r2 = 90; d = 2; difference (){ difference(){ cylinder( h,r2,r2); cylinder( h,r2-d,r2-d); } difference(){ translate([0,0,h-22]){cylinder( 8,r2,r2);} translate([0,0,h-22]){cylinder( 8,r2-0.5,r2-0.5);} } }
glb/cad_602db7f8bef7.glb
Create a phone stand with an integrated wireless charger holder. Start by constructing a semi-circular base for the charger: create a solid cylinder with a diameter of 97mm and a height of 12mm. Hollow out the center of this cylinder with a smaller concentric cylinder 93mm in diameter and 8mm high, leaving a 4mm thick ...
charger_diameter = 93; charger_radius = charger_diameter / 2; charger_thickness = 8; holder_thickness = 4; holder_external_radius = charger_radius + holder_thickness; holder_external_diameter = charger_diameter + holder_thickness * 2; holder_rim_size = 10; cutout_width = 14; cutout_height= 40; phone_drop_from_charge...
glb/cad_6ff130494c31.glb
Create a power supply holder designed to mount a power brick under a desk. The structure is a rectangular bracket with a consistent wall thickness of 3.2mm and a total depth of 20mm. The holder consists of four main panels. Create a top panel that is 33mm wide and 20mm deep, with rounded bottom edges and corners to cr...
DSK_Thickness = 16.50; DSK_Width = 33.00; PWS_Height = 29.40; PWS_Width = 41.20; G_Thickness = 3.20; G_Depth = 20.00; module EdgeRound(Height=6.0, Width=78.0) { rotate([0, 90, 0]) linear_extrude(height = Width, center = true, convexity = 10, twist = 0)...
glb/cad_4aac1895e045.glb
Create a magnetic shirt badge holder consisting of a rectangular open-topped box with a total height of 3mm. The outer dimensions of the box are 86mm wide by 55mm high, with wall thicknesses of 2mm. The interior is hollowed out to accommodate a card, leaving a bottom floor thickness of 1mm. At the center of the top ou...
include <parameters.scad> difference() { translate([-walls_thick, -walls_thick, 0]) { cube(size=[card_width+walls_thick, card_height+walls_thick*2, height]); } translate([0, 0, bottom_thick]) { cube(size=[card_width+epsilon, card_height, card_thick+walls_thick+epsilon]); } intersection() { cube...
glb/cad_4347cc7c09c1.glb
Create a magnetic shirt badge holder consisting of a thin rectangular base plate with rounded corners. The plate should have a width of 85mm and a height of 55mm, with a thickness of 3mm. The corners must be rounded with a radius of 3mm. Within this plate, create 12 circular holes to house magnets, each with a diamet...
include <parameters.scad> rotate([180, 0, 0]) { difference() { hull () { translate([bottom_thick, bottom_thick, bottom_thick]) { sphere(bottom_thick); } translate([card_width-bottom_thick, bottom_thick, bottom_thick]) { sphere(bottom_thick); } translate([bottom_thic...
glb/cad_19e518a8af23.glb
Create an open radial blade impeller. Start by creating a central cylindrical hub with a radius of 7.5mm and a total height of 27mm. Bore a hole through the center of this hub with a diameter of 4.7mm to accommodate a shaft. Around the hub, arrange 10 identical rectangular blades, each 2mm thick and 57.5mm long, extend...
$fn = 100; bladeCount = 10; bladeThickness = 2; impellerRadius = 57.50; impellerThickness = 27; hubRadius = 7.5; shaftDiameter = 4.7; shroudThickness = 2; hubRelief = 18; reliefAngle = 50; hubOnly = false; module Blade() { translate([0,bladeThickness/2,0]) rotate([90,0,0]) cube([impellerRadius, impellerTh...
glb/cad_5b8cb188ac74.glb
Create a motorcycle security badge holder designed for a landscape military CAC card. Start with a solid rectangular base that has a total width of 87.5mm, a height of 55.5mm, and a thickness of 4mm. The main body should feature outer walls 2mm thick. Hollow out the center to create a card slot that is 83.5mm wide, 5...
include <parameters.scad> difference() { translate([-walls_thick, -walls_thick, 0]) { cube(size=[card_width+walls_thick, card_height+walls_thick*2, height]); } translate([0, 0, bottom_thick]) { cube(size=[card_width+epsilon, card_height, card_thick+walls_thick+epsilon]); } intersection() { cube...
glb/cad_b23f6bed6282.glb
Create a motorcycle security badge holder designed for a landscape military CAC card. Start with a solid rectangular base measuring 88.4mm wide, 55.9mm deep, and 4mm high. The main interior cavity is a rectangular cutout 82.4mm wide and 51.9mm deep, leaving walls 3mm thick on the sides and back, and a bottom thickness ...
include <parameters.scad> difference() { translate([-walls_thick, 0, 0]) { cube(size=[card_width+walls_thick*2, card_height+walls_thick, height]); } translate([0, 0, bottom_thick]) { cube(size=[card_width, card_height, card_thick+walls_thick+epsilon]); } translate([-notch_rad/2, card_height/2, -1])...
glb/cad_1c0c1f489280.glb
Create a Givi Tanklock support bracket. Start with a central cylindrical base plate with a diameter of 80mm and a thickness of 5mm. On the top surface of this plate, create three hexagonal nut recesses for M5 bolts. Position one recess centrally at the top and two spaced horizontally at the bottom. These recesses sho...
include <parameters.scad> nut_dia=m5_nut_dia/cos(180/6); bs_front=between_sides_front-34.5; bs_rear=between_sides_rear-34.5; module rounding() { hull() { translate([0, 4, 0]) { sphere(head_dia/2); } translate([0, -4, 0]) { sphere(head_dia/2); } } } module bolt_pillar(sign) { hull() ...
glb/cad_d63e5e04fcc2.glb
Create a toilet chlorine biscuit holder consisting of a tapered outer shell and a hollow base. Start by creating a hollow cylindrical base with an inner diameter of 33.5mm and an outer diameter of 35.5mm, extending to a height of 35mm. This base must have a central hole passing through the bottom with a diameter of 27....
$fn=180; overflow_dia=33.5; biscuit_dia=75; wall_hgt=70; wall_thk=1; pipe_hgt=35; dist=(overflow_dia+biscuit_dia)/2; difference() { union() { difference() { hull() { translate([dist, 0, 0]) { cylinder(h=wall_hgt, d=biscuit_dia+wall_thk*2+5); } cylinder(h=wall_hgt, d=ov...
glb/cad_2bcd532b6834.glb
Create a modular small parts organizer consisting of a storage rack, outer shells, and removable bins. Use a base unit size of 15mm. For the removable bins, create open-topped rectangular boxes with a base of 15mm by 15mm and a height of 27.6mm. The walls and floor should be 0.86mm thick, with the interior corners sli...
baseSize = 15; wallThickness = 0.86; outerWallThickness = 1.26; floorThickness = 0.8; shellFloorThickness = 1.2; height = 27.6; separation = 0.4; taper = 0.8; outerDistance = baseSize + 2 * wallThickness + separation; invokedFromShell = false; type = 0; length = 1; width = 1; levels = 4; if (invokedFromShell) { ...
glb/cad_588aba20d5b0.glb
Create a set of Frosthaven Trapper Trap tokens consisting of three distinct circular components, each with a diameter of 30mm and a thickness of 1mm. Every component must feature a central cylindrical hole with a diameter of 3.15mm and a depth of 1mm to accommodate a magnet. The first component is a number wheel. On i...
magnetD=3.15; magnetZ=1; n=0.4; d=30; $fn=64; textSize=8; artT=0.3; trapPrintable(); module trapAssembled(showArt=true){ numWheel(3,showArt=showArt); translate([0,0,2])condWheel(showArt=showArt); translate([0,0,4])hand(2); translate([0,0,6])hand(8); } module trapPrintable(){ hand(); tra...
glb/cad_e07afcca1a2c.glb
Create a funnel consisting of a wide conical section and a narrow cylindrical neck. First, construct the conical body with a height of 50mm, a bottom radius of 45mm, and a top radius of 9.5mm. Hollow out this cone by removing a smaller concentric cone with a height of 50mm, a bottom radius of 43mm, and a top radius of ...
$fn=150; wallthickness = 2; funnelinsertheight = 30; funnelinsterradius = 19/2; funneltopwidth = 90/2; funneltopheight = 50; difference(){ cylinder(h=funnelinsertheight, r=funnelinsterradius, center=true); cylinder(h=funnelinsertheight, r=funnelinsterradius-wallthickness, center=true); } translate([0,0,-fun...
glb/cad_48054beac2aa.glb
Create a standee display consisting of three tiered rectangular steps. Each tier has a width of 100mm. The first tier is a rectangular block 100mm wide, 19mm deep, and 10mm high. Cut a slot into the top of this block that is 100mm wide, 3mm deep, and 3mm thick, positioned 3mm from the front edge. The second tier is a ...
Steps=3; Step_Height=20; Step_depth=10; First_Height=10; Standee_Thickness=3; Slot_Depth=3; Display_Width=100; for(step = [0:Steps-1]) { translate([0,step*(Standee_Thickness*3+Step_depth),0]) { difference() { cube([Display_Width, Standee_Thickness*3+Step_depth, First_Height+step*Step_Heig...
glb/cad_1ff36a06e19c.glb
Create a standee display consisting of six tiered steps. Each step is a rectangular block with a width of 220mm. The height of the steps increases incrementally, starting with the first step at 10mm and each subsequent step increasing by 40mm in height. The depth of each step is 19mm, which is calculated as four times ...
Steps=6; Step_Height=40; Step_depth=10; First_Height=10; Standee_Thickness=[3.0, 3.0, 3.0, 3.0, 3.0, 3.0]; Slot_Depth=3; Display_Width=220; for(step = [0:Steps-1]) { translate([0,step*(Standee_Thickness[step]*3+Step_depth),0]) { difference() { cube([Display_Width, Standee_Thickness[step]*...
glb/cad_93de5691530e.glb
Create a toothbrush cup consisting of a cylindrical base and a faceted upper body. Start by creating a solid cylinder for the base with a radius of 26.5mm and a height of 22mm. On top of this base, construct a faceted vessel with a total height of 75mm. This upper section should be an 8-sided polygonal prism that twi...
top_height = 75; top_radius = 39; top_edges = 8; top_levels = 6; bottom_height = 22; bottom_radius = 26.5; bottom_thickness = 5; wall_thickness = 3; difference() { union() { translate([0, 0, bottom_height]) { top(); } translate([0,0,bottom_height/2]) cylinder(r=bottom_radius, h=bottom_...
glb/cad_c7d7ffd63f1e.glb
Create a pin for a Mini Filament Spool Swatches Box. Start with a cylindrical base 6mm in diameter and 2mm in height. From the top of this base, extend a narrower cylinder with a diameter of 2.8mm and a height of 31mm. At the top of this inner cylinder, add a hook section that is 1mm high, tapering from a diameter of 1...
baseDiam = 6; innerDiam = 2.8; baseHeight = 2; innerHeight = 31; hookDiam = innerDiam + .5; hookHeight = 1; innerWidth = 1; chamferAngle = 45; pinWidth = 1; doubleSided = "no"; module pinSection(diam, height, trans){ translate([0,0,trans]) linear_extrude(height = height, center = false, convexity ...
glb/cad_ed5ffb023293.glb
Create a throttle control handle with a total height of 4.8mm. Start with a central cylindrical ring that has an outer diameter of 68.5mm and an inner hole diameter of 17mm. Within this ring, create a 14-sided polygonal inner cylinder with a diameter of 67mm and a height of 3.2mm, centered on the same axis. Around the...
module handle() { axe_hole= 17; axe_heigth=4.8; axe_width=2.3; inner_cyl=55; inner_cyl_offset=1.6; inner_cyl_heigth=axe_heigth-inner_cyl_offset; outer_cyl=67; outer_cyl_width=1.5; outer_cyl_heigth=4.8; handle_width=10; handle_length=70; handle_angle=5; tooth_length...
glb/cad_e85f4760ccc9.glb
Create a Dragon base by constructing a solid geometric block with rounded edges. Start with a base shape defined by a polyhedron with vertices at coordinates [±6.35, ±12.7, 2.3875] and [±6.35, ±12.7, 19.6875], then apply a Minkowski sum with a sphere of radius 2.3875mm to round all edges and corners. From the top cente...
h=11/16; t=1/8; f=3/4; r=3/32; points=[[-1/2,-1/2,r],[-1/2,1,r], [1,1,r],[1,-1/2,r], [-1/2,-1/2,h+t-r],[1/2,-1/2,h+t-r], [1/2,1/2,h+t-r],[-1/2,1/2,h+t-r]]; faces=[[3,2,1,0],[7,6,5,4],[7,4,0,1],[6,7,1,2],[5,6,2,3],[4,5,3,0]]; scale([25.4,25.4,25.4]) { difference() { minkowski() { polyhedron(points,f...
glb/cad_e1660242c150.glb
Create a rack for Zenka glasses clips. Start with a rectangular base 210mm long, 137mm wide, and 2mm thick. On each long edge of the base, build a side wall 4mm thick and 8.61mm high, running the full 210mm length. Along these side walls, create a series of 10 support blocks. Each block is 21mm long and 4mm thick, til...
$fs = $preview ? 1 : .2; $fa = $preview ? 3 : 2; epsilon = 0.01; numberclips = 10; clipwidth = 133; clipgap = 21; pindiam = 1.4; incline = 27; basethick = 2; sidethick = 4; hangerwidth = 15; sidelong = numberclips * clipgap; sideheight = clipgap*0.41; blockheight = sideheight*1.5; blocklong = clipgap; basewidth = cli...
glb/cad_923533d98cfb.glb
Create a Teacher Hall Pass consisting of a rectangular base with rounded corners and a raised border. The main body is a rounded rectangle measuring 166mm by 76mm with a base height of 4mm and a corner radius of 5mm. A raised border 3mm wide and 2mm high runs along the perimeter, creating a recessed central area of 160...
internalLength = 160; internalWidth = 70; borderWidth = 3; baseHeight = 4; raisedHeight = 2; octogonWidth = 20; circleDiameter = 14; extensionOverlap = 2; cornerRounding = 5; font = "Liberation Serif"; textLines = 2; lineSpacing = 5; lineOneText = "Teacher"; lineOneSize = 24; lineOneKerning = 1; lineTwoT...
glb/cad_e9d673990e7b.glb
Create a protective soft case for an Energizer E280S phone. The main body is a hollow shell with a wall thickness of 3mm. The outer dimensions are approximately 135.5mm in length, 57mm in width, and 11.9mm in height, featuring rounded corners with a radius of 8mm. The case should wrap around the device, with the back ...
use <dotSCAD/bezier_curve.scad> use <dotSCAD/sweep.scad> $fn = 36; t_step = 1/$fn; l0 = 135.5; w0 = 57; h0 = 11.9; h1 = 5.75; h0_cut = 11.85; h1_cut = .05; R0 = 8; thickness = 3; flat_steps = 160; faceplate_width = 52.6; faceplate_length = 130.4; faceplate_radius = 8; usb_width = 11; usb_height = 9; usb_offset...
glb/cad_e48fb537e6e5.glb
Create a hollow cylindrical core for a WiFi Controlled Desk Lamp. Start by creating a solid cylinder with a diameter of 9mm and a height of 20mm. Centered vertically and horizontally within this volume, remove a smaller concentric cylinder with a diameter of 3.5mm and a height of 30mm to create a through-hole. Ensure t...
difference(){ cylinder(h=20,d=9, center=true, $fn=50); cylinder(h=30,d=3.5, center=true, $fn=30); }
glb/cad_967eab57e781.glb
Create a MIDI2Neopixel case button by combining two concentric cylinders and removing a central core. First, create a base cylinder with a diameter of 8mm and a height of 6.2mm, centered vertically at 3.1mm. On top of this, add a second cylinder with a diameter of 6mm and a height of 10mm, centered vertically at 5mm. F...
difference(){ union(){ translate([0,0,3.1]) cylinder(h=6.2,d=8, center=true, $fn=40); translate([0,0,5]) cylinder(h=10,d=6, center=true, $fn=40); } translate([0,0,2]) cylinder(h=4,d=3.8, center=true, $fn=30); }
glb/cad_b75a15b40df3.glb
Create a Simple RC Buggy body and chassis. The main structure is a hollowed-out shell with a total length of 112mm and a width of 72mm. The body is formed by two primary cylindrical sections, each 49mm in diameter and 72mm in height, positioned at opposite ends of the chassis. These cylinders are modified by removing a...
$fn=100; module outline(d=47.,l=70.) { difference() { union(){ circle(d=d); translate([l,0.,0.]) circle(d=d); translate([0.,-5.,0.]) square([l,d/2.+5.]); translate([l/2.,15,0.]) circle(d=l); } translate([-d/2.,-2*d,0.]) square([d+l,2*d]); } } *outline(); module panel (d=47.,l=70.) { difference(){ tran...
glb/cad_ecbc6dde474e.glb
Create a simple RC buggy chassis and body. Start with a base chassis plate 50mm wide, 124mm long, and 2mm thick. Centered on this plate, add a raised rectangular section 44mm wide and 117mm long with a height of 8mm. Within this raised section, create a hollow interior by removing a central volume 42mm wide and 115mm l...
module outline(l=124.,w=50.,h=2.,l2=25,w2=72) { union(){ cube([w,l,h]); translate([-1*(w2-w)/2.,(l-l2)/2,0]) cube([w2,l2,h]); } } difference() { union(){ translate([0.5,-0.5,0]) outline(); translate([0.,0,0]) difference() { translate([(124-117)/2.,(50.-44.)/2.,2]) outline(l=117,w...
glb/cad_0628920d5553.glb
Create a Hex Nut Organizer by starting with a rectangular base measuring 98mm x 80mm x 9.9mm, with all corners rounded to a 2mm radius. Carve 12 circular holes into the base, each 9mm deep and starting 1mm from the bottom surface. These holes are positioned at [10, 20], [23, 20], [36, 20], [49, 20], [62, 20], [75, 20...
nutHoles = [ [[10, 20], 12.25, "4.0"], [[23, 20], 12.25, "4.5"], [[36, 20], 12.25, "5.0"], [[49, 20], 12.25, "5.5"], [[62, 20], 12.25, "6"], [[75, 20], 12.25, "7"], [[88, 20], 12.25, "8"], [[10, 45], 13.75, "9"], [[27, 45], 14.5, "10"], [[46, 45], 16.5, "11"], [[66, 45], 16.5...
glb/cad_0084dab500c5.glb
Create a Hanging MMU2S Spool Holder consisting of three main components: a main arm, a roller, and a cap. First, construct the main arm. Create a rectangular block 110mm long, 20mm wide, and 15mm high. At one end, integrate a cylindrical peg with a 5.7mm radius and a height of 20mm, tilted at a 2-degree angle. Through...
$fs = 0.01; $fa = 1; holediameter = 8.2; pegdiameter = 5.7; bearingdiameter = 22.08; cappegdiameter = 5.75; translate([-50,0,0])testpiece(); spoolroller2(); rotate(180,[0,1,0])translate([0,0,-108])spoolcap(); translate([0,0,-2])spoolarm(); module testpiece(){ union(){ rotate(1.7,[0,1,0])transla...
glb/cad_9e1561f95b0b.glb
Create a Lego Minifigure Mount by starting with a solid rectangular block measuring 36mm in length, 6mm in width, and 7.25mm in height. From this block, remove a smaller rectangular section measuring 34.4mm by 6mm by 3.4mm, positioned 0.8mm from the front face, to create a recessed base. Within this recessed area, re...
$fn=100; module base(){ difference(){ cube([32,20,3.25]); translate([1.5,1.5,0]) cube([29,17,2.3]); } }; module individualmount(){ difference(){ cube([36,4,7.25]); translate([1.2,0,2]) cube([33.6,4,3.4]); translate([1.2,.08,3.651]) rotate([3...
glb/cad_2d55eaaaaf97.glb
Create a Gottlieb System 3 Pinball Opto Cover. Start by constructing a main outer shell using a convex hull that connects four 12mm diameter spheres positioned at the corners of a rectangle: two at (6, 6, 31.75) and (6, 23.7, 31.75), and two at (63.5, 6, 31.75) and (63.5, 23.7, 31.75). Integrate four 12mm diameter cyli...
$fn=100; module outershell(){ hull(){ translate([6,6,31.75]) sphere(d=12); translate([6,23.7,31.75]) sphere(d=12); translate([63.5,6,31.75]) sphere(d=12); translate([63.5,23.7,31.75]) sphere(d=12); translate([4,5.55,0]) cylinder(d=12,...
glb/cad_7a016e07ee48.glb
Create a WPC95 Pinball Speaker Adapter consisting of a circular ring and a flat base. Start with a main cylindrical ring that has an outer diameter of 128.8mm and an inner diameter of 125.8mm, with a total height of 15.35mm. At the bottom of this ring, attach a flat circular base with a thickness of 2.65mm and a diamet...
$fn=100; module CornerHoles(rotation){ rotate([0,0,rotation]) translate([-61.75,-61.75,0]) { cylinder(d=16,h=2.65,center=false); translate([-8,-8,0]) cube([8,16,2.65]); translate([-8,-8,0]) cube([16,8,2.65]); translate([-3.5,17,0]){ cylinder(d=8,h...
glb/cad_7bd51c7e0476.glb
Create a Chexx Player Removal Assistant by starting with a cylinder 100mm in diameter and 1mm in height. Attach a rectangular block to the bottom of this cylinder, measuring 96mm in width, 7.5mm in depth, and 5.4mm in height, centered so that it extends 48mm from the center in both directions along the width. From this...
$fn=100; module washersupport(){ difference(){ union(){ cylinder(d=100,h=1,center=false); translate([-48, -3.75,-5.4]) cube([96,7.5,5.4]); } translate([-3.25, -3.8,-6]) rotate([0,0,0]) cube([6.5,7.6,10]); translate([0, -50,-6]) ...
glb/cad_534ceced5b80.glb
Create a pinball flipper button housing. Start with a main cylindrical body that has a base diameter of 29mm and a height of 20.8mm. On top of this body, add a second cylinder with a diameter of 26.5mm and a height of 4mm. Create a central vertical hole through the entire assembly with a diameter of 22.9mm and a heig...
$fn=100; NoSupport=false; module housing(wahserrecess = false) { difference() { union(){ translate([0,0,20.8]) cylinder(d=26.5,h=4,center=false); cylinder(d1=29,d2=29.8,h=20.8,center=false); hull(){ translate([23.25,0,0]) ...
glb/cad_6b1862dae4fb.glb
Create a Pinball Flipper Button assembly consisting of four separate components: a housing, a button insert, a retaining nut, and a retaining washer. First, create the housing. The main body is a revolved profile with a circular top and a flat base. It features a central vertical hole 8.85mm in diameter and a larger i...
$fn=100; use <C:/3d Models/quickthread.scad> module housingbody() { rotate_extrude(angle = 360, convexity = 2) { translate([11.95,2.5,0]) { translate([-.4,0,0]) circle(d=5); translate([-10,-2.5,0]) square([9.6,5]); translate([-2.5,0,0...
glb/cad_2ae652427939.glb
Create a Pin2DMD LED Display frame. Start with a main rectangular base measuring 380mm by 130mm with a thickness of 4mm. Cut a large central rectangular opening from this base, leaving a border of 15mm around the edges. Within this frame, create a center support structure by adding two vertical walls, each 1.2mm thic...
$fn=50; module mountingholes(){ color("blue"){ translate([335,32.5,-1]) cylinder(h=9,d=4,center=false); translate([260,32.5,-1]) cylinder(h=9,d=4,center=false); translate([210,32.5,-1]) cylinder(h=9,d=4,center=false); translate([335,97.5,-1]) cylinder(h=9,d=4,center=false); ...
glb/cad_653912f0dda5.glb
Create a Quadrant tool consisting of two parts: a quadrant body and an index arm. For the quadrant body, create a wedge with a radius of 100mm and a thickness of 3mm. Subtract a smaller concentric wedge with a radius of 73mm to create a curved bed for markings. In the center of the straight edge, create a cylindrical ...
$fa = 1; $fs = 0.5; part_to_make = "quadrant"; version_text = "v9"; quadrant_width = 100; quadrant_frame_width = 3; quadrant_thickness = 3; cutout_inset = 12; markings_bed_width = 27; markings_bed_depth = 1; emboss_height = 0.4; markings_10d_length = 17; markings_5d_length = 8; markings_1d_length = 3; axle...
glb/cad_0e1c8008c822.glb
Create a Tape Cartridge designed to hold a roll of tape. The main body is a symmetrical, hollowed-out cradle. Start by creating a central cylindrical void to accommodate the tape roll, which has an inner diameter of 77mm, an outer diameter of 95mm, and a depth of 25.2mm. The walls of the cartridge should have a thick...
TapeInner = 77; TapeOuter= 95; TapeDepth = 25.2; Clearance = 0.5; SpringLengthRatio = 1; SpringArcRatio = 1; CowlThicknessRatio = 1; OuterExtension = 0; $fn=40; Overlap = 0.01; LayerHeight = 0.2; Scale = 1; TapeInnerAdj = TapeInner/2 * Scale; TapeOuterAdj = TapeOuter/2 * Scale; TapeDepthAdj = TapeDepth * Scale; Ta...
glb/cad_10693dbe1ac5.glb
Create a NASCII NKH 50 headphone driver mount. Start by creating a main cylindrical body with an outer diameter of 49.9mm and a height of 5.6mm, centered on the origin. Remove a concentric inner cylinder with a diameter of 40mm and a height of 6.6mm to create a hollow ring. Add a clamping ring to the inner diameter by...
$fn = 256; D1 = 40; D2 = 49.9; Z = 5; CLAMP = 1.3; CLAMP_Z = 0.6; PCB = 18; WALL = .88; PATTERN = "cylinder"; HOLES = 10; DIAMETER = 10; ROTATE = 30; ALIGN = 1; DEBUG = false; CUT = "x"; module driver( d1 = 40, d2 ...
glb/cad_79aa595fd94a.glb
Create a NASCII NKH 50 headphone component. Start with a central rectangular slab measuring 270mm in length, 13mm in width, and 1.6mm in height, centered on the origin. Merge this slab with a flattened cylinder that has a diameter of 230mm, a height of 1.6mm, and is also centered on the origin, creating a wide, thin, o...
$fn=100; x = 270; y = 13; z = 1.6; screw = 2.9; washer = 9; t = 15; difference(){ union(){ difference(){ union(){ scale([1,.15,1]) cylinder( z, d=x-40, center = true); cube([x,y,z], center=true); translate([x/2, 0, -z/2]) cylinder( z + 2, d=t ); mirror([1,0,0]) ...
glb/cad_8360b2a5809f.glb
Create a NASCII NKH 50 headphone assembly consisting of a pad, a body, and a fork. Start with the pad: create a cylinder with a diameter of 105mm and a height of 2.6mm. Hollow out the center with a cylinder of 92.16mm diameter. Add a threaded ring at the base with an outer diameter of 58.1mm and a pitch of 3.3mm. On ...
use <threads.scad>; use <smooth_prim.scad>; use <af-basics.scad>; $fn=256; debug = true; cdebug = false; cut = "x"; layer = 0.2; line_with = 0.44; driver = 50.05; pad = 105; wall = line_with*4; body_thread = 10; body_grill = 2; body_bottom = 9; pad_holde...
glb/cad_4cde4a055556.glb
Create a wall-mounted remote holder consisting of a main box with two open-top compartments. The overall outer dimensions of the box are 202.8mm wide, 37.6mm deep, and 101.6mm high. The walls are 1.6mm thick. Each of the two internal compartments measures 65mm wide by 33mm deep and 100mm high. On the left and right si...
$fn=60; lip_size = 15; overhang_angle=30; screw_small_d = 4.1; screw_large_d = 8.2; screw_head_length = 4; screw_small_d_length = 2; screw_large_d_length = 6; lip_thickness = screw_small_d_length + screw_head_length + screw_large_d_length; remote_size = [65, 33, 100]; wall_thickness = 1.6; box_size = [3*wall_thickne...
glb/cad_d287f072c2fb.glb
Create a dog tag in the shape of a bone. Start with a central rectangular plate measuring 40mm wide by 20mm high and 5mm thick. At each of the four corners of this rectangle, add a protruding semi-circular bump with a radius of 7.5mm, centered 7mm from the top and bottom edges, to create the characteristic bone ends. ...
tag_width = 40; tag_height = 20; dog_name = "Doggy"; dog_name_font = "Liberation Sans"; dog_name_font_size = 10; phone_number = "555-555-5555"; phone_number_font = "Liberation Sans"; phone_number_font_size = 5; module __Customizer_Limit__() {} vertical_scale = tag_height / 20; difference() { union() { l...
glb/cad_aff73399e629.glb
Create a "Today Is Canceled Go Back To Bed" sign. Start by constructing a rectangular base plate measuring 116mm by 86mm with a thickness of 3mm and rounded corners. Hollow out the center of this plate by removing a smaller rounded rectangle measuring 114mm by 84mm with a thickness of 0.5mm, leaving a thin outer border...
include<./openscad/roundedcube.scad>; fnt="Liberation Sans:style=Bold"; x=116; y=86; color("Orange")difference(){ translate([0,0,2.5])roundedcube([x,y,0.5],false,1,"z"); translate([1,1,2.5])roundedcube([(x-2),(y-2),0.5],false,1,"z"); } color("Black") roundedcube([x,y,3],false,1,"z"); color("Orange")unio...
glb/cad_c2e4a0e73d85.glb
Create a hollow medical model of an aortic arch. Start by constructing a U-shaped tube with an outer diameter of 35mm and an inner diameter of 30mm. The curved section is a semi-circle with a radius of 35mm, connected to two straight cylindrical arms, each 100mm long, extending from the ends of the arc. Along the top...
$fn=100; module aortaOutside(){ eps = 0.01; translate([eps, 0, 0]) rotate_extrude(angle=180, convexity=10) translate([35, 0]) circle(d=35); translate([-35,0,0])rotate([90,0,0])cylinder(100,d=35); translate([35,0,0])rotate([90,0,0])cylinder(100,d=35); rotate([0,0,70])translate([35+17.5-10,0,0])rotate([0,90,0]...
glb/cad_6a3c6d3733f8.glb
Create a Citroen C3 III center mirror fix consisting of a small, rounded rectangular block. Start with a base rectangular slab measuring 24mm in width, 12mm in depth, and 3mm in height. Apply a 1mm fillet to the vertical edges and a 2mm fillet to the bottom horizontal edges. On top of this base, center a second rect...
$fn= $preview ? 16:64; x1=18.5+0.5; x2=19.5+0.5; y=3+0.5; z1=3; z2=10; xw=0.6; yw=6; cut=0; wall=3; f=1; f2=2; inf=100; not=0.001; d(){ u(){ cubeRounded([x1+2*wall,y+yw,z1],center=[1,1,0],r=[f,f,f2]); cubeRounded([x1,y+yw,z1+z2],center=[1,1,0],r=[f,f,f2]); } hull() { t([0,0,-not]) cubeRounded([x1,y,not],...
glb/cad_de7414105ee8.glb
Create a Team Meeting Sign consisting of a thin rectangular base with raised 3D text. Start by creating a rectangular plate measuring 150mm by 100mm with a thickness of 3mm and slightly rounded corners. Hollow out the center of this plate by removing a rectangular section measuring 148mm by 98mm with a thickness of 0.5...
include<./openscad/roundedcube.scad>; color("Orange")difference(){ translate([0,0,2.5])roundedcube([150,100,0.5],false,1,"z"); translate([1,1,2.5])roundedcube([148,98,0.5],false,1,"z"); } color("Black") roundedcube([150,100,3],false,1,"z"); color("Orange")union(){ translate([22,80,0])linear_extrude(3.5)te...
glb/cad_df3256ce5ce0.glb
Create a Starlink cable cover consisting of a central rectangular block with two thin circular discs attached to its ends. Start by creating a rectangular prism that is 75mm long, 7.3mm wide, and 4mm high. At each end of this prism, center a cylinder with a diameter of 12mm and a height of 0.3mm. The cylinders should b...
cube([75,7.3,4]); translate([0,4,0]) cylinder(h=0.3,d=12); translate([75,4,0]) cylinder(h=0.3,d=12);
glb/cad_f6267bcafbb1.glb
Create a Starlink cable cover designed as a protective shield for a cable. Start by creating a main vertical cylinder with a height of 50mm and a diameter of 10mm, using 24 facets. At the top of this cylinder, add a smaller cylindrical cap with a height of 8mm and a diameter of 8mm. Hollow out the center of the entir...
height = 50; diameter = 10; difference() { union() { cylinder(h=height, d=diameter, $fn= 24); translate([0,0,height]) difference() { cylinder(h=8, d=diameter-2, $fn= 36); translate([0,0,0]) cylinder(h=9, d=diameter-3.3, $fn= 36); } translate([-5,-40,0]) cube([14,80,height]); } cylinder(h=heigh...
glb/cad_42fcfc4e64bb.glb
Create a Reolink Doorbell Camera Adapter with a thickness of 10mm. Start by constructing the main body as a hull encompassing two cylinders, each 48mm in diameter, positioned 43mm apart along the Y-axis (centered at Y= -21.5 and Y= 21.5). From this body, remove a central oval void created by the hull of two 32mm diamet...
mnt_hole_dia = 4; mnt_hole_sp = 104; plate_hole_dia = 1.75; plate_hole_sp = 75; reo_w = 48; reo_h = 133; ch_w = 32; ch_h = 65; mnt_t = 10; $fn=40; mld_pnts = [[-25,0],[-25,12], [-22.6,12], [-20.2,12], [-17.8,12], [-15.4,12], [-13,12], [-10.6,...
glb/cad_f19d5ee2ae7f.glb
Create a Litter Robot 3 hole cap consisting of a shallow cylindrical plug with a concentric rim. Start by creating a main outer cylinder with a diameter of 35.4mm and a total height of 4.75mm. From the top of this cylinder, remove a central cylindrical core with a diameter of 29.4mm, leaving a wall thickness of 3mm. Th...
$fa = 2; $fs = 0.1; hole_outer_diameter = 29; hole_wall_thickness = 2.8; interface_offset = 0.2; plug_wall_thickness = 1.75; plug_depth = 3; epsilon = 0.1; difference(){ cylinder( h=plug_depth+plug_wall_thickness+interface_offset, d=hole_outer_diameter+plug_wall_thickness*2+interface_offset*2...
glb/cad_c85e7dbebc4e.glb
Create a pole connector for a solar torch pathway light. Start with a main cylinder 19mm in diameter and 30mm in height. Add a thin lip at the top of this cylinder that is 0.2mm high and 21mm in diameter. Hollow out the center of the cylinder to create a tube with a wall thickness of 2.5mm. The interior bore should b...
$fa=1; $fs=0.5; connector_diameter=19; connector_length=30; lip_height=0.2; lip_width=1; wall_thickness=2.5; key_diameter=2.5; key_length=2; key_position=6; screw_diameter=4.5; top_thickness=5; arch_angle=33; function arch_height(angle) = tan(angle)*(connector_diameter-(wall_thickness*2)-screw_diameter)/2...
glb/cad_cf75c4556ead.glb
Create a rectangular nameplate with a total width of 105mm, height of 60mm, and a base thickness of 6mm. The plate should have rounded outer corners with a radius of 8mm. Carve a recessed area into the top surface to create a raised border (frame) with a width of 2mm. This recessed area should also follow the 8mm cor...
Breite = 105; Hoehe = 60; Dicke = 6; Schrifthoehe = 2; Eckenradius = 8; Randbreite = 2; Befestigung = 3; Nietmaterial = 1.5; Nietkopf = 8; Loch = 4; Fase = 1; Name = "Name"; fontsize = 14; $fn = 50; Eckenhoehe = Hoehe - 2 * Eckenradius; Eckenbreite = Breite - 2 * Eckenradius; difference() { difference() { ...
glb/cad_d9bb672e1ba7.glb