Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a rectangular plaque with rounded corners, measuring 80mm wide, 40mm high, and 4mm thick. The corners should have a radius of 5mm. On the top surface of the plaque, create embossed text that reads "So Tasty....." using a bold sans-serif font with a height of 10mm. Position the text so that "So" is on the first ...
text_size = 10; text_font = "DejaVu Sans:style=bold"; Plaques = [ ["So", text_size], ["Tasty.....", text_size] ]; plt_wd = 80.0; plt_ht = 40.0; plt_th = 4.0; plt_rad = 5.0; BotRow = 13; RowHght = text_size + 2.2; pos = [for( i=[0:len(Plaques)-1 ])([-35.0, (BotRow - (...
glb/cad_d6a69e3507b7.glb
Create a NEMA17 stepper motor adaptor plate as a rectangular slab with a thickness of 6mm, a width of 51mm, and a length of 71mm. Center the slab on the origin. Subtract a central oval cutout from the slab to accommodate the motor shaft collar; this cutout is formed by two circles with a radius of 11.25mm, spaced 8mm ...
adap_base_thick=6; screw_rad=3.3/2; delta_screw_rad=4.2/2; stage_screw_sep=34.5; nema_screw_sep=31; nema_collar_rad=22.5/2; adap_mount_to_nema=32; adap_base_width=nema_screw_sep+20; edge_inset=9; adap_base_length=nema_screw_sep+adap_mount_to_nema+edge_inset; big=50; module screw_slot(slen,rad) { translate([0,sle...
glb/cad_b2101b9544bb.glb
Create a Photograph Scale measurement tool consisting of a flat ruler body and a supporting base. The main body is a flat plate 5mm thick. It features two measurement scales: a metric side and an imperial side. On the metric side, create a series of small protruding tabs 20mm long and 1.6mm in radius, with larger tab...
function is_whole_number(n) = n == floor(n); conversion_denominator = 25.4; linear_extrude(5) rotate([0,0,-45]) union(){ translate([-20,40,0]) difference() { square([40,340]); translate([20-5/2,0,0]) square([5.25,30]); } color("orange") rotate([0,0,180]) translate([-5...
glb/cad_94d366a69860.glb
Create a Gotek frame for an external floppy drive case. Start with a main rectangular body measuring 122.5mm in width, 101.5mm in depth, and 24.85mm in height, with a wall thickness of 2mm and rounded corners of 3mm. Hollow out the center to leave a shell. On the front face, create a beveled window for an OLED display...
include <rcube.scad> rotary_hole = 0; third_button = 0; second_led = 0; display_bevel = 35; width = 122.5; depth = 101.5; height = 24.85; thick = 2; facethick = 2.7; overlapheight = 2; halfheight = 13.4; windowfromleft = 8.34 + 4.4; windowwidth = 25; windowfrombot = 8.33; windowheight = 9; displaywidth = 38.2; ...
glb/cad_e5854882c813.glb
Create a Plustek OpticFilm holder for 110 film consisting of a base and a cover. For the base, create a rounded rectangular block 77.4mm long, 62mm wide, and 5.75mm high with 2mm corner radii. Carve a central rectangular channel 67.4mm long and 16mm wide into the top surface, with a depth of 2.75mm. Within this chann...
filmHeight = 16; frameWidth = 20; frameHeight = 16; frameDistance = 25.4; numberOfWindows = 6; filmThickness = 0.75; height = 5.75; innerHeight = 3; minkRadius = 2; totalWidth = 62; windowLength = frameWidth; windowOffset = 5; windowGap = 0.4; notchSize = 5; notchHeight = height; coverFrameSizeX = 15; coverFr...
glb/cad_1f81481b0655.glb
Create a Falcon Seed Planter consisting of a hexagonal base and a central cylindrical tube. Start by creating a hexagonal prism with a diameter of 27mm and a height of 12mm. Hollow out the center of this hexagon with a cylinder of 20mm diameter and 12mm height, but modify the interior wall to follow a helical screw thr...
use <guided_extrude.scad>; length=12; D=20; P=3; ND=27; H=sqrt(3)/2 * P; R=H/(P/2); ppr=97; ww=1.5; msw=1; mss=2; ahd=4; exl=40; mhd=10; loops=length/P; xw=0.2; sigma=0.01; tid=13.5; trapezoidShape = [ [-H/2+xw+0.1*R,-P/2+0.1], [1/4*H+xw,-P/8], [1/4*H+xw,P/8], [-H/2+xw+0.1*R,P/2-0.1] ]; helicalPa...
glb/cad_b3600e6880d7.glb
Create a Slimbox keycap by starting with a main cylinder that has a diameter of 24mm and a height of 3.36mm. Apply a rounding radius of 0.48mm to both the top and bottom edges of this cylinder. Hollow out the center of the cylinder to create a cap with a wall thickness of 1.28mm, ensuring the inner cavity begins 0.96mm...
include <BOSL2/std.scad> $fn=128; button_size = 24; button_height = 3.36; insert_height = 5; EDGE_THICKNESS = 1.28; CAP_THICKNESS = 0.96; BOTTOM_ROUNDING = 0.48; TOP_ROUNDING = 0.48; INSERT_LENGTH = 2.9; INSERT_WIDTH = 1.16; INSERT_SPACING = 5.7; INSERT_INDENT_WIDTH = INSERT_WIDTH/3; INSERT_INDENT_LENGTH = INSERT_LE...
glb/cad_2d4b413e62c6.glb
Create a Low T Packet Box consisting of a main rectangular container and a separate lid. For the main container, build a hollow rectangular prism with outer dimensions of 110mm length, 59mm width, and 100mm height, using a wall thickness of 1.5mm. The bottom of this container should be a solid base 15mm thick, featurin...
in_w = 56; in_l = 107; in_h= 100; wall = 1.5; slot_h_max = 10; slot_h_min = 5; layer_h = .2; edge_h = 3; base_h = 15; cutout_r = 10; in_lid_w = 56+2*wall+.2; in_lid_l = 107+2*wall+.2; in_lid_h= 5; wall_lid = wall; module testo_lid() { render() difference() { cube([in_lid_l+2*wall_lid,in_lid_w+2*wall...
glb/cad_b052281459c5.glb
Create a Neopixel Clock Case consisting of a main housing and a cover. For the main housing, create a hollow cylinder with an outer diameter of 85mm, a height of 40mm, and a wall thickness of 1.5mm. At the base, integrate a tripod-like support by adding a three-sided prism centered with the cylinder. On the front fac...
$fn=120; wall_h = 1.5; clock_depth = 40; clock_d = 85; clock_r = clock_d/2; clock_cover_depth = 5; clock_cover_lip = 2; clock_base_depth = clock_depth*.75; slop= .3; disp_l = 30.1; disp_w = 14.13; disp_h = 7.09; disp_post_r = 2/2; disp_post_stop_r = 3/2; disp_post_horz_d = 37.85; disp_post_vert_d = 19.5; disp_post_fro...
glb/cad_c9efb7191c8b.glb
Create a button generator by starting with a main cylindrical body 28mm in diameter and 5mm in height, using a 32-facet resolution to ensure a smooth circular profile. On the top face of the button, create a concentric circular inset with a diameter of 21mm and a depth of 1mm. Pierce the entire body with four evenly ...
body_fragment_count = 32; diameter = 28; height = 5; hole_count = 4; hole_diameter = 3; hole_fn = 17; hole_distance_from_center = 6; inset_diameter = 21; inset_height = 1; assert(diameter > (hole_diameter / 2 + hole_distance_from_center) * 2); difference() { hull() { rotate_extrude($fn = body_fra...
glb/cad_fa0c2214d88a.glb
Create a dew shield for a SeeStar 50 telescope. Start by constructing a large outer cylinder with a height of 50mm and a radius of 29.25mm. Inside this outer cylinder, remove a concentric cylinder with a radius of 23.75mm and a height of 60mm to create a hollow tube. At the top of this structure, add a transition ring ...
od=50.5; tabth=1.5; thi=1.5; th=3; h=7.0+tabth; h1=2; h2=14; dh=50; dor=od/2+4; $fn=180; module insert(){ difference(){ cylinder(h=h, r=od/2); cylinder(h=h, r=od/2-thi); translate([-od-1,0,-1]) cube([2*od+10, 2,h+2]); translate([0,-od-1,-1]) cube([2,2*od+10,h+2]); ...
glb/cad_3b6f59301b37.glb
Create a diffuser mount for lighting fixtures consisting of a thin, curved base with integrated mounting clips. The main body is a flat plate with a thickness of 2mm. Construct a primary mounting hook by creating a circular base with a diameter of 21.8mm and a height of 2mm. From this base, extend a rectangular secti...
N=0.6; function n(x) = round(x/N)*N; L=0.35; function l(x) = round(x/L)*L; E=0.1; E2=E/2; CenterTopDistance = 30.2+6/2; WasherDiameter = 21.8; Wall = n(5); Top = l(2); HookHeight = WasherDiameter+Wall*2; SheetOffset = 35; Height = CenterTopDistance + SheetOffset; HookInnerDiameter = WasherDiameter-n(0.8); ClipSize=3;...
glb/cad_7797baab9cb4.glb
Create a solar film filter holder consisting of a wide base and a concentric raised ring. Start by creating a flat circular base with a radius of 29mm and a thickness of 1.5mm. On the edge of this base, add a small circular tab with a radius of 8mm, centered 29mm from the middle of the base. Construct a raised ring c...
od=50; or=od/2; th=1.5; th1=2; h=6+th; tabr=8; $fn=180; module base(){ difference(){ union(){ cylinder(h=th,r=or+4); cylinder(h=h,r=or); translate([or+4,0,0]) cylinder(h=th,r=tabr); } cylinder(h=9,r=or-th-th); translate([0,0,th]) ...
glb/cad_44cd84cd4182.glb
Create a solar film filter holder consisting of a hollow cylindrical base and an integrated mounting ring. Start by creating a main cylinder with an outer diameter of 50.5mm and a total height of 6mm. At the bottom of this cylinder, add a wider, thin circular base plate with a radius of 29.5mm and a height of 3mm. Cent...
od=50.5; tabth=1.5; thi=1.5; th=3; h=7.0+tabth; h1=2; h2=14; dh=50; dor=od/2+4; ths=2; $fn=180; module solarinsert(){ difference(){ union(){ translate([0,0,6+3]) cylinder(h=7,r=od/2-.5); translate([0,0,6]) cylinder(h=3,r=od/2+8); cylinder(h=6,r=od/2); rotate...
glb/cad_d8c0694559d1.glb
Create a needle threader consisting of a circular handle and a thin, flat eye. Start by creating a circular handle with a diameter of 12mm and a height of 1.5mm. Remove a concentric cylindrical core from the center of the handle, starting 1mm from the base, with a diameter of 9.6mm and a height of 0.5mm, leaving a thin...
SIZE=0.4; EYE_HEIGHT=0.3; HANDLE_HEIGHT=1.5; HANDLE_SIZE=12; EYE_POINTS = [ [-1,0.5], [5,1.5], [12,0] ]; function mirror_y(v) = concat(v,[for(i=[len(v) - 1 - (len(v) % 2):-1:0]) [v[i].x,-v[i].y]]); function shrink_p(p, p1, p2) = let (v1=p1-p,v2=p2-p,c=(v1*v2)/norm(v1)/norm(v2),v1_=v1/norm(v1),v2_=v2/norm(v2)) le...
glb/cad_b8dfb700014e.glb
Create a Deck Holder designed to hold a standard deck of cards. Start with a solid rectangular block with overall dimensions of 98mm in length, 73mm in width, and 30mm in height (calculated from a deck size of 88mm x 63mm x 25mm plus 5mm thick walls). Hollow out the center to create a rectangular cavity that is 88mm ...
Deck_length = 88; Deck_width = 63; Deck_height = 25; Holder_height = 35; Holder_thickness = 5; Holder_edging = "None"; Holder_ports = "None"; Holder_interconnect = "None"; Holder_interconnect_location = "Sides"; Text_line1 = ""; Text_line2 = ""; Text_line3 = "Game Over"; Text_line4 = ""; Text_line5 = ""; Text_font = "...
glb/cad_a59531c181c4.glb
Create a cable management clip with a depth of 65.5mm, a width of 42mm, and a height of 18mm. The main body consists of two flexible arms extending upward from a base, forming a U-shaped channel to hold cables. The arms have a thickness of 3.5mm and terminate in jaws that are 9mm thick, leaving a central throat gap of ...
depth = 65.5; height = 18.0; width = 42.0; jaws = 9.0; throat = 2.25; side_thickness = 3.5; base_thickness = 5.0; base_sides = 10; base_height_ratio = 0; radius = 2.25; base_type = "open"; num_holes = 2; hole_diameter = 4; test_render = true; module null() {} $fn=60; minkr=test_render ? 0:radius; clipy=...
glb/cad_5f531c75f2be.glb
Create a SG-1000 Firewall Rack Mount consisting of a main rectangular plate with rounded corners, measuring 51mm wide by 78.5mm long and 2.75mm thick. On the top surface of the plate, add two rectangular spacer bars, each 5mm wide and 48.5mm long, positioned 15mm from the top and bottom edges. Place a cylindrical sta...
plate_height = 2.75; plate_w = 51; plate_l = 78.5; plate_spacer_depth = 1.25; plate_spacer_y = 15; plate_spacer_length = plate_l - (plate_spacer_y * 2); plate_spacer_width = 5; plate_spacer_x_a = 6.5; plate_spacer_x_b = plate_w - plate_spacer_width - plate_spacer_x_a; body_screw_dia = 3; body_screw_x = 25.25; body_sc...
glb/cad_7379d04ea3a6.glb
Create an Internet Button Case consisting of a shallow cylindrical base with a central mounting boss. Start with a solid cylinder 76.5mm in diameter and 12mm high. Hollow out the center by removing a cylinder 72.5mm in diameter, starting from a height of 2mm from the bottom, leaving a 2mm thick floor. In the center of...
wall_thickness = 2; internal_diameter = 72.5; internal_depth = 10; boss_diameter = 5; boss_height = 5; boss_internal_diameter = 3; screw_hole_diameter = 5; use_tabs = true; tab_height = 15; tab_width = 4; tab_bump_radius = 2; $fs = 1; $fa = 5; abit = 0.000001; alot = 10000000; difference() { union() { ...
glb/cad_90ccb52c89db.glb
Create a label holder designed for a 60x60mm square image. Start by constructing a flat base plate 64mm wide by 64mm deep and 1mm thick. Attached to this base is a square frame, also 64mm by 64mm, with a wall thickness of 2mm and a depth of 1.5mm. This frame is tilted back at a 30-degree angle from the base. The frame ...
$fa = 1; $fs = 0.4; THICKNESS=1; SIZE_X=60; SIZE_Y=60; SEAM_W=2; SEAM_D=1.5; ANGLE=30; module display(x,y,s_w,s_d) { translate([0,0,-THICKNESS-s_d]) difference() { cube([x+2*s_w, y+2*s_w, s_d+THICKNESS]); translate([s_w, s_w, THICKNESS]) cube([x, y, s_d+THICKNESS])...
glb/cad_95a585ca91b0.glb
Create a grill foot by starting with a rounded cube that has a base dimension of 26mm by 26mm and a height of 19mm, with all edges rounded by a 2mm radius. Integrate a cylinder with a 10mm diameter and 20mm height at the corner position (-11, -11, 0). From this combined mass, remove several geometric sections to create...
$fn=100; difference(){ union(){ minkowski(){ translate([0,0,-0.5])cube([26,26,19],center=true); cylinder(r=2); } translate([-11,-11,0])cylinder(d=10, h=20, center=true); } translate([-12.5,2.3,3])cube([1,30,16],center=true); translate([2.3,-12.5,3])cube([...
glb/cad_82114e31e959.glb
Create an iPad reverser for a music stand holder. Start by constructing a central cylindrical body with a total height of 30mm. This body consists of two stacked sections: the bottom 15mm is a cylinder with a radius of 22mm, and the top 15mm is a cylinder with a radius of 22.65mm, creating a slight bulge in the middle....
$fn=120; bulge_in_middle = true; print_upright=false; thing_width = 30.0; thing_radius = 44.0/2; thing_radius_big = 45.3/2; insert_radius=30.7/2; top_insert_thickness=2.4; bottom_insert_thickness=2.7; insert_extra=0; cube_size=20; hole_radius=8.5/2; peg_radius=3.1/2; peg_offset=thing_radius-(3+peg_radius); peg_heigh...
glb/cad_5e436a4bf93c.glb
Create a lantern mantel consisting of a hollow cylindrical shell and a narrower upper flange. The main body is a cylinder with an outer radius of 25mm and a height of 80mm, featuring a wall thickness of 1.5mm and an open bottom. At the base of this main cylinder, create four small circular vents with a radius of 1.5mm,...
difference() { union() { drawShell(80,25); drawFlange(20,25,80); } } function wallThickness() = 1.5; function ventOffset() = 5; function flangeHeight() = 7; function flangeTransitionHeight() = 5; function halfWallThickness() = wallThickness()/2; function doubleWallThickness() = wallThickness(...
glb/cad_d34fd356665e.glb
Create a rubber foot for a compost bin by stacking three concentric cylindrical sections along a central vertical axis. Start with a base cylinder that has a height of 3.5mm, a top diameter of 20mm, and a bottom diameter of 18mm. Directly on top of this base, center a thin stem with a diameter of 5.5mm and a height of ...
footD = 20; footH = 3.5; stemD = 5.5; metal = 0.5; blobH = 2.5; blobD = stemD+blobH-0.6; $fn = 50; cylinder(h=footH, d1=footD-2, d2=footD); translate([0,0,footH])cylinder(h=4, d=stemD); translate([0,0,footH+metal])cylinder(h=1, d1=stemD,d2=blobD); translate([0,0,footH+metal+1])cylinder(h=blobH, d1=blobD,d2=stemD);
glb/cad_a051d1625a21.glb
Create a spacer for an Anycubic Mega S spool holder by starting with a solid rectangular block measuring 32mm wide, 60mm long, and 10mm high. Carve out the center of the block to create a hollow interior, leaving outer walls that are 2mm thick on the left and right sides and 3.5mm thick on the front and back ends. With...
difference() { cube([32,60,10], false); for (a =[3.5:4:57]) drawCut(a); translate([2,3.5,-1]) cube([8,54,12], false); translate([22,3.5,-1]) cube([8,54,12], false); } function cutThickness() = 2; function cutWidth() = 28; module drawCut(yLoc) { translate([2,yLoc,2.5]) ...
glb/cad_e7f23ea32008.glb
Create a rectangular name plate for a Sovereign Reaper model. Start by creating a solid rectangular base that is 90mm wide, 18mm deep, and 2mm thick, centered on the origin. On the top face of this base, emboss the text "SOVEREIGN REAPER" with a character height of 8mm and a thickness of 2mm. Finally, remove a wedge-sh...
use <Write.scad> difference() { union() { cube([90,18,2],true); writecube("SOVEREIGN REAPER",[0,2,0],[90,18,2],face="top",t=2,h=8); } translate([-45,-10,-4]) rotate([20,0,0]) #cube([90,5,5]); }
glb/cad_a175cb14b422.glb
Create a hollowed-out conical shape by starting with a cylinder that has a diameter of 25mm and a height of 25mm. Use a facet resolution of 25 sides for the cylinder. From this volume, remove a smaller concentric cylinder with a diameter of 8.1mm and a height of 8.1mm, positioned 3mm above the base of the larger cylind...
difference() { cylinder(25,25,0, true); translate([0,0,3]) #cylinder(25,8.1,8.1,true); }
glb/cad_501f05b0e5ee.glb
Create a Sovereign Reaper support stand. Start by creating a vertical cylinder with a radius of 8mm and a height of 150mm. On top of this cylinder, centered at a height of 75mm and offset 48mm along the x-axis, place a hollow ring. This ring is formed by creating a cylinder with an outer radius of 8mm and a height of 5...
union() { cylinder(150,8,8,true); difference() { difference() { translate([48 ,0,75]) cylinder(8, 56, 56, false); translate([48,0,75]) cylinder(10, 40, 40, false); } translate([87,-32,75]) rotate([0,0,45]) ...
glb/cad_3f535f4316fd.glb
Create a 3D model of a Sovereign Reaper support component. Start with a central rectangular prism measuring 6.5mm in width, 5mm in depth, and 5mm in height, centered on the origin. From this main body, remove a section by intersecting it with a second rectangular prism that measures 9mm in width, 7mm in depth, and 7mm ...
difference() { cube([6.5,5,5], true); translate([-1.7,0,-3]) rotate([0,37,0]) #cube([9,7,7], true); }
glb/cad_8e376a479e60.glb
Create a Bullet Journal Monthly Template by starting with a rectangular base plate measuring 50mm in width, 50mm in length, and 0.6mm in thickness. Remove a series of small circular holes from this plate, each with a radius of 2mm. Arrange these holes in a grid pattern where the centers are spaced at 6mm intervals. T...
holeRadius=2; interval=6; dimX=50; dimY=15+(5*7); dimZ=0.6; $fn=50; difference(){ cube([dimX, dimY, dimZ]); one(); ticketHole(); } module ticketHole(){ translate([3, 5, 0]) difference(){ translate([0, 0, -dimZ]) cube([5, 40, dimZ*3]); translate([0, 0, -dimZ]) cylinder(r=2, h=dimZ*3); transla...
glb/cad_01cf3e121ef2.glb
Create a Cable Organiser by extruding a specific 2D profile to a height of 10mm. The profile consists of two mirrored, symmetrical halves that form a flexible clip designed to hold a 1.6mm diameter cable. Each half of the profile is based on a rounded, rectangular channel. The internal depth of the channel is approxim...
cable_diameter = 1.6; cable_max_loops = 3; clip_height = 10.0; max_width = 18 ; using_flex = false; cable_grip = true; base_thickness = using_flex ? 2.0: 1.0; wall_thickness = base_thickness + round(0.5 + (cable_diameter * cable_max_loops) / 50.0 ); echo("wall_thickness", wall_thickness); loop_n...
glb/cad_6d290c793671.glb
Create a rectangular box with outer dimensions of 60mm in width, 80mm in depth, and 22mm in height. Hollow out the center to create a shell with a wall thickness of 1mm, leaving a floor thickness of 1mm at the bottom. At the four corners of the box, create vertical support pillars. Each pillar is a 4mm by 4mm square p...
difference(){ cube([60, 80, 22]); translate([1, 1 , 1]) cube([60-2, 80-2, 24-2]); translate([2.5, 2.5 , -5]) cylinder(h=30, r=dv,$fn=150); translate([57, 2.5 , -5]) cylinder(h=30, r=dv,$fn=150); translate([57, 77.5 , -5]) cylinder(h=30, r=dv,$fn=150); translate([2.5, 77.5 , -5]) cylinder(h=30, r=dv,$fn=150); translate(...
glb/cad_36c13007d3d6.glb
Create a rectangular plate measuring 60mm by 80mm with a thickness of 2mm. At each of the four corners, create a circular hole with a radius of 2mm, centered 2.5mm from each adjacent edge. In the center area of the plate, create a series of eight small rectangular slots, each measuring 1mm wide, 5mm long, and 5mm deep....
dv=2/2; difference(){ translate([0, 0 , 0]) cube([60, 80, 2]); translate([2.5, 2.5 , 0]) cylinder(h=10, r=dv,$fn=150); translate([57, 2.5 , 0]) cylinder(h=10, r=dv,$fn=150); translate([57, 77.5 , 0]) cylinder(h=10, r=dv,$fn=150); translate([2.5, 77.5 , 0]) cylinder(h=10, r=dv,$fn=150); j1=50; d1=47; j2=44; d2=41; j3...
glb/cad_9d974995b92d.glb
Create a Hydraulic Jack Release Knob consisting of a base and a handle. Start by creating a cylindrical base with a diameter of 28.2mm and a height of 9mm. In the center of this base, remove a cylindrical core with a diameter of 9mm and a depth of 7.5mm. Cut a rectangular slot through the base to accommodate a T-handle...
$fn = 90; tee_handle_len = 22.2; tee_handle_dia = 3.9; tee_clearance = 3.0; tee_depth = 5.0; stud_dia = 9.0; stud_depth = 7.5; base_height = 9.0; knob_height = 7.0; module knob_base () { difference () { translate ([0, 0, 0]) cylinder (d = tee_handle_len + (tee_clearance...
glb/cad_d159730a97bc.glb
Create a Cen-Tec Dust Separator Accessory Holder consisting of a circular base plate with four tapered mounting rings. Start by creating a circular plate with a diameter of 125mm and a thickness of 3.5mm. Cut a circular hole through the center of this plate with a diameter of 65mm. Position four identical mounting rin...
$fn = 90; plate_thickness = 3.50; qc_inner_dia_at_edge = 45.70; qc_inner_dia_at_25mm = 45.30; qc_outer_dia = 51.00; adapter_dia_at_edge = 38.53; adapter_dia_at_25mm = 39.43; outlet_dia = 65.00; mnt_hgt = 25.00; overhang = 3.00; plate_dia = outlet_dia + ((overhang + ...
glb/cad_ce0ad23bbda1.glb
Create an Ignition Switch Bezel Tool consisting of a circular base and a vertical handle. Start by creating a smooth cylinder with a diameter of 43.60mm and a height of 5.50mm. To this cylinder, add three rectangular tabs, each 2.30mm wide and 5.50mm tall. Position these tabs so they extend radially from the center, sp...
sides=360; plug_dia = 43.60; plug_height = 5.50; ear_length = 1.27; ear_width = 2.30; handle_height = 25.40 / 2; handle_width = 5.00; module plug () { translate ([0, 0, 0]) { cylinder (d=plug_dia, h=plug_height, $fn=sides); rotate ([0, 0, 0]) cube ([(plug_dia / 2) + ear_length, ear_wid...
glb/cad_69d3f89b5955.glb
Create an Ignition Switch Bezel Tool consisting of a cylindrical plug base and a rectangular handle. Start by creating a smooth cylinder with a diameter of 25.65mm and a height of 5.5mm. To this cylinder, add three rectangular tabs, each 2.3mm wide and 5.5mm tall. Position the first tab so it extends from the center of...
sides=360; plug_dia = 25.65; plug_height = 5.50; ear_length = 1.27; ear_width = 2.30; handle_height = 25.40 / 2; handle_width = 5.00; module plug () { translate ([0, 0, 0]) { cylinder (d=plug_dia, h=plug_height, $fn=sides); rotate ([0, 0, 0]) cube ([(plug_dia / 2) + ear_length, ear_wid...
glb/cad_2e57039217d2.glb
Create a 1U rack mount device bracket by combining three rectangular prisms. First, create a bottom base plate measuring 40mm wide, 5mm thick, and 20mm deep. Drill a 4.6mm diameter hole through the center of this base plate, positioned 32.5mm from the left edge and 10mm deep into the part, using a 16-sided polygonal pr...
translate ([20, 0, 0]) { cube ([5, 49.23, 20]); }; translate ([0, 49.23, 0]) { cube ([25, 5, 20]); }; difference () { cube ([40, 5, 20]); translate ([32.5, 0, 10]) { rotate ([90, 0, 0]) { cylinder (h=11, d=4.6, $fn=16, center=true); } } };
glb/cad_7877af3c7527.glb
Create a soda can adapter by constructing a hollow, tapered cylinder with a height of 35mm. The outer wall should be a frustum that tapers from a bottom diameter of 79mm to a top diameter of 84.4mm. Remove a central cylindrical core with a constant diameter of 67.5mm throughout the entire height to create the interior ...
difference () { cylinder (h=35, d1=79, d2=84.4, $fn=90); cylinder (h=35, d=67.5, $fn=90); };
glb/cad_be723e1bb57b.glb
Create a fan duct for an Avalon 741 miner. Start with a square base plate 120mm by 120mm with a thickness of 5mm. The base has rounded corners with a radius of 2.5mm. Centered on this base, construct a hollow vertical tower. The tower begins as a cylinder with an outer diameter of 120mm and an inner diameter of 118mm f...
sides=360; difference () { union () { translate ([2.5, 2.5, 0]) { minkowski () { cube ([115, 115, 1.25]); cylinder (h=1.25, r=2.5, $fn=sides); } } translate ([60, 60, 0]) { cylinder (h=10, d=120, $fn=sides); } translate ([60, 60, 10]) { cylinder (h=20, d1=...
glb/cad_b90b56ea61ba.glb
Create a mounting bracket for an Avalon 741 miner. Start with a solid rectangular block measuring 32mm wide, 27mm deep, and 27mm high. Carve out a large rectangular section from the top, starting 7mm from the bottom, to leave a base plate 7mm thick and two side walls 7mm thick, creating a U-shaped channel that is 17mm ...
module screw (x, y) { translate ([x, y, 0]) { cylinder (h=10, d=4.0, $fn=16, center=true); } translate ([x, y, 6]) { cylinder (h=4.5, d=7.2, $fn=16, center=true); } } translate ([0, 0, 0]) { difference () { cube ([32, 27, 27]); translate ([0, 0, 7]) { cube ([32, 20, 27]); } t...
glb/cad_c72211b25155.glb
Create a mounting bracket for an Avalon 741 miner. Start with a solid rectangular base measuring 32mm in width, 47mm in depth, and 27mm in height. From this base, remove two rectangular sections to create a central vertical channel. The first cutout is 32mm wide, 20mm deep, and 27mm high, positioned 7mm above the botto...
translate ([-16, 0, 0]) { difference () { cube ([32, 47, 27]); translate ([0, 0, 7]) { cube ([32, 20, 27]); } translate ([0, 27, 7]) { cube ([32, 20, 27]); } translate ([7.5, 0, 0]) { cube ([17, 47, 3]); } } }
glb/cad_9ec45d8685b1.glb
Create a mounting bracket for an Avalon 741 miner. Start with a solid rectangular block measuring 32mm in width, 27mm in depth, and 27mm in height. From this block, remove a smaller rectangular section from the top to create a U-shaped channel; this cutout should be 32mm wide, 20mm deep, and 20mm high, leaving a base f...
module screw (x, y) { translate ([x, y, 0]) { cylinder (h=10, d=4.0, $fn=16, center=true); } translate ([x, y, 6]) { cylinder (h=4.5, d=7.2, $fn=16, center=true); } } translate ([0, 0, 0]) { difference () { cube ([32, 27, 27]); translate ([0, 0, 7]) { cube ([32, 20, 27]); } t...
glb/cad_5182badfe392.glb
Create a mounting bracket for an Avalon 741 miner. Start with a solid rectangular base measuring 32mm in width, 47mm in depth, and 27mm in height. Carve out two large rectangular voids from the center of the block to create a U-shaped channel; the first void starts at a height of 7mm and measures 32mm by 20mm by 27mm, ...
module screw (x, y) { translate ([x, y, 0]) { cylinder (h=10, d=4.0, $fn=16, center=true); } translate ([x, y, 6]) { cylinder (h=4.5, d=7.2, $fn=16, center=true); } } translate ([-16, 0, 0]) { difference () { cube ([32, 47, 27]); translate ([0, 0, 7]) { cube ([32, 20, 27]); } ...
glb/cad_3a79d4ebfb95.glb
Create a power supply mounting bracket by starting with a rectangular block measuring 12mm wide, 25mm long, and 5mm high. Centered at the coordinates (6, 15) relative to the block's origin, create a vertical screw hole consisting of a 4mm diameter cylinder passing through the center, topped with a wider 7.2mm diameter ...
module screw (x, y) { translate ([x, y, 0]) { cylinder (h=10, d=4.0, $fn=16, center=true); } translate ([x, y, 5]) { cylinder (h=4.5, d=7.2, $fn=16, center=true); } } translate ([-6, 0, 0]) { difference () { cube ([12, 25, 5]); translate ([5, 0, 1]) { cube ([2, 6.5, 4]); } sc...
glb/cad_ee81f17d19bb.glb
Create a power supply mounting bracket starting with a rectangular base measuring 49mm wide, 25mm deep, and 10mm high. Carve out a central rectangular section from the top to create a cradle, leaving walls on the sides. This main cutout should be 39mm wide and 20mm deep, starting 5mm from the front and side edges, with...
module screw (x, y) { translate ([x, y, 0]) { cylinder (h=10, d=4.0, $fn=16, center=true); } translate ([x, y, 5]) { cylinder (h=4.5, d=7.2, $fn=16, center=true); } } translate ([-24.5, -5, 0]) { difference () { cube ([49, 25, 10]); translate ([5, 5, 6]) { cube ([39, 20, 4]); } ...
glb/cad_135068d3a879.glb
Create a mounting bracket for a DPS-1200FB power supply. Start with a rectangular base measuring 49mm wide, 25mm deep, and 10mm high. From the top surface, remove a central rectangular section 39mm wide and 20mm deep, starting 5mm from the front and 5mm from each side, with a depth of 4mm, leaving a 10mm thick floor. A...
module screw (x, y) { translate ([x, y, 0]) { cylinder (h=10, d=4.0, $fn=16, center=true); } translate ([x, y, 5]) { cylinder (h=4.5, d=7.2, $fn=16, center=true); } } translate ([-24.5, -5, 0]) { difference () { cube ([49, 25, 10]); translate ([5, 5, 6]) { cube ([39, 20, 4]); } ...
glb/cad_f091adc48658.glb
Create a Filter Center Pogo Holder with a base measuring 129.5mm in length, 20mm in width, and 20mm in height. The main body consists of a central platform 3mm thick, flanked by two vertical end-walls that are 6mm thick and 20mm high. In the center of the platform, create a tapered conical void to house a pogo connect...
$fn = 300; base = 129.5; height = 20; width = 20; side = 6; baseThick = 3; pogoOD1 = 12.25; pogoOD2 = 8.8; pogoOD3 = 7.4; pogotip = 7.5; pogocenter = 5.3; pogoLength = 20; wireOD = 3.75; wall = 3; module ScrewHoles() { screwdia = 3; screwheaddia = 6.5; screwDepth = 3; cylinder(h = screwDepth, d=scr...
glb/cad_0d7865c30a60.glb
Create a 5-cube compound platonic solid by constructing five identical cubes, each with a side length of 100mm, centered at the same origin. To position the cubes, use the golden ratio $\phi \approx 1.618$ to define their orientation. Arrange the cubes such that they are rotated around the X-axis in increments of 72 de...
phi=0.5*(sqrt(5)+1); rotate(63.435/2,[1,0,0]) union () { for (n = [0:1:4]){ rotate(-2*n*PI/5*180/PI, [1, phi, 0]) cube(100,true); } }
glb/cad_53bc8e505f03.glb
Create a GRABO Battery Holder by starting with a solid rectangular prism measuring 73mm in length, 75mm in width, and 40mm in height. Hollow out the center of this block by removing a smaller internal prism that is 5mm smaller in both length and width, leaving a 5mm wall thickness. Trim the top and bottom edges of the ...
BatteryCount=1; screwmount = "Horizontal"; module prism(l, w, h){ polyhedron( points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]], faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]] ); } module prismcutout(l, w, h){ w=w-5; l=l-5; polyhedr...
glb/cad_297d7ead35c5.glb
Create a key sheath protector with a total height of 39mm. Start by forming a rectangular base that is 12.6mm wide and 4.1mm deep, with a wall thickness of 0.8mm. To create the hollow interior, remove a central rectangular block measuring 11mm wide and 3.5mm deep from the base, leaving the 0.8mm walls intact. For the t...
width = 11; depth = 3.5; height = 39; thickness = 0.8; module half_cylinder() { rotate([90, 0, 0]) difference() { cylinder(h=depth+thickness*2, r=(width+thickness*2)/2, $fn=100); translate([-(width+thickness*2)/2,-(width+thickness*2),-0.5]) cube(size=[(width+thickness*2),(width+thickness*2),dep...
glb/cad_2eaf1efe2218.glb
Create a pipe-shaped holder for an electronic cigarette. Start by constructing a main body that combines a sphere with a radius of 20mm and a cylinder with a height of 23mm, a base radius of 19.8mm, and a top radius of 17mm. Rotate this combined shape 70 degrees backward around the X-axis. From this form, remove a cent...
$fn=75; shaftTransX=3; translate([35,0,20]) { difference(){ union(){ translate([-8,0,-30]){ rotate([0,-70,0]) {difference(){ union(){ sphere(20); translate([0,0,2.75]) cylinder(23,19.8,17); ...
glb/cad_f463097b4514.glb
Create an incubator egg turner quail insert by constructing a hollowed-out composite shape. Start with a base cylinder 23.5mm in diameter and 7mm high. On top of this base, add a rounded upper section formed by the intersection of a sphere with a diameter of 28mm and a cylinder with a diameter of 28mm. Position this up...
holeid = 23.5; eggid = 25; w = 1.5; h = 7; $fn = 72; difference() { union() { cylinder(d=holeid, h); translate([0,0,(eggid+w*2)/2]) intersection() { sphere(d=eggid+w*2); translate([0,0,-(eggid/2+w)]) cylinder(d=eggid+w*2,h=eggid/2+w); } } cylinder(d=holeid-w*2, h*2); translate([0,0,(eggid+w*2)/2])...
glb/cad_29ebd1243ad6.glb
Create a Tea Bag Dispenser Adapter for a Mosslanda shelf. Start by creating a solid rectangular base with a length of 71.6mm, a width of 96mm, and a height of 19.8mm. From this base, remove a central rectangular volume to create a seating area for the dispenser. This cutout should be 69.2mm long and 80mm wide, positi...
tea_w = 80; tea_l = 69.2; t_walls = 1.2; tea_h = 19.8; mosslanda_w = 96; side_conn_off = 25; side_conn_l = 12; eps = 0.1; module copytranslate(trans) { translate(trans) children(); children(); } union() { difference() { cube([tea_l+2*t_walls, mosslanda_w, tea_h]); color("salmon") translate...
glb/cad_5efaee4d35d4.glb
Create a customizable arrow clip with a total diameter of 76mm and a height of 4mm. Start by creating a central ring with an outer diameter of 48.1mm (calculated as the stabilizer diameter of 36.1mm plus a 12mm ring strength) and an inner hole of 36.1mm to accommodate a stabilizer tube. Around the perimeter of this ce...
PART = "clip"; DIAMETER = 76.0; HEIGHT = 4; NUM_ARROWS = 8; ARROW_DIAMETER = 6.0; STABI_HOLE = true; STABI_DIAMETER = 36.1; RING_STRENGTH = 12.0; assert(ARROW_DIAMETER > 0); assert(NUM_ARROWS > 0); assert(HEIGHT > 0); assert(DIAMETER >= NUM_ARROWS*ARROW_DIAMETER); if (STABI_HOLE) { assert(DIAMETER > STABI_DIAM...
glb/cad_dd54d5b9b44a.glb
Create a Twisted Square Vase by extruding a square profile vertically to a height of 150mm. Start with a base square centered on the origin with a side length of 30mm. As the shape extrudes upward, apply a linear scale that reduces the square's side length to 20mm at the top, while simultaneously applying a total twist...
bottom_size = 30; top_size = 20; height = 150; twist = 180; smoothness = 1000; $fn = smoothness; difference() { linear_extrude(height = height, twist = twist, scale = top_size/bottom_size) { square(size = bottom_size, center = true); } linear_extrude(height = height, twist = twist, scale = 0.8) {...
glb/cad_9834a8a3382a.glb
Create a parametric mug coaster starting with a solid circular base 100mm in diameter and 1.2mm thick. Centered on top of this base, add an outer border ring with an outer diameter of 100mm, a thickness of 1.2mm, and a height of 1.2mm. Inside this border, create three concentric rings. The first ring should have an out...
$fn=100; image_file = "logo01.png"; ringsNbr=3; ringSpace=4; ringWith=4; ringHeight=1.2; logo=1; logoSizeX=50; logoSizeY=50; logoHeight=0.2; broderHeight=1.2; broderWidth=1.2; baseHeight=1.2; diameter=100; union(){ translate([0,0,baseHeight+ringHeight]) difference() { color("blue") cylinder(h=br...
glb/cad_262262665871.glb
Create a jewelry molding box consisting of a hollow cylindrical wall and a matching base. The main wall is a cylinder with an outer diameter of 24.43mm, a height of 15mm, and a wall thickness of 1.5mm. For the base, create a circular disk with a diameter of 27.43mm and a thickness of 4mm. Centered on top of this disk...
size_NA = 11; band_thickness = 2; band_radius = 8; band_height = 6; band_facets = 100; generate_setting = false; setting_width = 12; setting_length = 16; mold_base_height = 2; mold_thickness = 9; wall_thickness = 1.5; base_thickness = 4; base_lip_width = 4; generate_base = true; $fn=168; intdiam = 0.8128 * size_NA...
glb/cad_30060661f096.glb
Create a Cabinet Foot designed to secure a cabinet to a base. Start with a square base plate measuring 80mm by 80mm with a thickness of 5mm. Round the four corners of this base plate with a 5mm radius. Drill four vertical holes through the base plate, each with a diameter of 4.6mm, positioned 3mm from each edge. On to...
$fn = 90; base_xy = 80; base_thickness = 5; base_radius = 5; base_hole_offset = 73; base_hole_dia = 4.6; leg_xy = 57.0; leg_thickness = 2; leg_radius = 2; leg_height = 20; leg_wall = 4; module base () { difference () { hull () for (x = [-1, 1]) ...
glb/cad_a032017c265a.glb
Create a Simple Ring Jewelry Customizer by constructing a rounded band with a hollow center. Start with a sphere that has a diameter of 33.34mm, then flatten it along the Z-axis to a total height of 28mm. Remove the center of this shape by placing a cylinder with a diameter of 20.45mm through the middle along the Z-axi...
size_NA = 11; band_thickness = 2; band_radius = 14; band_height = 8; band_facets = 100; generate_setting = false; setting_width = 12; setting_length = 16; $fn=168; intdiam = 0.8128 * size_NA + 11.63 * 1.03; module band() { color("lightgrey") difference() { resize( [intdiam+band_thickness*2, ...
glb/cad_dc942c5141b2.glb
Create a Customizable Silicone Molding Box consisting of a hollow cylindrical wall and a separate circular base. First, construct the wall as a hollow cylinder with an outer diameter of 50mm (calculated from the largest model dimension of 36mm plus a 7mm buffer on each side) and a height of 38.75mm (model height of 3...
model_width = 36; model_length = 33; model_height = 31; mold_shape="automatic"; wall_thickness = 1.5; base_thickness = 2.5; mold_thickness = 7; base_lip_size = 4; generate_wall = true; generate_base = true; $fn =24; largest_model_dimension = 0; largest_model_dimension = max(model_width, model_height); show_mode...
glb/cad_ff91f258a880.glb
Create an articulated spool stand element consisting of two mirrored connecting components. For the first component, create a vertical cylinder with a radius of 3mm and a height of 50mm. At the base of this cylinder, add a wider, flat circular disc with a radius of 8mm and a thickness of 2mm. Near the bottom of the ver...
h_ext=2; h=50; w_in=3; w_out=8; w_dist=20; base_width = w_in; epsilon = 0.001; gap=0.5; module prism(l,w,h){ polyhedron( points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]], faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]] ); } rotate([90,0,0]) difference() { union() { translate([ w_dist,...
glb/cad_703b9471011b.glb
Create a Customizable Silicone Molding Box consisting of a hollow cylindrical wall and a separate base. The main wall is a cylinder with an outer diameter of 50mm (calculated as the largest model dimension of 24mm plus 13mm thickness on all sides), a height of 62.5mm, and a wall thickness of 1.5mm. The center of the cy...
model_width = 24; model_length = 24; model_height = 50; mold_shape="automatic"; wall_thickness = 1.5; base_thickness = 2; mold_thickness = 13; base_lip_size = 4; generate_wall = true; generate_base = true; generate_peg_hole = true; peg_hole_offset = 7; sprue_funnel_diameter = 16; $fn =24; largest_model_dimensio...
glb/cad_9d8f4c6a2029.glb
Create a Tamiya TT-02 battery retention stick. The main body is a long, thin rectangular bar with a thickness of 1.5mm and a height of 6mm. The total length spans from the outer edge of the first mounting hole to the outer edge of the last. At each end of the bar, create a cylindrical mounting head with a diameter of ...
$fn=256; diameter=6.1; gap=146; gap_pad=2; pad=1.5; thickness=1.5; height=6; string_diameter=1.5; test_print=false; module main_stick() { offset(r=pad){ square([gap+(diameter)+(pad*2),(diameter)]); } } module tall_stick() { offset(r=thickness) { square([gap-(diameter*2),thickness]); }...
glb/cad_b17cbe0d9074.glb
Create a 12mm Tamiya Style Wheel Hub by starting with a hexagonal prism that has a flat-to-flat diameter of 12mm and a height of 7mm. Centered within this prism, create a vertical cylindrical hole with a diameter of 5mm that passes completely through the top and bottom faces. At the top surface, carve out a horizontal...
$fn=256; hub_diameter=12; hub_radius=hub_diameter/2; hub_depth=7; axle_diameter=5; axle_radius=axle_diameter/2; axle_spacer_thickness=1.5; axle_spacer_depth=0.4; axle_pin_diameter=2.02; axle_pin_length=10.1; grub_screw_diameter=2.5; module draw_hex(radius=6) { long_side=radius/sin(60); polygon([ [lo...
glb/cad_e8118bb3f5e7.glb
Create a protective cover for an Elecraft KX3/PX3. Start with a main rectangular deck measuring 135.5mm wide by 88mm high with a thickness of 3.5mm. On the top surface, create a rectangular cutout for a screen measuring 116mm by 68.5mm, positioned 2.5mm from the left and 15mm from the bottom. At the four corners of t...
$fn=256; test_print=false; negative_knobs=false; knobs_only=false; width=135.5; height=88; depth=3.5; button_depth=2.5; left_button_width=11.5; bottom_button_width=10.5; right_button_width=11.5; button_height=7; screen_screw_depth=3.5; screen_depth=2.5; knob_depth=18; knob_diameter=15.5; knob_y_alignment=11.5; e...
glb/cad_4a00c54981ef.glb
Create a Magnetic No Spill Pin Bin as a rounded rectangular block with a base of 35mm by 30mm and a total height of 25mm. At the bottom, create two vertical cylindrical holes for magnets, each with a radius of 6.5mm and a depth of 6mm, positioned symmetrically along the center axis at x = 8.75mm and x = -8.75mm. Th...
base_dimensions = [35,30]; positioning = base_dimensions[0]; needle_hole_r = 2.5; magnet_r = 6.5; magnet_h = 6; $fn=80; unit_height = 25; difference() { translate([0,0,-0.5]) linear_extrude(unit_height+0.5) offset(10) offset(-10) square(base_dimensions,center=true); translate([0,0,-0.01]) ...
glb/cad_ee935b13063b.glb
Create a Cali Cat office organizer consisting of a stylized cat composed of a body, head, feet, and tail. Start with the body as an 80mm cube with a height of 35mm. Apply a 5mm chamfer to the top edges. Hollow out the center of the body, leaving a 5mm border. At the four corners of the body, create cylindrical pillar...
include <Chamfer.scad> $fn = 100; cat_size = 80; cat_chamfer = 5; cat_feet_size = 35; cat_feet_height = 10; cat_feet_gap = 5; cat_feet_total_height = cat_feet_height + cat_feet_gap; cat_feet_offset_x = 5; cat_feet_inscription_depth = 1; cat_body_height = 35; cat_body_hole_border = 5; cat_body_hole_bottom = 5; cat_h...
glb/cad_803f8b71d888.glb
Create a QMX Magnetic Cover consisting of a main rectangular deck and two side walls. The main deck is a flat plate measuring 95.5mm in width, 63mm in height, and 3mm in thickness. Attach two side walls to the left and right edges of the deck. Each wall is 8mm wide, 63mm high, and 3mm thick, extending perpendicularly...
$fn=256; test_print=false; deck_only=false; knobs_only=false; width=95.5; height=63; depth=3; knob_depth=13.5; knob_diameter=20; knob_y_alignment=13.5; magnet_diameter=6.25; magnet_depth=2; button_depth=2.5; button_diameter=4.75; button_y_alignment=10; module main_deck() { color("green") linear_extrude(d...
glb/cad_353818dfb01e.glb
Create an organic desktop bin by extruding a complex 2D profile vertically to a total height of 100mm. The base profile is a union of a central circle with a radius of 20mm and six smaller circles, each with a radius of approximately 10.47mm, arranged symmetrically around the center. These smaller circles are positione...
bottom = 20 ; middle = 20 + sin(45)*10; top = 30; height = 100; lobe = 8 - height/50; twist = 60; ratio = .4; Smoothness = 10; $fn = Smoothness; linear_extrude(height=height*ratio, twist=twist*ratio, scale=middle/bottom, slices = Smoothness*ratio) { union(){ for (i=[0:lobe-1]) rotate(a=360/l...
glb/cad_2566a49aa813.glb
Create a stylized model of the Little Boy nuclear bomb consisting of a hollowed cylindrical body that tapers at the bottom. The main body is a cylinder with an outer diameter of 54.6mm and a total height of 213mm. This main section is hollowed out by a central bore with a diameter of 43mm for most of its length, narrow...
$fn=600; stl_32mm_inner_thread="32mm_thread.stl"; stl_50mm_thread="50mm_thread_bolt.stl"; split=false; if(split){ difference(){ middle_section(); translate([0,-500,500-1]){ cube(1000,center=true); } } } else{ middle_section(); } module middle_section(){ translate([0,0,-64.8]){ differen...
glb/cad_98846432d2ff.glb
Create a Spool and Bobbin Holder consisting of a circular base and a central vertical column. Start with a flat circular base 115mm in diameter and 2mm thick. On top of this base, center a second concentric ring that is 115mm in outer diameter and 2mm thick, but with a 65mm diameter hole removed from its center. Risi...
$fn=90; linear_extrude(2) difference() { circle(d=115); circle(d=23); } translate([0,0,2]){ linear_extrude(2) difference() { circle(d=115); circle(d=65); } } translate([0,0,105]) { linear_extrude(1.5){ circle(d=23); } } linear_extrude(105) difference() { c...
glb/cad_8bac257a1b6a.glb
Create an upside-down stand for a Cryostream 800 coldhead. Start with a circular base 140mm in diameter and 3mm thick. On top of this base, center a truncated cone that transitions from a diameter of 110mm at the bottom to 20mm at a height of 11mm. Carve a central cavity into the stand to accommodate the coldhead. Thi...
$fn=80; module dummy() { hull() { translate([0,0,11]) cylinder(d=53,h=1); translate([0,0,12.5]) cylinder(d=57.5,h=1); translate([0,0,15]) cylinder(d=60,h=1); translate([0,0,20]) cylinder(d=64.4,h=1); translate([0,0,25]) cylinder(d=68.3,h=1); translate([0,0,30]) cylinder(d=71.5,h=1); ...
glb/cad_03e072b0c460.glb
Create a USM Haller cable mount consisting of a main body with a rectangular profile of 19mm by 12mm and a height of 41mm. At the top of the body, center a spherical cutout with a diameter of 25mm. Through the center of the body, create a vertical cylindrical hole with a diameter of 19mm. At the bottom, create a smal...
$fn=80; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } module single(single=false, shift=false) { difference() { ...
glb/cad_59ed4dca947d.glb
Create a Parametric Bag Clip with Perishable Food Date Marker consisting of a main clip body and a separate friction-fit pointer. For the clip body, create a rectangular base 100mm long, 5mm wide, and 13.6mm high. At one end, integrate a hook mechanism with a 2mm thick hook body and a barb. Incorporate a central ridg...
language = "DE"; l_clip = 100; w_clip = 5; h_clip =13.6; th_hook = 2; th_ridge = 1.5; tol = 1; alpha = 10; $fn = 64; eps = 0.01; translate ([-(l_clip/2 + w_clip + tol), -w_clip/2, 0]) difference () { union () { translate([0,-w_clip*0.5+3,18.018]) rotate([0,0,270]) face(language); tra...
glb/cad_44d6bd6e31e5.glb
Create a parametric HPLC vial rack consisting of a 5 by 5 grid of individual modules. Each module is a block measuring 20mm by 20mm with a height of 10mm. Within each 20mm block, create a central vertical hole with a diameter of 12mm to hold a vial. To ensure interoperability and alignment, add a small rectangular no...
noX = 5; dX = 20; noY = 5; dY = 20; grid_upright(); dBore = 12.0; h = 10; $fn = 80; module vial_upright() { difference() { translate([-dX/2,-dY/2,0]) cube([dX, dY, h]); translate([-0.5,-0.5,h-0.4]) cube([1, dY, 1]); translate([-dX/2,-dY/2-1,0.4]) cylinder(d=dBore, h=h+1); translate([dX/2,-dY/2-...
glb/cad_1cc50d380b11.glb
Create a Perishable Food Day Marker consisting of a main dial and a friction-fit pointer. For the main dial, create a heptagonal prism with a diameter of 40mm and a height of 7mm. The top face should be a 7-sided polygon. Carve a central cylindrical hole with a diameter of 10mm and a depth of 20mm. Around the perimete...
language = "DE"; render_pointer = true; $fn=80; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 1.01, r + 1.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } module main (lang="DE") ...
glb/cad_91366900b40a.glb
Create a Rechargeable Battery Organizer designed to hold eight AA batteries in two separate groups of four. Start by creating a solid base using a hull of four cylinders, each with a diameter of 18.4mm and a height of 30mm. Position these cylinders such that two are at the front corners (0,0) and (46.2, 0) and two are ...
dia = 15.4; height = 50.5; slit_width = 4.8; $fn = 80; main4x2(); module main4x2() { difference() { hull() { translate([0,0,-2]) cylinder(d=dia+3, h=30); translate([3*(dia+2),0,-2]) cylinder(d=dia+3, h=30); translate([0,dia+4.55+slit_width,-2]) cylinder(d=dia+3, h=30); translate([3*(dia...
glb/cad_011a38b22e94.glb
Create a Laundry Rack Riser consisting of two identical spool-shaped components and four small alignment pins. For each spool, construct a central vertical hole with a diameter of 16mm running through the entire height of 20mm. The outer profile is formed by a hull of three stacked cylinders: a base cylinder with a 3...
ID = 16.6; OD = 40; $fn = 80; module spool() { difference() { union() { hull() { translate([0,0,0]) cylinder(d=OD-5, h=0.1); translate([0,0,3]) cylinder(d=OD, h=2); translate([0,0,8]) cylinder(d=ID+2, h=0.1); } hull() { translate([0,0,19.9]) cylinder(d=OD-5, h=0.1); translate([0,0,15])...
glb/cad_14828edc1fca.glb
Create a wood strip connector with a wall thickness of 3mm. The main body is a rectangular block with overall dimensions of 36mm in width, 24mm in depth, and 83mm in height. Carve two rectangular recesses into the block to create slots for wood strips. The first slot is 30.6mm wide and 15.6mm deep, extending 41mm int...
x1 = 30; y1 = 15; x2 = 28; y2 = 18; tolerance = 0.6; depth = 40; wall = 3; hole = 3; connector(); $fn = 80; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h =...
glb/cad_db6dc71c00ca.glb
Create a 2020 extrusion to UNC tripod adapter. Start with a base block that is 26mm tall, 20mm wide, and 4mm thick. On the top surface, add a 3mm thick section that transitions from a 10mm by 20mm rectangle on one side to a 20mm diameter cylinder on the other. Integrate a 10mm by 6mm by 3mm rectangular protrusion cente...
$fn = 80; rotate([0,-90,0]) { difference() { union() { hull() { translate([0,0,0]) cube([10,20,3]); translate([23,10,0]) cylinder(d=20, h=3); } translate([0,0,0]) cube([4,20,26]); hull() { translate([0,0,23]) cube([5,20,3]); translate([13,10,23]) cylinder(d=20, h=3); } ...
glb/cad_37de5b10d74a.glb
Create a webcam extrusion mount by starting with a base cylinder 20mm in diameter and 3mm thick. From this base, extend a vertical section upwards to a height of 10mm. At the top of this section, integrate a horizontal cylinder with a diameter of 9mm and a length of 15mm, centered at a height of 10mm and shifted 7.5mm ...
$fn = 80; difference() { union() { translate([-7.5,0,10]) rotate([0,90,0]) cylinder(d=9,h=15); hull() { translate([0,-12,0]) cylinder(d=20,h=3); translate([-7.5,0,10]) rotate([0,90,0]) cylinder(d=9,h=15); } } union() { translate([-8.5,0,10]) rotate([0,90,0]) cylinder(d=4,h=17); ...
glb/cad_16276a68a744.glb
Create a Microscopy Slide Carrier inset by starting with a solid cylinder 31.6mm in diameter and 77.6mm in height. Hollow out the center of this cylinder by removing a rectangular block 27mm wide and 80mm high, centered on the X and Y axes, starting from 0.3mm above the base. To create the slide slots, remove two addit...
$fn = 100; difference() { cylinder(d=31.6, h=77.6); translate([-1,-13.5,0.3]) cube([2,27,80]); translate([-6,-13.5,0.3]) cube([2,27,80]); translate([4,-13.5,0.3]) cube([2,27,80]); translate([-1,-12,-1]) cube([2,24,2]); translate([-6,-12,-1]) cube([2,24,2]); translate([4,-12,-1]) cube([2,24,2]); t...
glb/cad_93c40e244e0d.glb
Create a Jabra Evolve headset and remote holder. Start with a rectangular base block measuring 56mm in length, 30mm in width, and 19mm in height. On the top surface, center a large circular cutout with a diameter of 54mm and a depth of 2mm to create a shallow recessed area. At each end of the block, integrate a cylin...
$fn=80; rotate([90,0,0]) { difference() { union() { cube([56,30,19]); translate([28,28,16.5]) cylinder(d=56, h=2.5); translate([11,0,-21.8]) cylinder(d=20, h=22); translate([45,0,-21.8]) cylinder(d=20, h=22); hull() { translate([11,0,-21.8]) cylinder(d=22, h=1); translate([11,0,-2...
glb/cad_55de36fea0ae.glb
Create a Biqu B1 Dial Gauge Holder. Start with a base plate that is 2mm thick. On one end of the base, create a cylindrical housing with an outer diameter of 38.7mm and a height of 2mm. Within this housing, center a circular hole with a diameter of 28.35mm that passes through the entire height. Extend the base into a ...
$fn=80; difference() { union() { hull() { translate([16,32,11]) rotate([90,0,0]) cylinder(d=11,h=15); translate([8,17,0]) cube([10,15,2]); } hull() { translate([16,20,11]) rotate([90,0,0]) cylinder(d=11,h=3); translate([1,17,0]) cube([10,3,2]); } difference() { t...
glb/cad_d31fdb4a2c32.glb
Create a parametric storage box with outer dimensions of 80mm width, 200mm length, and 50mm total height. The box should have a uniform wall thickness of 3mm and a base thickness of 3mm. All interior bottom edges and vertical corners must be rounded with a radius of 10mm. Apply a vertical bevel with a 5mm radius to o...
width = 80; length = 200; total_height = 50; wall_thickness = 3; base_thickness = 3; bend_radius = 10; split = true; split_render_upper = true; split_render_lower = true; split_extender = true; split_extender_length = 100; split_tolerance = 0.4; side_bevel = true; side_bevel_orientation = "vertical"; side_bevel_radius ...
glb/cad_1ac4a8b2a253.glb
Create a USB Microscope filter holder consisting of a rotating filter tray and a securing clip. First, construct the filter tray as a flat base with a central square cavity measuring 21mm by 21mm and a depth of 5mm. Within this cavity, create a space to hold a 20mm by 20mm square filter. Next, create the filter clip...
$fn=80; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } module filter_holder() { difference() { union() { hu...
glb/cad_d23e10c1b172.glb
Create two identical mounting brackets for a Swisscom Internet Box 3. Each bracket is based on a rectangular block measuring 11mm wide, 49mm long, and 40mm high. From this block, remove a large rectangular section from the inner face to create a U-shaped channel that is 20mm wide and 34mm deep, leaving a 3mm thick base...
$fn = 50; module holder() { difference() { union() { cube([11,49,3]); translate([10,0,0]) cube([20,49,40]); } hull() { translate([5,5,-1]) cylinder(d=4, h=20); translate([3,5,-1]) cylinder(d=4, h=20); } hull() { translate([5,18,-1]) cylinder(d=4, h=20); translate([3,18,-1]) cylinder(...
glb/cad_74230cf74d0e.glb
Create an improvised light stage for a microscope. Start by constructing a central conical base that transitions from a diameter of 40mm at the bottom to 12mm at the top over a height of 30mm. Surround this with a large outer cylindrical wall that is 42mm high with an outer diameter of 84mm and an inner diameter of 82m...
$fn=80; module petri() { color("blue", 0.3) { difference() { translate([0,0,0]) cylinder(h=15, d2=90, d1=87.5); translate([0,0,1]) cylinder(h=15, d2=88, d1=85.5); } } } difference() { union() { translate([0,0,0]) cylinder(h=30, d1=40, d2=12); translate([-1.5,-41,0]) cube([3,82,0.6]); tra...
glb/cad_bdab6a7dd0e2.glb
Create a custom travel toolkit consisting of two main tray components: a top shell and a bottom shell. For the top shell, create a base block 132mm wide, 45mm deep, and 12mm high. The top and bottom surfaces are rounded at the ends using 48mm diameter cylinders. Carve out several longitudinal tool slots: a central slo...
$fn = 80; module topshell() { color("white") { difference() { union() { hull() { translate([66,0,2]) cylinder(d=48, h=9); translate([-66,0,2]) cylinder(d=48, h=9); translate([-66,-24,2]) cube([132,48,9]); translate([66,0,0]) cylinder(d=45, h=3); translate([-66,0...
glb/cad_030c5ef8ae11.glb
Create a magnet base consisting of a wide cylindrical foundation and a tapered upper post. Start by creating a base cylinder with a diameter of 9.5mm and a height of 3.5mm. Centered on top of this base, add a second cylinder with a diameter of 3.15mm and a height of 4.5mm, extending the total height of the object to 8m...
$fn = 80; difference() { union() { cylinder(d=9.5, h=3.5); cylinder(d=3.15, h=8); translate([0,0,8]) cylinder(d1=3.15, d2=2, h=1); } translate([0,0,0.8]) cube([5.6,5.6,1.2],center=true); }
glb/cad_10dd02fcfde6.glb
Create a drill press jig consisting of a square base and a central cylindrical guide. Start with a square plate measuring 50mm by 50mm with a thickness of 2mm. Centered on this plate, add a cylinder with an outer diameter of 19.6mm and a height of 6mm, extending upwards from the surface. To create the guide's interio...
$fn=80; module drill_base() { color("silver") { difference() { translate([-60,-60,0]) cube([120,120,30]); translate([0,0,-1]) cylinder(d=20,h=32); translate([-61,-1,25]) cube([122,2,6]); hull() { translate([-61,-4.5,30]) cube([122,9,0.1]); translate([-61,-1,26]) cube([122,2,0.1]); }...
glb/cad_694a7d866113.glb
Create a parametric base for boardgame markers by constructing a tapered cylinder with a bottom diameter of 15mm, a top diameter of 17mm, and a total height of 5mm, using 80 facets for a smooth circular finish. Cut a rectangular slot through the center of the cylinder to hold a marker; this slot should be 1mm wide and ...
diameter = 17; height = 5; edges = 80; slit_width = 1; slit_spacing = 0; slit_offset = 5-3.5; $fn = edges; module main() { difference() { cylinder(h=height, d1=diameter-2, d2=diameter); translate([0,0,(height)*0.5-slit_offset]) cube([diameter-slit_spacing, slit_width, height+0.02], center=true); translate...
glb/cad_db6952d5acf0.glb
Create a bead chain connector consisting of two interlocking parts: a base and a top cap. For the base, create a rounded rectangular housing with an overall length of 13.5mm and a width of 4.5mm. The walls should be 1.5mm thick. Inside this housing, carve out two spherical voids, each 4.5mm in diameter, positioned to...
ball_diameter = 4.5; wall_thickness = 1.5; cord_thickness = 1.5; top_tolerance = 0.2; $fn = 60; module base(ball_diameter,wall_thickness) { difference() { translate([-ball_diameter*1.5,-ball_diameter*0.5,-ball_diameter*1/3-wall_thickness*1/2]) { minkowski() { cube([3*ball_diame...
glb/cad_5bb5eeadb94c.glb
Create a Coffee Capsule Holder by starting with a solid rectangular block that is 110mm long, 55mm wide, and 40mm high. From the top face of this block, remove two identical vertical cylindrical holes to create slots for the capsules. Each hole must have a diameter of 45mm and a depth of 38mm, leaving a 2mm thick base ...
count=2; diameter=45; height=40; $fn=60; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } difference() { union() { ...
glb/cad_bba1a29d7132.glb
Create a microscope adapter plate with a total height of 18mm. The main body is formed by the intersection of four cylinders, each with a diameter of 322.5mm, centered at coordinates (0,0), (±108.7, 0), and (0, ±101.5). From this volume, remove a central vertical cylinder with a diameter of 33.6mm that passes completel...
diax = 105.5; diay = 119; hght = 18; sqy = 107.5; sqx = 86; diamic = 33.6; $fn=100; module main() { difference() { union() { intersection() { translate([-108.7,0,0]) cylinder(h=hght,d=3*sqy); translate([108.7,0,0]) cylinder(h=hght,d=3*sqy); translate([0,-101.5,0]) cylinder(h=hght,d=3*sqy); transl...
glb/cad_eb4b79d1e6fd.glb
Create a Clockwork Frame Holder consisting of a hollow rectangular frame and a mounting lug. Construct the main frame as a rectangular shell with outer dimensions of 58mm by 57mm and a height of 20mm. The walls should be 1mm thick with all exterior corners rounded to a radius of 4mm. The interior cutout should also hav...
$fn=80; extra=0.01; rad=4; height=20; wall=1; xLen=56; yLen=56; yLenPlay=1; { translate([rad-wall,rad-wall,0]) difference() { minkowski() { cube([xLen+wall*2-rad*2,yLen+wall*2+yLenPlay-rad*2,height]); cylinder(r=rad,h=0.001); } translate([wall,wall,-extra]) minkowski() { ...
glb/cad_8d682e79beff.glb
Create a Pot Vase by extruding a hexagonal ring profile vertically. Start with a base shape consisting of two concentric hexagons with a diameter of 50mm; the outer hexagon should be offset by 10mm and the inner hexagon by 8mm to create a wall thickness of 2mm. Extrude this profile to a total height of 150mm. During th...
height = 150; diameter = 50; off_set = [10, 8]; twist = 180; scal_e = 1.6; slices = 100; fn = [6, 30]; module vase_creator(height, diameter, off_set, twist, scal_e, slices, fn){ linear_extrude(off_set[0] - off_set[1], $fn = fn[1]) offset(r = off_set[0]){ circle(d = diameter, $fn = fn[0]...
glb/cad_4d9bcf7467ec.glb
Create a TomTom GPS ball-joint socket adapter plate. Start by creating a circular base plate with a diameter of 40mm and a thickness of 2mm. At the center of this plate, create a spherical socket designed to hold a 17mm ball. This socket should be a hemispherical depression with a radius of 8.5mm, centered on the pla...
threads(turns=2, internal=false); module threads(diameter=10, pitch=2, turns=2, internal=false, ccw=false, dia_ref=1, $fn=96) { n = turns*$fn; astp = 360/$fn; pstp = pitch/$fn; p = thread_profile(pitch, internal, dia_ref); stack = [ for(i=[0:n]) let(a = i*astp, z=i*pstp) thread_...
glb/cad_07ebacdc7e10.glb
Create a mixing cup for concrete by constructing a conical frustum with a height of 100mm, a base diameter of 70mm, and a top diameter of 110mm. Within this main body, carve out a void created by the convex hull of three cylinders, each with a diameter of 5mm and a height of 80mm. Position these three cylinders such th...
$fn=80; difference() { union() { cylinder(d1=70,d2=110,h=100); translate([10,0,38]) { rotate([0,22,0]) { hull() { translate([0,30,0]) cylinder(d=5,h=80); translate([0,-30,0]) cylinder(d=5,h=80); translate([30,0,0]) cylinder(d=5,h=80); } } } } translate([0,0,100]) cylinder(d=150,h=20); }
glb/cad_6cceef0828ee.glb