Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a headphone cable spool consisting of a base and a lid that fit together to allow the inner hub to rotate.
First, construct the base. Create a central hub with a radius of 5mm and a height of 7mm. The hub should feature a "yin-yang" style curved profile. Surround this hub with a wider circular platform of 1.4m... | r=5;
hi=7;
cord = 0.6;
cordmargin = 2;
conn=10;
length=15200;
w=.70*2;
t=0.24*7;
snap=w*0.7;
openings=1;
outer_slots=0;
outer_slots_width=30;
outer_slots_depth=0.70*20;
outer_slots_height_margin=2 ;
tol=0.4;
$fa=4;
$fs=1;
rotate([180,0,0])lid();
tp=cord*cord/hi;
turns=-r/tp+sqrt(r*r/tp/tp+length/3.1416/tp);
layers =... | glb/cad_e7468c651a19.glb |
Create a Mini Kossel Carriage. Start with a main body consisting of a cube 13mm wide, 26mm deep, and 45mm high. Add a truncated cone adapter on top, centered at X=11.4, Y=18, Z=48.9, with a height of 4mm, a bottom radius of 8mm, and a top radius of 3mm.
Carve out a central vertical channel from Z=-5 to Z=70 with a wid... | difference(){
union(){
difference(){
union(){
cube([13,26,45]);
translate([10+1.4,13+5,45+3.9]){
rotate([180,0,0]){
cylinder(h=4,r1=3, r2=8);
}
}
}
translate([-0.1,5,-5]){
cube([7.1,16,75]);
}
translate([-0.1,21-4.5,-5]){
cube([9.1,4.5,75]);
}
translate([... | glb/cad_e3f0c7924415.glb |
Create a Pipe Reenforcer by constructing a hollow vertical cylinder with a height of 130mm. The outer diameter of this cylinder should be 25.5mm and the inner diameter should be 19.5mm, resulting in a wall thickness of 3mm. To create the opening for the pipe, remove a section of the cylinder using a square prism with a... | $fn=60;
bracket_diamiter=19.5;
height=130;
bracket_thickness=3;
back_width_extra=height;
screw_hole_diamiter=6;
back_width=bracket_diamiter+(bracket_thickness * 2)+(back_width_extra*2);
difference(){
cylinder(r=(bracket_diamiter/2)+bracket_thickness,h=height);
cylinder(r=(bracket_diamiter/2),h=height);
rotate([0... | glb/cad_4ab6636bc8ae.glb |
Create a DeltaTower Extruder Spacer by starting with a rectangular base block 12mm wide, 5mm deep, and 21mm high. Round the vertical edges of this block with a radius of 5.5mm.
Carve a vertical filament channel through the center of the block along its height; this channel should have a radius of 2mm. To ensure the c... | $fa=0.5;
$fs=0.5;
baseBlockDepth=5;
baseBlocHeigth=21;
baseBlockWidth=12;
filamentChannelRadius=2;
filamentChannelDiameter=4;
bearingSpaceHeigth=17;
bearingSpaceWidth=8;
legWidth=2;
bearingRadius=11.5;
bearingSpaceBending=12;
bearingSpaceOffset=0;
blockRoundness=5.5;
abc();
module abc() {
intersection() {
u... | glb/cad_89c339255ed6.glb |
Create an Unweighted Wire Whisk handle. Start with a main cylindrical body that has a diameter of 22mm and a length of 120mm. At the top of this cylinder, add a hemispherical cap with a radius of 11mm. To create the hanging hook, remove a slot-shaped hole from the top of the handle; this hole should be 7mm wide and 15m... | SHOWDEBUG = 0;
TESTWIRE = 0;
hDia = 22.0;
hLength = 120.0;
wNum = 3;
wDia = 3.2;
wPos = 3.5;
wDepth = hLength / 3;
hoLength = 40.0;
hoMiddle = 5.0;
hoHoleWidth = 7.0;
hoHoleLen = 15.0;
hoHolePos = 6.0;
CYLPREC = 100;
if( TESTWIRE )
{
intersection()
{... | glb/cad_79a56a2f69c0.glb |
Create a Diamond Hotend mount for a Witbox printer. Start with a rectangular base plate measuring 41mm in length, 21mm in width, and 5mm in thickness.
From this base, remove several geometric sections to create specific openings and recesses. First, create two rectangular thru-holes that pass completely through the 5... | thickness = 5;
offset = 5;
extraX = 1.5;
extraY = 2.0;
$fn= 40;
rotate([180, 0, 0])
difference()
{
cube([39.5+1.5, 16+offset+2, thickness]);
translate([1.5, 2, 0])
union()
{
translate([5.6, 5.8+offset, -1])
cube([14, 5.6, thickness+2]);
translate([25.8, 2.9+offset, -1])
cube([5.6, 10, thickness+2]);
... | glb/cad_456aa7113079.glb |
Create a Diamond Hotend mount for a Witbox printer. The object is a mounting bracket designed to hold stepper motors and a bowden fitting.
Start with a main body that is 20mm high. Create a central structure that incorporates a mounting grip for a frame with a thickness of 6.1mm and a height of 40.2mm. The mount shoul... | mount = 1;
frameType = 1;
mountAngle = 45;
mirrorEnable = 0;
mountTolerance = 0.5;
layerHeight = 0.2;
assembled = false;
fittingDiameter = 9.5;
fittingDepth = 6;
filamentCatchDia = 4;
filamentCatchProt = 7;
filamentOffsetZ = 10;
filamentOffsetX = 6;
bodyWidth = 9;
screwLength = 20;
countersinkM3 = 3;
counter... | glb/cad_9728fa7eb326.glb |
Create a square tube corner connector by starting with a central cube measuring 13.1mm on all sides. Remove a vertical cylindrical hole through the center of this cube with a diameter of 4mm. At the top of this hole, create a countersunk recess by removing a cylinder with a diameter of 8mm and a depth of 11.2mm.
Attac... | Tube_Outside_Size = 13.1;
Wall_Thickness = 0.95;
Bottom_Screw_Diameter = 4;
Bottom_Screw_Recess_Diameter = 8;
Leg_Screw_Diameter = 3;
TubeInsideSize = Tube_Outside_Size - (Wall_Thickness*2);
translate ([0,0,0]) {
difference() {
cube([Tube_Outside_Size,Tube_Outside_Size,Tube_Outside_Size]);
translate([(Tube_Outs... | glb/cad_d6bdfa07e94c.glb |
Create a simple spool holder by placing a smooth cylinder atop a square base. Start with a square base measuring 75mm by 75mm with a thickness of 5mm. Center a vertical cylinder on this base with a diameter of 49mm and a height of 150mm. Ensure the cylinder is perfectly centered on the square platform and extends strai... | cube_x = 75;
cube_y = 75;
cube_z = 5;
diameter = 49;
height = 150;
$fa = 0.01;
cylinder(d=diameter,h=height);
translate([-cube_x/2,-cube_y/2,0])
cube([cube_x,cube_y,cube_z]); | glb/cad_3f26262685d9.glb |
Create a toy dagger consisting of a handle, a guard, and a blade. Start by creating a cylindrical handle with a diameter of 15mm and a length of 50mm. At the top of the handle, center a small rectangular notch measuring 2.95mm by 9.5mm with a height of 7.5mm.
Position a guard at the top of the handle. The guard is a c... | $fs = 0.01;
notch_width = 3;
notch_length = 8;
notch_height = 10;
notch_gap = 0.5;
notch_width_adj = notch_width - notch_gap;
notch_length_adj = notch_length - notch_gap/2;
notch_height_adj = notch_height - notch_gap;
handle_diameter = 15;
handle_length = 50;
guard_length = 90;
guard_width = handle_diameter;
guard_he... | glb/cad_66f5b0142523.glb |
Create a Heron's fountain model starting with a main outer cube measuring 70mm x 90mm x 70mm. Hollow out a central section by removing a 60mm x 10mm x 60mm block positioned at [5, 0, 5] and a larger internal volume of 60mm x 70mm x 55mm positioned at [5, 15, 5]. Create an opening for water flow by removing a 10mm x 5mm... | union(){
difference(){
cube([70,90,70]);
translate([5,0,5]){
cube([60,10,60]);
}
translate([5,15,5]){
cube([60,70,55]);
}
translate([5,10,5]){
cube([10,5,10]);
}
}
translate([15,15,5]){
cube([5,65,10]);
}
translate([5,15,15]){
cube([15,65,5]);
}
translate([20,50,5]){
cube([30,... | glb/cad_9c793d2d49e9.glb |
Create a solidoodle base washer consisting of a wide, thin base and a thicker central collar with a hollow core. Start by creating a flat cylinder for the base with a diameter of 8mm and a height of 0.6mm. Centered on top of this base, add a second cylinder with a height of 2mm that tapers slightly from a bottom diamet... | $fn=32;
difference()
{
union()
{
cylinder(d=8,h=0.6);
translate([0,0,0.59])
cylinder(r1=5.1/2,r2=4.8/2,h=2);
}
translate([0,0,-0.1])
cylinder(d=3.5,h=4);
} | glb/cad_21b7bcd9367a.glb |
Create a Mars Exploration Rover model consisting of a central body, solar panels, wheels, and various scientific instruments.
Start with the main body, a rectangular block measuring 38mm x 63mm x 29mm. Cut a front opening of 38mm x 21mm x 16mm and create several circular mounting holes on the top surface for antennas... | tolerance = 0.2;
part = "panel_back";
bolt_hole_radius = 2+(2*(tolerance/2));
if (part == "plate1") {
print_plate("1");
} else if (part == "plate2") {
print_plate("2");
} else if (part == "plate3") {
print_plate("3");
} else if (part == "plate4") {
print_plate("4");
} else if (part == "plate5") {
prin... | glb/cad_34dacc241d49.glb |
Create a Lego Compatible Disc Button. Start with a main cylindrical disc that is 16mm in diameter and 3.2mm thick.
Subtract a central vertical hole with a radius of 5mm. Within this central void, create a recessed inner chamber by removing a cylinder with a radius of 5mm and a height of 1.8mm from the bottom, topped ... | mfgGrid_1mm=100;
minXStep=0.085*mfgGrid_1mm;
minYStep=0.085*mfgGrid_1mm;
minZStep=0.003125*mfgGrid_1mm;
nozzleDiam=0.5*mfgGrid_1mm;
avgZHeight=0.3725*mfgGrid_1mm;
maxBuildX=100.0*mfgGrid_1mm;
maxBuildY=100.0*mfgGrid_1mm;
maxBuildZ=130.0*mfgGrid_1mm;
module build_volume()
{
translate([0,0,-0.5])
difference() {
s... | glb/cad_691b5ab4306c.glb |
Create an Ooze Blocker for Nozzle Heating by constructing a rectangular base and a hollowed upper section. Start with a solid rectangular block measuring 30mm in width, 17mm in depth, and 17mm in height. Position this block so its center is aligned with the origin, extending from -15mm to 2mm along the depth axis.
Fr... | difference (){
translate ([0,-15,0]) cube([30,17,17]);
translate ([7.5,-12,11]) cube([15,8,28]);
translate ([0,-16,5]) cube([31,12,4.7]);
translate ([0,-16,15]) cube([4,18,15]);
translate ([27,-16,15]) cube([4,18,15]);
}
translate ([0,-8,7]) cube([30,5,3]); | glb/cad_0a7d53442041.glb |
Create a towel hook designed to fit over a door. Start by constructing a main horizontal rectangular base that is 41.4mm long, 2.5mm thick, and 20mm wide. From one end of this base, extend a vertical arm downwards that is 2.5mm thick, 65mm long, and 20mm wide. Add a second vertical arm of the same dimensions, but rotat... | door = 36.4;
thickness = 2.5;
width = 20;
radius = 20;
length = 65;
translate([-1,35,0])
{
union() {
cube( [door+thickness*2, thickness, width]);
translate([door+thickness, -30, 0])
cube([ thickness, 30, width]);
translate([0,-length,0])
cube([thickness, length, width]);
translate([-thickness*0.9,-lengt... | glb/cad_06ab4c0c70b9.glb |
Create a customizable Abloy Classic key. Start with a main cylindrical body 29.5mm long with a diameter of 2.9mm. Along the length of this cylinder, create a series of seven cuts. Each cut is a rectangular notch 2mm wide and 3mm deep, spaced 0.5mm apart. Position these cuts starting 3mm from the end of the body. Rotate... | key = [1,2,3,4,5,0,1];
body_length = 29.5;
body_diameter = 2.9;
handle = 1;
cut_spacing = 0.5;
cut_angle_step = 18;
$fn = 100;
preview_tab = "";
module highlight(this_tab) {
if (preview_tab == this_tab) {
color("Chocolate") children();
} else {
color("NavajoWhite") children();
}
}
module body(l = b... | glb/cad_c73990e067e8.glb |
Create a stepper fan holder starting with a central block measuring 80mm x 60mm x 20mm. From this main body, remove several geometric sections to create slots and mounting points.
First, carve out a rectangular wall slot measuring 6mm x 45mm x 24mm, centered at X-30, Y 8, Z 0. Create a circular wire passage with a ra... | $fn=20;
module fanholder()
{
hoffset = 19;
difference()
{
cube([80,60,20], center=true);
corners();
translate([-30,8,0])
cube([6,45,24], center=true);
translate([-24,28,0])
cylinder(h=24,r=8,center=true);
translate([12,0,0])
{
cube([50,50,11], center=true);
cylinder(h=24,r=23,center=true)... | glb/cad_afcc5aa26f18.glb |
Create a symmetrical Tamiya Thundershot part A5 support. The object consists of two mirrored halves joined at the center.
For each half, start with a base plate 37mm wide and 3.89mm thick. On the outer edge of the plate, create a rounded protrusion centered at 11.525mm from the center line and 11.575mm from the base, ... | $fs = 0.5;
$fa = 2;
clearance = 0.15;
screw_thread_radius = 2.85 / 2;
shaft_radius = 2.93 / 2;
q = 0.02;
module half()
{
w = 16.03;
d = 16.19;
plate_w = 37.00;
plate_thickness = 3.89;
pd = 18.8;
phr = 3.21 / 2;
phs = 23.05;
phx = ( phs + phr ) / 2;
phy = 9.88 + phr;
phb = 3.5;
so = ( 32.23 + s... | glb/cad_bc21a8f24660.glb |
Create a carry handle for a 3D printer frame. Start with a rectangular base plate measuring 120mm in length, 50mm in width, and 7mm in thickness.
At the bottom of the plate, position two rounded triangular supports. Each triangle has a horizontal side of 26.5mm and is placed such that the distance between the two out... | roundingradius=2;
triangleside=26.5;
triangledist=58.5;
tolerance=0.2;
framethickness=3;
framewidth=50;
framelenght=120;
fingerwidth=100;
fingerheight=30;
backplatethickness=7;
fingerrounding=5;
fingergrabrounding=10;
holedistance=42.5;
holedia=3.2;
filamentdia=3.1;
filamentbore=6;
filamentoffset=7.5;
roundoffset=... | glb/cad_e371c0095ab8.glb |
Create a simple two-part protective case for a SainSmart LCD Smart Controller 12864.
Construct the bottom container as a hollow rectangular box with outer dimensions of 95mm x 92mm x 11mm and a wall thickness of 2mm. On the bottom face, create a central rectangular cutout measuring 42mm x 9mm x 6mm. On the side walls... | mm=1;
screen_h=(51.5+1)*mm;
screen_w=(78.5+1)*mm;
ctl_h=90.5*mm;
ctl_w=93*mm;
thk=2*mm;
$fn=100;
module bottom(){
bottom_inside=11*mm;
difference(){
translate([0,ctl_h/2, bottom_inside/2-thk])
difference(){
cube([ctl_w+thk, ctl_h+thk, bottom_inside], center=true);
... | glb/cad_e24c7c78a50c.glb |
Create a rocket model centered on a vertical axis. Construct the main body by stacking three cylindrical sections: a base nozzle 15mm high tapering from a 4mm radius at the bottom to a 10mm radius at the top, a central cylinder 40mm high with a constant 10mm radius, and a nose cone consisting of two tapering sections, ... | module fin() {
inside=4;
translate([0,-2,0])
difference() {
difference() {
difference() {
translate([inside+3,0,-3])rotate([0,-25,0])cube([12,4,45]);
translate([inside-25,-5,0])cube([20,10,50]);
};
translate([inside+5,-3,0])rotate... | glb/cad_a19445c28194.glb |
Create a Kossel Mini Extruder to Kossel 800 spacer by starting with a rectangular plate measuring 15mm wide, 70mm long, and 3mm thick. Center the plate on the X-axis. Drill two circular holes completely through the thickness of the plate, each with a diameter of 5mm. Position these holes along the center line of the wi... | length = 70;
hole_space=55;
hole_size=5;
difference() {
translate([-7.5,-1*(length/2),0])cube([15,length,3]);
union() {
translate([0, 1*(length/2-((length-hole_space)/2)),0])cylinder(d=hole_size,h=4,center=false);
translate([0,-1*(length/2-((length-hole_space)/2)),0])cylinder(d=hole_size,h=4,c... | glb/cad_398e9ddd8b37.glb |
Create an angled riser for a longboard. Start with a wedge-shaped block that has a total height of 55mm. The base of the wedge is a rectangle 95mm long and 56mm wide. One end of the block should be tapered such that the height slopes down from 55mm at one end to 0mm at the other, creating a 12-degree angle across its l... | angle = 12;
a = 95*(sin(90-angle));
b = sin(90 +(90-angle));
echo(a);
echo(b);
c = a*b;
echo(c);
difference() {
rotate([-90,270,0]) {
linear_extrude(height = 56, center = true, convexity = 10, twist = 0)
polygon(points=[[0,0],[c,0],[0,95]]);
}
translate([10,20.5,-2])
cylinder(h = 55, r=3);
translate([10,-20.... | glb/cad_cb9d4277e4e1.glb |
Create a customizable spool holder by starting with a base rectangular block 15mm wide, 42mm long, and 10mm high. Carve a rectangular slot out of the center of this block that is 7mm wide, 22mm long, and 11mm deep to create a C-shaped clip. Attach a second block to the end of the first, rotated 135 degrees on the Z-axi... | $fn = 31+1;
thickness = 7;
depth = thickness + 8;
center = depth/2;
width = 10;
frame = 21;
diameter = 150;
spool = diameter/2;
rectangle = frame*2;
rod = 5;
x = depth-cos(45)*depth;
rotate (0, 0, 0){
difference () {
cube ([depth, rectangle, width]);
translate([center-thickness/2,-1,-0.5]){
... | glb/cad_02b5543a3c2e.glb |
Create two identical pulley components. For each component, start by creating a base cylinder with a radius of 15mm and a height of 2mm. On top of this base, center a second cylinder with a radius of 10mm and a height of 1.5mm. Above that, add a third cylinder with a radius of 3.75mm and a height of 1.5mm, creating a t... | module bottom(){
difference()
{
union(){
translate([15,15,0]) cylinder(2,15,15,$fn=300);
translate([15,15,2]) cylinder(1.5,15,10,$fn=300);
translate([15,15,3.5]) cylinder(3.75,10,10,$fn=300);
}
translate([15,15,0]) cylinder(2,7.7,7.7,$fn=300);
translate([15,15,2]) cylinder(10,8.1,8.1,$fn=300);
}
}
module top(){
diff... | glb/cad_cd92a5e95cfa.glb |
Create a wall phone holder by constructing a main body and a supporting base. Start with a flat rectangular base that is 90mm wide, 2mm thick, and 60mm high. At the top of this base, create a cutout for a charger cable by forming a hull between a cylinder with a 50mm radius and a 20mm wide by 20mm high rectangle. Scale... | hole = 50;
holeHeightRatio = 0.6;
distance = 70;
height = 60;
width = 90;
angle=3;
text="RafaelEstevam";
thickness=2;
thicknessBase=6;
difference(){
hull()
{
scale([1,holeHeightRatio,1])
cylinder(r=hole,h=thickness);
translate([-width/2,-distance-hole,0])
cube([w... | glb/cad_47a92c617610.glb |
Create a sculpture titled Sphere in Cube. Start by centering a cube with a side length of 30mm. Remove a spherical void from the center of this cube with a radius of 10mm. Next, place a solid sphere with a radius of 15mm at the center of the scene so that it fits snugly within the cube's boundaries. Finally, add a vert... | Cubesize=30;
Sphereradius=15;
hole=20;
highstand=2;
radiusstand=5;
difference() {
cube(Cubesize,center=true);
color("red"){
sphere(hole,$fn=100);}}
union(){
color("red");
sphere(Sphereradius,$fn=100);
translate([0,0,-Sphereradius]){
cylinder(h=highstand,r=radiusstand);
}} | glb/cad_d3853d74909b.glb |
Create a 3D model of a Printrbot LCD Panel. Start with a lower circuit board base, a rectangular prism measuring 76.4mm x 76.4mm x 1.7mm, positioned at [0, 13.65, 0]. Remove four cylindrical holes with a radius of 1.45mm from the corners of this base.
Add an upper circuit board, a rectangular prism measuring 60mm x 98... | $fs = 0.3;
$fn = 0;
$fa = 0.01;
Padding = 0.01;
union(){
translate([0,13.65,0])
difference(){
cube([76.4,76.4,1.7]);
translate([3,3,-Padding])
cylinder(r=1.45,h=1.7+2*Padding);
translate([3,73.4,-Padding])
cylinder(r=1.45,h=1.7+2*Padding);
}
translate([15.5,0,4-Padding])
difference(){
cube([60,98... | glb/cad_8fdceca654fe.glb |
Create a handlebar mount snap for a hexbright flashlight. The main body is based on a hexagonal profile with a flat-to-flat distance of 31.75mm. Create a central hexagonal void that fits the flashlight body, which is formed by the intersection of two hexagons: one with a circumradius of approximately 18.5mm and another... | handlebarDiameter = 32;
fudj = 0.2;
mmIn = 25.4 * 1;
hexlightFlatDistance = 1.25 * mmIn;
handlebarD = handlebarDiameter + 0.8 + fudj;
len = handlebarD + 6;
$fn = 60;
apothem = hexlightFlatDistance/2;
circumradius = apothem/cos(180/6) + fudj;
apothemminor = 34/2;
circumradiusminor = apothemminor/cos(180/6) + fudj;
sa... | glb/cad_9f347ec7acfe.glb |
Create a Parametric IDC-Socket Adaptor for Female Headers. Start by constructing a main rectangular block that is 13.84mm wide, 6mm deep, and 8.5mm high, centered on the origin. Add a second rectangular block to this, centered at a Y-offset of 0.75mm, with dimensions of 3.8mm wide, 7mm deep, and 8.5mm high. Combine the... | PINS = 6;
HEIGHT = 8.5;
PW = (PINS/2-1)*2.54;
difference(){
union(){
cube([7.3+PW, 6, HEIGHT],center=true);
translate([0,0.75,0])
cube([3.8, 7, HEIGHT],center=true);
}
cube([3.35+PW, 5.5, HEIGHT],center=true);
} | glb/cad_f2b0b5802da1.glb |
Create a star sculpture by combining four cubes centered on the same origin. First, place a cube with a side length of 25mm. Add a second cube with a side length of 30mm, rotated 45 degrees around the Y-axis. Add a third cube with a side length of 30mm, rotated 45 degrees around the X-axis. Finally, add a fourth cube w... | size=30;
union() {
cube(size-5, true);
rotate([45,0,0]) cube(size, true);
rotate([0,45,0]) cube(size, true);
rotate([0,0,45]) cube(size, true);
} | glb/cad_9165479a0efd.glb |
Create an Emoticon Dice by starting with a 60mm cube centered at the origin. Modify this cube by intersecting it with a sphere of 46.15mm diameter (60 divided by 1.3) to create a rounded, organic die shape.
Engrave the following emoticons into the center of each face, with each character having a height of 8mm and a ... | echo(version=version());
font = "Arial";
cube_size = 60;
letter_size = 35;
letter_height = 8;
o = cube_size / 2 - letter_height / 2;
module letter(l) {
linear_extrude(height = letter_height) {
text(l, size = letter_size, font = font, halign = "center", valign = "center", $fn = 16);
}
}
difference() {
in... | glb/cad_9019cbf11861.glb |
Create a Kama coin by starting with a main cylinder 36mm in diameter and 6mm high. Hollow out the center of this cylinder from both the top and bottom using two 31mm diameter cylinders, each 6mm high, positioned 5.5mm from the center plane to leave a thin rim and a central disc.
On the bottom face, center a stylized "... | font = "Impact";
letter_size = 22;
letter_height = 1;
union() {
difference() {
cylinder(h=6, d=36);
translate ([0,0,-5.5]) {
color("red") cylinder(h=6, d=31);
}
translate ([0,0,5.5]) {
color("blue") cylinder(h=6, d=31);
}
}
rotate([0,0,-90]) {
... | glb/cad_51a6494d15ad.glb |
Create a shower door pivot hinge replacement. Start with a rectangular base measuring 40mm in length, 10mm in width, and 9mm in height. Add a second rectangular block on top of the base, measuring 35mm by 10mm with a height of 17mm. At the far end of the assembly, centered at X=54 and Y=5, construct a vertical cylinder... | difference() {
union() {
cube([40, 10, 9]);
cube([35, 10, 17]);
translate([54,5,0]) cylinder(h=9, r=15.5, $fn=32);
translate([54,5,0]) {
cylinder(h=27, r=4, $fn=32);
translate([0,0,27]) cylinder(h=5, r1=4, r2=2, $fn=32);
}
intersection() {
translate([54-15,5,4]) rotate([0,90,0]) cylinder(h=30, ... | glb/cad_094a6fac2186.glb |
Create a Nokia N900 Jeep Wrangler Mount consisting of two primary components: a dashboard clamp and a phone frame.
For the clamp, create a base rectangular block 50mm long, 21mm wide, and 5mm high. Centered on this base, create a square opening 21mm by 21mm that extends 4mm higher than the base. At each end of the bas... | nut_h=3.2;
nut_r=4;
nut_inset=7;
bolt_r=2;
hole_size = 21;
hole_height = 4;
part_length = 50;
part_height = 5;
nutmargin_x = 6;
bracket_w = 5;
bracket_off = part_length/2 - bracket_w;
n900_y1 = 60;
n900_y2 = 84;
n900_x1 = 112;
n900_x2 = 50;
n900_z1 = 13;
n900_z2 = 19;
n900_locking = 1;
wall = part_height;
walls... | glb/cad_22433f3456f1.glb |
Create a belt tensioner by starting with a main rectangular block that is 13.7mm wide, 25mm long, and 3mm thick, centered on the origin. From this main body, remove two identical rectangular cutouts to create an "S" shape. Each cutout should be 7.7mm wide, 10.5mm long, and 9mm deep; position the first cutout centered a... | module beltTensioner(belt_width, post_width, length, thickness, notch_depth)
{
module _beltTensioner(width, length, thickness, post_width, notch_depth)
{
cutout_width = width - post_width + 2;
cutout_length = (length - post_width * 3) / 2;
cutout_thickness = thickness + 6;
notch_width = width - post_width * ... | glb/cad_fc133bb9ac07.glb |
Create a MendelMax Stronger Lower Vertex Frame Plastic. Start with a central rectangular base plate measuring 40mm by 70mm with a thickness of 4mm. Centered on this plate, create a rectangular cutout of 40mm by 50mm and 4mm deep, leaving a 4mm wall around the perimeter.
At the bottom of the plate, place two 3mm diamet... | extr = 20;
vert_hole = 2.5 * extr;
heightbase = vert_hole + extr;
wall = 4;
trianglex = 2*extr - (extr / sin(60));
triangley = trianglex / tan(30);
tapholes = 6;
normalholes = 5;
module maindraw() {
difference() {
union() {
translate([0,0,wall/2])
cube([2*extr+2*wall,height... | glb/cad_c2af4fe2df82.glb |
Create a MendelMax Stronger Lower Vertex Frame Plastic. Start with a central rectangular base plate measuring 40mm by 70mm with a thickness of 5mm. Surround this base with solid walls 4mm thick.
Add a second rectangular section extending from the base, rotated 30 degrees relative to the center. This section should hav... | extr = 20;
vert_hole = 2.5 * extr;
heightbase = vert_hole + extr;
wall = 4;
wallz = 5;
trianglex = 2*extr - (extr / sin(60));
triangley = trianglex / tan(30);
tapholes = 6;
normalholes = 5;
module maindraw() {
difference() {
union() {
translate([0,0,wallz/2])
cube([2*... | glb/cad_04098d14a2f5.glb |
Create two identical robot chassis mounting brackets. Each bracket consists of a flat rectangular base plate with two vertical rectangular pillars extending upwards.
For each bracket, create a base plate 3mm thick. Position two vertical pillars on the base plate, each with a square footprint of 10mm by 10mm and a heig... | include<boxes.scad>
$fn=64;
TopPlate = 3;
MountingHole = 1.7;
Width = 162.50;
Length1=95;
wheelDiameter=68.43;
servoD1=8.82;
servoD2=5.9;
servoDH=4.3;
servoWheelThickness=7.47;
servoWheelConnectorDepth=4.25;
servoWheelConnectorRect=4.85;
servoHoleD=2.18;
rubberband=3;
module servoWheel(gear=true){
difference(){
... | glb/cad_fba146a3da08.glb |
Create a chassis for an Arduino robot. Start with a base plate that is a rectangular prism measuring 84mm by 77mm with a thickness of 3mm.
Remove four circular holes with a radius of 4mm from the base, positioned at the four corners where the x-coordinates are ±42mm and the y-coordinates are ±38.5mm. Additionally, re... | union() {
difference() {
difference() {
difference() {
union() {
cube([84,77,3],center=true);
translate([42.000000,38.500000,0.000000]){
cylinder(h=3, r1=4, r2=4, $fn=50,center=true);
}
translate([-42.000000,38.500000,0.000000]){
cylinder(h=3, r1=4, r2=4, $fn=50,center=... | glb/cad_7870d17885e2.glb |
Create two identical Z bar stabilizer brackets. Each bracket starts as a flat plate 36.5mm wide and 90mm long.
For each plate, create a central support pillar for a 12mm shaft. This pillar is a truncated cone with a base radius of 12mm and a top radius of 8mm, reaching a height of 15mm. Position the center of this pi... | xmax = 36.5;
ymax = 90;
$fn= 75;
bracket();
translate([-1,0,0]) mirror([1,0,0]) bracket();
module bracket(){
difference(){
union(){
translate([20.5,43.25,0]) cylinder(r1= 12,r2=8, h= 15);
hull(){
translate([3,24.25,0]) cylinder(r=2, h=5);
translate([20.5,3,0]) cylinder(r=2, h=5);
translate([xmax... | glb/cad_e9e320822237.glb |
Create a Rounded Cube Thing by constructing a skeletal cube frame with an overall outer dimension of 30mm x 30mm x 30mm. The structure consists of twelve rounded bars, each with a radius of 6mm, that meet at the edges to form the cube. To form the edges, place cylinders with a 6mm radius and 30mm length along the X, Y,... | module cubishThing( size=[20,20,20], radius=5, center=true, tip=true ) {
x=size[0]/2;
y=size[1]/2;
z=size[2]/2;
if( center ) {
for(i=[-1,1]) {
for(j=[-1,1]) {
translate( [ size[0]/2*i, size[1]/2*j, 0-size[2]/2 ] )
cylinder(r=radius,h=size[2]);
... | glb/cad_63188bad269e.glb |
Create a Cable Wrap by designing a solid block 50mm high, 50mm long, and 20mm wide. The main body is formed by extruding a 2D profile 50mm along the Z-axis. This profile consists of a 50mm by 20mm rectangle with semi-circles of 10mm radius centered on the two 20mm ends. From this solid volume, remove a central slot and... | h=50;
b=20;
l=50;
f=4;
difference () {linear_extrude (h) {union () {square([l,b]);
translate ([0,b/2,0]) circle (b/2);
translate ([l,b/2,0]) circle (b/2);
}
}
linear_extrude (h) {union () {translate ([0,b/2,h]) circle ((b-
6)/2);
translate ([0,3,h]) square ([(l/2)-2,b-6]);
translate ([-b/2,(b/2)-(f/2... | glb/cad_25094b9bc4d1.glb |
Create a Shower Clip designed to hold a shower head. Start with a main rectangular block 55mm high, 38mm wide, and 100mm deep. Carve a central channel through the length of the block that is 28mm wide and 55mm high. At the front end of the block, create a cylindrical cutout with a diameter of 37.5mm and a length of 24m... | d=37.5;
w=28;
phi=20;
l1=24;
e=6;
h=55;
union(){
difference(){
translate([0,0,h/2])cube(size=[100,w+2*e,h],center=true);
translate([30,0,h/2+(l1+e)*sin(phi)+d/2-w/2])cube(size=[100,w,h],center=true);
translate([-75,0,h/2+30])cube(size=[100,80,h],center=true);
translate([20,0,(l1+e)*sin(phi)+d/2])rotate([0,90+phi,0])cy... | glb/cad_a44d8ee3971c.glb |
Create a wallmount for a Chromebox by starting with a rectangular base measuring 17mm wide, 100mm long, and 6mm thick.
At both ends of the base, centered 5mm from the side edges and 2mm from the bottom face, create identical keyhole-style mounting slots. Each slot is formed by combining a 4mm diameter cylinder with a... | fn = 100;
module hangerhole() {
union() {
hull() {
cylinder(h=5,d=4,$fn=fn);
translate([-2,1,0]) {
cube([4,4,5]);
}
}
hull() {
cylinder(h=2,d=8,$fn=fn);
translate([0,6,0]) {
cylinder(h=2,d=8,$fn=fn);
}
}
translate([0,6,0]) {
cylinder(h=5,d=8,$fn=fn);
}
}
}
difference() {... | glb/cad_0ca21500e164.glb |
Create a 3D model of a .357 Magnum bullet. Start by creating a thin cylindrical base rim with a diameter of 9.6mm and a thickness of 1.5mm. On top of this rim, add a cylinder for the ejector notch that is 1mm high with a diameter of 9.6mm. Above the notch, construct the main casing: start with a transition section that... | $fn = 75;
BulletTaperFactor = 1.5;
make357();
module make357()
{
makeCartridge(9.1,9.6,9.6,11.2,1.5,9.1,1,33,40);
}
module make40()
{
makeCartridge(10,10.7,10.8,10.8,1.4,10.3,1,21.6,28.8);
}
module make45ACP()
{
makeCartridge(11.5,12,12.1,12.2,1.4,11.7,1,22.8,32.4);
}
module make9()
{
makeCartridge(9.1,9.65,9... | glb/cad_7836068007b6.glb |
Create a Minds-i compatible mounting assembly consisting of a structural beam and a mounting block. First, construct a rectangular beam with a total width of 10.6mm and a height of 10mm. The length of this beam is determined by the number of holes it contains, calculated as the number of holes multiplied by 9.8mm, minu... | module beam_main(hole_count)
{
beamsize = (hole_count * 9.8) - (2 * 5);
color("Blue",0.5) translate([0,-5.3,0]) cube([beamsize,10.6,10]);
color("Blue, 0.5") cylinder(10,5.3,5.3);
color("Blue, 0.5") translate([beamsize,0,0]) cylinder(10,5.3,5.3);
}
module beam_hole()
{
color("Red") cylinder(20,3.8,3.8, center=true... | glb/cad_bd3ed8f34191.glb |
Create a lid knob by revolving a specific 2D profile around a central vertical axis. The profile starts at the origin and extends to a height of 40mm. Define the profile's outer boundary using a series of connected points: start at [0, 10], move to [10, 10], then to [20, 5], [25, 1], [35, 0], [30, 5], [15, 15], [15, 20... | $fa = 0.51;
difference() {
rotate_extrude() handle2d();
cylinder(h = 75, r=2,center=true);
}
module handle2d() {
polygon (points = [
[ 0,10],[10,10],[20,5],[25,1],
[35,0],[30,5],[15,15],[15,20],
[20,30],[15,40],[0,40]]);
} | glb/cad_1c61caf4a086.glb |
Create a 20mm aluminium corner cover piece by starting with a 30mm cube. Hollow out the center of this cube by removing a smaller 30mm cube shifted 2mm along each axis, leaving a 2mm thick shell on three adjacent faces. To this shell, add three rectangular tabs, each measuring 5mm by 5mm by 1.5mm, positioned at the out... | difference() {
union() {
difference() {
cube([30,30,30]);
translate([2,2,2]) cube([30,30,30]);
}
translate([25,25,2]) cube([5,5,1.5]);
rotate([90,0,0]) translate([25,25,-2.5]) cube([5,5,1.5]);
rotate([0,90,0]) translate([-30,25,2]) cube([5,5,1.5]);
}
translate([25,25,1]) cylinder(h = 8, r=1.2, cen... | glb/cad_cc4175663249.glb |
Create a 120mm fan exhaust hood that transitions from a square base to a circular pipe. Start with a square plate measuring 120mm by 120mm with a thickness of 3mm. At each of the four corners, centered 8mm from the edges, create a circular hole with a radius of 1.6mm. In the center of the plate, create a large circular... | difference() {
cube([120,120,3]);
translate([8,8,1]) cylinder(h = 8, r=1.6, center = true, $fs=.1);
translate([112,112,1]) cylinder(h = 8, r=1.6, center = true, $fs=.1);
translate([112,8,1]) cylinder(h = 8, r=1.6, center = true, $fs=.1);
translate([8,112,1]) cylinder(h = 8, r=1.6, center = true, $fs=.1);
trans... | glb/cad_af43e478f19a.glb |
Create a cable guide by starting with a rectangular base block measuring 120mm in length, 15mm in width, and 8mm in height. Carve a horizontal channel through the center of the block along its entire 120mm length; this channel should be 11mm wide and 5mm deep, with the bottom of the channel forming a semi-cylindrical t... | rotate([-90,0,0])
union() {
difference() {
cube([120, 15,8]);
union() {
translate([-1,4.5,4]) rotate([0,90,0]) cylinder(h = 122, r=2.5, center = false, $fs=.01);
translate([-1,4.5,1.5]) cube([122, 11,5]);
}
}
translate([0,12,4.75]) color("red") cube([120, 3,1.75]);
translate([0,12,1.5]) color("red") cu... | glb/cad_5913b9326248.glb |
Create a catapult base for ballistic experiments. Start with a rectangular block measuring 155mm in length, 24mm in width, and 6mm in height. At one end of this block, add a vertical rectangular pillar that is 4mm wide, 24mm deep, and 29mm high, aligned with the corner. At the opposite end of the base, integrate a cyli... | difference(){
union(){
cube([155,24,6]);
cube([4,24,29]);
translate([155,12,0])
cylinder(6,12,12,$fn=130);
rotate([90,0,0])
translate([5,5,-24])
cylinder(24,5,5,$fn=130);
}
translate([155,12,-1])
cylinder(10,1.5,1.5,$fn=130);
rotate([90,0,0])
translate([5,5,-67])
cylinder(100,1.5,1.5,$fn=130);
rotate([0,90,0])
tr... | glb/cad_1485ab8b0c8e.glb |
Create a catapult for ballistic experiments consisting of a rectangular base and two vertical supports. Start with a base plate measuring 174mm by 45mm with a thickness of 4mm. Add two longitudinal stiffening ribs on the top surface, each 4mm wide and 12mm high, positioned at the outer edges of the base.
At one end of... | difference(){
union(){
cube([174,45,4]);
cube([174,4,12]);
translate([0,41,0])
cube([174,4,12]);
translate([0,37,0])
cube([183,4,12]);
translate([0,4,0])
cube([183,4,12]);
translate([174,22.5,0])
cylinder(4,22.5,22.5,$fn=130);
translate([30,0,0])
cube([30,4,100]);
translate([30,41,0])
cube([30,4,100]);
rotate([90,0... | glb/cad_bddae4f43a08.glb |
Create a hollow cylinder for a catapult for ballistic experiments. The outer wall should be a cylinder with a diameter of 20mm and a height of 4mm. Centered within this volume, remove a smaller coaxial cylinder with a diameter of 3mm and a height of 7mm, positioned such that it extends 3mm below the base of the outer c... | difference(){
union(){
cylinder(20,4,4,$fn=130);
}
translate([0,0,-1])
cylinder(30,1.5,1.5,$fn=130);
} | glb/cad_b296cd35d1c6.glb |
Create a hollow cylindrical container for a ballistic experiment catapult base. The outer wall should be a cylinder with a diameter of 50mm and a total height of 20mm. To create the interior cavity, remove a concentric cylinder from the center with a diameter of 46mm and a height of 23mm, positioned 2mm above the base.... | difference(){
union(){
cylinder(20,25,25,$fn=130);
}
translate([0,0,2])
cylinder(20,23,23,$fn=130);
translate([0,0,-1])
cylinder(20,2,2,$fn=130);
} | glb/cad_3c99abeef341.glb |
Create a base for a ballistic experiment catapult. Start by constructing a central cylinder with a diameter of 7mm and a height of 10mm. Attach two rectangular blocks to this cylinder: one measuring 15mm by 4mm by 10mm positioned at x=-11, y=0, z=0, and another measuring 15mm by 4mm by 10mm positioned at x=0, y=11, z=0... | difference(){
union(){
cylinder(10,3.5,3.5,$fn=130);
translate([-11,0,0])
cube([15,4,10]);
translate([-1,0,0])
cube([5,15,10]);
translate([0,11,0])
cube([15,4,10]);
}
translate([0,0,-1])
cylinder(12,1.5,1.5,$fn=130);
translate([1.5,10,-1])
cylinder(12,1.5,1.5,$fn=130);
} | glb/cad_04b1fd9dda2d.glb |
Create a 60mm corner frame piece by starting with a square plate measuring 60mm by 60mm with a thickness of 1mm. From this plate, remove a central square area measuring 50mm by 50mm, positioned 5mm from each outer edge, to create an L-shaped frame profile. Additionally, remove two small square sections measuring 10mm b... | difference() {
cube([60,60,1]);
translate([5,5,-1]) cube([60,60,3]);
translate([60,0,-1]) rotate([0,0,45]) cube([10,10,3]);
translate([0,60,-1]) rotate([0,0,-45]) cube([10,10,3]);
}
translate([10,10,0])
difference() {
cube([60,60,1]);
translate([5,5,-1]) cube([60,60,3]);
translate([60,0,-1]) rotate([0,0,45]) cu... | glb/cad_dc2c369cdbce.glb |
Create a bolt cover by starting with a main cylinder 15mm tall with a radius of 5mm, centered on the origin. Remove a smaller concentric cylinder from the top with a radius of 3.5mm and a height of 2.5mm. Additionally, remove a thin central core cylinder with a radius of 1.7mm and a height of 15mm. To create the exteri... | color("red") difference() {
cylinder(h = 15, r=5, center = true, $fs=.1);
translate([0,0,6.5]) cylinder(h = 2.5, r=3.5, center = true, $fs=.1);
translate([0,0,1]) cylinder(h = 15, r=1.7, center = true, $fs=.1);
for (i = [0:0.15:13]) {
rotate([0,0,28*i]) translate([4.5,0,-7+i]) cube([1,0.6,1]);
}
} | glb/cad_6ad1c4bb86fd.glb |
Create a Portabee Z-axis stabiliser consisting of four distinct geometric sections aligned along a central axis. Start with a rectangular base block measuring 50mm in length, 14mm in width, and 8mm in height. Remove a vertical cylinder with a 4.2mm radius from the front end and another with a 3.5mm radius from the posi... | color("blue")
difference() {
translate([-7,-7,0]) cube([50,14,8]);
translate([0,0,-1]) cylinder(h = 10, r=4.2, center = false, $fs=.01);
translate([0,-0.5,-1]) cube([50,1,14]);
translate([34.5,0,-1]) cylinder(h = 10, r=3.5, center = false, $fs=.01);
translate([10,10,4]) rotate([90,0,0]) cylinder(h = 20, r=1.5, cen... | glb/cad_a8502f649754.glb |
Create a bookshelf pin by constructing a main vertical cylinder with a diameter of 4.9mm and a total height of 16mm. Add a thin, disc-shaped brim around the center of this cylinder; the brim should have a diameter of 7mm and a thickness of 0.4mm, positioned so that it is centered vertically along the main shaft. Ensure... | $fa=0.5;
$fs=0.5;
length = 16;
diameter = 4.9;
brimThickness = 0.4;
brimDiameter = 7;
cylinder(d = diameter, h = length);
translate([0, 0, length / 2 - brimThickness / 2]) {
cylinder(d = brimDiameter, h = brimThickness);
} | glb/cad_eda7b25fa30a.glb |
Create a Mars Exploration Rover model consisting of a central body, wheels, and detachable solar panels.
Construct the main body as a rectangular block 38mm wide, 63mm long, and 29mm high. Cut a front opening 38mm wide, 21mm deep, and 16mm high. On the top surface, place five vertical cylindrical holes: one for a cam... | part = "layout";
if (part == "plate1") {
print_plate("1");
} else if (part == "plate2") {
print_plate("2");
} else if (part == "plate3") {
print_plate("3");
} else if (part == "plate4") {
print_plate("4");
} else if (part == "plate5") {
print_plate("5");
} else if (part == "layout") {
layout();
} else {
... | glb/cad_5ac0e417fc78.glb |
Create a fast-clamp mounting system for a horizontal axis drill dust extractor consisting of three distinct parts: a clip, a link, and a noose.
First, create the clip. Start with a rectangular base 36.8mm wide and 10mm high. The interior should be hollowed out to fit an aluminum profile, with a central rectangular voi... | clmp_internal = 27.8;
clmp_width = 4.5;
clmp_extra = 11.5;
clmp_noose = 4;
clmp_external = clmp_internal + 2*clmp_width;
clmp_clipaxes = clmp_external -1 + clmp_noose;
module clip (height = 10, holes = 0, h_pos = 0 ){
adjust_01 = .8;
adjust_02 = .4;
translate([0, - clmp_internal-clmp_extra-.1,... | glb/cad_9baa59eeef07.glb |
Create an InMoov Omoplate Servo Holder designed for a servo measuring 40mm in length, 20mm in width, and 58mm in total height.
Start by constructing a main rectangular casing with walls 4mm thick. The internal cavity for the servo should be 40.5mm long and 20.5mm wide, extending to a height of 61mm. Position this cas... | ServoLength = 40;
ServoWidth = 20;
TotalServoHeight = 58;
ServoBottomToFlange = 41;
ScrewXOffset = 4.5;
ScrewDistance = 12;
ScrewHoleDiameter = 2;
$fn = 50;
x = 0;
y = 1;
z = 2;
OriginalServoConnectionCenter = [2.5,0,44];
AxisLength = 54;
translate(OriginalServoConnectionCenter)
sphere(r=5);
CasingWall = 4;
Se... | glb/cad_109b9459702b.glb |
Create a dolls bed with a rectangular base measuring 110mm wide by 100mm long and 10mm thick. At the head of the bed, add a headboard that is 110mm wide, 10mm deep, and 30mm high.
Support the base with four cubic legs, each 10mm wide, 10mm long, and 20mm high. Position the legs at the four corners of the base, extend... | use <bridging.scad>;
scale = 1;
bedWidth=110 * scale;
bedLength=100 * scale;
mattressDepth=10 * scale;
legWidth = 10 * scale;
legHeight = 20 * scale;
bedHeadDepth = 10 * scale;
pillowWidth = 50 * scale;
pillowLength = 25 * scale;
pillowDepth = 10 * scale;
cube([bedWidth,bedLength,mattressDepth]);
bedHead();
leg([... | glb/cad_a1b47dc05548.glb |
Create a feeder axle clip by starting with a cylinder 7mm in diameter and 2mm high. Remove a smaller concentric cylinder from the center that is 3mm in diameter and 3mm high, and cut a 90-degree wedge out of the remaining ring to create a C-shaped clip. Attach a rectangular arm to the side of this ring; the arm should ... | difference(){
union()
{
difference(){
cylinder(2,7,7, $fn = 100);
cylinder(2,3,3, $fn = 100);
}
}
translate([-8,-2.25,0])
cube([6,4.5,2]);
}
translate([0,3,0])
cube([6,20,2]); | glb/cad_2a8898d56a0e.glb |
Create a compact extruder body for a NEMA 17 motor. Start with a main block measuring 42mm wide, 19mm deep, and 52mm high, with an additional base plate extending from the bottom measuring 42mm wide, 42mm deep, and 4mm thick.
Cut a central vertical channel through the body to accommodate the drive gear, featuring a cy... | m=5;
support=30;
module nozzlemount(){
rotate([0,90,0]) cylinder(r=2, h=70, $fn=30);
translate([17,0,0]) rotate([0,90,0]) cylinder(r2=3,r1=2, h=10, $fn=30);
translate([1,0,0]) rotate([0,90,0]) cylinder(r1=4, r2=2, h=3);
translate([0,15+10,0]) rotate([0,90,0]) cylinder(r=2, h=70);
translate([10-5,15+10,0]) rotate([0,... | glb/cad_bc98a34966ad.glb |
Create a compact extruder body with a main rectangular block measuring 42mm in width, 19mm in depth, and 52mm in height. At the base, add a wider rectangular platform extending 42mm in width and 42mm in depth with a thickness of 4mm.
On the bottom face, center a circular cutout with a radius of 12mm and a depth of 5mm... | m=5;
support=30;
module nozzlemount(){
rotate([0,90,0]) cylinder(r=2, h=70, $fn=30);
translate([17,0,0]) rotate([0,90,0]) cylinder(r2=3,r1=2, h=10, $fn=30);
translate([1,0,0]) rotate([0,90,0]) cylinder(r1=4, r2=2, h=3);
translate([0,15+10,0]) rotate([0,90,0]) cylinder(r=2, h=70);
translate([10-5,15+10,0]) rotate([0,... | glb/cad_cb8491984402.glb |
Create a dollhouse TV and credenza set. Start by constructing the television screen as a rectangular block 10mm deep, 50mm wide, and 40mm high. Surround this screen with a bezel by adding 10mm thick borders to the left and right sides, as well as to the top and bottom, ensuring the bezel extends 2mm beyond the screen's... | tvWidth = 50;
tvHeight = 40;
tvDepth = 10;
color([1,0,0]) cube([tvDepth, tvWidth, tvHeight]);
bevelWidth = 10;
bevelDepth = tvDepth + 2;
translate([0, -bevelWidth, 0]) cube([bevelDepth, bevelWidth, tvHeight]);
translate([0, tvWidth , 0]) cube([bevelDepth, bevelWidth, tvHeight]);
translate([0, -bevelWidth, tvHeight... | glb/cad_c7c433d7f698.glb |
Create a Golden Spyral consisting of a sequence of 21 small cylinders arranged in a logarithmic spiral. Each cylinder must have a height of 1mm and be centered vertically. Starting from the center, place the first cylinder at a radius of 1mm. For every subsequent cylinder, rotate the position by 18 degrees around the Z... | spiral_constant=5;
details=2;
elements_in_circle=20;
acnt=1*1;
bcnt=0.002*spiral_constant;
angleStep=360/elements_in_circle;
$fn=2+details;
module drowElem(rad) {
stepRad=acnt*exp(bcnt*rad);
rotate(a=rad,v=[0,0,1]) translate([stepRad,0,0]) cylinder(h=1, r=stepRad/4, center=true);
}
for(rad=[0:angleStep:360]) {
d... | glb/cad_ff22c01631c1.glb |
Create a 3D model of a stylized aircraft called "wings v1.1". Start by creating a central fuselage base as a linear extrusion 5mm thick, based on a polygon with vertices at (-30, 3), (0, 90), and (30, 3), with a final point at (0, 15).
Construct two symmetrical wings. Each wing is a linear extrusion 4mm thick based o... | wing_span = 40;
cockpit_height = 10;
base_width = 30;
base_length = 90;
module back_wing(solid) {
difference() {
rotate([0,-5,0]) {
translate([-8,0,0]) {
color([0,1,0])
linear_extrude(height=4) polygon([[-wing_span,0],[-5,10],[2,50]]);
}
}
tra... | glb/cad_cd062911748a.glb |
Create a Versatile Dice in the shape of a rhombic triacontahedron, scaled by a factor of 20. This polyhedron consists of 30 identical rhombic faces.
On each of the 30 faces, engrave a number using a sans-serif font with a size of 7mm and a depth of 2mm. The numbers should be centered on each face and oriented accordi... | font = "Liberation Sans";
letter_size = 7;
letter_height = 2;
lsx = 9.2;
gr = (1 + sqrt(5))/2;
difference()
{
scale(20)
polyhedron (rhom_triacon_cords,rhom_triacon_faces);
decorate_6();
}
rhom_triacon_cords = [
[-1, 1/gr, 0 ],
[-1, 0, -1/(1+gr)],
[-1, 0, 1/(1+gr)],
[-1,... | glb/cad_58c40164d229.glb |
Create a toothbrush mug holder consisting of a mounting plate and a circular ring. Start by creating a rectangular mounting plate measuring 50mm wide, 5mm thick, and 25mm high. In this plate, create two cylindrical holes with a radius of 3mm each; position the first hole centered 12.5mm from the left edge and the secon... | difference(){
cube([50,5,25]);
union(){
translate([12.5,0,12.5])rotate([90,0,0])cylinder(h=11, r=3,center=true);
translate([37.5,0,12.5])rotate([90,0,0])cylinder(h=11, r=3,center=true);
}
}
difference(){
translate([25,36,0])cylinder(h=5, r=36);
translate([25,35,-1])cylinder(h=7, r=30);
} | glb/cad_d7b51ebfc473.glb |
Create a MicroQuad frame consisting of a central circular hub and four radiating arms. Start by creating a central ring with an outer radius of 31mm and an inner radius of 30mm, with a total height of 6mm. Position four identical rings around this center, each with an outer radius of 31mm and an inner radius of 30mm an... | module helices() {
difference() {
cylinder(r=62/2, h=6, $fn=50, center=true);
cylinder(r=60/2, h=8, $fn=50, center=true);
}
}
module central() {
difference() {
cylinder(r=62/2, h=6, $fn=50, center=true);
cylinder(r=60/2, h=8, $fn=50, center=true);
}
}
difference() {
union() {
central();
translate([0, 61, 0]) helice... | glb/cad_4cab32e62ce7.glb |
Create a Homemade Lathe base by starting with a rectangular block measuring 120mm in height, 80mm in width, and 25mm in thickness.
Subtract the following geometric features from the block:
First, create a series of six small holes with a radius of 2.5mm. Position three along one side and three along the opposite side... | Gesamtbreite = 80;
Gesamtdicke = 25;
Gesamthoehe = 120;
module Winkelloecher(){
Lochabstand = 15;
Erste_Loch_von_unten = 13;
Abstand_zur_Seite = 7.5;
translate([Erste_Loch_von_unten, Abstand_zur_Seite, -1])cylinder(h = Gesamtdicke + 2, r = 2.5);
translate([Erste_Loch_von_unten + Lochabstand , Abstand_zur_Seite, ... | glb/cad_96c23c0cb862.glb |
Create a Homemade Lathe base by starting with a rectangular block measuring 120mm in height, 80mm in width, and 20mm in thickness.
Subtract the following geometric features from the block:
First, create six vertical holes with a radius of 2.5mm. Position three holes along one side and three along the opposite side, s... | Gesamtbreite = 80;
Gesamtdicke = 20;
Gesamthoehe = 120;
module Winkelloecher(){
Lochabstand = 15;
Erste_Loch_von_unten = 13;
Abstand_zur_Seite = 7.5;
translate([Erste_Loch_von_unten, Abstand_zur_Seite, -1])cylinder(h = Gesamtdicke + 2, r = 2.5);
translate([Erste_Loch_von_unten + Lochabstand , Abstand_zur_Seite, ... | glb/cad_fbba5cd7f428.glb |
Create a showerhead holder starting with a central block measuring 50mm wide, 60mm deep, and 46mm high. Modify this main body by removing material with three large angled cuts: one on the front face rotated 28 degrees, one on the top rotated 25 degrees, and one on the bottom rotated -10 degrees.
Carve a tapered conic... | module duschkopfhalter(){
difference(){
union(){
cube([50,60,46],center=true);
translate([0,0,30])cube([10,10,5],center=true);
}
translate([25,0,0])
rotate(a=28, v=[0,1,0])
cube([20,60,100],center=true);
translate([0,0,36])
rotate(a=25, v=[0,1,0])
cube([100,60,30],center=true);
translate... | glb/cad_f08c49c54e4a.glb |
Create a filament spool holder consisting of a main body and a mounting base. Start with a cube 80mm wide, 80mm deep, and 15mm high, positioned 20mm above the origin. From this cube, remove a central square block 51mm wide and 51mm deep, extending 18mm high. Carve out two large semi-cylindrical voids with a radius of 6... | difference() {
union() {
translate([0,0,20])
difference() {
cube([80,80,15]);
translate([30,30,-1])
cube([51,51,18]);
translate([60,-40,-1])
cylinder (h=19,r=65,$fn=128);
translate([-40,60,-1])
cylinder (h=19,r=65,$fn=128);
}
difference() {
union() {
translate([28,23,0])
c... | glb/cad_3bfc475ff35e.glb |
Create a toothbrush holder consisting of a rectangular base plate measuring 100mm by 70mm with a thickness of 4mm. In the center of this plate, carve out a rectangular hole measuring 25mm by 35mm with a depth of 4mm. Arrange six identical cylindrical hooks on the surface of the plate. Each hook is formed by a cylinder ... | difference() {
cube([40,50,4]);
translate([7.5,7.5,0])
cube([25,35,4]);
}
translate([-30,-60,0])
cube([100,70,4]);
module hooks(x,y) {
translate([x,y,12])
rotate([0,90,0])
difference() {
cylinder(r=12, h=6);
cylinder(r=7.5, h=6);
rotate([0,0,25])
translate([-12.5,0,0])
cube([25,12,6]);
}}
for(x=[00,64])
hooks(x... | glb/cad_257a42eda0b6.glb |
Create a hair band for the character Cleome by constructing a flattened ring. Start with a sphere with a radius of 12.5mm. Constrain this sphere by centering it within a cube that has dimensions of 25mm by 25mm by 8.5mm to create a flattened, disc-like shape. Remove a central vertical cylinder with a radius of 6.25mm t... | difference() {
intersection() {
sphere(r=12.5);
cube([25,25,8.5], center=true);
}
cylinder(h=25, r=6.25, center=true);
translate([0,0,2.1]) cylinder(h=4.6, r=8.5, center=true);
} | glb/cad_86038a4be389.glb |
Create a piece of costume jewelry for a hair band by starting with a sphere with a radius of 12mm. Flatten this sphere by intersecting it with a cube that is 20mm wide, 20mm deep, and 8mm high, centered on the origin. To this flattened shape, add two conical sections created by intersecting a 20mm cube (8mm high) with ... | difference() {
intersection() {
sphere(r=12);
union() {
intersection() {
cube([20,20,8], center=true);
rotate([90,0,0]) translate([10,0,-7.6]) cylinder(h=11.5,r1=8, r2=2, center=true);
}
intersection() {
cube([20,20,8], center=true);
rotate([-90,0,0]) translate([10,0,-7.6]) cylinder(h=11.5,r1=8, ... | glb/cad_5158eb6499dd.glb |
Create two circular plates, each 16mm thick, to serve as the upper and lower frames for a delta printer. Both plates should have an outer radius of 252mm.
For the upper frame, create a central circular hole with a radius of 126mm. Additionally, remove three rectangular slots from the outer edge toward the center, spa... | diag_rod_length=250;
rod_diameter=10;
platform_hinge_offset=33;
carriage_hinge_offset=22;
rods_distance = 67;
plywood_margin = 35;
frame_thickness=16;
tower_radius = diag_rod_length*cos(30) + platform_hinge_offset + carriage_hinge_offset + rod_diameter/2;
corner_radius=12;
frame_radius=(tower_radius + rod_diameter/... | glb/cad_44d3294d910c.glb |
Create a Modified Parametric Extruder for 1.75mm filament. Start with a base block measuring 42mm x 42mm x 6mm.
In the center of the base, create a large Nema motor opening by removing a cylinder with a radius of 11.5mm and a height of 6mm. Within this opening, create a central hole for a hobbed gear with a radius of... | filament = 2.15;
hobbed = 12.8;
pfd = 9.525;
Noz_width=.4;
tolerance = 0.2;
nm17sc = 31;
nm17si = 42;
nm17sh = 6;
bb625 = [5,16+2,5];
bb624 = [4,13,5];
module nema17_holes(nm17si, nm17sc, h, dia, head_d, head_h, lenght, tolerance) {
for (a=[45,135,225]) {
translate ([((nm17si/2)+((nm17si/2)+tolerance)... | glb/cad_bc81fed2a136.glb |
Create a razor holder with a total length of 200mm, a width of 30mm, and a height of 10mm. The main body is a rectangular slab with rounded ends. At each end of the slab, center a circular cutout with a radius of 6mm that passes completely through the 10mm height. To create the specific profile, remove a central rectan... | breit = 30;
lang = 200;
hoch = 10;
schraeg=20;
difference() {
translate([breit/2,breit/2,0])
cylinder (r=15, $fn=20,h=hoch, center = false);
translate([schraeg,breit/2,0])
rotate(-45,[0,1,0])
cylinder (r=6, $fn=20,h=40, center = true);
}
difference() {
translate([breit/2,0,0])
cube([lang-breit... | glb/cad_bd221372e39a.glb |
Create a Parametric Panel Hole Grommet and Cover consisting of three potential components: an inside part, an outside part, and a cover.
For the inside part, create a cylindrical threaded rod with a length of 12mm and a pitch of 4mm. Attach a circular flange to one end with a radius of 25mm and a thickness of 2.3mm. T... | part = "inside";
edge_type = "fillet";
cover_style = "flanged";
cover_catch = "yes";
panel_thickness = 6;
hole_size = 40;
grommet_thickness = 3;
flange_width = 5;
flange_thickness = 2.3;
cover_hole = "yes";
cover_hole_size = 7;
cover_wall_thickness = 2;
screw_pitch = 4;
thread_height_to_pitch = 50;
resolu... | glb/cad_0e1fef6b4bfe.glb |
Create a Scalable Tensioner Pin for the e-NABLE Raptor Reloaded Hand. Start by creating a rectangular block with rounded corners and dimensions of 4.3mm in width, 30mm in length, and 4.3mm in height, using a corner radius of 0.5mm.
Through the center of this block along its length, create a cylindrical hole with a ra... | scale=100;
vs=scale/100.0;
module roundedcube(xdim,ydim,zdim,rdim) {
intersection() {
hull() {
translate([rdim,rdim,0]) cylinder(h=zdim,r=rdim,$fn=20);
translate([xdim-rdim,rdim,0]) cylinder(h=zdim,r=rdim,$fn=20);
translate([rdim,ydim-rdim,0]) cylinder(h=zdim,r=rdim,$fn... | glb/cad_021c7c748416.glb |
Create a parametric glass by constructing a hollow truncated cone. First, create a solid cone with a height of 100mm, a bottom radius of 10mm, and a top radius of 25mm. To create the interior cavity, remove a smaller concentric truncated cone from the center. This inner void should start 1mm from the base, leaving a bo... | $fn=100;
module glass(topradius, bottomradius, height, topwallthickness, bottomthickness) {
difference() {
translate([0,0,0])
cylinder(h = height, r1 = bottomradius, r2 = topradius);
translate([0,0,bottomthickness])
cylinder(h = height+0.001-bottomthickness, r1 = bottomradius-topwallthickness, r2 = topradius-... | glb/cad_e632af3c3567.glb |
Create a sunshade clip by starting with a main vertical cylinder that is 36mm tall, with a base radius of 4mm and a top radius of 3mm. Cap the top of this cylinder with a sphere that has a radius of 3mm, centered at the top face. From the bottom of the model, remove a concentric cylindrical hole with a radius of 2.5mm ... | height = 36;
cliph = 14;
outrad = 8/2;
inrad = 5.0/2;
delta = 1;
schirmclip();
module schirmclip()
{
difference()
{
union()
{
cylinder(h = height, r1 = outrad, r2 = outrad-delta, center = false);
color("red") translate([0,0,height]) sphere((outrad-delta), $fn=30);
}
union()
{
... | glb/cad_68aacbecd8c4.glb |
Create a sunshade clip consisting of a main cylindrical body topped with a sphere. The body is a cylinder with a height of 34mm, a bottom radius of 4mm, and a top radius of 3mm. Centered on top of this cylinder is a sphere with a radius of 4.5mm. Remove a central vertical hole from the bottom of the model with a radius... | height = 36-2;
cliph = 14;
outrad = 8/2;
inrad = 5.0/2;
delta = 1;
kugel = outrad-delta+1.5;
schirmclip();
module schirmclip()
{
difference()
{
union()
{
color([0,0,1]) cylinder(height,r1=outrad, r2=outrad-delta, center=false);
color("red") translate([0,0,height]) sphere(kugel, $fn=30);
... | glb/cad_b91b731301ee.glb |
Create a sunshade clip by starting with a main vertical cylinder that is 34mm tall, with a bottom radius of 4mm and a top radius of 3mm. At the top center of this cylinder, place a sphere with a radius of 4.5mm. Attached to the side of the cylinder, center a rectangular block that is 2mm wide, 24mm tall, and 10mm deep,... | height = 36-2;
cliph = 14;
outrad = 8/2;
inrad = 5.0/2;
delta = 1;
kugel = outrad-delta+1.5;
schirmclip();
module schirmclip()
{
difference()
{
union()
{
color([0,0,1]) cylinder(height,r1=outrad, r2=outrad-delta, center=false);
color("red") translate([0,0,height]) sphere(kugel, $fn=30);
... | glb/cad_801c8f480761.glb |
Create a Parametric PCB Box with mounting tabs. Start by constructing a U-shaped open container with a base measuring 64.5mm by 64.5mm and a height of 10mm. The walls should be 2.5mm thick. The interior cavity is designed to hold a PCB of 57.5mm by 57.5mm with a thickness of 1.75mm, leaving a 2.5mm bottom margin.
Add ... | pcb_width = 57.5;
pcb_length =57.5;
pcb_height =1.75;
slisse = 1;
pcb_bottom_margin = 2.5;
wall_width_thick = 3.5;
wall_width = wall_width_thick-slisse;
box_height = 10;
tab_hole_radius=4.5/2;
tab_outer_radius=10/2;
tab_mount_width = 80;
tab_mount_length = 60;
module tab() {
difference(){
union() {
translate([... | glb/cad_1e45f52d668f.glb |
Create a Magic Magnet desktop gadget frame. Construct a rectangular base and a matching top beam, both measuring 120mm in length, 30mm in width, and 10mm in height. Connect these two horizontal beams with two vertical pillars, each 8mm wide, 30mm deep, and 100mm tall. Position the first pillar 15mm from the left edge a... | difference(){
union(){
cube([120,30,10]);
translate([5,0,100])
cube([110,30,10]);
translate([15,0,0])
cube([8,30,100]);
translate([95,0,0])
cube([8,30,100]);
}
translate([60,15,-1])
cylinder(20,2,2,$fn=130);
translate([60,15,-3])
cylinder(10,5,5,$fn=130);
} | glb/cad_e97abb573ce8.glb |
Create a Magic Magnet base by starting with a rectangular block measuring 110mm in length, 30mm in width, and 10mm in height. Centered within the top surface of this block, carve out a rectangular hole that is 32mm long, 12mm wide, and 6mm deep. Position this cutout so that its center aligns with the center of the base... | difference(){
union(){
cube([110,30,10]);
}
translate([40,9,5])
cube([32,12,6]);
} | glb/cad_4813ea184a2a.glb |
Create a Cube Wedge for an RGB LED Matrix by constructing a base volume and removing specific sections to create a trough. Start by forming a solid block composed of two intersecting cubes: one measuring 47.625mm in length, 27mm in width, and 30mm in height, and a second measuring 27mm in length, 47.625mm in width, and... | corner_piece_rgb_matrix();
module corner_piece_rgb_matrix () {
rgb_matrix_depth = 18;
rgb_matrix_width = 190.5;
wedge_height = 30;
corner_wedge_face_length = rgb_matrix_width / 4;
corner_wedge_face_height = rgb_matrix_depth * 1.5;
corner_wedge_face_depth = rgb_matrix_depth * 1.5;
trough... | glb/cad_2b6da767eca6.glb |
Create a Friction Teaching Aid consisting of a rectangular base with a series of triangular ridges on top. Start by creating a rectangular block that is 80mm long, 10mm wide, and 15mm high. On the top surface of this block, add 10 identical isosceles triangular prisms aligned in a row along the length of the base. Each... | base_length = 80;
base_width = 10;
base_height = 15;
teeth_height = 2;
num_teeth = 10;
teeth_width = base_length/num_teeth;
module iso_triangle(width,height,thickness)
{
linear_extrude(height = thickness,center = true)
polygon(points = [[0,0],[width,0],[width/2,height]],path = [0,1,2]);
}
cube([base_leng... | glb/cad_c8226af80264.glb |
Create a parametric cable clamp for a flat surface. Start by creating a main body that is a union of a cylinder and a rectangular block. The cylinder should have an outer radius of 7.86mm, a height of 10mm, and be centered such that its axis is parallel to the clamp's width. Attach a rectangular base to this cylinder w... | fudge = 0.25;
fn=80;
eps=0.03;
bn = 100;
COD = 9.22;
ID = 3.5 + eps;
th = 3.0;
W = 10.0;
R1 = (COD + fudge)/2;
R2 = R1 + th;
L = R2 * 2.2;
module mt_hole() {
translate([-W,-R2-(ID),W/2]) rotate([0,90,0]) cylinder(d=ID, h=W*3, $fn=fn);
}
module cable() {
translate([R1,0,-W])
cylinder(r=R1, h=W*3, $fn=fn);
}
... | glb/cad_bf15e836df31.glb |
Create a Rostock parts plate by starting with a triangular prism that has a base radius of 85mm and a top radius of 70mm, with a total height of 7.5mm. The prism should be defined by only three vertices, creating a flat-sided triangular shape.
Remove several holes and slots from this volume. First, create three sets ... | module holes() {
translate () {
rotate ([-45,0,0]) {
translate ([-47/2, 0,0]) cylinder (r=2.3, h=100, center=true);
translate ([47/2, 0, 0]) cylinder (r=2.3, h=100, center=true);
}
}
}
rad=85;
difference () {
cylinder (r=rad, r2=rad-15, h=7.5, $fn=3);
for (i=[0:2]) {
rotate([0,0,i/3*360]) {
rotate([0... | glb/cad_1e43183a40f8.glb |
Create a Rostock extruder part consisting of a rectangular base with a central cylindrical tower. Start with a rectangular base measuring 30mm wide, 70mm long, and 5mm thick. Center a vertical hole with a radius of 2.5mm through the base, extending 55mm in height. Position two smaller holes with a radius of 2mm and a h... | difference(){
rotate([180,0,0])
union(){
difference(){
union(){
difference(){
union(){
cylinder(r=11.5,h=30);
translate([0,0,27])cylinder(h=3,r=15,$fn=20);
}
translate([0,0,-1])cylinder(r1=5,h=32,$fn=20);
}
;
translate([0,-10,0])cube([5,20,30]);
}
translate([0,0,-1])cylinder(r=2.5,h=35,$fn=20);
translate([-15,-13,-10... | glb/cad_f242a8997ee1.glb |
Create a Rostock extruder part consisting of a main arm and an attached clamp. Start with the arm: create a base block 100mm long, 60mm wide, and 21.4mm thick. From this block, remove a central rectangular slot 4.5mm wide and 8mm deep to accommodate a tube, and a adjacent slot 7.2mm wide and 8mm deep for a nut.
Add t... | arm_outer=100;
arm_inner =20;
base_outer=60;
base_inner = 40;
th=8;
L_th = 7;
nut_wd = 7.2;
nut_th = 8;
tube_wd=4.5;
module holes (z) {
rotate ([0,90,0]) {
translate ([z,8,0]) cylinder (r=2.3, h=200, center=true);
translate ([z,30,0]) cylinder (r=2.3, h=200, center=true);
}
}
module arm () {
difference () {
... | glb/cad_b00ae10feac5.glb |
Create a tube holder part for a Rostock extruder assembly. Start with a rectangular base measuring 66mm in length, 23mm in width, and 5mm in height. In the center of this base, add a vertical rectangular post that is 23mm wide and 15mm tall.
From the center of the model, carve out a vertical cylindrical hole with a ra... | hole_x = 8;
hole_spacing = 50;
hole_r = 4.5/2;
chole_r = 10;
chole_ht = 8;
len = hole_spacing + 2*hole_x;
wd = chole_r*2 + 3;
center_post_ht = 15;
tube_r = 2.3;
nut_r = 4.2;
nut_th = 4;
tube_ext = 4;
mount_hole_r = 3.6/2;
mount_hole_z = 15;
mhole_spacing = 15;
ht = 5;
module hole (rad=hole_r) {
cylinder (r=rad, ... | glb/cad_3ecb65faa763.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.