Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a customizable hashtag swag sign. Start with a rectangular base plate measuring 124mm wide by 36mm high with a thickness of 2mm. Ensure the corners of this base are rounded with a radius of 2mm. Centered on top of this base, add a raised rectangular frame that is 96mm wide and 26mm high. This frame should have...
TextZneni="#Pokus" ; TextVelikost=20; Sirka=100; Vyska=30; OkrajeNaStranach=12; Linka=2; Podklad=2; Fonty="Arial"; Motiv=4; vrtak=3; OkrajNahoreDole=3; $fn=120; difference(){ color([1,1,1]) minkowski(){ cube(size=[Sirka+OkrajeNaStranach*2- 2*Linka,Vyska+2*OkrajNahoreDole-2*Linka,Podklad],center=tr...
glb/cad_ec6e1df53956.glb
Create a 3D model of the text "BOMBRLÉ!" designed as a flat sign for earrings. Use the Impact font for all characters. The overall design is a flat extrusion with a total thickness of 4mm. The letters are arranged in two rows: the top row contains "BOM" and the bottom row contains "BRLÉ!". Position the letters such t...
resolution = 200; radius = 80; height = 2; Message = "BOMBRLÉ!"; Font="Impact"; $fn = resolution; union(){ scale([2.2,2.2,2])union(){ translate([-4.8,0,0])linear_extrude(1) text("B", halign = "center",font=Font,size=8); translate([0,0,0]) linear_extrude(2) text("O", halign = "center",font=Font,size=8); ...
glb/cad_9f69ebd5f275.glb
Create a bike chain ring guide consisting of a circular base plate and five radial mounting arms. Start by creating a flat annular ring with an outer diameter of 88mm and an inner diameter of 70mm, with a thickness of 2.4mm. Add a secondary, thinner concentric ring on top of the base plate that extends from the inner...
$fn=100; armCount = 5; armWidth1 = 10; armWidth2 = 7; armLength=10; screwHoleRadius = 2; zipTieWidth = 3; zipTieHeight = 2; plateThickness = 2.4; outerPlateDiameter = 176/2; innerPlateDiameter = 140/2; insetDepth=5; rotationAngle = 360/armCount; Plate(thickness=plateThickness, id=innerPlateDiameter, od=oute...
glb/cad_1b8d8d7aef70.glb
Create a pipe flange consisting of a hollow vertical cylinder and a square base. The cylinder should have an outer radius of 16.4mm and an inner radius of 13.4mm, creating a wall thickness of 3mm. The cylinder's height is 30mm. The base is a square plate measuring 50mm by 50mm with a thickness of 3mm, centered under t...
pipeRad = 26.8/2; pipeHeight = 30; pipeAngle = 0; wallThick = 3; flangeWidth = 50; holeRad = 2; holeDist = 25; screwDegrees = 90; screwAngle = 40; mountStyle = 1; strengthenFlange = 1; openFlange = 1; $fn=100; flange(); module flange(){ difference(){ rotate([pipeAngle,0,0]) diffe...
glb/cad_79cc998064a8.glb
Create a recessed arcade button holder by constructing a series of concentric cylindrical shells. Start with a wide, thin base disk that is 50mm in diameter and 2mm high. Centered on this base, add a main outer cylinder with a diameter of 44mm and a height of 25mm. Hollow out this main cylinder by removing a central co...
$fn=300; difference(){ cylinder(h=2, r=25); cylinder(h=25, r=22); } difference() { cylinder(h=25, r=22); cylinder(h=13, r=18.5); cylinder (h=26, r=14.5); }
glb/cad_92ac1bc96471.glb
Create a Game Table Cup Holder consisting of a top plate, a bottom plate, and a slot wedge. For the top and bottom plates, create a base shape by joining a rectangular table platform of 110mm by 95mm and a cup holder section of 90mm by 95mm, both with a thickness of 15mm and rounded corners. In the top plate, create ...
include <roundedcube.scad>; $fn=30; Part="all"; LedgeSize=[110,95]; Thickness=15; CupHolderSize=[90,95]; CupDiameter=40; CupHandleCutout=true; BoltHoleOffset=13; BoltHoleRadius=5.25; SlotText="GORDOX"; TextAlign=([2,7.5, 49]); if(Part == "top" || Part == "all") { topPlateWithSlots(ledge=LedgeSize, cupH...
glb/cad_8118eb88ba0f.glb
Create a storage solution for the game "Flick 'em Up!: Dead of Winter" consisting of several open-top boxes and token holders. All boxes feature 2mm walls and 1.5mm bases. First, create two stackable boxes. The bottom box is 125mm x 150mm x 50mm with a center divider along the x-axis. The top box is 125mm x 150mm x 21...
color([0.5,.5,0,1]) StackableBox(125, 150, 50, 2, 1.5, "Box A Bottom", xdivider=true); translate([0,0,57]) StackableBox(125, 150, 21.25, 2, 1.5, "Box A Top", true, true, false, true); translate([130,0,0]) StackableBox(125, 62, 70, 2, 1.5, "Box C", false, true, true, false); translate([0,0,90]) StackableBox(250, 150,...
glb/cad_2af14324f3e0.glb
Create a Minibox for Ghost Blitz consisting of a lower box and a lid. For the lower box, create a solid cube measuring 130x130x40mm with a wall thickness of 2.5mm. From the top face, remove a rectangular section measuring 63x93mm and 22.5mm deep to create a card slot. Adjacent to this, remove a second rectangular sec...
$fn = 200; innerbox_OP_width = 130; innerbox_OP_height = 40; innerbox_thickness = 2.5; innerbox_IP_width = innerbox_OP_width - (innerbox_thickness * 2); innerbox_lid_tolerance = 0.35; cards_width = 60; cards_length = 90; cards_height = 20; card_dim_padding = 3; card_thumbhold_dim = 13.5; lid(); module load_title_...
glb/cad_0507329f5d34.glb
Create a circular button with a diameter of 30mm and a height of 2mm. The main body should be a cylinder with a rounded outer bevel that has a diameter of 3mm. Add four small circular holes, each 2.5mm in diameter, positioned symmetrically around the center. Each hole should be offset from the center by 2mm along bot...
$fn=120; $buttonheight = 2; $buttondiameter = 30; $holesize = 2.5; $holeoffset = 2; $buttontext = "NO GUTS - NO GLORY - "; $textspacing = 17; $textsize = 3.25; $beveltype = "round"; Button( buttonheight = $buttonheight, buttondiameter = $buttondiameter, holesize = $holesize, holeoffset = $holeo...
glb/cad_068e0c7b1d4d.glb
Create a curtain rod wall mount. Start by forming a vertical cylindrical sleeve with an outer diameter of 35mm and a height of 25mm. This sleeve must have a concentric hollow center with a diameter of 30mm to accommodate a rod. Attached to the side of this cylinder, create a supporting arm that extends horizontally. ...
$fn=80; rodRadius = 15; hangerWidth = 25; hangerArmThickness = 15; hangerArmLength = 20; wallMountExtension = 90; difference(){ cylinder (hangerWidth,rodRadius+10, rodRadius+10, false); cylinder (hangerWidth*3,rodRadius, rodRadius, true); } translate([-hangerArmThickness/2,rodRadius,0]) cube([hangerArmThickness, ...
glb/cad_19dd7b1e6825.glb
Create a simple prosthetic thumb consisting of two connected segments. Start by creating a hollow base cylinder with an outer diameter of 32mm and a height of 30mm; the inner cavity should be a concentric cylinder with a diameter of 30mm and a height of 35mm, effectively leaving a wall thickness of 1mm. From the top ...
$fn = 100; phalange1_diametre = 30 ; phalange1_hauteur = 30; phalange1_epaisseur = 1; phalange2_diametre = 20 ; phalange2_hauteur = 35; phalange2_epaisseur = 1; phalange2_rotation = 30; epaisseur_bout_doigt = 8; make_phalange1(); difference(){ hull(){ translate ([0,0,phalange1_hauteur])rotate([0, phalange2_...
glb/cad_f5182b2e9273.glb
Create a customizable snowman designed to hold an LED tealight. The body consists of three stacked hollow spheres with a wall thickness of 2mm. The bottom sphere has a radius of 22mm, the middle sphere a radius of 18mm, and the top sphere a radius of 15mm. Each sphere is slightly rotated relative to the others by 5 deg...
rad1= 22; rad2 = 18; rad3 = 15; radeye = 1.5; wallth = 2; bottomh = 1; cutdep = 4; wiggle = 5; armwidth = 2.5; Renderdetail= 12; Sep= "off"; offset= 0.20; z1= rad1-rad1*offset; z2= rad1*2+rad1*offset; z3 = z1+z2+rad3*2*offset; $fn = Renderdetail; scale(1.7,1.7,1.7){ if (Sep =="off"){ body(); }else{ bod...
glb/cad_99a9a950e7cb.glb
Create a YACHO cable holder consisting of three identical spherical units aligned in a row. Each unit begins as a sphere with a radius of 20mm. Flatten the bottom of each sphere by slicing it with a horizontal plane at 10mm from the center, creating a flat base. For each unit, carve out a cable channel. This channel i...
count = 3; rad1 =20; w1 = 7; w2 = 15; w3 = 5; h1 = 13; h2 = 5; drilldia = 3; drilldia2 = 5; drilldepth = 1; shift= 1.5; drillings = "Yes"; detail = 80; Render = "Preview"; hb = rad1/2; r = 1.5; Start = 0; End = count-1; $fn = detail; if (Render == "Full") rounded_multiple_holder(); else multiple_...
glb/cad_920f33314294.glb
Create a dental brush holder designed to sit atop a tapered glass. The main body is a thick, curved ring with a height of 20mm. The outer radius of this ring is 55mm and the inner radius is 35mm. The ring is not a full circle; it is a partial arc defined by a starting angle of 8 degrees and subsequent intervals of 15 d...
$fn = 300; inf = 100; eps = 0.01; glass_width = 2; glass_radius_top = 85 / 2; glass_radius_bottom = 69 / 2; glass_height= 103; render_glass = false; if (render_glass) glass(); module glass() { difference() { cylinder(glass_height, glass_radius_bottom, glass_radius_top); translate([0, 0, 1]) cylinder(g...
glb/cad_e7798666d44a.glb
Create a TL 866II Plus Box, which is a shallow rectangular tray. Start by creating a main outer body that is 147mm wide, 147mm deep, and 32mm high. The walls should have a thickness of 1.2mm, and the outer corners should be rounded with a 3mm radius. Hollow out the center to create a basin that is 144.6mm wide, 144.6mm...
$fn=64; handle=false; usb=true; adapter_slots=false; separating_wall=false; zif_lever_notch=true; module dip(distance,pins) { if (adapter_slots) { difference() {cube([4+distance*7.75,4+pins*2.54,7.3],center=false); translate([4,0,0.1])cube([distance*7.75-4,4+pins*2.54,7.3...
glb/cad_2ac35bf1e6ba.glb
Create a Tangram Box by starting with a solid rounded cube that has a total width and depth of 79mm and a height of 23mm. The corners of this outer shell should have a rounding radius of 1mm applied only to the vertical Z-axis edges. Hollow out the center of the cube to create an open-top container. The interior cavit...
height = 4; setHeight=5.0; innerSize=75; wallThinkness=2; inside=true; engraving = true; engraveDepth=.6; TextBoxText= "Tangram"; TangramBox(TextBoxText,height,setHeight,engraving,engraveDepth,innerSize,wallThinkness,inside); module TangramBox(engraveText, height,setHeight,engraving,engraveDepth=.6,size=75,wal...
glb/cad_82ecdc7b4a21.glb
Create a Samsung Watch3 parametric stand consisting of two stacked concentric rings. First, create a base ring with an outer diameter of 52mm, an inner diameter of 33.8mm, and a height of 10mm. Position a second ring directly on top of the base. This upper ring must have an outer diameter of 52mm, an inner diameter...
$fa = 1; $fs = 0.4; d_est_1 = 52.0; d_int_1 = 33.8; h_alt_1 = 10.0; d_est_2 = 52.0; d_int_2 = 49.0; h_alt_2 = 15.0; module base_1() { cylinder(d=d_est_1,h=h_alt_1,center=true); } module interno_1() { cylinder(d=d_int_1,h=h_alt_1,center=true); } module esterno_2() { cylinder(d=d_est...
glb/cad_7a6bb50883d7.glb
Create an Animal Asthma Inhaler Adapter consisting of a circular base and a concentric cylindrical wall. Start by creating a solid disk with a diameter of 49mm and a thickness of 4mm. In the center of this disk, remove a cutout shaped like the profile of an inhaler mouthpiece; this cutout is formed by the intersection ...
tol=0.25; height=17 + tol; width=24 + tol; minHeight=9.5 + tol; majorDiameter=2*sqrt((pow(width/2,2)/(1-(pow(minHeight/2,2)/pow(height/2,2))))); echo (majorDiameter); tubeDiameter=45; tubeWall=2; baseDepth=4; adapterHeight=25; fn=50; module mouthPiece () { difference() { resize([majorDiameter,height]) circle(height, $...
glb/cad_ad7ee1ad8c68.glb
Create a hexagonal pen stand with an outer diameter of 56mm and a total height of 50mm. The main body is a six-sided polygonal prism with a wall thickness of 1mm. Hollow out the center of the prism to a diameter of 54mm and a depth of 50mm, leaving a 1mm thick base. Inside this hollow area, create a hexagonal grid pa...
stand_sides = 6; grid = "hex"; D = 56; D1 = 54; H = 50; h = 50; w = 10; d = 1; wb = 1; slope = 15; W = w + d; s0 = floor (D1/W)/2 + 1; echo (s0); $fn = 128; eps = 0.01; deps = 2 * eps; difference () { cylinder (d = D, h = H, $fn = stand_sides); translate ([0, 0, h - eps]) cylinder (d = D1, h...
glb/cad_8d5b04eb2568.glb
Create a 3D logo for "Zvědátoři" consisting of stylized text and two character faces. First, construct the main text "ZVĚDÁTOŘI" in a bold, sans-serif typeface. Extrude these letters to a height of 4mm. Position the text so it follows a slight upward diagonal slant from left to right. Below this, add two smaller name...
fudge = 0.1; module poly_path14(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[-313.650000,-128.056250],[-317.574414,-126.693945],[-321.139063,-124.751563],[-324.293555,-122.295898],[-326.987500,-119.393750],[-329.170508,-116.111914],[-330.792...
glb/cad_0c0557b98433.glb
Create a PS4 Pro foot stand by constructing a composite geometric holder. Start with a base rectangular block measuring 30mm wide, 20mm deep, and 5mm high. On top of this base, add a vertical rectangular pillar measuring 5mm wide, 20mm deep, and 71mm high, positioned at the front edge of the base. Attach a second recta...
$length = 20; module rail(width = 5) { union() { translate([0, 0, 0]) { % cube([width, $length, 56]); } translate([width, 0, 15]) { cube([10, $length, 6]); } translate([width, 0, 35.5]) { cube([10, $length, 6]); } } } modul...
glb/cad_d6cc86ea3b44.glb
Create a Power Socket Support with an overall height of 40mm, a width of 48.5mm, and a length of 98.5mm. The main body is a rectangular block with heavily rounded corners and edges, achieved by applying a 10mm radius. The bottom is open, with a cutout extending 15mm up from the base. The top face features a large cent...
$fn=50; $socket_count = 2; $socket_tap = 6; $height = 40; $length = $socket_count * (22+10) + 25.5; $width = 68.5; difference() { minkowski() { cube([$width-20, $length-20, $height-10]); sphere(r=10); } translate([-15, -15, -15]) { cube([$width + 30, $length + 30, 15]); } ...
glb/cad_61c99c4b3488.glb
Create a dishrack glass holder with a total width of 13mm. Start by forming a main body that consists of a flat base with a rounded end. At one end, create a cylindrical head with a radius of 7.5mm and a height of 13mm. Within this head, carve out a central vertical hole with a radius of 2.5mm. To create the hook mec...
module holder() { union() { difference() { translate([0, 0, 0]) { cylinder(r=7.5, h=$width); } translate([0, 0, -1]) { cylinder(r=2.5, h=$width+2); } translate([0, -2.5, -1]) { cube([10, 3, $width+2...
glb/cad_8235c0d09850.glb
Create a soundbar support bracket consisting of a hollow rectangular base and a vertical mounting arm. Start by constructing a rectangular outer frame with overall dimensions of 81mm in width, 10mm in depth, and 62mm in height. The walls of this frame should be 5mm thick, and all exterior corners must be rounded with a...
module support() { module border() { difference() { translate([5, 0, 5]) { minkowski() { cube([71, 10, 52]); rotate([-90, 0, 0]) { cylinder(r=5, h=11.5); } } } ...
glb/cad_172f33220823.glb
Create an Angled Tap Support by starting with a main cylinder that has a radius of 25mm and a height of 18mm. At the base of this cylinder, add a second, shorter cylinder with a radius of 19mm and a height of 2.5mm, positioned 2mm below the origin. To create the angled support, place a 60mm by 60mm by 20mm cube startin...
module tap_holder() { difference() { union() { difference() { cylinder(r=50/2, h=18); translate([-50/2, -30, 18]) { rotate([0, 20, 0]) { cube([60, 60, 20], center = false); } } ...
glb/cad_8373c9bba072.glb
Create a thermostat potentiometer knob replacement with a total height of 15mm. Start by constructing an outer hollow cylinder with an outer diameter of 22mm and a wall thickness of 2mm, leaving the bottom 2mm solid. At the top of this outer shell, create a recessed ring by removing a cylinder with a diameter of 18mm a...
module knob(radio_out = 21.5, radio_in = 5.5, height = 15) { union() { difference() { translate([0, 0, 0]) { cylinder(r=radio_out/2, h=height, $fn=$detail); } translate([0, 0, 2]) { cylinder(r=radio_out/2-2, h=height, $fn=$detail); ...
glb/cad_96e4da2dbb8f.glb
Create a spindle cooler fan consisting of a central hub, six twisted blades, and an outer shroud. Start with a cylindrical outer shroud with a radius of 39.15mm (rotor radius 36.75mm plus 2.4mm thickness) and a total height of 23mm. The shroud should be hollowed out by a cylinder of 36.75mm radius. At the center, cr...
rotorRadius = 36.75; shroudThick = 2.4; NumberOfBlades = 6; BladeHeight = 16; SpinnerHeight=23; shaftRadius = 4.1; shaftThick = 3.0; magRadius = 5.2; magThick = 1.2; magHeight = 3.8; $fn=100; module aerofoil () { radius = 1.3; thickness = .3; angle = asin (0.5/radius); translate ([sin (angle) * radius,-cos (angl...
glb/cad_607ffc85fd3f.glb
Create a fan spinner for a spindle cooler. Start by creating a main outer cylindrical shell with a height of 23mm and a radius of 39.15mm. Remove a concentric inner cylinder from this shell with a radius of 36.75mm to create a wall thickness of 2.4mm. At the base of the model, create a central core cylinder with a hei...
rotorRadius = 36.75; shroudThick = 2.4; NumberOfBlades = 6; BladeHeight = 16; SpinnerHeight=23; shaftRadius = 4.1; shaftThick = 3.0; $fn=100; module aerofoil () { radius = 1.3; thickness = .3; angle = asin (0.5/radius); translate ([sin (angle) * radius,-cos (angle) *radius, 0]) { union () { intersection ...
glb/cad_8e17141af260.glb
Create a red cap gun for cosplay weapons consisting of two concentric cylinders joined together. First, create a central inner cylinder with a diameter of 11mm and a height of 10mm to serve as the barrel insert. Then, create a wider outer cylinder with a diameter of 18mm and a height of 5mm to serve as the external cap...
$fa = 1; $fs = 0.4; d_barrel = 11; h_barrel = 10; d_cap = 18; h_cap = 5; module barrel() { color("green") translate([0,0,h_barrel/2]) cylinder(h=h_barrel, d=d_barrel, center=true); } module cap() { color("red") cylinder(h=h_cap, d=d_cap, center=true); } union() { barrel(...
glb/cad_6d3de939ff93.glb
Create a ball joint leveling foot consisting of three separate components: a threaded ball, a socket, and a friction washer. First, create the ball component by starting with a sphere 10mm in diameter. Subtract a metric M5 thread (0.8mm pitch) from the bottom half of the sphere, extending from the center down to the b...
$fn=96; include <threads.scad> ballDiameter=10; loose=0.25; threadDiameter=5; threadPitch=0.8; ballSocketH=3/4*ballDiameter; extraH=0.4; tpuWasherH=0.6; tpuWasherInset=2.4; tpuWasherInsetLoose=0.4; wall2=1.2; clawsNumber=6; clawsWidth=2.5; wall1=2; wall3=1; translate([25,0,extraH+tpuWasherH]) tpu(hh=tpuWa...
glb/cad_0db379e3a321.glb
Create a sausage holder consisting of a hexagonal main body and a mounting hook. Start by creating a hexagonal cylinder with a radius of 19mm and a height of 88mm. Hollow out the center of this cylinder with a smaller hexagonal hole of radius 16mm, starting from a height of 15mm up to the top. At the bottom, leave a so...
$fn=321; sr=38/2; module sempf() { difference() { cylinder(r=sr, h=88, $fn=6); translate([0,0,3]) cylinder(r1=sr-5, r2=sr-3, h=12, $fn=6); translate([0,0,3+12-.01]) cylinder(r=sr-3, h=88, $fn=6); translate([-sr-1,-9+5,3+12-.01]) cube([2*sr+2,42,20]); translate([-sr-1,-9+5,3+12+20+7-.01]) cub...
glb/cad_ce71f3ef8815.glb
Create a drill dust collector hose plug designed for a 12mm inner diameter PVC hose. The object is built around a central vertical axis with a hollow core of 8mm in diameter running through the center. Start with a base plate that is 12mm in diameter and 2.75mm thick, featuring a recessed center. Above this base, con...
$fn=123; hcod=12; hcid=hcod-2*2; difference() { union() { cylinder(r1=(hcod+.25)/2, r2=(hcod-1)/2, h=23); difference() { translate([0,0,0]) cylinder(r=(2*hcod)/2, h=2.75); translate([0,0,2]) cylinder(r=(2*hcod-2)/2, h=1.01); } translate([0,0,2]) cylinder(r1=(hcod+2)/2, r2=(hcod-1)/2, h...
glb/cad_de677d8f6c35.glb
Create a drill dust collector adapter consisting of a main cylindrical body and a tapered hose connector. Start with a base cylinder 34.5mm in diameter and 10mm high. On top of this, add a 4mm high cylinder with a diameter of 31.5mm, followed by a 2mm high transition ring that flares back out to a 34.5mm diameter. Abov...
$fn=200; hcod=12; hcid=hcod-2*2; difference() { union() { translate([0,0,0]) cylinder(r=34.5/2, h=10+.25); translate([0,0,10]) cylinder(r=(34.5-3)/2, h=4); translate([0,0,10+4]) cylinder(r1=(34.5-3)/2, r2=34.5/2, h=2); translate([0,0,10+4+2]) cylinder(r=34.5/2, h=28); translate([0,0,37-.5]) d...
glb/cad_b74a99140118.glb
Create a parametric sponge holder consisting of a base tray and a removable hexagonal grid insert. For the tray, create a rounded rectangular shell with inner dimensions of 193mm width, 88mm depth, and 35mm height. The walls should be 3.5mm thick with a corner radius of 4.5mm. On one of the long sides (the width), in...
width = 193; depth = 88; roundness = 4.5; drain_side = 1; drain_duct = 1; part = "both"; height = 35; th=3.5; module round_cube(coords, r=0) { if (r<=0) { translate([0,0,coords[2]/2]) cube(coords, center=true); } else { x = coords[0]; y = coords[1]; z = coords[2]...
glb/cad_49e543f512c4.glb
Create a toothbrush case consisting of a main body and a cap. For the main body, create a cylinder 73mm tall with a base diameter of 30mm (15mm radius) that tapers slightly to a top diameter of 32.2mm (16.1mm radius). Hollow out the center of this body by removing a cylinder with a diameter of 26.5mm (13.25mm radius) s...
$fn=50; union(){ difference(){ cylinder(73,15,16.1); translate([0,0,3]) cylinder(70,13.25,13.25); hull() { translate([-8,5,0]) cylinder(r=.75,h=3,center=false); translate([8,5,0]) cylinder(r=.75,h=3,center=false); } hull() { translate([-8,-5,0]...
glb/cad_f4370da43d10.glb
Create a toothbrush case consisting of a main body and a cap. For the main body, create a hollow cylinder with a height of 113mm, an outer diameter of 32mm, and an inner diameter of 25mm. The wall thickness should be 3.5mm, with a solid base 3mm thick at the bottom. For the cap, create a separate hollow cylinder with a...
$fn=50; union(){ difference(){ cylinder(113,14.5,16); translate([0,0,3]) cylinder(111,12.5,13); } difference(){ translate([0,0,113]) cylinder(30,14.5,14.5); translate([0,0,113]) cylinder(31,13,13); } }
glb/cad_f48756b7cbf0.glb
Create a DIY Beer Line Cleaner adapter by constructing a thick cylindrical body with a total height of 15mm and an outer diameter of 23mm. Start by creating a solid cylinder of these dimensions. Bore a central hole through the bottom 11mm of the object using a metric thread with a diameter of 17mm and a pitch of 2mm. A...
use <libs/threads.scad> $fn = 100; handle_height = 11; bottom_handle_diameter = 23; top_handle_diameter = 23; bottom_diameter = 17.0; mm_per_inch = 25.4; difference() { union(){ difference() { hull() { cylinder(h=handle_height+2, r1=bottom_handle_diameter/...
glb/cad_ee9b2c1bd9b4.glb
Create a BLTouch mount consisting of a base plate and a vertical support bracket. Start with a base plate 3mm thick. The main body of the plate is a central rectangle 8mm wide and 11.53mm long, with two rounded ends created by hulls around two cylinders of 8mm diameter centered 18mm apart along the length. Add two rect...
partThickness = 3; nudge = 0.01; bltH = 11.53; m3Dia = 3.2; blScrewSep = 18; bltW = 26; bltCentSqW = 8; distBlockW = 17; distBlockH = 5; $fn = 60; module bltouchplate() { difference() { union(){ hull() { for(i=[1,-1]){ translate([blScrewSep/2*i,0,0]) ...
glb/cad_c8ad917241f9.glb
Create a magnetic pen holder by constructing a hollowed-out geometric shell. Start with a base shape formed by the intersection of a cube with a side length of 120mm and a sphere with a radius of 60mm, centered so the bottom of the sphere sits at the base of the cube. Create a wall thickness of 3.2mm by subtracting a s...
Radius=60; $fn=9; module inter(Radius) { intersection() { cube(2*[Radius,Radius,Radius],true); translate([Radius,Radius,0]) scale([1.3,1,1]) sphere(Radius); }} difference() { union() { difference() { inter(Radius); translate([1.51,3.21,0]) scale([1,1,1])inter(Radius-3.2); } translate([2,0,0]) for (i=...
glb/cad_c1dd205bfeaa.glb
Create a magnetic pen holder for a fridge with overall dimensions of 30mm depth, 120mm width, and 85mm height. The main body is a rectangular shell with a thickness of 2.5mm on the sides and bottom. The front face of the holder features a series of decorative organic cutouts. Create three large, slightly tilted ellipt...
Depth=30; Height=85; Width=120; BRad=1.25; Rad=0.7; BScale=0.45; precission=4; $fn=(1/precission)*Width+50; intersection() { cube([Depth,2*Width,Height],true); union() { difference() { cube([Depth,Width,Height],true); union() { translate([-0,0,1.3]) cube([Depth-2.5,Width-2.5,Height],true); rota...
glb/cad_41693c3bae3a.glb
Create a magnetic pen holder for a fridge. Start with a solid rectangular block measuring 30mm in depth, 120mm in width, and 85mm in height, centered on the origin. To create the hollow interior and decorative cutouts, remove a central vertical column consisting of three cylinders, each with a radius of 0.7mm. Positi...
Depth=30; Height=85; Width=120; $fn=max(Depth,Width,Height)*1.2; difference() { cube([Depth,Width,Height],true); translate([Depth/2,0,0]) union() { for (i=[-1,0,1]) translate([0,i*Width/2,0]) cylinder(Height,0.7,0.7,true); scale ([1,1,1.15]) for (i=[-1,1])rotate([0,90,0])rotate([0,0,i*90])translate(...
glb/cad_823ab0cc7463.glb
Create a magnetic pen holder for a fridge. Start by constructing a central body composed of four curved walls. Each wall is created by rotating a circle with a 35mm radius around a central axis at a distance of 350mm, using a 25-degree extrusion arc for each segment, and repeating this at 90-degree intervals (0, 90, 18...
$fn=50; difference () { union(){ for (i=[0,90,180,270]) { rotate([0,0,i]) translate([350,0,0]) rotate([90,0,0]) rotate_extrude(angle=25) translate([-350,0,0]) circle(r=35);} translate([0,0,-20]) sphere(45); } union(){ cylinder(100,400,400,false); translate([0,0,-130]) ro...
glb/cad_1e9f36a7fd36.glb
Create a magnetic pen holder base. Start by constructing a solid shape formed by the convex hull of three spheres, each with a radius of 5mm. Position these spheres at the following coordinates: one at [-24, 0, 0], one at [24, 7, 0], and one at [24, -7, 0]. Constrain this resulting organic form by intersecting it wit...
$fn=50; difference() { intersection() { hull() { for (i=[[-24,0,0],[24,7,0],[24,-7,0]]) translate(i) sphere(r=5); } cube([100,100,3.9],true); } for (i=[[-24,0,-0.25],[24,7,-0.25],[24,-7,-0.25]]) translate(i) cylinder(3.07,4.08,4.08,true); }
glb/cad_700da77fc331.glb
Create a magnetic pen holder consisting of a long, thin vertical cylinder with a diameter of 6.5mm and a total length of 90mm. Along the center of this main cylinder, create a series of spherical expansions to house magnets. Position these spheres at regular intervals from the bottom to the top of the cylinder; speci...
MainDia=6.5; Length=90; MagDia=7.08; MagHeight=4; MagNo=2; $fn=40; difference() { union() { cylinder(Length,MainDia,MainDia,true); for (i=[-Length/2:2*Length/MagNo:Length/2]) { translate([0,0,i]) sphere(MagDia*1.25+0.1); } } union() { rotate([0,-90,0]) cylinder(Length,Length,Length,false); rotate([0,90,0]) trans...
glb/cad_e26d023a6e7c.glb
Create a Drill Guide for Mating Holes by starting with a rectangular block measuring 43mm in width, 53.5mm in depth, and 69.5mm in height. From this block, remove a central rectangular section measuring 37mm wide and 38.5mm deep, extending from the front face to the top, leaving a wall thickness of 3mm on the sides and...
wall_thick = 3; scaffboard_x=37; scaffboard_z=226; guide_len=20; drill_d=10.5; hole_d=25.5; hole_dist=25; subtract_dist=-0.1; $fn=50; module hol_cyl(len,id,thickness){ difference(){ cylinder(h=len,r=id/2+thickness,center=false); translate([0,0,subtract_dist]) cylinder(h=len-(2*subtract_dist),r=id...
glb/cad_7a00aedbd30b.glb
Create a Drill Guide for Mating Holes. Start with a rectangular block measuring 43mm in width, 38mm in depth, and 65mm in height. Carve a rectangular slot through the center of the block, starting 3mm from the front face and extending 37mm wide and 35mm deep, leaving a 3mm wall thickness on all sides. At the bottom...
wall_thick = 3; scaffboard_x=37; scaffboard_z=236; guide_len=20; drill_d=10.5; hole_d=25.5; hole_dist=25; subtract_dist=-0.1; $fn=50; module hol_cyl(len,id,thickness){ difference(){ cylinder(h=len,r=id/2+thickness,center=false); translate([0,0,subtract_dist]) cylinder(h=len-(2*subtract_dist),r=id...
glb/cad_d0062c8e6b99.glb
Create a display stand for a sphere with a diameter of 114.3mm. Begin by creating a circular base ring with an outer diameter of 90mm and a height of 5mm. The ring should have a flat bottom and a slightly tapered inner wall. Add five support legs distributed evenly around the perimeter of the base. Each leg starts as ...
Sphere_D = 114.3; Sphere_H = 60; Base_D_Outer = 90; Base_H_Outer = 5; Leg_Count = 5; Leg_D = 6; Leg_Cone_Height_Pct = 125; Leg_Cone_Diam_Pct = 200; Show_Globe = true; module _() {} $inf = 1000; $eps = 0.001; Sphere_R = Sphere_D / 2; Sphere_Center_H = Sphere_H + Sphere_R; Base_R_Outer = Base_D_Outer / 2; fy ...
glb/cad_a4048b3d99a0.glb
Create a stackable Om coaster. Start by creating a conical base with a height of 10mm, where the bottom diameter is 95mm and the top diameter is 100mm. Hollow out the center of this shape by removing a conical section starting from a height of 3mm, with a bottom diameter of 85mm and a top diameter of 90mm. To make the...
include <om.scad> Top_Outer_D = 100; Top_Inner_D = 90; Bottom_Outer_D = 95; Bottom_Inner_D = 85; Top_H = 10; Bottom_H = 3; Image_H = 1.0; Image_Size_Pct = 80; Stacking = true; Stacking_Depth = 0.8; Stacking_Inset = 0.25; Count = 4; $fn = $preview ? 90 : 180; module _end_params() {} assert(Top_Outer_D > Bottom_Outer...
glb/cad_17ea3bdb4cd3.glb
Create a Fake Alarm Sign by starting with a regular octagonal prism that has a flat-to-flat diameter of 203.2mm and a total height of 3.12mm. Carve a recessed octagonal area into the top face, leaving a 3.2mm wide border around the perimeter; this recess should be 2mm deep, leaving a base thickness of 1.12mm. Drill two...
Sign_Width = 203.2; Sign_Thickness = 2.0; Border_Width = 3.2; Writing_Thickness = 1.12; Writing_Font = "Calibri"; Hole_Diam = 4.4; Hole_Offset_Pct = 0.43; module _end_params() {} $eps = 0.001; module octagon(diam, height) rotate(360 / 16) cylinder(d = diam / cos(22.5), h = height, $fn = 8); module screw...
glb/cad_97dbc9c39eaa.glb
Create a sink and disposal strainer consisting of a circular base, a central shaft, and a spherical knob. Start with a truncated cone base that has a top diameter of 79.375mm, a height of 4mm, and sides sloped at 75 degrees. Around the top outer edge of this base, add a cylindrical curb with a height of 5mm and a wall ...
Base_Top_D = 79.375; Base_Overhang_Angle = 75; Base_H = 4.0; Hole_Rings = 3; Hole_D = 6.0; Curb = true; Curb_W = 3.0; Curb_H = 5.0; Shaft_D = 12.0; Shaft_L = 10.0; Knob_D = 15.0; Knob_Facets = 90; module _end_params() {} Base_Top_R = Base_Top_D / 2; Base_Bottom_R = Base_Top_D / 2 - Base_H / tan(Base_Overha...
glb/cad_582ed7688b36.glb
Create a Wall Panel Brace by starting with a rectangular block that is 60mm long, 40mm wide, and 15mm high. Center this block on the origin. Remove two cylindrical holes from the block to create openings for bolts. Each hole must have a radius of 5mm and pass completely through the 15mm height of the block. Position th...
$fn=200; cube_height = 15; cube_width = 40; cube_length = 60; screw_offset = 10; thread_radius = 5; thread_offset = 22.5; fusion_360_threads = "10_mm_thread.stl"; split_view = false; if(split_view){ difference(){ wall_brace(cube_length,cube_width,cube_height, screw_offset, thread_radius, thre...
glb/cad_049672fdeb82.glb
Create a Wall Panel Brace consisting of a rectangular block measuring 60mm in length, 15mm in width, and 17mm in height. Center the block on the origin. Remove material to create two identical screw holes and two threaded holes along the center axis of the length. Position the two screw holes 10mm from each end of th...
$fn=200; cube_height = 17; cube_width = 15; cube_length = 60; screw_offset = 10; thread_radius = 5; thread_offset = 22.5; fusion_360_threads = "10_mm_thread.stl"; split_view = false; if(split_view){ difference(){ wall_brace(cube_length,cube_width,cube_height, screw_offset, thread_radius, thre...
glb/cad_ebfe79cd4e6d.glb
Create a customizable cable duct and matching cover. The duct is a base channel with a length of 100mm, width of 15mm, and height of 15mm. The walls have a thickness of 1.2mm. Along the length of the duct, create 8 evenly spaced fins, each 3mm wide. The bottom of these fins should have a 2mm radius. To allow for mounti...
cd_length = 100; cd_width = 15; cd_height = 15; cd_fins = 8; cd_fin_width = 3; cd_shell = 1.2; cd_cover_equalwidth = 0; cd_ra = 2; cd_cover_edge = "none"; cd_fins_resize = 0; cd_hole_count = 3; cd_hole_diameter = 3.3; cd_hole_offset = 10; part = "both"; mf_length = 2; mf_angle = 45; mf_depth = 0.8; mf_...
glb/cad_4802aa72d1d3.glb
Create a Parametric SD Card Holder consisting of a main housing and several removable trays. The housing is a rectangular box with a wall thickness of 2.5mm. The interior is hollowed out to accommodate the trays, with a cylindrical hinge cutout of 8mm diameter running through the side to allow the trays to pivot. The...
include<MicroSD-Logo.scad> num_mtray=3; num_ftray=0; num_usb=0; num_box=0; 3DPrint=false; Render_Box = true; Render_mSD_Card_trays = true; Render_SD_Card_trays = true; Render_USB_trays = true; Render_user_trays = true; clearance = 0.5; tray_clearance = 0.1; tray_length = 35.5; tray_width =27.5; micro_sdcar...
glb/cad_5c79fa07b438.glb
Create a Parametric Overhang Test consisting of a curved wall of panels and a rectangular base. The main structure is a curved wall with a thickness of 4mm and a total width of 25mm. The wall is composed of a series of panels, each 15mm high, that incrementally change their overhang angle. Start the first panel at a ...
$vpr=[90 - atan(sin(45)),0,45]*1; $vpd = 600 + 12; use <Recymbol/library.scad> Object_type = 1; Modifier_step = 1; Use_full_modifier = true; Precision = 180; Start_angle = 30; End_angle = 70; Angle_step = 10; Panel_width = 25; Panel_thickness = 4; Panel_height = 15; Text_sides = 1; Front_text_style = 1; ...
glb/cad_677c2fa9ae20.glb
Create a cam lock towel holder consisting of a rectangular base and two symmetrical lobes. Construct the base as a rectangular slab 52mm long, 25mm wide, and 3mm thick, with 1mm chamfered edges. On the top surface, place two vertical pins centered along the width. Each pin is 15mm tall with a diameter of 4.8mm, featu...
$fn=36; 3D_Printing =true; Section_Part =false; base_width = 25.0; base_length = 52.0; base_thickness=3; base_chamfer = 1; lobe_edge_distance = 9.25; lobe_hole = 5; lobe_hole_counterbore =7; lobe_counterbore_depth = 1.5; lobe_small_end_dia = 10.0; lobe_big_end_dia = 30; lobe_big_end_dis = 12.25; lobe_chamfer =1.0; ...
glb/cad_f128801f8471.glb
Create a Keycap Stem and Center Tool consisting of two separate components. First, create a stem by placing a cylinder with a diameter of 4.5mm and a height of 10mm. On top of this cylinder, at a height of 10mm, add two overlapping rectangular prisms to form a cross shape: one prism measuring 1.5mm by 4.5mm by 2mm, and...
$fn=36; stem(); centertool(); module centertool() { difference() { rotate([0,0,45]) base(); translate([0,0,-0.1]) cylinder(h=24.2, d=10); translate([-2.5,-10,2]) cube([5,20,23]); translate([-10,-1,1.5]) cube([20,2,23]); } } module base() { cylinder(h=4, d=35); difference() { translate([-11,-11,4])...
glb/cad_a1977b3d6766.glb
Create a sunshield hood for a Bluetooth thermometer consisting of a curved clip and an overhanging shade. First, construct a C-shaped clip designed to snap onto the device. The clip's internal void is defined by a hull of four cylinders with a radius of 31.38mm (2.414 * 13mm). Two cylinders are positioned at the top ...
meh = 0.001; curve_d = 13; curve_rad = curve_d * 2.414; min_width = 75.6; max_width = 78.4; diff_width = max_width - min_width; size_step = (max_width - min_width)/2; depth = 1; thickness = 15; quality = 32; module shield_void(springyness) { top_buldge_reduction = springyness/2; hull() { union() { ...
glb/cad_ca8c1bd61b10.glb
Create a sliding curtain endstop with a total height of 70mm, a depth of 80mm, and a wall thickness of 8mm. The object is a hollow, U-shaped sleeve designed to hold panels. Construct the base as a solid slab 6mm thick. The footprint should be symmetrical, featuring a wide front opening of 50mm that narrows to an inter...
tall = 70; deep = 80; narrow_internal_wide = 30; wider_internal_wide = 50; wall_thickness = 8; narrow_internal_marker = narrow_internal_wide+(wall_thickness/2); wider_internal_marker = wider_internal_wide+(wall_thickness/2); qual = 32; base_thickness = 6; module marker_wide_opening_corner() { translate([0,0,0]) ...
glb/cad_20f15dfb8380.glb
Create a Hygrometer Holder consisting of a rigid main body and two flexible friction-fit pads. First, construct the rigid main body as a rectangular shell with overall dimensions of 66mm wide, 10mm deep, and 35mm tall. The shell walls are 2mm thick. Create a central rectangular void measuring 46.5mm wide by 27mm tall...
hygroWide = 46.5; hygroTall = 27; hardWide = 66; hardDeep = 10; hardTall = 35; hardThick = 2; tpuUpperWide = (72 - 2 - hardWide) / 2; tpuLowerWide = (74.5 - hardWide) / 2; slotWidth = 4; labelStandHigh = 12.5+4; labelStandWide = hardWide-10; labelStandThick = 2; legStandDeep = 20; legStandWide = hardWide-10; legSt...
glb/cad_b11f0f3692a0.glb
Create two gripper jaw covers for locking pliers. Each cover starts as a solid rectangular block 84mm wide, 5.2mm thick, and 28mm high. From this block, remove a central void to accommodate the metal jaw. This void is 80mm wide and 2.5mm thick, positioned 2mm from the side edges and 2mm from the bottom face. The void...
jaw_width = 80; jaw_thin_depth = 26; jaw_fat_depth = 43; jaw_thickness = 2.5; jaw_flat_left = 32; jaw_flat_right = jaw_width - jaw_flat_left; lips_deep_thickness = 1.6; lips_grip_thickness = 4; lips_extra_sides = 2; lips_extra_front = 2; lips_width = (lips_extra_sides * 2) + jaw_width; lips_height = jaw_thin_depth +...
glb/cad_b1b3717d497c.glb
Create an adjustable stool foot assembly consisting of three distinct parts: a threaded leg, a threaded base, and a TPU shoe. First, create the threaded leg. Start with an M30 external bolt with 7 turns. At the base of this bolt, add a cylinder with a diameter of 25.75mm and a height of 3mm. Remove a central cylindric...
use <threadlib/threadlib.scad> specs = thread_specs("M30-ext"); P = specs[0]; Rrot = specs[1]; Dsupport = specs[2]; section_profile = specs[3]; H = (6 + 1) * P; echo(Dsupport); module threaded_leg() { difference() { union() { bolt("M30", turns=7); translate([0,0,-4]) cylinder(h=3,d=25....
glb/cad_48ec726da10a.glb
Create a Desk Cable Port consisting of a main cylindrical sleeve and a removable sliding lid. First, construct the main sleeve as a cylinder with an outer diameter of 63mm and a height of 20mm. Hollow out the center by removing a concentric cylinder with a diameter of 60.5mm, leaving a wall thickness of 1.25mm. Next...
meh = 0.002; meh2 = meh*2; quality = 90; module main_cylinder() { cylinder(d=63,h=20, $fn=quality); } module main_void() { translate([0,0,-meh]) cylinder(d=63-2.5,h=20+meh2, $fn=quality); } module top_cap() { cylinder(d1=63, d2=63+4,h=4, $fn=quality); } module top_cap_void() { top_cap_lid(0,0); } module ...
glb/cad_263abb455891.glb
Create a Hex Copic Marker Pen Holder consisting of a honeycomb-style grid of hexagonal cells. The main body is composed of hexagonal tubes, each with an outer diameter of 16mm and an inner hole diameter of 12mm, creating a wall thickness of 2mm. Each tube has a depth of 78mm. Arrange the tubes in a staggered grid of f...
pen_tube_depth = 78; pen_tube_diameter = 14; pen_tube_side_thickness = 2; nudgeR = 0.002; nudgeT = 0.001; pen_tube_x_spacing = pen_tube_diameter+(pen_tube_side_thickness/2); pen_tube_y_spacing = pen_tube_diameter+(pen_tube_side_thickness/2)-(pen_tube_diameter/7.1); pen_tube_x_count = 6; min_base_thickness = 5; base_wid...
glb/cad_a0ec2de49d54.glb
Create a deck table nut cap by constructing a hexagonal prism with a flat top. The main body should be a hexagonal prism 13mm tall with a diameter of 15mm. Inside this body, create a hexagonal hole centered and extending from the base to a height of 13mm, with a diameter of 12mm, to accommodate a nut and bolt protrusio...
module nut_void() { translate([0,0,-0.01]) cylinder(r=12/2, h=13, $fn=6); } module nut_cap() { difference() { cylinder(r=15/2, h=13, $fn=6); nut_void(); } translate([0,0,13]) cylinder(r1=15/2, r2=11/2, h=2, $fn=6); } rotate([0,0,30]) nut_cap();
glb/cad_393cfa9e0893.glb
Create a Beer Crate Battery Pallet with a base footprint of 165mm width, 142mm depth, and 19mm height. The main body is a rounded rectangular slab with corner radii of 5mm. Carve out four large forklift-style voids from the bottom: two wide voids (51.5mm wide) and two narrow voids (40mm wide), each 13mm high with 3mm...
width=165; depth=142; height=19; corner_rad = 5; extra = 10; fork_quality = 16; fork_y_offset = 3; wide_fork_width = 51.5; narrow_fork_width = 40; fork_height = 13; fork_rad = 3; crate_y = 62; crate_x = 49; grating_box_depth=3.5; crate_x_step = ((width/3) - crate_x) / 2; crate_y_step = ((depth/2) - crate_y) / 2; e...
glb/cad_609f0827ad98.glb
Create a landscape drain cover consisting of a tapered hollow cylindrical body and a top grating flange. The main body is a frustum with a height of 140mm, tapering from a front outer diameter of 90mm down to a back outer diameter of 75mm. The wall thickness of this body is 2mm throughout. At the top of the wider open...
pipe_wall = 2; port_depth = 140; front_outer_diameter = 90; front_inner_diameter = front_outer_diameter - (pipe_wall * 2); back_outer_diameter = 75; back_inner_diameter = back_outer_diameter - (pipe_wall * 2); front_flange_thickness = 3; front_flange_lip = 10; front_flange_diameter = front_outer_diameter + (2*front_f...
glb/cad_f4c0a23946ec.glb
Create a modular hexagonal sample holder. The basic unit is a hexagonal ring with an outer radius of 32mm and a height of 4mm. This ring is formed by subtracting a hexagonal void with a radius of 27mm from a solid hexagon with a radius of 32mm, but the void is offset vertically to create a lip: the void extends from -1...
module infill_puck() { cylinder(h=5, r=30, $fn=6); } module infill_puck_void() { cylinder(h=5, r=27, $fn=6); } module puck_holder() { rotate([0,0,30]) difference() { cylinder(h=4, r=30+2, $fn=6); translate([0,0,1]) infill_puck(); translate([0,0,-1]) infill_puck_void(); } } module puck_holder_...
glb/cad_5c1c30cd43d9.glb
Create a rain sensor holder with a total width of 79.5mm and a wall thickness of 3mm. The main body is a capsule-like shape formed by the hull of two cylinders, each with an outer diameter of 33.75mm and a height of 33mm. Hollow out the center of this body by removing a capsule shape created from two cylinders with a d...
internal_d = 30.75; width = 79.5; internal_min_height = 14; internal_max_height = 30; thickness = 3; nudge = 0.001; module orbit_holder_base() { hull() { translate([0,0,0]) cylinder(d=internal_d+thickness, h=internal_max_height+thickness, $fn=60); translate([width-internal_d+1,0,0]) cylinder(d=int...
glb/cad_e708c6247e57.glb
Create a Silica Gel Tower consisting of a main box and a matching lid. Construct the main box as a rectangular prism with overall dimensions of 50mm length, 150mm width, and 150mm height. The box has a wall thickness of 3mm. The bottom is not fully closed; the floor is recessed by 2mm from the base, and the interior ...
box_width = 150; box_length = 50; box_height = 150; wall_thickness = 3; infill_offset = 5; airband_height = 10; airband_gap = 1; floor_thickness_reduction = -2; airband_floor_reduction = -3; lid_height = 4; lip_height = 5; lip_thickness = 1.5; lid_airband_width = 22.5; lid_tolerance = 0.25; module box() { differ...
glb/cad_99255e50c6d4.glb
Create a Band Clamp Corner Block consisting of a main clamp body and a separate TPU pad. For the clamp body, create a rotational profile (bobbin) that is 31mm tall (25mm strap gap plus two 3mm lips). The profile should have a flat base of 48mm (outer radius), a recessed channel 25mm wide and 3mm deep (inner radius), ...
$fn = 150; strap_width = 25; strap_gap = strap_width + 2; strap_lip_width = 3; clamp_height = strap_gap + (2 * strap_lip_width); inner_radius = 45; outer_radius = inner_radius + 3; side_width = 25; side_clip_width = 8; side_clip_depth = 2; inner_offset = 26; pad_depth = 1.5; pad_lip_depth = pad_depth + 5; pad_lip...
glb/cad_9b833867684b.glb
Create a Band Clamp Corner Block consisting of a main clamp body and a removable pad. First, construct the clamp body. Create a curved profile with an inner radius of 45mm and an outer radius of 48mm. The profile cross-section should be a stepped shape: a base lip of 3mm, a central channel 27mm wide and 25mm deep to ...
$fn = 150; strap_width = 25; strap_gap = strap_width + 2; strap_lip_width = 3; clamp_height = strap_gap + (2 * strap_lip_width); inner_radius = 45; outer_radius = inner_radius + 3; object_sides = 5; object_triangles = object_sides - 2; internal_angle_sum = object_triangles * 180; clamp_angle = internal_angle_sum / o...
glb/cad_543aafb2d8e5.glb
Create a replacement foot for a portable table saw. Start with a base pad 6mm thick. The pad is a rounded triangular shape formed by the convex hull of three cylinders with radii of 6.5mm, positioned at (0,0), (47.5,0), and (0,47.5). Cut a circular hole with a 6mm radius through the center of this pad at coordinates (1...
$fn=50; vo = 0.01; voo = 2; pad_edge = 52-4.5; pad_thickness = 6; pad_radius = 6.5; grip_radius = 4; slice=3; grip_height= 20+slice; grip_offset = 0.5; grip_tilt = 10; grip_void_offset = 0.5; grip_void_radius = 2/2; module render_pad(){ difference() { hull(){ translate([0,0,0]) ...
glb/cad_991975988d04.glb
Create a bar clamp pad by starting with a rectangular block measuring 33mm wide, 42mm long, and 10mm thick. Apply a 1.5mm chamfer to the four long edges running along the length of the block, specifically the two edges on the top face and the two edges on the bottom face. Carve out a central rectangular cavity from t...
include <chamfer/chamfer.scad>; $fn = 50; module void_extrusion() { translate([(33/2)-(10/2)+11, (40-2), 7.45]) rotate([0,0,180]) linear_extrude(height=5) void_profile(); } module void_profile() { polygon( points=[ [1, 0], [11, 0], [13, 27], [8.5, 32], [8.5, 4...
glb/cad_a3c50b4fd861.glb
Create a bar clamp pad by starting with a rectangular block measuring 30mm wide, 32mm long, and 10mm thick. Apply a 1.5mm chamfer to the four long edges running along the length of the block, specifically the two edges on the front and back faces and the two edges on the side faces, leaving the short edges of the front...
include <chamfer/chamfer.scad>; $fn = 50; module void_extrusion() { translate([(30/2)-(10/2)+11, (30-2), 7.45]) rotate([0,0,180]) linear_extrude(height=5) void_profile(); } module void_profile() { polygon( points=[ [0, 0], [12, 0], [13, 17], [8.5, 22], [8.5, 3...
glb/cad_394ad62b7e65.glb
Create a cable grommet designed to protect a two-core power cable. The overall shape is an oval-profiled sleeve that is squashed by 50% along one horizontal axis to fit a figure-of-8 cable. Start with a base revolved shape that features a central hole with a radius of 4.5mm. This hole extends to a depth of 8mm. At th...
cable_diameter = 9; wall = 4; hole_diameter = cable_diameter+wall; hole_depth = 8; shoulder_diameter = 20; shoulder_thickness = 2.5; cone_thickness = 0; cone_angle = 90; slot_reduction =4; slot_gap = 0.0; flex_thickness = 3; epsilon = 0.1+0; $fn=64.0; cable_radius = cable_diameter/2; hole_radius = hole_diame...
glb/cad_41c034c94e10.glb
Create a front protective cap for a power supply unit. Start with a chamfered rectangular block measuring 103.6mm in width, 47.6mm in height, and 34mm in depth, with a 1.5mm chamfer on the edges. Hollow out the center of this block to create a shell with a wall thickness of 2.5mm, leaving an internal void of 98.6mm by ...
include <chamfer/chamfer.scad>; $fn=45; power_width = 98.6; power_height = 42.6; cap_wall = 2.5; cap_width = power_width + (2 * cap_wall); cap_height = power_height + (2 * cap_wall); cap_depth = 34; rear_cap_depth = 18; module rear_cap() { difference() { rear_cap_block(); rear_cap_void(); ...
glb/cad_56bff9da817e.glb
Create a cable grommet designed to protect a two-core power cable. Start by creating a revolved profile that forms a hollow tube with a total length of 12.5mm. The inner bore of the tube should have a radius of 4.5mm. At the base of the tube, add a flat circular shoulder with a radius of 10mm and a thickness of 2.5mm. ...
cable_diameter = 9; wall = 4; hole_diameter = cable_diameter+wall; hole_depth = 8; shoulder_diameter = 20; shoulder_thickness = 2.5; cone_thickness = 0; cone_angle = 90; slot_reduction =4; slot_gap = 0.0; flex_thickness = 3; epsilon = 0.1+0; $fn=64.0; cable_radius = cable_diameter/2; hole_radius = hole_diame...
glb/cad_41c034c94e10.glb
Create a front protective cap for a power supply unit. Start with a chamfered rectangular block measuring 103.6mm in width, 47.6mm in height, and 34mm in depth, with a chamfer radius of 1.5mm. Hollow out the center of this block by removing a chamfered rectangular volume of 98.6mm width, 42.6mm height, and 34mm depth...
include <chamfer/chamfer.scad>; $fn=45; power_width = 98.6; power_height = 42.6; cap_wall = 2.5; cap_width = power_width + (2 * cap_wall); cap_height = power_height + (2 * cap_wall); cap_depth = 34; rear_cap_depth = 18; module rear_cap() { difference() { rear_cap_block(); rear_cap_void(); ...
glb/cad_aa0ad839c462.glb
Create a shading external enclosure for a camera with a main body, a roof, and a USB port box. Construct the main enclosure as a hollow rectangular shell with outer dimensions of 58mm width, 65mm depth, and 52mm height (including wall thickness of 4mm). The interior void for the camera should be 51mm wide, 50mm deep,...
cam_width = 50; cam_height = 50; cam_depth = 50; cam_allowance = 1.0; cam_allowance_top_extra = 1.0; wall_thickness = 4.0; protrusion_depth = 15; protrusion_toinfinity = 20; underhang = 5; render_hack = 0.01; usb_width = 12; usb_height = 7; roof_overhang = 15; roof_width = cam_width + (wall_thickness * 2) + (roof_overh...
glb/cad_07b4dd30bdd0.glb
Create a shading external enclosure for a camera with a width, height, and depth of 57mm. The main body is a hollow rectangular shell with a wall thickness of 4mm. The bottom of the enclosure must have a rectangular opening to accommodate the camera's foot mechanism, and the top must have a void to allow the roof to fi...
cam_width = 57; cam_height = 57; cam_depth = 57; cam_allowance = 1.0; cam_allowance_top_extra = 1.0; wall_thickness = 4.0; protrusion_depth = 15; protrusion_toinfinity = 20; underhang = 5; render_hack = 0.01; roof_overhang = 15; roof_width = cam_width + (wall_thickness * 2) + (roof_overhang * 2); roof_depth = cam_dep...
glb/cad_e297ba6ada27.glb
Create a padded handle grip consisting of a hollow cylindrical sleeve with a decorative base ring. Start by creating a main cylinder with an outer radius of 18.1mm and a total height of 128mm. Remove a central cylindrical core with a radius of 14.1mm and a height of 125mm, starting from a height of 3mm from the base, t...
$fn=45*2; internal_height = 125; internal_radius = 28.2/2; inner_skin_thick = 4; cap_skin_thick = 3; cap_extra_thick = 2; module inner_skin() { difference() { cylinder(h=internal_height + cap_skin_thick, r1=internal_radius + inner_skin_thick, r2=internal_radius + inner_skin_thick, center=false); ...
glb/cad_4e4a0406d38d.glb
Create a Choke Hazard Test cylinder designed to approximate a child's throat. Construct a hollow vertical tube with an overall height of 60mm. The outer diameter of the tube should be 35.4mm, and the inner diameter should be 31.7mm, resulting in a wall thickness of 1.85mm. The top of the cylinder must be completely ope...
$fn=400; split_view = false; color("white"){ if(split_view){ difference(){ choke_test(); translate([-400,- 800,-1]){ cube(800); } } } else{ choke_test(); } } module choke_test(){ height = 60; rim = 2; left_height = height - 25.40; right_height = height - 57.10; ...
glb/cad_b349d3c02973.glb
Create a studded wheel for a robotic mower with an outer diameter of 185mm and a total thickness of 40mm. The main body consists of a thin outer ring 3mm wide and a concentric inner ring. Between these rings, integrate 12 radial spokes, each 2mm thick, extending from the center to the outer edge. In the center, creat...
diameterOuter = 185; wheelDepth = 40; mountDepth = 28; mountThickness = mountDepth - 20; ringThickness = 3; diameterInner = diameterOuter - 2 * ringThickness; studsPerRow = 3; studWidth = 12; studHeight = 14; spokesThickness = 2; noSpokes = 12; washerDiameter = 30; extraDiscDepth = 0; roundness = 100; moun...
glb/cad_8e585a74edf8.glb
Create a pen holder by constructing a 12-sided polygonal prism with a diameter of 80mm and a height of 120mm. Hollow out the center of this prism by removing a smaller 12-sided polygonal prism from the top, leaving a solid base at the bottom with a thickness of 3mm. The interior cavity should have a diameter of 77mm, r...
Diameter=80; Wallthickness=1.5; Bottomthickness=3; Facettes=12; difference(){ cylinder(h=120,d=Diameter,$fn=Facettes); translate([0,0,Bottomthickness]){ cylinder(h=120,d=Diameter-2*Wallthickness,$fn=Facettes); } }
glb/cad_8bdebc951422.glb
Create a DC Power Supply End-Cap by starting with a hollow rectangular shell. The main body should be designed to fit a power supply unit with dimensions of 113mm x 111.25mm x 50.5mm. The walls of the cap should have a thickness of 2.8mm and an end thickness of 3mm. On the front face, create a central circular apertur...
psu_x = 113; psu_y = 111.25; psu_z = 50.5; print_depth = 40; wall_thickness = 2.8; end_thickness = 3; build_cyl_dia = 5; banana_dia = 6.5; banana_seperation = 25; banana_abs_y = 28; banana_abs_z = 18; banana2_abs_y = 28; banana2_abs_z = 5; mains_cable_dia = 9.8; mains_abs_y = -41; mains_abs_z = -10; feet_sphere_d...
glb/cad_c98186816491.glb
Create a Speaker Corner Mount bracket with a thickness of 15mm. The main body is formed by two perpendicular arms, each 3.5mm wide and 47mm long, meeting at a right angle to create an L-shape. The inner corner where the arms meet is filled with material extending 20mm along each axis, but this inner section is carved o...
bracket_z = 15; arm_x = 3.5; arm_y = 47; back_space = 15; build_inner_corner = 20; cut_sphere_dia = 83; cut_sphere_step = 42; wall_screw_height = 4; wall_screw_head_height = 2; wall_screw_dia = 5; wall_screw_head_dia = 6; wall_screw_head_dia_2 = 10; screw_pos_xy = 35; screw_pos_z = bracket_z/2; fixing_screw_height...
glb/cad_5efd33baa178.glb
Create two XT60 Lipo Connector Safety Covers. Each cover begins as a solid outer body formed by the hull of a cylinder with a diameter of 12mm and a height of 17mm, and two smaller cylinders with a diameter of 2mm and a height of 17mm positioned at the edges of the main diameter. From this outer body, remove a centra...
total_length = 16.1; height = 16; main_width = 8.6; main_length = 13.2; apex_width = 3.3; cap_height = 17; cap_dia = 12; cap_res = 50; cap_drop = -1.5; cap_sep1 = 4.5; cap_sep2 = 4; cap_sub_dia = 2; font_1 = "Consolas:style=Regular"; font_2 = "DejaVu Sans:style=Bold"; render_x_sep = 16; translate([-render_x_sep/...
glb/cad_dcf5b36d8bad.glb
Create a rectangular PCB model with a width of 63.66mm, a length of 94.1mm, and a thickness of 1.55mm. The four corners of the rectangle must be rounded with a radius of 2mm. At each of the four corners, create a circular hole with a radius of 1.7mm. These holes should be positioned such that their centers are offset f...
board_l = 94.1; board_w = 63.66; board_h = 1.55; corner_r = 2; hole_offset = 2.3; hole_r = 1.7; $fn = 90; module pcb (w, l, h, c_r, h_r, offset) { difference() { hull() { translate( [(w/2)-c_r,(l/2)-c_r ,0] ) cylinder(h=h, r=c_r); translate( [(w/2)-c_r,-((l/2)-c_r) ,0] ) cylinder(h=...
glb/cad_c2110db2c73b.glb
Create a flexible electric bike battery protector by starting with a central rectangular block measuring 57.5mm by 62.5mm by 147.5mm. Soften all edges of this block by applying a 3mm fillet radius to every corner and edge. From this main body, remove several cylindrical voids to create access holes. First, carve a ve...
module cutout(){ rotate([90,0,90]) translate([0,50+2.5-10,-50]) cylinder(d=35,h=100); rotate([90,0,90]) translate([0,-1*(50+2.5-10),-50]) cylinder(d=35,h=100); rotate([90,0,90]) translate([0,0,-50]) cylinder(d=35,h=100); } module main(){ difference(){ minkowski(){ cube([47.5+5,52.5+5,142.5+2.5],center=true); cylind...
glb/cad_240a48715705.glb
Create a PCR Tube Adapter for 1.5ml racks by designing a flat rectangular plate with a height of 1.5mm. The base plate should have a total width of 52mm (calculated as 4 tubes with 13mm spacing) and a depth of 10.6mm. Within this plate, create four circular holes centered along the length, each with a diameter of 7.0...
od1500=10.6; od200=6.25; od500=7.5; xw=0.4; $fn=60; ww=1.5; gl=13; tc=4; linear_extrude(height=1.5) difference(){ offset(ww*2) square([gl*(tc), od200], center=true); for(i = [0:(tc-1)]){ translate([i*gl - gl*(tc-1)/2, 0]){ circle(d=od200+xw*2); for(r = [0:120:359]){ r...
glb/cad_fa9f41eab46b.glb
Create a 90-degree elbow dust port consisting of two connected cylindrical tubes with a curved bend. The first tube is a vertical cylinder 50mm tall with an outer diameter of 20mm and an inner diameter of 17.5mm. The second tube is a horizontal cylinder 50mm long with an outer diameter of 20mm and an inner diameter of ...
$fn=50; union(){ difference(){ cylinder(5,20,18.5); cylinder(5,17.5,16.5); } translate([0,0,5]) difference(){ cylinder(50,18.5,17.5); cylinder(50,16.5,16); } translate([20,0,-20]) rotate([0,90,0]) difference(){ cylinder(50,20,20); cylinder(50,17.25,18.25); } translate([20,0,0]) rotate([0,90,90]...
glb/cad_1d56a4e58961.glb
Create a Marker for Five Pin Billiards as a flat plate with a thickness of 2mm. The main body is formed by four identical arms extending from a central point, creating a cross shape. Each arm is a polygon defined by the points [-12.5, 12.5], [-12.5, 65], [0, 87.5], and [12.5, 65], mirrored and rotated every 90 degrees ...
$fn = 256; difference() { linear_extrude(2, convexity = 2) difference() { polygon([ [-12.5, 12.5], [-12.5, 65], [0, 87.5], [12.5, 65], [12.5, 12.5], [65, 12.5], [87.5, 0], [65, -12.5], [12.5, -12.5], [12.5, -65], [0, -87.5], [-12.5, -65], [-12.5, -12.5], [-65, -12.5], ...
glb/cad_d74284b75e3b.glb
Create a Marker for Five Pin Billiards by starting with a flat, symmetrical base plate 2mm thick. The outer perimeter of this plate is defined by a 12-sided polygon with vertices at [0, 18], [4, 12.5], [65, 12.5], [87.5, 0], [65, -12.5], [4, -12.5], [0, -18], [-4, -12.5], [-65, -12.5], [-87.5, 0], [-65, 12.5], and [-4,...
$fn = 256; difference() { linear_extrude(2, convexity = 2) difference() { polygon([ [0, 18], [4, 12.5], [65, 12.5], [87.5, 0], [65, -12.5], [4, -12.5], [0, -18], [-4, -12.5], [-65, -12.5], [-87.5, 0], [-65, 12.5], [-4, 12.5], ]); polygon([ [-(61.5 + 5) + 10, 0], [-(61.5...
glb/cad_c53e04d360b9.glb
Create a Ball Positioner for Five Pin Billiards consisting of a main body and a diamond pointer. First, construct the main body as a flat plate 3mm thick. The body's footprint is a complex polygon starting from a rectangular base of 30mm by 16.7mm, extending to a total length of 80mm. The far end of this body features ...
$fn = 128; difference() { rotate([0, 90, 90]) cylinder(d = 3, h = 22.5, center = true); cube(6, center = true); } translate([0, 0, -1.5]) linear_extrude(3) { difference() { polygon([ [0, -16.7/2], [30, -16.7/2], [80 - 6.5, -2.5], [80, 0], [80 - 6.5, 2.5], [30, 16.7/2], [0, 16.7/2], ]); ...
glb/cad_b50cd4df98ac.glb
Create a flower-shaped cookie cutter with an internal diameter of 13mm and a total height of 13mm. The cutter should have 5 petals. Each petal is formed by the hull of two cylinders: one with a diameter of approximately 4.33mm (one-third of the internal diameter) centered on the petal's axis, and another of the same di...
flower_diameter=13; number_of_petals =5; cutter_height =13; cutter_wall_thickness =1.5; $fn=36; module lobe(petal_dia=5,flower_dia=12,thickness=10){ hull(){ cylinder(d=petal_dia,h=thickness); translate([(flower_dia-petal_dia)/2,0,0]) cylinder(d=petal_dia,h=thickness); } } module petal_gro...
glb/cad_8982d3e78a28.glb
Create a lock pick handle by designing a rounded rectangular slab with a total length of 80mm, a width of 12mm, and a thickness of 4mm. The ends of the slab should be semi-circular, and all edges should feature a 1mm chamfer. Centrally carve a rectangular slot into the bottom face to hold the pick. This hole must be ...
thickness = 4.0; length = 80.0; width = 12; chamfer =1; hole_depth = 40.0; hole_width = 3.5; hole_height = 1.0; module Rounded_Cube(height, width, length, radius,flatbottom=0,flattop=0,dfn=20){ corners = [[radius,radius,radius], [length-radius ,radius,radius ], [length-radius,width...
glb/cad_d16fdbe91cef.glb
Create a Business Card Holder consisting of a main hollowed block and a removable filler piece. Start with a solid rectangular base measuring 100mm wide, 52mm deep, and 47mm high. Round all exterior corners with a 2mm radius. Carve a central rectangular cutout from the top, starting 5mm from the bottom face, measuring ...
bus_card_height = 52; bus_card_width = 90; bus_card_thickness = .5; slop = 2; top_exposure = 10; num_cards = 100; wall_thickness = 5; slot_width = 20; $fn = 50; holder_width = bus_card_width + slop + 2*wall_thickness; holder_depth = num_cards * bus_card_thickness + 2*wall_thickness; holder_height = wall_thickness + bu...
glb/cad_0ce5efa2ad20.glb
Create a timing pulley for a NEMA17 motor shaft. The pulley should have a central bore with a diameter of 5mm. Construct the main body as a cylinder with a height of 20mm. Around the outer circumference, create 72 teeth using an HTD 3mm profile. The teeth should be evenly spaced and recessed into the cylinder. At th...
teeth = 72; profile = 9; motor_shaft = 14.25; m3_dia = 3.2; m3_nut_hex = 1; m3_nut_flats = 5.7; m3_nut_depth = 2.7; retainer = 0; retainer_ht = 1.5; idler = 0; idler_ht = 1.5; pulley_t_ht = 20; pulley_b_ht = 0; pulley_b_dia = 20; no_of_nuts = 1; nut_angle = 90; nut_shaft_distance = 1.2; additional_tooth_width = 0.2...
glb/cad_934e6d0e8358.glb
Create a timing pulley with 48 teeth designed for an HTD 3mm profile. The pulley should have a toothed section with a height of 20mm and a base diameter of 20mm. The teeth must be precisely shaped according to the HTD 3mm standard, with a depth of 2.27mm and a width of 1.289mm. At the center, create a vertical cylindr...
teeth = 48; profile = 9; motor_shaft = 14.25; m3_dia = 3.2; m3_nut_hex = 1; m3_nut_flats = 5.7; m3_nut_depth = 2.7; retainer = 0; retainer_ht = 1.5; idler = 0; idler_ht = 1.5; pulley_t_ht = 20; pulley_b_ht = 0; pulley_b_dia = 20; no_of_nuts = 1; nut_angle = 90; nut_shaft_distance = 1.2; additional_tooth_width = 0.2...
glb/cad_1e1646cc32ae.glb