Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Matching Ring by constructing a circular band with an inner diameter of 18.14mm, a wall thickness of 1.6mm, and a total width of 6mm. The band should be a smooth, hollow cylinder.
On the outer surface of the band, add a decorative rectangular block that is 6mm wide, 6mm deep, and 5mm high. Centered on the fac... | ring_type = 1;
ring_size = 18.14;
ring_thickness = 1.6;
ring_width = 6;
ring_top_high = 5;
inner_radius = ring_size/2;
translate ([0,0,ring_width/2])
union () {
ring();
translate ([0,-inner_radius,0])
rotate(a=90,v=[1,0,0])
if(ring_type == 0){
ringtop1 (ring_width,ring_top_high);
} else {
ringtop2 (ring_width,... | glb/cad_8efb9b068765.glb |
Create a camping burner replacement foot by stacking three rounded rectangular prisms. Start with a base rounded cube measuring 28.22mm in width, 12.78mm in depth, and 7.92mm in height, with a corner radius of 1mm. Centered on top of this base, add a second rounded cube measuring 24.46mm in width, 8.88mm in depth, and ... | use <roundedcube.scad>;
footw1=28.22;
footw2=24.46;
footw3=22.35;
dw1=(footw1-footw2)/2;
dw2=(footw1-footw3)/2;
footd1=12.78;
footd2=8.88;
footd3=7.88;
dd1=(footd1-footd2)/2;
dd2=(footd1-footd3)/2;
footh1=7.92;
footh2=8.8;
footh3=18.58;
footel1=0;
footel2=footh1;
footel3=footh2;
clampw=6.2;
clamph=6.2;
clampd=2;
... | glb/cad_7dccefc73a1d.glb |
Create a RockWall Hold by constructing a stacked series of rounded square plates that rotate and shrink as they ascend. Generate 8 layers in total, starting from a base and spacing them 5mm apart vertically. Each layer is a rounded square created by the Minkowski sum of a cube and a cylinder with a 10mm radius. The fir... | difference()
{
for (i=[0:5:35])
translate([0,0,-1+i])
rotate([0,0,2.5*i])
minkowski(){
cube([60-i,60-i,5],center=true);
cylinder(r=10,h=1);
}
translate([0,0,30])
cylinder(h=12,d=30,$fs=1);
cylinder(h=90,d=11,$fs=1,center=true);
} | glb/cad_a3ba93bac277.glb |
Create a Shower Caddy Suction Cup Retainer by starting with a solid cylinder 16mm in diameter and 12.5mm high. Hollow out the center by removing a smaller concentric cylinder with a 13mm diameter and a height of 11mm, positioned 2.5mm from the base to create a tube with a thick bottom floor. Cut a vertical slot through... | difference() {
cylinder(r=8, h=12.5);
translate([0,0,2.5]) cylinder(r=6.5, h=11);
hull() {
translate([0,0,12.5-9+3]) rotate([0,90,0]) #cylinder(r=3,h=20,center=true);
translate([0,0,12.5]) rotate([0,90,0]) #cylinder(r=3,h=20,center=true);
}
} | glb/cad_247df2f9bb77.glb |
Create a Rock Wall Rock by first constructing a complex organic grip shape. Form the main body using a convex hull that encompasses several spheres: one with a 30mm diameter at [0, -16, 0], two with 20mm diameters at [20, -10, 0] and [-20, -10, 0], one with 22mm diameter at [0, -10, 10], and one with 15mm diameter at [... | a=15;
b=10;
c=9;
d=11;
e=30;
f=15;
g=50;
j=20;
$fn=100;
Bh=25;
hh=10;
lh=69.5;
dh=11;
$fn=100;
module bolt(){
union(){
translate([0,0,lh-0.1])cylinder(h=hh, r=Bh/2);
cylinder(h=lh, r=dh/2);
}
}
module rock(){
difference(){
hull(){
union(){
translate([0,-8,0])sphere(a);
translate([10,-5,0])... | glb/cad_6eecf41293dc.glb |
Create a replacement shower head jet nib. Start by creating a cylindrical base with a diameter of 12mm and a height of 2.6mm. Centered on top of this base, add a truncated cone that transitions from a bottom diameter of 7.16mm to a top diameter of 4mm over a height of 9.5mm. Finally, bore a central hole through the ent... | base = 12;
base_height = 2.6;
cone_top = 7.16;
cone_bottom = 4.0;
cone_height = 9.5;
hole_r1 = 2.4;
hole_r2 = .8;
hole_height = base_height+cone_height;
difference(){
union() {
cylinder(base_height,d=base,center=false);
translate([0,0,base_height])
cylinder(cone_height,d1=cone_top,d2=cone_b... | glb/cad_182eab485fcb.glb |
Create a replacement shower head jet nib. Start with a cylindrical base 12mm in diameter and 2.6mm in height. Centered on top of this base, add a second cylinder with a diameter of 7.16mm and a height of 2.68mm. Above this second cylinder, place a conical section that transitions from a top diameter of 8.5mm down to a ... | tpu = true;
base = 12;
base_height = 2.6;
cone_top = 7.16;
cone_tpu_top = 8.5;
cone_tpu_height = 1.34;
cone_bottom = 4.0;
cone_height = 8.5;
hole_r1 = 2.4;
hole_r2 = .8;
hole_height = base_height+cone_height +cone_tpu_height;
echo("Hole height is:",hole_height);
difference(){
union() {
cylinder(base_heig... | glb/cad_dc5c14f229d2.glb |
Create a printable bar clamp consisting of four main components. First, construct an L-shaped base (the winkel) by joining a 20x160x10mm block and an 89.3x20x10mm block, then carve out a central rectangular channel 16mm wide and 6mm deep, leaving 2mm walls. Add two thin 2mm thick plates, one 30mm and one 50mm long, rot... | translate([30,30,0]) span();
winkel();
translate([70,50,0]) bolt();
translate([70,80,0]) boltcap();
module boltcap(){
cylinder(h=5,r=10,r2=7);
cylinder(h=16,r=3,$fs=1);
}
module bolt(){
difference(){
union(){
cylinder(h=95,r=6,r2=5.7);
cylinder(h=40,r=14, r2=10, $fs=14);
translate([0,0,34]) cylinder(h=6,r=10.2,r... | glb/cad_6fd3af398078.glb |
Create a Clip For Square Hole designed to fit into a 12.7mm square opening with a depth of 12.7mm. The model consists of two mirrored arms that act as a spring clip.
Each arm is constructed from a wall thickness of approximately 1.34mm. The arms extend from the base and curve outward to create a tension spring. The sp... | grid_square_l = 12.7;
grid_square_d = 12.7;
grid_square_clearances = [0.2,0.4,-0.02];
leg_thickness = (0.67*2 + 0.5*2);
bicep_height=3.7;
penny_thickness = 1.5;
penny_clearance = 0.4;
penny_d = 18.95;
hinge_divs = 2;
$fn=50;
top_bracket_width = penny_d;
top_arm_span = ((penny_d - grid_square_l)/2);
top_arm_grip_he... | glb/cad_90a218225279.glb |
Create a Raspberry Pi Model B with PiFace Control and Display Case consisting of a bottom and top shell. The internal cavity for the device must be 85mm wide, 57mm deep, and 26.3mm high. Both shells should have a wall thickness of 2mm.
For the bottom shell, create a base with the internal cavity. On the front face, cr... | $fn=30;
tolerance = 0.40;
device_x = 85.00;
device_y = 57.00;
pcb_z = 1.50;
device_z = 26.30;
wall_thickness = 1.60+tolerance;
split = 0.36;
friction = wall_thickness;
spacing = 10.00;
riser_z = 5.30-pcb_z;
riser_thickness = 1.50;
include <lib/case2.scad>
difference() {
union() {
case_bottom();
}
translate(... | glb/cad_612706527c0c.glb |
Create a Rockwall bolt holder by constructing a central bolt shape and subtracting it from a larger block in four rotated orientations. First, define the bolt geometry: create a shaft with a diameter of 11mm and a length of 69.5mm, topped with a cylindrical head that has a diameter of 25mm and a height of 8mm.
Next, ... | 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 temp()
{
difference()
{
cube([60,40,20], center = true);
translate([0,0,-65])bolt();
}
}
for(i=[1:4])
{
assign(angle = i*90)
{
rotate(angle,[0,0,1])
temp();
}... | glb/cad_ef8796cd3edd.glb |
Create a fridge whiteboard marker holder shaped like a rocket. Start by creating a central hollow conical sleeve with a height of 30mm, centered on the Z-axis. The inner cavity should taper from a radius of 8.75mm at the bottom to 7.75mm at the top. The outer wall of this sleeve should have a constant thickness of 2.5m... | penRad1=17.5/2;
penRad2=15.5/2;
clipThickness=2.5;
clipDepth=30;
baseRad=24;
baseThickness=3.3;
baseOffset=21;
module penholder() {
difference() {
union() {
cylinder(r1=penRad1+clipThickness, r2=penRad2+clipThickness, h=clipDepth, center=true, $fn=60);
for (i=[0:3]) rotate([0,0,45... | glb/cad_6c98bf04afff.glb |
Create a Radial Fan Duct by constructing a hollow, curved tube based on a custom profile. First, define a 2D profile that is roughly circular but asymmetrical, with a maximum outer radius of approximately 34mm and a minimum inner radius of approximately 9mm. Rotate this profile 360 degrees around the Z-axis to create a... | include <hingeV2.scad>
w = 52.5;
d = 11.5;
module cap() {
h=1;
rotate([90,0,0])
scale([25.4/90, -25.4/90, 1])
{
linear_extrude(height=h)
polygon([[10.879721,-22.527563],[6.434755,-21.654819],[2.592807,-20.236113],[-1.441622,-17.987456],[-6.464029,-14.624863],[-9.795853,-11.036270],[-12.705776,-7.228... | glb/cad_a4d0d8e100bd.glb |
Create a Keychain Connector for USB Flash Drives consisting of two joined rectangular sections. First, create a main rectangular block with dimensions 2.16mm in thickness, 11.35mm in width, and 7mm in depth. Attached to the side of this block, create a second rectangular section that is 4.52mm thick, 12.05mm wide, and ... | insideThickness=2.16;
insideWidth=11.35;
outsideThickness=4.52;
outsideWidth=insideWidth;
connectorThickness=0.35;
ringhole=4.1;
depth=7;
module usbThing (cScale) {
rotate(a=[90, -90, 0])
union() {
cube([insideThickness*cScale, insideWidth, depth]);
translate([0, -connectorThickness, -ringho... | glb/cad_39680f022ca5.glb |
Create a Konus to Celestron Picatinny to 10mm rail adapter that is 45mm long. Start with a rectangular base block 20mm wide and 6mm high.
On the top surface, construct a rail profile that is 12.5mm wide at its widest point and 11mm at its narrowest. This profile should feature a curved top and a dovetail height of 2m... | module rail(sections) {
translate(v = [0, 0, -5 * sections - 2.5])
difference() {
linear_extrude(height = (10.0076 * (0.5 + sections)))
railprofile();
translate([0,-0.6,0])
union() {
for (s = [1:sections]) {
translate(v = [0, 0, s * 39 - 39/2.0])
... | glb/cad_a98c3235eeef.glb |
Create a line laser 3D scanner mount consisting of a main plate and a clamping mechanism. Start by creating a rectangular plate 30mm wide by 50mm long and 3mm thick. At the center of this plate, create a circular cutout for a laser module. This cutout is formed by removing a cylinder with a diameter of 9.2mm and a heig... | $fs=.1;
baseline=100;
cx=38;
cy=38;
fuzz=0.2;
px=30;
py=50;
angle=30;
i4=5.5;
module laser() {
color("DarkSlateBlue")
translate([0,0,-10]) cylinder(d=9+fuzz, h=20);
}
module plate() {
dy=15;
slotx=2;
difference() {
union() {
translate([-px/2,-py/2+dy,0]) cube([px,py-dy,3]);
translate([-5,-7,3]) cube(... | glb/cad_ed4ba05569ec.glb |
Create a line laser 3D scanner mount consisting of a base plate and a clamping mechanism. Start with a rectangular base plate measuring 50mm by 50mm with a thickness of 3mm. In the center of this plate, create a square cutout measuring 38.4mm by 38.4mm that extends through the plate to accommodate a camera PCB.
Withi... | $fs=.1;
baseline=100;
cx=38;
cy=38;
fuzz=0.2;
px=50;
py=50;
i4=5.5;
module cam() {
translate([-cx/2, -cy/2, 0]) {
color("DarkSlateBlue")
difference() {
cube([cx,cy,1]);
translate([5,5,-1]) cylinder(d=2.5,h=6);
translate([5,5+28,-1]) cylinder(d=2.5,h=6);
translate([5+28,5+28,-1]) cylinder(d=2.5,h=6);
... | glb/cad_aafb40e81794.glb |
Create a kitchen light bulb globe consisting of a hollow spherical top and a conical flanged base. The main sphere has an outer diameter of 152.4mm and a wall thickness of 2.54mm. The bottom of the sphere transitions into a conical flange with a base diameter of 82.296mm, tapering upward at a 14-degree angle.
The enti... | function mm(inches) = inches*25.4;
k = 1.0;
fragments = 12;
ballDiameter_in = k*6.0;
thickness_in = 0.1;
ballHeight_in = k*0.0197;
coneBaseDiam_in = k*3.236;
tanTh = tan(14.0);
cosTh = cos(14.0);
module hollow_cone (base_diam_in)
{
height = (base_diam_in/2.0) / tanTh;
ht = ((base_diam_in/2.0 - thickness_in/cosTh)) / ... | glb/cad_92f1b473b204.glb |
Create a Power Switch Case consisting of a hollow rectangular box with side mounting lugs. The main box has outer dimensions of 55mm in length, 29mm in width, and 35mm in height. The interior is hollowed out to create a thin-walled shell with a lip. The top opening is 24.5mm wide by 49mm long. The interior base is 24mm... | width = 29;
length = 55;
height = 35;
innerWidthTop = 24.5;
innerLengthTop = 49;
innerWidthLip = 19.7;
innerLengthLip = 45.5;
innerWidthBottom = 24;
innerLengthBottom = 51;
lipHeight = 0.8;
topLipDist = 4.0;
difference() {
color([1,0,0])
cube([length, width, height], center=true);
translate([0.25, 0, 0])
... | glb/cad_5815f16041c6.glb |
Create a Power Switch Case by starting with a main rectangular block measuring 55mm in length, 29mm in width, and 10mm in height. Hollow out the center of this block to create an open box, leaving a roof thickness of 2mm at the top. The interior cutout should measure 50.5mm in length and 23.5mm in width. Within the roo... | width = 29;
length = 55;
height = 10;
innerWidthLip = 19.7;
innerLengthLip = 45.5;
innerWidthBottom = 23.5;
innerLengthBottom = 50.5;
lipHeight = 0.8;
topLipDist = 4;
difference() {
color([1,0,0])
cube([length, width, height], center=true);
translate([0, 0, 2])
{
cube([innerLengthBottom, innerWidthBot... | glb/cad_34f8e160da15.glb |
Create a Rockwall Hold by constructing a support structure and removing the volume of a bolt from it. First, create the support base by combining a central cube of 50mm x 50mm x 15mm with a 20-sided prism (cylinder) of radius 12.5mm and length 50mm, oriented horizontally along the Y-axis and centered at [0, 25, 8]. Add... | B=25;
h=8;
l=69.5;
d=11;
$fn=100;
module bolt(){
union(){
translate([0, -5, 35]){
rotate([180, 0, 0]){cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}}}
}
module support(){
union() { cube(size = [50,50,15], center = true);
translate([0, 25, 8])rotate([0, 90, 0])cylinder(h = 50, r = 12.5,
$fn = 20, cent... | glb/cad_263b7292ae4d.glb |
Create a stackable post-it note holder with an interior base area of 78mm by 78mm and a total height of 10mm. The walls should be 2mm thick. The overall footprint is a square with rounded corners, where the radius of the corners is 2mm.
The side walls should feature a 45-degree inward slant from the top to allow for ... | size = 78;
height = 10;
width = 20;
depth = 10;
t = 2;
$fn = 50;
e = 0.02;
module c(l, h, r) {
union() {
translate([-r,0,0]) cube([l+2*r, l, h]);
translate([0,-r,0]) cube([l, l+2*r, h]);
cylinder(r=r, h=h);
translate([l,0,0]) cylinder(r=r, h=h);
translate([l,l,0]) cylinder(r=r, h=h);
translat... | glb/cad_25445a5c6a97.glb |
Create a Parkside power supply case consisting of a hollow rectangular box with a thickness of 1.5mm. The main body has a total length of 95mm and a height of 77mm.
The top face of the box features a hexagonal honeycomb grid pattern for ventilation. The side walls include two circular cutouts for jack connectors, eac... | translate([0,0,31.5]) top();
tol = 0.1;
tol_large = 0.5;
connector_width = 30.5 - tol_large;
connector_height = 10.0;
connector_depth = 15.0;
pin_height = 6.5;
pin1_x = 3.45;
pin_dist = (connector_width - 2 * pin1_x) / 3;
tounge_len = 10;
tounge_thickness = 1.1;
outer_pin_dist = 24;
pin_r = 5.2/2;
pin_l = connec... | glb/cad_6605f9c9d475.glb |
Create a spring clip for a sink stopper by starting with a solid rectangular block measuring 12mm wide, 25mm long, and 10mm high. Carve out a rectangular recess from the top face that is 4mm wide, 8.33mm long, and 10mm deep, positioned such that it leaves a 4mm wall on each side of the width and starts 8.33mm from the ... | heigth = 10;
width = 12;
length = 25;
barHoleDiameter = 5;
screwHole = 3;
wallWidth = 2;
nutWidth = 2.2;
nutDiameter = 6.4;
$fn= 200;
module springClipSinkStopper(){
difference(){
cube([width, length, heigth]);
translate([0,length/3*2,0]) cube([width/3, length/3, heigth]);
translate([widt... | glb/cad_6a2a614c2508.glb |
Create a bung for a swiss ball by constructing a rotationally symmetrical object around a central axis. Start with a base section that is a cone with a bottom diameter of 20mm and a height of 4mm, tapering to a top diameter of 5mm. Above this, add a cylindrical section with a diameter of 6.7mm and a height of 7.3mm.
... | d1a = 0; d1b = 6.5; l1 = 8;
d2 = 4.23; l2 = 61.45-17.6 - 8;
d3 = 6.7; l3 = 3;
d4a = 6.7; d4b = 8.5; l4 = 17.6 - 3 - 7.3 - 2.3;
d5 = 6.7; l5 = 7.3;
d6a = 20; d6b = 5; l6 = 4;
s0 = 0;
s1 = l1;
s2 = l1 + l2;
s3 = l1 + l2 + l3;
s4 = l1 + l2 + l3 + l4;
s5 = l1 + l2 + l3 + l4 + l5;
s6 = l1 + l2 + l3 + l4 + l5 + l6;... | glb/cad_58a533b7e429.glb |
Create a Customizable Kickboard Paperweight by constructing a flat, rounded geometric slab. Start with a central rectangular base that is 17.5mm long, 15mm wide, and 1mm thick. To create the rounded profile, add two semi-cylindrical ends with a radius of 7.5mm and a height of 1mm, centered on the width of the rectangle... | length=17.5;
width=15;
thickness=1;
difference()
{
union()
{
scale(0.1) cylinder(r=width*5,h=thickness*10);
translate([width/-2,0,0]) scale([width,length-(width/2),thickness]) cube(1);
translate([(width/-2)+1.25,length-(width/2),0]) scale([width-2.5,1.25,thickness]) cube(1);
translate([(width/-2)+1.25,length-(width/2),... | glb/cad_0132d975f318.glb |
Create a horizontal spool holder designed for 608zz bearings. Start with a central vertical cylinder 22mm in diameter and 25mm high. Surround this with a larger base consisting of a 140mm by 140mm by 20mm centered cube. Above this base, construct a complex central hub by intersecting a sphere with a 130mm diameter, cen... | $fn=50;
union(){
difference(){
union(){
intersection(){
translate([0,0,6]) sphere(d=130,$fn=200);
union(){
cylinder(d=130,h=12);
difference(){
union(){
cylinder(d=65,h=18);
cylinder(d=50,h=25);
difference(){
cylinder(d=131,h=18);
cylinder(d=115,h=18);
... | glb/cad_014a1c8830d4.glb |
Create a thin, ring-shaped washer for a horizontal spool holder. Start by creating a solid cylinder with a diameter of 11mm and a height of 0.7mm. From the center of this cylinder, remove a smaller concentric cylindrical hole with a diameter of 8.5mm and the same height of 0.7mm to create a hollow circular band. Ensure... | $fn=50;
difference(){
cylinder(d=11,h=0.7);
cylinder(d=8.5,h=0.7);
} | glb/cad_4f40be143cab.glb |
Create a horizontal spool holder by starting with a large thin disc 150mm in diameter and 5mm thick. Cut a concentric hole through the center of this disc with a diameter of 130mm to create a ring.
Add three rectangular support arms that radiate from the center to the outer edge. Each arm should be 70mm long, 10mm wi... | $fn=50;
union(){
difference(){
cylinder(d=150,h=5);
translate([0,0,-1]) cylinder(d=130,h=7);
};
for(angle=[0:120:360])
rotate(a=angle,v=[0,0,1]) translate([35,0,2.5]) cube([70,10,5],center=true);
difference(){
sphere(d=20);
translate([0,0,-6]) cube([22,22,12],center=true);
translate([0,0,14]) cube([22... | glb/cad_f026a63f6735.glb |
Create a tri-glide buckle for webbing with a total height of 2.4mm. The main body is a rounded rectangle with an overall width of 30.8mm (26mm internal width plus two 2.4mm edges) and a total depth of 12.8mm (4mm center beam plus two 2.4mm edges and two 4mm gaps). The corners should have a rounding radius of 1.8mm.
Cu... | _1_webbingWidth = 26;
_2_webbingGap = 4;
_3_edgeThickness = 2.4;
_4_centerThickness = 4;
_5_height = 2.4;
_6_cornerRounding = 75;
_7_cornerBreakage = 0.66;
_8_gapPosition = 37;
module makeBody(xsize, ysize, height, radius) {
translate([0,0,height/2]) {
minkowski() {
cube(size=[xsize-2*radius,ysize-2*radiu... | glb/cad_d831a482671d.glb |
Create a pcDuino3 box, which is a hollow rectangular enclosure with a base and four walls. Start with a solid outer block measuring 126mm in length, 71mm in width, and 20mm in height. Hollow out the center by removing a block of 128mm by 67mm by 20mm, positioned 2mm from the side walls and 2mm from the bottom, leaving ... | module bottom()
{
translate([2,2,0])
{
cube([122,67,2]);
translate([41,24,0]) {
cylinder(r=2, h=8, $fn=50);
cylinder(r=1.5, h=10, $fn=50);
}
translate([41,52,0]) {
cylinder(r=2, h=8, $fn=50);
cylinder(r=1.5, h=10, $fn=50);
}
translate([92.5,8,0]) {
cylinder(r=2, h=8, $fn=50);
cylin... | glb/cad_9882d8d73c01.glb |
Create a customizable electronics enclosure with a main internal volume of 200mm width, 300mm length, and 100mm height. The walls of the enclosure should be 5mm thick.
Construct the enclosure using a bottom panel, a top panel, and two side panels (left and right). The bottom panel should be a solid slab with four roun... | show_face="open";
device_width=200;
device_length=300;
device_height=100;
device_bottom_height = 30;
enclosure_thickness = 5;
pcb_thickness = 1;
front_port1 = "none";
front_port1_position = 0;
front_port1_side = "top";
front_port1_custom_rectangle_width = 0;
front_port1_custom_rectangle_height = 0;
front_po... | glb/cad_e281678a34cc.glb |
Create a customizable funnel with a total height of 40mm and a wall thickness of 1mm. The structure consists of three stacked sections: a bottom cylindrical spout, a middle conical flare, and a top cylindrical band.
Start with a bottom cylindrical base that is 10mm tall with an outer diameter of 10mm. Above this, crea... | Large_End_Diameter = 60;
Small_End_Diameter = 10;
Wall_Thickness = 1;
Funnel_Height = 40;
Top_Band = 5;
Bottom_Spout_Length = 10;
spout_or = Small_End_Diameter/2;
wall = Wall_Thickness;
flare_percentage = Large_End_Diameter / Small_End_Diameter * 100;
height = Funnel_Height;
bottom_band=Bottom_Spout_Length;
res ... | glb/cad_947b09f5ac73.glb |
Create a parametric bridge test model consisting of a base plate and a series of stacked bridge segments. Start by creating a base rectangular plate that is 3mm thick, 3mm wide, and 45mm long, positioned 0.5mm above the ground plane. Construct 15 repeating bridge units. Each unit begins with a bottom support slab that ... | iterations = 15;
bridgeIncrement = 2;
commonDimension = 3;
plateHeight = .5;
plateEdgeBuffer = 1;
bridgeHeight = 1;
baseLength = iterations * commonDimension;
baseWidth = (commonDimension * 2) + (bridgeIncrement * iterations);
translate([0, 0, plateHeight]) cube([commonDimension, baseLength, commonDimension]);
for (i... | glb/cad_bd470edead69.glb |
Create a Dupont connector shell with 2 rows of 10 pin slots each. The overall shell length is 14mm. Each pin slot is based on a 2.54mm pitch with a wall thickness of 0.54mm.
For each pin slot, create a rectangular block that is hollowed out to form a cavity for the pin body, leaving one end solid to prevent the pin fr... | rows = 2;
pins = 10;
show_pin1 = true;
triangle_height = 1.5;
pin1_triangle = show_pin1?triangle_height:0;
keys = [3,9];
spacing = 2.54;
wall = 0.54;
length = 14;
function cavity(s,w) = s-w;
function shell(c,w) = c+(2*w);
pos_neg = [1,1,-1];
module triangle(p1_triangle_height,sh){
linear_extrude(p1_triangle_heigh... | glb/cad_1fe8bd386684.glb |
Create a Parametric Marker Pen Holder by constructing a solid block with a height of 60mm. The block's footprint is defined by the convex hull of a triangular arrangement of circles. Specifically, create a pattern of ten circular holes, each with a diameter of 17.2mm, arranged in a triangular lattice: one hole in the f... | $fn=40;
hole_d = 17.2;
sep = 1.5;
n = 4;
m = 1;
module lattice (n, d, sep=sep) {
a = d + sep;
for (i=[0:1:n]) {
translate([0,-i*a/2]) for (j=[0:1:i-1]) {
translate([a*i*0.83, a*j]) circle(d=d);
}
}
}
module lattice2(n,m,d,sep=sep) {
a = d + sep;
for (i=[0:1:m-1]) {
... | glb/cad_bf75762ba335.glb |
Create two parametric coin storage tubes and two matching caps designed for 1 Euro coins.
For each tube, create a hollow cylinder with an outer radius of 13.65mm and a total height of 65.32mm. The wall thickness and the bottom base should be 2mm. The inner cavity must have a radius of 12.65mm and a height of 61.32mm ... | coin_type = 0;
number_of_coins = 25;
number_of_tubes = 2;
generate_tube = 1;
generate_cap = 1;
tube_wall = 2;
clearance = 0.4;
fudge_factor = 0.975;
coins = [
["1 Euro", 23.25, 2.33],
["2 Euro", 25.75, 2.20],
["50 Euro cents", 24.25, 2.38],
["20 Euro cents"... | glb/cad_b7d727c63670.glb |
Create a rectangular name plate for an Apache case with rounded corners. The main body should be 85mm long, 50mm wide, and 2.5mm thick, with a corner radius of 7.5mm.
On the top surface, create three lines of centered text. The first line should be positioned at the top third of the plate, the second line in the cente... | text_ = "TOP LINE";
text2_ = "Middle Line";
text3_ = "last line";
font_ = "Cutive";
font_size = 10;
emboss_height = -.20;
is1800 = false;
radius= 7.5;
height = 2.5;
length = 85;
width = 50;
if (is1800==true) {
radius = 2;
height = 2.5;
length = 67;
width = 40;
}
points = [ [0,0,0], [length-2*radius,0,0], [0,wi... | glb/cad_8e57c6db9f31.glb |
Create a Parametric Antenna Adapter consisting of a tapered base and a mounting plate. Start by creating a base insert that is a square prism 44mm wide, tapering upwards to a square of 34mm over a height of 7mm. On top of this insert, place a rectangular plate with rounded corners of 4mm radius, measuring 50mm by 34mm ... | $fn = 32;
h = 26;
alu_x = 13.5;
module plate (
plate_x = 50,
plate_y = 50,
plate_h = 5,
plate_r = 4,
) {
translate([0,0,0]) linear_extrude(plate_h) minkowski() {
square([plate_x - 2*plate_r, plate_y - 2*plate_r], center=true);
circle(plate_r);
}
}
module tripod_adap... | glb/cad_cb6e55049005.glb |
Create a Raspberry Pi Model B+ case consisting of a bottom and top shell. The internal cavity for the device should be 85mm wide, 56mm deep, and 18.9mm high. The walls should be 1.8mm thick.
For the bottom shell, create a base with the internal cavity. On the left side, add a cutout for the power port (7.6mm wide by 3... | $fn=30;
tolerance = 0.20;
device_x = 85.00;
device_y = 56.00;
pcb_z = 1.50;
device_z = 17.40+pcb_z;
wall_thickness = 1.80;
split = 0.52;
friction = 3.00;
spacing = 10.00;
riser_z = 2.00;
riser_thickness = 0.00;
include <lib/case2.scad>
difference() {
union() {
case_bottom();
translate([0, device_y-12.00, 0]) cu... | glb/cad_f7315f22d308.glb |
Create a motor mount for an Integrated Parametric RepRap. Start by creating a rectangular base block with dimensions 50mm wide, 50mm deep, and 10mm high, centered on the origin.
Subtract four vertical cylindrical holes from the base to accommodate mounting screws. These holes should have a radius of 2.5mm and be posi... | include <IPR_DNA_PRE_1.inc>
mBOM();
mFrame();
*mMotor();
*for(i=[-dnaMotor_mount_spacing/2,dnaMotor_mount_spacing/2],j=[-dnaMotor_mount_spacing/2,dnaMotor_mount_spacing/2]){
translate([i,j,-10])
rotate([180,0,0])
mScrew(dnaMotor_screw_R,dnaMotor_screw_head_R,dnaMotor_screw_head_H,20);
}
*difference(){
tran... | glb/cad_2861675a7927.glb |
Create a 3Drag LED Ring holder. Start by constructing a base cylinder with a radius of 40mm and a height of 5mm. On top of this base, add a second, shorter cylinder with a height of 5mm and a top radius of 35mm, creating a tapered outer wall. Remove a central cylindrical core with a radius of 33mm from the entire heigh... | fudge = 0.1;
led_count = 2*5 + 1;
led_angle = 45;
led_radius = 2.6;
base_radius = 40;
top_radius = base_radius - 5;
inner_radius = top_radius - 2;
base_height = 5;
holder_height = 10;
holder_length = base_radius - inner_radius + 10;
holder_width = 12;
focus_dist = 30;
$fn = 360 /10;
translate ( [0, 0, base_heigh... | glb/cad_0bdf4307f9d8.glb |
Create a Customizable Column with a total height of 20mm and a width of 4mm.
Start by creating a base consisting of a centered cube with dimensions 5mm x 5mm x 1mm, positioned so its center is 0.5mm above the ground plane.
Construct the main shaft as a cylinder with a height of 20mm and a radius of 2mm, using a fac... | ratio=5;
height=20;
fluting="roman";
capital="ionic";
pi=3.1415+0;
ep=0.001+0;
width=height/ratio;
capital_height=(capital=="corinthian")
? width*1.3
: width*0.25;
column();
module column(){
bottom();
top();
shaft();
}
module top(){
translate([0,0,height-ep]){
if(capital=="corinthian"){
... | glb/cad_de1dfa7cf3bf.glb |
Create a hexagonal nut with a height of 5mm and an outer diameter of 10mm. The main body is a hexagonal prism centered on the origin. To create the chamfered effect on the top and bottom faces, subtract two rotated extrusions from the hexagonal body. Each extrusion is formed by rotating a specific polygon profile aroun... | Nut_height = 5;
Nut_dia = 10;
Chamfer = 1;
Chamfer_depth = 1;
Resolution = 50;
module hexnut
(
nut_height,
nut_radius,
chmf=0,
depth,
... | glb/cad_0fdf35da14e2.glb |
Create a pencil holder clip designed to attach to a 4mm thick frame. Start with a central rectangular base that is 8mm deep and 2mm thick. From the sides of this base, extend two symmetrical arms, each 9.6mm long and 2mm thick, angled outwards by 1 degree to create a tension clip.
Attached to the side of this clip ass... | thickness = 4.0;
penD = 6.8;
fnPenFaces = 6;
penrad=(penD+2)/2;
holderOffset = 4;
holderOffsetBar = holderOffset - 1.5;
depth = 8;
clipLength = 9.6;
wlthk = 2;
angle = 1;
fnDefault = 90;
rotate(a=90,v=[1,0,0]){
cube([wlthk,depth,thickness],true);
translate([-wlthk/2,-depth/2,(thickness/2)]){
... | glb/cad_3b33629ee9ab.glb |
Create a 3Drag Cable Clamp consisting of two mirrored bracket components. Each component has a height of 7mm and is built around a central profile width of 27.6mm.
Construct the base of each bracket using a tiered rectangular structure: a primary base of 27.6mm width and 4mm depth, with a first step of 16.3mm width an... | $fn = 360 / 10;
translate ( [-2*w0, 0, 0] ) bracket ();
translate ( [+2*w0, 0, 0] ) cableClamp ();
height = 7;
corner_radius = 3;
profile_width = 27.6;
step1_width = 2*8.15;
step1_depth = 1.15;
step2_width = 2*6.2;
step2_depth = 2.4;
base_depth = 4;
w0 = profile_width/2;
w1 = step1_width/2;
w2 = step2_width/2;
d0... | glb/cad_02422dfb2d25.glb |
Create a Cherry MX Style Switch Reference model by assembling the following geometric components.
Start with the stem: create a central cross shape using two intersecting boxes, one measuring 1.35mm x 4.5mm x 3.62mm and the other 4.5mm x 1.15mm x 3.62mm, both centered. Below this, add a base box measuring 7.2mm x 5.5... | $fn=30;
enableStem = true;
stemColor = "DodgerBlue";
enableLED = true;
ledColor = "Crimson";
enableTop = true;
topColor = "DimGray";
enableBottom = true;
bottomColor = "DimGray";
enablePlate = true;
plateColor = "Black";
enableGuides = true;
guideColor = "White";
enablePins = true;
pinColor = "Gold";
module stem(partC... | glb/cad_632ab4ff5afa.glb |
Create a Ball Vertex connector by starting with a central sphere with a radius of 10mm. To this sphere, attach three identical cylindrical bar holders. Each bar holder is a hollow tube with an outer radius of 6.74mm and an inner radius of 4.2mm. The tubes have a total length of 22mm, but the inner hole is recessed, sta... | goldenratio = 1.618;
IR = 4.2;
OR = IR * goldenratio;
Length = 22;
Radius = 10;
Depth = Radius *0.6;
tetravertex(Radius, Length, IR, OR, Depth);
module barholder(Length, IR, OR, Offset)
{
difference()
{
cylinder(r=OR, h=Length, $fn =12);
translate([0,0,Offset]) cylinder(r=IR, h=Length+0.5, $fn =8);
}
}
... | glb/cad_6726cd743c3e.glb |
Create a Grass Head Body by constructing a hollowed-out cylinder with an outer radius of 32mm and a height of 37mm. The interior should be carved out by a concentric cylinder with a radius of 30mm and a height of 35mm, positioned 2mm from the base to leave a solid bottom floor. On the exterior wall of this main body, a... | $fn = 100;
bodywidth = 32;
bodyheight = 37;
armradius = 10;
module arm()
{
translate([0,0,armradius+10]) sphere(armradius);
cylinder(armradius+10,armradius,armradius);
}
module body()
{
cylinder(bodyheight,bodywidth,bodywidth);
translate([00,bodywidth-(armradius/4),0]) arm();
translate([00,-(bodywidth-(armradius/4))... | glb/cad_943018906d95.glb |
Create a rubber pad for a motorcycle seat by constructing a series of concentric, stacked cylindrical shapes. Start with a main base cylinder that has a diameter of 25mm and a height of 9mm. On top of this base, center a smaller cylindrical protrusion with a diameter of 25mm and a height of 8mm, positioned 1mm above th... | $fn=80;
difference(){
union(){
translate([0,0,1])cylinder(d=25,h=8);
translate([0,0,0])cylinder(d2=25,d1=23,h=1);
}
union(){
difference(){
union(){
translate([0,0,0.5])cylinder(d=21,h=4);
translate([0,0,0])cylinder(d1=22,d2=21,h=0.5);
... | glb/cad_f439480e97e6.glb |
Create a furniture riser with a total height of 50mm. The main body is a rectangular block with outer dimensions of 48.5mm by 40mm (calculated as the leg dimensions plus a 2mm wrap on all sides).
The top of the riser features a wraparound lip that is 2mm thick and 5mm high, creating a recessed rectangular cavity for ... | circularCutout = true;
cutoutHeight = 2.5;
cutoutRadius = 13.0;
riserHeight = 50.0;
legWidth = 44.5;
legLength = 36.0;
wrapHeight = 5.0;
wrapWidth = 2.0;
wrapRoundedEdge = true;
cr = 30;
sr = 50;
if (wrapRoundedEdge) {
if (wrapWidth > wrapHeight * 2) {
echo("Your wrap width is greater than double the w... | glb/cad_e45d9955a11e.glb |
Create a face mask ear saver with a total length of 180mm and a central width of 18mm. The main body consists of two parallel horizontal strips, each 4mm wide, separated by a 9mm gap. These strips extend from the center toward the ends, where they transition via 45-degree diagonal angles to meet the hook sections.
At ... | width = 18;
length = 180;
strip_width = 4;
hook_width = 2;
strip_spacing = 9;
strip_height = 0.8;
hook_height = 0.8;
text_height = 0.8;
message = "CUSTOMIZE ME!";
font_size = 8.0;
horizontal_text_adjust = 0;
vertical_text_adjust = 1;
text_fit_length = false;
second_hook = true;
third_hook = true;
fourth_... | glb/cad_8d40db186303.glb |
Create a simple customizable wall hook with a total width of 10mm. Start by constructing a flat base plate that is 20mm long and 2.5mm thick. From one end of this base, extend a perpendicular arm 20mm in length and 2.5mm thick. At the tip of this arm, add a small flange that is 3mm long and 2.5mm thick, curving back to... | wall_thickness = 2.5;
width = 10;
wall_fix_height = 20;
hook_length = 20;
hook_flange_height = 3;
hook_support_circle_diameter = 8;
hook_support_circle_wall = 4.5;
round_radius = 0.8;
screw_holes = true;
screw_hole_diameter = 1.5;
$fn=100;
module polyround(radius){
offset(r=-radius)
offset(delta=radi... | glb/cad_2fd09bb42538.glb |
Create a AA battery box with a switch mount. Start with a solid rectangular base measuring 41mm in width, 56mm in length, and 5.5mm in height.
Carve out two cylindrical channels for the batteries, each with a diameter of 14mm and a length of 50mm. Position these channels so they run parallel to the length of the box,... | use <threads_2.5.scad>;
aa_battery_box_switch();
module aa_battery_box_switch(){
$fn=50;
cthick=2;
bgap=15;
tplus=1.5;
tminus=4;
lbatt=50+tplus+tminus;
dbatt=14;
lbatr=50;
gap2=1.;
union(){
translate([0,0,dbatt/2+cthick-1])difference(){
cube(size=[2*dbatt+2*cthick+bgap,lbatt+2*cthick,dbatt/4+1]);
... | glb/cad_725cab9766de.glb |
Create a AA battery holder box with a base thickness of 2mm and overall walls of 2mm. The main body is a rectangular enclosure measuring 32mm in width and 56mm in length, with an internal height of 10.5mm.
Inside the box, create two cylindrical voids to hold AA batteries. Each cylinder must have a diameter of 14mm an... | aa_battery_box();
module aa_battery_box(){
$fn=50;
cthick=2;
bgap=.5;
tplus=1.5;
tminus=4;
lbatt=50+tplus+tminus;
dbatt=14;
lbatr=50;
gap2=1.;
union(){
translate([0,0,dbatt/2+cthick-1])difference(){
cube(size=[2*dbatt+2*cthick+bgap,lbatt+2*cthick,dbatt/4+1]);
translate([cthick,cthick,-1])cube(siz... | glb/cad_2f1cd7e931eb.glb |
Create a cylindrical threaded fastener with an outer diameter of 7.6mm, a pitch of 1mm, and a total length of 15mm. From the center of this cylinder, remove a smaller concentric cylindrical hole with a diameter of 6mm and a length of 16mm, positioned 0.5mm below the top face, to create a hollow threaded sleeve. Ensure ... | use <threads_2.5.scad>
$fn=50;
difference(){
metric_thread (diameter=7.6,pitch=1,length=15);
translate([0,0,-.5])cylinder(d=6,h=16);
} | glb/cad_a2fb9355d02c.glb |
Create a hollow cylindrical support rod for a brain model stand. The main body is a cylinder with an outer diameter of 7.6mm and a total height of 60mm. This cylinder should be hollowed out by removing a central core consisting of two parts: a 4.75mm diameter hole running through the entire length (60mm) and a wider 6m... | $fn=20;
use <threads_2.5.scad>;
len=60;
difference(){
union(){
color("red"){
translate([0,0,len-.1])metric_thread (diameter=7.6,pitch=1,length=12);
}
color("green"){
cylinder(d=7.6,h=len);
}
}
union(){
translate([0,0,-.5])cylinder(d=4.75,h=len+13);
translate([0... | glb/cad_b6f4a477a3b4.glb |
Create a brain support stand base by starting with a large cylinder 122mm in diameter and 20mm high. Hollow out the center of this cylinder with a smaller 112mm diameter hole that is 25mm deep, leaving a 5mm thick floor and wall.
Integrate a battery box into the main body, positioned at coordinates [17, 50, 3]. On th... | $fn=50;
use <threads_2.5.scad>;
include <battery_holder_module.scad>;
wall_thick=5;
d=68/2;
difference(){
union(){
difference(){
cylinder(d=112+wall_thick*2, h=15+wall_thick);
translate([0,0,wall_thick])cylinder(d=112,h=25);
}
translate([17.,50,3])rotate([0,0,180])a... | glb/cad_7654d7e953e5.glb |
Create a 3D model of the Estes LTV Scout plastic parts consisting of several concentric cylindrical components and four radial fins.
Start by creating a series of thin-walled hollow cylinders (body tubes) of varying heights and diameters: the largest is 12.84mm high with an outer diameter of 1.637mm and a wall thickn... | include <Estes.scad>
include <rocketry.scad>
$fn = 100;
offset = 0;
clearance = 0.01;
shoulder_length = 0.5;
tube_color = "tan";
slip = 0.003;
shrink = 0.008;
module body_tube (h, diameter, wall)
{
difference () {
cylinder (h=h, r=diameter/2);
translate ([0,0,-0.01])
cylinder (h=h + 0.02, r=diameter/2 - wall)... | glb/cad_58758da83e19.glb |
Create a customizable lantern by constructing a hollow spherical shell with an outer radius of 50mm and a wall thickness of 2mm. The sphere should be open at the top, with a cylindrical section removed from the center to create a top opening with a radius of approximately 27mm.
Carve a decorative mesh into the shell b... | Lantern_radius=50;
Lantern_thickness=2;
Mesh_thickness=35;
Angle=60;
Number_of_hole_lines=30;
Number_of_holes=5;
Hole_radius=2;
Type_of_hole=8;
Candle_holder_radius=.3*Lantern_radius;
Inner_lantern_radius=Lantern_radius-Lantern_thickness;
Base_hole_radius=5*Lantern_radius;
Top_hole_radius=.56*Lantern_radius-... | glb/cad_63ef29e0ef84.glb |
Create a flat plate by combining two centered rectangular prisms, one measuring 80 by 120 by 10 mm and the other 120 by 80 by 10 mm, both aligned on their Z-axis to form a cross-shaped base with a total thickness of 10 mm. Remove a central vertical cylinder with a radius of 12 mm and a height of 20 mm. Additionally, re... | $fn=100;
color([1,0.7,0.5]){
for(j=[0:90:360]){rotate([0,0,j])translate([40,40,-5]){
cylinder(h=10,r=20);}}
difference() {union(){
cube(size = [80,120,10], center=true);
cube(size = [120,80,10], center=true);}
union(){cylinder(h=20,r=12,center=true);
for(i=[0:120:360]){rotate([0,0,90-i])translate([30,0,-7]){
cylinder(h... | glb/cad_fa4a1609906e.glb |
Create a Prusa i3 Rework hotend holder. Start with a main body that is a rectangular block approximately 88mm wide, 95.5mm deep, and 34mm high. From this block, remove several sections to create a complex housing: a large central rectangular cutout of 58mm by 12.5mm by 36mm, and a side cutout of 26mm by 54mm by 36mm.
... | fn = 30;
module half_hole() {
difference() {
translate([-5,29.5,0]) {
cube([4,7.5,14], true);
}
translate([-7.5,29.5,-5]) {
union() {
translate([0,0,0]) rotate(-60, [1,0,0]) translate([0,0,-3]) cube([5,7.5,10], false);
mirror([0,1,0]) translate([0,0,0]) rotate(-60, [1,0,0]) translate([0,0,-3]) cub... | glb/cad_2054582d64dc.glb |
Create a toothbrush and tube holder consisting of a circular cap and several vertical conical sleeves. Start with a base cap that has an outer diameter of 76mm and a height of 4mm, with a recessed inner cylinder of 72mm diameter for the first 2mm of its height.
Arrange six vertical holders around the center of the cap... | module completeholder(){
cap_outer_diameter = 76;
glass_inner_height = 80;
bottom_gap = 10;
number_of_toothbrushes = 4;
number_of_tubes = 2;
toothbrush_tophole_diameter = 10;
tube_tophole_diameter = 20;
wallthickness = 2;
dripping_hole_diameter = 4;
difference() {
union() {
cap(cap_outer_diameter);... | glb/cad_81a89ee74f2a.glb |
Create a display mount consisting of a base plate and two upright support plates. Start with a base plate that is 116mm wide, 85mm deep, and 10mm thick. The front corners of the base should be rounded with a 20mm radius.
On the right side of the base, create a vertical support plate that is 38mm wide, 40mm deep, and ... | $fn = 100;
piastra_X = 38;
piastra_Z = 40;
piastra_raggio = 5;
spessore = 7;
spessore_base = 10;
altezza_supporto_diagonale = 20;
base_X = 140-24;
base_Y = 85;
base_raggio = 20;
altezza = 29;
diam_foro = 5.5;
diam_foro_allargato = 11;
spessore_foro_allargato = 2;
color("green") base();
color("red") translate([0,0... | glb/cad_bbb244c73cc6.glb |
Create an ETA Robot reduction consisting of a circular base and a central column with radiating blades. Start by creating a flat circular base with a radius of 12.2mm and a height of 2mm. Centered on this base, place a cylinder with a radius of 7.5mm and a total height of 9mm. Around this central cylinder, add three re... | silaPodlozky = 2;
pocetLopatek = 3;
vyskaLopatky = 7;
silaLopatky = 5;
mezeraNaMaticku = 0.5;
difference(){
union(){
cylinder(r=24.4/2,h=silaPodlozky,$fn=50);
cylinder(r=15/2,h=vyskaLopatky+silaPodlozky,$fn=50);
for(i=[1:pocetLopatek]){
rotate([0,0,i*(360/pocetLopatek)])
translate([-silaLopatky/2,2,0])... | glb/cad_8fd657a774a7.glb |
Create a Maison model consisting of a house and a garage situated on a flat rectangular terrain measuring 27.33mm by 27.17mm with a thickness of 0.1mm.
Position the house at a distance of 5mm from the south and east edges of the terrain. The house consists of a grey rectangular base measuring 8.58mm by 10.98mm with a... | tla=27.33;
tlg=27.17;
dsud=5;
dest=5;
mla=8.58;
mht=1.5;
mhm=2.5;
mlg=10.98;
mhv=0.6;
gla=10;
glg=4.6;
ghm=mhm+mhv;
gdeltah=-0.32;
crepigris=[0.6,0.6,0.6];
crepijaune=[1.0,0.9,0.4];
tuile=[0.8,0.2,0.0];
herbe=[0.0,0.8,0.0];
module maison()
{
color(crepigris) cube([mla,mlg,mhv]);
translate([0,0,mhv])
color(crepijau... | glb/cad_7f20c13ad62f.glb |
Create a network cable holder consisting of a base plate and a snap-in clip for each cable. For two cables, create two identical sets of these components.
The base plate is a rectangular block 30mm long, 11mm wide (calculated as the 7mm cable diameter plus 2mm wall thickness on each side), and 4mm thick. The plate fea... | d_kabel = 7;
wandstaerke = 2;
abstand_grundplatten= 4;
r_abrundung=2;
Anzahl_Kabel = 2;
teil=9;
d_schraube=4.1;
d_kopf=8.5;
h_kopf=3;
h_kopf_versenkung=1;
toleranz_Kabel = 0.2;
$fn=50;
include <..\_module.scad>;
breite=d_kabel+wandstaerke*2;
if (teil==1||teil==9) {
for ( y = [0:Anzahl_Kabel-1]) {
translate([0,... | glb/cad_293b5778e4be.glb |
Create a rectangular plaque measuring 50mm by 70mm with a thickness of 0.5mm. Centered on the top surface of this plaque, add a complex embossed design with a height of 1.5mm (total thickness at the highest points being 2mm).
The embossed design consists of three main sections of stylized text and a central circular m... | fudge = 0.1;
module Motivo(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
difference()
{
linear_extrude(height=h)
polygon([[-222.252685,352.450585],[-222.796499,349.055935],[-223.383895,347.282785],[-225.435940,346.712098],[-229.501165,346.208385],[-235.000005,345.752385],[-235.000005,332.876... | glb/cad_64285e388b3d.glb |
Create a Raspberry Pi Mobile Terminal case designed to hold an LCD screen and driver board.
Construct the main chassis using a series of rectangular blocks and tabs. Create two side walls, each 50mm wide, 10mm deep, and 12mm high. Position the left wall at [3, 0, 0] and the right wall at [119, 0, 0], with internal cu... | union()
{
difference()
{
translate([3,0,0])cube([50,10,12]);
translate([3,6,3])cube([50,7,6.3]);
}
difference()
{
translate([0,0,0])cube([10,107,12]);
translate([3,3,3])cube([7,107,6.3]);
}
difference ()
{
translate([0,0,-2])rotate(a=[0,0,0]){cube([84,107,5]);}
translate([53,0,-2])rotate(a=[0,0,... | glb/cad_2d70c532f65d.glb |
Create a set of concentric, hollow square frames for bed tramming. The largest square should have an outer dimension of 260mm by 260mm. Each square frame must have a wall thickness of 0.8mm and a height of 0.4mm.
Generate a series of these squares, decreasing the size of each subsequent inner square by 30mm (15mm spa... | max_square_size = 260;
min_square_size = 20;
square_spacing = 15;
line_width = 0.80;
line_height = 0.40;
module one_square(square_size) {
if (square_size >= min_square_size) {
linear_extrude(height = line_height, center = true) {
difference() {
square(size = square_size, center ... | glb/cad_0d658145d5b3.glb |
Create a customizable shelf hook with a total width of 20mm. Start with a solid rectangular block that is 45mm long (depth plus wall thickness) and has a height equal to three times the wall thickness plus the shelf thickness.
Cut a rectangular slot through the center of the block to accommodate a shelf, with the slo... | hook_width = 20;
wall_thick = 5;
$fn = 75;
shelf_thick = 10;
depth = 40;
arc = 45;
nub_type = "round";
nub_h = 5;
r = depth/sin(arc);
difference(){
cube([depth+wall_thick,3*wall_thick+shelf_thick+r,hook_width]);
translate([wall_thick,wall_thick, -1])cube([depth+1, shelf_thick, hook_width+2]);
tran... | glb/cad_896aa9f84709.glb |
Create a parametric door catch consisting of a spring clip and a mounting base.
First, construct the spring clip by creating a hollow cylinder with an outer diameter of 20.18mm and an inner diameter of 18.5mm, both 10mm high. Cut a rectangular slot through the center of the cylinder, 18.5mm wide and 9.25mm thick, to ... | include <casegen.scad>;
$fn=64;
mainDia=18.5;
minDia=mainDia*0.5;
springWall=mainDia*0.08;
screwDia=5;
screwHeadDia=9;
screwHeadHeight=2.5;
baseWall=4;
baseWidth=screwHeadDia+(2*baseWall);
baseLen=(mainDia*2)+(2*baseWall);
baseHeight=10;
angle=40;
screwRecess=baseHeight/4;
pinLen=mainDia*0.95;
jigHeight=baseWall;
tran... | glb/cad_7dfa5a455b67.glb |
Create three personalized name tags. Each tag consists of a flat rectangular base with a thickness of 1.1mm. On the left side of each base, integrate a circular ring with an outer diameter equal to the base height and an inner hole with a diameter 4.8mm smaller than the outer diameter, creating a thin hoop. Centered on... | $fn=80;
p = 1.1;
e = 0.01;
module winietka(imie, w, h) {
color("gray")
linear_extrude(height=2)
text(imie, font="Fugaz One", spacing=0.9, valign="center", halign="center");
color("blue")
cube([w,h,p], center=true);
color("blue")
translate([-w/2,0,0])
difference() {
cylinder(... | glb/cad_2820f3f7e437.glb |
Create an Adjustable Blower-Fan Mount consisting of a conical duct and a mounting base.
Start by creating a hollow funnel with a height of 40mm. The outer shape is a truncated cone that tapers from a circular base with a radius of 20.625mm down to a top radius of 15.5mm. The wall thickness of this funnel is 2mm. To c... | $fs=0.5;
$fa=5;
module fan_mount(panel_thickness, mounting_hole_distance) {
fan_dia = 41.25;
screw_dia = 3;
nut_dia = 5.5;
nut_thickness = 2.5;
module nuttrap(nutsize, length) {
cylinder(r = nutsize / cos(180 / 6) / 2 + 0.05, length, $fn=6);
}
union() {
difference() {
union() {
hull() {
for (... | glb/cad_e810e0d31571.glb |
Create a bracelet measurement tool consisting of a thin-walled cylinder resting on a flat circular base. Start by creating a solid circular base with a radius of 43.47mm and a height of 1.2mm. Centered on this base, construct a hollow tube with an outer radius of 33.43mm and an inner radius of 32.43mm, giving the wall ... | inner_text="21";
outer_circumference = 210;
thickness = 1;
spacer =10;
overall_height = 20;
base = 1.2;
accuracy = 256;
outer_radius = outer_circumference/(2*3.14);
module generate_text(text, font, h) {
linear_extrude(height=h)
text(text, font=font);
}
union() {
difference() {
linear_extrude... | glb/cad_03648b75f93a.glb |
Create a hex hole handle by constructing a base plate and a vertical grip. Start with a flat base that is 15mm thick. The base is formed by the convex hull of two circles: a larger circle with a 20mm diameter at one end and a smaller circle with a 10mm diameter at the other, separated by a length of 75mm. At the center... | f_circle_size = 20.0;
s_circle_size = 10.0;
h_length = 75.0;
h_thikness = 15.0;
h_g_d = 10.0;
h_d_l=80.0;
h_d=16.0;
if(f_circle_size<h_d)
{
f_circle_size=h_d+5;
draw(f_circle_size,s_circle_size,h_length,h_thikness,h_g_d,h_d_l,h_d);
}else{
draw(f_circle_size,s_circle_size,h_length,h_thikness,h_g_d,h_d... | glb/cad_b2153502c659.glb |
Create a Wire Access Grommet consisting of two separate parts: a grommet body and a lid.
First, construct the grommet body. Create a base cylinder with a diameter of 31mm (the outer diameter of 25mm plus a 3mm brim on all sides) and a height of 3mm. From the center of this base, remove a concentric cylinder with a dia... | Grommet_Outer_Diameter = 25;
Grommet_Plate_Thickness = 3;
Grommet_Wall_Thickness = 2;
Grommet_Wall_Depth = 20;
Brim = 3;
Lid_Plate_Thickness = 3;
Lid_Overlap = 7;
Lid_Wall_Thickness = 3;
Top_Text = "";
Font_Size = 5;
Letter_Spacing = 1.3;
Cable_Bushing = 6;
Cable_Position = "center";
build_plate_selec... | glb/cad_f6ad56ee24ce.glb |
Create a Customizable Heart Chain consisting of 15 interlocking heart-shaped links arranged in a closed loop.
Each link is formed by two heart shapes, each approximately 20mm in size. To create a single link, position one heart flat and a second heart rotated -110 degrees along the X-axis, overlapping them so they in... | Type=1;
Links=15;
module HEARTS(){
module HEARTHALF(h){
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-14.571719,-20.933442],[-11.207616,-24.148396],[-7.888872,-26.422799],[-4.654128,-27.828605],[-1.542030,-28.437764],[1.408781,-28.322229],[4.159661,-27.553951],[6.671966,-26.... | glb/cad_e54df8e3af00.glb |
Create a power supply panel with a main rectangular body measuring 113mm wide, 50mm high, and 10mm deep. The structure consists of a thin front face (2mm thick) and a bottom base (10mm thick), connected by side walls (10mm thick) and a top frame (29mm thick) that leaves a central open cavity of 110mm by 22mm.
Within t... | $fn=16;
module panel(){
difference(){
union(){
translate([0,0,0]) cube([113,2,50]);
translate([0,0,0]) cube([113,10,2]);
translate([1.5,0,47.5]) cube([110,29,2.5]);
translate([0,0,0]) cube([2,10,50]);
translate([111,0,0]) cube([2,10,50]);
translate([1.5,0,7.5]) cube([2,22,42.5]);
translat... | glb/cad_1f220fe5b953.glb |
Create a Sci-Fi Visor light pipe. Start by creating a semi-circular ring with an inner radius of 72.5mm and an outer radius of 80mm, and a total height of 34mm. This ring should be a 180-degree arc.
Within this arc, create 15 rectangular cutouts for LEDs. Each cutout must be 5.5mm wide and 1.5mm deep, spaced evenly al... | $fa=5;
inner_r = 72.5;
outter_r = 80;
height = 2;
led_width = 5.5;
number_leds = 15;
led_depth = 1.5;
pcb_width = outter_r - inner_r;
pipe_height = 32;
pipe_relief = 5;
module arc( height, depth, radius, degrees ) {
render() {
difference() {
rotate_extrude($fn = 100)
transl... | glb/cad_bc2604d75e7b.glb |
Create a Anycubic Mono X spacer by starting with a rectangular block that is 8mm long, 13mm wide, and 1mm thick. Remove two circular holes from this block, each with a diameter of 4mm. Position the first hole so its center is 4mm from the 13mm edge and 3mm from the 8mm edge. Position the second hole so its center is 4m... | shimThick = 1;
shimLength = 8;
shimWidth = 13;
holeDiam = 4;
$fn=100;
difference(){
cube([shimLength ,shimWidth ,shimThick]);
translate([4 ,3]) cylinder(h = shimThick, d = holeDiam);
translate([4 ,10]) cylinder(h = shimThick, d = holeDiam);
} | glb/cad_aec20a860d0f.glb |
Create a Christmas Star composed of a central core and six radiating conical points. Start by creating a central sphere with a radius of 50mm, but crop it into a cube with a side length of 75mm so that the sphere is flattened on all six sides.
From the center of this core, extend six identical conical spikes. Each sp... | module star_cone(){
difference(){
cylinder(h=100, r1=35, r2=5);
translate([0, 0, -5]) {
cylinder(h=110, r1=25, r2=3);
}
}
translate([0, 0, 115]) {
star_tip();
}
}
module star_tip(){
difference(){
union(){
translate([0, 0, -15]) {
cylinder(h=25, r1=5, r2=3.75);
}
translate([10, 0, 0]) {
rotate([0, 270.0])
c... | glb/cad_781a690061d8.glb |
Create a Tetrix to Hitec Standard Servo Thru Mount consisting of two primary components: a Tetrix base and a servo base.
First, construct the Tetrix base with a height of 11mm. This part features a central cylindrical hole with a radius of 12.5mm. Around this center, place four mounting holes with a radius of 2.25mm, ... | hFullBase=24;
hTetBase=11;
hServoBase=hFullBase-hTetBase;
hServoPlate=3.5;
tetrixBase();
translate([30,0,-hTetBase])
servoBase();
module servoBase() {
translate([0,0,hTetBase])
difference() {
union() {
hull() {
translate([5,13+44/2-13+1,0])
cylinder(h=hServoPlate, r=2.25+2, $fn=100);
translate([-5,13+44/2-13+... | glb/cad_c884604f2399.glb |
Create an Outlet Charging Tray designed as a foldable shelf. Start with a central rectangular base measuring 26mm by 35mm with a thickness of 1mm. Attach a larger rectangular platform to the top edge of this base, measuring 60mm by 55mm with a thickness of 1.5mm. Extend two symmetrical arms from the sides of the base; ... | $fn=50;
difference() {
union(){
cube([26,35,1]);
translate([-17,35,0]) cube([60,55,1.5]);
translate([26,0,0]) rotate([0,0,29]) cube([64,10,1.5]);
translate([4.85,8.73,0]) rotate([0,0,-180-29]) cube([64,10,1.5]);
translate([-10,82,1.5])sphere(r=5);
translate([36,82,1.5])sphere(r=5);
}
translate([13,6,0])c... | glb/cad_6dc6cdff7bb4.glb |
Create an X-carriage for a Mendel Prusa v2. Start with a central base block 35mm wide, 50mm deep, and 5mm thick. Add a rectangular section 35mm wide, 20mm deep, and 5mm thick centered at the top. Integrate a pentagonal prism with a radius of 35mm and a height of 5mm, rotated 15 degrees on the Z-axis. Include a hexagona... | include <configuration.scad>
snap_in_mount = false;
linear=true;
use <bushing.scad>
module mountingholes(){
translate(v = [0, -25, -5]) polyhole(m3_diameter,10);
translate(v = [0, -25, 5]) cylinder(h = 9, r=m4_nut_diameter/2, $fn=6, center=true);
translate(v = [0, 25, -5]) polyhole(m3_diameter,10);
... | glb/cad_3f0c5a3ddbca.glb |
Create an IKEA LED Bar Holder Clip starting with a rectangular base plate measuring 20mm by 30mm with a thickness of 1.5mm. Centered on this base, construct two symmetrical upright support walls. Each wall is formed by a central rectangular block 1.5mm wide, 20mm long, and 5mm thick. To these blocks, attach two triangu... | $fn = 24;
groundplate_x = 20;
groundplate_y = 30;
thickness = 1.5;
if(screwhole) {
difference() {
clip();
cylinder(r=screwhole,h=thickness+1);
translate([0,0,(thickness/2*-1)])
cylinder(r=screwhole_inner,h=thickness+1);
}
} else {
clip();
}
module clip() {
translate([0,0,0])
cube([groundplate_x, groundp... | glb/cad_35cfb7d69b35.glb |
Create a Wade-type Extruder drive gear by combining a gear mesh with a cylindrical collar. Start with an 11-tooth, 17-pitch evolute gear. Add a solid cylinder with a radius of 5.2mm and a height of 20mm, centered vertically at 10mm, to form a collar around the gear. Finally, bore a concentric hole through the entire as... | difference () {
union () {
import_stl("11t17p.stl", convexity = 5);
translate ([0,0,10]) cylinder(h=20,r=5.2,center=true);
}
cylinder(h=50,r=2.55,center=true);
} | glb/cad_ff526fb775fc.glb |
Create an under-shelf mount for a USB hub by constructing a rounded rectangular shell with a hollow center. The main body should have an outer width of 130mm, a depth of 64mm, and a height of 30mm. The corners of this outer shell must be rounded with a radius of 1mm.
Carve out a central rectangular cavity to hold the ... | eps=1e-3;
$fn=60;
depth = 60;
width = 100;
height = 28;
edge = 10;
wall = 2;
leftright = 15;
difference()
{
translate([-(width+2*leftright)/2+1,-(depth+2*wall)/2+1,0+1])
minkowski()
{
cube([(width+2*leftright)-2,(depth+2*wall)-2,(height+wall)-2]);
sphere(r=1,$fn=30);
}
un... | glb/cad_c91289738027.glb |
Create an under-shelf mount for a USB hub. Start with a main rectangular block that is 156mm wide, 95mm deep, and 37mm high. Round the exterior vertical edges of this block with a 1mm radius.
Hollow out the center of the block to create a cradle. The interior cavity should be 126mm wide and 91mm deep, leaving a wall ... | eps=1e-3;
$fn=60;
depth = 91;
width = 126;
height = 35;
edge = 20;
wall = 2;
leftright =15;
screw = 10;
difference()
{
translate([-(width+2*leftright)/2+1,-(depth+2*wall)/2+1,0+1])
minkowski()
{
cube([(width+2*leftright)-2,(depth+2*wall)-2,(height+wall)-2]);
sphere(r=1,$fn=30);
}
union()
{
... | glb/cad_9b9eef5bf8ba.glb |
Create an under-shelf mount for a USB hub by constructing a hollowed-out rectangular block. Start with a main outer body that is 175mm wide, 114mm deep, and 35mm high. Apply a 1mm fillet to all exterior edges.
Carve out a central rectangular cavity to create the hub space, leaving walls that are 2mm thick. This inter... | eps=1e-3;
$fn=60;
depth = 110;
width = 145;
height = 33;
edge = 20;
wall = 2;
leftright =15;
screw = 10;
difference()
{
translate([-(width+2*leftright)/2+1,-(depth+2*wall)/2+1,0+1])
minkowski()
{
cube([(width+2*leftright)-2,(depth+2*wall)-2,(height+wall)-2]);
sphere(r=1,$fn=30);
}
union()
{
... | glb/cad_0d2db9c6c8f8.glb |
Create an under-shelf mount for a USB hub by starting with a main rectangular body that is 200mm wide, 74mm deep, and 22mm high. The outer edges of this body should be rounded with a radius of 1mm.
Hollow out the center of the body to create a cradle, leaving a wall thickness of 2mm. The interior cutout should be 170... | eps=1e-3;
$fn=60;
depth = 70;
width = 170;
height = 21;
edge = 10;
wall = 2;
leftright =15;
screw = 10;
difference()
{
translate([-(width+2*leftright)/2+1,-(depth+2*wall)/2+1,0+1])
minkowski()
{
cube([(width+2*leftright)-2,(depth+2*wall)-2,(height+wall)-2]);
sphere(r=1,$fn=30);
}
union()
{
... | glb/cad_ceabe9a55bb1.glb |
Create an under-shelf mount for a USB hub. Start with a main rectangular body that is 130mm wide, 64mm deep, and 30mm high. The corners of this body should be rounded with a 1mm radius.
Carve out a central rectangular void from the bottom and front, leaving a wall thickness of 2mm on the sides and back. This void sho... | eps=1e-3;
$fn=60;
depth = 60;
width = 100;
height = 28;
edge = 10;
wall = 2;
leftright =15;
screw = 10;
difference()
{
translate([-(width+2*leftright)/2+1,-(depth+2*wall)/2+1,0+1])
minkowski()
{
cube([(width+2*leftright)-2,(depth+2*wall)-2,(height+wall)-2]);
sphere(r=1,$fn=30);
}
union()
{
... | glb/cad_7e31e9b0a076.glb |
Create an under-shelf mount for a USB hub by starting with a solid rectangular block measuring 105mm in length, 46mm in width, and 20mm in height. Apply a 1mm fillet or radius to all exterior edges of this block to soften the corners.
Carve out a central rectangular cavity from the bottom of the block to create a cra... | eps=1e-3;
$fn=60;
difference()
{
translate([-105/2+1,-46/2+1,0+1])
minkowski()
{
cube([105-2,46-2,20-2]);
sphere(r=1,$fn=30);
}
union()
{
translate([-84/2,-40/2,-eps])
cube([84,40,19]);
translate([-74/2,-60/2,-eps])
cube([74,60,19]);
translate([-95/2,0,0])
union()
{
... | glb/cad_21de465bafb5.glb |
Create a tripod and M12 lens mount for a PS3Eye camera. Start with a square base 16mm wide and 16mm long with a height of 6mm. Hollow out the center of this base, leaving a wall thickness of 3mm. Add two cylindrical flanges with a radius of 2mm and a height of 3.5mm, positioned 18mm apart from each other centered on th... | include <MCAD/units.scad>
include <threads.scad>
base_size = 16;
base_height = 6;
base_cavity_margin = 3;
thread_diameter = 12.1;
thread_pitch = 0.5;
thread_margin = 2;
mount_height = 6.5;
side_hole = mount_height - 3.5;
hole_distance = 18;
hole_diameter = 1.2;
hole_style = 1;
hole_height = 3.5;
miniconnector_x = 9... | glb/cad_3bbe14e46aa7.glb |
Create a Light Stake Extension consisting of a main shaft and a hollow connector head. Start by creating a square shaft with a width and depth of 14mm and a height of 70mm. At the top of this shaft, add a transition piece that is 2mm high, shaped as a square frustum that flares outward from the 14mm shaft to a 19mm squ... | innerShaftWidth = 14;
innerShaftRadius = innerShaftWidth / 2;
innerShaftHeight = 70;
insertWidth = 11;
insertHeight = 18;
connectorWidth = 19;
connectorHeight = 19;
connectorRadius = connectorWidth / 2;
connectorShellWidth = 2;
connectorCutout = connectorWidth - (connectorShellWidth * 2);
connectorOffset = -(connect... | glb/cad_2628e4c069e7.glb |
Create a screwable peanut can lid consisting of two concentric parts. First, construct an outer ring with a height of 10mm, an outer diameter of 75mm, and an inner diameter of 70.6mm. Within this ring, integrate two internal female M70x6 screw threads, each spanning a quarter turn, positioned such that one is at the to... | use <threadlib/threadlib.scad>
$fn=200;
od = 75;
id = 70.6;
icd = 62.2;
module outerpart() {
difference() {
cylinder(10, od/2, od/2);
cylinder(10, id/2, id/2);
}
translate([0,0,5]) {
nut("M70x6", turns=1/4, Douter=id/2);
rotate([0,0,180]) nut("M70x6", turns=1/4, Douter=id/2);
}
... | glb/cad_71f9c19d3167.glb |
Create a shock mount bushing by starting with a solid cylinder that has an outer diameter of 18mm and a height of 23mm. Remove a central vertical hole with a diameter of 8mm that runs through the entire length of the cylinder. To create the recessed interior, remove a second, larger cylinder from the top of the part; t... | bushingWidth = 46;
outerDiameter = 18;
boltDiameter= 8;
shockholeDiameter= 11;
shockstockWidth= 14;
module halfBushingRaw()
{
difference()
{
color("Gold")
cylinder(h=bushingWidth/2, d=outerDiameter, center = false);
cylinder(h=bushingWidth*1.2, d=boltDiameter, center = ... | glb/cad_4a1b474bfe2e.glb |
Create a Pocket Tactics terrain lattice consisting of a honeycomb grid of hexagonal cells. Each individual cell is based on a hexagon with a radius of 15.6mm. The base of each cell is a flat hexagonal ring, 1mm thick, created by subtracting a central hexagon with a radius of 15.6mm from a larger hexagon with a radius o... | quality = "high";
MAX_EDGES = "high"==quality ? 180 : 90;
$fs = "high"==quality ? 0.3 : 5;
$fa = 360 / MAX_EDGES;
tile_radius = 15;
y_arm_width = 2;
y_arm_length = 4;
clearance = 0.6;
cell_radius = tile_radius + clearance + y_arm_width / 2;
q = 0.02;
module hexagon( r=1 )
{
dx = sin(60) * r;
dy = cos(60) * r;... | glb/cad_4f2b529acafe.glb |
Create a gas grill handle consisting of a cylindrical base and a rectangular top grip.
Start with a cylindrical connector that has an outer diameter of 12.4mm and a height of 11.1mm. Bore a concentric hole through this cylinder with a diameter of 6.2mm and a depth of 7.4mm. To lock the handle onto a spindle, create a... | spindleDiam = 6.2;
spindleCutWith = 4.9;
spindleHeith = 7.4;
testFit = "no";
numberOfFaces = 300;
spindleRad = spindleDiam / 2;
handleSpindleOutDiam = spindleDiam * 2;
handleHeith = 7;
handleOutDiam = 35;
handleTopLenght = 38;
handleWith = 10;
handleTopHeith = 14;
handleBrimDeph = 1;
dotDeep = 1;
module connect... | glb/cad_9a4a7b23a144.glb |
Create a simple rectangular box with outer dimensions of 150mm in length, 70mm in width, and 60mm in height. The box should be hollowed out to create an open container, leaving a wall thickness of 2mm for all four sides and a bottom thickness of 2mm for the base. The interior cavity should start 2mm from the bottom and... | width = 70.0;
height = 60.0;
length = 150.0;
wall_thikness=2.0;
bottom_thikness=2.0;
difference() {
cube([length,width,height]);
translate([wall_thikness,wall_thikness,bottom_thikness]){
cube([length-wall_thikness*2,width-wall_thikness*2,height]);
}
} | glb/cad_d8402eca3620.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.