Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Miniature Base Magnet Applicator for a 60mm base. Start by creating a main cylinder with a radius of 32mm and a total height of 8mm. From this main body, remove a smaller concentric cylinder starting at a height of 4mm with a radius of 30.2mm to create a shallow dish. In the center of the bottom surface, creat...
baseSize=60; magnetDiameter=6; magnetThickness=1.5; module __Customizer_Limit__ () {} fingerRadius=baseSize/5; baseZ=4; fingerZ=10; $fn=50; difference(){ cylinder(h=baseZ*2, r=baseSize/2+2); translate([0,0,baseZ]) cylinder(h=baseZ+0.1, r=baseSize/2+0.2); translate([0,0,baseZ-magnetThickness]) cylinder(h=m...
glb/cad_c4f8cf97be5c.glb
Create a Miniature Base Magnet Applicator by starting with an ovaloid cylinder that is 120mm long, 92mm wide, and 8mm tall. Hollow out the center of this shape to create a basin that is 4mm deep, leaving a wall thickness of 2mm around the perimeter. In the center of the basin floor, create a cylindrical hole with a dia...
xDim=0.6; yDim=0.35; magnetDiameter=6; magnetThickness=1.5; module __Customizer_Limit__ () {} fingerRadius=8; fingerZ=10; baseZ=4; $fn=100; width=100; difference() { scale([xDim,yDim]) cylinder(h=baseZ*2, r2=width/2+2, r1=(width-3)/2+2); translate([0, 0, baseZ]) scale([xDim,yDim]) cylinder(h=baseZ+0.1, r2=(w...
glb/cad_8e85c3bea8e1.glb
Create two insulating sleeves for near-field probes. Each sleeve consists of a long shaft and a circular ring at one end. For the shaft, create a cylinder with an outer diameter of 4.44mm (calculated as a 2.7mm wire diameter plus 0.87mm wall thickness on all sides) and a length of 75mm. Hollow out the center with a 2....
WireDiameter = 2.7; OuterRing = 23; InnerRing = 15; Length = 75; BeadDiameter = 10.7; BeadLength = 20.7; WallThickness = 0.87; Width = WireDiameter + 2*WallThickness; Edge = Width * tan(45/2); Epsilon = 0.01; $fn = 50; module shaft() { translate([Epsilon,0,0]) rotate([0, 90, 0]) cylinder(d = WireDiamet...
glb/cad_abc5079b5c74.glb
Create a box for screwing dies and taps with overall dimensions of 220mm in length, 100mm in width, and 14mm in height. The main body is a rounded rectangular block with corner radii of 5mm. The bottom of the box is recessed; create a hollow interior by removing a smaller rounded rectangular volume from the base, leavi...
$fn=100; dyl_s=220; sir_s=100; vys=14; vys2=3; pol=5; sir=sir_s-pol; dyl=dyl_s-pol; module roh () { cylinder (r=pol, h=vys); } module roh1 () { cylinder (r=pol, h=vys2); } module roh2 () { cylinder (r=pol-3.2, h=vys2); } module block () { hull(){ translate ([pol,pol,0]) roh(); translate ([pol,sir,0]) roh(); translat...
glb/cad_f1d7d2b52834.glb
Create a box for screwing dies and taps with overall dimensions of 220mm in length, 100mm in width, and 17mm in height. The main body is a solid block with rounded corners of a 5mm radius. The top surface is recessed, leaving a 3mm high outer rim around the perimeter. Inside the box, carve out several specific voids s...
$fn=100; dyl_s=220; sir_s=100; vys=17; vys2=3; pol=5; sir=sir_s-pol; dyl=dyl_s-pol; module roh () { cylinder (r=pol, h=vys); } module roh2 () { cylinder (r=pol-3, h=vys2); } module block () { hull(){ translate ([pol,pol,0]) roh(); translate ([pol,sir,0]) roh(); translate ([dyl,sir,0]) roh(); translate ([dyl,pol,0])...
glb/cad_fdfa6cec174b.glb
Create a box for screwing dies and taps. Start by constructing a solid rectangular base with rounded corners, measuring 225mm in length, 104.3mm in width, and 33.3mm in height, with a corner radius of 7mm. Hollow out the center of this block to create a shell with a wall thickness of 2mm. The interior cavity should be ...
$fn=100; dyl_s=221; sir_s=100.3; vys=29.3; pol=5; tl_f=2; tl=tl_f*2; vys_f=vys+tl; dyl_fs=dyl_s+tl; sir_fs=sir_s+tl_f; pol_f=pol+tl_f; sir_f=sir_fs-pol_f; dyl_f=dyl_fs-pol_f; module roh_f () { cylinder (r=pol_f, h=vys_f); } module futral () { hull(){ translate ([pol_f,pol_f,0]) roh_f(); translate ([pol_f,sir_f,0]) r...
glb/cad_2db0010ed817.glb
Create a magnetic hook for USB cables by starting with a main rectangular block that is 3.5mm thick, 44mm wide, and 22mm high. From this block, remove a cylindrical hole with a diameter of 15.5mm and a depth of 1.6mm, centered vertically at 11mm and positioned against the side face to accommodate a magnet. To form the ...
magd=15.5; magt=1.6; hig=22; thi=3.5; difference () { cube([thi,44,hig]); translate ([0,44-hig/2,hig/2]) rotate ([0,90,0]) cylinder (d=magd,h=magt, $fn=50); } module h2 () { cube([thi,15,hig]); } module h1 () { rotate ([0,0,235]) translate ([-3.5,0,0]) h2(); rotate ([0,0,315]) translate ...
glb/cad_49b2e90254a8.glb
Create a customizable safe S hook consisting of two mirrored, interlocking curved arms. Each arm is formed by a swept profile with a material thickness of 5mm. The inner diameter of the curves is 15mm. Each arm is a partial ring with an arc angle of 100 degrees. The cross-section of the hook is circular, but the edge...
$fn= $preview ? 16:64; d1=5; d2=15; angle=100; chamfer=45; d3=d2+2*d1; for(b=[0,1]) mirror([b,0,0]) mirror([0,b,0]) t([d3/2-d1/2,0,0]){ r(90-angle) halfHook(d3,d1,d1,d1/2,angle=270+angle-90+1,chamfer); } module halfHook(d=10,h=10,wall=3,f=1,angle=180,chamfer=0.001){ i(){ cylinderRounded(d=[d-2*wall,d],h=h,r=[f,...
glb/cad_978dbdf31031.glb
Create a Button Cell Holder block. Start with a rectangular base measuring 50mm in depth (X), 125mm in width (Y), and 17.4mm in height (Z). Cut a slope into the top of the block at a 7-degree angle relative to the X-axis. Within this block, carve two distinct sections of cylindrical grooves to hold button cell batteri...
batteries = [ [ [10, 16.0, 2.0], [10, 20.0, 1.6], [9, 20.0, 2.5], [8, 20.0, 3.2], [8, 24.5, 3.0] ], [ [10, 6.8, 2.15], [8, 7.9, 3.6], [10, 6.8, 2.6], [6, 7.9, 5.35], [10, 11.6, 2.05], [9, 11.6, 3.0], [7, 11....
glb/cad_43bd0dd46011.glb
Create a Filament Hinge Box consisting of a base, a lid, and a latch. Construct the base as a rectangular container with an outer wall thickness of 1.6mm. The interior should be divided into a grid of 2x2 cells, each with internal dimensions of 15mm x 15mm and a height of 13mm. The internal walls separating the cells ...
cellInsideX = 15; cellCountX = 2; cellInsideY = 15; cellCountY = 2; cellWallThickness = .6; lidCellWallHeight = 50; baseCellWallHeight = 50; lidInsideZ = 0; lidThickness = 1.6; baseInsideZ = 13; outsideWallThickness = 1.6; hingeClearance = .2; filamentDiameter = 2; filamentClearance = .1; showBase = true;...
glb/cad_966db86208d1.glb
Create a Gridfinity Storage Box Label by starting with a rounded rectangular base measuring 97.70mm in width, 27.95mm in height, and 1.00mm in thickness, with a corner radius of 3.6mm. On the top surface of this base, add raised text with a thickness of 1.00mm. Position the primary label "M3" on the left side, starti...
text_size_predefined="M3"; text_size_configurable=""; text_size_size=12; textstring1="Bolts"; textstring2="Nuts"; textstring3="Washers"; textstring4="Heatset Inserts"; text_size_text=4.5; fontname="Pathway Gothic One"; text_type="raised"; w=97.70; h=27.95; th=1.00; round=3.6; wall=2; linesep=1.4; text_s...
glb/cad_31b5a877d6a1.glb
Create a printer enclosure LED light strip hook with a total height of 10mm. Start with a base brace that is 2mm thick and 32mm long. From the end of this brace, extend a straight bracket arm 37mm long and 3mm thick. At the end of this arm, create a curved section by extruding a 3mm thick arc with a radius of 8.5mm, co...
ENCLOSURE_TUBE_RADIUS = 8.5; LIGHT_STRIP_W = 9.5; light_strip_thickness = 2.25; bracket_h = 10; brace_thickness = 2; bracket_thickness = 3; light_strip_dist_from_bracket = 5; light_strip_below_bar = 20; brace_additional_length_from_bar = 15; light_strip_clip_inset = 2; light_strip_clip_bottom_w = 1.5; $fn=40; func...
glb/cad_b579b17273f5.glb
Create an i3 Cable Guide designed to secure cables to a threaded rod. Start by creating a main cylindrical ring with an outer diameter of 13.8mm and an inner hole of 9.8mm to fit a 10mm rod, with a total height of 4mm and a wall thickness of 1.9mm. Cut a rectangular notch out of the side of this ring to create an open ...
rod_size = 10; reduction = .2; clip_height = 4; wall_thickness = 1.9; cable_count = 4; cable_diameter = 3.1; cable_spacing = 0; hook_only = false; module __Customizer_Limit__ () {} clip_ext_diameter = rod_size+2*wall_thickness; cable_hold_ext_diameter = cable_diameter+2*wall_thickness; fn=50; clip_length = cabl...
glb/cad_071130ddfe09.glb
Create a drilling guide and dust collector. Start with a central vertical guide tube that is a cylinder 16mm in diameter and 35mm high. Bore a hole through the center of this cylinder with a diameter of 8.2mm. To make the drill bit easier to insert, add a spherical cap with a diameter of 12.1mm centered at the top of t...
drill_diameter = 8.2; guide_height = 35; guide_diameter = 16; plate_thick = 3; plate_width = 80; collector_width = 80; collector_depth = 30; collector_height = 35; collector_thick = 1; module plate(w,t) { translate([0,0,0.5 * plate_thick]) difference() { cube([w, w, t], center=true); cube([w/1.25, ...
glb/cad_eb015b101ab3.glb
Create a Plumb Bob tool consisting of a weighted conical body and a top attachment piece. First, construct the main weighted body. Start with a cylinder 21mm in diameter and 15mm in height. Transition the top of this cylinder into a tapered cone that reaches a height of 25mm total. Within the center of this body, cre...
include <../../lib/relativity.scad/relativity.scad> d_nail_hole = 2.4; d_nut = 17; d_plumb = d_nut + 4; fn = 36; $fn = fn; module upper() { differed("cut") { hulled("hull") rod(d=d_nut-0.4, h=8, anchor=bottom, $class="hull") align(top) rod(d=3, h=8, anchor=bottom); class("cut") hul...
glb/cad_b0ca03f8f4c0.glb
Create a shelf hook with a total width of 10mm and a wall thickness of 3mm. The main body is an L-shaped bracket with a back vertical section 50mm high and a bottom horizontal section 30mm deep. At the top of the back section, create a clamping slot to hold a shelf by adding two anchor tabs: the first tab is a 5mm wide...
hook_width=10; hook_height=50; hook_depth=30; hook_thickness=3; hook_front_height=15; inner_curve_radius=5; curve_detail=80; anchor_width=5; anchor_height=3; shelf_thickness=8; ellipsis=0.2; rotate([0, 270, 0]) union() { cube([hook_width, hook_depth-inner_curve_radius, hook_thickness]); ...
glb/cad_4931b891819b.glb
Create a three-way corner connector for 20mm diameter rods. Construct three orthogonal cylinders, each 42mm long with an outer diameter of 26mm and an inner bore of 20mm, meeting at a central vertex to form a right-angle junction. At the intersection of these cylinders, add three triangular fins, each 20mm in size and ...
$fn=100; p=42; t=20; difference() { translate([0,0,12-5+1]) rotate(90-atan(1/sqrt(2)),[1,-1,0]) difference() { union() { rotate(90-atan(1/sqrt(2)),[-1,1,0]) translate([0,0,-12]) cylinder(h=12, r=25/2+1); cylinder(h=p, r1=25/2+1, r2=25/2); rotate([-90,0,0]) cylinder(h=p, r1=25/2+1, r2=25...
glb/cad_e9218221e825.glb
Create a peep hole plug for a tent corner piece. Start by constructing a main vertical cylinder with a height of 12mm and a top radius of 9.9mm and a bottom radius of 10.1mm. Attach a thin, flat circular base to the bottom of this cylinder with a radius of 13.5mm and a height of 2mm. To make the part a hollow cap, remo...
$fn=321; difference() { union() { cylinder(r1=20/2+.1, r2=20/2-.1, h=12); cylinder(r=20/2+3.5, h=2); } translate([0,0,3]) cylinder(r=20/2-2, h=12.01-3); }
glb/cad_deace2682773.glb
Create a banana plug bracket consisting of two identical rectangular plates, each 27mm wide, 24mm deep, and 3mm thick. For each plate, create a base shape by combining a 27mm by 24mm by 3mm block with a slightly smaller 27mm by 20mm by 3mm block centered along the depth axis. On each plate, center two circular holes ...
$fn = 123; module banana_base() { difference() { hull() { translate([2,0,0]) cube([5+12 + 5 + 12+5 - 2-2, 6+12+6, 3]); translate([0,2,0]) cube([5+12 + 5 + 12+5, 6+12+6 - 2-2, 3]); } translate([5+12 + 5/2-4/2, -.01, -.01]) cube([4, 1.01, 3.02]); translate([5+12 + 5/2-4/2, 6+12+6-1, -.01])...
glb/cad_f799ad5e59f7.glb
Create an inclined foot for a flower pot by constructing a geometric hull between a base cylinder and a rectangular block. Start with a cylinder at the bottom with a radius of 10mm and a height of 2mm. Above this, position a rectangular block measuring 10mm wide, 5mm deep, and 5mm high, centered relative to the cylinde...
$fn=88; difference() { hull() { translate([20/2, 20/2, 0]) cylinder(r=20/2, h=2); translate([5, 20/2, 2.5]) rotate([45,0,0]) cube([20-2*5, 5, 5]); } translate([-.01, 20/2-2.25/2+.75, 2.5]) rotate([45,0,0]) cube([20.02, 2.125, 6]); translate([20/2, 20/2, -.01]) cylinder(r=17/2, h=.21); }
glb/cad_7e3c4dc1deb2.glb
Create a slim can stabilizer adapter with a total height of 38mm. The outer shape is a cylinder with a maximum diameter of 67mm. The base starts with a slightly tapered profile, transitioning from a diameter of 62mm at the very bottom to 67mm at a height of 8mm, where it remains a constant 67mm cylinder until it reache...
$fn=123; difference() { union() { hull() { translate([0,0,0]) cylinder(r=(67-5)/2, h=.1); translate([0,0,8]) cylinder(r=67/2, h=.1); } translate([0,0,8]) cylinder(r=67/2, h=38-8-8); hull() { translate([0,0,38-8]) cylinder(r=67/2, h=.1); translate([0,0,38-.1]) cylinder(r=(67-5)...
glb/cad_16b4fbb98694.glb
Create a hose connector consisting of a main barbed pin and a separate counter ring. For the pin, create a central vertical hole with a diameter of 3.5mm running through the entire length. The main body is a cylinder 28mm tall with an outer diameter of 4.5mm. Add a series of concentric ridges along the shaft: at the ...
$fn=123; difference() { union() { cylinder(r1=(10+.25)/2, r2=(10-1)/2, h=28); difference() { translate([0,0,0]) cylinder(r=(23+3)/2, h=3); difference() { translate([0,0,1.5]) cylinder(r=23/2, h=3.01); translate([0,0,1.5]) cylinder(r=16/2, h=3.01); } } translate([0,...
glb/cad_7ea1ed4de678.glb
Create a hose connector consisting of two separate parts: a threaded plug and a matching counter nut. For the plug, create a central vertical shaft with a total height of 28mm. The core of the shaft is a hole with a 3.5mm radius. At the base, add an 8-sided polygonal plate with a height of 3mm and a radius of 14mm. C...
use <threads.scad>; $fn=123; difference() { union() { cylinder(r1=(10+.25)/2, r2=(10-1)/2, h=28); difference() { translate([0,0,0]) cylinder(r=(23+3)/2+1, h=3, $fn=8); difference() { translate([0,0,1.5]) cylinder(r=22/2, h=3.01); translate([0,0,1.5]) cylinder(r=15/2, h=3.01); ...
glb/cad_0379725448a5.glb
Create a mounting bracket for a GU5.3 lamp socket. Start with a central cylindrical base 11.5mm in radius and 6mm high. Add a wider cylindrical rim around the base with a radius of 14.5mm and a height of 3mm. Extend the model with two mounting ears on opposite sides of the x-axis; each ear is formed by a hull connectin...
$fn=123; difference() { union() { cylinder(r=23/2, h=6); cylinder(r=23/2+3, h=3); hull() { translate([-23/2-5,0,0]) cylinder(r=12/2, h=3); translate([+23/2+5,0,0]) cylinder(r=12/2, h=3); } } translate([0,0,4]) cylinder(r=17.5/2, h=7); translate([-23/2-5,0,-.01]) { cylinder(r=4/...
glb/cad_c3797b027c08.glb
Create a hose guide wall mount. Start with a rectangular block 25mm wide, 30mm deep, and 15mm high, centered on the origin. Remove a central vertical cylinder with a radius of 7.125mm and a height of 15mm to create the main hose channel. Around this central hole, remove a larger concentric ring with a radius of 10.125m...
$fn=123; difference() { cube([25-0,30,15-0], center=true); # cylinder(r=14.25/2, h=15.02, center=true); difference() { cylinder(r=14.25/2+3, h=4.02, center=true); cylinder(r=14.25/2+1.5, h=4.04, center=true); } translate([-25/2-.01, -30/2-.01, -15/2-.01]) cube([25.02, 30/2+.02, 15.02]); if(true...
glb/cad_310d35b2170a.glb
Create a Bucket Grit Guard consisting of a circular base frame and a hexagonal mesh insert. First, construct the base frame by rotating a profile to create an L-shaped ring. The ring has an outer diameter of 185mm and a height of 30mm. The wall and the top lip extending outward should both be 1.5mm thick, with the li...
$fa = 1; $fs = 0.1; base_diam = 185; base_height = 30; lip_width = 10; frame_thickness = 1.5; mesh_thickness = 15; hex_rad = 12; hex_gap = 1.5; taper_scale = 0.4; if_air_holes = false; grit_guard(); module grit_guard(){ round_frame(); round_mesh(d=base_diam-2*frame_thickness,h=mesh_thickness); } module rou...
glb/cad_b3f5fd87b0a8.glb
Create a Layer Height Tool consisting of a hollow ring with 16 radiating tabs. Start by creating a hollow cylinder with an outer diameter of 45mm and an inner diameter of 40mm, with a total height of 5.6mm (calculated as 16 increments of 0.35mm). Around the perimeter, place 16 rectangular tabs spaced every 22.5 degre...
layerHeight=0.35; textOnly=false; module __Customizer_Limit__ () {} tabX=10; tabY=30; tabAngle=22.5; outerDiameter=45; innerDiameter=40; UseFont="Arial"; if (textOnly) { for (x =[1:16]) makeText(layerHeight*x, x); } else { difference(){ for (x =[1:16]) makeTab(layerHeight, x); for (x =[1:16]) makeText(layerHei...
glb/cad_896929bf9756.glb
Create a Multimeter Holder with a central compartment and side storage boxes. The main central slot for the multimeter should have an internal width of 69mm, a depth of 29mm, and a height of 138mm. All walls should be 2mm thick. On the left side of the central slot, attach two cable boxes with internal widths of 15mm ...
multimeter_width=69; multimeter_depth=29; multimeter_height=138; cablebox_width=15; cablebox_depth=35; cablebox_heights_l=[100, 75]; cablebox_heights_r=[100, 75, 50]; wall_thickness=2; holes=true; hole_width=12; hole_height=23; hole_separation=1; ellipsis=0.2; module diamond(angle=0, hw=hole_width, hh=hole...
glb/cad_961e6c01217a.glb
Create a Miniature Transportation insert by starting with a rectangular solid block measuring 205mm in width, 208mm in depth, and 2mm in height. Within this block, create a grid of circular holes to hold miniature bases. Each hole must have a diameter of 33mm. Arrange these holes in a pattern of 5 columns and 5 rows, t...
dimX=205; dimY=208; dimZ=2; baseDiameter=32; module __Customizer_Limit__ () {} calcDiameter=baseDiameter+1; xNumber=floor(dimX/calcDiameter)-1; yNumber=floor(dimY/calcDiameter)-1; xLeftover=dimX-(xNumber*calcDiameter); yLeftover=dimY-(yNumber*calcDiameter); xOffset=xLeftover/(xNumber+1); yOffset=yLeftover/(yNumber+...
glb/cad_57ada2a2e8ba.glb
Create an Adjustable V-Block for filament storage consisting of two separate components: a base and a block. First, construct the base. Start with a central rectangular volume measuring 56mm wide, 15mm deep, and 36mm high. From the bottom front, remove a rectangular section measuring 46mm wide, 16mm deep, and 26mm hi...
include <BOSL2/std.scad> tol = 0.002; sf = 1.02; module slide() { polygon( points = [[0,0],[5,0],[5,2], [7,4],[5,6],[-5,6], [-7,4],[-5,2],[-5,0]] ); } module block() { difference() { cuboid([170,40,40], anchor=BOTTOM, chamfer=20, edges=TOP+BACK); ...
glb/cad_d8212d26e14d.glb
Create a filling funnel consisting of a conical base and a cylindrical neck. Start by creating a hollow truncated cone with a height of 25mm, a bottom outer diameter of 50mm, and a top outer diameter of 19mm. The walls of this cone should be 1.2mm thick. On top of this conical section, add a hollow cylindrical neck wit...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.4; wall=1.2; d_1=50; d_2=19; hf=25; ht=5; difference(){ cylinder(d2=d_2, d1=d_1, h=hf); translate([0,0,-dt1]) cylinder(d2=d_2-2*wall, d1=d_1-2*wall, h=hf+dt2); } translate([0,0,hf]) difference(){ cylinder(d=d_2, h=ht); translate([0,0,-dt1]) ...
glb/cad_62c1299198c2.glb
Create an iPhone Charger Cable Clip Organizer consisting of a hollow, extruded sleeve designed to fit over a charger. The main body is a linear extrusion 30mm in height. The cross-section is a complex polygon defined by an outer boundary and an inner void. The outer boundary starts from a base width of 35mm and extends...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.4; wall=1.2; x0=35+2; x1=6.5+0; x2=x0-2*x1; y0=14.0; y1=y0/2; tip=1; z1=30; linear_extrude(z1) { polygon(points=[[-wall,-tip],[-wall,tip],[x1,y1+wall],[x2+x1,y1+wall],[x0+wall,tip],[x0+wall,-tip],[x2+x1,-y1-wall],[x1,-y1-wall], [0,-tip],[0,tip],[x1,y1],[x2+x1,...
glb/cad_608daeccc0c3.glb
Create a cable clip organizer for a USB-C charger. The main body is a hollowed-out capsule shape with a height of 30mm. To construct the outer shell, create a union of a cylinder with a diameter of 27.6mm and a centered rectangular block measuring 22.5mm in width and 27.6mm in depth. This combined shape should be cappe...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.4; wall=1.2; x2=20+2.5; d1=24; d2=d1+2*wall; z1=30; difference(){ union(){ cylinder(d=d2, h=z1); translate([0, -d2/2, 0]) cube([x2, d2, z1]); translate([x2, 0, 0]) cylinder(d=d2, h=z1); color("red") tra...
glb/cad_46bf6dda2713.glb
Create a nametag for a parcel box by starting with a rectangular base measuring 120mm in width, 40mm in height, and 2mm in thickness. Ensure the four corners of this base are rounded with a radius of 5mm. Centered on the top surface of this base, add the word "Paketbox" as raised 3D text. The text should have a height ...
module roundedcube(xdim ,ydim ,zdim,rdim){ hull(){ translate([rdim,rdim,0])cylinder(h=zdim,r=rdim); translate([xdim-rdim,rdim,0])cylinder(h=zdim,r=rdim); translate([rdim,ydim-rdim,0])cylinder(h=zdim,r=rdim); translate([xdim-rdim,ydim-rdim,0])cylinder(h=zdim,r=rdim); } } $fn=50;...
glb/cad_0a3ad023adc9.glb
Create a Customizable Cup Holder Adapter consisting of three stacked sections with a 60-facet resolution for all circular profiles. First, create a base section that is 88.1mm tall. This section is a hollow truncated cone with a bottom outer diameter of 67.8mm and a top outer diameter of 86.4mm. The walls are 2.5mm t...
current_holder_top_diameter = 86.4; current_holder_bottom_diameter = 67.8; base_height = 88.1; new_diameter = 85.9; top_height = 53.1; include_cup_handle_slit = true; slit_width = 18.1; slit_distance_from_base = 5.5; wall_thickness = 2.5; base_thickness = 2.5; shim_height = 10.1; number_of_faces = 60; trans...
glb/cad_5b22c73b393b.glb
Create a glasses holder consisting of a 3x3 grid of nine identical vertical slots. Each slot is formed by creating a solid pillar 80mm tall with a footprint defined by the convex hull of three cylinders: two cylinders with 30mm diameters positioned 40mm apart, and one cylinder with a 45mm diameter positioned exactly ha...
$fn=100; translate([34,-34,0])for(i=[1:2]) translate([i*34,i*34,0])Houder(); for(i=[0:3]) translate([i*34,i*34,0])Houder(); translate([-34,34,0]) for(i=[0:3]) translate([i*34,i*34,0])Houder(); module Houder() { difference() { hull() { cylinder(d=30,h=80); translate([40,0,0])cylinder(d=30,h=80); translate(...
glb/cad_6865d0c77853.glb
Create a vacuum hose adapter consisting of two concentric cylindrical shells connected by a tapered transition. Start with a lower cylindrical section that has an outer diameter of 61.5mm and a height of 14mm. Above this, add a thin flange ring with a thickness of 1.8mm and an outer diameter of 65.1mm. From the top o...
lowerEndMeasured = "outside"; lowerEndDiameter = 61.5; lowerEndLength = 14; upperEndMeasured = "inside"; upperEndDiameter = 70.5; upperEndLength = 16; taperLength = 5; insideStop = "no"; wallThickness = 1.8; hasCutout = "no"; cutOutHeight = 12; cutOutWidth = 25; hasFlange = "yes"; $fn = 60 * 1; WT = wallTh...
glb/cad_30f9a1edd1ff.glb
Create a Minimalistic Spool Sleeve consisting of a central shaft and a supporting frame. Start by creating a central cylinder with a diameter of 8mm and a height of 11mm, using 50 facets for the circular cross-section. Surround this with a larger hollow cylindrical shell that has an outer diameter of 57mm, a wall thick...
FlangeD = 65; FlangeT = 1; SpoolID = 57; Thick = 2; Height = 10; Shaft = 8; ShaftFaces = 50; Struts = 8; $fn = 50; union() { difference() { union(){ translate([0,0,Height/2])cylinder(h=Height+FlangeT,d = SpoolID,center=true); cylinder(h=FlangeT,d = FlangeD,center=true); } cylinder(h=Height*2.5,d = Spoo...
glb/cad_d001e73d6dbc.glb
Create a rounded cube centered at the origin with overall dimensions of 10mm x 10mm x 10mm. All edges and corners must be rounded with a radius of 1.5mm. The geometry should be constructed as a smooth polyhedron where the flat faces of the cube are connected by rounded transitions. Ensure the curvature is consistent ac...
Size_x = 10; Size_y = 10; Size_z = 10; Radius = 1.5; $fn = 80; Center = true; rounded_cube(size=[Size_x,Size_y,Size_z], r=Radius, center=Center); module rounded_cube(size=[1,1,1], r=.1, center=false, convexity=2){ { size = is_num(size)?[size,size,size]:is_list(size)?size:[10,10,10]; rad = is_num(r)...
glb/cad_d1b71f560a80.glb
Create a stackable coaster by starting with a main cylinder 100mm in diameter and 7.5mm thick. Create a recessed center by removing a smaller concentric cylinder from the top, leaving a 2.5mm wide outer lip. This inner recess should be 2mm deep. To allow for stacking, remove a thin layer from the bottom of the coaster...
$fn = 72; image_file = "spade.png"; image_pixels = [270, 270]; image_invert = false; coaster_size = 100; coaster_thickness = 7.5; coaster_lip = 2.5; coaster_depth = 2; coaster_engrave_depth = 1.5; coaster_image_padding = 5; tolerance = 0.75; image_scale = (coaster_size-2*coaster_lip-2*coaster_image_padding)/max(ima...
glb/cad_1bad06e047d8.glb
Create a Nasum A5 Pro Engraver Lock designed to secure the X and Y axes. Start with a main body block that is 2.5mm thick. Carve a central channel for the rail that is 20mm wide and 20mm deep, with a depth of 6.3mm. The overall height of the assembly is approximately 25.5mm. On one side, construct an X-axis lock consi...
clearance = 0.3; thickness = 2.5; body_depth = 20; rail_width = 20; channel_depth = 6.3-4.5; channel_min_width = 5.5; channel_max_width = 8.7; channel_inner_depth = 4; channel_inset_percentage = 1; x_lock_inner_distance = 25.5; x_lock_thickness = 4.6; x_lock_protrusion = 22; x_lock_height = thickness; y_lock_base_heig...
glb/cad_729f17632945.glb
Create a wheelbarrow axle adapter consisting of two concentric cylindrical sections with a shared central hole. First, create a wide base cylinder with a diameter of 27.8mm and a height of 12mm. Centered on top of this base, add a taller cylinder with a diameter of 19.8mm and a height of 45mm. Finally, bore a single co...
$fa = 1; $fs = 0.4; achse=17.3; radinnen=19.8; abstand=12; deckung=45; module Achsadapter(achsdurchmesser,radinnendurchmesser,abdeckung, abstand){ difference(){ union(){ cylinder(abdeckung, d=radinnendurchmesser, true); cylinder(abstand, d=radinnendurchmesser+8, true); } ...
glb/cad_c56df66812d6.glb
Create a low-poly sculpture of the "Sign of the Horns" hand gesture resting on a tiered hexagonal plinth. The plinth is composed of three stacked hexagonal prisms, all centered on the same axis. The bottom-most layer is a hexagonal prism with a radius of 25mm and a height of 3mm. Directly above this, add a second hexag...
use <write.scad> m_text=""; b_r = 25; step = 2.5; b_height = 3; pt_height = 15; base_shape = true; qual = 6; emboss = true; model_f = "LOWPOLYThe_Horns_fixed.stl"; m_scale = 1; if (emboss){ union(){ horns(b_shape=base_shape); if(base_shape){ writecylinder(text=m_text,where=[0,0,0],radius=...
glb/cad_05bfda637b64.glb
Create a rounded floor cable protector with a total length of 210mm, a width of 90mm, and a maximum height of 14mm. The main body is formed by a hull connecting a flat rectangular base to a centered, elongated rounded bump. This bump has a diameter of 14mm and is scaled by a factor of 2.8 along the length to create a s...
$fn=100; length=210; width=90; max_height = 14; height=max_height; bump_diameter=height; bump_radius= bump_diameter/2; bump_rounding_multiplier=2.8; target_offset=height-bump_radius; base_height=0.000000000001; inside_groove_cube_size=11; triangle_size=inside_groove_cube_size/2; height_to_start_triangle = triangle_...
glb/cad_0956c1ee95fe.glb
Create a garlic press holder consisting of a hexagonal base and two symmetrical hooks. Start by creating a hexagonal plug with a flat top to serve as the mounting base. From this base, extend two identical vertical hooks positioned 30mm apart from each other. Each hook should be 16mm tall and consist of a cylinder with...
include<hex plug library.scad>; $fn = 128; hswGarlikPressHolder(isHexagonPlug=true); module hswGarlikPressHolder(distance = 30, height = 16, hookDiameter = 6, isHexagonPlug = false) { if (isHexagonPlug) hexagonPlug(); else insert(); hook(distance/2, height, hookDiameter); hook(-distance/2, height, hookDiameter); ...
glb/cad_467e2060f1c5.glb
Create a Celestron sight mount to Picatinny rail adaptor. Start by creating a rectangular base block that is 8mm wide, 30mm long, and 3.9mm high. Centered along the length of this block, carve a longitudinal V-shaped groove. The groove should begin at the top surface with a width of 2mm and angle downwards. To refine t...
tube_width = 12.2; tube_inset = 10.0; tube_depth = 8; picy_width = 20.00; mount_len = 30; mount_chip_offset = 2; piece_h = (picy_width - tube_width) / 2; picy_depth = 2; picy_chip_offset = 2.55; chip_depth = (tube_width - tube_inset) / 2; zchipoff = sqrt(pow(chip_depth,2) * 2)/2; zpicoff = sqrt(pow(picy_depth,...
glb/cad_990abce57c0e.glb
Create a simple ring stand by constructing a square base that is 30mm wide, 30mm deep, and 5mm thick. Centered on top of this base, add a vertical cone with a total height of 40mm. This cone should have a circular bottom radius of 6mm and taper upward to a circular top radius of 5mm. Ensure the top edge of the cone is ...
include <BOSL2/std.scad> $fn=100; cube([30,30,5], anchor=BOTTOM) cyl(r1=6,r2=5,h=40, rounding2=5, anchor=BOTTOM);
glb/cad_19bc9db448e5.glb
Create a steering wheel for a Cobra Vamp Stinger vehicle. Start by creating a flat outer ring as a cylinder with a radius of 12mm and a height of 2mm. From the center of this ring, remove a complex pill-shaped volume to create the wheel's opening. This removed volume consists of a central cylinder with a radius of 10mm...
$fn=100; union() { difference() { cylinder(r=12,h=2); translate([0,0,-1]) scale([1,1,1.3]) difference() { cylinder(r=10,h=5); difference() { union() { cube([4,20,6],center=true); translate([0,4,0])...
glb/cad_193267ac45b7.glb
Create a MOLLE adapter for a T-Lock holder consisting of a base strap plate and a central locking cylinder. First, construct the strap plate as a rounded rectangular slab 80mm long, 50mm wide, and 3mm thick, with corner radii of 5mm. Add four tabs to the edges of this plate, each 30mm long, 10mm wide, and 3mm thick, ...
Lock_Outer_Diameter = 34; Lock_Outer_Corner_Radius = 1; Lock_Inner_Diameter_Long = 25; Lock_Inner_Diameter_Short = 20; Lock_Inner_Tab_Length = 20; Lock_Inner_Tab_Width = 15; Lock_Top_Thickness = 3; Lock_Depth = 5; Lock_Notch_Depth = 1; Lock_Notch_Width = 3; Lock_Notch_Corner_Radius = 1; Strap_Plate_Length = 80; Strap...
glb/cad_ff151757ec14.glb
Create a watering hose clip designed to hold a 6.125mm outer diameter tube. The main body is a long, slender spike with a total length of 150mm and a height of 6.125mm. At the base, create a cylindrical mounting point with a centered hole of 3.06mm radius to accommodate the hose. The spike should taper slightly as it...
$fn = 123; od = 6.125; len = 150; tip = 12; difference() { union() { translate([2.75*od/2, 2.75*od/2, 0]) cylinder(r=2.75*od/2, h=od); hull() { translate([2.75*od/2, 2.75*od/2, 0]) cylinder(r=2.75*od/2, h=od/3); translate([2.75*od/2, 5.25*od/2, 0]) cylinder(r=1.5*od/2, h=od/3); } hull...
glb/cad_976ebb94abf5.glb
Create an electronic housing for a small PCB with a main body measuring 20mm in width, 35mm in length, and 16mm in height. The walls should be 1.5mm thick. The housing is open at the top. On the bottom face, create a central cable cutout by removing a cylindrical section with a 2mm radius. On one of the side walls, cr...
$fa=1; $fs=0.1; c_height=16; c_width=20; c_length=35; wall=1.5; top=1; screw_dist=10; module screw_hole(h1, d1, h2, d2, h3) { cylinder(h1, d1/2, d1/2); translate([0,0,h1]) cylinder(h2, d1/2, d2/2); translate([0,0,h1+h2]) cylinder(h3, d2/2, d2/2); } module holder(screw_dist=10) { diff...
glb/cad_94d6c0faf3f5.glb
Create a solar panel mount connector by starting with a central rectangular block measuring 55mm in width, 80mm in length, and 80mm in height, centered on the origin. From this main block, remove a central vertical section to create a slot for a wooden plank. This cutout consists of a rectangular volume 38.5mm wide, 40...
Connection_Width=55; Connection_Height=80; Connection_Length=80; Connection_Separation_Width=10; Double_Sided=false; Rotate_One_Side=false; Wood_Width=38.5; Add_Screws=true; Screw_Width=8; HalfBlock=Connection_Length/2; InnerDiffBlock=(HalfBlock/2)+Connection_Separation_Width/2; module Cutout(){ union(){ ...
glb/cad_c72b367a295e.glb
Create a solar panel mount connector by starting with a central rectangular block measuring 55mm in width, 60mm in length, and 80mm in height. From this main volume, remove a central vertical section to create a slot for a wooden plank. This cutout should be 38.5mm wide and slightly taller than the block, extending 4mm...
Connection_Width=55; Connection_Height=80; Connection_Length=60; Connection_Separation_Width=10; Wood_Width=38.5; Panel_Connection_Width=37; Panel_Connection_Height=2; Panel_Connect_Offset=3.48; Add_Screws=true; Screw_Width=8; InnerDiffBlock=16+Connection_Separation_Width/2; module Cutout(){ union(){ c...
glb/cad_b7fe7303a29c.glb
Create a Batman-themed cookie cutter. The main cutting edge is a profile of a Batman head, scaled to approximately 80mm wide by 70mm high. The cutter consists of a thin vertical wall 3mm thick that follows the Batman head silhouette. This wall should be 20mm tall. To ensure the tool is functional and safe, the cuttin...
part="batman"; base_d=20; base_w=80; base_h=70; cuttert=3; offmode=2; word="Awesome"; word_size=64; word_spacing=1.0; word_font="Arial Rounded MT Bold"; word_thicken=1; custom_path=[[[0,0],[50,0],[50,50],[0,50]],[[0,1,2,3]]]; if(part=="all") { translate([75,30]) rotate([0,0,-30]) zelda_triforce_cutter(); ...
glb/cad_b9369ecc7551.glb
Create a Sensor Cover consisting of a rectangular open-front shell with a slatted interior. Construct the outer frame using walls that are 5mm thick. The overall external dimensions of the shell are 120mm in length, 100mm in width, and 55mm in height. The frame is formed by two side walls and a back wall, leaving the t...
$fn = 60; i_laenge = 110; i_breite = 90; i_hoehe = 50; wall = 5; %translate([2.5*wall, 5, i_hoehe-35+wall]) cube([100, 80, 35]); cube([wall, i_breite+2*wall, i_hoehe+wall]); translate([i_laenge+2*wall, 0, 0]) cube([wall, i_breite+2*wall, i_hoehe+wall]); cube([i_laenge+2*wall, wall, i_hoehe+wall]); fo...
glb/cad_a008e9ff204f.glb
Create a SeaChem Tidal Skimmer Cage with overall dimensions of 45mm in height, 29.8mm in width, and 25mm in depth. The main body is a hollow rectangular box with a shell thickness of 2mm. At the top, add two cylindrical holding bars with a diameter of 2.75mm that run the full height of the model, positioned at the ce...
$fn = $preview ? 30 : 120; epsilon = 0.001; height = 45; width = 29.8; depth = 25; shell_thickness = 2; slot_width = 2; slot_space = 2; slot_offset = 0; side_slot_extra_depth = 0; neck = 3; cylinder_size = 2.75; edge_flow_box_depth = 4; step_size = slot_space + slot_width; module thing() { difference() { ...
glb/cad_f541be56f247.glb
Create a Hermes Lite 2 stand by constructing a base and several vertical supports. Start with a rectangular base plate measuring 96mm wide, 6mm thick, and 6mm high. On top of this base, add a rectangular block that is 46mm wide, 3mm thick, and 9mm high, positioned at the front left. Create two long parallel rails tha...
HL2h=40; HL20=153+1; HL2w=107; baseth=6; sideth=3; sideup=15; flange=3; basew=HL2h+2*sideth; HR50h=6; HR50w=50; HR50sp=22; HL2l=HL20+2*sideth; $fn=90; union(){ cube([basew+HR50w, baseth, baseth]); cube([basew, sideth, baseth+sideth]); cube([baseth, HL2l, baseth]); translate([0,HL2l/4,baseth]) cube([sideth,HL2l/2,sid...
glb/cad_95b4e013025c.glb
Create a Hermes Lite 2 stand by constructing a base and several vertical supports from rectangular prisms. Start with a wide base plate measuring 175mm in length, 6mm in height, and 6mm in thickness. At one end of this base, add a vertical end stop that is 113mm wide, 3mm thick, and 9mm high. Along the length of the ba...
HL2h=40; HL20=153+1; HL2w=107; baseth=6; sideth=3; sideup=15; flange=3; basew=HL2h+2*sideth; HR50h=6; HR50w=106; HR50sp=22; HL2l=HL20+2*sideth; bothw=basew+HR50w+HR50sp+flange; $fn=90; union(){ cube([bothw, baseth, baseth]); translate([bothw,0,0]) cube([sideth,HL20+baseth,sideup]); cube([basew, sideth, baseth+sideth]...
glb/cad_763acacf5e3c.glb
Create a flesh fly trap consisting of a cylindrical lid and an integrated conical funnel. Start by constructing a hollow cylindrical ring with an outer diameter of 82.1mm, an inner diameter of 79.1mm, and a height of 16mm, ensuring the walls are 1.4mm thick. Centered within this ring, add a conical funnel that extends ...
wall_thickness = 1.4; lid_inner_diameter = 79.1; lid_edge_hight = 16; funnel_upper_diameter = 60; funnel_lower_diameter = 8; funnel_hight = 40; $fn=64; union() { difference() { cylinder(h=lid_edge_hight+wall_thickness, d=lid_inner_diameter+2*wall_thickness); translate([0, 0, wall_thickness]) ...
glb/cad_e03af2680950.glb
Create a storage box for a hole cutter. Start by forming a solid rectangular block with rounded corners, measuring 90mm in length, 96mm in width, and 25mm in height. The corners of this block should be defined by cylinders with a diameter of 6mm. Hollow out the center of this block to create a container with a wall t...
$fn=100; vysk=28; vysv=25; module vyko () { hull () { translate ([-1,-48,0]) cylinder (d=6,h=vysv); translate ([-1,43,0]) cylinder (d=6,h=vysv); translate ([90,43,0]) cylinder (d=6,h=vysv); translate ([90,-48,0]) cylinder (d=6,h=vysv); }} module krabice () { translate ([0,0,1.6]) hull () { translate ([-0.2,-...
glb/cad_7fedf989eb4d.glb
Create a storage box for a step drill bit. The main body is a rectangular block with rounded corners, measuring 90mm in length, 89mm in width, and 27mm in height. Hollow out the center of the block to create a storage cavity. The interior walls should be 1mm thick, except for the top edge, which is recessed by 8mm fr...
$fn=100; vysk=27; zap=8; tra=vysk-zap; module imbus () { hull () { cylinder (d=5.8,h=83); translate ([0,2.8,0]) cylinder (d=5.8,h=83); } rotate ([0,90,0]) hull () { cylinder (d=5.8,h=33); translate ([0,2.8,0]) cylinder (d=5.8,h=33); } hull () { translate ([6,0,0]) sphere(d = 5.8); translate ([0,0,6]) sphere(d ...
glb/cad_99ad1567350e.glb
Create a WLED Obelisk Lamp consisting of a base and a tapering tower. First, construct the base as a four-sided square prism with a height of 50mm. The footprint of this base should be a square with a diameter of 120mm (measured across the diagonal). Atop this base, center a tall, tapering four-sided pyramid that reac...
base=100; midline=base*1.618; top=1; bht=50; tht=bht*1.618*3; cutout=80; $fn=4; color("gold") cylinder(d1=base+20, d2=midline, h=bht); difference() { circle(d=base+20,$fn=4); color("red") circle(d=cutout,$fn=50); } difference() { translate([0,0,bht]) color("gold") cylinder(d1=midline, d2=top, h=tht); ...
glb/cad_51bd23a95999.glb
Create a WLED Obelisk Lamp base consisting of two primary parts: a flat square platform and a hollow square collar. First, create the platform as a centered cube with dimensions 84mm x 84mm x 3mm. Centered on top of this platform, construct a hollow square collar with an outer dimension of 64mm x 64mm and a height of 5...
basewid=84; baseht=3; braceht=5; braceoff=10; wallwid=6; translate([0,0,baseht/2]) color("blue") cube([basewid,basewid,baseht],center=true); difference() { translate([0,0,braceht/2+baseht]) color("aqua") cube([basewid-braceoff,basewid-braceoff,braceht],center=true); translate([0,0,braceht/2+baseht]) color("r...
glb/cad_af60d24417fa.glb
Create a Stacking Hat Rack by constructing a hollowed-out, elongated shell with a height of 38.1mm. The main body is based on a rounded profile: start with a shape formed by the intersection of a 254mm diameter circle and a 152.4mm wide by 203.2mm tall rectangle, then offset this outline outward by 5mm to create the ou...
difference() { body(); intersection() { translate([3,-inches(4.25),inches(1.5)-6]) rotate([0,-45,0]) cube([6,inches(8.5),16]); linear_extrude(inches(1.5)+.02,convexity=3) offset(5-1.61,$fn=24) outline(); } for(m=[0,1]) mirror([0,m]) { translate([-5.01,inches(3),-.01]) linear_extrude(inches(1),convex...
glb/cad_3a02d0c324ff.glb
Create a filament swatch with a rectangular base measuring 50mm in width, 30mm in height, and 2.2mm in thickness, featuring rounded corners with a 5mm radius. On the top surface, add three lines of raised text, each 4mm in height. The first line should be aligned to the right and read "Polymaker PLA". The second line...
textstring1="Polymaker PLA"; textsize_upper=4; textstring2=""; textstring3="Muted BLue"; textsize_lower=4; textsize_third=4; textstring4="PolyTerra #4E6A84"; texttop="P L A"; texttop_configurable=""; fontname="Aldo"; text_type="raised"; edge_tests="enabled"; tack_hole="none"; thole_d=1.5; thole_top_shiftri...
glb/cad_cd4cf0c401e0.glb
Create a set of three mechanical thread components based on a 60-degree V-form M profile with a pitch of 1.5mm and a length of 10mm. First, create an external thread with a nominal outer diameter of 19.85mm. This consists of a central root cylinder and a helical thread form wrapped around it, with the crests trimmed t...
include <helix_extrude.scad> $fn=60; translate([30,0,0]){ eThreadM( NominalDiameter=19.85, Pitch=1.5, Length=10, RightHand=true, Starts=1); } iThreadM( NominalDiameter=20.15, Pitch=1.5, Length=10, RightHand=true, Starts=1, Wall=2); translate([-30,0,0]){ iThreadSubM( NominalDiameter=20.15, Pitch=1.5, Length=10, Right...
glb/cad_d45c6c8ab203.glb
Create a Hoplomachus Alloy Dice Riser by starting with a rounded cube that has a width and depth of 15.66mm and a height of 6.25mm. The corners of this cube should be rounded with a radius of 2mm. Centered on the top face of this block, carve out a capital letter "V" using a serif font like Times New Roman. The letter ...
$fn=64; font = "Times New Roman"; desired_height = 22.41; dice_height = 16.16; d = dice_height - 0.5; h = desired_height - dice_height; letter_size = 10; letter_height = 1; difference(){ translate([0,0,h/2]) roundedcube_simple([d,d,h],true,2); letter("V"); } module roundedcube_simple(size = [1, 1, 1], center = false...
glb/cad_c0cecb608981.glb
Create an adjustable outflow adapter consisting of a cylindrical base and a spherical top. Start by creating a cylinder with an outer diameter of 13.1mm and a total height of 15mm, centered on the Z-axis. Atop this cylinder, position a sphere with a diameter of 19.5mm such that its center is 15mm above the origin. To c...
d_kugel = 19.5; d_rohr_aussen = 13.1; d_rohr_innen = d_rohr_aussen - 2; l_rohr = 15; $fn = 100; color(alpha=0.5) difference() { union() { cylinder(d=d_rohr_aussen, h=l_rohr, center=true); translate([0, 0, -d_kugel / 4]) difference() { translate([0, 0, l_rohr]) sphere(d = d_kugel...
glb/cad_02944d0a5b61.glb
Create a protective lid for an Arduino Uno. Start with a base rectangular plate measuring 71.82mm by 56.7mm (which is 68.4mm and 54mm scaled by 1.05) with a thickness of 3.8mm. The top surface of this plate should be slightly recessed by 1.8mm, creating a lip around the perimeter. From this main body, remove several r...
$fn = $preview ? 40 : 100; ShowLid=1; ShowCase=0; X=68.4; Y=54; if(ShowLid) translate([0,0,20]){ difference() { union() { translate([0,0,1.8])scale([1.05,1.05,1])Cube(X,Y,2); translate([(X*1.05-X)/2, (Y*1.05-Y)/2,0])Cube(X,Y,1.8); } translate([-1, 33, -9])cube([13,12.8,12]); translate([-1, 6.2 ,-9])c...
glb/cad_dd86c6225af5.glb
Create a filling funnel for a salt and pepper grinder. The main body is a hollow truncated cone with a height of 25mm. The base of this cone has an outer diameter of 50mm, tapering upward to an outer diameter of 26.5mm. The walls of the cone are 2mm thick. Centered on top of the cone's narrow end, add a hollow vertica...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.4; wall=2.0; d_1=50; d_2=26.5; hf=25; ht=4; ht2=8.2; ht3=ht2-ht; cut_y=7; difference(){ cylinder(d2=d_2, d1=d_1, h=hf); translate([0,0,-dt1]) cylinder(d2=d_2-2*wall, d1=d_1-2*wall, h=hf+dt2); } translate([0,0,hf]) difference(){ cylinder(d=d_2, h=ht2); ...
glb/cad_24a912e94b63.glb
Create a stackable card deck stand consisting of two identical holder units arranged side-by-side. Each unit is a wedge-shaped pocket designed to hold a deck of cards at a 60-degree angle. For a single holder, create a main rectangular body with a width of 69.2mm, a height of 98.2mm, and a wall thickness of 2.2mm. The...
$fn = 100; wall = 20; module holder(w, h, t, a, top) { b = 90 - a; module lip() { translate([ t, 0, t ]) rotate([ 0, -90, 0 ]) { linear_extrude(t) { square([ wall, h - wall ]); intersection() { square([ wall, h ]); translate([ 0, -wall + h, 0 ]) circle(wall); } } } } modu...
glb/cad_465cf58f1855.glb
Create an asymmetric rectangular funnel for component bins. Start by constructing a hollow shell with a wall thickness of 1.25mm. The narrow end is a rectangular opening measuring 18.1mm by 17.7mm with a height of 5mm. This narrow section transitions upward and outward to a wide rectangular opening measuring 80mm by 40...
NarrowPart_Length = 18.1; NarrowPart_Width = 17.7; NarrowPart_Height = 5; WidePart_Length = 80; WidePart_Width = 40; WidePart_Slope = 45; Asymmetric = true; WallSize = 1.25; Ear_Width = 10; Ear_Hole = 4; epsilon = 0.05; tmp_height1 = (WidePart_Length - NarrowPart_Length) / 2 * cos(WidePart_Slope); tmp_height...
glb/cad_78214fe7bf50.glb
Create a Tjusig Adapter consisting of a rectangular base with two hollow square pillars at each end. The overall outer dimensions of the object are 326mm in length, 41mm in width, and 66mm in height. The main body is a solid block with a large rectangular section removed from the center to create a U-shaped trough. Thi...
Fuss = 35; Spiel = 1; Wand = 3; BreiteInnen = Fuss + Spiel; HoeheInnen = 20; BreiteAussen = Fuss + Spiel + 2*Wand; LaengeueA = 320 + Spiel + 2*Wand; BreiteueA = Fuss + Spiel + 2*Wand; HoeheueA = 60 + HoeheInnen; Rohrdurchmesser = 16 + Spiel; Rohrradius = Rohrdurchmesser/2; Stufe = 10; Dicke = Rohrradius + Stufe; Abstan...
glb/cad_8e0eba0aa362.glb
Create a Tjusig Adapter by constructing a hollow square box. Start with a solid outer cube that measures 41mm in width, 41mm in depth, and 43mm in height. To create the interior cavity, remove a central square column of material that is 36mm wide, 36mm deep, and 20mm high. This cutout should be positioned so that it st...
Fuss = 35; Spiel = 1; Wand = 3; BreiteInnen = Fuss + Spiel; HoeheInnen = 20; BreiteAussen = Fuss + Spiel + 2*Wand; difference () { cube ([BreiteAussen, BreiteAussen, 2*HoeheInnen + Wand]); translate ([Wand, Wand, HoeheInnen + Wand]) cube ([BreiteInnen, BreiteInnen, HoeheInnen]); translate ([Wand, Wand, 0]) cube ([B...
glb/cad_f18c95cdf40d.glb
Create an EBike Battery Plug consisting of a base and a cover. First, construct the base as a rectangular block measuring 50mm in length, 15mm in width, and 5mm in height. Remove two rectangular slots from the top of the base, each 1.6mm wide and 5mm deep, positioned symmetrically from the center at 6.05mm from the c...
$fn=20; tol=.1; pin_x=1.5+tol; pin_y=5+tol; pin_ctr=13.1-pin_x/2; ht=5; x=50; y=15; screw_ctr=x/2-5; screw_d1=3.5; screw_d2=7; screw_d3=3.1; cover_ht=11; wire_w=2.5; difference() { translate([-x/2,-y/2,0]) cube([x,y,ht]); translate([pin_ctr-pin_x/2,-pin_y/2,0]) cube([pin_x,pin_y,ht]); tran...
glb/cad_3cddd6587c51.glb
Create a Big Button arcade housing consisting of a main case and a curved lid. Construct the main case as a hollow rectangular box with outer dimensions of 90mm x 90mm x 70mm and a wall thickness of 2mm. On one side, create a rectangular cutout measuring 16mm x 12mm x 10mm to accommodate a nameplate. Centered on the ...
$fn = $preview ? 40 : 200; Case=true; Lid=true; NamePlate=true; if(NamePlate) translate([-30,0,0]){ scale([0.97,0.97,1]) Cube(16,12,0.8,5); translate([8,6,0.8]) color("green")linear_extrude(height=0.6) text("A",halign="center",size=9,valign="center",font="DejaVu Sans:style=Bold"); translate([-30,0,0]) { s...
glb/cad_6ebc8c28319e.glb
Create a hinge axis for a Mancala board by constructing a thin-walled hollow cylinder. The cylinder must have an outer diameter of 4mm and a total height of 72mm. To create the hollow center, remove a concentric inner cylinder with a diameter of 3mm, leaving a wall thickness of 0.5mm throughout the length of the part.
$fa=0.1;$fs=0.1; $fieldWidth=36; $fieldDepth=9; $boardHeight=1; $fieldDistance=12; $hingeDiameter=4; $hingeWall=2; $hingeLength=4; h=$fieldDistance*3+$fieldWidth*2; w=$fieldDistance*9+$fieldWidth*8; d=$boardHeight+$fieldDepth; difference() { cylinder(d=$hingeDiameter, h=h); cylinder(d=$hingeDiameter-1, h=h); }
glb/cad_61b466ca436a.glb
Create a game stone for Mancala by designing a modified sphere with a diameter of 12mm. Flatten the sphere by resizing it so that its total height is 3mm. From the bottom of this flattened sphere, remove a cylindrical section with a diameter of 12mm and a height of 3mm, centered on the vertical axis. Position the remai...
$stoneHeight=4; $stoneDiameter=12; module stoneSphere() { resize([$stoneDiameter, $stoneDiameter, $stoneHeight*0.75*2]) sphere(d=$stoneDiameter); } difference() { translate([0, 0, $stoneHeight*0.25]) stoneSphere(); translate([0, 0, -$stoneHeight*0.75]) cylinder(d=$stoneDiameter, h=$stoneHeight*0.75); }
glb/cad_08554c76ac1c.glb
Create a Mancala game board consisting of a rectangular base with a total thickness of 10mm. The base dimensions are 108mm in width and 72mm in height. On the top surface of the board, create eight recessed pits for game stones. Each pit is a spherical depression with a diameter of 9mm and a depth of 9mm. Arrange the...
$fieldWidth=36; $fieldDepth=9; $boardHeight=1; $fieldDistance=12; $hingeDiameter=4; $hingeWall=2; $hingeLength=4; module board() { h=$fieldDistance*3+$fieldWidth*2; w=$fieldDistance*9+$fieldWidth*8; d=$boardHeight+$fieldDepth; translate([-w/2, -h/2, 0]) { difference() { union() { translate([$fieldDistance/2, $fieldDi...
glb/cad_b912c28937b1.glb
Create a universal modular 3D-printable frame panel with a total width of 80mm and height of 80mm (4 units of 20mm each), and a thickness of 10mm. The main body is a rectangular plate with a large central rectangular window cutout measuring 40mm by 40mm. At each of the four corners, create attachment hardware features...
tmuWidth = 4; tmuHeight = 4; tankFrame = "no"; assemblyHolesWidth = 3; assemblyHolesHeight = 3; M3boltHoleDiameter = 3.4; M3hexNutWidth = 5.5; module __Customizer_Limit__ () {} frameWidth = tmuWidth * 20; frameHeight = tmuHeight * 20; frameThickness = 10; module basicFrameShape() { hull() { transla...
glb/cad_9c8926ec59ac.glb
Create a six-sided die by starting with a cube that has a side length of 6mm. Apply a fillet or rounding to all edges using a sphere with a radius of 1mm to soften the corners. On each face, create circular indentations (pips) by removing cylinders with a radius of 1mm and a height of 2mm. Center the pips on each fac...
cubeDimension=10; module __Customizer_Limit__ () {} minkowskiSphere=cubeDimension/10; minkowskiCubeDimension=cubeDimension-minkowskiSphere*2; $fn=50; pipMove=cubeDimension/2+0.1; pipMoveZ=cubeDimension/4; pipMoveXY=pipMoveZ; difference(){ minkowski(){ cube([minkowskiCubeDimension, minkowskiCubeDimension, minkowski...
glb/cad_dc20fab707cd.glb
Create an assortment case holder as a square block measuring 31mm by 31mm with a height of 3mm. Remove a central square section from the top to create a recessed tray, leaving a wall thickness of 11mm around the perimeter. At two opposite corners of the block, create circular screw holes. Each hole consists of a wide c...
boxX=31; boxY=boxX; boxZ=3; slantDim=2; slantDiagonal=sqrt(2*(slantDim*slantDim)); cornerZ=10; screwDiameter=5; screwHeadDiameter=7; screwHeadThickness=2.5; screwHoleZ=2; screwTolerance=2; screwPLADiameter=screwHeadDiameter+screwTolerance; wallThickness=screwHeadDiameter+screwTolerance*2; difference(){ cube([boxX...
glb/cad_bf777c39866a.glb
Create a low-poly conduit electric tube clip. Start by forming the main body as a union of a cylinder and a rectangular base. The cylinder should have an outer diameter of 20mm (16mm interior diameter plus 2mm walls) and a height of 16mm. Attach this to a rectangular base measuring 20mm in length, 16mm in width, and 16...
inDiameter = 16 ; wallThick = 2; openAngle = 90 ; clipWide = 16 ; distToCenter = 20; screwDiameter = 3.5; screwHeadDiameter = 6; screwHeadHeigth = 2; screHoleLength = 8; $fn=8; intDiameter = inDiameter * 1/cos (360 /( 2*$fn)); difference () { union() { cylinder( clipWide ,...
glb/cad_9d87d7254956.glb
Create a low-poly conduit electric tube clip. Start by forming the main body as a hexagonal prism with a total width of 16mm. The central feature is a hexagonal tube section with an interior diameter of 16mm and a wall thickness of 2mm. This tube section should be open at a 60-degree angle to allow for the insertion of...
inDiameter = 16 ; wallThick = 2; openAngle = 60 ; clipWide = 16 ; distToCenter = 20; screwDiameter = 3.5; screwHeadDiameter = 6; screwHeadHeigth = 2; screHoleLength = 8; $fn=6; intDiameter = inDiameter * 1/cos (360 /( 2*$fn)); difference () { union() { rotate(90) ...
glb/cad_32848250e47c.glb
Create a low-poly conduit electric tube clip. Start by creating a hexagonal prism with a length of 16mm to serve as the main clip body, with an outer diameter of 20mm (16mm interior diameter plus 2mm walls). This prism should be hollowed out by removing a central hexagonal prism with a diameter of 16mm. Add a base sup...
inDiameter = 16; wallThick = 2; openAngle = 60 ; clipWide = 16 ; distToCenter = 20; screwDiameter = 3.5; screwHeadDiameter = 6; screwHeadHeigth = 2; screHoleLength = 8; $fn=6; intDiameter = inDiameter * 1/cos (360 /( 2*$fn)); difference () { union() { rotate(90) ...
glb/cad_627969b0fb72.glb
Create a Food Chain Magnate organizer tray by starting with a base rectangular plate measuring 129.2mm by 213mm with a thickness of 3.5mm and rounded corners with a 3mm radius. Carve out a series of rectangular slots from this base to create storage compartments. On the left side, create a column of seven slots, each...
$fn=200; difference(){ roundedCube3(129.2,213,3.5); translate([-1,-1,2.5]) cube([300,300,300]); translate([2.4,21.5,-1]) cube([61,10,10]); translate([2.4,52,-1]) cube([61,10,10]); translate([2.4,75.1,-1]) cube([61,10,10]); translate([2.4,98.1,-1]) cube([61,10,10]); translate([2.4,121.1,-1]) cube([61,10,10]); tr...
glb/cad_05b029e050b4.glb
Create a Food Chain Magnate organizer tray by starting with a rounded rectangular base measuring 213mm in length, 79.8mm in width, and 10mm in height. Carve out two large rectangular voids from the top surface, each measuring 93mm by 61mm and 20mm deep. Position the first void at coordinates (2.4, 9.4) and the second...
$fn=200; difference(){ roundedCube(213,79.8,10); translate([2.4,9.4,1]) cube([93,61,20]); translate([0,39.9,-2]) rotate([0,0,0]) cylinder(h=38.08, d=30, center=false); translate([117.6,9.4,1]) cube([93,61,20]); translate([213,39.9,-2]) rotate([0,0,0]) cylinder(h=38.08, d=30, center=false); translate([106.5,0,-2])...
glb/cad_e8822637bcd2.glb
Create a rounded rectangular prism with a width of 13mm, a length of 101.6mm, and a height of 17.9mm. The corners of the prism should be rounded with a radius of 3mm.
$fn=200; roundedCube(13,101.6,17.9); module roundedCube(x,y,z) { r=3; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } }
glb/cad_5080c1fcc2e0.glb
Create a Food Chain Magnate organizer tray by starting with a rounded rectangular base measuring 129.2mm by 213mm with a height of 3.5mm and corner radii of 3mm. From this base, carve out a series of rectangular slots to create storage compartments. Create twelve primary slots, each 61mm wide and 5mm deep, positioned...
$fn=200; difference(){ roundedCube3(129.2,213,3.5); translate([-1,-1,2.5]) cube([300,300,300]); translate([2.4,14,-1]) cube([61,5,10]); translate([2.4,33,-1]) cube([61,5,10]); translate([65.8,14,-1]) cube([61,5,10]); translate([65.8,52,-1]) cube([61,5,10]); translate([2.4,52,-1]) cube([61,5,10]); translate([2.4...
glb/cad_4b1b696b6d5e.glb
Create a Food Chain Magnate Insert component by starting with a rounded rectangular base measuring 14mm wide, 55mm long, and 3.1mm high, with corner radii of 3mm. From this base, remove two rectangular slots to create a specific cutout pattern. The first slot is positioned at the top of the base, starting 46.5mm from t...
$fn=200; difference(){ roundedCube3(14,55,3.1); translate([0,46.5,0]) linear_extrude(height=50) polygon(points=[[0,0],[0,2.5],[8,2],[8,0]]); translate([0,16.5,0]) linear_extrude(height=50) polygon(points=[[0,0],[0,2.5],[8,2],[8,0]]); } module roundedCube3(x,y,z) { r=3; translate([r,r,0]) minkowski() { cube([x-(2*r...
glb/cad_1cb14a1a2912.glb
Create a card tray organizer with three slots. The overall outer dimensions should be 187.8mm in width, 41mm in depth, and 93mm in height. The base floor is 1mm thick, with left and right outer walls of 2.4mm and internal dividers of 1.2mm. Each of the three internal card slots must have an opening width of 61mm, a dep...
$fn=200; CardTray(3,61,38.6,92,1,2.4,1.2,1.2,1.2,0); module CardTray(num_slots,int_opening_width,int_opening_depth,int_opening_height,floor_thickness,lr_wall_thickness,int_wall_thickness,front_thickness,rear_thickness,round0_or_square1) { difference(){ if(round0_or_square1==0) { roundedCube3((num_slots*int_opening_w...
glb/cad_663a4548dd9a.glb
Create a Food Chain Magnate organizer tray by starting with a rounded rectangular base measuring 213mm in length, 107.4mm in width, and 30mm in height, with corner radii of 3mm. Within this base, carve out five identical storage compartments. Each compartment is defined by a cylindrical void with a diameter of 40mm a...
$fn=200; difference(){ roundedCube(213,107.4,30); for(i = [0:4]){ translate([(i*41.88)+2.4,0,1]){ translate([0,21.2,21]) rotate([0,90,0]) cylinder(h=40.68, d=40, center=false); translate([0,1.2,21]) cube([40.68,105,40]); translate([0,21.2,1]) cube([40.68,85,40]); } } } module roundedCube(x,y,z) { r=3; translate([...
glb/cad_ac4013036a28.glb
Create a Food Chain Magnate organizer insert by starting with a base rounded rectangular block measuring 93mm in width, 21.8mm in depth, and 38.5mm in height, with corner radii of 3mm. Carve out the following geometric voids from this block: First, create two rectangular slots for card storage. Position the first slo...
$fn=200; difference(){ roundedCube(93,21.8,38.5); translate([1.2,2.9,1]) cube([19.5,16,90]); translate([10.95,40,25]) rotate([90,0,0]) cylinder(h=60, d=15, center=false); translate([3.45,-1,25]) cube([15,60,90]); translate([21.9,2.9,1]) cube([56,16,90]); translate([49.9,40,40]) rotate([90,0,0]) cylinder(h=60, d=4...
glb/cad_687d9300a5ab.glb
Create a Food Chain Magnate organizer insert. Start with a base rounded rectangular block measuring 213mm in length, 101.6mm in width, and 7mm in height. Carve five restaurant storage slots into the base. Each slot is a 37mm by 37mm square area, spaced 38.2mm apart starting from the edge. Within each of these square a...
$fn=200; difference(){ roundedCube(213,101.6,7); for(i = [0:4]){ translate([(i*38.2)+18,1.2,1]){ cube([37,37,40]); translate([18.5,0,-2]) rotate([0,0,0]) cylinder(h=38.08, d=25, center=false); translate([3.1,5,3]) rotate([90,0,0]) linear_extrude(10) difference(){square(3);circle(3);} translate([33.9,5,3]) mirror(...
glb/cad_627d5b516254.glb
Create a Food Chain Magnate Insert organizer. Start with a base rounded rectangular block measuring 213mm in length, 101.6mm in width, and 5mm in height. From this base, remove a series of geometric shapes to create storage compartments. Carve out several rectangular slots and cylindrical holes of varying sizes. Spec...
$fn=200; difference(){ roundedCube(213,101.6,5); translate([1.5,0,0]){ translate([1.2,80.9,1]) cube([19.5,19.5,30]); translate([10.95,101.6,-10]) rotate([0,0,0]) cylinder(h=38.08, d=15, center=false); translate([21.9,80.9,1]) cube([19.5,19.5,30]); translate([31.65,101.6,-10]) rotate([0,0,0]) cylinder(h=38.08, d=1...
glb/cad_fd713a3f27fe.glb
Create a mount base for a Raspberry Pi 3B+ consisting of a rectangular platform with a total footprint of 87mm by 58mm and a thickness of 7mm. At the four corners of the base, create four circular holes with a diameter of 6.5mm, each centered 3.5mm from the side edges. On the top surface, carve out a large central re...
$fn=60; board_base = 7; intersection() { difference() { translate([-1,-1,0]) cube([85+2,56+2,board_base+20.6]); translate([3.5,3.5,1]) { cylinder(d=6.5,h=5); translate([0,49,0]) cylinder(d=6.5,h=5); translate([58,0,0]) cylinder(d=6.5,h=5); translate([58,49,0]) cylinder(d=6.5,h=5); } hull() {...
glb/cad_87dba3efa079.glb
Create a parametric retaining clip for holding glass panels. Start with a rectangular base block measuring 10mm deep, 12mm wide, and 6mm high. In the center of this block, create a vertical hole with a diameter of 3.5mm. At the top surface of the block, center a wider cylindrical recess with a diameter of 6mm and a dep...
width = 12; depth = 10; height = 6; retaining_width = 24; retaining_depth = 10; glass_thickness = 3; retaining_thickness = height-glass_thickness; screw_diameter = 3.5; screw_recess_diameter = 6; screw_recess_depth = 2; create_angle_supports = true; difference() { difference() { cube([depth, width, height]); transl...
glb/cad_bf5a6ca517c0.glb
Create a parametric fan adapter consisting of a base plate and a transitioning funnel. Start by creating a rectangular base plate 91mm wide by 91mm long and 3mm thick, with rounded corners of 5mm radius. In the center of this plate, remove a rectangular cutout 61mm by 61mm. At each of the four corners of the base plate...
pipe_inner_d = 19.5; pipe_height = 20; funnel_height = 20; fan_outer_fillet_r = 3; fan_height = 15; fan_width = 61; fan_length = 61; base_margin = 30; base_height = 3; base_fillet_r = 5; hole_margin = 6; hole_d = 5; $fn = 60; include <../BOSL2/std.scad> module filleted_cube(size, should_fillet = true, fillet_r) {...
glb/cad_9a18b4bccb5e.glb
Create a dust collector add-on consisting of a central spherical hub with two symmetrical angled arms. Start with a central sphere with a radius of 45mm. From this sphere, extend two identical pipe arms angled away from each other at 38 degrees relative to the vertical axis. Each arm must be a hollow tube with an inn...
include <bosl2/std.scad>; include <bosl2/screws.scad>; include <bosl2/threading.scad>; $fn=100; a=38; aX=30; aY=0; aZ=15; l=40; difference() { adapter(); yrot(-a) translate([-aX,-aY,aZ]) translate([0,0,-18]) cylinder(55,d=38.8); yrot(a) translate([aX,aY,aZ]) translate([0,0,-18]) cylinder(55,d=38.8); translate([0,0...
glb/cad_57967f9bba5a.glb
Create a rectangular box with rounded corners and a hollow interior. The outer dimensions of the box are 60mm in length, 40mm in width, and 20mm in height. The exterior vertical corners should have a radius of 5mm. The interior must be hollowed out to create a cavity, leaving a wall thickness of 2mm for the sides and...
$fn=100; dyl=60; sir=40; vys=20; pol=5; pol2=3; tl=2; tld=tl; module roh1 () { cylinder (r=pol,h=vys); } module roh2 () { cylinder (r=pol2,h=vys); } module krabice () { difference () { hull () { translate ([pol,pol,0]) roh1(); translate ([pol,sir-pol,0]) roh1(); translate ([dyl-pol,sir-pol,0]) r...
glb/cad_f2ab40f1a802.glb