Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a KX3 shelf stand brace by constructing a main rectangular slab measuring 97mm in length, 20mm in width, and 6mm in thickness. At each end of this main slab, add a smaller square block centered along the width and thickness. Each of these end blocks must measure 6mm in length, 12mm in width, and 3mm in thickness...
depth=44; height=87; clip=5; foot=12; th=6; footTh=3; footHt=40; braceH=20; braceTab=12; braceL=97; d=.1; module plate(){ union(){ difference(){ cube([depth+20, height+10, th]); rotate([0,0,-10]) translate([-2,20,0]) cube([depth, height, th+2]); rotat...
glb/cad_da242e4c59c6.glb
Create a syringe bottle holder consisting of a circular base clip and a vertical cylindrical sleeve. Start by creating a hollow ring with an outer diameter of 37.68mm and an inner diameter of 30.68mm, with a total height of 3mm. This ring serves as the bottle clip. Attached to the side of this ring, construct a vertic...
$fa = 2; $fs = 0.2; use<C:/files/OpenSCAD/standard.scad> hbottle=73.06; hcap=89.16 - hbottle; dbottle=33.68; dcap=21.89; hsyringe=76.57; hplunger=89.5-hsyringe; htip=97.91-89.5; dsyringe=6.85; dtip=4.37; dplunger=9.54; x1=19.26/2; y1=5.45/2; x2=6.40/2; y2=9.63/2; hclip=3.0; rthick=4.0; dcompress=3.0; xclip = 10.0...
glb/cad_ce5e7709caab.glb
Create a customizable name tag and clip set. First, construct the tag base as a flat rectangular plate 10mm high and 2mm thick, with a length based on the text provided (6mm per character). The ends of the plate should be rounded with a radius of 5mm. On the top surface, create a recessed area 2mm deep and 8mm wide, ce...
text_str = "NAME HERE"; tag_length = len(text_str)*6; tag_height = 10; font_size = 5; font="Tilt Neon"; $fn=50; difference(){ base(); translate([-tag_length/2 -1.5,-8,-3]) cube([3, 6, 6]); } translate([-tag_length/2 -1.4,-3.97,-1]) cylinder(r=0.8,h=2); translate([-tag_length/2 +1.8,-4.05,-1]) ...
glb/cad_080a47ef5f95.glb
Create a Brompton electric bag wall mount. Start with a main body that is 70mm high and 21mm thick. The front and back faces of this body should be rounded, with the top width being 57mm and the bottom width being 73mm. The top and bottom edges should be rounded with diameters of 7mm and 6mm respectively. In the cente...
height = 70; width_upper = 57; width_lower = 73; upper_dia = 7; lower_dia = 6; thickness = 21; cutout_x = 29; cutout_y = 40; cutout_z = 17.5; back_x = 39; back_z = 11; $fn = $preview ? 16 : 128; module screwhole() { cylinder(d=13, h=100); translate([0,0,-100]) cylinder(d=6.35, h=200); } module round_base...
glb/cad_92ec2c5418bb.glb
Create a Plant Pot Wall Mount designed to hold a conical pot with a top diameter of 120mm, a bottom diameter of 88mm, and a height of 115mm. Start by creating a circular ring with an inner radius of 5.75mm and an outer radius of 6.25mm, centered at a height of 9.5mm from the pot's base. Attached to this ring, add a v...
dTop = 12.0; bBottom = 8.8; height = 11.5; ringHeight = height - 2; ringThickness = 0.5; pinHeight = 5.0; pinRadius = 0.5; wallWidth = 2.0; usePin = false; useLowerScrew = true; screwHeadRadius =0.65/2.0; screwHeadDepth =0.25; screwRadius = .35/2.0; $fn = 180; fudgeFactor = 0.02; rTop = dTop /2.0; rBottom = bBo...
glb/cad_151c3930890f.glb
Create a self-watering planter insert with a total height of 114mm. The main body is a hollow, rotationally symmetric vessel with a wall thickness of 1mm. The outer profile is a frustum that tapers from a bottom radius of 51mm to a top radius of 61mm. The interior is hollowed out, but the bottom section is partially ...
container_radius_top = 61; container_radius_bottom = 51; container_height = 114; wall_thickness = 1; print_indicator = false; lower = (container_height / 4); middle = (container_height /4); upper = (container_height /4) * 2; ratio = 2; $fn=64; container_radius_middle = container_radius_bottom + ((container_radius_t...
glb/cad_4195cddd59b6.glb
Create a microscope eyepiece cap consisting of a cylindrical barrel and an internal aperture stop. Construct the main barrel as a hollow cylinder with an outer radius of 13.55mm (13.25mm plus a 0.3mm play margin) and a wall thickness of 1.2mm. The barrel should have a total height of 10.7mm. At the base of the barrel...
reye = 13.25; hpupil= 10.7; rtop= 6.2; half_stop= "Yes"; moon_phase= 0.2; flex_cuts="Yes"; tclamp = 1.5; hflange= 0.5; hclamp = 6.1; play=0.3; htab= 1.1; thtab = 0.6; ltab= 1; lflange = 2*htab + ltab ; ncut=12; dcut= hpupil/3; lcut=1; tbarrel= 1.2; ttop=1.5; hchamf= 3; rpupil= 2; rstop=1.2; tstop=...
glb/cad_e91d712a0f44.glb
Create a Leitz darkfield condenser plug by intersecting a cylinder with a diameter of 25.28mm with the union of two spheres. The first sphere has a diameter of 19.56mm and the second sphere has a diameter of 31.24mm. Position the centers of these two spheres along the Z-axis, separated by a distance of 9.27mm. To creat...
sph_diam_1 = 19.56; sph_diam_2 = 31.24; sph_offset = 9.27; outer_diam = 25.28; rim_height = 0.4; subs = 60; thick = 0.4; sph_center_2 = rim_height - pow(pow(sph_diam_2/2,2) - pow(outer_diam/2,2),0.5); sph_center_1 = sph_center_2 + sph_offset; make_part(); module make_part(){ if (thick == 0) { inters...
glb/cad_2ada3a8b068c.glb
Create a pipe mount bracket for a 110mm diameter pipe. Start with a circular base plate 119mm in diameter and 2.5mm thick. On top of this base, center a cylinder with a 110mm diameter and a total height of 29.5mm. Add a 5mm tall tapered section on top of the cylinder that transitions from a 110mm diameter at the bottom...
$fn=321; difference() { union() { cylinder(r=110/2+4.5, h=2.5); cylinder(r=110/2, h=2.5+27); translate([0,0,2.5+27]) cylinder(r1=110/2, r2=110/2-1.5, h=5); hull() { translate([-110/2-10,0,0]) cylinder(r=24/2, h=5); translate([+110/2+10,0,0]) cylinder(r=24/2, h=5); } hull() ...
glb/cad_d05318417138.glb
Create a mounting bracket for a 110mm pipe. Start by creating a central cylinder with a radius of 59mm and a height of 5mm. Add a thinner base disk to this center with a radius of 59mm and a height of 2.5mm. Extend the geometry by adding four mounting ears. Create two ears along the X-axis and two along the Y-axis by...
$fn=321; difference() { union() { cylinder(r=110/2+4.5+4.5, h=2.5); cylinder(r=110/2+4.5, h=5); hull() { translate([-110/2-10,0,0]) cylinder(r=24/2, h=5); translate([+110/2+10,0,0]) cylinder(r=24/2, h=5); } hull() { translate([0,-110/2-10,0]) cylinder(r=24/2, h=5); transl...
glb/cad_73037c1cf79a.glb
Create a toothpick and tweezer holder card. Start with a main rectangular plate 82mm wide, 50mm high, and 1mm thick, with rounded corners defined by a 3mm diameter radius. Remove a large central rectangular area from the plate, leaving a border of approximately 2mm around the edges. Within the main body, create a ser...
$fn = 60; translate([0,0,0]) karta(); module karta() { difference() { union() { hull() { translate([41.0,25.0,0]) cylinder(d=3.0,h=1,center=true); translate([-41.0,25.0,0]) cylinder(d=3.0,h=1,center=true); translate([41.0,-25.0,0]) cylinder(d=3.0,h=1,center=true); ...
glb/cad_1bb75c6f4083.glb
Create a Dinosaur Game Replacement Block by constructing a hollow hexagonal prism. Start with a solid hexagonal prism that has a radius of 14.135mm and a height of 21.26mm. From the center of this shape, remove a smaller hexagonal prism to create a cavity. This inner cutout should have a radius of 12.885mm and a height...
difference() { cylinder(r=(28.27/2), h=21.26, $fn=6); translate([0, 0, 1.25]) cylinder(r=((28.27/2)-1.25), h=23, $fn=6); }
glb/cad_092ca9c7fbc2.glb
Create a printer part mount consisting of a main base and two vertical cylindrical towers. The base is a rectangular block with a thickness of 15mm. On the left side of the base, integrate a hull-shaped section that transitions from a 5x5mm square to a 5x5mm square positioned 39mm away, with a 30-facet cylinder of radi...
diffZ = 25; diffX = 40; diffY = 0; offset = 0.5; difference() { union() { hull(){ cube([5,5,15]); translate([39,0,0]) cube([5,5,15]); translate([5,21,0]) cylinder(h=15, r=5, $fn=30); translate([44-5,25,0]) cube([5,5,15]); } hull() { translate([5,52...
glb/cad_6c2d5fe67223.glb
Create a printer part for a Reprap Mendel wiper assembly. Start with a main body formed by the convex hull of two cylinders with a diameter of 10mm and height of 12mm, positioned at [5, 5, 0] and [5, 21, 0], combined with a rectangular block measuring 20.75mm by 26mm by 12mm at [20, 0, 0]. Attach a rectangular fork mea...
difference() { union() { hull() { translate([5,5,0]) rotate([0,0,-90]) cylinder(h=12,d=10, $fn=60); translate([5,21,0]) rotate([0,0,-90]) cylinder(h=12,d=10, $fn=60); translate([20, 0, 0]) cube([20.75,26,12]); } translate([0,7.5,0]) cube([10,9.5,25]); translate([37...
glb/cad_43c8faadcb2a.glb
Create a printer wiper mount designed to hold a brush. The main body is a complex geometric assembly based on a central block. Start with a base structure that combines a rectangular prism of 10mm by 38mm by 10mm with two hull-shaped extensions. One extension reaches from the back to a position 22.5mm along the X-axis,...
diffZ = 40; diffX = 90; diffY = 0; bStrut = 10; bStrutB = 15; xCntr = 14; yCntr = 28; backR = 30; screw1 = -5; screw2 = -19; screwSize = 3.5; nutpos = -bStrut -3; nutZ = 3; nutX = 5.7; brushW = 12; brushL = 42; brushD = 13; farEnd = brushW + 4; difference() { union() { translate([-backR,-(yCntr/2 + bStrut/2)...
glb/cad_1ba5c86de280.glb
Create a sensor mount block for a 3D printer. Start with a main body formed by the convex hull of two 52x5x5mm cubes positioned 70mm apart along the Y-axis, and two cylinders with a radius of 8mm and a height of 52mm lying horizontally along the X-axis, centered at Y=8mm and Y=67mm. Extend the body with a 12x5x16mm blo...
difference() { union() { hull() { cube([52,5,5]); translate([0,70,0]) cube([52,5,5]); translate([0,8,8]) rotate([0,90,0]) cylinder(h=52,r=8,$fn=60); translate([0,67,8]) rotate([0,90,0]) cylinder(h=52,r=8,$fn=60); } translate([55,75/2,0]) cylinder(d=18,h=16,$fn=60); ...
glb/cad_466c4525b460.glb
Create a self-watering vase consisting of a main pot and a lid. The main pot is centered on the origin and is based on a cylinder with a radius of 34.32mm and a total height of 50mm. The walls of this cylinder are 0.8mm thick. The bottom section of the pot transitions into a conical shape that narrows down to a radius ...
function sides(r)=max(round(4*r),3); function corrected_radius(r,n=0)=0.1+r/cos(180/(n ? n : sides(r))); function corrected_diameter(d)=0.2+d/cos(180/sides(d/2)); module poly_circle(r,center=false){ n=sides(r); circle(r=corrected_radius(r,n),$fn=n,center=center);} module poly_cylinder(h,r,center=false){ n...
glb/cad_f7d90b112b49.glb
Create a parametric storage box and matching lid. The box should be a hollow rectangular prism with outer dimensions of 60mm width, 60mm depth, and 40mm height. The box walls must be 1mm thick, and the four vertical corners should be rounded with a 10mm radius. The bottom of the box should also be closed with a 1mm thi...
edge_style = 1; detail = 10; $fs = 11 - detail; box_width = 60; box_depth = 60; box_height = 40; radius = 10; box_thickness = 1; toggle_display = 0; lid_height = 5; lid_tolerance = 0.5; lid_text = "HASH"; lid_text_size = 12; lid_text_font = "Liberation Mono"; lid_text_style = "Bold"; lid_text_spacing = 1...
glb/cad_06947fef07fa.glb
Create a bathroom vent fan impeller with a total height of 45mm. Start with a base cylinder 114mm in diameter and 2.5mm thick. Centered on this base, create a conical section that transitions from a bottom radius of 57.5mm to a top radius of 25mm over a height of 11mm. Above this cone, add a central hub cylinder with a...
od1=114; th=2.5; th1=3.5; od2=114+th; ht=45; dish=12; dish1=11; hubth=9.5; axd=5.1; bladdr=13.5; bladesp=6.8; blader=25; cr2=25; cr1=cr2+dish; hubr=8; nblades=4*12; bladeang=360/nblades; radius = 20; angles = [0, 40]; width = 2; $fn = 90; module sector(radius, angles, fn = 90) { r = radius / cos(180 / fn); s...
glb/cad_dd380c1a6896.glb
Create a front CW jack accessory for an Elecraft K3. Start by constructing a base shape that combines a rectangular block of 32mm depth, 60mm width, and 2mm thickness with a vertical wall 20mm high and 2mm thick. Add two additional vertical walls, each 2mm thick and 20mm high, positioned at the top and bottom edges of ...
jr=3.1; w=60; l=32; h=20; th=2; h2=h/2; ribh=6; $fn=60; difference(){ union(){ cube([l,w, th]); cube([th,w,h]); translate([h+th,0,0]) rotate([0,0,90]) prism(th, h, h); translate([h+th,w-th,0]) rotate([0,0,90]) prism(th, h, h); translate([18,0,0]) cube([th,w,ribh]); trans...
glb/cad_9a2d9ff08334.glb
Create a cover for a banana plug consisting of a main body and an optional attachment loop. For the main body, create a capsule-like shape by forming a hull between a cylinder with a diameter of 9mm and a height of 2mm, and a sphere with a diameter of 9mm centered 22mm above the cylinder. Remove a central vertical hole...
$fn = 60; dira = 4.8; translate([0,0,0]) simple(); translate([0,-20,0]) simple_eye(); module simple_eye() { difference() { union() { hull() { translate([0,0,1]) cylinder(d=9,h=2,center=true); translate([0,0,22]) sphere(d=9); } hull() { translate([-3....
glb/cad_8cdc7618c1be.glb
Create a Basic Tube for macrame by constructing a torus. The torus should have a major radius of 80mm, measured from the center of the ring to the center of the tube's cross-section. The tube itself should have a consistent circular cross-section with a diameter of 9mm. Ensure the final shape is a smooth, continuous ri...
$fa = 1; $fs = 0.4; wheel_radius = 80; tyre_diameter = 9; rotate_extrude(angle=360) { translate([wheel_radius - tyre_diameter/2, 0]) circle(d=tyre_diameter); }
glb/cad_f3e3741a8e12.glb
Create a parametrized insect hotel as a solid rectangular block with overall dimensions of 100mm width, 100mm height, and 100mm depth. The block should have a thin back wall of 0.6mm, leaving the rest of the volume as a shell with outer walls and a top edge of 2mm thickness. Fill the interior of the block with a grid ...
$width = 100; $height = 100; $depth = 100; $min_hole = 2; $plus_hole = 1.5; $wall = 2; $wall_back = 0.6; max_steps = $height/$min_hole; max_hole = $min_hole+max_steps*$plus_hole; upper_hole_count = $height/$min_hole; module all_holes() { for(h=[0:1:upper_hole_count]) { hole_size=h*$plus_hole+$min_hole; ...
glb/cad_47f52c5ac1f5.glb
Create a 3D Buffalo Bills logo keychain. Start by constructing a base plate with a height of 1mm (2.5mm scaled by 0.4). The base should feature a recessed area to house the logo details. Within this base, create an extruded buffalo silhouette and a stripe, both with a total height of 3mm (detail height of 2.5mm plus ...
use <bills_logo.scad>; part = "full"; BASE_HEIGHT = 2.5; DETAIL_HEIGHT = 2.5; HORN_HEIGHT = 0.75; OVERLAP_HEIGHT = 1.25; SCALE = 0.4; BASE_TOLERANCE = 0.15; INSERT_TOLERANCE = 0.15; $fa = 10; $fs = 0.01; if (part == "full") bills_keychain( baseHeight = BASE_HEIGHT, detailHeight = DETAIL_HEIGHT, hornHeight = HO...
glb/cad_e4adc517f089.glb
Create a stackable parametric box with overall dimensions of 300mm width, 100mm depth, and 60mm height. The box features a bottom thickness of 1mm and walls that are 2mm thick. The main body is a rectangular shell with rounded corners. To create the rounded corners, use cylinders with a 10mm diameter at the four vert...
width = 300; depth = 100; height = 60; height_front = 20; wall = 2; bottom = 1; variant = "default"; $fn=80; module chamfer(r,h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = ...
glb/cad_69405ff3fce6.glb
Create a Half Moon Furniture Connector by starting with a cylinder 32.32mm in diameter and 17.34mm in height, using a 32-facet resolution. Cut this cylinder in half along its diameter to create a semi-circular slab. Remove a 6mm diameter hole that passes horizontally through the center of the flat face, extending 7.2mm...
dmain = 32.32; zmain = 17.34; xchord = 7.20; dslot = 6; dhead = 10.8; xhead = 1.7; difference() { cylinder(d = dmain, h = zmain, $fn=32); translate([-dmain/2 + xchord,-dmain/2,-0.01]) cube([dmain, dmain, zmain + 0.02]); translate([-dmain/2,0,zmain/2]) rotate([0,90,0]) cylinder(d = dslot, h=xchord + 0.02, $...
glb/cad_3e078f588fbd.glb
Create a windscreen wiper arm nut cover by constructing a rounded cylindrical body with a total height of 14mm and a base radius of 2.5mm. The main outer body should be a cylinder with a diameter of 27.5mm and rounded edges. Carve out a central vertical hole with a diameter of 10.5mm that runs through the center to a...
outerHeight = 14; outerRadius = 2.5; threadDiam = 10.5; nutDiam = 18.3; nutHeight = 7.3; lipDiam = 22; lipHeight = 2.1; $fn = 50; outerDiam = lipDiam + 2.5*outerRadius; difference() { translate( [0, 0, outerRadius] ) minkowski() { cylinder(d = outerDiam - 2*outerRadius, h = outerHeight - outerRadius); sp...
glb/cad_43d89d54b936.glb
Create a storage case for Snellen picture cards. The model consists of a base and a top section. Start with a base composed of a rectangular block measuring 40mm wide, 22mm deep, and 15mm high, centered at the origin. On top of this base, add a second rectangular block measuring 37mm wide, 19mm deep, and 34mm high. Fro...
$fn = 60; text_pole = "SHR3D.eu"; { union() { translate([0,0,0]) spodek(); translate([0,0,30]) vrch(); } } module t(t, s = 3, style = "") { rotate([90,0,180]) linear_extrude(height = 1.0) text(t, size = s, font = str("DejaVu Sans Mono:style=Bold"), $fn = 120); } module vrch() { ...
glb/cad_e0a9dee83bf4.glb
Create a Mini Travel Memory Game set consisting of a storage box and a sliding drawer. First, construct the outer box as a hollow rectangular shell. The main body is a rectangular prism measuring 54mm x 35mm x 11mm. Create a matching inner drawer by forming a rectangular prism of 54mm x 33mm x 9mm, with a central voi...
$fn = 60; difference() { union() { translate([0,0,0]) krabicka(); translate([0,0,0]) suplik(); translate([0.5,0.5,-3.8]) karta_1(); translate([0.5,0.5,-1.8]) karta_2(); translate([0.5,0.5,0.2]) karta_3(); translate([0.5,0.5,2.2]) karta_4(); translate([0.5,-14.5,-3.8]) karta_1(); t...
glb/cad_6a077224ca21.glb
Create two identical electrical wire spools. For each spool, start by creating a circular rim with a diameter of 80mm and a thickness of 2mm. In the center of this rim, create a circular hole with a diameter of 20mm that passes completely through the thickness of the rim. Around the outer edge of the rim, add four smal...
tolerance=0.1; thicknessOfRim=2; diameterOfRim=80.0; heightOfSpool=40.0; diameterOfCore=25.0; diameterOfHoleInRim=20.0; coreWallThickness=1.2; outerCoreWall=(diameterOfCore-2*coreWallThickness); wireHoles=true; diameterOfWireHoles=3.0; $fn=100; diameterOfInnerCore=outerCoreWall - tolerance; innerCoreWall=(diam...
glb/cad_c32de5d62343.glb
Create a shopping trolley chip token with a total diameter of 23.25mm and a height of 2.33mm. The base is a solid cylinder of these dimensions. On the top surface, create a red circular ring with an outer diameter of 23.25mm and an inner diameter of 19.25mm. Within the center of this ring, place a white circular inla...
bottom_text="transparent"; top="hollow"; module __Customizer_Limit__ () {} red="red"; black="#333333"; white="#eeeeee"; transparent=[0.7,0.7,0.9,0.5]; d=23.25; h=2.33; $fn=128; nh=h/2; module outline(){ cylinder(d=d,h=h); } module ctext(h=.6,s=6,font="Noto Sans:style=Black"){ mirror([1,0,0]){ tm1=textme...
glb/cad_0f835ecfc9b7.glb
Create a replacement radio button for an Opel CD30MP3. Start with a circular base 12.8mm in diameter and 0.75mm thick. Centered on this base, add a main cylindrical body with a diameter of 10.2mm and a height of 7.95mm. Modify the main body by removing four small rectangular notches from its outer wall to create flat...
module body() { difference() { union() { cylinder(h = 0.75, d = 12.80, $fn = 1000); translate([0, 0, 0.75]) cylinder(h = 7.95, d = 10.20, $fn = 1000); translate([-0.4, 5.1, 0.75]) cube([ 0.8, 1.3, 5.1]); rotate([0, 0, -90]) translate([-0.5, 5.1, ...
glb/cad_50d5cc7d1635.glb
Create a replacement button for a car radio. Start with a circular base 16mm in diameter and 0.85mm thick. Centered on this base, add a main cylindrical body with a diameter of 13.7mm and a height of 8.55mm. Remove a coaxial central hole from the bottom through the top of the body; the lower section of the hole shoul...
module body() { difference() { union() { cylinder(h = 0.85, d = 16, $fn = 1000); translate([0, 0, 0.75]) cylinder(h = 8.55, d = 13.7, $fn = 1000); rotate([0, 0, -115]) translate([-0.4, 6.75, 0.75]) cube([ 1.1, 1.3, 3]); } translate([0, 0, -1...
glb/cad_61df3e98aa36.glb
Create a replacement radio button for a CD30MP3. Start by constructing the main body as a composite of two cylinders: a wide base cylinder with a diameter of 16mm and a height of 0.85mm, and a narrower upper cylinder centered on top with a diameter of 13.7mm and a height of 10.25mm. Remove material from the center of...
module body() { difference() { union() { cylinder(h = 0.85, d = 16, $fn = 1000); translate([0, 0, 0.75]) cylinder(h = 10.25, d = 13.7, $fn = 1000); rotate([0, 0, 220]) translate([-0.4, 6.75, 0.75]) cube([ 1.1, 1.3, 3]); } translate([0, 0, -1...
glb/cad_9bf58026c8ef.glb
Create a replacement button for a car radio. Start with a circular base 12.8mm in diameter and 0.75mm thick. Centered on this base, add a main cylindrical body with a diameter of 10.2mm and a height of 10.55mm. Modify the outer wall of the main body by removing four small rectangular notches around its perimeter: one...
module body() { difference() { union() { cylinder(h = 0.75, d = 12.80, $fn = 1000); translate([0, 0, 0.75]) cylinder(h = 10.55, d = 10.20, $fn = 1000); translate([-0.4, 5.1, 0.75]) cube([ 0.8, 1.3, 5.1]); rotate([0, 0, -90]) translate([-0.5, 5.1,...
glb/cad_fd69fa91de59.glb
Create a replacement radio button for an Opel CD30MP3. Start with a rectangular base measuring 32.7mm wide, 12.7mm deep, and 1mm high. On top of this base, centered at x=1.35mm and y=1.85mm, add a main body block measuring 30mm wide, 9mm deep, and 13.3mm high. Refine the outer geometry by adding three small rectangul...
module body() { difference() { union() { cube([ 32.70, 12.70, 1]); translate([1.35, 1.85, 1]) cube([ 30, 9, 13.30]); translate([4.85, 10.85, 1]) cube([ 1, 1.85, 5.8]); translate([26.85, 10.85, 1]) cube([ 1, 1.85, 5.8]); translate([31.2...
glb/cad_6f47f4546adc.glb
Create a replacement button for a CD30MP3 radio. Start with a rectangular base measuring 32.7mm in width, 12.7mm in depth, and 1mm in height. On top of this base, center a main body block that is 30mm wide and 9mm deep with a height of 13.3mm, positioned 1.35mm from the left edge and 1.85mm from the front edge of the b...
module body() { difference() { union() { cube([ 32.70, 12.70, 1]); translate([1.35, 1.85, 1]) cube([ 30, 9, 13.30]); translate([4.85, 10.85, 1]) cube([ 1, 1.85, 5.8]); translate([26.85, 10.85, 1]) cube([ 1, 1.85, 5.8]); translate([0, 3...
glb/cad_ae7970bcce1a.glb
Create a replacement button for a car radio. Start with a circular base 16mm in diameter and 0.85mm thick. Centered on this base, add a main cylindrical body with a diameter of 13.7mm and a height of 10.25mm. Remove a central coaxial hole from the bottom of the model through the body, consisting of two stages: a lowe...
module body() { difference() { union() { cylinder(h = 0.85, d = 16, $fn = 1000); translate([0, 0, 0.75]) cylinder(h = 10.25, d = 13.7, $fn = 1000); rotate([0, 0, -105]) translate([-0.4, 6.75, 0.75]) cube([ 1.1, 1.3, 3]); } translate([0, 0, -...
glb/cad_ffca8f627e5e.glb
Create a replacement button for a car radio. Start by constructing a base cylinder with a diameter of 12.8mm and a height of 0.75mm. Centered on top of this base, add a second cylinder with a diameter of 10.4mm and a height of 8.75mm. To create the internal cavity, remove a central vertical cylinder with a diameter o...
module body() { difference() { union() { cylinder(h = 0.75, d = 12.80, $fn = 1000); translate([0, 0, 0.75]) cylinder(h = 8.75, d = 10.40, $fn = 1000); rotate([0, 0, -45]) translate([-0.4, 5.1, 0.75]) cube([ 1.1, 1.3, 3.05]); } translate([0, ...
glb/cad_3ae7509f2ea1.glb
Create a replacement radio button consisting of a tiered cylindrical body with a recessed center. Start with a wide circular base 16mm in diameter and 0.85mm thick. Centered on this base, add a main cylindrical body 13.7mm in diameter and 8.55mm tall. Remove a coaxial central hole from the bottom through the top, sta...
module body() { difference() { union() { cylinder(h = 0.85, d = 16, $fn = 1000); translate([0, 0, 0.75]) cylinder(h = 8.55, d = 13.7, $fn = 1000); rotate([0, 0, -50]) translate([-0.4, 6.75, 0.75]) cube([ 1.1, 1.3, 3]); } translate([0, 0, -1]...
glb/cad_01e372795610.glb
Create a replacement radio button for an Opel CD30MP3. Start by constructing a cylindrical base with a diameter of 12.8mm and a height of 0.75mm. On top of this base, center a second cylinder with a diameter of 10.2mm and a height of 9.25mm. From the center of the bottom base, remove a vertical cylindrical hole with a...
module body() { difference() { union() { cylinder(h = 0.75, d = 12.80, $fn = 1000); translate([0, 0, 0.75]) cylinder(h = 9.25, d = 10.20, $fn = 1000); translate([-0.4, 5.1, 0.75]) cube([ 0.8, 1.3, 5.1]); rotate([0, 0, -90]) translate([-0.5, 5.1, ...
glb/cad_b61394cf52b5.glb
Create a parametric axle for a 28mm scale vehicle. Start by constructing the axle body as a centered rectangular block measuring 45mm in length and 6mm in both width and height. Remove a cylindrical hole through the center of this body along its length with a radius of 1.7mm. To refine the body, create two 45-degree ch...
shaft_lenght=60; shaft_radius=1.5; wheel_hole_depth=10; axle_body_lenght=45; smooth=80; difference(){ union(){ difference(){ cube([axle_body_lenght,shaft_radius*2+3,shaft_radius*2+3], center = true); rotate([0,90,0]) cylinder(r=shaft_radius+0.2, h=axle_body_lenght+2, center=true, $fn=smooth); translat...
glb/cad_c991dae9dce4.glb
Create a body holder spare piece for an RC car starting with a main rectangular base measuring 50mm in length, 5mm in width, and 5mm in height. Add a reinforcement rectangular block measuring 20mm by 3mm by 5mm centered between the two ends, positioned 15mm from the left edge. Place two 20-sided cylinders with a radius...
rotate([90,0,0]) union(){ cube ([50, 5, 5]); translate([15,0,-5]) cube ([20, 3, 5]); for ( i = [8,42]) translate([i,4,0]) cylinder(h=5, r=3.5, $fn=20); for ( i = [2.5,47.5]) translate([i,2,4.9]) difference(){ cylinder(h=5, r=2, $fn=20); translate([0,3,3.5]) rotate([90,0...
glb/cad_89588b7c73cd.glb
Create a rectangular woodworking gauge block with a length of 80mm, a width of 20mm, and a height of 20mm. Engrave the text "20 mm" into the center of the top face and the bottom face, ensuring the text is centered and recessed to a depth of 0.5mm. On both the front and back narrow side faces, engrave the text "⇳ 20 mm...
gauge_height=20; gauge_width=20; gauge_length=80; text_depth=0.5; full_text=str(gauge_height, " mm"); arrow_full_text=str("⇳ ", full_text, " ⇳"); text_size=min(gauge_height,gauge_width)/2; difference(){ cube ([gauge_length, gauge_width, gauge_height]); translate([gauge_length/2,gauge_width/2,gauge_height-...
glb/cad_e8ff89386159.glb
Create a pair of heart-shaped glasses frames with a total thickness of 5mm. Construct two heart-shaped lenses, each with an outer diameter of 105mm and an inner cutout diameter of 100mm, creating a frame wall thickness of 10mm. Position the centers of these hearts 120mm apart. Connect the two hearts with a rectangular ...
LensDiameter=100; PupillaryDistance=120; FrameThickness=5; FrameWidth=10; HingeSpacing=5; HingeHeight=30; BridgeHeight=30; BridgeWidth=15; $fn=100; linear_extrude(height=FrameThickness) translate([PupillaryDistance/2,0,0]) difference() { union() { translate([-(LensDiameter/4+FrameWidth/2)/sqrt(2),(LensDiameter/4+Frame...
glb/cad_9291721830a3.glb
Create a pair of heart-shaped glasses frames with a total thickness of 5mm. Construct two heart-shaped lenses, each with an outer diameter of 110mm and an inner cutout diameter of 100mm, creating a frame wall thickness of 10mm. Position the centers of these hearts 120mm apart. Connect the two hearts with a bridge that...
LensDiameter=100; PupillaryDistance=120; FrameThickness=5; FrameWidth=10; HingeSpacing=5; HingeHeight=30; BridgeDiameter=60; BridgeHeight=17; BridgeWidth=8; BridgeCutOffHeight=0; $fn=100; linear_extrude(height=FrameThickness) translate([PupillaryDistance/2,0,0]) difference() { union() { translate([-(LensDiameter/4+Fra...
glb/cad_e9e38f6dfcb8.glb
Create a single face for a large parametric D20 die. Start by constructing a triangular prism with a thickness of 5mm. The outer boundary of the face should be an equilateral triangle with an edge length of 50mm. The prism's sides are not vertical; they must be angled at a dihedral angle of 138.19 degrees to allow th...
face_edge_outer_size=50; face_thickness=5; text_depth=1; text_label="😭"; tolerance=0.1; inscribed_sphere_diameter=2*(face_edge_outer_size/(4*sqrt(3)))*(3+sqrt(5)); echo(TOTAL_ICOSAHEDRON_HEIGHT=inscribed_sphere_diameter); face_outer_size=(sqrt(3)/2)*face_edge_outer_size*2/3; dihedral_angle=138.19; size_offset=fa...
glb/cad_1725553c0951.glb
Create a Galvo bracket with a main rectangular body measuring 42.7mm in width, 42.9mm in length, and 41.4mm in height. From this block, remove a large central rectangular section measuring 35mm by 35mm and 44mm high, leaving a thick outer wall. Cut out two smaller rectangular notches from the corners: one measuring 1...
$fn=32; h = 41.4; w = 41.7+1; l = 41.9+1; d = 13; hd=33.5; hh = 32; hw = 2.7+(d*0.5); diff = 7.2; h_dist = 34.2; t = 0.25; module galvo_hole(d=12.6, h=12){ dd = d - 0.3; cylinder(d=dd, h=h); } module glavo_holder(){ difference(){ cube([w,l, h]); translate([9.8,9.8,-1]) cube([35,35,44...
glb/cad_dbca64575790.glb
Create a Gel Electrophoresis Comb consisting of a top support bar, a central guide bar, and five downward-extending teeth. Start with a top bar 120mm wide, 6mm thick, and 4mm high. The outer edges of this bar should be rounded. Emboss the word "COMB" centrally on the top surface. Position a second, inner guide bar ce...
$fa = 1; $fs = 0.4; top_bar_width=120; inner_bar_width=100; inner_bar_height=7; outer_guide_height=0; comb_width=72; container_depth=59; number_of_teeth=5; factor=0.7; label="COMB"; num= number_of_teeth-1; teeth= number_of_teeth; difference() { scale_factor=60; scale([top_bar_width / scale_factor,1,1])...
glb/cad_a5829ce8a3b8.glb
Create a wardrobe hook consisting of a base connector and a curved hook arm. Start by creating a connector block that is a union of a 10mm cube with a height of 11mm and two cylinders with a 10mm diameter and 11mm height, positioned such that the cylinders are offset by 10mm along the x-axis and 5mm along the y-axis. ...
qo=0.01; $fn=34; r=3; l=35-r; module connector(){ translate([0,5,0])cylinder(d=10,h=11); translate([10,5,0])cylinder(d=10,h=11); cube([10,10,11]); }; module hook(){ difference(){ hull(){ for (i=[r,25-r]){ for (j=[r,15-r]){ translate([i,j,r]) sphere(r=r); translate([i,j,r]) cylinder(r=r,h=l-r)...
glb/cad_98736aa27ca3.glb
Create a lens cover consisting of a hollowed cylindrical cap and an attached retaining ring. Start by creating a main cylinder with an outer diameter of 45.5mm and a height of 10mm. The top face of this cylinder should be a dome with a radius of 3mm. Hollow out the center of this shape by removing a cylinder with a dia...
lensDia = 40.5; height = 10.0; topRad = 3.0; wall = 2.5; $fn = 120; union() { makeLensConver(); makeHolder(); } module makeHolder() { translate([lensDia/2+wall-0.3, 0, height/2]) scale([1.0,1.5,1.0]) rotate([0,0,-100]) { rotate_extrude(angle=200, convexity = 10) translate([2.5, 0, 0]) circle(r = w...
glb/cad_592364353497.glb
Create a ceramic bowl by forming a hollow hemispherical shell. Start with a solid sphere with a diameter of 212mm. Cut this sphere in half horizontally to create a hemisphere, and then remove a smaller concentric sphere from the center with a diameter of 200mm to create a wall thickness of 6mm. Finally, ensure the top ...
translate([0,0,99]) difference(){ intersection(){ difference(){ sphere(106.0,$fn=150); translate([-200,-200,0]) cube([400, 400, 400],center=false); } translate([-200,-200,-99.0]) cube([400, 400, 400],center=false); } intersection(){ sphere(100.0,$fn=150); translate([-200,-200,-93.0]) cube([400, 400, 400],center=fal...
glb/cad_e44b116cea98.glb
Create a case for an Artekit 3.3V/5V power supply consisting of three parts: a body, a holder, and a cover. First, construct the body as a rectangular block with a total width of 15.1mm, length of 30.1mm, and height of 8.2mm. Hollow out the center to create a space for the PCB (11.5mm wide, 25.4mm long) and a specific...
pcb_height=1.5; pcb_length=25.4; pcb_width=11.5; usb_width=9; usb_height=3.3; conn_width=7.7; conn_length=2.5; conn_center_to_pcb_back=1.7; pcb_outer_holder_length=10.6; pcb_width_gap=1.2; wall_width=1.2; slider_backshift_height=1.2; slider_depth=0.8; slider_spare_height=0.2; holder_outer_bracket_length=pcb_ou...
glb/cad_b533bc31bd14.glb
Create a Wire Electrolysis Cell Holder designed to clip onto a specimen pot. Start by creating a cylindrical ring with an outer radius of 24.8mm and an inner radius of 20.6mm, with a total height of 20mm. From this ring, remove the inner cylindrical volume starting from a height of 8mm upward, but leave a central cylin...
wire_rad=0.6; grip_tab_height=10; grip_tab_width=5; grip_tab_thick=3; wall=2; pot_max_rad=45.6/2; pot_min_rad=41.2/2; brim_height=20; bar_width=11; bar_height=8; module pot_model() { difference() { cylinder(h=brim_height,r=pot_max_rad,$fn=64); cylinder(h=brim_height,r=pot_min_rad,$fn=64); } } ...
glb/cad_2dfeb1fe8355.glb
Create a Panel Cutout Template by starting with a square base plate measuring 35mm by 35mm with a thickness of 3mm. At the center of this plate, create a cutout for a D-shaped hole. This hole is formed by taking a circle with a radius of 10.4mm and removing a segment from the bottom to create a flat edge. This flat edg...
template_height = 3; template_size = 35; Radius = 20.8 / 2; Across_Flats = 19.2; $fn = 100; module D_Hole(R, Ch, Th) { d = sqrt(pow(R,2)-pow(Ch/2,2)); difference() { union() { cylinder(h=Th, r=R); } translate([-R,-d,0]) cube([R,d*2,Th]); } translate([-Ch/2,-d,0]) ...
glb/cad_7830b007511b.glb
Create a hose adapter with a funnel shape consisting of four stacked concentric sections with a uniform wall thickness of 2.4mm. Start with a base cone that is 90mm high, tapering from a bottom outer diameter of 173mm up to a top outer diameter of 39mm. Directly on top of this cone, add a cylindrical segment with an ou...
larger_OD = 39; larger_length = 20; smaller_OD = 31-8; smaller_length = 5; transition_length = 60; cone_height = 90; cone_OD = 173; thickness = 2.4; module separator () {} $fn=200; epsilon=0.01; module larger_segment() { linear_extrude(height=larger_length) difference() { circle(d=larger_OD)...
glb/cad_5f33925fa157.glb
Create a screen cover for an Icom ID-5100. Start by constructing a flat rectangular faceplate with dimensions of 140mm in width, 86mm in depth, and a thickness of 2mm. Ensure the four corners of this faceplate are rounded with a radius of 2mm. From the back of this faceplate, extend two support arms. These arms shoul...
face_x=140; face_y=2; face_z=86; face_r=2; arm_x=face_x*.70; arm_z=21; arm_c=2; $fn=100; hull(){ translate([(face_x/2)-face_r,(face_z/2)-face_r,0])cylinder(h=face_y,r=face_r); translate([(face_x/2)-face_r,-((face_z/2)-face_r),0])cylinder(h=face_y,r=face_r); translate([-((face_x/2)-face_r),(face_z/2)-face...
glb/cad_d55452dd1e62.glb
Create a Microscope Objective Funnel Stop. The model is a tapered, hollow conical structure that transitions from a wide base to a narrow top. Start by creating a base flange with a diameter of 18.2mm and a thickness of 2.1mm. On top of this flange, construct a tapered funnel body that rises to a total height of 33.3m...
Model="Funnel neck fit"; fitting="Press fit"; fit_diam_nom=15.1; fit_diam_tweak= 0.001; passo_vite=0.51; funnel_height=33.3; tip_diameter=0.1; tip_height= 0.1; tube_diameter= 0.1; cone_height=0.1; flange_diameter=0.1; flange_thickness=2.1; tip="Standard"; main_aperture_diameter=5.1; ; main_aperture_off_ce...
glb/cad_d6eb4c42f9ae.glb
Create a Beyerdynamic MM 1 calibrator adapter puck by starting with a solid cylinder that has an outer diameter of 29.95mm and a height of 18mm. Centered on the top face, remove a cylindrical hole with a diameter of 9.3mm (9.25mm plus a 0.05mm tolerance) that extends through the body, stopping 2mm from the bottom face....
MM_OD = 9.25; MM_FIT_TOLERANCE = 0.05; MM_STOP_ID = 6.5; MM_STOP_WIDTH = 2; SC_OD = 29.95; SC_HEIGHT = 18; $fn = 128; module rounded_cylinder(h, r, n) { rotate_extrude(convexity=1) { offset(r = n) offset(delta = -n) square([r, h]); square([n, h]); } } difference() { rounded_cylinder(...
glb/cad_84d83c0f3230.glb
Create a rectangular drawer insert for SMD containers with overall dimensions of 47mm in width, 132mm in length, and 16mm in height. Round all exterior edges and corners with a radius of 2.5mm. Within this block, create a grid of 48 holes arranged in 12 rows and 4 columns. Each hole is a truncated cone designed to hold...
DR_X = 47; DR_Y = 132; R=2.5; C_BOTDIA = 4; C_DIA_AT_H = 8.1; C_H = 14; I_H = 16; ROWS = 12; COLUMS = 4; SP_X = DR_X/(COLUMS); SP_Y = DR_Y/(ROWS); echo("THE TOTAL NUMER IS:",ROWS*COLUMS, " CONTAINERS"); EDGE_X = SP_X/2; EDGE_Y = SP_Y/2; module container(){ cylinder(d1=C_BOTDIA,d2=C_DIA_AT_H,h=C_H); transla...
glb/cad_f1a9d6ad1517.glb
Create a 35mm film case holder organizer. Start by creating a solid rectangular block with a height of 30mm, a width of 111.75mm, and a length of 111.75mm. Apply a corner radius of 8mm to the top edges of the block. Within this block, create a 3x3 grid of nine cylindrical holes to hold the film canisters. Each hole sh...
x = 3; y = 3; h = 30; d = 33; p = 4.25; b = 0.8; canh = 53.5; cand = 32.3; cant = 36.3; canth = 5.25; $fs = 0.15; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[0] == undef) ? [size, size, size] : size; translate_min = radius; translate_xmax = size[0] - rad...
glb/cad_4ebe56640123.glb
Create a battery holder insert for a drawer. Start with a base plate that is 130mm wide, 130mm deep, and 20mm high, with all outer edges rounded to a 2mm radius. Across this base, create a 7 by 7 grid of 49 cylindrical containers. Each container should be centered within its own cell, with the cells measuring approxima...
DR_X = 130; DR_Y = 130; R=2; C_BOTDIA = 17; C_DIA_AT_H = 17; C_H = 14; I_H = 20; ROWS = 7; COLUMS = 7; SP_X = DR_X/(COLUMS); SP_Y = DR_Y/(ROWS); echo("THE TOTAL NUMER IS:",ROWS*COLUMS); EDGE_X = SP_X/2; EDGE_Y = SP_Y/2; module container(){ cylinder(d1=C_BOTDIA,d2=C_DIA_AT_H,h=C_H); translate([0,0,C_H-0.1])...
glb/cad_9ba664c9dd68.glb
Create a Winder Cap Drive Cover by constructing a low-profile threaded cylinder. Start with a solid cylinder that has an outer diameter of 14.4mm and a total height of 2mm. Add external metric threads to the outer surface of this cylinder with a pitch of 1mm. Hollow out the center of the cylinder by removing a smaller...
function segments (diameter) = min (150, max (ceil (diameter*6), 25)); module metric_thread (diameter=8, pitch=1, length=1, internal=false, n_starts=1, thread_size=-1, groove=false, square=false, rectangle=0, angle=30, taper=0, leadin=0, leadfac=1.0, test=false) { local_...
glb/cad_47e3d59db389.glb
Create a TTL Flash Socket Cap by designing a small cylindrical plug with an internal threaded hole. Start with a solid cylinder that has an outer diameter of 9.2mm and a total height of 3.5mm. From the bottom face of this cylinder, remove a coaxial cylindrical volume to create a threaded hole. This internal hole must...
function segments (diameter) = min (150, max (ceil (diameter*6), 25)); module metric_thread (diameter=8, pitch=1, length=1, internal=false, n_starts=1, thread_size=-1, groove=false, square=false, rectangle=0, angle=30, taper=0, leadin=0, leadfac=1.0, test=false) { local_...
glb/cad_85eee5bce2b4.glb
Create a Stackable USB Holder Organiser. Start with a solid rectangular base measuring 34mm wide, 64mm long, and 16mm high. Round the vertical corners of this base with a 2.5mm radius. Hollow out the center of the block to create a container with 2mm thick walls. The interior cavity should be 30mm wide and 60mm long, ...
xnum = 5; ynum = 10; usb_a = true; wobble = 0.3; wall = 2; usb_c = !usb_a; usb_width = (usb_a ? 12 : 8.5) + wobble; usb_length = (usb_a ? 4.5 : 2.5) + wobble; usb_height = (usb_a ? 12 : 10); dist_x = (usb_a ? 4 : 7); dist_y = 4; width = xnum*(usb_width+dist_x) + dist_x + wall*2; length = ynum*(usb_length+dist_y) ...
glb/cad_a02b5afd0927.glb
Create an Ikea Alex Insert Divider Organiser. Start by creating a solid rectangular block with a width of 84mm, a length of 105mm, and a height of 35mm. Apply a 2.5mm radius fillet to the bottom two long edges and the two bottom short edges to round the base. Hollow out the block to create three equal compartments. To...
compartments = 3; handle = false; extra_height = true; h = (extra_height==true ? 35 : 25); w = 84; t = 1.2; space = 105; padding = 10; handleh = 15; cutoutw = w - t*2; cutoutl = (space - t*(compartments+1))/compartments; $fs = 0.15; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "al...
glb/cad_0044dc845fea.glb
Create a True Fruits Bottle Cap designed as a thick-walled cylindrical lid. Start with a main outer cylinder 60mm in diameter and 18mm high. Remove a central core from the bottom to create a hollow space: this cutout is a cylinder 52.5mm in diameter and 14mm high. Inside this hollow space, add a smaller concentric cyli...
$fn = 30; inner_diameter = 42; brim_diameter = 52.5; outer_diameter = 60; inner_height = 8; brim_height = 14; outer_height = 18; bevel_angle = 30; bevel_height = 3; thread_z_spacing = 2; thread_z_travel = 5; thread_z_offset = 1; module hacky_extrude(angle, height, step_size=1) { for (i = [step_size:step_si...
glb/cad_a5831171780c.glb
Create a Kalih hot-swap socket desoldering rig starting with a square base measuring 14mm by 14mm with a height of 2.5mm. Remove a rectangular section from the center of one edge, measuring 6mm wide by 4.2mm deep and 4mm high, to create a cutout for an LED. On the top surface of the base, place three vertical cylinders...
$fn = 100; base_height = 2.5; difference() { cube([14, 14, base_height]); translate([4, -0.01, -0.01]) cube([6, 4.2, 4]); } cylinder_height = base_height+4; translate([7, 7.5, cylinder_height/2]) cylinder(h=cylinder_height, r=1.8, center=true); module socket_pusher_cylinder (extra=0) { cylinder...
glb/cad_bc17a1fba2a5.glb
Create a Pipette Tip Rake consisting of a base, a series of prongs, a handle, and a locking lid. Start by creating a rectangular base 81mm wide, 7.5mm long, and 4.5mm high. Centered on the back edge of this base, add a handle that is 5mm wide, 40mm long, and 5mm high, extending backwards from the base. Along the front ...
$fn=100; varProngTopWidth=1.0; varProngBotWidth=1.6; varProngLength=15; varProngHeight=2.5; varProngDistance=9; varProngNumber=9; varBaseWidth=(varProngNumber-1)*varProngDistance+varProngBotWidth; varBaseLength=7.5; varBaseHeight=varProngHeight+2; varHandleLength=40; varHandleWidth=5; varHandleHeight=5; varLidLengt...
glb/cad_3e5444935668.glb
Create a sandpaper support for a Rotex RO90 by constructing a hollow cylindrical sleeve with a base. Start by creating a main cylinder with an outer diameter of 96mm and an inner diameter of 92mm, resulting in a wall thickness of 2mm. Set the height of this cylindrical wall to 30mm. To create the opening for the disc, ...
$fn = 720; diametre_disque = 92; epaisseur = 2; cylindre_int = diametre_disque / 2; cylindre_ext = cylindre_int + epaisseur; cylindre_trou = diametre_disque / 3 ; module cylindre_support() { difference(){ cylinder(h=30,r= cylindre_ext ,center=false); cylinder(h=30,r= cylindre_int , center=false); ...
glb/cad_5af976cdd942.glb
Create a webcam holder for a Dell UltraSharp WB7022. Start with a base plate that is 1mm thick, shaped as a stadium (a rectangle with semicircular ends) with an overall length of 83.5mm, a width of 44mm, and a 2mm outer rim. The base should have a central circular cutout with a diameter of 42.5mm. Build vertical walls...
outer_size = [83.5, 44, 15]; outer_rim = 2; bottom_thickness = 1; camera_diameter = 42.5; camera_height = 30; camera_sleeve_hole = 20; wall_thickness = 1.67; $fudge = 1; circle_offset = (outer_size.x - outer_size.y) / 2; text_offset = (outer_size.x - camera_diameter) / 4 + circle_offset; linear_extrude(height = bot...
glb/cad_193c01e5c597.glb
Create a Parametric Picatinny Rail with a total length of 0.985 inches (5 grooves). The main body is a long prism with a complex profile: the base width is 0.617 inches, and the maximum width is 0.835 inches. The top surface features a series of transverse grooves spaced every 0.394 inches. Each groove is 0.118 inches ...
Number_of_grooves = 5; Invert_Groove_Pos = false; FIRST_GROOVE_OFFSET = Invert_Groove_Pos? 0.197 : -0.001; Length_of_Rail = 0.197*Number_of_grooves; Add_Space_For_Nut = false; Point_to_Point_Diameter = 12.5; Thickness = 6; Through_Hole_Diameter = 6.55; module __Customizer_Limit__ () {} UNDER_CUT=0.011; units ...
glb/cad_b007c5ebe312.glb
Create a Glass Microscope Slide Holder. Start with a central rectangular base measuring 34.5mm in length and 13mm in width, with a total height of 3.3mm. In the center of this base, remove a rectangular window measuring 13mm by 10mm and 9.9mm high to allow for lighting. On the top surface of the base, create a square ...
include <m3_parts.scad> slide_square=26.5; slide_thick=1.3; holder_base_minimum=2; holder_base_thick=holder_base_minimum+m3_screw_head_height; stage_hole_spacing=10; wall=1.5; holder_width=2*wall+m3_screw_head_rad*2+stage_hole_spacing; holder_length=2*wall+m3_screw_head_rad*2+3*stage_hole_spacing; spring_arm_width=...
glb/cad_04f890bcfe36.glb
Create a wire endstop component for a block stage. The primary geometry is a rectangular block measuring 10.2mm in width, 18mm in length, and 6mm in height. From this block, remove two narrow rectangular notches to accommodate wires. Each notch must be 0.6mm wide, 18mm long (spanning the full length of the block), an...
switch_block_x=10.2; switch_block_y=18; switch_block_z=6; wire_notch_width=0.6; wire_notch_sep=5; wire_notch_depth=1; spacer_len1=17.2; spacer_len2=12; module wire_notch() { cube([wire_notch_width,switch_block_y*2,wire_notch_depth*2],center=true); } module xy_block() difference() { cube([switch_block_x,swit...
glb/cad_5e5bc7232af9.glb
Create a screw box consisting of a main container and a separate lid. For the container, start with a solid rectangular block measuring 140mm wide, 325mm long, and 17.5mm high. Carve out a large central rectangular void measuring 125mm wide, 315mm long, and 6.4mm deep, leaving a thin outer wall. Inside this void, creat...
y1=-295/2; y2=-145/2; y3=5/2; y4=155/2; xc=25/2; yc=140/2; zc=150/2; z=-7.5; module caixa() { difference(){ cube([280/2,325,35/2], center=true); translate([-90/2,y1,z]) cube([xc,yc,zc]); translate([-120/2,y1,z]) cube([xc,yc,zc]); translate([-60/2,y1,z]) cube([xc,yc,zc]); translate([-30/2...
glb/cad_493c7acf733d.glb
Create a set of door step components for a model train. First, construct a main step platform as a rectangular block measuring 14mm wide, 3.85mm deep, and 0.7mm thick. On top of this platform, add a smaller rectangular ridge measuring 14mm wide, 1.2mm deep, and 1.5mm high. To complete this piece, attach two small verti...
module trap() { lip = [0.8, 1.6, 0.7]; trap = [5.1, 1.5, 7.6]; translate([-trap.x/2, 0, 0]){ for (dz = [0, 0.5, 1]) { translate([0, 0, dz * -trap.z]) cube([trap.x, trap.y, lip.z]); } for (dx = [0, 1]) { translate([dx * (trap.x - lip.x), trap.y ...
glb/cad_25c6efb38510.glb
Create a parametric card and box holder. Start with a solid outer block with a total width of 71mm, a total depth of 47mm, and a total height of 77mm. Carve out two main rectangular compartments. The first is a box compartment centered on the width, measuring 67mm wide, 20mm deep, and extending through the height, st...
box = [ 67, 20, 92 ]; cards = [ 67, 25, 95 ]; outer_thickness = 2; lid_height = 2; display_frame = 3; grab_height = 20; box_pushers = false; print_lid = false; total_width = max(box.x, cards.x) + outer_thickness * 2; total_depth = box.y + cards.y + outer_thickness * 2 + outer_thickness; total_height = max(box.z, card...
glb/cad_c624ac933cf2.glb
Create a parametric Cryptex puzzle consisting of a central core, a compartment, a lid, and several rotating dials. First, create the core, a hollow cylinder with an outer diameter of 31.83mm (calculated from `dial_inner`) and a height based on 4 dials at 20mm each. The core should feature a series of small cube-shape...
$fn=60+0; part="explode"; part="compartment"; piggy_bank = true; screw_hole = 1; tolerance = 0.2; layer_h = 0.2; sides = 10; dial_thick = 20; sidesze = 20; char_depth = 0.5; code_length = 4; code=["4567890123", "356789012", "2345678901", "1234567890"]; bumph = 3.5 * sidesze / 20; dial_inner = sides * sides...
glb/cad_79ba8e11760b.glb
Create a filament spool adapter ring with a height of 17mm. The main body consists of two concentric cylindrical walls: an outer wall with a diameter of 89mm and an inner wall with a diameter of 52mm. Both walls should have a thickness of 2mm. To connect these two walls, add six rectangular ribs spaced evenly every 60 ...
module outline(wall = 1) { difference() { offset(wall, $fn=100) children(); children(); } } linear_extrude(17, $fn=200) outline(2) circle(26); linear_extrude(17, $fn=200) outline(2) circle(42.8); for(i = [0 : 60 : 300]) { rotate([0,0,i]) translate([36,0,8.5]) ...
glb/cad_f2ea191c8cbd.glb
Create a nameplate for an Orrery. Start with a rectangular base plate measuring 110mm in width, 24mm in depth, and 2mm in height. Modify the base by applying bevels to the four long edges and creating 45-degree beveled cuts at each of the four corners, using a cut size of 5mm. Engrave two pieces of text into the top...
$fa = 2; $fs = 0.2; module prism() { polyhedron( points = [ [0,0,0] , [0,0.5,1] , [0,1,0] , [1,0,0] , [1,0.5,1] , [1,1,0] ] , faces = [ [0,1,2] , [0,3,4,1] , [2,1,4,5] , [ 0,2,5,3] , [3,5,4] ], convexity=10); } module halfprism() { polyhedron( points = [ [0,0,0] , [0,0,1] , [0,1,0] , [1,0,0] , [1,0,1] , [1,1,0...
glb/cad_105b6debcabf.glb
Create a parametric bushing consisting of a main cylindrical body and a circular flange. Start by creating a hollow cylinder for the main body with an outer diameter of 12.7mm, an inner hole diameter of 6.4mm, and a total height of 19mm. At one end of this cylinder, attach a thin, flat circular flange that is 2mm thick...
inner_diameter_mm = 6.4; outer_diameter_mm = 12.7; bushing_width_mm = 0; depth_mm = 19; flange_diameter_mm = 25.4; flange_depth_mm = 2; flange_width_mm = 0; split_print = false; $fa = 2; $fs = 0.2; module draw_circle(diameter_mm, trim_mm) { difference() { if (trim_mm == 0) { circle(d=diameter_mm); }...
glb/cad_a9310f2b736e.glb
Create a Bicycle Chain Guard by first constructing a main body that is the convex hull of a hexagonal prism with a radius of 15mm and a height of 60mm, and a larger cylinder with a radius of 120mm and a height of 60mm positioned 380mm away along the x-axis. From this body, remove a central cylindrical hole with a rad...
d = 380.0; d12 = 437.5; d1d = 260.0; fdl = 60.0; cr = 90.0; ct = 10.0; bl = 10.00; bd = 4.89; ht = 3.50; hd = 7.92; module Bolts(){ cylinder(h = bl, r = bd/2, $fn = 6); translate([0,0,bl]) cylinder(h = ht, r = hd/2, $fn = 6); translate([d12-1.65,16.55,-40]) rotate([90,0,-25]) cylinder(h = bl, r = bd/2, ...
glb/cad_3a4ed41d90f0.glb
Create a cable holder for a round table leg by constructing a hollow cylinder with an outer diameter of 45mm and an inner diameter of 39mm, resulting in a wall thickness of 3mm. Extrude this shape to a height of 30mm. To allow the holder to be placed around the leg, create a vertical slot 10mm wide that cuts through th...
diameter = 39; thickness = 3; rear_slot = 10; height = 30; segments = 360; holder_opening = 6; linear_extrude(height) { difference() { circle($fn = segments, d = diameter + 2*thickness); circle($fn = segments, d = diameter); translate([diameter / 2 , 0, 0]) square([thickness*2,r...
glb/cad_bdab14e16578.glb
Create a Wera screwdriver holder plate with a base measuring 83.5mm by 167.5mm and a height of 7mm. The base has rounded corners with a radius of 3.75mm. Drill six vertical screw holes with a radius of 1.6mm: one at each of the four corners and two centered along the long edges. Each hole should have a countersink cut...
$fn = 64; middle_screws = true; screwHead_cutouts = true; Letter_Size = 8; Letter_Height = 1; depth_u = 2; width_u = 4; plate_h = 7; screw_r = 1.6; depth = (depth_u*42) - 0.5; width = (width_u*42) - 0.5; rearOffset=depth*.3; frontOffset=depth*.7; not_flat = true; hexWidths = [23.5,27.5,19.75,23.5,23.5,27.5]; c...
glb/cad_03c83eb4b7a3.glb
Create a Wera screwdriver holder as a rectangular plate measuring 83.5mm by 167.5mm with a height of 7mm. The plate has rounded corners with a radius of 3.75mm. Drill six vertical holes with a radius of 1.6mm to accommodate M3 screws: one at each of the four corners and two centered along the long edges. Each of these...
$fn = 64; middle_screws = true; screwHead_cutouts = true; Letter_Size = 8; Letter_Height = 1; depth_u = 2; width_u = 4; plate_h = 7; screw_r = 1.6; depth = (depth_u*42) - 0.5; width = (width_u*42) - 0.5; rearOffset=depth*.3; frontOffset=depth*.7; not_flat = true; hexWidths = [23.5,27.5,19.75,23.5,23.5,27.5,23....
glb/cad_21c79367ca87.glb
Create a Wera gridfinity micro drivers holder as a rectangular block with a footprint of 83.5mm by 83.5mm and a height of 25mm. The block has rounded corners with a radius of 3.75mm. Drill six vertical screw holes with a radius of 1.6mm through the block: one at each of the four corners and one at the center of each o...
$fn = 64; middle_screws = true; screwHead_cutouts = true; Letter_Size = 4; Letter_Height = 1; depth_u = 1; width_u = 2; plate_h = 25; screw_r = 1.6; depth = (depth_u*42) - 0.5; width = (width_u*42) - 0.5; rearOffset=depth*.3; frontOffset=depth*.7; not_flat = true; hexWidths = [12.5,12.5,12.5,12.5,12.5,12.5,12....
glb/cad_d88c813f86cf.glb
Create a Bondhus hex driver holder gridfinity plate. Start with a rectangular base measuring 83.5mm by 167.5mm with a height of 7mm. The four corners of the base should be rounded with a radius of 3.75mm. Drill six vertical holes for screws: one at each of the four corners and two centered along the long edges. Each h...
include <Chamfers-for-OpenSCAD/Chamfer.scad>; $fn = 64; middle_screws = true; screwHead_cutouts = true; Letter_Size = 8; Letter_Height = 1; depth_u = 2; width_u = 4; plate_h = 7; screw_r = 1.6; depth = (depth_u*42) - 0.5; width = (width_u*42) - 0.5; rearOffset=depth*.3; frontOffset=depth*.7; not_flat = true; h...
glb/cad_85829326cc48.glb
Create a screwdriver holder with a base measuring 41.5mm wide, 65mm high, and 8.5mm thick. The main body is formed by a hull of a rectangular block and two cylinders with a radius of 3.75mm positioned at the left and right edges of the base. Add a vertical extension that rises from the base, maintaining the 41.5mm wi...
$fn=64; depth_u = 1; height_mm = 65; hole_d = 4.5; hole_r = 2.1; save_filament = true; sidewall_mm = 10; top_mm = 12; difference(){ union(){ hull(){ translate([0,0,3.75]) cube([(depth_u*42)-0.5,6,8.5]); translate([3.75,0,3.75]) rotate([-90,0,0]) cylinder(h=10, r=3.75); translate([depth_u*42-3.75-.5,0,3...
glb/cad_1d0007c66dfd.glb
Create an Orthopedic Forearm Splint consisting of a series of stacked, hollowed-out conical frustums that form a tapered sleeve. Each segment has a wall thickness of 2mm. Construct the sleeve by stacking eight sequential sections along the Z-axis. The first section is 35mm high with a bottom radius of 43.45mm and a to...
espessura = 2; raio1 = 275/(2*PI); altura1 = 35; raio2 = 290/(2*PI); altura2 = 35; raio3 = 285/(2*PI); altura3 = 27; raio4 =265/(2*PI); altura4 = 28; raio5 = 240/(2*PI); altura5 = 33; raio6 = 220/(2*PI); altura6 = 32; raio7 = 195/(2*PI); altura7 = 37; raio8 = 195/(2*PI); altura8 = 39; raio9 = 195/(2*PI); altura9 = 15; ...
glb/cad_b507211492e2.glb
Create an Orthopedic Forearm Splint by extruding a 2D profile to a height of 35mm. The base profile consists of a long rectangular section 3mm wide and 230mm long, which transitions into a curved, rounded head. At the top of this structure, integrate a circular element with a radius of 2mm centered at coordinates (2, 2...
$fn = 100; altura = 66; largura = 50; raio_cantos = 5; centro_x = 25; centro_y = 0; module elipse(){ difference() { translate([centro_x, centro_y]) scale([largura/3, altura/2, 1]) circle($fn=100); translate([centro_x-5, centro_y]) scale([largura/3, altura/2, 1]) circle()...
glb/cad_15b91874fc0a.glb
Create a purse hanger by constructing a semi-cylindrical shell. Start with a solid cylinder 150mm in diameter and 40mm high. Hollow out the center by removing a smaller concentric cylinder with a diameter of 145mm, leaving a wall thickness of 2.5mm. Cut this shape in half along the vertical center plane to create a sem...
d=150; t=40; $fn=97; difference() { union() { cylinder(t,d/2,d/2); translate([0,0,t]) rotate_extrude(convexity = 10) translate([d/2-2, 0, 0]) union() { circle(r = 3); translate([0.54,-1.8,0])rotate([0,0,75])square(4,center=true); } } translate(...
glb/cad_38952281778d.glb
Create a tuning fork support by starting with a solid base formed from the union of a 340mm by 40mm by 40mm rectangular block and a hull connecting a 290mm by 140mm by 40mm block to a 40mm cube. From this combined mass, remove a vertical volume 100mm high that consists of a hull connecting a 30mm radius circle, a 15mm ...
module main(){ union(){ translate([0,30,0]) cube([340,40,40]); hull(){ translate([340,-20,0]) cube([290,140,40]); translate([330,5,0]){ cube(40);} translate([285,20,0]){ cube(40);} translate([270,30,0]){ ...
glb/cad_6b4070427351.glb
Create a vertical coat and clothes hanger shaped like a stylized tree. Start with a central trunk that is a tapered cylinder, 580mm tall, starting at a radius of 20mm at the base and narrowing to 10mm at the top, shifted 100mm up from the origin. Add six organic branches extending from the trunk at various heights. The...
module caule(){ translate([0,0,100]) minkowski(){ scale([1,1.2,1]) cylinder(h=580,r1=20,r2=10); sphere(10); }} module ramo(){ minkowski(){ scale([1,1.2,1]) cylinder(h=100,r1=12,r2=0); sphere(10); }} module ramificacao(){ translate([0,15,150]) rotate([-60,0,0]) ramo(); ...
glb/cad_1947611ff92c.glb
Create a gas cylinder holder by starting with a main cylinder that has a diameter of 85mm and a height of 334mm. Hollow out the center by removing a smaller concentric cylinder with a diameter of 70mm and a height of 334mm, starting from a height of 3mm from the base. To create the side openings, remove two horizontal ...
$fn = 80; difference() { cylinder(d=85, h=334); translate([0,0,3]) cylinder(d=70, h=334); hull() { translate([-45,0,30]) rotate([0,90,0]) cylinder(d=20, h=90); translate([-45,0,300]) rotate([0,90,0]) cylinder(d=20, h=90); } hull() { translate([0,45,30]) rotate([90,0,0]) cylinder(d=20, h=90); t...
glb/cad_2d2fcd799373.glb
Create a tool called Crocodoc Pliers, consisting of two mirrored handle arms, a central axle, and a retaining clip. Each handle arm is 9mm thick. The head of the arm is a jaw with a length of 25mm from the pivot. The inner face of the jaw features a rectangular cutout 10.5mm wide and 7mm deep, with a further 14mm wide...
show = "print"; thickness = 9; jawlen = 25; jawhookwid = 0; jawcutdepth = 1.5; rhub = 12; handle_len = 55; handle_shift = 11; include_eyelet = false; include_bump = true; levelteeth = true; module dummy(); jawbevel = 1; jbstep = 1/40; hbstep = 1/100; overhang = 40; rclearance = 0.14; cutrad = 1.5; eyethick ...
glb/cad_72d8302413e4.glb
Create a parametric pumpkin model. The main body is an oblate spheroid with a width of 40mm and a height of 30mm. Divide the body into 10 equal vertical segments. Each segment should be shaped like a rounded lobe, slightly indented at the top and bottom poles by 0.4mm and along the sides by 1.8mm to create the characte...
pumpkin_width = 40; pumpkin_height = 30; segment_count = 10; pumpkin_top_dent = 0.4; pumpkin_side_dent = 1.8; stem = true; flat_bottom = true; slice_bottom = 0.05; stem_sides = 5; stem_height = 16; stem_width = 10; stem_width_bottom = 15; stem_transition = 0.25; stem_twist = 160; stem_curl = 3; fn = 30; ...
glb/cad_247995ffa5a7.glb
Create a Mill portable heater foot consisting of a flat rectangular base and two symmetrical upright supports. Start with a central rectangular plate measuring 32mm deep, 50mm wide, and 3mm thick, centered on the origin. In this base plate, create two vertical holes with a radius of 2.5mm. Position these holes centered...
$fs = $preview ? 1 : 0.05; $fa = $preview ? 1 : 0.05; width=50; depth=32; leg_depth=depth-14; height=3; full_height=60; hole_r=2.5; difference() { cube([depth, width, height], center=true); translate([depth/2-7-1.5, width/2-8-1.5, 0]) cylinder(r=hole_r, h=height+2, center=true); translate([depth/2...
glb/cad_f403faf58550.glb
Create a Flex Pipe End Cover by constructing a hollowed cylindrical cap. Start with a solid outer body created by combining a cylinder with a diameter of 21mm and a height of 19mm, rounded at the base with a sphere of radius 1mm. The total height of the object should be 20mm. From the center of this shape, remove a cyl...
$fn = 100; height = 20; bottom_height = 5; radius = 2; out_diameter = 22; in_diameter = 17; module pipe_end_cover(heigth, bottom_height, radius, out_diameter, in_diameter){ translate([0, 0, radius / 2]) difference(){ minkowski(){ sphere(radius / 2); cylinder(h = heigth - radius,...
glb/cad_ccdafbf1dd29.glb
Create a motherboard backplate shield with a main base measuring 156mm wide, 43mm high, and 1mm thick. Surround this base with a raised perimeter edge that is 1mm thick and 3mm high, offset from the base by 2mm. Cut six rectangular openings into the base, all positioned 5mm from the bottom edge. From left to right, cr...
cutouts = [ [ [ 22.3, 3.5 ], [ 18.6, 30.6 ] ], [ [ 33.3, -0.5 ], [ 16.5, 6.5 ] ], [ [ -10.25, 15.5 ], [ 36.5, 10 ] ], [ [ 40, -15.5 ], [ 18.5, 25.5 ] ], [ [ 23.5, 0 ], [ 15, 16.5 ] ], [ [ 20, 0 ], [ 24.5, 36 ] ] ]; bottom_offset = 5; backbase = ...
glb/cad_9f0b70e98edf.glb
Create a Handy Coin Counter, a cylindrical container designed to hold 20 coins with a diameter of 26.12mm and thickness of 2.34mm each. The main body is a hollow cylinder with a wall thickness of 2.5mm. The inner diameter is sized to accommodate the coins plus a wrapping paper thickness of 0.10mm. On one side of the c...
num=20; marks_every=5; coin_lbl="2 лв."; coin_d=26.12; coin_t=2.34; paper_thickness=0.10; wall_thickness=2.5; coin_d_w_margin=coin_d; paper_thick_w_margin=paper_thickness*6; half_wall=wall_thickness/2; inner_d=coin_d_w_margin+2*paper_thick_w_margin; inner_r=inner_d/2; inner_d_8=inner_d/8; inner_d_16=inner_d/16; ...
glb/cad_e5ebb3c50315.glb