Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Pepper Ghost effect display holder for an iPad. The model consists of several mirrored components designed to hold plexiglass sheets.
First, create a central support structure. This consists of a rectangular base measuring 154mm wide by 12mm deep with a thickness of 2.2mm.
To create the glass holders, const... | block = 12.0;
hoehe = 5.5;
dicke = 2.2;
weite = 65;
ipad_w = 150+4;
module fixer(cut, rot) {
difference()
{
color([1,0,0]) cube([block,block,hoehe], true);
rotate([0,0,rot]) translate([cut,0,dicke])
cube([block+abs(cut),dicke,hoehe], true);
}
}
module ghost(cutting, rotation) {
color([0,0,1]... | glb/cad_ffb361b13d1e.glb |
Create a cabinet vent port for a subwoofer. The main body is a tapered hollow cylinder with a height of 91.3mm. The base of this cylinder has an outer diameter of 66.9mm, tapering upward to an outer diameter of 63.3mm at the top. The wall thickness of this tapered section is 1.2mm.
Attached to the bottom of this main ... | $fn=100;
comp_machine=1/0.9664;
diamEH=63.3;
diamEB=66.9;
diamIB=64.5;
epaisseur=(diamEB-diamIB)/2;
diamjup=81;
ejup=2.81;
he=91.3;
diamEdents=68.5;
ldents=15;
gap=0.1;
scale(comp_machine){
union(){
difference(){
union(){
cylinder(r1=diamEB/2, r2=diamEH/2, h=he){}
... | glb/cad_97367dca9073.glb |
Create an LED bar clip for a printer bed. Start with a main rectangular body 195mm long, 7.5mm wide, and 40mm high. Remove a central rectangular slot from the bottom of this body that is 195mm long, 3.5mm wide, and 16mm high, leaving 2mm thick walls on either side to create a C-shaped clip.
At the top of the clip, ext... | len = 195*1;
height=25;
t=2*1;
tail=15*1;
around=3.5*1;
from_alum_bed=30;
support_thickness=5;
support_width=10;
support1_x=75;
support2_x=75-50;
support3_x=75-110;
support4_x=75-160;
led_depth=4;
led_width=8;
led_base_depth=9;
splint_len=40;
splint_thickness=2.5;
led_wing_width=2;
part_distance=50;
wid... | glb/cad_95a0a1f547a5.glb |
Create a 5.25 inch drive bay drawer with an overall width of 144mm, a depth of 150mm, and a height of 41.3mm. The drawer is an open-top box constructed with walls 3mm thick.
Start by creating a rectangular floor that is 138mm wide and 141mm deep, positioned 3mm from the front and side edges. Build a rear wall 138mm w... | d1=21.8;
d2=31.3;
l1=47.5;
l2=l1+79.3;
screwr=1.50;
fwidth=149;
sdepth=150;
sheight=41.3;
vso=5;
shelfheight = 10;
wallthick = 3;
width = 144;
clearance = 1;
holeheight = 20;
holewidth = 50;
translate([wallthick+clearance,sdepth-clearance-2*wallthick,0])
rotate([90,0,0])cube([width-2*wallthick-2*clearance,shelfheight-... | glb/cad_dd271b4d7d0e.glb |
Create a customizable spiral pendant. The core of the model is a double helix structure formed by two intertwined spirals. Each spiral is composed of a series of spheres with a diameter of 3mm. The spirals should rotate 1.2 times around a central vertical axis, reaching a maximum radius of 5mm. The total vertical lengt... | NSpiral=1.2;
Stretch_Factor=1;
Stretch=Stretch_Factor*.065;
Amplitude=5;
SpiralThick=3;
DropLength=37;
$fn=8;
Name="LOVE";
TStart=3;
TSpace=6;
TFont="Arial Black";
FHeight=6;
Pi=3.14159265358979323846264338327950288419716939937510582*1;
Size=360*NSpiral;
FirstQ=90*1;
LastQ=NSpiral*360-FirstQ;
Steps=Size/100;... | glb/cad_6b115c22c17b.glb |
Create a cable label tag by starting with a rectangular base that is 30mm long, 7mm wide, and 1mm thick. Apply a 3mm fillet radius to all vertical edges of the base to give it rounded corners and sides. At each end of the tag, center a rectangular hole that is 2mm wide, 5mm high, and 2mm deep, cutting through the thick... | lang=30;
breit=7;
dick=1;
$fn=50;
difference() {
minkowski()
{
cube([lang,breit,dick]);
cylinder(r=3,h=1);
}
translate([-1.5,breit/2-2.5, 0])
cube([2,5,2]);
translate([lang-0.5,breit/2-2.5, 0])
cube([2,5,2]);
} | glb/cad_beeed74eec5b.glb |
Create a cable label tag by starting with a base rectangular plate measuring 30mm in length, 7mm in width, and 1mm in thickness. Apply a 3mm fillet or rounding to all exterior edges and corners to smooth the profile. In the center of the plate, carve out a rectangular notch that is 10mm long, 7mm wide, and 4mm deep, ce... | lang=30;
breit=7;
dick=1;
$fn=50;
minkowski()
{
cube([lang,breit,dick]);
cylinder(r=3,h=1);
}
difference() {
translate([lang/3,-3, dick+1])
cube([lang/3,breit+6,dick+3]);
translate([lang/2-2,-4, dick+1])
cube([4,breit+8,2]);
translate([lang/3,breit/2-3.5, 3])
cube([lang/3,7,4]);
} | glb/cad_33073672ceb9.glb |
Create a Half Donut Handle by first constructing a torus with a major radius of 100mm and a cross-sectional minor radius of 25mm. Cut this torus in half along the Y-axis to create a semi-circular curved tube. Within this half-donut shape, create a vertical hole to accommodate a bolt. This hole consists of two parts: a ... | B=25;
h=8;
l=69.5;
d=11;
$fn=100;
module bolt(){
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}
}
module donut(){
r = 25;
R = 100;
rotate_extrude(convexity = 100)
translate([R, 0, 0]) {
circle(r , $fn = 100);}
}
module boxx(){
cube(300,center=true);
}
mod... | glb/cad_1df7122ec5c1.glb |
Create a small rock wall hold by generating a convex hull that encompasses three primary geometric volumes: a truncated cone serving as the base with a bottom radius of 130mm and a top radius of 115mm over a height of 20mm, a cylinder with a radius of 40mm and a height of 60mm positioned at x=-55, y=0, and a sphere wit... | B=25;
h=30;
l=69.5;
d=11;
$fn=100;
module bolt(){
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}
}
module base(){
radius = 130;
cylinder(20, r1=radius, r2=radius-15);
}
module cyl_ref(){
translate([-55, 0, 0])
cylinder(60, r=40);
translate([55, 50 ,0])
... | glb/cad_56dbe3001650.glb |
Create a Rock Climbing Rock by combining a central rectangular block with two spheres and a bolt. Start with a central rectangular prism measuring 125mm in length, 150mm in height, and 100mm in width, centered on the origin. Place two spheres, each with a radius of 75mm, centered on the Y-axis: one at 100mm above the o... | L_cube=125;
H_cube=150;
W_cube=100;
$fn=100;
union(){
cube ([L_cube,H_cube,W_cube],center=true);
translate([0,100,0])
sphere(75);
translate([0,-100,0])sphere(75);
};
B=25;
h=8;
l=69.5;
d=11;
module bolt(){
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}}
bolt(); | glb/cad_4ed23356157f.glb |
Create a geometric shape by starting with a hull formed between two spheres: one with a radius of 78.9mm and another with a radius of 69.4mm positioned at coordinates [30, 30, 0]. From this combined volume, remove a bolt-shaped void. This void consists of a cylindrical shaft with a radius of 5.5mm and a height of 69.5m... | B=25;
h=8;
l=69.5;
d=11;
$fn=100;
cylinder(75,200,100,$fn=6);
module bolt(){
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}
}
difference(){
hull(){
sphere(r=l+h-.1);
translate([30,30,0])sphere(r=l-h);
}
bolt();
} | glb/cad_86dde3f32deb.glb |
Create a complex geometric form by combining several organic and primitive shapes. Start with a central core created by the convex hull of three spheres: one with a radius of 77.4mm at the origin, one with a radius of 67.4mm at [30, 30, 0], and one with a radius of 67.4mm at [30, 30, 0] rotated 120 and 240 degrees arou... | B=25;
h=8;
l=69.5;
d=11;
$fn=100;
module bolt(){
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}
}
sr = 10;
module bumps(){
hull(){
translate([30, 0, 70])
sphere(sr, $fn = 100);
translate([30, 10, 65])
sphere(sr, $fn = 100);
... | glb/cad_47ae1360246b.glb |
Create a Cube-Shell Rock Wall Hold by constructing a complex base and subtracting a bolt hole. First, generate the main body by creating a hull that encompasses a series of 13 spheres, each 20mm in diameter, arranged in a circle with radii varying from 15mm to 105mm in 15mm increments, spaced every 30 degrees. Incorpor... | $fn=20;
difference(){
bottom();
hull(){
translate([80,0,90])
sphere(d=80);
translate([180,0,130])
sphere(d=150);
}
translate([0,0,-250])
cube([2000,2000,500],center=true);
translate([-40,0,-10])
bolt();
}
module bottom(){
hull(){
... | glb/cad_632922480617.glb |
Create a Ball Cube Rock Wall Hold by starting with a central sphere with a radius of 35mm. Insert a vertical cylindrical hole through the center of the sphere with a diameter of 11mm and a total length of 69.5mm. At the top of this hole, add a cylindrical bolt head with a radius of 12.5mm and a height of 8mm. Finally, ... | sphere(r = 35);
mirror([1,1,0])
cube([45,10,10]);
mirror([0,1,0])
cube([45,10,10]);
mirror([1,0,0])
cube([45,10,10]);
B=25;
h=8;
l=69.5;
d=11;
$fn=100;
difference()
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
} | glb/cad_88d2a755b139.glb |
Create a Rock Wall Doorknob hold by revolving a specific 2D profile around a central vertical axis. The profile to be rotated is a polygon with vertices at [0,20], [40,20], [20,40], [40,60], [40,75], and [0,75]. From this resulting solid of revolution, remove a central bolt-shaped void. This void consists of a cylindri... | B=25;
h=8;
l=69.5;
d=11;
$fn=100;
module bolt(){
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}
}
;
difference(){
rotate_extrude()
polygon(points=[[0,20],[40,20],[20,40],[40,60],[40,75],[0,75]]);
bolt();} | glb/cad_c37625b99b91.glb |
Create a rockwall egg-shaped hold by starting with a sphere of radius 10mm and resizing it to dimensions of 150mm in width, 87.5mm in depth, and 87.5mm in height. From this main body, remove a large rectangular block measuring 200mm by 200mm by 45mm, centered on the X and Y axes and positioned at a Z-height of -22.5mm,... | B=25;
h=8;
l=69.5;
d=11;
$fn=100;
module bolt(){
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}
}
difference(){
hull(){
resize(newsize=[150,87.5,87.5]) sphere(r=10);
}
translate([0,0,-32.5])bolt()
translate([0,0,4])cube([15,5,6], center=true);
translate([0,0,-22.... | glb/cad_70e598591b3c.glb |
Create a basic rockwall hold by forming a convex hull around four spheres to create the main body. Position the first sphere with a radius of 7.5mm at coordinates (16.67, 0, 0), the second sphere with a radius of 5.83mm at (0, 83.33, 0), the third sphere with a radius of 8.33mm at (-20.83, -41.67, 0), and the fourth sp... | use <bolt.scad>
s=12;
r1=90/s;
r2=70/s;
r3=100/s;
r4=400/s;
$fn=100;
module base()
{
hull()
{
translate([200/s,0,0])
sphere(r1);
translate([0,1000/s,0])
sphere(r2);
translate([-250/s,-500/s,0])
sphere(r3);
translate([0,0,450/s])
sphere(r4);
... | glb/cad_3952b63dd475.glb |
Create a Basic Rockwall Hold bolt by combining a wide cylindrical head and a narrower cylindrical shaft. First, construct a long cylinder for the shaft with a diameter of 11mm and a total height of 69.5mm. On top of this shaft, center and attach a second, shorter cylinder to serve as the bolt head. This head must have ... | B=25;
h=8;
l=69.5;
d=11;
$fn=100;
module bolt(){
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}
}
bolt(); | glb/cad_496a75bedf90.glb |
Create a rock wall hold by combining a central rectangular block with organic, rounded forms. Start with a central cube measuring 75mm in length, 100mm in width, and 70mm in height. To this block, add a convex hull that encompasses a sphere with a radius of 45mm centered at coordinates (-50, 50, 0) and a cylinder with ... | L=75;
W=100;
H=70;
r=H/2+10;
cube([L,W,H], center=true);
hull(){
translate([-50,50,0])
sphere(r);
translate([-40,0,0])
rotate([90,0,15])
cylinder(.45*r,d=40,center=true);
}
translate([-25,-35,0])
sphere(r-10,center=true);
B=25;
h=8;
l=69.5;
d=11;
$fn=100;
module bolt(){
union(){
translate([0,0,l-0.1])cylinde... | glb/cad_1a024f44e300.glb |
Create a rock wall hold shaped like a tiered cylinder with a central hole. Start by constructing a wide, flat base cylinder with a diameter of 140mm and a height of 18.33mm. On top of this base, center a second, smaller cylinder with a diameter of 70mm and a height of 31.17mm. Through the center of this combined form, ... | B=25;
h=8;
l=69.5;
d=11;
hm1 = (l - h);
hm = (l - h)/3;
dm = 140;
dm1 = dm / 2;
dispM = 20;
dhm = 25;
$fn=100;
module bolt(){
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}
}
module muffin() {
union() {
translate([0,0, (hm1 - h)])cylinder(h=hm, r = dm/2);... | glb/cad_a7eecceb6142.glb |
Create a Rockwall Hold by starting with a central rectangular block measuring 160mm in length, 80mm in width, and 75mm in height. On the top surface of this block, add a centered, semi-cylindrical ridge that spans the full 160mm length and has a radius of 37.5mm. To create the mounting hole for the bolt, remove a verti... | B=25;
h=8;
l=69.5;
d=11;
$fn=100;
module bolt(){
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}
}
module hold () {
difference (){
union () {{translate([0,0,37.5]) cube([160,80,75],center=true);
translate([80,37.5,70]) rotate ([0,270,0]) cylinder(h=160, r=d);}}
translate([8... | glb/cad_16887ed4a726.glb |
Create a very small rock wall hold by forming a convex hull around four primary points: a cylinder with a radius of 2mm and a height of 11mm centered on the X-axis and shifted 5.5mm back, a sphere with a radius of 4mm at position [0, 3, 0], a sphere with a radius of 3mm at [5, 1, 0], and a sphere with a radius of 3mm a... | B=25;
h=8;
l=69.5;
d=11;
$fn=100;
module bolt(){
union(){
translate([0,0,l-0.1])cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}
}
difference(){
hull(){
rotate([0,90,0]) translate([0,0,-5.5]) cylinder(h=11, r=2);
translate([0,3,0]) sphere(4);
translate([5,1,0]) sphere(3);
translate(... | glb/cad_747a049e52ce.glb |
Create a pot lid handle consisting of a circular base and a rectangular grip. Start by creating a circular bottom plate with a diameter of 49mm and a thickness of 4mm, centered on the origin.
On top of this base, construct a grip that is 12.5mm wide, 45mm long, and 9.5mm high. The grip should be centered on the base.... | TOL=0.2;
difference() {
union() {
grip();
bottom_plate();
}
translate([0,0,-0.1]) cylinder(r=10/2,h=2.4,$fn=30);
cylinder(r=(6+TOL)/2,h=12,$fn=30);
}
module grip() {
union() {
translate([-12.5/2,-45/2+0.08,1]) cube([12.5,44.84,9.5]);
hull() {
translate([-12.5/2,45/2-7.5,9.5]) rotate([0,90,0])
cy... | glb/cad_b8fc1887877e.glb |
Create a basic enclosure for a Nixie Tube Shield consisting of a main box and a separate lid. Construct the main box as a solid rectangular prism measuring 84mm x 62mm x 50mm. Hollow out the center of this box by removing a smaller rectangular volume of 78mm x 56mm x 44mm, starting from a depth of 3mm from the bottom. ... | x=84;
y=62;
z=50;
xin=78;
yin=56;
zin=44;
difference(){
cube ([x,y,z]);
# translate(v=[3,3,3]) cube ([xin,yin,zin]);
# translate(v=[79,13,9]) cube ([12,13,12]);
# translate(v=[79,45,9]) cube ([12,9,11]);
# translate(v=[3,3,zin]) cube ([xin+3,yin,20]);
# translate(v=[3,2,zin]) cube ([xin+3,yin+2,2]);
}
difference(){
... | glb/cad_be44b75ea2c1.glb |
Create a headphone shell container consisting of a main body and a matching lid. For the main body, create a revolved shape with a flat base and a profile that extends to a radius of 27mm and a height of 20mm. The interior should be hollowed out to create a cavity, leaving a wall thickness of approximately 2mm. Inside ... | union () {
rotate_extrude(convexity=10,$fn=100)
polygon(points=[[0,2],[24,2],[25,3],[25,15],[25.9,15],[25.9,13],[27,13],[27,3],[26,1],[25,0],[0,0]] );
union () {
difference () {
union () {
translate ([2.5,0,2])
cylinder (r=5/2+1,h=10.5,$fn=100);
translate ([-2.5,0,2])
cylinder (r=5/2+1,h=10.5,$fn=100);
}... | glb/cad_ec64e0498609.glb |
Create a Grobot v2 security camera housing consisting of a main box and a lid. For the main box, create a centered rectangular shell with outer dimensions of 60mm by 89mm and a height of 11.5mm. Hollow out the interior to 57mm by 86mm with a wall thickness of 1.5mm. On the sides of this box, create several rectangular ... | boite_raspberry();
module boite_raspberry(){
union(){
translate([0,0,2])difference(){
translate([0,0,3.75])cube([60,89,11.5],true);
translate([0,0,4.75])cube([57,86,11.5],true);
translate([0,-40,9])cube([15,15,20],true);
translate([30,-32,12])cube([15,10,20]... | glb/cad_3e50456c4868.glb |
Create a camera base for the Grobot v2. Start with a central rectangular block measuring 26mm by 28mm by 5mm, centered on the origin. Merge this with a second, flatter rectangular block measuring 32.4mm by 38mm by 2mm, also centered on the origin and shifted 1.5mm down along the Z-axis.
From this combined mass, remove... | cameraBase();
module cameraBase(){
difference(){
union(){
cube([26,28,5],true);
translate([-3.2,0,-1.5])cube([32.4,38,2],true);
}
translate([1.01,0,1])cube([26,26,1],true);
translate([1.01,0,0])cube([24,24,6],true);
cameraHoles();
}
}
module came... | glb/cad_0eedbbd2bb9e.glb |
Create a Grobot v2 base by starting with a central rectangular block measuring 34mm by 30mm by 4mm. To this, add a larger surrounding rectangular plate measuring 39mm by 40mm by 2mm, centered on the base.
From this combined volume, remove a central rectangular section measuring 26mm by 13mm by 3mm. Additionally, remov... | lightBottom();
module lightTop(){
translate([0,0,2])difference(){
union(){
translate([0,0,5])cube([40,36,2],true);
translate([19,0,2.5])cube([2,36,5],true);
translate([0,17,2.5])cube([40,2,5],true);
translate([0,-17,2.5])cube([40,2,5],true);
tran... | glb/cad_f464aac79744.glb |
Create a Grobot v2 motion sensor housing. Start by creating a base platform that is 39mm wide, 44mm deep, and 2mm thick, centered on the origin. On top of this base, add a centered rectangular block measuring 34mm by 34mm with a height of 4mm.
To form the outer walls and supports, add three rectangular sections: two b... | motionBottom();
module motionTop(){
translate([0,0,2])difference(){
union(){
translate([0,0,5])cube([40,40,2],true);
translate([19,0,2.5])cube([2,36,5],true);
translate([0,19,2.5])cube([40,2,5],true);
translate([0,-19,2.5])cube([40,2,5],true);
tr... | glb/cad_05da6c5fa2c9.glb |
Create a sensor cage for a temperature and humidity sensor. Start by constructing a central body that is 42mm wide, 2mm thick, and 2mm high, centered at [5, 18.25, 9]. Duplicate this body mirrored across the X-axis to [5, -18.25, 9].
Add a hollowed-out cylindrical shell. The outer boundary is a cylinder with a radius ... | temphumCage();
module temphumCage(){
union(){
cagePegs();
translate([5,18.25,9])cube([42,2,2],true);
translate([5,-18.25,9])cube([42,2,2],true);
difference(){
union(){
cagePegs();
difference(){
translate([-16,0,10])rota... | glb/cad_7267d809a62b.glb |
Create an adjustable rotary knob by starting with a main cylindrical body that is 42mm in diameter and 15mm high. Inside this cylinder, create a central vertical hole that is 6.5mm wide and 14mm deep. This central hole is not a simple circle; it is a square-shaped cutout with a width of 6.5mm, leaving a thin wall aroun... | $fn=50;
buttonWidth=42;
buttonHeight=15;
holeHeight= 14;
holeWidth = 6.5;
holeCut = 6;
makeHollow=0;
makeHandle=1;
handleLength= 25;
handleWidth= 8;
overlap = 0.05 *1.0;
module ringCutout(){
union()
{
translate([0,0,-overlap])
linear_extrude(height= holeHeight - overlap){
difference(){
scale(buttonWidt... | glb/cad_eb4e4874b63e.glb |
Create a GT2 pulley with 60 teeth. Start with a cylindrical base 8mm high and 20mm in diameter. Centered on this base, add a toothed section 6mm long with a diameter of 12.71mm. The teeth should follow the GT2 2mm profile, distributed evenly around the circumference.
On top of the toothed section, add a belt retainer ... | number_of_teeth = 60;
profile = 12;
motor_shaft_diameter = 5;
toothed_part_length = 6;
base_height = 8;
base_diameter = 20;
belt_retainer = 1;
retainer_height = 1;
belt_idler = 1;
idler_height = 1;
screws_disposition = 2;
nut_shape = 1;
screw_profile = 4;
nut_shaft_distance = 1.2;
no_of_nuts = screws_disp... | glb/cad_7aba20d8ac04.glb |
Create a 1:10 scale model of an MHB-4818 Bass Speaker. Start by constructing the main enclosure with a floor measuring 122mm by 76.2mm and a height of 1.85mm. Build the outer walls to a height of 57.4mm, following a rectangular footprint of 122mm by 76.2mm, with a wall thickness of 1.8mm.
Inside the enclosure, create ... | $fn=100;
module outer_wall() {
linear_extrude(height = 57.4) {
polygon([
[0,0],
[0,76.2],
[122,76.2],
[122,0],
[120.2,0],
[120.2,74.4],
[1.8,74.4],
[1.8,0]]);
}
}
module inn... | glb/cad_e7c4dd83e25e.glb |
Create a game piece for Hecks consisting of two stacked cylinders. The base is a cylinder with a radius of 5.33mm and a height of 6mm. Centered on top of this base, add a second, smaller cylinder with a radius of 4.27mm and a height of 3mm. The final object is a stepped cylindrical peg with a total height of 9mm. | boardwidth=280;
boardthick=3;
hexwidth=boardwidth/9;
hexside=hexwidth*0.57735;
hexradius=(hexwidth/2)/0.866;
linethick=hexradius/15;
holeradius=hexradius/2.5;
inholeradius=holeradius*0.8;
fit=1.1;
union() {
cylinder($fn = 25, r = holeradius, h = boardthick*2);
translate([0,0,boardthick*2]) cylinder($fn... | glb/cad_8f7728725bcb.glb |
Create a Math Bowl by constructing a conical frustum with a bottom radius of 70.29mm, a top radius of 101.82mm, and a height of 31.82mm. To hollow out the center, remove a sphere with a radius of 101.82mm, positioned so that the center of the sphere is 103.82mm above the base of the frustum. The resulting object should... | rd=144;
echo("rd ",rd);
t=2;
echo("t ", t);
rr=rd/2;
echo("rr ",rr);
r=sqrt(2*rr*rr);
echo("r ",r);
h=r-rr;
echo("h ",h);
br=rr-h;
echo("br ",br);
difference() {
cylinder(r1=br, r2=rr, h=h+t, $fa=2);
translate([0,0,r+t]) sphere(r=r, $fa=2);
} | glb/cad_8b30ac0555b3.glb |
Create a lid clip for a plastic storage box. The clip is a single piece with a width of 10mm and a thickness of 4mm.
Start with a central rectangular section that is 19mm long and 10mm wide, with rounded corners using a fillet radius of 8mm. On one end of this section, attach a rectangular block that is 6mm long, 10m... | Clip_thickness=4;
Clip_width=10;
Section_A=6;
Section_B=6;
Section_BR=2;
Section_C=19;
Section_CR=8;
Section_D=17;
Section_E=5;
Section_F=5;
Clip_number=1;
N=Clip_number;
W=Clip_width;
T=Clip_thickness;
aL=Section_A;
aW=W;
aT=T;
R1=Section_BR;
bL=T;
bW=W;
bT=Section_B;
cL=Section_C;
cW=W;
cT=T;
R2=Section_CR... | glb/cad_74415e39b270.glb |
Create a CameraMount by starting with a large cylinder 87mm in diameter and 10mm high. Remove a smaller concentric cylinder from the center that is 83mm in diameter and 7mm deep, leaving a ring with a 2mm thick wall and a 3mm thick base. Cut a horizontal hole completely through the center of the ring wall using a cylin... | outside = 87;
inside = 83;
outsideheight = 10;
insideheight =7;
difference()
{
difference()
{
difference()
{
translate([0,0,0])
cylinder(outsideheight, r=outside/2);
translate([0,0,0])
cylinder(7, r=inside/2);
}
translate([0,0,3])... | glb/cad_cd35b602761e.glb |
Create a PiPiece telescope eyepiece adapter. Start by constructing a central drawtube with an outer diameter of 31.75mm (1.25 inches) and a length of 20mm. The tube should have a wall thickness of 1.5mm, creating a hollow center. At the base of the tube, add a cylindrical flange that extends 4.5mm behind the tube end w... | Drawtube_OD_inches = 1.25;
part = "drawtube";
module stop_customizer(){}
Drawtube_OD_inches_used = (Drawtube_OD_inches_explicit==undef) ? Drawtube_OD_inches : Drawtube_OD_inches_explicit;
part_used = (part_explicit==undef) ? part : part_explicit;
echo("Using Drawtube_OD_inches = ",Drawtube_OD_inches," and part = ",... | glb/cad_6ef3411395a2.glb |
Create a Makerbeam bracket for a twin slot shelving system consisting of two mirrored parts. For each part, start with a base latch shape created by extruding a polygon with vertices at [5,0], [18,0], [18,9], [13.5,9], [13.5,12], [28.5,12], [28.5,10], [38,0], [44,0], [44,22], [0,22], and [0,5] to a thickness of 3.25mm.... | $fn=60;
slot_width=4.0;
slot_thick=3.25;
sts_gap=6.25;
lug_r=3;
lug_f=0.1;
beam_w=10.25;
beam_t=6;
module latchS() {
linear_extrude(height=slot_thick)
polygon(points=[[5,0],[18,0],[18,9],[13.5,9],[13.5,12],[28.5,12],[28.5,10],[38,0],[44,0],[44,22],[0,22],[0,5]]);
}
module latchfordowel() {
difference() {
union(... | glb/cad_7852bcaf0e00.glb |
Create a hollow rectangular shell for an MSX cartridge with an overall footprint of 109mm in width and 70mm in depth, and a wall thickness of 3mm. The total height of the shell is 8.5mm.
The main body is a rectangular box with a base of 109mm by 70mm. The walls are 3mm thick. The corners of the base are rounded with a... | $fn = 128;
height = 8.5;
width = 109;
box_height = 70;
wall = 3;
lowered = 7;
fixation1_x = 18.8;
fixation_y = 19.25;
fixation2_x = 100.2;
abutment_size = 8;
module base()
{
cube([width, box_height, wall]);
}
module wall()
{
cube([wall,box_height,height]);
}
module abutment(height=lowered)
{
cube([abutment_siz... | glb/cad_3456a2e975bb.glb |
Create a hollow rectangular shell for an MSX cartridge with an overall footprint of 109mm in width and 70mm in depth, and a total height of 8.5mm. The shell features a base plate 3mm thick with walls 3mm thick rising from the sides.
On the bottom face, create two primary circular fixation points centered at x=18.8mm a... | $fn = 128;
height = 8.5;
width = 109;
box_height = 70;
wall = 3;
lowered = 6.8;
fixation1_x = 18.8;
fixation_y = 19.25;
fixation2_x = 100.2;
abutment_size = 7;
module base()
{
cube([width, box_height, wall]);
}
module wall()
{
cube([wall,box_height,height]);
}
module abutment(height=lowered)
{
cube([abutment_s... | glb/cad_e3c63c006e9d.glb |
Create a Toon Light Switch Plate by constructing a rounded rectangular slab. Start by forming a convex hull around four spheres, each with a radius of 4.8mm, positioned at the coordinates [40, 62], [30, -62], [-40, 52], and [-30, -52] on the XY plane. From this solid, remove a central rectangular block measuring 90mm b... | $fn=32;
difference(){
hull(){
translate([40,62]) sphere(r=4.8,center=true);
translate([30,-62]) sphere(r=4.8,center=true);
translate([-40,52]) sphere(r=4.8,center=true);
translate([-30,-52]) sphere(r=4.8,center=true);
}
translate([0,0,-5]) cube([90,134,10],center=true);
c... | glb/cad_a09db95b02be.glb |
Create an adjustable belt tightener consisting of two identical main blocks and two matching removable clips.
For each main block, create a rectangular prism measuring 11.2mm in width, 25.6mm in depth, and 8mm in height. On the top face, center a cylindrical hole with a 2mm radius that passes completely through the b... | belt_width = 6;
belt_height = 1.6;
belt_doubled_height = 2.8;
wall = 1.6;
gap = 1;
screw_radius = 2;
nut_radius = 4.2;
box_depth = 8;
clip_space = .8;
clip_gap = .5;
swall = nut_radius-screw_radius+wall;
box_x = (belt_height * 2) + (wall * 3)+gap;
box_y = belt_width + gap + (4*nut_radius)+4*wall;
slot_y =... | glb/cad_7be5bdbe4d22.glb |
Create a 3D extrusion of a T-slot aluminum profile with a length of 100mm. The profile is based on a 30mm by 30mm square. Start with a solid 30mm square and remove a central circular hole with a radius of 3.325mm.
At each of the four corners, create square blocks with a side length of 6.745mm. Within these corner blo... | length=100;
tslot30();
module tslot30() {
$fn=50;
height=30;
inner_size=11.64;
diag_width=2.54;
gap=8.13;
inner_depth=6.8;
full_depth=9.18;
through_rad=6.65/2;
inside_gap=16.51;
edge_thickness=2.21;
module outer_edge() {
intersection() {
difference() {
... | glb/cad_5b8dede4d951.glb |
Create a Top Shelf accessory for a cubicle wall system. Start by creating a rectangular shelf base with a length of 120mm, a width of 80mm, and a height of 3.5mm. Apply a corner radius of 3mm to all four corners of the base.
On the underside of the shelf, center a mounting adapter. This adapter is a composite shape co... | Connector="Twist";
Part="Top Shelf";
l1=120;
w1=80;
h1=12;
r1=3;
h2=100;
d2=50;
sides=6;
t1=20;
$fn=100;
temp=0;
if (Part=="Top Shelf"){
if (w1>l1) {temp=l1; l1=w1; w1=temp;}
rotate([0,180,0]) translate([0,0,-20.5]) Shelf_Top();}
else if (Part=="Bottom Shelf"){
if (r1>8) {r1=8;}
rotate([0,... | glb/cad_f259603c56fe.glb |
Create a Twist Hook designed as a mounting interface. Start by creating a base profile that is a hull of six small circles (radius 1mm) arranged in a rectangular pattern approximately 7.5mm wide and 7.5mm tall. Extrude this profile to a height of 4mm.
On top of this base, add a central cylindrical core with a diamete... | Part="Twist Hook";
l1=200;
w1=100;
h1=20;
r1=8;
h2=42;
d2=60;
sides=20;
t1=-25;
$fn=100;
temp=0;
rotate([0,90,-90]) translate([-3.75,0,-20]) TwistHook();
if (Part=="Top Shelf"){
if (w1>l1) {temp=l1; l1=w1; w1=temp;}
rotate([0,180,0]) translate([0,0,-20.5]) Shelf_Top();}
else if (Part=="Bottom Shelf... | glb/cad_9694832a5fe2.glb |
Create a "Long Wall Connector" by extruding a specific 2D profile to a height of 2mm. The profile is defined by a complex polygon with the following vertices: starting at [-47, 8], moving to [-17, 8], [-17, 11.5], [-23, 11.5], [-21, 16.5], [-14, 16.5], [-11.5, 11.5], [-11.5, 8], [8.5, 8], [8.5, 11.5], [3, 11.5], [7, 16... | Connector="Long";
Part="Connector";
l1=120;
w1=80;
h1=12;
r1=5;
h2=120;
d2=60;
sides=6;
t1=40;
temp=0;
if (Part=="Top Shelf"){
if (w1>l1) {temp=l1; l1=w1; w1=temp;}
rotate([0,180,0]) translate([0,0,-20.5]) Shelf_Top();}
else if (Part=="Bottom Shelf"){
if (r1>8) {r1=8;}
rotate([0,0,0]) tran... | glb/cad_d7d6f46917a9.glb |
Create a 3D spider web with a total diameter of 100mm and a uniform thickness of 3mm. The design is composed of seven radial spokes and five concentric rings. Start by placing seven straight cylinders, each with a radius of 1.5mm and a length of 50mm, extending from the center point to the outer edge, spaced equally at... | size = 100;
thickness = 3;
strands =5;
wedges = 7;
resoultion = 25;
spoke_showing = 2.5;
flat_bottom = true;
module spoke(){
rotate([-90,0,0])
cylinder(r=thickness/2, h=size/2, $fn=resoultion);
}
module arc(){
for(i = [1:strands]){
intersection([0,0,30]){
translate([0,0,-thickness*.5]){
rotate([0,0,360/... | glb/cad_8d80ee012e79.glb |
Create a shower knob consisting of a cylindrical outer shroud and a central mounting stem. Start by creating a central cylindrical hole with a diameter of 6.5mm that runs through the entire height of the object. Around this hole, build a cylindrical stem with an outer diameter of 15mm and a height of 32.2mm.
Construc... | screw_shaft_id = 6.5;
screw_shaft_stop_dia = 11.0;
screw_shaft_flat = 9.0;
screw_shaft_od = 15;
screw_shaft_height = 32.2;
screw_shaft_stop_height = 12;
screw_head = 11.5;
knob_id = 37.5;
knob_stop = 4.5;
knob_od = 42;
knob_rad = 30;
knob_top_rad = 40;
knob_inner_height = 23.1;
knob_outer_height = 37.2;
$fn = 100;
e... | glb/cad_bd81461b4b56.glb |
Create a Soldering Jig by starting with a solid rectangular base measuring 30mm wide, 60mm long, and 3mm high. Carve a rectangular channel out of the top of this base, starting 3mm from the left edge and 3mm from the front edge, with a width of 13mm and a length of 60mm, extending 4mm deep. Build two vertical walls on ... | difference(){
cube(size = [30,60,3], center = false);
translate(v=[3,3,0])
cube(size = [13,60,4], center = false);}
difference(){
cube(size = [17,60,12], center = false);
translate(v=[3,3,0])
cube(size = [13,54,12], center = false);}
translate(v=[27,0,0])
cube(size = [3,60,12], center = false);
translate(v=[17,7,0]) ... | glb/cad_1177ad6296ff.glb |
Create a bracket for a Logitech C210 webcam tripod mount. Start with two symmetrical mounting ears, each a cylinder with a radius of 3.375mm and a height of 30.5mm, positioned at the top and bottom of a central pivot area. These ears are separated by a gap 21mm wide and centered along the Y-axis. Drill a 3.75mm diamete... | ears_d = 6.75 / 2;
ear_screw_d = 3.75 / 2;
ears_wid = 4.75;
ears_offset = 6;
cam_pivot_wid = 21;
nut_diam = 6.4;
union() {
difference() {
union() {
translate([0, ears_wid+cam_pivot_wid/2, ears_d])
rotate([90, 90, 0])
cylinder(r=ears_d, h=ears_wid*2+cam_pivot_wid, $fn=50);
translat... | glb/cad_14bcaa1bc8fd.glb |
Create a metal spool holder frame by starting with a rectangular base that is 70mm long, 20mm wide, and 11mm high, with rounded corners created by a 5mm radius. In the center of this base, remove a rectangular section measuring 30mm in length and 7mm in height to create a recessed channel. At each end of the frame, cre... | $fn = 50;
module frame()
{
translate([5, 5, 0]) minkowski()
{
difference() {
cube([60, 10, 6]);
translate([30/2, 14/2, -0.5]) cube([30, 7, 7]);
}
cylinder(h=1, r=5);
}
}
module hub()
{
union()
{
cylinder(h=1.5, r=18/2);
cylinder(h=5, ... | glb/cad_915306284f8e.glb |
Create a Film Negative Holder designed to hold a strip of 35mm film. Start with a central rectangular support base that is 10mm wide, 152.4mm long, and 2mm thick.
On opposite long edges of this base, add two identical sets of holding fingers. Each finger consists of a rectangular arm extending outward, ending in a sm... | $fn=360;
PerfWidth=0.11*25.4;
PerfHeight=0.073*25.4;
PerfOffset=0.1866*25.4;
PerfRowOffset=1.11*25.4;
Clearance=0.5;
StripLength=6*25.4;
WidthOfFilm=1.374*25.4;
AdjustedStripLength=floor(StripLength/PerfOffset)*PerfOffset+PerfHeight-Clearance;
echo("AdjustedStripLength=", AdjustedStripLength);
HeightOfTooth= 2;
Fi... | glb/cad_d567f0897dcd.glb |
Create a Film Negative Holder designed to hold a 6-frame strip of 35mm film.
Start with two parallel I-beam support rails, each 91.44mm long with a material thickness of 2mm and a height of 12mm. Position these rails so they are separated by a total width of 61.44mm. To prevent bending, add two reinforcing ribs along... | use <../Libraries/I-Beam.scad>;
$fn=360;
PinDiameter=4.97;
PerfWidth=0.11*25.4;
PerfHeight=0.073*25.4;
PerfOffset=0.1866*25.4;
PerfRowOffset=1.11*25.4;
Clearance=1;
FramesPerStrip=6;
LengthOfFrame=1.5*25.4;
StripLength=FramesPerStrip*LengthOfFrame;
WidthOfFilm=1.374*25.4;
AdjustedStripLength=floor(StripLength/Perf... | glb/cad_2d3be69ac1e8.glb |
Create a White Board Pen Holder designed to sit atop a glass partition. The object is a solid block with a total depth of 42mm and exterior walls 2mm thick.
First, create a rectangular cutout for an eraser with dimensions 53mm wide by 33mm high. Next to this, create a circular hole for a cleaning bottle with a radius... | $fn=64;
Debug=0;
Clearance=1;
EraserWidth=52+Clearance;
EraserHeight=32+Clearance;
BottleRadius=17.5+Clearance/2;
PenRadius=10+Clearance/2;
GlassThickness=10.5+Clearance;
HoleDepth=40;
ExteriorWallThickness=2;
ObjectSpacing=4;
NumberOfPens=6;
FilletRadius=0;
FilletFacets=4*4;
BridgeThickness=10;
PenToBottle=pow(pow(... | glb/cad_e0230cecb0fa.glb |
Create a Yin-Yang bowl by constructing a hollowed-out vessel with a total rim diameter of 144mm. The interior is a spherical void with a radius of approximately 101.82mm, while the exterior is a truncated cone with a height of approximately 29.64mm, sloping sides at 45 degrees, and a flat base with a radius of approxim... | rd=144;
t=2;
rr=rd/2;
r=sqrt(2*rr*rr);
h=r-rr;
br=rr-h;
hrr=rr/2;
ht = h+t;
module bowl() {
color("yellow") difference() {
cylinder(r1=br, r2=rr, h=ht, $fa=2);
translate([0,0,r+t]) sphere(r=r, $fa=2);
}
}
overlap = 1;
module mask() {
difference() {
union() {
translate([-rr,-rr,-1]) cube([rr,rd,ht+... | glb/cad_e3e634c8c580.glb |
Create a Tolerance Test consisting of nine identical square assemblies arranged in a 3x3 grid. Each assembly begins with a base cube measuring 20mm x 20mm x 5mm. Centered within this base, remove a square volume of 10mm x 10mm x 7mm, leaving a hollow square pocket. Inside this pocket, place a smaller solid cube with a ... | module donut (tol) {
difference() {
cube([20,20,5]);
translate([5,5,-1]) cube([10,10,7]);
}
translate([5+tol,5+tol,0]) cube([10-(tol*2),10-(tol*2),5]);
translate([10,10,0]) linear_extrude(6) text(str(tol),size=3,valign="center",halign="center");
}
translate([0,0,0]) donut(.1);
translate([0,25,0]) donu... | glb/cad_b26d50b6995f.glb |
Create a Tolerance Test consisting of ten cubes, each measuring 10mm x 10mm x 5mm. Arrange these cubes in a single row along the x-axis. The first cube is positioned at the origin (0,0,0). Each subsequent cube is placed with a progressively increasing gap between it and the previous one. The gap between the first and s... | function add_up_to(n) = ( n==0 ? 0 : n + add_up_to(n-1) );
for (a=[0:1:9]) {
translate([(a*10)+(add_up_to(a)*.1),0,0]) cube([10,10,5]);
} | glb/cad_7a019a77f3d9.glb |
Create a Hexagongrig puzzle consisting of a thin base plate and a series of hexagonal cells. The base plate has a height of 2mm and is composed of a grid of hexagons with a flat-to-flat diameter of 32mm.
Construct the grid using a 5x5 matrix of hexagonal cells. For each cell designated as "active" in the matrix, creat... | baseh = 2.0;
based = 32;
baser= based/2;
wallh = 1.0;
walld = 1.0;
wallfac = 0.3;
esayprint = 1;
minput = [
[[1],[0],[1],[0],[0]],
[[0],[1],[1],[0],[0]],
[[1],[1],[1],[1],[0]],
[[0],[0],[0],[1],[0]],
[[0],[0],[0],[0],[0]]
];
adelta = 360.0/6;
radius=baser+(walld/cos(adelta/2.0));
dx=radius*co... | glb/cad_ec96e14e5d1d.glb |
Create a motor adapter for a roller shutter motor. Start by creating a cylinder with a diameter of 39.9 mm and a height of 30 mm. Within this cylinder, create a central void by removing a smaller cylinder with a diameter of 15.3 mm and a height of 30 mm. To form the octagonal drive profile, remove four rectangular pris... | $fn=1000;
difference(){
intersection(){
for (a =[0:3]) rotate([0,0,a*45])cube([38,16, 14], center=true);
cylinder(h=30, d=39.9, d=39.9, center=true);
}
union(){
intersection(){cube([11,30,30], center=true);
cylinder(h=30, d=15.3, d=15.3, center=true);
}
translate([0,(38/2)-3+15,0])cube([8.5,30,30], center=true);
}
} | glb/cad_398bb918e5dc.glb |
Create two identical fan brackets. For each bracket, construct a base shape by joining three rectangular prisms: one measuring 2.5mm by 10.5mm by 8mm, a second measuring 13mm by 2.5mm by 8mm positioned perpendicular to the first to form an L-shape, and a third vertical prism measuring 10mm by 2.5mm by 13mm extending up... | $fn=0;
$fa=0.01;
$fs=0.4;
bracket();
translate([-10,0,0]) mirror([1,0,0]) bracket();
module bracket() {
difference() {
union() {
cube([2.5,10.5,8]);
cube([13,2.5,8]);
translate([13,2.5,0]) rotate([0,0,135]) mirror([1,0,0])
difference() {
cube([10,2.5,13]);
translate([5,-0.25,8]) rotate([270,0,... | glb/cad_e11ecaf4dc4d.glb |
Create a stylized character model called The Big Present Creeper consisting of a detachable head and a hollow body. Use a base scale unit of 8mm.
Construct the head as a cube measuring 64mm on all sides. Carve out the face by removing five smaller rectangular prisms: two 16x8x16mm blocks positioned at the eyes, one 16... | b=8;
w=3;
t=0.5;
echo("Total body height is",5*b+12*b+3*b);
echo("Total head height is",8*b);
echo("Total width is",8*b);
module body() {
cube([4*b,8*b,12*b]);
translate([-4*b,0,-5*b]) cube([4*b,8*b,6*b]);
translate([4*b,0,-5*b]) cube([4*b,8*b,6*b]);
}
module tummy() {
translate([w,w,w]) cube([4*b-2*... | glb/cad_3c23b08e677d.glb |
Create a network cable holder by starting with a rectangular block measuring 100mm in length, 7mm in width, and 7mm in height. Along the top surface, centered width-wise at 3.5mm, carve out a series of nine circular holes, each with a diameter of 7mm and a depth of 10mm. These holes should be spaced evenly along the le... | $fn=30;
difference(){{
cube ([100,7,7]);
translate([10,6.5,0]) cylinder (d=7, h=10);
}
difference(){
translate([20,6.5,0]) cylinder (d=7, h=10);
}
difference(){
translate([30,6.5,0]) cylinder (d=7, h=10);
}
difference(){
translate([40,6.5,0]) cylinder (d=7, h=10);
}
difference(){
translate([50,6... | glb/cad_7f0f7c5efb25.glb |
Create a cup holder consisting of a base and an inset center. Start by forming a hexagonal base 80mm in diameter and 2mm thick. Layer a second hexagonal prism of the same diameter and thickness on top, rotated 30 degrees relative to the first, to create a twelve-pointed star perimeter. In the center of this assembly, p... | size1=80;
size2=60;
text1= "Caroline";
offset1=-8;
text2= "Vicente";
offset2=-1;
$fn=50;
difference(){
union(){
cylinder(h=2,d=size1,$fn=6);
rotate(a=[0,0,30])
cylinder(h=2,d=size1,$fn=6);
cylinder(h=2.4,d=size2);
}
translate([-16+offset1,0,2])
linear_ex... | glb/cad_3c15f896406b.glb |
Create a Paint Filter Support by constructing a hollow, conical funnel shape. Start with a cone that has a base diameter of 150mm and a height of 95.6mm, tapering to a point. Remove the center of this cone by subtracting a smaller concentric cone with a base diameter of 145mm and the same height of 95.6mm, leaving a th... | height = 95.6;
$fn=150;
difference() {
union() {
cylinder(d=150,d2=0, h=height);
translate([-12.5,(148/2)-4,0]) {
cube([25,30,5]);
}
translate([-12.5, (-148/2)-1 - 25,0]) {
cube([25,30,5]);
}
}
union() {
translate([0,0,-0.1]) {
... | glb/cad_96f46464f083.glb |
Create an ice fishing rod gear assembly consisting of two interlocking herringbone gears.
First, create a small gear with 12 teeth and a height of 8mm. This gear should have a central bore to accommodate a shaft and a base chamfer.
Second, create a larger gear with 41 teeth and a height of 8mm. This gear is designed... | include <involute_gears.scad>
debug = 0;
outer_gear_radius=29;
clearance = .1;
distance_between_axles = 18;
gear_height = 8;
teeth_twist = 0;
chamfer_gradient = -1;
gear1_teeth = 12;
gear2_teeth = 41;
gear2_top_thickness=2;
gear2_height_mod = 1;
inner_gear_radius0=(outer_gear_radius)/(gear2_teeth/gear1_teeth);... | glb/cad_87a447f1dcd5.glb |
Create an ice fishing rod reel consisting of three main concentric components: a ratchet wheel, a bottom plate, and a top plate.
First, construct the ratchet wheel. Create a base cylinder with a diameter of 27mm and a height of 3mm. Add a concentric ring on top with a diameter of 33mm and a height of 1mm. Above this,... | E=0.3;
module ratchet_wheel()
{
difference()
{
union()
{
for(i=[0:20:360])
rotate([0,0,i])
hull()
{
translate([-16,0,0]) cylinder(d=1,h=3,$fn=12);
translate([-11,4,0]) cylinder(d=4.5,h=3,$fn=12);
}
cylinder(d=27,h=3,$fn=64);
translate([0,0,3]) cylinder(d=33,h=1,$fn=64);
translate([0,0,3+1]) cylinder(d=28,h=12,$fn=6... | glb/cad_2a7997222bae.glb |
Create a crank pin for an ice fishing rod. Construct a decagonal prism with a diameter of 14mm and a height of 12mm. Bore a concentric hole through the center of this prism with a diameter of 10.3mm and a height of 13mm, ensuring the hole extends slightly beyond the top and bottom faces of the main body. | module crank_pin()
{
difference()
{
cylinder(d=14,h=12,$fn=10);
cylinder(d=10.3,h=13,$fn=16);
}
rotate_extrude(convexity = 10,$fn=16) translate([10/2-2,0,0]) polygon(points=[[0,2],[2,0],[2,2]]);
}
module pin_cap()
{
difference()
{
cylinder(d=9.8,h=6,$fn=16);
cylinder(d=7,h=7,$fn=16);
}
translate([0,0,4])
rotate_extr... | glb/cad_a0a9bce70491.glb |
Create a customizable funnel with a wall thickness of 2mm. The main body is composed of two stacked conical sections. The first section is a cone with a top diameter of 96mm and a bottom diameter of 16mm, reaching a height of 50mm. Directly beneath this, add a second cone that tapers from a diameter of 16mm down to a b... | top_diameter = 100;
middle_diameter = 20;
bottom_diameter = 15;
top_rim = 00;
wall = 2.0;
create_ventilation = "false";
ventilation_factor = 1;
create_handle = "false";
wall_correction = "false";
all();
module all()
{
difference()
{
union()
{
funnel();
if... | glb/cad_4afc54c7a9de.glb |
Create a spool holder for a 2kg reel. Start with a main cylindrical body that has an outer radius of 24.5mm and a total height of 145mm. At a height of 35.5mm, add a middle rim in the form of a thin cylinder with a radius of 29.25mm and a height of 2mm.
Create a central hollow core by removing a cylinder with a radius... | spoolwidth= 103;
totallength= spoolwidth+42;
$fa=6;
union() {
difference() {
union() {
difference() {
union() {
mainstructure();
clamptomachine();
clamptoreel();
}
cutout();
}... | glb/cad_38ffeb3b3ac6.glb |
Create a wireless car charger and holder base for a Samsung Galaxy S7. Start by constructing a main rectangular block with rounded corners, measuring 162mm in length, 82mm in width, and 22mm in height. Hollow out the center of this block to create a basin that is 158mm long, 78mm wide, and 10mm deep, ensuring the inter... | $fn=30;
difference()
{
union()
{
minkowski()
{
translate(v=[0,0,6])
cube(size=[158, 78, 18], center=true);
sphere(r=2);
}
}
minkowski()
{
translate(v=[0,0,11])
cube(size=[154, 74, 10], center=true);
sphere(r=2);
... | glb/cad_7c2e8400582b.glb |
Create a parameterized crossmember LED bar for the Ord Hadron. The main body is a long clip with a total length of 245mm, a total width of 14mm, and a total height of 23mm.
Start with a base rectangular block 245mm long, 14mm wide, and 23mm high. Within this, define a clip base that is 10mm wide and 8mm high running ... | length = 245;
surface_width=2;
clip_wing_height=15;
clip_wing_width=2;
clip_base_height=8;
clip_base_width=10;
clip_width=(surface_width + 2 * clip_wing_width);
clip_height=(clip_base_height + clip_wing_height);
led_strip_width=8.25;
led_wing_width=2;
led_width=(led_strip_width+ 2 * led_wing_width);
led_height=... | glb/cad_64d48fdb0514.glb |
Create a parameterized crossmember LED bar clip with a total length of 245mm. The main body is a long, narrow clip consisting of a base and two wings. The base is a rectangular prism 10mm wide and 8mm high. Attached to the top of this base are two outer wings, each 2mm wide and 15mm high, separated by a central groove ... | length = 245;
surface_width=2;
clip_wing_height=15;
clip_wing_width=2;
clip_base_height=8;
clip_base_width=10;
clip_width=(surface_width + 2 * clip_wing_width);
clip_height=(clip_base_height + clip_wing_height);
led_strip_width=8;
led_wing_width=2;
led_width=(led_strip_width+ 2 * led_wing_width);
led_height=8;
... | glb/cad_a9ef0570e4ef.glb |
Create a parameterized crossmember LED bar for the Ord Hadron. Start by constructing a main rectangular body that is 245mm long, 14mm wide (calculated as a 10mm base width plus two 2mm wing widths), and 23mm high (calculated as an 8mm base height plus 15mm wing height).
Within this body, carve out a longitudinal clip... | length = 245;
surface_width=2;
clip_wing_height=15;
clip_wing_width=2;
clip_base_height=8;
clip_base_width=10;
clip_width=(surface_width + 2 * clip_wing_width);
clip_height=(clip_base_height + clip_wing_height);
led_strip_width=8;
led_wing_width=2;
led_width=(led_strip_width+ 2 * led_wing_width);
led_height=8;
... | glb/cad_704703e85c76.glb |
Create a 3D spider web decoration with a height of 2.5mm. The design is based on a radial pattern with 8-fold symmetry. Start by creating 6 concentric web rings. Each ring is formed by a circular frame with a thickness of 2.5mm, where the inner boundary of the frame is defined by 8 inward-curving arcs that create a sta... | smallest_radius = 20;
strands = 6;
width = 2.5;
height = 2.5;
wedges = 8;
strand_fn = 24;
scale = 1;
twist = 0;
module star(radius, wedges, strand_fn) {
angle = 360 / wedges;
difference() {
circle(radius, $fn = wedges);
for(i = [0:wedges - 1]) {
rotate(angle / 2 + angle * i) translate([radius, 0, 0])
s... | glb/cad_9ad6f9999662.glb |
Create a guitar hanger by starting with a solid block that is 100mm deep, 100mm long, and 60mm wide. The base shape is a hull formed between a rectangular prism of 100mm by 100mm by 60mm and a cylinder with a radius of 6.35mm centered at the outer top edge. From this main body, remove a central horizontal channel to cr... | width = 60;
depth = 100;
length = 100;
neckWidth = 45;
neckHolderThickness = 30;
filletRadius = 12.7;
screwDiameter = 6.0;
numberOfHoles = 3;
holeSpacing = 25;
module GuitarHanger()
{
difference()
{
hull(){
linear_extrude(height = width, center = true){
polygon(points = [[0,0], [depth,0], ... | glb/cad_191a491a054e.glb |
Create a Parametric Spinner Fidget Toy with three arms arranged symmetrically around a center point. The overall thickness of the toy is 7mm.
Start by creating a central cylindrical hole with a diameter of 22mm and a height of 7mm. From this center, extend three arms spaced 120 degrees apart. Each arm is formed by the... | spinner_style = 3;
bearing_diameter=22;
bearing_thickness=7;
wall_thickness=2.5;
extra_arm_length=0;
part_quality=.5;
smoothing=true;
smoothing_ratio=.333;
smoothing_faces=7;
bearing_faces=125;
minkowski=smoothing;
minkowski_ratio=smoothing_ratio;
minkowski_roundness=smoothing_faces * 2;
outer_wall_faces=12 ... | glb/cad_e1d67ae0e038.glb |
Create an espresso cup by revolving a cross-sectional profile around a central vertical axis. The outer profile is defined by a circle with a radius of 28mm, centered on the axis. Add a rectangular section to the top of this profile that is 7mm high and 56mm wide, and a rectangular section at the bottom that is 15mm hi... | cup_r = 28;
fillet_r = 20;
wall_thick = (3);
inner_r = (cup_r-wall_thick);
rounding_r = 2;
top_h = 7;
bottom_h = 15;
bottom_pos = (cup_r-(bottom_h/2));
echo(bottom_pos);
alfa = acos(bottom_pos/cup_r);
bottom_r = sqrt((pow(cup_r,2))-(pow(bottom_pos,2)));
rotate_extrude() {
difference() {
difference() {
union() {
... | glb/cad_c6f7955e95f6.glb |
Create a back wheel for a Wild Hawk RC aircraft. Start by creating a main wheel as a thin cylinder with a diameter of 15.4mm and a height of 2.2mm. Centered through this wheel, place a cylindrical axle with a diameter of 2mm and a total length of 7.2mm, extending equally from both sides of the wheel. On each end of the... | rd = 15.4;
rh = 2.2;
pd = 2.0;
ph = 7.2;
kh = 1.6;
kd = 3.6;
kg = kh/2;
ko = 2;
rd = 15.4;
rh = 2.2;
pd = 2.0;
ph = 9.2;
kh = 1.6;
kd = 4.6;
kg = kh/2;
ko = 3;
rotate([0,90,0])
union() {
cylinder(rh,rd/2,rd/2,center=true);
color("green")
cylinder(ph,pd/2,pd/2,$fs=1,center=true);
color("... | glb/cad_f700044cb539.glb |
Create a filament guide consisting of a base and a guiding arm. Start by forming a solid rectangular base 12mm wide, 8mm deep, and 14.5mm high. Attached to this base, extend a vertical rectangular pillar 6mm wide, 8mm deep, and 30mm high, reaching a total height of 44.5mm. At the top of this pillar, from a height of 26... | $fs=0.2;
union() {
cube([6,8,14.5]);
translate([6,0,0]) cube([6.5,8,10]);
translate([12,0,0]) cube([6,8,30]);
translate ([18,0,26]) {
cube([50,8,4]);
translate([0,4,0]) rotate([0,90,0]) cylinder(r=2,h=54);
}
translate([68,0,22.5]) rotate([-90,0,0]) difference() {
cylinde... | glb/cad_83c7e53a942c.glb |
Create three nested, hollow square-based pyramids of decreasing sizes. For each pyramid, the height is 1.75 times the length of its base edge. The largest pyramid has a base edge length of 25.4mm. The second pyramid has a base edge length 5.55625mm shorter than the first, and the third is 5.55625mm shorter than the sec... | module pyramid(N=0) {
baselength=25.4-(5.55625*N);
factor = baselength/2.0;
scale(v=[factor,factor,factor]) {
polyhedron(points=[[-1,-1,0],[1,-1,0],[1,1,0],[-1,1,0],[0,0,3.5]],triangles=[[1,0,4],[2,1,4],[3,2,4],[0,3,4],[2,0,1],[3,0,2]]);
}
}
module hollow_pyramid(N=0) {
difference() {
pyramid(N);
pyramid(N+... | glb/cad_cabb4b90e419.glb |
Create an SMD parts tray consisting of a solid rectangular base with a grid of 8 recessed compartments arranged in 2 rows and 4 columns. The overall base dimensions are 35mm in width, 65mm in depth, and 15mm in height. The base has a bottom thickness of 2mm and outer walls that are 3mm thick.
Each of the 8 rectangular... | max_height = 15;
rows = 2;
cols = 4;
tray_dim_x = 15;
tray_dim_y = 15;
tray_space = 2;
edge_thickness = 3;
box_bottom_thickness = 2;
box_flattening = true;
tray_stair_stepping = true;
difference()
{
box_bottom_thickness = (box_bottom_thickness<=0) ? 1:box_bottom_thickness;
edge_thickness = (edge_thickn... | glb/cad_7d538bcc5e38.glb |
Create a BDSM Emblem collar tag. Start with a circular base plate 35mm in diameter and 1mm thick. Rotate this base 50 degrees.
On the top surface of the base, add a raised emblem 0.4mm high. This emblem consists of a ring with an outer diameter of 35mm and an inner diameter of 31mm, and a central solid circle 2mm in d... | text_string = "SABIRA";
text_size = 5;
text_font = "Arial:style=Bold";
text_language = "cs";
total_diameter = 35;
line_width = 2;
number_of_text_layers = 2;
number_of_base_layers = 5;
layer_height = 0.2;
fudge = 1;
base_height = number_of_base_layers * layer_height;
extrude_height = layer_height * number_of_tex... | glb/cad_7729365b5a76.glb |
Create an EL Wire Halloween Photo Frame by starting with a solid rectangular base measuring 170mm by 120mm with a height of 2mm. Build a raised border around the perimeter of this base by adding four rectangular walls, each 4mm thick and 4mm high: two walls running the full 170mm length along the top and bottom edges, ... | difference(){
union(){
cube([170,120,2],center=false);
translate([0,0,2])cube([170,2,4],center=false);
translate([0,118,2])cube([170,2,4],center=false);
translate([0,0,2])cube([2,120,4],center=false);
translate([168,0,2])cube([2,120,4],center=false);
translate([6,6,2])cube([2,2,8],center=false);
translate([6,112,2])cub... | glb/cad_a5705fe4f3fa.glb |
Create an EL Wire Halloween Photo frame consisting of two rectangular prisms. First, create a thin rectangular bar measuring 97mm in length, 3.2mm in width, and 8mm in height, oriented vertically. Then, add a second, larger rectangular base measuring 100mm in length, 10mm in width, and 6.8mm in height. Position this se... | rotate([90,0,0])cube([97,3.2,8],center=false);
translate([-0.9,0,0])cube([100,10,6.8],center=false); | glb/cad_103d038ad702.glb |
Create a Galaxy Trucker chip holder organizer. The model consists of a series of connected octagonal compartments designed to hold chips.
For the main holder, create two rows of octagonal cells. The first row contains five cells, each designed to hold 14 chips. The second row contains four cells, each designed to hol... | $f = 0.0;
$g = 0.01;
part = "chipHolder";
play = [2,2];
wallThickness = 2;
bottomThickness = 1;
lipThickness = 3;
lipFudge = 0.25;
maxClearance = 40;
chipDimensions = [1.66, 43.3, 21.3, 3];
wideChipDimensions = [1.66, 47.3, 23.8, 4];
chipCountsA = [14,14,14,14,14];
chipCountsB = [14,14,14,14];
wideChipCount... | glb/cad_abadd439b712.glb |
Create a parametric lid with an inner diameter of 128.5mm and a total height of 8.5mm. Start by constructing a circular top disk with a thickness of 1.2mm and a rounded top edge with a radius of 1.2mm. Surround this top with a cylindrical wall that has an outer diameter of 130.9mm (the inner diameter plus 1.2mm wall th... | lidDiameter = 128.5;
lidHeight = 8.5;
wallThickness = 1.2;
topLip = 1.2;
bottomLip = 1.2;
draw_top = 1;
draw_walls = 1;
draw_bottom_lip = 0;
draw_bottom_edge = 1;
$fn=60;
if (draw_top)
difference() {
union() {
rotate_extrude(convexity = 5, slices = 90)
translate([lidDiameter / 2, 0, 0]... | glb/cad_4306158d58b9.glb |
Create an Anywhere cap consisting of a series of concentric cylindrical shells and a decorative spring-like ring.
Start by creating a main body composed of three nested cylindrical sections centered on the Z-axis. The first section is a hollow cylinder with an outer radius of 25.7mm and a height of 2mm. Below this, c... | module spring(r1 =20.8, r2 = 1, h =10.5, hr =3)
{
stepsize = 1/16;
module segment(i1, i2)
{
alpha1 = i1 * 360*r2/hr;
alpha2 = i2 * 360*r2/hr;
len1 = sin(acos(i1*2-1))*r2;
len2 = sin(acos(i2*2-1))*r2;
if (len1 < 0.01)
polygon([
[ cos(alpha1)*r1, sin(alpha1)*r1 ],
[ cos(alpha2)*(r1-len2), sin(alph... | glb/cad_9b949d1466da.glb |
Create an Initials Coin Creator keyfob by starting with a main cylinder that has a diameter of 30mm and a height of 5mm. Carve out a smaller concentric cylinder from the top, leaving a 2mm thick outer rim; this inner cavity should have a diameter of 26mm and a depth of 2.5mm. Drill a vertical hole with a diameter of 4m... | badge_diam = 30;
badge_height = 5;
fineness = 70;
tag = 1;
font1 = "bevan";
font2 = "arial";
font3 = "calibri";
font4 = "times new roman";
my_text = "NH";
difference(){
cylinder(r=badge_diam/2,h=badge_height,$fn=fineness);
translate([0,0,badge_height-2]) cylinder(r=badge_diam/2-2,h=badge_height/2,$fn=fineness);
if (... | glb/cad_222cc4fd2ac4.glb |
Create a flashlight cap by constructing a hollowed cylindrical container. Start with a solid outer cylinder that has a diameter of 43.4mm and a total height of 17mm. From the top of this cylinder, remove a central cylindrical volume to create a recessed cavity. This first cutout should have a diameter of 42mm and a dep... | inner = 42;
depth = 16;
wall = 1;
rim = 0.2;
rim_depth = 3;
inner_radius = inner/2;
outer_radius = inner_radius+wall+rim;
little = 0+0.01;
$fn = 0+90;
difference() {
cylinder(depth+wall, outer_radius, outer_radius);
for (i=[0:1]) translate([0, 0, wall+i*rim_depth]) cylinder(depth+little, inner_radius+i*rim, in... | glb/cad_cc4402f87a9d.glb |
Create a motor bracket by starting with a cylinder 10mm in diameter and 16.5mm in height. Attach a 10mm by 10mm by 2mm rectangular block to the base of this cylinder, centered on the diameter. From this combined volume, remove a 10mm wide by 16.5mm high rectangular section along the center of the cylinder's length. Add... | h = 16.5;
b = 10;
rotate([0,90,0]) {
difference() {
union() {
difference () {
union(){
cylinder(d=b, h=h, $fn=50);
translate([-6,-b/2,0])
cube([b,b,2]);
}
translate([0,-b/2, 0])
cube([b,b,h]);
}
tra... | glb/cad_32b22abc038a.glb |
Create a strong S-hook by constructing a continuous, flat ribbon of material with a uniform thickness of 7mm and a width of 10mm. Start with a base rectangular segment 70mm long. At one end, create a right-angle bend extending 30mm in one direction and 45mm further to form the first, larger hook. At the opposite end of... | hoogte=70;
breedte1=30;
breedte2=15;
haakje1=45;
haakje2=20;
dikte=7;
breedte=10;
cube([hoogte,breedte,dikte]);
translate([0,breedte,0]){ cube([breedte,breedte1+breedte,dikte]); }
translate([hoogte-breedte,-(breedte+breedte2),0]){ cube([breedte,breedte+breedte2,dikte]);}
translate([breedte,breedte1+breedte,0]){ cube(... | glb/cad_2c600b7f5629.glb |
Create a silicone ring gasket mold consisting of a shallow circular tray with a recessed ring. Start by creating a solid cylinder with a total height of 2.6mm and a diameter of 64mm. From the center of this base, remove a concentric cylinder with a diameter of 46mm and a height of 3.6mm to create the inner wall.
Next... | use <utils/build_plate.scad>
inner_diameter = 50;
outer_diameter = 60;
gasket_tickness = 2;
bottom_wall_tickness = 0.6;
lateral_walls_width = 2;
build_plate_selector = 2;
build_plate_manual_x = 100;
build_plate_manual_y = 100;
build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y);
module ... | glb/cad_d325425ba5c5.glb |
Create a curved wall cup consisting of a rectangular base and two extruded curved walls.
First, create a rectangular base measuring 80mm by 50mm with a thickness of 3mm, positioned with its bottom-left corner at coordinates (-29, -20, 0).
Next, add two vertical walls by extruding 2D Bezier curves upward from the bas... | module BezLine(ctlPts, width = [1], resolution = 4, centered = false, showCtls = true) {
hodoPts = hodograph(ctlPts);
if (showCtls) {
for (pt = ctlPts) {
% translate([pt[0], pt[1], 0]) circle(1);
}
}
if (resolution == 2) {
if (centered) {
polygon([
PerpAlongBez(0/3, ctlPts, dist ... | glb/cad_607b07d38f03.glb |
Create a multi-colored spiral vase with a total height of 150mm and an outer radius of 50mm. The walls of the vase should have a thickness of 4mm, formed by removing a central cylinder with a radius of 48mm from the main body.
The structure is composed of 4 identical segments rotated around the center axis. Each segme... | height = 150;
radi = 50;
num_of_twists = -2;
times_each_color_appears = 2;
thickness = 4;
num_of_colors = 4;
colors = [[0,0,1],[0,1,0],[1,0,0],[1,1,0],[0,1,1],[1,0,1],[0,0,0]];
part = 8;
make_part();
module vase_segment() {
angle = 360/(times_each_color_appears*num_of_colors);
difference()
{
for(i=[1:... | glb/cad_b3fe49844954.glb |
Create a meat grinder safety clutch gear. Start with a central hollow cylinder that has an inner diameter of 15.2mm and a total height of 27mm. Within this central void, create a conical transition from a diameter of 0mm at a height of 21mm to a diameter of 12mm over a length of 6mm, and a further cylindrical bore of 1... | inner_cyl_dia = 15.2;
inner_cyl_height = 17.8;
square_end_size = 15.2;
square_end_height = 9.5;
$fn=64;
module interior()
{
translate([0,0,-1])
cylinder(h=20, d=5.2);
translate([0,0,27-inner_cyl_height-6+0.001])
cylinder(h=6, d1=0, d2=12);
translate([0,0,27-inner_cyl_height])
cy... | glb/cad_ca9c66cc7ed3.glb |
Create a Carboy Wedge designed to tilt a vessel at a 10-degree angle. The model consists of a main wedge body resting on a flat stabilizer base.
First, construct the stabilizer base as a rectangular block with a length of 60mm, a width of 40mm, and a height of 5mm.
On top of this base, create the wedge. The wedge s... | tilt_angle = 10;
radius = 150;
length = 60;
width = 20;
bevel_size = 1.5;
base_width = 40;
base_height = 5;
angle = tilt_angle;
r = radius;
l = length;
w = width;
b = bevel_size;
basew = base_width;
baseh = base_height;
module bevels(w,h,l,a,b=b) {
ba = b*sin(a);
la = l*sin(a);
x = [0,b,b*2,l-b*2,l-b,l];... | glb/cad_b907c1fd6bd9.glb |
Create a magnetic holder base for a bedhead. Start with a central rectangular block measuring 30mm wide, 44.7mm deep, and 4.5mm high. From this main block, remove four rectangular holes to accommodate magnets; each hole must be 6.5mm wide, 6.5mm deep, and 2.5mm high, positioned symmetrically at the corners of the block... | bedhead_depth = 38.7;
magnetWidth = 6.5;
magnetDepth = 6.5;
magnetHeight = 2.5;
gripWidth = 3;
gripHeight = gripWidth * 5;
baseWidth = 30;
baseDepth = bedhead_depth + 2 * gripWidth;
baseHeight = magnetHeight + 2;
module fakeBeadHead() {
width = 500;
height = 200;
translate([0, 0, -half(height)])
... | glb/cad_8d45838ca252.glb |
Create a wall holder for a remote control. Start by constructing a main outer shell with a rectangular footprint of 46mm width and 23mm depth, and a total height of 52mm. The walls should be 2.5mm thick with corner radii of 4mm.
Hollow out the center to create a compartment of 41mm width and 18mm depth (maintaining t... | comp_w = 46;
comp_d = 23;
comp_h = 52;
slot_w = 34;
slot_lower = 16;
corner_r = 4;
wall = 2.5;
chamfer = 0.0;
mnt_dia = 2.5;
tol = 0.25;
d = 1*0.1;
module add() {
if (chamfer > 0) hull() for (sx = [-1,1]) for (sy = [-1,1])
translate([sx*(comp_d/2-corner_r),sy*(comp_w/2-corner_r),-wall]) {
... | glb/cad_c9633f5091fc.glb |
Create a Halloween Lantern with a square base and an open-frame body. The overall width and length of the base are 55mm, with a total height of 85.25mm.
Construct the main body as a hollow square prism with a wall thickness of 2mm. The vertical corners are formed by four pillars, each 5.5mm wide and 2mm thick. The to... | wid=55;
h_factor=1.55;
h=wid*h_factor;
wallwidth=10;
wall=wid/wallwidth;
cross=wall-1;
th=2;
handle=1;
echo("High:",h);
echo("Wall:",wall);
cube([wid,wid,th]);
difference(){
translate([wid/2,wid/2,0]) cylinder(r=21,h=th+3);
translate([wid/2,wid/2,th/2]) cylinder(r=20,h=th+3);
}
translate([wid-wall,0,0]) cube([... | glb/cad_c97bd473e64b.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.