Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a rectangular case for an rx5808 Diversity Receiver board. The main outer body is a centered box with a width of 104mm, a depth of 64mm, and a height of 18mm, featuring wall thicknesses of 2mm. Hollow out the center to create a board cutout measuring 102mm by 62mm with a depth of 16mm.
On the bottom face, creat... | width = 100;
depth = 60;
height = 14;
wall=2;
iscpwidth=11;
iscpheight=17;
isp_width_distance=35;
isp_height_distance=11;
difference() {
union() {
translate([0,0,-((height+2)+(wall))/2]) { cube([(width+2)+(wall*2), (depth+2)+(wall*2), (height+2)+(wall)], true); }
}
translate([0, 0, -((h... | glb/cad_36026d4569d8.glb |
Create a 3D model of a "No more GLUE Stick" holder. Start by constructing a central base using a hull operation that connects a rectangular block of 60mm by 2mm by 15mm with a smaller rectangular block of 15mm by 2mm by 25mm.
Add two vertical cylinders with a diameter of 15mm and a height of 12mm, positioned symmetri... | $fn = 60;
Pully_XY = 16;
Pully_Z = 25;
TW = 78.5;
info = false;
cones = [
[0,90,0, 5, 3, 8],
[0,82,0, 11, 3, 25],
[0,49,0, 11, 3, 25],
[0,40,0, 7, 3, 12],
[0,15,0, 7, 3, 12],
[0, 5,0, 7, 3, 25],
[+4, 2,0, 4, 1, 25],
[-4, 2,0, 4, 1, 25],
[0, 5,0, 7,... | glb/cad_1be61da1e310.glb |
Create a hex key holder by starting with a solid rectangular base measuring 14.2mm wide, 6.6mm deep, and 10.1mm high. From this base, remove two vertical hexagonal holes to create slots for the tools. The first hexagonal hole should have a diameter of 2.8mm and be positioned 4mm from the left edge and 3mm from the fron... | extra=0.1;
H=9;
L=4.5+extra;
B=12.1+extra;
union(){
rotate([0,0,90])
translate([24,-(L+2),0])
difference()
{
cube([B+2,L+2,H+1]);
translate([4,3,0])
cylinder(r=(2.8/2),$fn=6, h=15);
translate([10,3,0])
cylinder(r=(3.4/2),$fn=6, h=15);
}
difference() {
union() {
cube([4,24,10]);
translate([8, 15,0]) cylinder(h =... | glb/cad_8e54aff4c2fc.glb |
Create a minifig-sized coffin consisting of a main body and a separate lid, both based on a hexagonal profile. For the main body, create a hexagonal prism with a diameter of 60mm and a height of 20mm. Hollow out the center of this prism to create a container with a base thickness of 2mm and wall thicknesses of 4mm, lea... | module hexagon(size)
{
scale([size/6, size/6, 0])
polygon(
points=[
[1,-3],
[2,1],
[1,3],
[-1,3],
[-2,1],
[-1,-3]
],
paths=[
[0,1,2,3,4,5]
]
);
}
module coffinShape(csize, cheight)
{
linear_extrude(height=cheight)
hexagon(csize);
}
size=60;
height=20;
wall = 4;
base = ... | glb/cad_6333dd48f320.glb |
Create a shelf bracket filament spool holder consisting of a vertical backplate and a supporting arm.
Start with a vertical backplate that is 65mm high and 10mm wide with a thickness of 1.8mm. At the bottom and at a height of 50mm above it, integrate two hooks designed to fit into a slotted shelf standard. Each hook ... | arm = "true";
roll = "";
spacer = "";
height_backlatch = 65;
height_arm = 30;
arm_angle = 9;
distance_hooks = 50;
diameter_roll = 50;
width_roll = 55;
thickness = 1.8;
tolerance=0.2;
spoolcarrier = 10;
spacermax=4;
spacermin=2;
cutoff_backlatch = 6;
lengte_arm = 2*width_roll+3*10;
uitsnede_spoolcarrier = ... | glb/cad_ce2fcaa8f941.glb |
Create a tool holder consisting of a C-shaped mounting clip and an attached storage pocket.
First, construct the mounting clip to fit a rectangular brace. The clip has a height of 7mm and a wall thickness of 1.6mm. The inner dimensions of the clip opening are 60.5mm in width and 50.4mm in depth. The clip is formed by... | $fn = 50;
ZX = 60 + 0.5;
ZY = 50.4 + 0.7;
ZZ = 7;
THCK = 1.6;
HP = 0.8;
ZXTHCK = 1.5 + 0.1;
ZYTHCK = 1.4 + 0.1;
ZZP = 70;
ZZFP = 70;
ZXP = 12;
ZXSH = 16;
ZXCSH = 3;
ZYCSH = 25;
module zClip() {
union() {
translate([-ZX-THCK, -THCK, 0]) {
cube([ZX+THCK*2, THCK, ZZ]);
cube([THCK, ZXTHCK+THCK*2, ZZ]);
t... | glb/cad_ed4c666eaaa9.glb |
Create a side pocket tool holder consisting of a C-shaped mounting clip and an attached storage bin.
First, construct the mounting clip to fit a rectangular brace. The clip's profile is 7mm thick. The front section is a slab 60.4mm wide and 1.6mm thick. The side sections are 51.6mm deep and 1.6mm thick. Connect these... | $fn = 50;
ZX = 60 + 0.4;
ZY = 50.4 + 0.6;
ZZ = 7;
THCK = 1.6;
HP = 0.8;
ZXTHCK = 1.5 + 0.1;
ZYTHCK = 1.4 + 0.1;
ZZP = 70;
ZZFP = 70;
ZXP = 12;
ZXSH = 16;
ZXCSH = 3;
ZYCSH = 25;
module zClip() {
union() {
translate([-ZX-THCK, -THCK, 0]) {
cube([ZX+THCK*2, THCK, ZZ]);
cube([THCK, ZXTHCK+THCK*2, ZZ]);
t... | glb/cad_28a8bb938d3c.glb |
Create a Prusa i3 RAMPS mount by starting with a rectangular block measuring 53.5mm in length, 12mm in width, and 15mm in height. At each end of the block, centered 2.6mm from the short edges and 3mm from the center line of the width, add a cylindrical pin with an outer radius of 2.7mm and an inner hole radius of 1.7mm... | $fn=64;
module pin (){
difference (){
cylinder (r=2.7, h=5, center=true);
cylinder (r=1.7, h=5, center=true);
}
}
module cable_hole() {
rotate ([-90,0,0])cylinder (r=5, h=40, center=true);
translate ([0,0,-5])cube ([10,40,10], center=true);
}
difference () {
cube ([53.5, 12, 15]);
... | glb/cad_c34bd12ce963.glb |
Create a Prusa i3 RAMPS mount by starting with a rectangular block measuring 53.5mm in length, 12mm in width, and 15mm in height. At each end of the block, centered along the width, add a cylindrical pin that is 5mm tall with an outer radius of 2.7mm and a concentric inner hole with a radius of 1.7mm. Position these pi... | $fn=64;
module pin (){
difference (){
cylinder (r=2.7, h=5, center=true, $fn=64);
cylinder (r=1.7, h=5, center=true, $fn=64);
}
}
module cable_hole() {
rotate ([-90,0,0])cylinder (r=5, h=40, center=true);
translate ([0,0,-5])cube ([10,40,10], center=true);
}
difference () {
cube ([... | glb/cad_237dbfa65f49.glb |
Create a flexible tooth belt designed for torque transmission. Start by constructing a circular ring with a height of 6mm and a thickness of 0.6mm. The ring's inner radius should be calculated based on a total belt length of 200mm.
Along the inner circumference of the ring, add a series of teeth. Each tooth is a trape... | $fn=100;
length = 200;
height = 6;
thickness = 0.6;
toothBaseWidth = 1.0;
toothTipWidth = 0.95;
toothLength = 1.0;
toothSpacing = 1.2;
toothOverlap = 0.1;
createTread = 1;
treadModule = 4;
treadBaseWidth = 0.94;
treadTipWidth = 0.94;
treadLength = 0.94;
treadTwist = 5;
treadOverlap = 0.2;
pi=3.1415923;
... | glb/cad_d1516a99696c.glb |
Create a Z Axis Spool Mount consisting of two mirrored base components. For one component, start with a primary block formed by the union of several rectangular prisms: one 8x40x41mm block, two 30x5x53mm blocks positioned at the base, and a 50x15x5mm plate.
Integrate a central vertical cylindrical hole with a radius ... | module z_bottom_base(){
translate([0,0,0]) cube([8,40,16+25]);
translate([0,-5,-31]) cube([30,5.01,53]);
translate([0,-5,-31]) cube([33,5.01,33]);
translate([0,-5,0]) cube([50,15,5]);
translate([0,-5,0]) cube([18,50,5]);
translate([25+4.3,4.2,-31]) rotate([0,0,0]) cylinder(h = 36, r=5.8, $fn=36);
translate([25.8... | glb/cad_b70403e79c98.glb |
Create a Z Axis Spool Mount consisting of two mirrored structural brackets joined by a central hub. For each bracket, start with a base block measuring 8mm by 45mm by 16mm. From this base, remove several geometric sections to create a faceted, open-frame profile: subtract three rotated cubes of 30mm x 30mm x 51mm cente... | module z_top_base(){
translate([0,-5,0]) cube([8,45,16]);
translate([0,-5,0]) cube([30,5.01,12]);
translate([0,-5,0]) cube([38,15,5]);
}
module z_top_fancy(){
translate([0.5,0.5,0]) rotate([0,0,-45-180]) translate([-15,0,-1]) cube([30,30,51]);
translate([0.5,40-0.5,0]) rotate([0,0,-45+90]) translate([-15,0,-1]) ... | glb/cad_5acd3645b42c.glb |
Create a Z Axis Spool Mount corner bracket. Start with a rectangular base block measuring 18mm wide, 22mm deep, and 53mm high.
Remove material to create three main cylindrical holes, each with a radius of 5.4mm and a 30-facet resolution. Position one hole horizontally passing through the center of the block from fron... | bed_elevation = 6;
module corner_base(){
translate([-9,-11,0]) cube([18,22,47+bed_elevation]);
}
module corner_holes(){
translate([-11,-11,0]){
translate([0,11,10-1]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=5.4, $fn=30);
translate([0,11,30+1]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h =... | glb/cad_7e9374778ce1.glb |
Create a motion sensor housing for the Web Enabled Powerstrip. Start with a central rectangular block measuring 40mm x 40mm x 2mm, centered on the XY plane and positioned 10mm above the base. To this central block, add four smaller rectangular extensions: two measuring 10mm x 5mm x 7mm positioned symmetrically at the f... | motionTop();
module motionTop(){
translate([0,0,2])difference(){
union(){
translate([0,0,10])cube([40,40,2],true);
translate([0,-11,7.5])cube([10,5,7],true);
translate([0,11,7.5])cube([10,5,7],true);
translate([19,0,5])cube([2,36,10],true);
tran... | glb/cad_a816cd6637bc.glb |
Create a temperature and humidity sensor housing. Start with a central rectangular block measuring 80mm in width, 26mm in depth, and 30mm in height, centered on the origin.
From this main block, remove several geometric sections to create the final shell. First, remove a central rectangular volume of 61mm by 45mm by ... | temphumTop();
module temphumTop(){
translate([0,0,2])difference(){
union(){
translate([0,0,5])cube([61,45,2],true);
translate([29.5,0,2.5])cube([2,41,5],true);
translate([-29.5,0,2.5])cube([2,41,5],true);
translate([0,21.5,2.5])cube([61,2,5],true);
... | glb/cad_7ff1a038e51e.glb |
Create a Web Enabled Powerstrip base by constructing a tiered rectangular platform. Start with a primary base plate measuring 44mm by 40mm by 2mm, centered on the origin.
On top of this base, add a second rectangular tier measuring 34mm by 30mm by 4mm. Within this second tier, create a recessed central cavity by remo... | lightBottom();
module lightTop(){
translate([0,0,2])difference(){
union(){
translate([0,0,10])cube([40,36,2],true);
translate([0,-9,7.5])cube([10,5,7],true);
translate([0,9,7.5])cube([10,5,7],true);
translate([19,0,5])cube([2,36,10],true);
trans... | glb/cad_d0146e8788de.glb |
Create a Web Enabled Powerstrip frame consisting of a bottom and top section. For the bottom section, start with a centered rectangular block 87mm wide, 69mm deep, and 4mm high. Hollow out the center by removing a centered block 82mm wide, 64mm deep, and 5mm high, and further remove a centered block 84mm wide, 66mm dee... | interfaceKitFrameBottom();
interfaceKitFrameTop();
module interfaceKitFrameBottom(){
union(){
difference(){
translate([0,0,2]) cube([87,69,4],true);
translate([0,0,2]) cube([82,64,5],true);
translate([0,0,5.5]) cube([84,66,5],true);
}
translate([0,31,1.5]... | glb/cad_6e234f6b2f2f.glb |
Create a camera base for the Web Enabled Powerstrip. Start with a rectangular base plate measuring 37mm by 38mm with a height of 2mm, centered at the origin.
On top of this base, add a tiered rectangular structure. First, place a centered block measuring 27mm by 28mm with a height of 4mm. Above that, add another cent... | cameraBase();
module cameraTop(){
difference(){
union(){
translate([0,0,10])cube([29,30,2],true);
translate([-4,-9,8.5])cube([10,5,5],true);
translate([-4,9,8.5])cube([10,5,5],true);
translate([0,16,6.5])cube([29,2,9],true);
translate([0,-16,6.5]... | glb/cad_5918dd6bdb46.glb |
Create a protective electronics enclosure for a Raspberry Pi. Start by constructing a rectangular base frame with outer dimensions of 90mm by 61mm and a height of 5mm. Within this base, create a central hollow cavity measuring 86mm by 57mm and 40mm deep.
Add four vertical support pillars at the corners of the frame. E... | piFrameBottom();
piFrameTop();
module piFrameTop(){
union(){
translate([-29,-24.5,1.5]){
translate([0,-1,11]) cube([5,7,18],true);
translate([59,0,11]) cube([7,5,18],true);
translate([0,50,11]) cube([5,7,18],true);
translate([59,49,11]) cube([7,5,18],true);
... | glb/cad_eb2a6410d7e7.glb |
Create a signet ring by first constructing a circular band with an inner radius of 12mm and a thickness of 2mm. Atop this band, center a flat, circular signet disc with a radius of 8mm and a height of 2.1mm. On the top surface of this disc, emboss a custom design based on the provided image file "ejcrhand1.png", ensuri... | translate(v=[0,0,-14])rotate (a=[0,90,0])rotate_extrude(convexity = 10,$fn=100)translate(v=[12,0,0])resize (newsize=[2,6,0])circle (r=50);
intersection(){union(){
translate (v=[3,-1.2,3.2])scale([0.16, 0.16, 0.032])
surface(file = "ejcrhand1.png", center = true,invert=true);
translate (v=[0,0,-0.995])cylinder(r=8... | glb/cad_6f126b4c8541.glb |
Create a 3D Hilbert Curve block with a total bounding size of 50mm. The structure is composed of a continuous, winding path of connected cylinders. Each straight segment of the path should have a length of 6.25mm and a radius of approximately 2.44mm (calculated as 1/2.05 of the segment length).
To maintain the geomet... | depth = 3;
size = 50;
rr = 1/2.05;
fn = 10;
hilbert3d(size/2, depth);
module hilbert3d(size, num){
if(num == 1){
union() {
translate([-size/2,0,0])
hilbert_curve(size);
translate([0,-size/2,-size/2])
rotate([0,90,0])
cylinder(r=size*rr, h=size, center=true, $fn=fn);
translate([size/2,0,0])
... | glb/cad_d6d891065d5b.glb |
Create a Cheapskate Mount for a 3D printer carriage. Start with a rectangular base measuring 76mm in length, 16mm in total width (composed of a 10mm height and a 6mm extra section), and 10mm in height. Cut the top of this block at a 45-degree angle along its length.
Subtract two ball assembly cavities centered 48mm ap... | mount_length = 76;
mount_height = 10;
mount_width = 6;
ball_sep = 48;
mount_bolt_sep = 66;
ball_dia = 9.525;
ball_bolthead_dia = 5.4;
ball_bolthead_l = 3;
ball_bolt_dia = 3.2;
ball_bolt_l = 6;
washer_dia = 7;
washer_h = 0.6;
mount_bolthead_dia = 7;... | glb/cad_89560cd93440.glb |
Create a customized test cube by constructing a single solid cube with dimensions of 10mm x 10mm x 10mm. Position the cube so that its center is located at the coordinates (0, 0, 5) relative to the origin. | cube_size_small = 10;
mycubeSmall(cube_size_small);
module mycubeSmall(cube_size) {
translate([0, 0, cube_size/2]) cube(cube_size, center=true);
} | glb/cad_1d4c58b574ec.glb |
Create a rectangular cuboid with a width of 10mm, a length of 20mm, and a height of 10mm. Center the geometry on the origin of the coordinate system. | x = 10;
y = 20;
z = 10;
module mycube()
{
cube([x,y,z],center=true);
}
mycube(); | glb/cad_5d18207fc43f.glb |
Create a smartphone stick to laptop mount consisting of two symmetrical mirrored parts. For the upper part, create a central rectangular base 10mm wide, 12mm long, and 1.5mm thick. Attach a vertical wall to the left side of this base that is 3mm wide, 12mm long, and 10mm high. Attach a second vertical wall to the right... | smartphone_thick = 4;
laptop_screen_thick = 5;
my_thing_thick = 3;
my_thing_length = 12;
upper_back_high = 10;
upper_front_high = 5;
lower_back_high = 20;
lower_front_high = 10;
upperPart();
lowerPart();
module upperPart(){
cube([smartphone_thick + my_thing_thick * 2 , my_thing_length, my_thing_thick/2]);
... | glb/cad_bc559a396fd1.glb |
Create a customizable atrium drain grate consisting of a tapered cylindrical body with a solid base and a decorative top. Start by creating a solid bottom cylinder with a diameter of 74mm and a height of 20mm, featuring a concentric hollow center with a wall thickness of 3.75mm. Above this, build a tapered section that... | thk = 3.75;
top_diameter = 58;
bottom_diameter = 74;
top_height = 30;
bottom_height=20;
base_extension = 8;
num_spokes = 24;
$fn = 80;
drain();
module spoke() {
translate( [bottom_diameter/2, thk/2, 0] )
rotate( [90, 0, 0] )
linear_extrude( height=thk )
polygon( points=[ [-thk, -.1],
[-bottom_... | glb/cad_2da7a5cb72c0.glb |
Create a tool holder for solder assist tools by constructing a thin, flat plate 5mm thick. The overall shape is a hollowed-out honeycomb pattern formed by six hexagonal cells. Each internal hexagonal cell must have a radius of approximately 3.83mm. Arrange these six hexagons in two rows of three. The first row consists... | module hexagon(r, x, y) {
translate([x, y]) rotate([0, 0, 30]) circle($fn=6, r=r);
}
yutori = 0.1;
r = ((23 / 3) / 2) / cos(30) + yutori;
module hole_shape(r) {
translate([r*cos(30)*-2, -r])
union() {
hexagon(r, 0, 0);
hexagon(r, r*cos(30)*2, 0);
hexagon(r, r*cos(30)*4, 0);
... | glb/cad_21a2ba7b27c5.glb |
Create a Lawn Mower Blade Balancer consisting of two separate coaxial components: a base and a conical insert.
First, create the base as a flat cylinder with a diameter of 100mm and a height of 12.7mm. In the center of this base, remove a vertical cylindrical hole with a diameter of 44.45mm and a height of 8mm, start... | $fn=100;
module outercone(){
difference(){
union(){
cylinder(h=3*25.4, r=(3/8)*25.4/2);
cylinder(h=(3-3/16)*25.4, r=(1/2)*25.4/2);
cylinder(h=(3-6/16)*25.4, r=(5/8)*25.4/2);
cylinder(h=(3-9/16)*25.4, r=(6/8)*25.4/2);
cylinder(h=(3-12/16)*25.4, r=(7/8)*25.4/2);
cylinder(h=(3-15/16)*25.4, r=(8/8)*25.4/2);
cylinder(h=(3-... | glb/cad_c3c6deb14c5e.glb |
Create a webcam holder bracket with a total height of 25mm and a depth of 10mm. The main structure is a C-shaped channel formed by three walls, each 3mm thick. The back wall is 25mm high and 22mm wide. Two side walls, each 3mm thick and 25mm high, extend forward from the back wall. The side walls are separated by a 5mm... | height = 10;
bodyHeight = 25;
wallSize = 3;
lipSize = 3;
fullSize = 28;
gap = 5;
screwInner = 2.8;
screwOuter = 6.5;
$fn = 25;
module screw() {
difference() {
cylinder(d = screwOuter, h = height);
translate([0, 0, -1])
cylinder(d = screwInner, h = height + 2);
}
}
cube([wallSize, ... | glb/cad_4a465fb9b040.glb |
Create a webcam holder consisting of a flat L-shaped base and a vertical mounting post. The base is a flat plate with a thickness of 3mm. One arm of the L-shape is 30mm wide and 30mm long.
At one end of the base, create a vertical cylindrical post with a height of 10mm and an outer diameter of 6.5mm. This post must h... | height = 10;
wallSize = 3;
screwInner = 2.8;
screwOuter = 6.5;
fitGap = 0.4;
width = 30;
length = 30;
$fn = 20;
module half_circle(d, h) {
difference() {
cylinder(d = d, h = h);
translate([0, -(d / 2) - 1, -1])
cube([(d / 2) + 1, d + 2, h + 2]);
}
}
module screw() {
differen... | glb/cad_ace5817fafe2.glb |
Create a webcam holder consisting of two identical parallel arms connected by two cylindrical spacers. Each arm is a rectangular slab 60mm long, 10.2mm high, and 3mm thick. At each end of the arms, create a semi-circular protrusion with a diameter of 6.5mm and a thickness of 3mm.
Through the center of the entire assem... | height = 10.2;
wallSize = 3;
screwInner = 2.8;
screwOuter = 6.5;
length = 60;
$fn = 20;
module half_circle(d, h) {
difference() {
cylinder(d = d, h = h);
translate([0, -(d / 2) - 1, -1])
cube([(d / 2) + 1, d + 2, h + 2]);
}
}
module screw() {
difference() {
cylinder(d... | glb/cad_0195b4010910.glb |
Create a webcam holder bracket by combining two identical cylindrical posts connected by a central rectangular block. Each post should be a cylinder with an outer diameter of 6.5mm, a height of 10mm, and a centered vertical hole with a diameter of 2.8mm passing completely through. Use a 25-facet resolution for the cyli... | height = 10;
wallSize = 3;
length = 5;
screwInner = 2.8;
screwOuter = 6.5;
overlap = (screwOuter - screwInner) / 2;
$fn = 25;
module screw() {
difference() {
cylinder(d = screwOuter, h = height);
translate([0, 0, -1])
cylinder(d = screwInner, h = height + 2);
}
}
screw();
transla... | glb/cad_d7924f231956.glb |
Create a Fabrikator Mini Z-Axis Fan Shroud. Start with a square base plate measuring 33mm by 33mm with a thickness of 2mm. In the center of this plate, create a rectangular cutout measuring 16mm by 25mm. At each of the four corners of the base plate, add a circular hole with a diameter of 3mm, positioned 3.6mm from the... | base_width = 33;
base_height = 33;
base_depth = 2;
cutout_width = 16;
cutout_height = 25;
hole_dist_left = 3.6;
hole_dist_right = 3.6;
hole_dist_top = 7;
hole_dist_bottom = 10;
hole_size = 3;
fan_width = 26;
fan_diameter = 24;
fan_hole = 2.8;
fan_hole_dist = 2.5;
fan_angle = 10;
fan_x = -2;
fan_y = 0;
fan_z = 6;
fi... | glb/cad_311b805d9d81.glb |
Create a thumb screw rosette consisting of a wide circular base and a raised central shaft. Start by creating a base cylinder with a diameter of 30mm and a height of 3mm. Centered on top of this base, add a second cylinder with a height of 2.5mm and a diameter of 12mm.
Carve a hexagonal hole through the center of bot... | nut_size = 7;
nut_height = 2.5;
base_size = 30;
base_height = 3;
wall_size = 2.5;
cut_out_factor = 0.35;
cut_out_count = 5;
nut_size_buffer = 0.1;
$fn = 25;
hexagon_size = (nut_size + nut_size_buffer);
module hexagon(w = 1, h = 1) {
hw = w / sqrt(3);
for (i = [0 : 120 : 360]) {
rotate([0, 0, i])
... | glb/cad_de9084ec0ee4.glb |
Create a thumb screw rosette consisting of a wide base and a central gripping collar. Start by creating a cylindrical base with a diameter of 20mm and a height of 3mm. Remove five identical cylindrical cut-outs from the perimeter of this base to create finger grips; each cut-out should have a diameter of 7mm and be pos... | diameter = 10;
slit = 1.1;
slit_height = 2.1;
height = 4.5;
wall = 1.5;
base_size = 20;
base_height = 3;
cut_out_count = 5;
cut_out_factor = 0.35;
$fn = 30;
translate([0, 0, base_height])
union() {
difference() {
cylinder(d = diameter + (2 * wall), h = height);
cylinder(d = diameter, h = height);
... | glb/cad_7a81c52d33c6.glb |
Create a cube test object by constructing a solid cube with equal dimensions of 10mm in width, 10mm in depth, and 10mm in height. | Side = 10;
Height = 10;
cube ([Side,Side,Height], center = true); | glb/cad_49061831fd9e.glb |
Create a parametric cooling fan and blower mount for a hotend. Start with a main body that consists of a central rectangular block 25mm wide, 26.5mm deep, and 25mm high. Subtract a cylinder with a 25mm diameter from the center to accommodate the heatsink.
Attach a 40mm fan mount to the side, consisting of a 40mm x 40... | heatsinkDiameter = 25;
clampLength = 30;
zProbeScrew = 0;
zProbeScrewHeight = 12;
doubleSideFan = 0;
widerMouth = 0;
% union() {
cylinder(30, heatsinkDiameter / 2, heatsinkDiameter / 2, $fn = 200);
translate([0, 0, 30]) cylinder(6, 3, 3);
translate([-14.5, -10, 36]) cube([20, 20, 10]);
translate([0, 0, 46... | glb/cad_08bf167f127f.glb |
Create a box and lid assembly by starting with a main outer cube measuring 29mm x 29mm x 20mm. Hollow out the center of this cube by removing a smaller 23mm x 23mm x 28mm cube, positioned 3mm from the X and Y axes and 1mm from the base, to create an open container. To add the decorative circular indents, remove four id... | difference() {
difference() {
union() {
cube([29,29,20]);
translate([2,2,1]) cube([25,25,22]);
}
translate([3,3,1]) cube([23,23,28]);
}
rotate([0,90,0]) translate([-10,14.5,-2]) cylinder(r1=8,r2=8,h=4);
rotate([90,90,0]) translate([-10,14.5,-2]) cylinder(r1=8,r2=8,h=4);
rotate([0,90,0]) translate([-10... | glb/cad_48ad9e077879.glb |
Create a square box with an open top. The outer dimensions of the box should be 29mm in width, 29mm in depth, and 5mm in height. To create the hollow interior, remove a smaller square section from the center, measuring 25mm by 25mm, with a depth of 4mm. This interior cutout should be positioned 2mm from each of the fou... | difference() {
cube([29,29,5]);
translate([2,2,1]) cube([25,25,25]);
} | glb/cad_a5c6910bc330.glb |
Create a Cooling Fan and Part Blower mount. Start with a main body that features a central cylindrical cutout with a 25mm diameter to accommodate a hotend heatsink. This body includes a 40mm by 40mm by 6mm rectangular section for a fan mount. Integrate a funnel-shaped air duct that transitions from the fan mount toward... | heatsinkDiameter = 25;
clampLength = 30;
zProbeScrew = 0;
zProbeScrewHeight = 12;
doubleSideFan = 0;
widerMouth = 0;
hingeMargin = 0.5;
% union() {
cylinder(30, heatsinkDiameter / 2, heatsinkDiameter / 2, $fn = 200);
translate([0, 0, 30]) cylinder(6, 3, 3);
translate([-14.5, -10, 36]) cube([20, 20, 10]);
... | glb/cad_32c225969b08.glb |
Create a random cup by extruding a complex 2D polygon vertically. Start by defining a base polygon centered at the origin with 34 vertices. The distance of each vertex from the center should be randomly varied between 34.5mm and 48mm. Extrude this shape to a total height of 100mm. During the extrusion, apply a twist of... | Random_Seed=0;
Cup_Height=100;
Cup_Twist=175;
Min_Radius=34.5;
Max_Radius=48;
Number_of_Points=34;
Wall_Thickness=2;
Taper=1.2;
Double_Twist="no";
Solid="no";
maximum=max(Max_Radius,Min_Radius);
minimum=min(Max_Radius,Min_Radius);
function polar_to_cart(angle=0, distance=0) = [distance*sin(angle),distance*co... | glb/cad_116a2545ff4b.glb |
Create a WiFi sign plate with a base measuring 100mm wide by 55mm high and 1mm thick. The plate should have rounded corners with a radius of 7mm.
On the top surface of the plate, add extruded text with a height of 1mm. Center the heading "Welcome!" at the top with a font size of 12mm. Below the heading, align the text... | heading = "Welcome!";
wifi_name = "Name (SSID)";
wifi_pass = "Password";
font_family = "Roboto";
heading_size = 12;
name_size = 8;
pass_size = 8;
extrusion_height = 1;
holes = 0;
plate_width = 100;
plate_height = 55;
plate_depth = 1;
corner_radius = 7;
xy_scale_constant = 1;
show_lock_checkmark = "Yes";
... | glb/cad_699b70eec59d.glb |
Create a parametric SD card holder. Start by constructing a main block with a width of 34mm (slot width of 26mm plus two 4mm side borders). The block's depth is determined by the sum of a 4mm front border, a 4mm back border, six slots of 3mm thickness each, and five 4mm separators between those slots. The height of the... | slots = 6;
slotWidth = 26;
slotThickness = 3;
slotSeparation = 4;
slotDepth = 15;
topRiseAngle = 15;
bottomHeight = slotSeparation;
sideWidth = slotSeparation;
frontDepth = slotSeparation;
backDepth = slotSeparation;
holderWidth = slotWidth + 2*sideWidth;
holderFrontHeight = slotDepth + bottomHeight - tan(top... | glb/cad_369b9fc6fe5c.glb |
Create four identical leg extensions for a Parsons cocktail table. Each extension begins as a solid cube measuring 54mm in width, 54mm in depth, and 75mm in height.
From the top face of each cube, remove a central square section to create a sleeve. This hollow opening must be 51.5mm wide and 51.5mm deep, extending fr... | overlap = 10;
leg_height = 65 + overlap;
internal_plug_width = 46.2;
extension_width = 54;
external_sleeve_clearance = 51.5;
module coffee_table_leg () {
difference() {
cube([extension_width,extension_width,leg_height]);
translate([(extension_width - external_sleeve_clearance)/2,(extension_width ... | glb/cad_464538d28ff9.glb |
Create a scoutbot mounting bracket by starting with a main rectangular base measuring 75mm in length, 5mm in width, and 35mm in height. Add two smaller rectangular tabs, each 10mm by 10mm by 5mm, positioned at the top corners: one at the origin and one at the opposite end at coordinates [65, 5, 30].
Pierce the entire... | difference() {
union() {
cube(size = [75,5,35]);
translate([0,5,30]){
cube(size = [10,10,5]);
}
translate([65,5,30]){
cube(size = [10,10,5]);
}}
translate([5,10.5,0]){
cylinder(h = 50, r=1.5);
}
translate([70,10.5,0]){
cylinder(h = 50, r=1.5);
}
myhole(7.5,27.5);
myhole(17.5,27.5);
myhole(27.5,27.5);
myhole(37.5,... | glb/cad_8338edd9b4ed.glb |
Create a rectangular mailbox sign measuring 150mm in width, 40mm in height, and 17mm in total thickness. The main body is a hollowed-out plate: start with a solid block of 150mm by 40mm by 17mm, then remove a central rectangular section starting 2mm from the bottom and 2mm from the sides, leaving a wall thickness of 2m... | use <MCAD/fonts.scad>
font=8bit_polyfont();
char_distance=7;
text_depth=1;
thinwidth=2;
thickwidth=3;
space=12;
x=150;
y=40;
module plate() {
difference() {
cube([x,y,space+thickwidth+thinwidth]);
translate([thinwidth,thinwidth,thickwidth])
cube([x+0.01,y+0.01,space]);
translate([2*thinwidth,2*thinwidth,2*... | glb/cad_a6c08f2731a7.glb |
Create a Customizable V-Block assembly consisting of a base block, a clamp, and a fastening bolt.
Start with the V-Block base: create a rectangular block 50mm high, 50mm wide, and 75mm long. Carve a V-shaped groove 40mm wide along the center of the length. At the top and bottom faces of the block, create small rectan... | part = 0;
clampAngle = 0;
Length = 75;
Height = 50;
Width = 50;
vGrooveWidth = 40;
vNotchDepth = 2;
vNotchWidth = 2;
sideDepth = 10;
sideWidth = 10;
clampSideTolerance = 0.1;
clampThickness = 10;
clampWidth = 18.75;
clampHeight = 35;
clampNutSupportThickness = 15;
clampNutSupportWidth = 20;
boltDiameter ... | glb/cad_86d3f30d5ede.glb |
Create a DoorKeeper device designed to hold a door open. Start with a base plate that is 41mm wide, 30mm deep, and 3mm thick. At each end of this base plate, add a vertical grip block that is 3mm wide, 30mm deep, and 15mm high.
In the center of the base plate, construct a central rib that is 4mm wide and 12mm high. T... | doorWidth = 35;
gripHeight = 15;
width = 30;
carpetDistance = 15;
thickness = 3;
ribThickness = 4;
ribSpacing = 2;
ribStep = 3;
ribSlantDegrees = 50;
overallWidth = (doorWidth + (thickness * 2));
halfOverallWidth = (overallWidth / 2);
ribHeight = (carpetDistance - thickness);
overallRibWidth = (ribThickness + (ribSpac... | glb/cad_a54ab0f8cb8e.glb |
Create a modular robotics block by starting with a cube that measures 12.7 mm on all sides (0.5 inches).
On each of the six faces of the cube, center a circular hole with a diameter of 6.35 mm (0.25 inches). These holes must pass completely through the block to the opposite side, creating three intersecting cylindric... | units=1;
block_size=0.5;
hole_dia=0.25;
hole_spacing=0;
generate=0;
num_x=1;
num_y=1;
num_z=1;
flat_num_x=1;
flat_num_y=1;
flat_thickness=0.128;
d_num_x=5;
d_num_y=5;
d_num_z=1;
diameter=0.866;
diameter_padding=2;
r_num_x=3;
r_num_y=4;
r_num_z=1;
rect_x=0.5;
rect_y=0.99;
rect_margin=0;
x=1;
y=1;
... | glb/cad_d52068894361.glb |
Create a 90-degree angle mounting bracket for a bowden extruder. Start with a base plate that is 2mm thick. The main body consists of two intersecting rectangular sections: one measuring 40mm by 22mm and another measuring 42.5mm by 22mm, joined to form a flat L-shaped footprint. Add a vertical rectangular wall extendin... | hole_distance = 47.5;
metric = 3;
motor_size = 39.1;
$width_height = 42.2 * 1;
$first_hole = -5 * 1;
general_depth = 2 * 1;
$hole_depth = 3 * 1;
$fn = 100 * 1;
easier_to_print = "no";
difference(){
union(){
translate([ 0,0,0]) cube([40,22,general_depth]);
translate([-42.5,0,0]) cube([42.5,22,ge... | glb/cad_7ed61410b218.glb |
Create a tripod replacement part consisting of a clamp ring and a pivot base.
First, construct a hollow ring with an inside diameter of 19mm, an outside diameter of 25mm, and a height of 14mm. The walls should be 3mm thick. Inside the ring, add a circular groove (a torus) with a radius of 9.5mm and a cross-section di... | wall = 3;
faces=64;
ringInsideDiameter=18+1;
ringOutsideDiameter=ringInsideDiameter+2*wall;
ringHeight = 14;
grooveBumpDiameter=5-1;
boltHoleDiameter = 5.5;
boltNutDepth = 5.5;
boltNutDiameter = 8.25;
pivotDiameter = 18;
pivotBumpDiameter = 6;
pivotHeight = 14;
pivotBaseHeight =26;
module torus(r1, r2)
{
rotat... | glb/cad_5159e93145a1.glb |
Create two identical mirrored halves of a wire guide for a heated build platform. Each half starts with a rectangular base measuring 20.57mm wide, 75mm long, and 5mm thick.
On the top surface of the base, center a rectangular slot 5.07mm wide and 14.5mm long, positioned 3.5mm from the top edge. Within this area, crea... | guideMainLength = 75;
guideMainWidth = 20.57;
guideThickness = 5;
screwSlotWidth = 3;
screwSlotLength = 6;
screwSlotLocationX = 5.1;
screwSlotLocationY = 12;
mbpSlotWidth = 5.07;
mbpSlotLength = 14.5 ;
mbpSlotDistanceFromTop = 3.5;
guideInsideDiameter = 8;
manifoldCorrection = 0.01;
wireS... | glb/cad_667891a0d907.glb |
Create a knife sharpening guide consisting of two symmetrical side supports connected by a base plate. Each side support is a 3D wedge with a thickness of 5mm. The vertical profile of each support is a right-trapezoid: the bottom edge is 35mm long, and the inner vertical edge is 35mm high. The top edge of each support ... | wanddicke = 5;
unterseite = 35;
breite = 75;
hoehe = 35;
winkel = 20;
magnetanzahl = 0;
magnethoehe=2.2;
magnetdurchmesser=5.5;
$fn=40;
module winkel_dreieck (unterseite, winkel) {
polygon([[0,0],[unterseite, 0], [unterseite, tan(winkel)*unterseite]]);
}
module staender_seite (unterseite, hoehe, winkel) ... | glb/cad_7a9ed1eb0a95.glb |
Create a bracket for an Arduino solar powered weather station. The main body is a tapered, hollowed-out wedge shape. Start by creating a hull formed by four cylinders, each 60mm high, positioned at the corners of a 50mm by 50mm square; the cylinders at the base have a radius of 10mm and taper to a radius of 3mm at the ... | include <../library/misc/StepMotor_28BYJ-48.scad>;
include <../library/nutsnbolts/cyl_head_bolt.scad>;
include <../library/nutsnbolts/materials.scad>
$fn=100;
rotate([0,0,45])
translate([-25,-25,0])
difference(){
hull(){
cylinder(r=10, r2=3, h=60);
translate([50,0,0])
cylinder(r=10, r2=3, h... | glb/cad_d3d2e534eed1.glb |
Create a multi-wire holder block with a total length of 40mm, a height of 20mm, and a width of 124mm. The main body is a rectangular prism with a large concave cylindrical carve-out of 20mm radius running along the entire width, centered vertically to create a rounded trough.
Along the top surface, create a series of... | fullL = 40;
smallHoleD = 4;
largeHoleD = 7;
smallCount = 6;
largeCount = 4;
holeSpacing = 10;
fullW = (smallHoleD+holeSpacing)*smallCount + (largeHoleD+holeSpacing)*largeCount;
fullH = 20;
holeH = 10;
carveRadius = 20;
carveOffset = 3;
gateL = 2;
gateH = 1;
$fn=100;
module holeCut(diameter) {
union() {
tra... | glb/cad_9e908a67b488.glb |
Create a shelf hook for cables consisting of two main components: a mounting bracket and a detachable cable holder.
First, construct the mounting bracket as a three-sided vertical structure. Create a vertical wall 2mm thick, 20mm wide, and 22mm high. At the top of this wall, add a horizontal platform 20mm wide and 20... | shelfTh = 16;
behindShelfH = 20;
totalH = 70;
th = 2;
shelfHookW = 20;
shelfHookLowerW = 4;
cableHookStopper = 5;
cableHookHolderH = 20;
module shelfHook() {
difference() {
union() {
cube([th, shelfHookW, behindShelfH + th]);
translate([0,0,behindShelfH]) cube([shelfTh + 2*th, shelfHookW, th]);
... | glb/cad_0bf0e80a46b5.glb |
Create a Double Twelve Domino Tile. Start with a rectangular base measuring 25.4mm wide, 50.8mm high, and 9.525mm thick. Apply a corner radius of 1.5875mm to all edges to soften the shape.
Divide the tile into two equal halves with a thin cylindrical groove 1mm in diameter running across the center width. On the top a... | $fn=30;
inch = 25.4;
max_number = 12;
first_number = 9;
second_number = 11;
tile_width = 1*inch;
tile_thickness = 3/8*inch;
corner_radius = 1/16*inch;
dot_radius = 2;
small_dot_rad = 1.5;
print_all = false;
tile_height = 2*tile_width;
module main()
{
if (print_all)
{
for(i=[0:1:max_number])
... | glb/cad_9bef81434b8b.glb |
Create a customizable toy wheel replacement. Start by constructing a central axis hub as a cylinder with a diameter of 4mm and a height of 6mm. Drill a concentric hole through the top of this hub with a diameter of 1.5mm and a depth of 5mm.
Surround the hub with a main wheel body that is 3mm high, with an outer diame... | wheelHeight = 3;
wheelDiameter = 12;
wheelInnerDiameter = 8;
wheelPrecision = 300;
axisHeight = 6;
axisDiameter = 4;
axisHoleDiameter = 1.5;
axisHoleHeight = 5 ;
nStripes = 50;
stripeRadius = 0.5;
stripePresision = 10;
nRadius =6;
radiusWidth = 1;
difference(){
cylinder(... | glb/cad_912544ef30a2.glb |
Create a customizable sin cup by extruding a dynamic 2D polygon vertically to a height of 70mm. The base polygon is defined by 50 points arranged in a circle, where the distance of each point from the center oscillates between a minimum radius of 27mm and a maximum radius of 30mm following a sine wave that repeats 10 t... | Cup_Height=70;
Cup_Twist=90;
Min_Radius=27;
Max_Radius=30;
Number_of_Points=50;
Wall_Thickness=3;
Bottom_Thickness=4;
Bottom_Recess=2;
Taper=1.2;
Double_Twist="no";
Solid="no";
Repeat=10;
mode="normal";
maximum=max(Max_Radius,Min_Radius);
minimum=min(Max_Radius,Min_Radius);
function polar_to_cart(angle=0,... | glb/cad_27f98c98db8d.glb |
Create a case for an M328 multifunction component tester. Start with a main rectangular body measuring 28mm by 90mm by 117mm. Hollow out the center to create a cavity for PCBs measuring 25mm by 63.5mm by 83mm, positioned at [7, 21.5, 4]. Add a second internal cavity for a battery holder measuring 25mm by 82mm by 24mm, ... | $fn=60;
s=50;
difference() {
cube([28,90,117]);
translate([7,5+16.5,4]) cube([25,80-16,83]);
translate([7,4,88]) cube([25,82,24]);
translate([1,27,94]) rotate([0,90,0]) cylinder(d=3,h=20);
translate([1,27+49,94]) rotate([0,90,0]) cylinder(d=3,h=20);
translate([1,27,94+12]) rotate([0,90,0]) cylinder(d=3,h... | glb/cad_43eb577892fc.glb |
Create a spare Honda vehicle key consisting of a rectangular head and a thin blade. Start by creating a rectangular head block measuring 30mm by 30mm with a thickness of 1.5mm. Attached to this is a blade that is 46mm long, 8.94mm wide, and 1.5mm thick. The end of the blade is tapered with 45-degree chamfers on the top... | function mm(i) = i*25.4;
function in(mm) = mm/25.4;
blade_h = mm(.118)/2;
blade_w = mm(.352);
blade_l = 46;
blade_tip_w = 3;
body_l = 30;
cut_h = (blade_tip_w-mm(.035))/2;
cut_w = 1;
depths = [in(blade_w), .312, .298, .283, .269, .255, .241, in(blade_w/2)];
incr = .12;
positions = [.719, .599, .480, .360, .241, .241 ... | glb/cad_6a784cda48ac.glb |
Create a Muuto Stacked Clip by starting with a solid rectangular block measuring 28mm in width, 40mm in length, and 25mm in height. From this main volume, remove a smaller rectangular section to create a hollow interior cavity. This interior cutout should be 36mm wide, 40mm long, and 20mm high, and must be positioned s... | sizeX = 18;
sizeY = 40;
sizeZ = 20;
border = 5;
difference () {
cube( [2*sizeX + 2*border, sizeY, sizeZ + border] , center = false);
translate([border,0,0])
{
cube( [2*sizeX, sizeY, sizeZ], center = false);
}
} | glb/cad_416c844e3843.glb |
Create a protective case for a "Winners" tiny DC-DC power supply board. The case consists of a top and bottom shell.
The top shell is a rectangular enclosure with outer dimensions of approximately 52.4mm x 33.1mm. The walls are 1.2mm thick. On the top face, create a central rectangular window measuring 32mm x 15mm to ... | part = "demo";
have_terminals = true;
pcbrextra = 0.0;
pcbbextra = 0.0;
wall = 1.2;
tol = 0.4;
pcb = [50.2, 31.1, 1.6];
pcbmntdia = 1*3.1;
pcbthrdia = 2.5+0.1;
pcbmntx1 = -pcb[0]/2+1.1+pcbmntdia/2;
pcbmntx2 = pcb[0]/2-1.4-pcbmntdia/2;
pcbmnty = pcb[1]/2-12.6-pcbmntdia/2;
lcdwinsize = [32.0, 15.0];
lcdglass = [38.... | glb/cad_5f9059b89371.glb |
Create a Color Sensor Cover/Stand by starting with a rectangular base measuring 36mm by 28.5mm with a height of 5mm. Hollow out the center of this base by removing a rectangular block of 34mm by 26.5mm, leaving a 1mm thick wall around the perimeter.
On top of this base, add a rectangular wall that is 36mm wide, 10mm ... | difference()
{
cube([36,28.5,5]);
translate([1,1,0])
{
cube([34,26.5,5]);
}
}
difference()
{
translate([0,9.25,5])
{
cube([36,10,1]);
}
translate([18,14.25,4])
{
cylinder(10,5,5);
}
}
translate([14.25,19.25,5])
{
cube([7.5,9.25,7]);
}
translate([14.25,7.5,5])
{
cube([7.5,2,1]);
}
diffe... | glb/cad_64ea8d7b3386.glb |
Create an AI conversion kit ring for a camera lens. The main body is a hollow cylinder with an inner diameter of 57.62mm and a wall thickness of 1.33mm, reaching a total height of 12.03mm.
The outer surface features a fluted handle section 3.2mm high and 2.2mm thick. This handle is detailed with 30 radial recesses, e... | innerDiameter=57.62;
thickness=1.33;
originalHeight=12.03;
rimHeight=2;
apertureClicks=5;
AIridgePosition=4.66;
maxApertureInStopsOver5point6=1.2;
minApertureInStopsUnder5point6=3;
fatInnerRingThickness=0.53;
fatInnerRingHeight=3;
fatInnerRingZ=1.25;
thinInnerRingThickness=0.9;
thinInnerRingHeight=2;
thinInnerRingZ=8;... | glb/cad_29b949cfac6c.glb |
Create a parametric phone stand by constructing a curved support structure from which a phone-shaped void is removed. Start by creating a semi-circular base ring with a cross-sectional radius of 10mm and an overall radius of 42mm, extending the arc to 180 degrees plus an additional 80 degrees (totaling 260 degrees) to ... | $fa = 2.5;
$fs = 1;
module rsquare(size, r=5, center=false)
{
t = (center==true ? [0,0,0] : size/2);
translate(t)
union()
{
for(x=[-1,+1])
for(y=[-1,+1])
scale([x,y,1])
translate([size[0]/2-r,size[1]/2-r,0])
circle(r=r, ce... | glb/cad_956d009165fd.glb |
Create a latch for a folding garden table. Start with a base rectangular block measuring 62mm in length, 19.5mm in width, and 3mm in height. At one end of this base, add a semi-cylindrical cap with a diameter of 19.5mm and a height of 3mm, centered on the width. At the opposite end, construct a vertical rectangular wal... | difference() {
union() {
translate([0,0,0]) cube([62,19.5,3]);
translate([61.25,9.75,0]) cylinder(d=19.5,h=3,$fn=180);
translate([0,0,-5]) cube([3.4,19.5,21]);
translate([3.4,0,7]) cube([1.2,19.5,9]);
}
rotate([0,15,0]) translate([-4.5,-0.2,4]) cube([3.4,20,21]);;
rotat... | glb/cad_040c6b87bba9.glb |
Create a 1/2 Fl. Oz Measuring Cup by starting with a solid cube that has dimensions of 30mm x 30mm x 30mm. Hollow out the center of this cube by removing a smaller 24.6mm cube from the top, leaving a shell wall thickness of 3mm on all sides. To create the fill level indicator, remove a thin rectangular slice from the b... | cup_dimension = 24.6;
shell_width = 3;
fill_height_space = 1;
fill_height_offset = 1;
outside_dimension = cup_dimension + shell_width*2;
fill_height_translate = shell_width - (fill_height_offset/2);
handle_width = 30;
handle_height = shell_width+1;
difference() {
cube([outside_dimension,outside_dimension,outsid... | glb/cad_0e782b385bd6.glb |
Create a corner bracket for aluminum extrusions by starting with a square plate that is 80mm by 80mm with a thickness of 3mm. Round the four outer corners of this square with a radius of 1mm.
From this plate, remove a square section from the center to create a cutout for the extrusion; this cutout should be 20mm by 2... | holeCreationOffset=0.05;
extrusionWidth=20;
extrusionHeight=extrusionWidth;
bracketThickess=3;
bracketLength=extrusionWidth * 4;
triangle2=bracketLength/2;
boltHoleDiameter=3.7;
boltHoleRadius=boltHoleDiameter/2;
squareDiagonal=(bracketLength*sqrt(2));
echo(squareDiagonal);
module cylinder_outer(height,radius,fn){... | glb/cad_edc2de0a6a75.glb |
Create a Black Widow Battery Pack consisting of a hollow rectangular box with a matching lid. The main body is based on a mirrored polygonal profile with a maximum width of 62.5mm and depth of 47.5mm.
Construct the main housing by extruding this profile to a total height of 50mm (two 25mm halves). The outer walls sho... | polyMaxX = 62.5;
polyMaxY = 47.5;
halfBoxHeight = 25;
bezelHeight = 2.5;
module batteryPoly() {
points = [
[2.5, 22],
[0, 17],
[0, 5],
[5, 0],
[17, 0],
[22, 2.5],
[62.5, 2.5],
[62.5, 47.5],
[2.5, 47.5]
];
newpoints = [for (i=points) i-[polyMaxX, polyMaxY]];
paths = [
[0,1,2,3,... | glb/cad_878baf52f7aa.glb |
Create a calibration model for the BigBox Design Competition. Start by creating a main body that is a rounded rectangular block, 32mm wide, 35mm deep, and 20mm high. The top surface should be rounded with a radius of 10mm.
Inside this body, carve out a central void. On the interior floor of this void, place a heart-s... | difference(){
hull(){
translate([0,0,10])
minkowski(){
box(25,30,8,15,30,0,-10);
sphere(10, $fn=100);
}
minkowski(){
translate([0,0,2]) cube([32,35,2],center = true);
sphere(1, $fn=20);
}
}
translate([0,0,13])
minkowski(){
box(22,27,5,12,29,0,-11);
sphere(10, $fn=100);
}
translate([0,15,15]) front(5,25,30,5,8,50,60);... | glb/cad_aa02a9f8ac27.glb |
Create a stop block for a chisel sharpening jig. Start with a base rectangular plate measuring 52mm in length, 30mm in width, and 3mm in thickness. Attach a vertical wall to the top edge of this base; this wall should be 52mm long, 3mm wide, and 8mm high, positioned so it extends upward from the edge of the base. Addit... | type = "Chisel";
angle = 30;
size = (type == "Chisel") ? (angle == 30 ? 30 : 40) : (angle == 30 ? 38 : 50);
h = 52;
wall=3;
text_depth = .3 * 2;
$o = .1;
chisel_sharpening_jig_key();
module chisel_sharpening_jig_key() {
rotate([0,-90,0])
difference() {
union() {
cube([h, size + .1, ... | glb/cad_2787c19a7ce7.glb |
Create a Raspberry Pi camera post mount. Start with a base formed by the convex hull of three cylinders, each with a 15mm diameter and 3.5mm height. Position these cylinders at the corners of an equilateral triangle with an edge length of 45mm. The overall base height is 30mm.
At each of the three corners, create a ve... | edgeLength = 45;
baseHeight = 30;
cornerRadius = 15/2;
cornerDiameter = cornerRadius*2;
numberOfFacetsInACircle = 50;
screwHeadDiameter = 8;
screwShaftDiameter = 4;
counterSinkDepth = 5;
postDiameter = 11.0;
postHoleStopperDepth = 2;
domeCutoutDiameter = 24;
cableSlotWidth = 18;
cableSlotHeight = 3;
difference(... | glb/cad_04416eb428a0.glb |
Create a post mounted pivot for a camera. Start by constructing a hollow cylinder with an outer diameter of 18mm, an inner diameter of 11mm, and a length of 30mm. Position this cylinder horizontally.
Attached to the side of this cylinder, create a pivot mount. This mount begins with a hull formed between a cylinder of... | module postMountedPivot()
{
bodyHeight = 6;
bodyWidth = 25;
bodyDepth = 25;
wideAngleLensDiameter = 16.5;
wideAngleLensCollarHeight = 3;
difference()
{
translate([0,29,8])
rotate([90,0,0])
cylinder(d=18,h=30,$fn=100);
translate([0,29,8])
rotate([90,0,0])
cylinder(d=11,h=30,$fn=100);
}
translate([-12.5,0,... | glb/cad_323c1cda7a20.glb |
Create a Raspberry Pi camera case by starting with a main body that is 26mm wide, 25mm deep, and 6mm high. The four vertical edges of this body should be rounded with a 3mm radius. Hollow out the center of the body to create a cavity 26mm wide and 25mm deep, leaving a wall thickness of 6mm on the top and bottom, and a ... | bodyHeight = 6;
bodyWidth = 26;
bodyDepth = 25;
wideAngleLensDiameter = 17.5;
wideAngleLensCollarHeight = 3;
difference()
{
hull()
{
translate([0,0,0])
cylinder(d=6,h=bodyHeight,$fn=50);
translate([bodyWidth,0,0])
cylinder(d=6,h=bodyHeight,$fn=50);
translate([0,bodyDepth,0])
cylinder(d=6,h=bodyHeight,$fn=50);
trans... | glb/cad_c6bc1ae9b07c.glb |
Create a post-mounted Raspberry Pi camera case consisting of a main body and a pivot mount. The main body is a rectangular plate 25mm wide, 25mm deep, and 6mm high. The four corners of this plate are rounded with a radius of 3mm. Create a central rectangular cutout in this plate that is 25mm wide and 25mm deep, with a ... | bodyHeight = 6;
bodyWidth = 25;
bodyDepth = 25;
wideAngleLensDiameter = 16.5;
wideAngleLensCollarHeight = 3;
difference()
{
hull()
{
translate([0,0,0])
cylinder(d=6,h=bodyHeight,$fn=50);
translate([bodyWidth,0,0])
cylinder(d=6,h=bodyHeight,$fn=50);
translate([0,bodyDepth,0])
cylinder(d=6,h=bodyHeight,$fn=50);
tran... | glb/cad_7098fd5b8acb.glb |
Create a pet food bowl by constructing a truncated cone with a bottom diameter of 170mm, a top diameter of 158mm, and a height of 30mm. The bowl should have a wall thickness of 2mm. To form the interior cavity, remove a central volume consisting of a smaller truncated cone that mirrors the outer dimensions, topped with... | use <write/Write.scad>
wig = 0.01/1;
$fn=100;
cone_bot = 170;
cone_top = 158;
cone_h = 30;
bowl_d = 155;
wall_t = 2;
words = "";
delta = (cone_bot-cone_top)/2;
avg_r = (cone_top+cone_bot)/4;
angle = atan(delta/cone_h);
module bowl(TEXT) {
difference() {
union() {
cylinder(r1=cone_bot/2,r2=cone_top... | glb/cad_c124a8bf0e08.glb |
Create an SSD to 3.5" disk bracket. Start with a rectangular base plate 140mm long, 101.8mm wide, and 0.6mm thick. Cut a centered circular hole through this base with a diameter of 71mm, but leave two strengthening beams 10mm wide that span the width of the plate; position these beams at 13mm and 90mm from the front ed... | W = 101.8;
L = 140;
T = 0.6;
DL = 104;
DW = 71;
DT = 7;
DISK_OFFSET_H = 1.2;
DISK_OFFSET_SIDE = 5;
SCREWHEAD_R = 2.5;
SCREWHEAD_T = 1.0;
SCREW_R = 1.5;
PILLAR_H = 3.2;
PILLAR_R = 10;
SIDE_H = 11.5;
SIDE_T = 2.0;
SIDE_L_HOLE1 = 27;
SIDE_L_HOLE2 = SIDE_L_HOLE1 + 102;
SIDE_H_HOLE = 6.5;
SIDE_R_HOLE = SCREW_R + 0.2;... | glb/cad_113ecbc15f70.glb |
Create a 3D printer X carriage with cooling for a J-head.
Start with the main carriage body: a central block 50mm wide, 70mm long, and 20mm high. On the left and right sides, create two cylindrical voids running the length of the carriage with a diameter of 20mm. At the rear of these voids, add smaller cylindrical ho... | translate([mtr_offset, 20, 31]) rotate([0, 0, 0]) nema();
translate([0,0,0]) rotate([0, 0, 0]) carriage();
translate([mtr_offset, -2.25, 31]) rotate([-90, 0, 0]) drive_wheel();
translate([0, 76, 10]) rotate([-90, 0, 0]) fan(40, 11, 32);
translate([-57.5, 10, 5.5]) rotate([60, 0, -90]) fan(40, 11, 32);
translate([0, 10,... | glb/cad_7571383a1fe8.glb |
Create a smoke detector holder consisting of a flat rectangular base and two protruding hooks. Start with a base plate 78mm wide, 10mm deep, and 1mm thick. Add two small rectangular extensions of 13mm by 8mm by 1mm to the base, one on each end, extending the depth to 18mm at the edges. Center two 5mm diameter circular ... | hole_distance = 70;
hole_size = 5;
hook_width = 5;
hook_length = 5;
hook_height = 6.5;
hook_strength = 2;
hook_outer_distance = 71;
hook_angle = 18;
base_width = 78;
base_depth = 10;
base_height = 1;
$fn = 15;
module hook() {
cube([hook_width, hook_strength, hook_height]);
translate([0, 0, hook_height])
... | glb/cad_bd613321b2c6.glb |
Create an Arduino Uno ProtoShield circuit board. Start with a main base plate 68.8mm long, 53.3mm wide, and 1.9mm thick. The plate has a non-rectangular profile, featuring a cutout section on one side to accommodate the Arduino Uno's shape.
On the top surface, create a grid of small holes for components. This grid con... | height_mm = 1.9;
length_mm = 68.8;
enlarge_mm = 2;
grid_0 = 0;
grid_x = 22;
grid_y = 16;
cable_flag = 1;
hole_flag = 2;
legend_flag = 1;
arduino_uno_board(
height_mm,
length_mm,
enlarge_mm,
grid_0,
grid_x,
grid_y,
cable_flag,
hole_flag,
legend_flag
);
module arduino_uno_board(
pheight=1.9
,pl... | glb/cad_e722e38d59fe.glb |
Create a bottle with a threaded cap consisting of two separate parts: a main tube and a screw-on lid.
For the main tube, create a cylinder with a height of 132mm and an outer radius of 11mm. Hollow out the center by removing a cylinder with a radius of 8.5mm. At the top opening of this tube, create an internal metric ... | rotate([180,0,0]){
difference(){
cylinder(h=132,r=11);
translate([0,0,.01])metric_thread(20, 4, 17,internal=true);
translate([0,0,-2]) cylinder(h=132,r=8.5);
}
}
difference(){
union(){
translate ([-25,0,10])metric_thread(19, 4, 15);
translate ([-25,0,0])cylinder(h=10,r=11);
}
translate ([-25,0,4]) cylinder(h=27,r=6.5)... | glb/cad_c06b2e6f4517.glb |
Create a bottle with a threaded cap consisting of two separate parts: a main tube and a screw-on lid.
First, create the main tube as a hollow cylinder with an outer radius of 9mm and a total height of 30mm. The wall thickness should be 0.5mm, leaving an internal diameter of 17mm. Inside the top of this tube, carve ou... | height=30;
tubethickness=9;
intube=8.5;
capheight=5;
translate([0,0,height])rotate([180,0,0]){
difference(){
cylinder(h=height,r=tubethickness);
translate([0,0,.01])metric_thread(intube*2-1, 2, 5,internal=true);
translate([0,0,-2]) cylinder(h=height,r=intube-1);
}
}
difference(){
union(){
transl... | glb/cad_a2305fd964d2.glb |
Create a Spyglass Canon EF/M42 adapter consisting of a stacked cylindrical assembly. Start by creating a base cylinder with a radius of 30mm and a height of 6mm. Inside this base, remove a central cylinder with a radius of 27.5mm and a height of 4mm, and another with a radius of 27.5mm and a height of 2mm, both startin... | $fa = 1.0;
$fs = 1.0;
clearance = 0.0;
module wedge_180(h, r, d)
{
rotate(d) difference()
{
rotate(180-d) difference()
{
cylinder(h = h, r = r);
translate([-(r+1), 0, -1]) cube([r*2+2, r+1, h+2]);
}
translate([-(r+1), 0, -1]) cube([r*2+2, r+1, h+2]);
}
}
module wedge(h, r, d){
if(d <= 180)
wedge_... | glb/cad_36d19b90a542.glb |
Create a Spyglass Canon EF/M42 adapter. Start by constructing a hollow conical base with a height of 15mm, transitioning from a bottom outer diameter of 60mm to a top outer diameter of 39.75mm. The interior of this cone must be a hollow bore that tapers from 52mm at the bottom to 32.25mm at the top.
On top of this con... | use<EFMountSocket.scad>
use<metric_thread.scad>
r_M42 = 26;
d_ocular=31.75+.5;
th=4;
h_thread=6;
h_cone=15;
h_ocular=40;
$fn = 32;
module M42_tube()
{
translate([0,0,-5])
union()
{
translate([0, 0, 11])
Ring(60,48,1);
EFmountSocket();
}
translate([0,0,h_thread])
diff... | glb/cad_a0fcd60f8b61.glb |
Create a Spyglass Canon EF/M42 adapter. Start with a base cylinder 42.5mm in diameter and 5mm high, featuring an internal metric thread with a 42.5mm diameter and 1mm pitch. On top of this base, add a 5mm high conical transition section that flares from the 42.5mm base diameter to a 39.75mm diameter. Above the cone, pl... | use<metric_thread.scad>
r_M42 = 21+.25;
d_ocular=31.75+.5;
th=4;
h_thread=5;
h_cone=5;
h_ocular=40;
$fn = 32;
module M42_tube()
{
difference()
{
cylinder (r = r_M42+2*th, h = h_thread, center = false);
translate([0,0,-.10])
metric_thread (diameter=2*r_M42, pitch=1, length=h_thread+1, in... | glb/cad_522613b72941.glb |
Create a sharpener stone mount consisting of a base and a supporting upright. Start with a rectangular base measuring 25mm wide, 4mm thick, and 25mm long. At one end of this base, create a vertical support structure that is 25mm wide and 4mm thick. Attached to this support is a larger rectangular block measuring 38.5mm... | stone_w = 35;
stone_h = 23;
stone_l = 98;
original_stone_l = 158;
cut = 1;
dist = (original_stone_l - stone_l)/2 - 3 - 2;
translate ([-25 / 2, 0, 0]) {cube ([25, dist, 4], 0);
rotate ([0, 270, 180]){
linear_extrude(height = 25, center = 0, convexity = 10, twist = 0) polygon(points=[[0,0],[4,0],[0,3]],center ... | glb/cad_eded576ec18a.glb |
Create a sphere with a diameter of 10mm. | diameter = 10;
sphere(diameter); | glb/cad_eb9fb8d8e0c6.glb |
Create a chess pawn by combining a cylinder and a sphere. Start by creating a cylinder with a radius of 5mm and a height of 10mm, centered on the origin. Position a sphere with a radius of 5mm directly on top of the cylinder, with the center of the sphere located 10mm above the base plane. The resulting shape should be... | head = 5;
neck = 5;
body = 10;
module pawn(head, neck, body){
translate([0,0,10]){sphere(head);}
cylinder(body, neck);
}
pawn(5, 5, 10); | glb/cad_09126cb14fb9.glb |
Create a keychain called Llavero Vemn. Start with a central rectangular block that is 20mm wide, 20mm deep, and 23.33mm high.
Carve four identical recessed grooves into the faces of this block. Each groove is a thin rectangular slab measuring 6.45mm wide, 1mm thick, and 23.33mm long. Position these grooves so they ar... | $fn=50;
ancho_caja = 20;
module caja (){
alto_caja = ancho_caja * 70 / 60;
cube([ancho_caja,ancho_caja,alto_caja], center=true);
}
module lineaV (){
alto_caja = ancho_caja * 70 / 60;
espesor_v = ancho_caja * 5 / 100;
ancho_v = ancho_caja / 3.1 ;
rotate([0,atan(ancho_caja/alto_caja),0])
... | glb/cad_2754aad26b0b.glb |
Create a Limit Switch Clip for 8020 1020 profiles. Start with a solid rectangular block measuring 17.95mm in width, 14mm in depth, and 20mm in height. From this main body, remove a central rectangular section to create a U-shaped channel that is 13.95mm wide and 2.22mm deep, extending through the full 20mm height of th... | cWide=13.95;
cDeep=2.22;
tHigh=20;
cThick=2;
tDeep=14;
tWide=cWide+(2*cThick);
difference(){
cube([tWide, tDeep, tHigh]);
translate([(tWide-cWide)/2, 6, 0]){
cube([cWide, cDeep, tHigh]);
}
translate([3.5, -2.8, 0]){
rotate([0, 0, 60]){
cube([10, 4, 20]);
}
}
translate([10, 5, 0]){
rot... | glb/cad_a1249afc63eb.glb |
Create a Customizable Fan Duct System by revolving a specific cross-section profile around a central Z-axis with a resolution of 200 facets.
The profile is positioned at a distance from the center equal to half of the total diameter, which is 126mm (calculated as a 123mm propeller diameter plus 1.5mm spacing on each ... | prop_dia_upper = 123;
prop_spacing = 1.5;
dia_total = prop_dia_upper + (prop_spacing*2);
lip_radius_pc = 0.13;
shroud_lower_length_pc = 0.50;
duct_angle = 10;
duct_resolution = 200;
lip_dia = (dia_total * lip_radius_pc)*2;
shroud_lower_length = shroud_lower_length_pc * dia_total;
echo ("Shroud Lower Height = ", ... | glb/cad_a192f11bf1ff.glb |
Create a Raspberry Pi camera mount consisting of a central disc and two supporting arms. Start by creating a central cylinder with a radius of 10mm and a height of 3mm. Bore a hole through the center of this cylinder with a radius of 2.2mm. To form the supporting legs, create two mirrored structures on either side of t... | $fn=80;
difference() {
translate([0,0,1.5])
cylinder(r=10,h=3, center=true);
translate([0,0,1.5])
cylinder(r=2.2,h=3, center=true);
}
hh=15;
hh2=3;
module legs (){
hull() {
translate([-13.5,-12,hh/2])
cylinder(r=2,h=hh, center=true);
translate([-8,-3,hh2/2])
cylinder(r=2,h=hh2, center=true);
}
hull(... | glb/cad_4d07d4fd7553.glb |
Create a capacitive sensor bracket consisting of a mounting plate and a sensor housing. Start with a rectangular back plate 4mm wide, 24mm deep, and 9.4mm high. Drill two horizontal holes through this plate, each 6mm in diameter, spaced 18mm apart centered along the depth.
Extend a support arm from the front of the ba... | back_plate_height = 15;
height = 9.4;
thickness = 6;
screws_spacing = 18;
screws_diameter = 6;
sensor_diameter = 19;
sensor_spacing = 0;
mount_start = (2*thickness)+screws_spacing+screws_diameter;
middle = mount_start/2;
clearance = 30;
$fn=50;
difference() {
translate([0, 0, 15])
cube([thickness-2, mount_start... | glb/cad_591be92b8f73.glb |
Create an Arduino mockup consisting of a thin rectangular base with four small cylindrical pegs. Start by creating a rectangular plate measuring 101.6mm in length, 53.3mm in width, and 0.3mm in height. Position four cylinders, each with a radius of 1.6mm and a height of 10mm, vertically on the top surface of the plate.... | HOLE_R = 1.6;
HOLE_HEIGHT = 10;
module arduino_holes(r=1.6, h=10) {
translate([14+1.3, 2.5+15.2+27.9+5.1, 0])
cylinder(r=r, h=h);
translate([14+1.3+50.8+24.1, 2.5+15.2+27.9+5.1, 0])
cylinder(r=r, h=h);
translate([14, 2.5, 0])
cylinder(r=r, h=h);
translate([96.5, 2.5, 0])
cylinder(r=r, h=h);
}
$fn=30;
arduino_holes... | glb/cad_f271684848f9.glb |
Create a protective electronics box for an Arduino and RAMPS board. Start by constructing a U-shaped base with a total width of 60mm, a height of 40mm, and a wall thickness of 1.5mm. The base consists of a flat bottom plate and two vertical side walls.
On the bottom plate, center a large circular cutout with a radius... | height = 40;
width = 60;
thickness_r = 1.5;
extra_r = 3;
fan_from_side = 5;
$fn = 50;
module base() {
hull() {
translate([-1,0,0])
cylinder(r=thickness_r, h=15);
translate([width+1,0,0])
cylinder(r=thickness_r, h=15);
}
hull() {
translate([-1,0,0])
cylinder(r=thickness_r, h=15);
translate([-1,height,0])
... | glb/cad_cedd0618c718.glb |
Create a rectangular electronics box for an Arduino and RAMPS board with overall dimensions of 111.6mm in length, 77.3mm in width, and 30mm in height. The box should have a base thickness of 2mm and walls that are 2mm thick. All four outer vertical corners must be rounded with a radius of 2.5mm, while the inner corners... | use <mounts.scad>
use <arduino.scad>
$fn = 40;
ARDUINO_WIDTH = 53.3;
ARDUINO_LENGTH = 101.6;
ARDUINO_CLEARANCE_L = 3;
ARDUINO_CLEARANCE_R = 3;
ARDUINO_CLEARANCE_T = 10;
ARDUINO_CLEARANCE_B = 13;
ROUNDING_OUTER_R = 2.5;
BOX_WALL_THICKNESS = 2;
ROUNDING_INNER_R = ROUNDING_OUTER_R - BOX_WALL_THICKNESS;
BOX_WIDTH = ARD... | glb/cad_b537a3efbd7a.glb |
Create a mounting box for an Arduino and RAMPS board. Start by constructing a base block that is 26mm wide, 15mm high, and 3mm deep, positioned at coordinates [-3, -3, 0]. Add a second rectangular section to this base that is 20mm wide, 2mm thick, and 14mm high, centered at [0, -5, 0], and round the edges of this secti... | use <../../library/mount.scad>
slide_clearance = 0.5;
slide_thick_side = 15;
slide_thin_side = 10;
slide_thickness = 5;
slide_depth = 12;
module base() {
extrusion_mount();
translate([0,-5,0])
minkowski() {
cube([20, 2, 15-1]);
cylinder(r=3,h=1);
}
translate([-3,-3,0])
cube([26, 3, 15]);
}
module stickin... | glb/cad_d4a0aa74c45c.glb |
Create a rectangular electronics box for an Arduino and RAMPS board. The outer dimensions of the box should be 60.3mm in width and 110.6mm in length, with a total height of 30mm. The walls and the bottom base should be 2mm thick. All four outer vertical corners must be rounded with a radius of 2.5mm, and the correspond... | use <mounts.scad>
use <arduino.scad>
$fn = 40;
ARDUINO_WIDTH = 53.3;
ARDUINO_LENGTH = 101.6;
ARDUINO_CLEARANCE_L = 3;
ARDUINO_CLEARANCE_R = 3;
ARDUINO_CLEARANCE_T = 10;
ARDUINO_CLEARANCE_B = 13;
ROUNDING_OUTER_R = 2.5;
BOX_WALL_THICKNESS = 2;
ROUNDING_INNER_R = ROUNDING_OUTER_R - BOX_WALL_THICKNESS;
BOX_WIDTH = ARD... | glb/cad_54318158edba.glb |
Create a Falcon Tube Funnel consisting of two main components: a conical bottom base and a cylindrical top insert, designed to screw together.
The bottom part is a funnel-like structure. Create a central cylinder with a diameter of 13mm and a height of 10mm, which transitions upward into a larger conical section with ... | use <path_extrude.scad>;
td1=33;
td2=36;
th=20;
bd1=td1;
bd2=13;
bd3=22;
bh1=20;
bh2=10;
hlw=4;
hll=20;
ww=1;
xw=0.4;
bh3=bh2 + ((bd3-bd2)/(bd1-bd2) * bh1);
$fn=80;
module eh(){
rotate([0,-90,0]) linear_extrude(height=ww, center=true){
translate([0,bd3/2-1.1]) difference(){
union(){
... | glb/cad_b0e267f553b4.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.