Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Universal Customizable Euro Cabinet Hinge Drill Guide. The tool consists of a main body with a thickness of 5mm, featuring a central circular cutout for a 35mm diameter hinge cup. Position a large circular hole with a radius of 17.5mm plus a 3mm margin at the center, offset by a 3mm tab distance. Add two pil...
inch2mm = 0.3048/12*1000; mm2inch = 12/0.3048/1000; $fn=120; font = "Liberation Sans:style=Bold"; overlapTol = 0.1; labelText = "46526"; fontSize = 3.5; textHeight = 0.5; tabDist = 3; cupDiameter = 35; cupTol = 0.2; pilotDiameter = 3/32*inch2mm; cabScrewWidth = 0; cabScrewDepth = 9.5; doorScrewWidth = 45; d...
glb/cad_99f3953f7735.glb
Create an Ikea label frame with a clip. The main body is a rectangular frame with a total width of 70mm (66mm for the label plus 4mm margins) and a height of 32mm (26mm for the label plus 6mm offset). The clip mechanism consists of a cylindrical rod with a diameter of 3.2mm that runs along the top. This rod is integr...
cd=3.2; $fn=34; quality_offset=1; lo=6; lw=66; lh=26; module cab(){ hull(){ translate([0,1,0]) cube([3,6,1]); translate([0,0,-1]) cube([3,8,1]); }; }; module bow(){ difference(){ cylinder(h=lw+4,d=10,center=false); union(){ cylinder(h=lw+4,d=4.,center=false); ...
glb/cad_0d0f9c810387.glb
Create a US-025A ultrasonic sensor model. Start with a central rectangular PCB base measuring 43.8mm in width, 20mm in depth, and 1mm in height, centered on the origin. At the four corners of this base, create four cylindrical holes with a diameter of 2.1mm that pass vertically through the board. The centers of these...
pcb_x = 43.8; pcb_y = 20; pcb_h = 1; holes_d = 1.9+0.2; holes_dist = 0.6; xducer_d = 15.8+0.5; xducer_h = 13.1; xducer_shift = 2.7; xtal_x = 10.6+0.2; xtal_y= 4.2 + 0.1; xtal_h = 3.4; US_025A(pins=1); module US_025A(pins=0) { echo(pins); US_025A_pcb(pins); shift = pcb_x/2 - xducer_shift - xducer_d/2; ...
glb/cad_3344f7401621.glb
Create a sensor and servo holder consisting of a main vertical plate and a small perpendicular base. Start with a rectangular base plate measuring 50mm wide, 24mm deep, and 35mm high, centered on the origin. Carve out a large central rectangular section from this plate, leaving a wall thickness of 2mm, to create a thin...
use <US-025A.scad> use <fastener_2.scad> base_x = 50; base_y = 20+4; base_h = 40-5; width = 2; holes_dist = 14.5; holes_d = 3; text = "BZ Radar"; font = "Liberation Sans"; difference() { base_create(); } module base_create() { difference() { cube([base_x,base_y,base_h],center=true); translate...
glb/cad_6e14b80c69c6.glb
Create a Filament Swatch box consisting of a bottom base and a top lid. The bottom base is a rectangular tray with a width of 83.5mm and a height of 31mm. It features two side walls and a front wall. The side walls contain a series of 15 aligned circular hinge holes, each with a diameter of 1.8mm, spaced to accommoda...
part="both"; type="lay_down"; swatches=15; side_by_side=1; text1 = ""; text2 = "FILAMENT"; text3 = "SWATCHES"; wiggle=0.1; wiggle_hinge=.4; wiggle_x=.4; holder_wall=1; swatch_wall=2; dist=1; hinge_d_percent=.8; th_hinge=2; w=79.5; h=30; th=2.2; round=5; textsizebig=20; textsize=10; font = "Impact"; ha...
glb/cad_e1baaccf0a70.glb
Create a roomba under-table barrier consisting of a vertical panel and a horizontal mounting plate joined at a right angle. The vertical panel should be 120mm wide, 45mm high, and 3mm thick. Attached perpendicularly to the top edge of this panel is a horizontal mounting plate that is 120mm wide, 3mm thick, and 20mm dee...
panel_width = 120; panel_height = 45; panel_thickness = 3; mounting_plate_depth = 20; brace_thickness = 2; brace_length = 20; hole_radius = 1; cube([panel_width, panel_thickness, panel_height]); difference(){ rotate([90,0,0]) cube([panel_width, panel_thickness, mounting_plate_depth]); translate([panel_widt...
glb/cad_2f99701ebe9b.glb
Create a Beaglebone holder consisting of a flat base plate and four tapered support pins. Start with a rectangular base plate measuring 86.36mm in length, 54.61mm in width, and 4mm in thickness. Along the length of this base, remove four rectangular slots from the bottom surface to create a cutout pattern: one slot fro...
$fn = 100; bb_width = 54.61; bb_length = 86.36; bb_thickness = 20; fp_rail_thickness = 4; fp_rail_height = 15; fp_width = bb_width + 0.5; fp_length = bb_length; fp_thickness = 4; pin_diameter_start = 2; pin_diameter_end = 5; pin_height = 15; hole_1 = [14.605, 3.175, 0]; hole_2 = [14.605, 51.435, 0]; hole_3 = [80.6...
glb/cad_e50362a6d322.glb
Create a flux solder paste syringe cap by constructing a composite geometric shape. Start with a cylindrical base that has a diameter of 12.8mm and a height of 11mm. From the top of this base, extend the shape upwards to a total height of 36mm by creating a hull that transitions from the circular base into a thin recta...
$fn=180; module cap() { difference() { color("red") hull() { cylinder(d = 12.8, h = 11); translate([-0.5, -5, 36]) cube([1, 10, 0.1]); } hull() { translate([0, 0, -1]) cylinder(d = 11, h = 12); translate([-0.05, -4.2, 35.3]) cube([0.1, 8.4, 0.1]); } } } module holder() { ...
glb/cad_93e382551f5e.glb
Create a Parametric M.2 Mockup Generator with a base PCB thickness of 0.8mm. The main body is a rectangular slab 22mm wide and 30mm long. At the bottom edge, create a contact area 4mm high. Within this area, remove two rectangular sections to create "keys" (notches). Position the first notch at 6.625mm from the cente...
edge_width = 19.85; edge_length = 4; edge_r = 0.5; hole_r = 1.75; key_r = 0.6; key_length = 3.5; pcb_thick = 0.8; bottom_edge_keepout = 5.2; top_gnd_pad_r = 2.75; bottom_gnd_pad_r = 3; bottom_gnd_pad_offset = 1; bevel = 0.3; bevel_angle = 20; $fn=50; module key_cutout() { union() { translate([0, key_leng...
glb/cad_f7127075a6c2.glb
Create a housing for a USB Type C Adjustable Power Supply. Start with a main body that is 79.3mm wide, 43.2mm high, and 34.25mm deep, featuring rounded corners with a 4mm radius. The interior should be hollowed out to accommodate a power supply body of 71.8mm by 39.2mm by 34.25mm, leaving a wall thickness of 2mm. At th...
include <MCAD/nuts_and_bolts.scad>; include <MCAD/shapes.scad>; dps_face = [79.3, 43.2, 4.0]; dps_body = [71.8, 39.2, 34.25]; dps_latch = [76.0, 13.0, 12.5]; dps_latch_indent = [3.5, 2.0]; dps_lip = [2.0, 4.0, 2.0]; dps_tolerance = 0.5; vent_hole = 3; vent_wall = 1; terminal = [34.0 , 15.2, 20.0]; terminal_bolt_s...
glb/cad_17b11f280139.glb
Create a Customisable Project Case consisting of a bottom base and a top cover. The main body is a hollow rectangular shell with exterior dimensions of 80mm length, 60mm width, and 30mm height, featuring a wall thickness of 2mm and a fillet radius of 2mm on the corners. The base includes four PCB mounting posts. Each ...
Length = 80; Width = 60; Height = 30; WallThickness = 2; FilletRadius = 2; VentType = "VentHoles"; VentWidth = 1.5; FasteningType = "Push"; NumberOfFastenings = 2; FasteningTabThickness = 2; FasteningHoleDiameter = 2; BackPanelType = "IntegratedWithBase"; FrontPan...
glb/cad_f8846c463cf1.glb
Create a hood for a C64C case by constructing a hollowed-out shell with a total width of 66mm. Start with a solid body created by extruding a polygon with vertices at [0,0], [72,0], [89.8,11], and [2.5,11] along the width axis. To hollow out the interior, remove a smaller extruded polygon with vertices at [0,0], [100,0...
$fn=36; width=66; all(); module all() { difference() { minkowski() { body(); sphere(2); } translate([0,3,1]) hollow(); translate([-2,-2,0]) cube([85,width+5,3]); #translate([63,12,-14]) cylinder(h=5,d=6.5); } fixings(-2); fixings(width-3); } module fixings(yOff) { for(i=[1:9]){ translate([...
glb/cad_34fcbcdb847c.glb
Create a battery holder consisting of a flat rectangular base with four cylindrical pins. Start by creating a rectangular plate measuring 105.2mm in length, 29.5mm in width, and 1.4mm in thickness. At each of the four corners of the plate, add a vertical cylinder with a diameter of 2.4mm and a height of 10mm. Position ...
bat9v_x = 26+0.2; bat9v_y = 17.1+0.2; bat9v_h = 18; bat9v_w = 2; bat18650_holder(); module bat18650_holder() { bat_x = 105.2; bat_y = 29.5; bat_w = 1.4; hole_d = 2.8; holes_dx = 91.7+hole_d/2; holes_dy = 21.8+hole_d/2; pin_h = 10; pin_d = hole_d-0.4; x_shift = holes_dx/2+1; y_s...
glb/cad_8b14c62563f9.glb
Create a parametric ring holder for a Honeycomb Storage Wall. Start by constructing a hollow cylinder with an inner diameter of 50.1mm, a height of 21.1mm, and a wall thickness of 2mm. At the base of the cylinder, integrate a hexagonal insert designed to fit into a honeycomb grid. This insert should extend from the c...
include<../hex plug library.scad>; innerDiameter = 50.1; height = 21.1; connectorLength = 5; breakWidth = 0.2; baseThickness = 0; baseHoleDiameter = 0; tolerance = 0; plugStyle = "insert"; JustTesting = false; $fn=100; wallThickness=2; useInsert = plugStyle == "insert" ? true : false; holder(innerDiameter=in...
glb/cad_9e2c6fa20424.glb
Create a HEPA filter enclosure holder by starting with a rounded rectangular block measuring 50mm in length, 17.8mm in width, and 57.5mm in depth, with corner radii of 2mm. From this main body, remove a central rectangular cavity to house the filter, measuring 10mm in length, 17.8mm in width, and approximately 45.5mm...
use <MCAD/boxes.scad> layerHeight = 0.4; extrusionWidth = 0.68; grani = 32; screwTotalLength = 83; bWidth = 17.8; bLength = 50; bDepth = 47.5+10; zazor = 0.3; difference() { translate([0,0,bDepth/2]) roundedBox([bLength,bWidth,bDepth], 2, false, $fn=grani); spaxT20(screwTotalLength); translate([17,0,0]) spaxT20(s...
glb/cad_98617eb966d9.glb
Create a cable holder with a total length of 16mm and a width of 7mm. Start with a base plate 2.4mm thick. At one end, center a vertical hole for a screw; this hole should be a frustum starting with a diameter of 3.2mm at the bottom and widening to 6mm at the top. From the center of the screw hole, extend a rectangul...
velikost = 16; sirka = 7; material = 2.4; kabel = 6; sroub_s = 3.2; sroub_v = 6; tisk = "p"; $fn=95; module hacek(){ difference(){ union(){ translate([sirka/2,0,0]) cylinder(h=material, d=sirka); translate(...
glb/cad_412dfc3d39c8.glb
Create a cable holder by starting with a base structure that is 15mm long, 7mm wide, and 2.4mm thick. At one end, create a cylindrical mounting point with a diameter of 7mm and a height of 2.4mm. Within this cylinder, center a vertical hole that transitions from a 3.2mm diameter at the bottom to a 6mm diameter at the t...
velikost = 15; sirka = 7; material = 2.4; kabel = 5; sroub_s = 3.2; sroub_v = 6; $fn=95; module hacek(){ difference(){ union(){ translate([sirka/2,0,0]) cylinder(h=material, d=sirka); translate([sirka/2,-sirka/2,0]) cub...
glb/cad_b1682d292993.glb
Create an electronics standoff consisting of a central hollow cylinder and a circular base. The main cylinder should have an outer diameter of 8mm and a total height of 20mm, with a concentric hole drilled through the center with a diameter of 2.5mm. At the bottom of the cylinder, attach a circular base plate with a d...
drilldiam = 2.5; standoffheight = 20; standoffwidth = 8; squareYN = 0; platethick = 2; platewidth = 25; nodges = 1; ribsh = 4; ribsw = 4; ribst = 2; screwdiam = 0; module plate(ww,tt) { translate([0,0,tt/2]) difference() { if(squareYN) cube([ww, ww, tt], center=true); else cyl...
glb/cad_c35129028838.glb
Create a filter valve cover for a face mask by constructing a shallow, hollowed-out cylinder. Start with an outer cylinder that has a diameter of 40mm and a total height of 8.5mm. From the top face of this cylinder, remove a concentric inner cylinder with a diameter of 36mm and a depth of 6.5mm. This process leaves a f...
$fn=50; size=36; wall=2; height=6.5; translate([0,0,height+wall]) rotate([180,0,0]) difference(){ cylinder(h = height+wall, d = size+wall*2); cylinder(h = height, d = size); }
glb/cad_fcec48c799d6.glb
Create a filter valve cover for a face mask by constructing a thin-walled hollow cylinder. Start with an outer cylinder that has a diameter of 38mm and a total height of 7.5mm. From the center of this shape, remove a smaller concentric cylinder with a diameter of 36mm and a height of 6.5mm, leaving a flat base with a t...
$fn=50; size=36; wall=1; height=6.5; rim = false; translate([0,0,height+wall]) rotate([180,0,0]) cap(); module cap(){ difference(){ cylinder(h = height+wall, d = size+wall*2); cylinder(h = height, d = size); } if (rim == true){ translate([0, 0, height/4]) rotate_extrude(convexity = 10, $fn = 30) translate([size/2,...
glb/cad_42c3854643c1.glb
Create a Fence Post Cap designed to fit over a rectangular post. The main body is a hollow rectangular shell with an outer width of 58mm and depth of 78mm, and a wall thickness of 3mm. The interior cavity should be 52mm by 72mm with a depth of 20mm. All exterior vertical corners must be rounded with a 3mm radius. The ...
inwidthA = 52; inwidthB = 72; inheight = 20; thickmat = 3; pyrheight = 10; flatsize = 10; cro = 3; cri = 0; $fn = 16; dscrewA = 4; dscrewB = 4; wc = 0.01; difference() { translate([0,0,(inheight+thickmat-cro)/2]) { minkowski() { hull() { cube([inwidthA+thickmat*2-cro*2, inwidt...
glb/cad_b04cff1d2746.glb
Create a Vise Jaw-cover by starting with a solid rectangular block measuring 110.5mm in width, 27mm in height, and 22mm in depth. Carve out a central rectangular section from the top, leaving a wall thickness of 5mm on the bottom and sides, and a remaining top thickness of 5mm, resulting in a U-shaped channel that is 1...
wvise = 100.5; hvise = 17; tmat = 5; hwgroove = 3.9; vwgroove = 3.9; nvgro = 3; mshape=2; wmagnet=8.3; lmagnet=8.3; tmagnet = 3.3; module magnet() { rotate([0,90,0]) { if (mshape==1) cube([mx,my,mz],center=true); if (mshape==2) cylinder(d=mx,h=mz, center=true,$fn =24); } } tx = wvis...
glb/cad_29b96fb30cde.glb
Create a bit wrench tool consisting of a central shaft and two cylindrical end-bodies. The central shaft is a rectangular bridge 80mm long, 2mm thick, and 10mm high. At each end of the shaft, create a cylindrical body with a height of 10mm. The first end-body should have a diameter of approximately 8.7mm, and the secon...
lw = 80; hw = 10; mt = 2; wbit1 = 4.4; bbit1 = 1; wbit2 = 6.7; bbit2 = 1; module base() { hull() { cylinder(d=wt1,h=mt,$fn = 32); translate([lw, 0,0]) cylinder(d=wt2,h=mt,$fn = 32); } translate([0,0,mt]) hull() { cylinder(d1=mt*3,d2=mt,h=mt,$fn = 12); translate([lw, 0,0]...
glb/cad_b3d4b107ccd5.glb
Create a bird bath consisting of a large outer cylinder with a radius of 100mm and a total height of 50mm. The top and bottom edges of this outer cylinder must be mitered (beveled) by 4mm. On the bottom face of the outer cylinder, create three thin rectangular grooves that extend across the diameter. These grooves sho...
use <text_on/text_on.scad> $fn=100; rad0=100; h0 = 50; rad1=60; rad2=60; rad3=60; tz1=5; tz2=20; tz3=35; ty1=25; ty2=25; ty3=25; rot1=0; rot2=120; rot3=240; mit=4; text="I tawt I taw a puddy tat!****"; difference() { mitercyl(rad0,h0,mit,mit); text_on_cylinder(t=text,r1=...
glb/cad_b5c4e8192f0d.glb
Create a peg-hole template tool consisting of a rectangular base plate with a thickness of 3mm. The plate's width is determined by the larger of the pin or hole diameters plus a 5mm margin. On one end of the plate, add two cylindrical guide pins, each with a diameter of 4.8mm and a height of 5mm extending upward from...
nguidepin=2; guidedistance=32; nsetouthole=2; setoutdistance=32; heightpin=5; diampin=5; diamhole=5; tolerance = 0.2; thickplate=3; module pin(ii) { dx = space+diampin/2+ii*guidedistance; dy=widthplate/2; diamp= diampin-tolerance; translate([dx,dy,0]) cylinder(d=diamp, h= heightpin+thickplate); } ...
glb/cad_fb15d211e59d.glb
Create a Braille cable label consisting of a flat rectangular plate with a thickness of 1.5mm. The plate should have a total width of 13mm and a length that accommodates the text "fridge" in Braille, with a minimum length of 25mm plus the cable diameter and margins. At one end of the plate, create a cable holder by ad...
labeltext = "fridge"; cablediam = 8; lablength = 25; labwidth = 10; thickness = 1.5; stifferspring = 1; cellroomx = 7.0; dotheight = 0.8; module rim() { difference() { cube([lo,wo,th]); translate([wr,wr,-0.5*th]) cube([li+sp,wi+sp*2, th*2]); } } module labelplate() { translate([wr+sp+cd...
glb/cad_673102de2e08.glb
Create a cable label consisting of a flat rectangular base and a curved cable clip. The base plate is 22mm long, 10mm wide, and 1.2mm thick. On the left side of this plate, create a cable clip by forming a semi-cylindrical arch with an inner diameter of 4.8mm and a wall thickness of 1.2mm. This arch should be integrate...
cablediam = 4.8; lablength = 16; labwidth = 8; thickness = 1.2; labeltext = ""; textfont = "Arial Black"; textappear=0; module rim() { difference() { cube([lo,wo,th]); translate([wr,wr,-0.5*th]) cube([li+sp,wi+sp*2, th*2]); } } module labelplate() { translate([wr+sp+cd+th, wr+sp,0]) cu...
glb/cad_cb5c2912d84b.glb
Create a Rumba ball percussion instrument consisting of two main parts: a hollow head and a handle. For the head, create a spherical shape with a diameter of 100mm, though it is slightly flattened along the Z-axis. Hollow out the center to create a cavity for filler. Inside this cavity, add a ribbed texture consistin...
$fn = 60; { union() { translate([0,0,-86]) color("yellow") madlo_kratke(); } union() { } } module hlavice() { difference() { union() { hull() { translate([0,0,11]) rotate([0,0,0]) cylinder(d=28,h=20,center=true); translate([0,0,60]) resize([70,70,120]) sphere(d=100); } } union() ...
glb/cad_745dfe43c745.glb
Create a portafilter funnel with a total height of 25mm. The object is a rotationally symmetrical hollow cone with a flat base and a tiered rim. The outer profile is defined by a wide base that tapers upward. The bottom of the funnel is a flat disc. The outer wall rises from the base and angles inward to form a rim. ...
portafilterDiameterInMM = 51; $fn=180; { funnelHighInMM = 25; funnelDiameterOffesetToFilterDiameterInMM = 10; PortaFilterForPrinting(); module PortaFilterForPrinting() { translate([0,0,funnelHighInMM]) rotate([0,180,0]) PortaFilterFunnelFirstDiffThenRotate(); ...
glb/cad_947095aa47fe.glb
Create a drill bit holder consisting of a series of aligned cylindrical sockets mounted on a flat base. The holder should accommodate nine bits with the following shaft and head diameters (in mm): [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [7.3, 20], [7.2, 21], and [7.1, 22], [7.1, 23]. Each socket has a shaft depth ...
set = SET ? SET : [ [7, 15, 20], [7, 16, 20], [7, 17, 20], [7, 18, 20], [7, 19, 20], [7.3, 20, 20], [7.2, 21, 20], [7.1, 22, 20], [7.1, 23, 20] ]; $fn=80; walls = 1; tolerance = 0.8; default_space = 8; tilt = 10; label = 12; depth = 25; mount = 20; module cyl(h, d) { tra...
glb/cad_121e96b7544a.glb
Create a drill bit holder consisting of three adjacent cylindrical tool slots integrated into a mounting base. Each slot is a vertical cylinder with a diameter slightly larger than the tool it holds (8mm, 9.4mm, and 8mm respectively) to allow for a 0.8mm tolerance. The cylinders are set within a base that tilts backwar...
shaftDepth = 20; set = SET ? SET : [ [8, 12, shaftDepth], [9.4, 14, shaftDepth], [8, 22, shaftDepth, "25 - 45"] ]; $fn=80; walls = 1; tolerance = 0.8; default_space = 8; tilt = 10; labelDepth = 12; depth = 25; mount = 20; frontLabelSpace = true; frontLabelHeight = 10; embossFrontLabelSpace = tru...
glb/cad_f35a06c11455.glb
Create a Flat Cable Holder. Start with a base consisting of a cylinder with a diameter of 7mm and a height of 2.4mm, centered at x=3.5mm, y=0, z=0. Attached to this cylinder, extend a rectangular block from the center of the cylinder's edge along the x-axis, with a width of 7mm and a height of 2.4mm, reaching a total l...
velikost = 17; sirka = 7; material = 2.4; kabel_x = 6; kabel_z = 2.5; sroub_s = 3.2; sroub_v = 6; $fn=95; module hacek_plochy(){ difference(){ union(){ translate([sirka/2,0,0]) cylinder(h=material, d=sirka); tran...
glb/cad_a860cede2783.glb
Create a beater adapter for an ice cream machine consisting of a vertical composite shaft. Start by creating a hexagonal prism with a flat-to-flat width of 9.5mm and a total height of 34mm, centered on the origin. Atop this hexagonal base, add a cylindrical section with a diameter of 8mm and a height of 26mm, positione...
intersection(){ union(){ translate([0,0,52])cylinder(26,d=8,$fn=36); hull(){ translate([0,0,52])cylinder(1,d1=9.5,d2=10,$fn=36); translate([0,0,26])cylinder(26,d=9.5,$fn=6); } translate([0,0,-8])cylinder(26+8,d=9.5,$fn=6); } cube([16,6,226],center=...
glb/cad_7b27bb0f1690.glb
Create a garden solar light fence bracket. Start with a rectangular base plate measuring 60mm wide, 30mm deep, and 2mm thick. Centered along the depth of this base, at a position 20mm from the left edge, create a vertical hole with a diameter of 3mm and a second, larger concentric hole with a diameter of 5.4mm. Attach...
pole_id =17.2; pole_len = 60; base_h = 60; base_w = 30; base_t = 2; hole_d = 3; difference() { union() { translate([0,0,0]) cube([base_h, base_w, base_t], center=false); translate([base_h*0.4,base_w*0.5,pole_len/5]) { rotate(a = [00, -60, 0]) rotate(a = [0...
glb/cad_524a7c20efcd.glb
Create a wallmount for a Mikrotik Routerboard 260GSX. Start with a central rectangular base measuring 25mm wide by 65mm long with a thickness of 3mm. Attach a perpendicular cross-piece to this base, centered along the length, measuring 93.8mm wide by 17mm deep and 3mm thick. On the main base, create two vertical holes...
spacing = 66.8; center_w = 25; center_l = 65; plate_th = 3; pin_d = 3; pin_h = plate_th + 3.6; pin_head_h = 1; pin_head_d1 = 3; pin_head_d2 = 7; pin_head_top_h = 0.6; margin = 13; cross_w = spacing + (pin_d * 2) + (margin * 2); cross_d = 17; cross_start = -(cross_w - center_w) / 2; cross_edge = 28; echo(spacing); ...
glb/cad_6c1953adaa33.glb
Create a Noodlemeter lid consisting of two concentric cylinders. First, create a base cylinder with a diameter of 97mm and a height of 3mm. On top of this, center a second cylinder with a diameter of 90mm and a height of 5mm. Cut a rectangular notch out of the side of both cylinders to create a measuring opening. This...
$fn = 360; noodleLength = 0.255; portionSize = 166; density = 0.99016; requiredArea = density * portionSize / noodleLength; echo("required area:", requiredArea); innerDiameter = 90; innerThickness = 5; outerDiameter = 97; outerThickness = 3; labelDepth = 0.4; function findSegmentAngle(r, startA, inc) = (r*r)/2 * ((...
glb/cad_33ad092090f7.glb
Create a multiplication table domino tile puzzle piece. Start with a rectangular base measuring 70mm in length, 30mm in width, and 4mm in height. Create a recessed inner area by removing a centered rectangular volume from the top, leaving a 2mm border around the edges. This inner area should have a depth of 3mm, resu...
epsilon=0.01; domino_lx=70; domino_ly=30; domino_inner_height=3; domino_height_outer=4; domino_border_width=2; domino_cutting_pattern_string=""; domino_cutting_pattern_predefined = 0; text_font_size=13; text="1x1= 1"; cut_width=2; cut_pos_x=6; module move(x=0,y=0,z=0,rx=0,ry=0,rz=0) { translate([x,y,z])rota...
glb/cad_62bda78a7568.glb
Create a storage box for multiplication domino tiles. The box is a solid rectangular prism with an overall length of 76.5mm, a width of 71mm, and a height of 10mm. Inside this volume, carve out ten identical rectangular slots to hold the tiles. Each slot must be 70.5mm long, 4.5mm wide, and 8.8mm deep. Position the f...
epsilon=0.01; domino_pieces=10; domino_lx=70.5; domino_ly=4.5; box_margin=3; box_padding=2; box_height=10; module move(x=0,y=0,z=0,rx=0,ry=0,rz=0) { translate([x,y,z])rotate([rx,ry,rz]) children(); } total_lx = domino_lx+2*box_margin; total_ly = domino_pieces*domino_ly + (domino_pieces-1)*box_padding + 2*box_ma...
glb/cad_c6ed2fdcd2b8.glb
Create a compensated saddle for a string instrument. The main body is a curved block with a total width of 75mm and a base thickness of 3mm. The top surface must follow a radius of 609.6mm. The saddle supports 6 strings. Position the strings with a total span of 57.7mm between the first and last string. For each strin...
echo(version=version()); $fn = 160*1; saddleLength = 3; maxSaddleLengthBehindSlot = 99; saddleWidth = 75; slotDepth = 4; saddleRadius = 609.6; saddleHeightAtFirstString = 6; saddleHeightAtLastString = 7; heightDifferenceLastToFirstString = saddleHeightAtLastString - saddleHeightAtFirstString; numberOfStrings =...
glb/cad_e7df75e2a3a9.glb
Create a Jacuzzi filter hook by constructing a large, thin circular ring with an outer diameter of 140mm, a wall thickness of 4mm, and a height of 3mm. Cut a gap into the top half of this ring to transform it into a C-shaped arc. At the bottom center of this arc, attach a small hollow cylinder with an outer diameter of...
diameter = 140.0; width = 4.0; height = 3.0; $fn=80; module hollowCylinder(diam, wid) { difference() { cylinder(height, d=diam, true); translate([0,0, -height]) cylinder(height*3, d=(diam-2*wid), true); } } module arc(diam, wid) { difference() { hollowCylinder(diam, wid...
glb/cad_ac2ddabfec6b.glb
Create a toilet lid hinge pin by starting with a central cylinder that is 23.7 mm long and 6.7 mm in diameter. Add two thin, disc-shaped friction rings to this main body, each with a diameter of 7.1 mm and a thickness of 0.65 mm. Position the first friction ring 9 mm from the base and the second friction ring 14.35 mm ...
plugLength = 23.7; plugDiameter = 6.7; frictionRingsDiameter = 7.1; frictionRing1Pos = 9; frictionRing2Pos = 14.35; $fn=80*1; cylinder(plugLength, d=plugDiameter, true); translate([0, 0, frictionRing1Pos]) { cylinder(0.65, d=frictionRingsDiameter, true); } translate([0, 0, frictionRing2Pos]) { cylinder(0.65, ...
glb/cad_cac997903ae9.glb
Create a fret board guard by starting with a base plate that is 83mm wide, 12.6mm long, and 1.05mm thick. The ends of this plate should be rounded with a radius of 6.3mm. From the center of this base, remove a rectangular section 63mm wide and 2.6mm long to create a slot. To form the walls of the guard, create a second...
fretBoardWidth = 63; fretWidth = 2.6; fretHeight = 1.1; baseWidth = fretBoardWidth + 20; baseLength = fretWidth + 2*5; baseHeight = fretHeight/2; edgeWidth = 1*1; edgeHeight = 1*1; $fn=90*1; module base(width, length, height) { translate([0,0, height/2]) { cube([width, length, height], true); tra...
glb/cad_382c12ea7e80.glb
Create a customizable top nut for a string instrument. Start by creating a base block with a width of 42.4mm, a length of 4.8mm, and a height determined by the string height (7.8mm) plus the diameter of the thickest string. The top surface must follow a true fretboard radius of 12 inches. Chamfer the bottom corners of...
echo(version=version()); $fn = 160*1; function isOdd(x) = (x%2) == 1; spacingMode = "Proportional"; nutLength = 4.8; nutWidth = 42.4; nutRadius = 304.8; stringSlotShape = "v-shaped"; stringHeight = 7.8; numberOfStrings = 6; pairStrings = false; pairedStringsDistance = 2; edgeDistanceToFirstString = 3; edgeD...
glb/cad_4ec5b461bb8f.glb
Create a Table Leg Foot by constructing a rectangular hollow sleeve with rounded corners. Start with a solid block that is 50mm wide, 40mm deep, and 30mm high. All exterior vertical edges must be rounded with a radius of 5mm. From the top face, remove a rectangular center section to create a hollow interior, leaving a ...
velikost_x = 50; velikost_y = 40; velikost_z = 30; vyska = 4; material = 3; zaobleni = 5; $fn=95; module noha(){ difference(){ hull(){ translate([zaobleni/2,zaobleni/2,0]) cylinder(h=velikost_z, d=zaobleni); translate([zaobleni/...
glb/cad_750b8a1ac2b1.glb
Create a Table Leg Round Foot by constructing a hollow cylinder with an outer diameter of 50mm and a total height of 30mm. The object should have a solid circular base with a thickness of 4mm. From the top of the cylinder, remove a concentric inner cylinder with a diameter of 44mm and a height of 26mm, leaving a wall t...
velikost = 50; velikost_z = 30; vyska = 4; material = 3; $fn=95; module noha(){ difference(){ cylinder(h=velikost_z, d=velikost); translate([0,0,vyska])cylinder(h=velikost_z-vyska, d=velikost-material*2); } } noha();
glb/cad_3c19e0ac3eda.glb
Create a HeroQuest field tray designed to hold game cards. The base is a flat plate with a thickness of 1mm. Construct an outer shell with a total width of approximately 61.5mm and a depth of 47.2mm. The outer walls should be 1.2mm thick. The four exterior corners of the shell are rounded using spheres with a diamete...
$fn=34; quality_offset=1; fields_sls=26; fields_sss=23.5; fields_dls=46; wall_b=1; wall_o=1.2; wall_i=0.8; wall_ir=8; space_above_fields=3; fields_ob=2.5; tray_lf=4; semicircle=fields_sls- 2*(fields_ob+wall_o); module other_wall_cylinder(){ height=wall_b+fields_sss+space_above_fields-(wall_o/2); cylind...
glb/cad_5ec41b1cb300.glb
Create a Vertical Filament Spool Parts storage system consisting of a central core, guide rails, and 12 removable bins. The central core is a cylinder with an inner diameter of 80mm and an outer diameter of 200mm, with a total width of 61mm. Create two guide rails that flank the core; these rails feature a series of ...
Outer_Spool_Diameter = 200; Inner_Spool_Diameter = 80; Inner_Spool_Width = 61; Resolution = 50; Lock_Tolerance = 0.15; Bins = 12; Lid = false; Locks = true; Split_Guides = true; Bin_Handle = "Flat"; Display = "All"; $fn=Resolution; Tolerance = 0 + 0.25; Max_Measurement = Outer_Spool_Diameter + 1; Outer_Spool_Radius ...
glb/cad_909a1481ce30.glb
Create a Graph Template tool with a height of 4mm. The main body consists of two intersecting rectangular arms, each 16mm wide. Each arm is formed by a rectangle with a length of 44.1mm (calculated as 38.1mm plus the 16mm width minus two 5mm corner radii) and a width of 6mm (16mm minus two 5mm corner radii), with all e...
track_lengths = [38.1, 38.1, 38.1, 38.1]; height = 4; arm_width = 16; pencil_track_width = 1; pencil_track_angle = 45; pencil_track_height = 1; inner_rounding = 5; outer_rounding = 5; $fn = 36; arms = track_lengths; width = arm_width; p_width = pencil_track_width; p_angle = pencil_track_angle; p_height = penci...
glb/cad_8a3c4b85dc05.glb
Create a Meter Box Key consisting of a cylindrical base and a protruding tab. Start by creating a cylinder with a radius of 8.25mm and a height of 13mm. On the top face of this cylinder, center a rectangular tab that is 15mm wide, 20mm long, and 4mm thick, with the top corners rounded by 2mm. Additionally, add a smalle...
include <BOSL2/std.scad>; $fn=60; k_height= 13; tab_height= 20; keychain_hole=1.5; hole_size=12.5; pythagorus = sqrt(hole_size^2-(hole_size/2)^2); difference(){ union(){ cylinder(k_height, r=16.5/2); translate([0,0,k_height+tab_height/2])cuboid([15,4,tab_height], rounding=2, except=BOTTOM); translat...
glb/cad_7430dae0e6e7.glb
Create a customizable case consisting of a main body and a separate cover. For the body, create a rectangular block with dimensions 70mm x 45mm x 60mm. Round the vertical corners with a 5mm radius and the bottom edges with a 2mm radius. Hollow out the center to create a shell with a wall thickness of 2mm, leaving the...
screw_d=2.9; screw_dk=5.6; screw_l=13; $fn=8; qo=1; o_body=true; o_cover=true; o_cover_custom=false; case_x=70; case_y=45; case_z=60; case_r=5; case_br=2; case_w=2; module cube_rcr(x,y,z,r,br=0){ hull(){ for (i=[[r,r,br],[r,y-r,br],[x-r,y-r,br],[x-r,r,br]]) translate(i){ cylinder(h=z...
glb/cad_680867dd272e.glb
Create a customizable case consisting of a main body and a matching cover. The body is a rectangular box with dimensions 70mm x 45mm x 60mm. The exterior corners are rounded with a 5mm radius. The body is hollowed out, leaving a wall thickness of 2mm. At each of the four corners, create a cylindrical pillar with a heig...
e="mc²"; $fn=8; qo=1; o_body=true; o_cover=true; case_x=70; case_y=45; case_z=60; case_r=5; case_br=2; case_w=2; module cube_rcr(x,y,z,r,br=0){ hull(){ for (i=[[r,r,br],[r,y-r,br],[x-r,y-r,br],[x-r,r,br]]) translate(i){ cylinder(h=z-br, r=r, center=false); rotate_extrude() ...
glb/cad_179c697bf097.glb
Create a Vector Optics Maverick Killflash protector consisting of a threaded base and a cylindrical casing. Start by creating a threaded ring using an M27x0.75 bolt profile with a height of 2mm. Hollow out the center of this ring with a cylinder 21mm in diameter to create the threaded walls. On top of this threaded b...
include <threadlib/threadlib.scad> outer_diam = 29; inner_diam = 21; thread_thickness = 2; killflash_thickness = 10; $fn=200; difference() { scale([0.97, 0.97, 1]) bolt("M27x0.75", turns=thread_thickness/0.75); translate([0, 0, -1]) cylinder(h=thread_thickness+2, d=inner_diam); } translate([0, 0, 0.97*thread_thi...
glb/cad_f0e3d20193f6.glb
Create an Installation of inductive sensor M8 consisting of three separate parts: a lower body, an upper body, and a sliding trolley. For the lower and upper bodies, create two mirrored components. Each should feature a central core formed by the hull of several cylinders: two primary cylinders with diameters transiti...
$fn = 120; translate([0,0,0]) konec_osa_Z_telo_spodni(); translate([0,0,70]) konec_osa_Z_telo_horni(); translate([0,0,35]) konec_osa_Z_vozik(); module vodici_tyc() { translate([0,0,0]) cylinder(d=8,h=70,center=true); } module konec_osa_Z_telo_spodni() { difference() { union() { hull() { ...
glb/cad_7d8224806b64.glb
Create a Y-junction connector consisting of three hollow tubes, each with an outer diameter of 22mm and a wall thickness of 2mm. The junction features one vertical main stem and two branches that split from the top of the stem at a 60-degree angle relative to each other. For each of the three tube sections, create a m...
tubed=22; tubeh=20; tubefn=2*tubed; wallt=2; lipr=1; liph=10; brancha=60; k=brancha/2; th1=tubeh+(tubed/2)*tan(90-((180-k)/2)); th2=tubeh+(tubed/2)/tan(k); difference(){ union(){ difference(){ union(){ translate([0,0,(wallt/2)])cylinder(d=tubed,h=(th1-(wallt/2)),$fn=tubefn); cylinder(d1=tubed...
glb/cad_80093370c719.glb
Create a Brandson Vertical Blower Cable and Remote Holder. Start by creating a base cylinder with a diameter of 134mm and a height of 9mm. Remove a concentric cylindrical core from this base with a diameter of 118mm and a height of 9mm to create a ring with a 2mm wall thickness. Attached to the side of this ring, cre...
$fn=150; extra = 0.1; dBlower = 134; dButtonRing = 118; hButtonRing = 9; wallThickness = 2; remoteWidth = 40; remoteLen = 75; remoteH = 8; plugExtra = 10; difference() { union() { cylinder(r=dBlower/2,h=hButtonRing); translate([0,-remoteWidth/2-wallThickness,0]) cube([dBlower/2+remoteH,remoteWidth+wallT...
glb/cad_25a52735e24a.glb
Create a face shield frame consisting of two concentric arcs and connecting elements, all with a uniform wall thickness of 1.8mm and a height of 10mm. First, create the front arc with a radius of 99mm, spanning from 23 to 157 degrees. At the two ends of this arc, add reinforcement cylinders with a radius of 1.8mm. ...
reinforcement_at_the_tips=1; rf_r=1; brim_at_tips=0; brim_th=0.3; hexagon_option=0; n_stacked=0; stacking_distance=0.2; infill_wd=0.6; width_multiplier=3; sup_height=10; wall_th=width_multiplier*infill_wd; fn = 100; r_front = 99; h_front=sup_height; ang_front =23 ; wdt_front = wall_th; front_rear_displacement=...
glb/cad_e8a6222d8255.glb
Create a Customizable Keychain Phone Stand. Start with a main rectangular body 60mm long, 20mm wide, and 10mm thick, with all edges rounded by a 3mm fillet. At one end of the body, create a notch for a phone by removing a rectangular section 10mm wide and 15mm deep, centered along the width and extending through the ...
use <BOSL/shapes.scad>; use <BOSL/transforms.scad>; $fa = 6; $fs = 0.2; $fn = 0; length = 60; thickness = 10; width = 20; notch_depth = 15; notch_width = 10; notch_offset = 15; fillet = 3; use_keychain_hole = true; hole_outter_radius = 9; hole_inner_radius = 7; hole_thickness = 5; hole_fillet = 2.5; hol...
glb/cad_591ed794be6b.glb
Create a Filament Swatch Generator card with overall dimensions of 88.9mm width, 50.8mm height, and 3mm thickness. The main body should have rounded corners with a 3mm radius. On the top surface, carve out a rectangular recessed text area measuring 83.8mm by 45.72mm, with a depth of 0.6mm, positioned 2.54mm from the ...
width=3.5*25.4; height=2*25.4; thickness=3; round=3; stepsize=0.2; steps=14; filament_brand="Veeology"; filament_color="copper"; filament_type="silk PLA"; hotend_temp=210; bed_temp=60; textarea_width=width-.2*25.4; textarea_height=height-.8*25.4; textarea_depth=.6; font="Liberation Sans:style=Bold"; $fn=45; differen...
glb/cad_221c567bcb73.glb
Create a Y-rod holder for an aluminum extrusion frame. Start with a rectangular base block measuring 42mm in width, 17mm in thickness, and 17mm in height. On the bottom face, center a rectangular notch for the extrusion slot that is 30mm wide, 6mm deep, and 6mm high. Add a thin support wall 6.8mm high along the back ...
screw_head_diameter = 11.4; screw_diameter = 5.3; hammer_nut_width = 7; holes_from_edge = 5.5; width = 42; height = 17; base_thickness = 3; thickness = 17; rod_diameter = 8; zip_tie_offset = 3; slot_width = 6; slot_depth = 3; with_support = 1; support_distance = 0.2; module y_rod_holder_base(){ cube([width...
glb/cad_f238a17bc7e1.glb
Create a Prusa i3 mk2 x-end for a 22mm leadscrew nut. Start with a main rectangular block measuring 17mm wide, 39mm deep, and 58mm high, centered on the X and Y axes. Add a cylindrical bearing holder base with a radius of 11mm and a height of 8mm, positioned at [0, -17, 0]. Fuse this to the main block using a small r...
use <bearing.scad> use <polyholes.scad> rod_distance = 45; module x_end_base(){ height = 58; translate(v=[-15,-9,height/2]) cube(size = [17,39,height], center = true); vertical_bearing_base(); translate(v=[0,-17,0]) poly_cylinder(h = 8, r=11, $fn=25); translate(v=[-7,-28.1,0]) cube(size = [8,4,8], center = ...
glb/cad_b740c5c23bbc.glb
Create a Corner Clamp designed for one-inch webbing. Start by constructing a central cylinder with a radius of 40.64mm and a total height of 27.94mm, centered on the origin. Add two thin ring-shaped discs, each 3.175mm thick with an outer radius of 45.72mm, positioned at the top and bottom of the central cylinder. To c...
inch = 25.4; inner_height = 1.1 * inch; ring_height = 0.125 * inch; ring_offset = (inner_height / 2) + (ring_height / 2) - 0.1; inner_radius = 1.6 * inch; outer_radius = 1.8 * inch; module solids(){ translate([0,0,ring_offset]) cylinder(h=ring_height, r=outer_radius, center=true); translate([0,0,-ring_...
glb/cad_cd5cbafce352.glb
Create a corner clamp for 1-inch webbing by constructing a central cylindrical body with a radius of 40mm and a height of 25.2mm, centered on the origin. Add a tapered rim to both the top and bottom of this cylinder, where the radius expands from 40mm at the body to 43.2mm over a height of 3.2mm. Surround these tapered...
strap_width = 25.2; inner_height = strap_width; chamfer_height = 3.2; chamfer_offset = (inner_height / 2) + (chamfer_height / 2); ring_height = 2.0; ring_offset = (inner_height / 2) + chamfer_height + (ring_height / 2); inner_radius = 40; outer_radius = inner_radius + chamfer_height; relief_radius = 1.7; module s...
glb/cad_d56d4d7bdb1a.glb
Create a Koppla wallmount bracket by starting with a main rectangular block measuring 62mm wide, 20mm deep, and 44mm high. Hollow out the center of this block by removing a smaller rectangular volume of 54mm by 17mm by 44mm, leaving a shell with walls approximately 4mm thick on the sides and 1.5mm thick on the top and ...
schuko=!true; cable=!schuko; $fn=200; translate([0,0,10]) rotate([90,0,0]) { difference() { cube([62,20,44], center=true); translate([0,3,3]) cube([54,17,44], center=true); if(schuko) { translate([0,25,-20]) cylinder(d=45, h=10, center=true); } if(cable) { rotate([90,0,0]) cylinder(d=...
glb/cad_f28036648209.glb
Create a Koppla wallmount bracket. Start with a solid rectangular base measuring 65.5mm in width, 49mm in depth, and 22.5mm in height. Carve out a central rectangular cavity to hold the power strip, measuring 55mm wide, 42mm deep, and 22.5mm high, leaving a wall thickness of 3.5mm on the sides and bottom. At the rear...
$fn=123; schuko=true; cable=!!schuko; sx=55; sy=42; sz=12; cr=15/2; cy=30-cr; wall=3.5; difference() { union() { cube([wall+sx+wall, wall+sy, wall+sz+7]); translate([-20,0,0]) cube([20+wall+sx+wall+20, wall+1, wall+sz+7]); translate([0,wall,0]) cylinder(r=3, h=wall+sz+7, $fn=4); translat...
glb/cad_e2e3f845b0cb.glb
Create an Upside Down Round Bottle Holder by starting with a solid cylinder 68.5mm in diameter and 88.9mm in height. From this main body, remove a central vertical cylinder with a diameter of 27.813mm that extends through the entire height, starting from 4mm below the base. Next, carve out a spherical void with a radiu...
$fn = 256; bottleOD = 63.5; lidOD = 26.924; lidLength = 27.94; oal = 88.9; wallThickness = 5; fit = .889; difference(){ cylinder(oal,d=bottleOD+wallThickness,center=false); translate([0,0,-4])cylinder(oal+10,d=lidOD+fit,center=false); translate([0,0,bottleOD/2+lidLength+5])sphere(bottleOD/2+fit); transl...
glb/cad_95cb64e6d52d.glb
Create a pipe clip consisting of a circular ring and two clamping ends. The ring has an internal diameter of 55mm, an external diameter of 60mm, and a height of 10mm. Remove a 20-degree wedge from the ring to create an opening. At the two ends of the ring opening, add two rectangular clamping blocks. Each block should...
id = 55; od = 60; height = 10; gap = 20; ends=2; hd=3.5; cd=7; cdepth=3; blobsize=3; sw=15; sdepth=10; nholes=0; block_holes=[1]; sh=10; support_loc=0; support_rot=0; flat_bottom=false; clamp_width=5; clamp_depth=10; clamp_height=10; clamp_hole=3; clamp_holew=1; $fn=100; g=1/(nholes+1); fracs=[for (i=[g:g:(1-g)]) each...
glb/cad_4673194ceba6.glb
Create a pipe clip with an internal diameter of 55mm, an outer diameter of 60mm, and a height of 10mm. The main body is a hollow cylinder with a 20-degree gap removed from the circumference to allow the pipe to be inserted. At the two open ends of the ring, add rectangular clamp extensions. Each extension should be 10...
id = 55; od = 60; height = 10; gap = 20; ends=2; hd=3.5; cd=7; cdepth=3; blobsize=3; sw=15; sdepth=10; nholes=0; block_holes=[1]; sh=10; support_loc=0; support_rot=0; flat_bottom=false; clamp_width=5; clamp_depth=10; clamp_height=10; clamp_hole=3; clamp_holew=1; $fn=100; g=1/(nholes+1); fracs=[for (i=[g:g:(1-g)]) each...
glb/cad_9b6bce756130.glb
Create a customisable pipe clip consisting of a circular ring and a mounting block. The ring should have an internal diameter of 55mm, an outer diameter of 60mm, and a height of 10mm. Incorporate a small gap of 1 degree in the ring's circumference to allow it to clamp. At the ends of the ring gap, add two rectangular ...
id = 55; od = id+5; height = 10; gap = 1; closed = true; ends=2; hd=3.5; cd=7; cdepth=3; blobsize=3; sw=15; sdepth=10; nholes=0; block_holes=[1]; sh=10; support_loc=0; support_rot=0; flat_bottom=false; clamp_width=5; clamp_depth=10; clamp_height=10; clamp_hole=3; clamp_holew=1; clamp_cddepth=2; clamp_cd=5; clamp_cdn=2;...
glb/cad_1a8165ae1680.glb
Create a command flat cable clip by starting with a base rectangular block measuring 26.9mm in length, 15.88mm in width, and 5.08mm in height. Center this block on all axes. From this base, remove a central rectangular slot that is 38.1mm long, 7.62mm wide, and 2.54mm high, also centered on all axes. To create the cabl...
difference() { cube([25.4*1.0623, 25.4*.625, 25.4*0.2], true); #cube([25.4*1.5, 25.4*.3, 25.4*0.1], true); #rotate([0,0,60]) { translate([0, 0, 25.4*0.05 ]) { cube([25.4*2, 25.4*.3, 25.4*0.2], true); } } #rotate([0,0,30]) { cube([25.4*2, 25.4*.3, 25.4*0.1], t...
glb/cad_b2a8f5cebed5.glb
Create a Minimalist LACK Joiner bracket with a thickness of 3mm. The main body is formed by two mirrored polygonal plates joined at a right angle. Each plate starts as a rectangle 30mm long and 40mm high, then tapers from the 40mm height down to a 3mm thickness over a remaining length of 15mm, resulting in a total widt...
height = 40; width = 45; straight_length = 30; thickness = 3; screw_hole_size_outer = 6; screw_hole_size_inner = 3; screw_length = 16; screw_head_length = 3; tiny_offset = 0.01; difference(){ union(){ rotate([90, 0, 0]){ linear_extrude(thickness){ polygon([ ...
glb/cad_b8818a5ae879.glb
Create a shopping cart token consisting of a main coin body and an attached keyring tab. The main body is a cylinder with a diameter of 23.25mm and a height of 2.33mm. Attached to the side of this cylinder is a smaller circular tab that serves as the keyring anchor; this tab has a total diameter of 4.5mm and is positio...
font = "Berlin Sans FB Demi"; lines_text = [ "not", "1", "euro" ]; lines_size = [ 4.0, 8.0, 4.0 ]; lines_y = [ 6.5, 0.0, -6.5 ]; token_height = 2.33; coin_diameter = 23.25; flip_upside_down = false; coin_border_radius = 1.6; coin_text_height = 0.4; ring_hole_diameter = 4.5; ring_hole_distance = 2; smooth_rad...
glb/cad_d4a590df682f.glb
Create a Nut for Intex Kayak Paddle by constructing a hollow, tapered cylindrical assembly with a total height of approximately 47.8mm. Start with a base ring 4.5mm high, tapering from an outer diameter of 46.3mm to 47.8mm, with an internal bore starting at 43.0mm. Above this, add a second section 16mm high that main...
include <BOSL/constants.scad> use <BOSL/masks.scad> use <BOSL/threading.scad> use <conic_threading.scad> $fa=1; $fs=1; rod_diameter = 40.5; thread_height = 15.3; thread_pitch = 10.9/4; thread_depth = 1.3; thread_delta_d=1.7; nut_thread_diameter_1 = 42.7; nut_thread_diameter_2 = 42.7-thread_delta_d; slop = 0.5; nu...
glb/cad_4d11a9e00ce1.glb
Create a power strip mount consisting of a central body and two outer mounting wings. The central body is a rectangular frame with a total width of 56.5mm, a height of 45.5mm, and a thickness of 14mm. All exterior corners of the body must be rounded with a 4mm radius. Cut a large rectangular opening through the center...
stripWidth=52.5; stripHeight=41.5; cordHoleWidth=30; cordHoleHeight=stripHeight-5; switchWidth = 40; switchPos = 5; mountWidth=14; thickness=2; wingHoleDiameter=4.5; wingWidth=20; wingThickness=thickness*2; cornerRadius=4; totalWidth=stripWidth + 2 * thickness; totalHeight=stripHeight + thickness; $fa=6; $fs=0.4; t...
glb/cad_3c8459827916.glb
Create a Slice Mosquito Assembly Jig designed to hold a hotend and a socket. Start with a solid rectangular block with an overall width of 29.4mm, a depth of 24.4mm, and a height of 38.6mm. Carve a central cavity into the block to accommodate the hotend. This cavity begins at the bottom and is formed by the hull of tw...
nozzle_width=.4; $fs=2*nozzle_width; $fa=2*nozzle_width; extrusion_width=nozzle_width; initial_layer_height=.2; layer_height=.5*nozzle_width; target_thickness=3.2; floor_thickness=initial_layer_height+round((target_thickness-initial_layer_height)/layer_height)*layer_height; surface_thickness=round(target_thickness/l...
glb/cad_41db385a87c9.glb
Create an Allen Key Cap by constructing two stacked geometric volumes. First, create a hexagonal prism with a flat top and bottom, measuring 5mm in height, to serve as the base. Directly on top of this base, place a truncated cone with a total height of 2mm. This cone should taper from a circular bottom with a diameter...
height = 5; cylinder(d=7, h=height, $fn=6); translate([0,0,height]) cylinder(2, r1=6, r2=3);
glb/cad_5e02ddf4790a.glb
Create a bath shower head attachment starting with a central rectangular block measuring 31mm wide, 15mm deep, and 37mm high. Carve a large semi-circular channel through the center of the block from front to back to create a cradle. Within this main body, remove a cylindrical section with a radius of 12mm and a height ...
difference() { union() { difference() { difference() { difference() { difference() { difference() { difference() { difference() { translate([-15.5,-7.5,0]) cube([31,15,37]); translate([0,0,17]) rotate([97,0,0]) c...
glb/cad_b1769902e678.glb
Create a Push Ring consisting of a circular band and an attached protruding pusher. First, construct a ring with a thickness of 2mm and a height of 8mm, centered around an inner circumference of 55mm. The cross-section of this band should be rounded at the top and bottom edges with a radius of 1mm. Attached to the oute...
$fn = 64; ringThickness = 2; ringHeight = 8; fingerCircumference = 55; pusherHeight = 10; pusherSurfaceRadius = 5; ringInnerRadius = fingerCircumference / (2 * PI); module ringSlice() { union() { square([ringThickness, ringHeight]); translate([ringThickness/2, 0, 0]) circle(r=ringThickness/2); ...
glb/cad_e0b4a6a0d5b3.glb
Create a lightsaber wall mount consisting of two separate parts: a mounting ring and a base. First, construct the mounting ring. Create a block 13mm wide, 34mm high, and 13mm deep. Attach a cylinder with a radius of 17mm and a height of 13mm to one side of the block to create a rounded profile. Hollow out the center ...
print=0; $fn = 96; wall = 3; pommel_r = wall + 44/2; pommel_h = 12 + wall; pommel_c = 32; base = [wall, 2*pommel_r, pommel_r*3/2]; screwR = 2; screwH = 4; ring_r = wall + 34/2; ring_h = 10 + wall; ring_c = 32; ring = [ring_h, 2*ring_r, ring_h]; if (print <= 1) translate([0, -10, ring_h]) rotate([180, 0, 0]) ...
glb/cad_8fe6659d6861.glb
Create a 90-degree angle bracket consisting of two rectangular plates joined at a right angle. Each plate must be 40mm in height, 30mm in width, and 5mm thick. Position the plates so they share a common 30mm edge, forming an L-shape. In the center of each plate, create a circular hole with a diameter of 10mm that passe...
$fn = 72; height = 40; width = 30; thickness = 5; hole_offset = 25; hole_size = 10; 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]] ); } difference() { ...
glb/cad_13d26b98ec9c.glb
Create a Bicycle Phone Mount consisting of a flat base with integrated phone-holding arms. Start with a central rectangular base plate that is 86.1mm wide (phone width 78.7mm plus two 3.7mm walls), 25mm deep, and 3.6mm thick. At the center of this base, create a circular cutout to accommodate a headset screw. This cu...
phone_width = 78.7; phone_height = 164.3; phone_thickness = 11.6; wall = 3.6; mount_width = 25; $fn = 100; headset_screw_diameter = 6; headset_screw_head_d = 12; headset_screw_head_h = 7.2; vertical_offset = 12.5; mount(); module mount_base(){ union(){ horizontal_strip(); translate([0, -vertical_o...
glb/cad_3a274a217793.glb
Create a Prusa i3 MK3S Left Z-Axis Cam Mount. Start by constructing a main mounting bracket that is 112mm long, 33mm wide, and 5mm thick, featuring 2mm chamfers on the bottom back edges. Integrate a secondary support arm extending from this base, measuring 125mm by 3.6mm by 12mm with 1.5mm chamfers on the bottom back e...
include <./Libraries/BOSL/BOSL.scad> include <./Libraries/regular-polygons.scad> include <./Libraries/Buildbox/buildbox.scad> GRID = true; SHEET = true; tol=0.001; Extra_Mount_Depth = 3; translate([50,125,0]) color("orange") cam_mount(); module cam_mount() { difference() { union() { t...
glb/cad_afd4ad5aa0a2.glb
Create a Trash Can Ring by combining two concentric cylindrical shells. First, create a main outer ring with an outer diameter of 203.2mm and a height of 5mm. This ring should have a hollow center with a diameter of 190.2mm (calculated as the outer diameter minus twice the rim width of 6.5mm). Attached to the bottom ...
outer_d = 203.2; rim_w = 6.5; ring_h=5; lip_h=10; lip_w=5; $fn=360; module ring(diameter, height, rim_width, lip_width, lip_height){ difference(){ union(){ cylinder(h=height, d=diameter); translate([0,0,-lip_height]) cylinder(h=height+lip_height, d=diameter-rim_width*2); ...
glb/cad_7844874c5ce7.glb
Create a Deliverer tip holder consisting of a rectangular base plate and an attached money clip. The base plate is 100mm high, 50mm wide, and 4mm thick. At the top of the base plate, integrate a money clip. The clip begins with a semi-circular spine with an inner diameter of 8mm and a wall thickness of 2mm. This spin...
$fs = 0.1; $fa = 1; BASE_HEIGHT = 100; BASE_WIDTH = 50; BASE_THICKNESS = 4; CLIP_INNER_DIAMETER = 8; CLIP_WALL_THICKNESS= 2; CLIP_HOLD_OFFSET = 40; CLIP_HOLD_LENGTH = 20; CLIP_CLEARANCE = 0.9; CLIP_RIFFLE_DIAMETER = min (1, CLIP_CLEARANCE * 2); CLIP_LIFT_HELP_BASE_OFFSET = 4; CLIP_LIFT_HELP_TOP_OFFSET = 7; TR...
glb/cad_f2016a822291.glb
Create a car trash can insert as a hollow rectangular box with outer dimensions of 133.35mm in length, 131.762mm in width, and 127mm in height. The box should have a flat floor with a thickness of 6.3mm and four vertical walls, each 4.762mm thick. The interior cavity begins 6.3mm from the bottom and extends to the top ...
$fn = 256; Length = 133.35; Width = 131.762; Fit = 0; Height = 127; Wall_Thickness = 4.762; Floor_Thickness = 6.3; Groove_Width = 2.338; Groove_Depth = 6.3; difference(){ Outside_Box(); Groove_Box(); }; module Outside_Box(){ difference() { cube([ Length, Width, Height ], cent...
glb/cad_d2c5203c6c93.glb
Create a Car Trash Can Insert consisting of a hollow rectangular box with a solid base. The outer dimensions of the box are 133.35mm in length, 131.762mm in width, and 114.3mm in height. The walls are 4.762mm thick, and the floor is 6.3mm thick. At the top rim of the box, create a centered rectangular tab that runs a...
$fn = 256; Length = 133.35; Width = 131.762; Fit = .508; Height = 114.3; Wall_Thickness = 4.762; Floor_Thickness = 6.3; Tab_Width = 2.338; Tab_Height = 6.3; tab_width = Tab_Width - Fit; Outside_Box(); Tab_Box(); module Outside_Box(){ difference() { cube([ Length, Width, Height ],...
glb/cad_bb8fe2370fd9.glb
Create a CNC Router Adapter consisting of a thin-walled hollow cylinder. Start by creating a main outer cylinder with a diameter of 71.226 mm and a height of 25.4 mm. From the center of this volume, remove a smaller concentric cylinder to create the inner bore. This inner cylinder should have a diameter of 64.77 mm and...
$fn = 256; mm=25.4; OD = 2.795*mm; ID = 2.550*mm; OD_height = 1.0*mm; ID_height = ((OD_height+.5)*mm); O_fit=.0196*mm; P_fit=.0196*mm; difference() { cylinder( OD_height, d=OD-O_fit, center=false ); translate([0,0,-.5]) cylinder( ID_height, d=ID+P_fit, center=false ); }
glb/cad_635e4a649dd8.glb
Create a Shop Fox Switch Box Cover by starting with a rectangular plate measuring 80.264mm in length, 81.026mm in width, and 3.048mm in height. Round the four corners of the plate with a radius of 15.24mm. In the center of the plate, create a rectangular cutout for the switch that is 36.576mm long and 21.209mm wide. ...
$fn = 256; Length = 80.264; Width = 81.026; Height = 3.048; Switch_Length = 36.576; Switch_Width = 21.209; Switch_Height = Height+5; Screw_Hole_Diameter = 5.715; difference(){ cuberad( Length, Width, Height, 7.62*2, "corner" ); color("red" ) cube([ Switch_Wid...
glb/cad_0652043f1271.glb
Create a round token called a TUIT. Start with a solid cylinder that has a diameter of 25mm and a total height of 2mm. Carve a concentric cylindrical depression into the top of the token, leaving a border of 1.4mm around the edge; this inner area should have a depth of 0.3mm, leaving a base thickness of 1.7mm. In the ...
diameter=25; keychain=false; layer_height=0.15; text="TUIT"; layers=2; total_height=2; border=1.4; font_size=6; inscription=layers*layer_height; inner_diameter=diameter-2*border; base_height=total_height-inscription; eps=0.001; eps2=2*eps; ic_diameter=diameter*0.7; ic_inner_diameter=ic_diameter-2*border; hole_diam...
glb/cad_5b861a6ad221.glb
Create a Shop Fox Inlet Adapter consisting of three stacked coaxial sections. Start with a bottom cylindrical sleeve that has an inner diameter of 150.876mm, an outer diameter of 159.376mm (based on a wall thickness of 4.25mm), and a height of 55mm. On top of this base, add a middle transition section with a height o...
include <Dust-Collection-Modules/helpers.scad>; $fn = 256; thickness = 4.25; bottom_inside_diameter = 150.876; bottom_length = 55; middle_length = 40; Fitting_OD_Big = 102.387; Fitting_OD_Small = 101; Fitting_Taper_Distance = 33.401; Fitting_Wall_Thickness = 2.54; Fitting_Straight_Length = 35.4; top_inside_diamet...
glb/cad_bc9f7ec8ad33.glb
Create a minimalistic keychain box for hearing aid batteries consisting of a main box and a matching sheath. First, construct the box by creating a hull of two cylinders, each with a diameter of 11.32mm and a height of 4.1mm. Position the cylinders so their centers are 12.9mm apart along the Y-axis. Hollow out the ce...
$fn = 90; cyl_notch = true; closed_sheath = 2; d_tolerance = 0.5; d_batt_specified = 7.9; d_batt = d_batt_specified + d_tolerance; h_batt_extra = 0.5; h_batt_specified = 3.6; h_batt = h_batt_specified + h_batt_extra; box_bottom = 0.7; d_hoop = 5; trace_size = 0.65; box_wall = 1.66*trace_size; hoop_wall = 2*trace_s...
glb/cad_29bfcf187c1c.glb
Create a Prusa Protective Face Shield headband. Start by constructing two semi-circular concentric bands to form the main headband structure. The outer diameter of the headband is 170mm with a thickness of 2.5mm and a height of 20mm. The bands should be connected by straight side sections, with the distance between the...
$VisorDistance = 43; $VisorDiameter = 200; $VisorLengthAfterPin = 10; $HeadBandDiameter = 170; $HeadBandThickness = 2.5; $HeadBandHeight = 20; $HeadBandChamfer = 0.5; $HeadBandStraight = 15; $ConnectorOffset = 1; $PinDiameter = 5; $PinLength = 7.5; $PinChamfer = 1...
glb/cad_c03b44d022e1.glb
Create a modular pegboard panel with a thickness of 6.35mm. The panel is a rectangular plate measuring 127mm by 76.2mm (5 columns by 3 rows of holes), with rounded corners using a radius of 3.175mm. On the face of the board, create a grid of circular holes. Each hole has a diameter of 7.35mm (6.35mm plus a 1mm clearan...
holeColumns = 5; holeRows = 3; screwHoleMode = "separate"; roundedBoard = true; mode = "single"; renderMode = "board"; holeDistance = 25.4; holeDiameter = 6.35; holeClearance = 1; boardThickness = 6.35; screwHoleDiameter = 3.3; testMode = "none"; boardCornerRadius = roundedBoard?holeDiameter / 2:0; holeOff...
glb/cad_8cc242ba0117.glb
Create a COVID-19 Face Shield protector consisting of two concentric circular rings connected by supports. First, create an inner ring with a radius of 80mm and a height of 16mm. Hollow out the center of this ring by removing a cylinder with a radius of 78.5mm and a height of 30mm. On the outer edge of this ring, add...
$fn=200; D1 = 80; D2 = 90; A1 =23; difference(1){ union() { translate([0,0,0]) cylinder(r= D1 ,h=16,center=true); translate([D1-5, -26, -5]) rotate (a=[90, 0, 76]) linear_extrude(2) text("S"); translate([D1-2, -17, -5]) rotate (a=[90, 0, 77]) linear_extrude(2) text("U"); translate([D1-1, -8, -5]) rotate (a=[90, 0, 83...
glb/cad_0a035309dc88.glb
Create a COVID-19 face shield headband consisting of two concentric circular rings connected by lugs. First, create an inner ring with a radius of 80mm and a thickness of 16mm. Create an outer ring with a radius of 90mm and a thickness of 16mm. Both rings should be centered on the same axis. On the outer ring, add t...
$fn=200; D1 = 80; D2 = 90; A1 =23; difference(1){ union() { translate([0,0,0]) cylinder(r= D1 ,h=16,center=true); translate([D1-5, -26, -5]) rotate (a=[90, 0, 76]) linear_extrude(2) text("S"); translate([D1-2, -17, -5]) rotate (a=[90, 0, 77]) linear_extrude(2) text("U"); translate([D1-1, -8, -5]) rotate (a=[90, 0, 8...
glb/cad_39c9cb1b7f29.glb
Create a magnetic ball mount base. Start by constructing a truncated cone with a bottom diameter of 26mm, a top diameter of 15mm, and a height of 10mm. At the bottom of this cone, create a cylindrical cavity for a magnet that is 20mm in diameter and 3mm deep, centered and extending downwards from the base. On top of th...
min_wall_size = 3.0; magnet_dia = 20; magnet_h = 3; bottom_dia = 20; $fn = 120; fudge = 1/cos(180/$fn); ball_mount(); module ball_mount(){ real_dia = 15; base_dia = (bottom_dia < (magnet_dia+min_wall_size*2) ) ? (magnet_dia+min_wall_size*2) : bottom_dia; translate([0,0,11+4]) sphere(d=11.75); transl...
glb/cad_991bf61c9f75.glb
Create a wall-mounted mask holder by starting with a hexagonal base that is 20mm in diameter and 2.5mm thick. From the center of this base, extend a vertical hexagonal pillar with a diameter of 8mm and a height of 40mm. At the top of this pillar, add a hexagonal sphere with a diameter of 8mm. Finally, attach a horizont...
cylinder(h=2.5, d = 20, $fn = 6,center=true); translate([0,0,20]) cylinder(h=40, d = 8, $fn = 6,center=true); translate([0,0,40]) sphere(d=8,$fn=6); translate([0,7.5,40]) rotate([90,0,0]) cylinder(h=15, d = 8, $fn = 6,center=true); translate([0,15,40]) sphere(d=8,$fn=6);
glb/cad_6ea28eccab75.glb
Create an adjustable strap for a face shield by starting with a rectangular base 180mm long, 15mm wide, and 0.5mm thick. Round the two far ends of the strap by adding semi-cylindrical caps with a 15mm diameter centered on the width. Along the center line of the strap, create a series of 18 circular holes, each 6mm in...
holes=18; pegs=2; holeDim=6; thickness=0.5; length = 180; width = 15; holeDelta = (length-20)/(holes-1+pegs); $fn=120; difference(){ union(){ cube([length,width,thickness]); translate([0,width/2,0])cylinder(d=width,h=thickness); translate([length,width/2,0])cylinder(d=width,h=thickness); ...
glb/cad_9348d6f1e163.glb
Create a vacuum cleaner sharp adapter consisting of a hollow, tapered shell. The outer geometry begins with a conical section 46.101mm long, tapering from a diameter of 56.769mm at the base to 58.42mm. This is followed by a straight cylindrical section 5.7mm long with a diameter of 58.42mm. Above this, add a transition...
$fn = 256; Outside_Diameter_Small_End = 56.769; Outside_Diameter_Big_End = 58.42; Taper_Distance = 46.101; Wall_Thickness = 2.54; Straight_Length = 5.7; Shark_Outside_Diameter_Small_End = 38.862; Shark_Outside_Diameter_Big_End = 39.751; Shark_Taper_Distance = 39.751; Shark_Wall_Thickness = 2.54; Shark_Straight_Length...
glb/cad_eb4457f5486e.glb
Create a dust collection adapter consisting of three stacked coaxial sections with a uniform wall thickness of 4.25mm. Start with a bottom cylindrical base that has an inside diameter of 101.6mm and a height of 55mm. On top of this base, add a middle transition section with a height of 40mm that tapers linearly from th...
$fn = 256; thickness = 4.25; bottom_inside_diameter = 101.6; bottom_length = 55; middle_length = 40; top_inside_diameter = 57.7; top_length = 45; difference() { outside(bottom_inside_diameter, bottom_length, thickness); inside(bottom_inside_diameter, bottom_length); } difference() { translate([ 0, 0, ...
glb/cad_534810c3a929.glb
Create a rectangular bathroom supply organizer box with outer dimensions of 136.114mm in length, 83.994mm in width, and 50.8mm in height. The box should have a wall thickness of 2.54mm and a floor thickness of 6.3mm, creating an open-top hollow interior. In the floor of the container, create two vertical screw holes ...
$fn = 256; Length = 131.572; Width = 78.994; Fit = 0; Height = 50.8; Wall_Thickness = 2.54; Floor_Thickness = 6.3; Screw_Holes_On = true; Screw_Hole_Diameter = 5.08; Amount_Of_Screw_Holes = 2; Chamfer_Adjust = 3.5; difference() { cube([ Length+Fit+(Wall_Thickness * 2), Width+Fit+(Wall_Thickness ...
glb/cad_b79011dd3ea9.glb