Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Laser Warning Sign and Blinkbox. First, construct a hollow rectangular box with outer dimensions of 43mm x 43mm x 24mm. The walls and floor should be 1mm thick, leaving an interior cavity of 41mm x 41mm x 22mm. Centered on the top face of the box, create a circular hole with a diameter of 5.1mm that passes com... | difference()
{
cube([43,43,24],center=true);
translate([0,0,1]) cube([41,41,22],center=true);
cylinder(d=5.1,h=30,center=true);
}
translate([50,0,-12]) cube([43,43,1],center=true);
translate([50,0,-11]) cube([41.5,41.5,1],center=true); | glb/cad_8bf0584e3ea6.glb |
Create two hexagonal mounts for a Nanoleaf replica, each with a diameter of 45mm and a height of 6.8mm. For the first mount, create a solid hexagonal prism and remove two coaxial cylindrical holes from its center: one with a diameter of 5mm that passes completely through the height of the part, and a second, wider hole... | module konsole()
{
difference(){
cylinder(d=45,6.8,center=true,$fn=6);
cylinder(d=5,h=7,center=true,$fn=64);
translate([0,0,3])cylinder(d=10,h=7,center=true,$fn=64);
};
};
module konsole_deckel()
{
{
cylinder(d=45,6.8,center=true,$fn=6);
translate([0,0,3.4])cylinder(d=9.5,h=3,center=true,$fn=64);
};
};
konsole();
tr... | glb/cad_1cb35b978366.glb |
Create a power supply case consisting of a front and back shell. Both shells start as a rounded block with overall dimensions of 118mm x 68mm x 103mm (created by adding a 3mm radius sphere to a 115mm x 65mm x 100mm cube).
For the front shell, hollow out the center with a 100.5mm x 50.5mm x 100mm cube. Remove two 12mm ... | module block()
{
translate([0,0,50])
{
minkowski()
{
cube([115,65,100],center=true);
sphere(d=3);
};
};
};
module front()
{
difference()
{
block();
translate([0,0,52.5]) cube([100.5,50.5,100],center=true);
translate([-15,0,38]) cube([72.5,39.5,90],center=true);
translate([-15,0,38]) cube([76.5,13,90],ce... | glb/cad_ff86b9fd80a9.glb |
Create a power supply case consisting of a front and back shell. Start with a base block for each half that is 118mm wide, 68mm deep, and 183mm tall with rounded corners (3mm radius).
For the front shell, hollow out the center with a 100.5mm x 50.5mm x 180mm rectangular cavity. On the front face, create a rectangular ... | module block()
{
translate([0,0,50])
{
minkowski()
{
translate ([0,0,40]) cube([115,65,180],center=true);
sphere(d=3);
};
};
};
module front()
{
difference()
{
block();
translate([0,0,92.5]) cube([100.5,50.5,180],center=true);
translate([-15,0,38]) cube([72.5,39.5,90],center=true);
translate([-15,0,38])... | glb/cad_efeea74ecfec.glb |
Create a push cap for a food processor by constructing a main cylinder with a diameter of 49mm and a height of 105mm. From the center of this main body, remove a conical void that extends the full height of the object to 108mm, starting with a base diameter of 43mm at the bottom and tapering to a diameter of 40mm at th... | $fn=100;
difference(){
union() {
cylinder(d=49,h=105,center=false);
translate([24,0,0]) cylinder(d=49,h=105,center=false);
translate([12.5,0,0]) cylinder(d=50,h=105,center=false);
translate([17.5,0,0]) cylinder(d=50,h=105,center=false);
translate([7.5,0,0]) cylinder(d=50,h=105,center=false);
translate([-5,0,0]) {
trans... | glb/cad_dfab52c55b6f.glb |
Create a plug for a 25mm stainless steel conduit by combining a cylinder and a partial sphere. First, create a cylinder with a height of 5mm and a diameter that tapers slightly from 20.5mm at the bottom to 21.5mm at the top. Position a sphere with a diameter of 40mm so that its center is 14.4mm below the center of the ... | $fn=128;
cylinder(d1=20.5,d2=21.5,h=5,center=true);
translate([0,0,-14.4])difference() {
sphere(d=40,center=true);
translate([0,0,-3.2]) cube([40,40,40],center=true);}; | glb/cad_de68bb74662b.glb |
Create a plug for a 25mm stainless steel conduit by combining a truncated sphere and a tapered cylinder. Start by creating a sphere with a diameter of 40mm and remove a central cube of 40mm per side, shifted 3.2mm along the Z-axis, to create a hollowed dome. Attach a tapered cylinder to the flat base of this dome; the ... | $fn=128;
difference()
{
union() {
cylinder(d1=20.5,d2=21.5,h=5,center=true);
translate([0,0,-14.4])difference() {
sphere(d=40,center=true);
translate([0,0,-3.2]) cube([40,40,40],center=true);};
};
translate([10.75,0,0]) cylinder (d=10,h=10,center=true);
}; | glb/cad_34cfd5d9f423.glb |
Create a Manual Joystick Controller case consisting of a main body and a lid.
For the main body, create a rectangular block 72.58mm wide, 72.58mm deep, and 50mm high. Hollow out the center by removing a block 69.58mm wide, 69.58mm deep, and 50mm high, leaving a wall thickness of 1.5mm.
On the top surface, create fi... | $fn=64;
module oberteil()
{
translate ([28.48,-14.7-68.58,0]) difference()
{cube([72.58,72.58,50],center=false);
translate([1.5,1.5,2]) cube([69.58,69.58,50],center=false);
};
translate ([35.56,-17.78,0]) cylinder(h=16,d=5,center=false);
translate ([93.98,-17.78,0]) cylinder(h=16,d=5,center=false);
transl... | glb/cad_7b5a0630ba5f.glb |
Create a Manual Joystick Controller case. Start by creating a main rectangular body 72.58mm wide, 72.58mm deep, and 50mm high. Hollow out the interior by removing a central block 69.58mm wide, 69.58mm deep, and 50mm high, leaving a wall thickness of 1.5mm.
On the top surface, create a circular opening with a diameter ... | $fn=64;
module oberteil()
{
translate ([28.48,-14.7-68.58,0]) difference()
{cube([72.58,72.58,50],center=false);
translate([1.5,1.5,2]) cube([69.58,69.58,50],center=false);
};
translate ([35.56,-17.78,0]) cylinder(h=16,d=6,center=false);
translate ([93.98,-17.78,0]) cylinder(h=16,d=6,center=false);
transl... | glb/cad_ac7f496b6526.glb |
Create a replacement fan for a 500W spindle. Start by constructing a main outer ring that is a cylinder with a diameter of 57mm and a height of 25.4mm, centered on the origin. Hollow out the center of this ring by removing a cylinder with a diameter of 51mm and a height of 42mm.
Inside this ring, create a central hub ... | $fn=64;
module aussen()
{
difference()
{
union() {
minkowski()
{cylinder(d=54,h=22.4, center=true);
sphere(d=3);
}
}
cylinder(d=51,h=42, center=true);
}
};
module fluegel()
{
translate([0,0,2.75]) cylinder (d=15,h=16, center=true);
translate ([10,-10,3.0]) ro... | glb/cad_7f3c5c8ebb2d.glb |
Create a cable management and fan replacement part for a 52mm spindle. Start by creating a central cylinder with a diameter of 35mm and a height of 5mm, centered on the origin. Add a second cylinder with a diameter of 20mm and a height of 5mm, centered vertically, and offset its center to the coordinates (20, 0, 0).
... | $fn=180;
difference() {
union() {
cylinder(d=35, h=5, center=true);
translate ([20,0,0]) cylinder(d=20, h=5, center=true);
};
cylinder(d=25, h=5, center=true);
translate ([20,0,0]) cylinder(d=10, h=5, center=true);
translate ([-15,0,0]) cube([20,20,5], center=true);
... | glb/cad_dca6ed2b91f9.glb |
Create a cable management clamp and fender for a 52mm spindle. Start with a main circular ring that has an outer diameter of 63mm and a thickness of 10mm, centered on the origin. Cut a concentric hole through the center of this ring with a diameter of 53mm.
Extend the assembly by adding a cylindrical cable clamp to o... | difference(){
union() {cylinder(d=63,h=10,center=true);translate ([-32.5,0,0]) cylinder(d=15,h=10,center=true);translate ([36,0,0]) cube ([20,15,10],center=true);translate ([-50,0,10]) cylinder(d=15,h=30,center=true);
translate ([-40,0,0])cube ([8,8,10],center=true);
}
cylinder(d=53,h=10,center=true);
translate ([-... | glb/cad_2a444e5ec5d7.glb |
Create a Moonlamp Base consisting of two main parts: a base and a cap.
For the base, create a primary cylinder with a diameter of 70mm and a height of 1.5mm. On top of this, add a second concentric cylinder with a diameter of 66.5mm and a height of 3mm. Subtract a central vertical cylinder with a diameter of 66.5mm a... | $fn=180;
module base()
{
difference () {
union() {cylinder(d=70,h=1.5,center=false);
cylinder(d=66.5,h=3,center=false);
};
translate ([5.5,0,0]) cylinder(d=5, h=7, center=true);
translate ([-3,0,0]) cube ([3,9,7], center=true);
translate ([0,20,0])cylinder (d=6, h=6,center=true);
translate ([0,-20,0])cylinder (d=6... | glb/cad_6029794991de.glb |
Create an Ender 3 Gantry leveling aid consisting of a vertical plate and a base. Start by creating a main vertical rectangular block that is 5mm wide, 40mm deep, and 115mm tall. Attached to the bottom of this block, create a horizontal base platform that is 25mm wide, 40mm deep, and 5mm thick. From this base platform, ... | b=5.8;
cube([5,40,115],center=false);
cube([25,40,5],center=false);
difference() {
translate([0,7,-b/2]) cube([25,b,3], center=false);
translate([0,7+b-1,-b-1]) rotate ([45,0,0])cube([25,b,3], center=false);
translate([0,9.8,-b+1.5]) rotate ([135,0,0])cube([25,b,3], center=false);
};
difference() {
... | glb/cad_7a3432bb26bd.glb |
Create a cable cover for an Ender 3 with an MKS GEN 1.4 board. Start by constructing a main rectangular base plate measuring 95mm in length, 84.5mm in width, and 2mm in thickness. From this base, extend two vertical walls downward to create a U-shaped enclosure. The first wall is 2mm thick, 84.5mm wide, and 20mm high, ... | $fn=64;
module huelle() {
cube([95,84.5,2],center=false);
translate([0,0,-18]) cube([2,84.5,20],center=false);
translate([93,0,-18]) cube([2,84.5,18],center=false);
translate([93,15,-58]) cube([2,69.5,40],center=false);
};
difference()
{
huelle();
translate ([-5,22.25,-8]) rotate ([0,90,0]) cylinder (d=4.5, h=10)... | glb/cad_680afd0037d5.glb |
Create a whistle consisting of a main body and a separate internal ball. For the body, start with a cylinder 30mm in diameter and 20mm high, centered on the origin. Carve out a central cylindrical chamber 26mm in diameter and 16mm high. Remove a rectangular section from the side of the body measuring 40mm wide, 2.5mm t... | $fn=64;
module body() {
cylinder (h=20,d=30, center=true);
translate ([20,11,0]) cube([40,8,20], center=true);
translate ([-18,0,0])rotate_extrude(convexity = 10) translate([3, 0, 0]) circle(r = 1.5, $fn = 100);
translate ([39,15,0]) cylinder (r=1,h=20, center=true);
}
module ball()
{difference(){
sphere(d=8,center=t... | glb/cad_d1461a38b1e1.glb |
Create a whistle consisting of a main body and a separate internal ball. For the body, start with a cylinder 30mm in diameter and 30mm in height, centered on the origin. Carve out a central cylindrical chamber 26mm in diameter and 26mm in height. From this chamber, remove a rectangular block 40mm wide, 2.5mm thick, and... | $fn=64;
module body() {
cylinder (h=30,d=30, center=true);
translate ([20,11,0]) cube([40,8,30], center=true);
translate ([-18,0,0])rotate_extrude(convexity = 10) translate([3, 0, 0]) circle(r = 1.5, $fn = 100);
translate ([39,15,0]) cylinder (r=1,h=30, center=true);
}
module ball()
{difference(){
sphere(d=8,center=t... | glb/cad_fca1aa9df545.glb |
Create a 5015 to 4010 fan adapter. Start by creating a rectangular base block measuring 39.8mm in length, 9.75mm in width, and 9.75mm in height. Centered on this block, remove a rectangular section to create a hollow passage.
At the top of the base, add a second rectangular section measuring 28mm by 12mm with a height... | $fn=25;
module 4010_fan() {
rotate([90,0,0])
difference() {
cube([39.8,9.75,9.75], center=true);
translate([(39.8/2-2.5),-4.875+2.5,-1.125]) cylinder(d=5,h=6.01);
translate([(39.8/2-2.5),-4.875,-1.125]) cube([5,5,6.01]);
translate([(39.8/2-5),-7.375,-1.125]) cube([5,5,6.01]);
translate([(-39.8/2... | glb/cad_73956e15f7d8.glb |
Create a 5015 to 4010 fan adapter. Start by creating a central rectangular block measuring 28mm wide, 12mm deep, and 8.4mm high.
To form the 4010 fan mounting section, create a larger rectangular frame measuring 39.8mm by 9.75mm by 9.75mm. From this frame, remove a central rectangular section of 5mm by 5mm by 6.01mm,... | $fn=25;
module 4010_fan() {
rotate([90,0,0])
difference() {
cube([39.8,9.75,9.75], center=true);
translate([(39.8/2-2.5),-4.875+2.5,-1.125]) cylinder(d=5,h=6.01);
translate([(39.8/2-2.5),-4.875,-1.125]) cube([5,5,6.01]);
translate([(39.8/2-5),-7.375,-1.125]) cube([5,5,6.01]);
translate([(-39.8/2... | glb/cad_1a680de80313.glb |
Create a hollowed-out rectangular container. Start by constructing a solid block with a footprint of 100mm by 100mm and a height of 30mm. Apply a fillet to all edges of this block using a radius of 11mm to ensure all corners and edges are rounded. Inside this shape, carve out a central rectangular cavity that is 150mm ... | $fn=64;
module block()
{
translate ([0,0,15]) minkowski () {
cube([100,100,30], center=true);
cylinder(d=40,h=0.0001);
}
minkowski() {
cube([100,100,2], center=true);
sphere(d=22, center=true);};
}
module innen()
{
translate([0,0,21]) cube([150,150,40], center=true);
minkowski() {
cube([... | glb/cad_f599fbcd48ac.glb |
Create a heatbed carriage adapter plate. Start with a base rectangular slab measuring 82mm by 53mm with a thickness of 6mm. Round all four corners with a 4mm radius.
On the top surface, create a pattern of eight holes that pass completely through the plate. Position four primary holes at the corners of a rectangle ce... | b=25;
c=25;
module ender_adapter()
{
difference() {
union () {
minkowski() { sphere(4, $fn=64); cube([82, 53, 1], center=true);}
translate ([0,0,1.5]) minkowski() { cylinder(r=4, h=0.001, $fn=64); cube([82, 53, 6], center=true);}
}
translate ([30,20.5, -5]) {cylinder(r=2.5, h=20, $fn=64... | glb/cad_19f4cfb89f31.glb |
Create a heatbed carriage adapter for a linear Y-axis mod. Start with a main block measuring 45mm x 60mm x 43mm, centered on the origin.
From this block, remove a central rectangular section measuring 42.5mm x 32mm x 22.5mm, positioned at [1.25, 15, 11.25]. To create the rounded profile, remove a 45-degree rotated cu... | $fn=100;
module eckig()
{
difference()
{
cube([45,60,43],center=true);
translate([1.25,15,11.25]) cube([42.5,32,22.5],center=true);
translate([-40,-40,-23]) cube([80,80,3],center=false);
translate([-10,15,0]) cube([20.2,32,60],center=true);
translate([10.1,-14.5,10]) cube([20.2,30,20],center=true);
translate([10,1,0])... | glb/cad_f3a2c19bf75e.glb |
Create a Configurable Height Test by constructing a single vertical rectangular prism. The prism must have a square base measuring 10mm by 10mm and a total height of 240mm. | height=240;
cube([10,10,height]); | glb/cad_5f2776ca1b1e.glb |
Create a sensor mount for an 18mm ABL probe. Start by constructing a base plate 3.5mm thick. The footprint of this base is defined by the convex hull of four circles, each with a 5mm radius, positioned at (5, 5), (25, 5), (5, 10), and (27.5, 12.5).
From this base, remove a large central vertical hole to accommodate th... | $fn=100;
module basis()
{linear_extrude(height=3.5)
hull()
{
translate([5, 5, 0])
circle(r=5);
translate([25, 5, 0])
circle(r=5);
translate([(5), 10, 0])
circle(r=5);
translate([27.5, 12.5, 0])
circle(r=2.5);
}
translate ([-4,22,-16.5]) cylinder(h=20, r=12, center=false);
t... | glb/cad_6b3e78425b81.glb |
Create a configurable clamp for a WLANThermo mount. Start by constructing a hollow cylinder with an inner diameter of 31.25mm, an outer diameter of 37.25mm, and a height of 25mm. Cut a vertical slot through the cylinder to create an opening that is 77% of the inner diameter in width. Attach a rectangular flange to one ... | innendurchmesser=31.25;
wandstaerke=3;
breite=25;
oeffnung=0.77;
flanschbreite=15;
flanschhoehe=5;
aussendurchmesser=2*wandstaerke+innendurchmesser;
$fn=100;
module ring() {
difference(){
cylinder (d=aussendurchmesser,h=breite);
cylinder (d=innendurchmesser,h=breite);
translate ([-oeffnung*innendurchmesse... | glb/cad_846fb8dd5435.glb |
Create a WLANThermo Nano mount consisting of two separate parts: a thermometer holder and a handle clamp.
For the holder, create a rounded rectangular sleeve with an outer width of 111mm and a total height of 44mm. The walls should be 3mm thick. The bottom is a solid plate 6mm thick. Inside this base, center a hexagon... | bodenstaerke=6;
wandstaerke=3;
haltenase=1.5;
breite=105;
hoehe=36.5;
toleranz=0.5;
name="WLANThermo";
$fn=100;
basisradius=25;
basisbreite=105;
radius=basisradius*breite/basisbreite;
ausschnitt=breite-2*radius;
breite_klammer=breite+2*wandstaerke+2*toleranz;
hoehe_klammer=hoehe+toleranz+bodenstaerke+haltenase;
breit... | glb/cad_b126eb7a8dce.glb |
Create a tripod adapter mount consisting of a base foot and a top plate. Start by creating the base foot as a polyhedron with a rectangular bottom measuring 24mm wide by 40mm long. The top of this foot should taper inward to a width of 24mm and a length of 31mm, with a total thickness of 6.25mm.
On top of this base, c... | translate (0,0,0);
Laenge_Fuss_unten = 40;
Laenge_Fuss_oben = 31;
Versatz = (Laenge_Fuss_unten - Laenge_Fuss_oben)/2;
Gesamtdicke = 10;
Breite_Fuss = 24;
Dicke_Fuss = 6.25;
Breite_Oberteil = 30;
Laenge_Oberteil = 42;
Dicke_Oberteil = Gesamtdicke - Dicke_Fuss;
Rand_gerade = (Breite_Fuss - Breite_Oberteil)/2;
Rand_schrae... | glb/cad_eb422089330a.glb |
Create a tripod adapter mount consisting of a base foot and a top plate. Start by creating the base foot as a polyhedron with a width of 44mm and a thickness of 5mm. The bottom face is a rectangle 44mm wide by 44.5mm long. The top face of this base is smaller, measuring 38mm wide by 37mm long, centered on the base to c... | translate (0,0,0);
Laenge_Fuss_unten = 44.5;
Laenge_Fuss_oben = 37;
Versatz = (Laenge_Fuss_unten - Laenge_Fuss_oben)/2;
Gesamtdicke = 10;
Breite_Fuss = 44;
Dicke_Fuss = 5;
Breite_Oberteil = 38;
Laenge_Oberteil = 32;
Dicke_Oberteil = Gesamtdicke - Dicke_Fuss;
Rand_gerade = (Breite_Fuss - Breite_Oberteil)/2;
Rand_schraeg... | glb/cad_b64fe552ea3a.glb |
Create a Mini Greenhouse clip consisting of a main body and a central cutout. Start with a cylinder 10mm high with a radius of 5.5mm. Add two hull-shaped extensions to the sides: one created by joining a cylinder of radius 7mm and two smaller cylinders of radius 1mm positioned at [15, -3.5, 0] and [15, 3.5, 0], and ano... | translate([25, -10])
MeltMount();
translate([-15, -10])
mirror([1, 0, 0])
MeltMount();
translate([25, -10])
GlueMount();
translate([-15, -10])
!mirror([1, 0, 0])
GlueMount();
Clip();
module Octagon(width, corners = (1 + sqrt(2))) {
a = width / corners;
polygon([
[width/2, -0.5*a],
[0.5*a, -w... | glb/cad_1edb7ccfefe3.glb |
Create a Right Angle Ruler by forming an L-shaped base from two intersecting rectangular prisms. Start with one prism measuring 120mm in length, 30mm in width, and 5mm in height. Join this to a second prism of the same 5mm height, measuring 30mm in width and 120mm in length, positioned perpendicularly to create a squar... | difference()
{
union()
{
translate([0,0,0])
cube([120,30,5]);
cube([30,120,5]);
translate([0,0,5])
cube([120,4,7]);
}
translate([32,32,0])
cylinder(d=8,h=12,center=true, $fn=90);
translate([15,15,0])
cylinder(d=6,h=12,$fn=90, center=true);
} | glb/cad_fc34c7546f92.glb |
Create a dive computer model. Start with a main cylindrical body that has a radius of 22.5mm and a height of 10.9mm. On the top surface of this cylinder, center a smaller circular indentation with a radius of 21mm and a depth of 0.9mm.
Within this top circular area, add three lines of embossed text. The first line sho... | dive_computer();
module dive_computer(){
difference(){
union(){
cylinder( h = 10+0.9, r = 45/2, $fn=60);
difference(){
translate([-35/2,-50/2,0]) cube([ 35,50, 10]);
translate([-40/2,50/2-2,10]) rotate([-45,0,0]) cube([ 40,4, 4]);
translate([-40/2,-50/2-4,10]) rotate([-45,0,0]) cube([ 40,4, 4]);
}
}
transla... | glb/cad_2af0dc7122a2.glb |
Create a bushing by constructing a hollow cylinder with an outer radius of 13mm and an inner radius of 10mm. The object should have a total height of 20mm. Ensure the inner hole is centered and passes completely through the cylinder to create a uniform wall thickness of 3mm. | difference(){
translate([0,0,0]) cylinder( h = 20, r = 13, $fn=60);
translate([0,0,0]) cylinder( h = 20, r = 10, $fn=60);
} | glb/cad_ec1fca68da01.glb |
Create a scuba diver weight belt by constructing a curved, hollowed-out ring. Start with a large cylinder that has a radius of 150mm and a height of 60mm. From this, remove a smaller concentric cylinder with a radius of 145mm and the same height of 60mm to create a thin circular wall.
To create the slots for weights,... | resolution=60;
module belt(){
difference(){
translate([-10,140,0]) cube([ 20,25, 30 ]);
translate([0,0,8]) cylinder( h = 60, r = 155, $fn=resolution);
translate([-10,140+25-15,8]) cube([ 20,7, 30 ]);
cylinder( h = 60, r = 145, $fn=resolution);
}
difference(){
cylinder( h = 60, r = 150, $fn=resolution);
cylinder( h = ... | glb/cad_858e8f0658fc.glb |
Create a scuba diver regulator consisting of two symmetrical mirrored components. For the upper section, create a cylinder with a radius of 30mm and a height of 15mm. On top of this cylinder, add a second tapered cylinder (frustum) with a bottom radius of 30mm, a top radius of 25mm, and a height of 8mm. Centered on the... | letter = "D";
module regulator_upper(){
difference(){
union(){
cylinder( h = 15, r = 30, $fn=60);
translate([0,0,15]) cylinder( h = 8, r1=30, r2 = 25, $fn=60);
translate([-50,0,7.5-1]) rotate([0,90,0]) cylinder( h = 30, r = 7.5, $fn=60);
translate([-33,0,7.5-1]) rotate([0,90,0])cylinder( h = 5, r = 10, $fn=60);
}
tr... | glb/cad_3c0459ddd123.glb |
Create a scuba diver air tank regulator. Start by placing two vertical cylinders with a radius of 7.5mm and a height of 30mm, positioned 110mm apart. At the base of each cylinder, add a wider, shorter cylindrical cap with a radius of 10mm and a height of 5mm. Connect these two assemblies with a horizontal cylinder of r... | distance = 110;
air_tank_regulator();
module indicator(){
difference(){
cylinder( h = 15+2.5+0.6+0.6, r = 30, $fn=60);
difference(){
translate([0,0,15+2.5])cylinder( h = 0,6, r = 25, $fn=60);
translate([-30,0,15+2.5])cube([ 60,30, 5]);
translate([0,0,15+2.5])rotate([0,0,-30])cube([ 60,30, 5]);
}
translate([0,0,15+2... | glb/cad_a865ebb0a9f5.glb |
Create a scuba diver costume harness lower piece. Start by creating a main rectangular base measuring 130mm in width, 5mm in depth, and 15mm in height. From this base, remove a central rectangular section measuring 35mm wide, 20mm deep, and 5mm high, but leave a small margin by centering a cutout of 25mm wide, 15mm dee... | harness_lower();
module harness_lower(){
translate([-130/2,0,0]) cube([130,5, 15 ]);
difference(){
translate([-35/2,0,0]) cube([35,5+10+5+2, 5 ]);
translate([-25/2,5+1,0]) cube([25,10+3, 5 ]);
}
difference(){
translate([-110/2,0,0]) cube([30,25, 5 ]);
translate([-110/2+4,5,0]) cube([22,3, 5 ]);
translate([-110/2+4,5+6... | glb/cad_6b963ccb7088.glb |
Create a trash barrel lid fix consisting of a main rectangular plate and two snap-on rings.
First, create the main plate as a rectangular slab 180mm long, 30mm wide, and 5mm thick. Center a rectangular cutout in the plate that is 34.5mm long and 5mm wide. Place two 4.2mm diameter screw holes through the plate, positi... | $fn = 64;
LENGTH = 180;
WIDTH = 30;
HOLE_DIAMETER = 29;
THICKNESS = 5;
PEG_DIAMETER = 5;
SCREW_HOLE_DIAMETER = 4.2;
SLOT_TOLERANCE = 0.25;
translate([HOLE_DIAMETER,0,0])
ring();
translate([-HOLE_DIAMETER,0,0])
ring();
module ring() {
translate([0,WIDTH*1.25,THICKNESS/2]) difference() {
hull() {
... | glb/cad_5d52668f262e.glb |
Create a screw mount for a base slider by constructing a main body and a supporting wedge. Start with a rectangular block 12mm long, 8mm wide, and 4mm thick, with all four vertical corners rounded to a 1mm radius. Attached to the side of this block, create a wedge-shaped support that is 8mm wide and 4mm thick, angled a... | width = 8;
length = 12;
thickness = 4;
angle = 14.8;
hyp = 8;
points = [[-hyp * cos(90-angle), hyp*sin(90-angle)],[0,0],[hyp,0]];
echo(points);
$fn=50;
difference() {
union() {
rotate(90,[1,0,0])
translate([0,0,-width])
linear_extrude(width)
polygon(points=points,
paths=[... | glb/cad_e716f0910a24.glb |
Create a mini dinner plate by constructing a thin cylinder with a diameter of 30mm and a height of 0.6mm. To add the rim detail, create a concentric ring on the top surface with an outer diameter of 14mm and an inner diameter of 12mm, with a depth of 1mm. | $fs=0.3;
$fa=3;
Output = "Plate";
if(Output == "Table")
round_table();
else if(Output == "Plate")
plate();
else if(Output == "Bowl")
bowl();
else if(Output == "Cup")
cup();
else if(Output == "Fork")
fork();
else if(Output == "Chopstick")
chopstick();
else if(Output == "Plate Die 1")
plate_die_1();
else i... | glb/cad_4caffe3bd840.glb |
Create a Bandsaw Throat Plate by starting with a main cylindrical disk 69.8mm in diameter and 4mm thick.
Cut a central rectangular channel through the disk that is 53.4mm long and 5.8mm wide. At the ends of this channel, create 45-degree angled carve-outs that transition from the channel width to the plate's thicknes... | RENDER = "plate";
DIAMETER = 69.8;
HEIGHT = 4;
CHANNEL_WIDTH = 5.8;
CHANNEL_LENGTH = 53.4;
CHANNEL_OFFSET = 0.0;
STUD_TOP = true;
STUD_BOTTOM = true;
STUD_REAR = false;
STUD_DIAMETER_BASE = 3;
STUD_DIAMETER_TOP = 2.9;
STUD_HEIGHT = 2;
STUD_INSET = 1.5;
NOTCH_DIAMETER = 4;
NOTCH_TOP = false;
NOTCH_BOTTOM ... | glb/cad_407f6b2af603.glb |
Create a blade fastening screw consisting of a tiered cylindrical base and a threaded shaft. Start with a wide circular base 37mm in diameter and 2mm thick. Centered on top of this base, add a second cylinder 24mm in diameter and 2mm thick. Above that, add a third cylinder 23mm in diameter and 2mm thick. On top of the ... | include <threads.scad>;
$fn = 100;
union() {
difference() {
cylinder(h=2, r1=37/2, r2=37/2);
cube([18, 2.2, 4], center=true);
}
translate([0, 0, 2])
cylinder(h=2, r1=24/2, r2=23/2);
translate([0, 0, 4])
cylinder(h=2, r1=23/2, r2=19/2);
translate([0, 0, 2 + 2 + 2])
... | glb/cad_a33bf2d9f1a0.glb |
Create a blade fastening screw by combining a central rectangular block with two cylindrical end caps. Start with a base rectangular plate measuring 17.2mm in length, 1.6mm in height, and 1mm in width, centered on the origin. Atop this base, add a second rectangular block measuring 14.7mm in length, 5mm in width, and 8... | $fn = 100;
difference() {
union() {
cube([17.2, 1.6, 1], center=true);
translate([0, 0, (8 + 1) / 2])
cube([(17.2 - 2.5), 5, 8], center=true);
translate([(17.6 - 2.5)/2, 0, 1 / 2])
cylinder(h=8, r=2.5);
translate([-(17.6 - 2.5)/2, 0, 1 / 2])
cylin... | glb/cad_537fbeb7892e.glb |
Create a leveling and measuring tool consisting of a rectangular block and a matching threaded bolt.
First, construct the block as a rectangular prism 20mm wide, 20mm deep, and 70mm tall. Remove a vertical internal cylindrical hole with a 9mm diameter and a length of 60mm, centered at X=10mm and Y=10mm, starting from... | use <threads.scad>;
height = 70;
width = 20;
thread_diameter = 9;
thread_slop = 0.4;
module block() {
difference() {
color("Red")
cube([width, width, height]);
group() {
translate([width / 2, width / 2, width / 2])
metric_thread(diameter=thread_diameter, internal=true, length=height - wi... | glb/cad_38f615edcc49.glb |
Create four identical model wheels for a forklift. Each wheel starts as a cylinder with a diameter of 4.7mm and a height of 1.2mm. Remove a central cylindrical core with a diameter of 3.2mm and a depth of 0.5mm from the top face to create a rim. Around the outer perimeter, carve 24 evenly spaced radial grooves. Each gr... | $fn = 64;
wheel_grooves = 24;
wheel_diameter = 4.7;
wheel_height = 1.2;
rim_inset = 0.5;
rim_diameter = 3.2;
groove_size = 0.3;
groove_offset = wheel_diameter / 2;
hubcap_diameter = 1.6;
hubcap_height = 0.2;
module wheel() {
difference() {
cylinder(d=wheel_diameter, h=wheel_height);
group() {
translate... | glb/cad_1e1039d24194.glb |
Create a skeleton lens protector for an Insta360 One X2. Start with a main outer body that is 62mm wide, 21mm deep, and 55mm tall. The walls should be 1mm thick. The interior is hollowed out by removing a central block 61mm wide, 20mm deep, and 55mm tall, starting from a 1mm offset from the bottom and sides.
At the t... | intersection() {
difference() {
union() {
minkowski() {
translate([1,1,0]) cube([62-2,21-2,54]);
cylinder(d=4,h=1, $fn=60);
}
translate([62/2,21/2,55-28]) hull($fn=90) {
sphere(d=34);
cylinder(d=33,h=28, $fn=120);
}
hull() {
translate([61,0.5,1]) #cube([2,21-1,19.01... | glb/cad_32a3897c3749.glb |
Create a cable label plate consisting of eleven identical rectangular labels arranged in a vertical column, joined by a central spine. Each individual label is a rectangular prism measuring 44.7mm in length, 3.7mm in width, and 1mm in height. These labels are spaced evenly along a vertical axis, with the center of each... | $fn = 30;
difference()
{
union()
{
for(i=[0:6:60])
{
translate([17,i,0.5]) cube([22.7,3.7,1],center=true);
hull()
{
translate([17,i,0.5]) cube([22.7,1.0,1],center=true);
translate([17,i,1.0]) cube([20.0,1.0,2],center=true);
}
translate([-17,i,0.5]) cube([22.7,3... | glb/cad_63b28a5ab8ae.glb |
Create a Square of Binomial puzzle by assembling several rectangular prisms and cubes into a larger composite cube. Start with a small base cube of 4mm x 4mm x 4mm. Add three different rectangular prisms with a consistent thickness of 4mm: one measuring 4mm x 4mm x 10mm, one measuring 10mm x 4mm x 4mm, and one measurin... | a=4;
b=10;
c=a+b;
color("red"){
cube([a,a,a]);
}
translate([0,0,a+1])
color("green"){
cube([a,a,b]);
}
translate([a+1,0,0])
color("green"){
cube([b,a,a]);
}
translate([a+1,0,a+1])
color("gold"){
cube([b,a,b]);
}
translate([0,a+1,0])
color("salmon"){
cube([a,b,a]);
}
translate([0,a+1,a+1]... | glb/cad_e1c54867633b.glb |
Create a Prusa house by starting with a hexagonal prism base that is 10mm in diameter and 10mm in height. The top of this base is capped with a hexagonal pyramid of the same diameter and height, created by the intersection of three cylinders of 10mm diameter and 10mm height, each rotated 60 degrees relative to the othe... | $fn=16;
d1=10;
doorD=1.2;
winD=.6;
not=0.001;
d(){
t([0,0,d1*sin(14)]) dice();
t([-d1,-d1,-d1]) cube([2*d1,2*d1,d1]);
door();
for(z=[0,d1/4]) for(a=[0,60,120,180,240,300]) for(m=[0,1]) tr([0,0,z],a) mirror([0,m,0]) window();
}
module door(){
d2=doorD;
tr([d1/10,d1*sin(30)*cos(180/6)-0.2+not,d2*1.2],[0,90,90]) h... | glb/cad_3ca2d0286afa.glb |
Create a mount for a soft-start module by constructing a main rectangular body with a total height of 20mm. The base is formed by combining a cylinder with a 16mm diameter and 2mm height, a rectangular block measuring 16mm by 50mm by 2mm, and a larger block measuring 47mm by 36mm by 20mm. To refine the edges, apply a 5... | $fn=60;
module body()
{
union()
{cylinder(d=16,h=2,center=false);
translate([-8,-50,0]) cube([16,50,2],center=false);
translate([-47+8,-50,0]) cube([47,36,19],center=false);
translate([-59.5+8,-50+8+2.5,0]) minkowski(){cube([57,15,2],center=false); cylinder(d=5,h=0.00001);}
};
};
module body_big()
{
union()
{cy... | glb/cad_9f457dbb43e2.glb |
Create a template for door handles by constructing a rectangular base 120mm wide and 18mm high with a total thickness of 7.7mm. The main body should be a solid block, but the top 6mm of the height should be a thin strip only 1mm thick, creating a stepped profile. Cut a narrow vertical slot 2mm wide through the center o... | $fn = 100;
width = 120;
height = 18;
hole_diameter = 1;
difference(){
union(){
linear_extrude(6){
translate([0,height-1,0]){
square([width,1]);
}
}
linear_extrude(1.7){
difference(){
square([width,height]);
... | glb/cad_5dbf150e674d.glb |
Create a Parametric Modular Honeycomb Organizer consisting of a sheared honeycomb grid attached to a solid base. The overall structure has a height of 85mm.
First, construct a honeycomb grid with 12 rows and 4 columns. Each hexagonal cell must have an internal diameter of 18mm and a wall thickness of 1.4mm. The grid ... | use <dot/shear.scad>;
use <honeycomb.scad>;
height = 85;
diameter = 18;
base = 4.3;
wall = 1.4;
back = 1.4;
rows = 12;
columns = 4;
shear_angle = 75;
id=diameter;
od=diameter+wall;
bw=od*rows*cos(30);
sh_y=height*cos(shear_angle);
difference() {
shear(sy = [0,cos(shear_angle)]) {
translate(honeycomb_orig... | glb/cad_b87062663a18.glb |
Create a Radius Gauge tool with a thickness of 2mm. The base geometry is derived from a radius of 7.17mm (calculated as 9/32 inches scaled by 25.4).
Construct the main body by combining several shapes: a cylinder with a 7.17mm radius, and several rectangular blocks of 2mm thickness. Arrange these to form a flat profi... | RadiusNumerator = 9;
RadiusDenominator = 32;
number = RadiusNumerator;
unit = str("/",RadiusDenominator,"in");
scale = 25.4/RadiusDenominator;
Thickness = 2;
TextDepth = 1;
HoleDiameter = 8;
CurveResolution = 180;
radius = number * scale;
diameter = radius * 2;
minimumWidth = .75 * 25.4;
width = max(diameter, min... | glb/cad_aaa170943506.glb |
Create a calibration snowflake consisting of a central hub with radiating arms. The model is based on a set of target distances: 75mm and 210mm. For each of these two distances, create a pair of opposing rectangular bars, each 5mm wide and 5mm thick, centered on the origin. Position these bars so that the distance betw... | distances = [75,210];
width = 5;
count = 4;
stepdeg = 180/count;
maxdist = distances[0];
for(dist = [0,1,len(distances)-1]){
distance = distances[dist];
if(distance > maxdist) {
maxdist = distance;
}
radius = distance/2;
for(c = [0:1:count-1]){
rotate(a = c*stepdeg, v = [0,0,1]){
... | glb/cad_d5ca16c9c526.glb |
Create a Basic Altoids Nozzle Holder Insert by starting with a solid rectangular block measuring 50.8mm in width, 76.2mm in length, and 20mm in height. Remove fifteen cylindrical holes, each with a radius of 6.5mm and a depth of 25mm, arranged in a 3x5 grid. The holes should be positioned at x-coordinates of 7.5mm, 22.... | nozzle_labels = "0.25 0.3 0.4 0.6 0.8";
difference() {
cube([50.8,76.2,20]);
union() {
for(i=[1:1:5]) {
translate([7.5,i*15-7,-2]){
cylinder(25,6.5,6.5, $fn = 360);
}
}
for(i=[1:1:5]) {
translate([22.5,i*15-7,-2]){
... | glb/cad_0a5770efd0f4.glb |
Create a caulk cartridge stand by starting with a solid square block measuring 170mm x 170mm x 51mm. In this block, carve out a 3x3 grid of nine circular holes, each with a diameter of 50mm and a depth of 200mm. Position the holes so that the outer edges of the grid are offset from the block's sides by 5mm, and the cen... | difference() {
cube([3 * 50 + 4 * 5, 3 * 50 + 4 * 5, 50 + 1]);
translate([5 + 50 / 2, 5 + 50 / 2, 1])
for (x = [0 : 2])
for (y = [0 : 2])
translate([x * (50 + 5), y * (50 + 5)])
cylinder(d = 50, h = 200);
} | glb/cad_6f2a0c7461c8.glb |
Create a 3D placeholder for an ISD1820 Recording/Speaker Module PCB. Start with a base rectangular plate measuring 43mm in length, 39.75mm in width, and 1.75mm in thickness. Center the plate and remove four cylindrical mounting holes with a radius of 1.5mm, positioned near each corner with an inset of 2.25mm from the e... | s = 1;
fn1 = 60;
pcb_l = 43;
pcb_w = 39.75;
pcb_t = 1.75;
pcb_hr = 1.5;
pcb_hi = 2.25;
icsl = 18;
icsw = 10;
icsh = 6.75-1.75;
icsx = -pcb_l/2+16;
icsy = pcb_w/2-icw-11;
m1h = 8.5-1.75;
m1r = 9.75/2;
m1x = -pcb_l/2+m1r+8.5;
m1y = pcb_w/2-m1r-.75;
c1h = 10.5-1.75;
c1r = 2;
c1x = pcb_l/2-11.5;
c1y = -pcb_w/2+13.5;
... | glb/cad_888aff3e4f7c.glb |
Create a square game board for Quarto with overall outer dimensions of 131x131x6 mm. Start by creating a solid square base measuring 131x131x3 mm. On top of this base, add a perimeter frame that is 3 mm wide and 3 mm high, running along all four outer edges. Within this frame, construct a grid of 4x4 equal square compa... | cube ([131,131,3]);
translate ([0,0,3])
cube ([3,131,3]);
translate ([0,0,3])
cube ([131,3,3]);
translate ([128,0,3])
cube ([3,131,3]);
translate ([0,128,3])
cube ([131,3,3]);
translate ([32,0,3])
cube ([3,131,2]);
translate ([64,0,3])
cube ([3,131,2]);
translate ([96,0,3])
cube ([3,131,2]);
translate ([0,32,3])
cube... | glb/cad_a3575cf2e781.glb |
Create a watering spout lid for a bottle. Start by creating a cylindrical base with an outer diameter of 43mm and a height of 22.25mm. The walls of this cylinder should be 2.2mm thick. Inside this base, incorporate a threaded internal structure with a thread width of 3mm and a height of 5mm per thread, repeating every ... | $fn=64;
tol = 0.4;
layer_height = 0.2;
sodastream_diameter = 43;
lid_lock_diameter = 22;
lid_height = 20.75+1.5;
spout_length = 70;
spout_opening_diameter = 12;
spout_opening_thickness = 1;
spout_holes_r = 1;
spout_holes_num = 6;
module spout(h,endd,eth) {
difference() {
cylinder(
h,
... | glb/cad_c843c69a62d7.glb |
Create a Customizable Nozzle Box consisting of a base and a lid.
Construct the base as a rectangular block with a height of 8mm. The base must feature a grid of nozzle holes arranged in 3 rows with 6 nozzles per row. Each hole should be a circle with a radius of 3.2mm (diameter of 6.4mm) and a depth that penetrates t... | use <fontmetrics.scad>;
Number_Of_Rows = 3;
Nozzles_Per_Row = 6;
Distance_Between_Nozzles = 10;
Nozzle_Hole_Type = "Circle";
Lid_Type = "Simple";
Lid_Design = "Hexagon";
Lid_Design_Depth = 0.5;
Design_Spacing = 1;
Hexagon_Size = 6;
Grid_Size = 4;
Random_Abstract_Density = 4;
Image = "Example.svg";
Image_Scale = 0.... | glb/cad_f64d65d270e3.glb |
Create a button on screw by constructing a wide, flat base and a central raised sleeve. Start with a cylinder 25mm in diameter and 4mm high. Centered on top of this base, add a second, narrower cylinder with a diameter of 6mm and a height of 8mm. Finally, bore a 3mm diameter hole vertically through the center of both c... | difference() {
union() {
cylinder(d=25, h=4);
cylinder(d=6, h=8);
}
cylinder(d=3, h=100);
} | glb/cad_0a0757510fd7.glb |
Create a garage door opener enclosure with an outer shell measuring 86.3mm wide, 29mm high, and 35mm deep. The main body is a rounded box with a corner radius of 6mm. The shell has a wall thickness of 1.5mm, and the interior is hollowed out, leaving a solid back panel.
On the front faceplate, create four circular open... | height = 29;
width = 86.3;
depth = 35;
reduction = 2;
radius = 6;
thickness = 1.5;
points=[[radius,radius,radius],[radius,height-radius,radius],[radius+reduction,height-radius-reduction,depth],[radius+reduction,radius+reduction,depth],[width-radius,radius,radius],[width-radius,height-radius,radius],[width-radius-reduct... | glb/cad_8139f413d9d6.glb |
Create a round parametric mesh screen with a total diameter of 102mm and a thickness of 0.2mm. The screen consists of a grid of intersecting lines and a surrounding circular frame.
First, construct the mesh grid by creating a series of parallel lines 0.5mm wide, spaced 3mm apart from center to center. Create one set o... | meshLineWidth = 0.5;
sliceHeight = 0.2;
pitch = 3;
diameter = 102;
frameWidth = 2;
frameHeight = 0.4;
radius = diameter/2;
module mesh () {
for (i = [-diameter:pitch:diameter]) {
translate ([i, 0, 0.5*sliceHeight]) cube([meshLineWidth, 1.1*diameter, sliceHeight], center=true);
}
for (i = [-diam... | glb/cad_fd9ac1bd51c8.glb |
Create a headset holder designed to clamp onto a table edge. The main structure is a C-shaped bracket with a thickness of 1mm.
Construct the bracket using a combination of rectangular sections. Create a horizontal base section that is 57mm long and 1mm thick. From the ends of this base, extend two vertical arms upwar... | include <lib/BOSL2/std.scad>;
include <lib/BOSL2/beziers.scad>;
module celtic(length, height, depth = 10) {
module drawCurve(curve, shift, depth = 10) {
right(shift) {
color("red", 1.0) move_copies(bezier_curve(curve, 80)) cylinder(h = depth, r = 2, center = true);
}
}
module upside() {
translat... | glb/cad_277d372982b9.glb |
Create a Strong IKEA Ivar Shelf Mount consisting of a base plate and an integrated vertical support. Start with a rectangular base plate measuring 45mm by 41.85mm with a thickness of 16mm. At the top edge of this plate, attach a vertical extension that is 25mm wide and 120mm long, extending the total height to 26mm. Wi... | left_right_y=19.2;
top_bottom_z=25.5;
out_left_y=6.7;
ladder_y=45;
ladder_z=18;
ladder_x=16;
pin_length=14;
pin=6;
pin_tolerance=0.35;
pin_diameter=pin+pin_tolerance;
$fn=70;
module pin(){
cylinder(h=pin_length,r=pin_diameter/2);
}
module two_pin(){
pin();
translate([top_bottom_z+pin_diameter+0.2,0,0])... | glb/cad_963932eaf39c.glb |
Create a WS2811 strip holder clip by constructing a main body and removing a specific internal volume. Start with a base block that is 30mm long, 10mm wide, and 11.6mm high. On top of this base, add a second rectangular block that is 30mm long, 5.0mm high, and 11.6mm wide, positioned so it sits flush with the back and ... | led_width=10.6;
led_height=4.2;
led_wall=0.4;
holder_length=30;
holder_height=10;
cutout_width=8.7;
module HolderBase(l, w, h){
polyhedron(
points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]],
faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]]
);
... | glb/cad_6f3070df6a4f.glb |
Create a hook for hanging electronics on a vertical board. Start by constructing a U-shaped bracket with a material thickness of 5mm. The bracket consists of a bottom horizontal beam and a top horizontal beam, both measuring 45mm in length and 15mm in width. These are connected by a vertical beam that is 15mm wide and ... | innercavityZ = 11;
hookthickness = 5;
hookX = 45;
hookY = 15;
mushroomhead = 7.5;
mushroomstem = 4;
mushroomstemheight = 4;
mushroomheadheight = 2;
$fn = 50;
union () {
translate ([hookthickness,0,0]) {
cube ([hookX,hookY,hookthickness], center = false);
}
cube ([hookthickness,hookY,ho... | glb/cad_91a2ad48724c.glb |
Create an E3D v6 adapter for a MendelMax printer. Start with a base rectangular block 60mm long, 30mm wide, and 5mm high, with all four vertical edges rounded to a 2mm radius. On top of this base, center a cylindrical protrusion with a radius of 19mm and a height of 12mm.
Remove a central vertical hole with a 4mm diam... | $fn = 80;
HEIGHT = 5;
LENGTH = 60;
WIDTH = 30;
HOLE_FROM_MIDDLE = 25;
HOLE_R = 2.5;
m4_diameter = 5;
MIDDLE_HEIGHT = 12;
MIDDLE_R = 19;
dM3 = 3.5;
module rounded_cube(x, y, z, r) {
translate([r,r,0])
minkowski() {
cylinder(r=r, h=z-1);
cube([x-2*r, y-2*r, 1]);
}
}
difference() {
union() {
translate([-LEN... | glb/cad_30c8cc35d37c.glb |
Create an E3D v6 for MendelMax adapter. Start by creating a primary cylindrical ring with an outer diameter of 38mm, an inner diameter of 16mm, and a height of 10mm. On top of this, add a second concentric ring with an outer diameter of 18mm and an inner diameter of 12mm, with a height of 6mm.
From this combined struc... | $fn = 90;
PHI= 3.1415926535897932384626433832795028841971;
Clearance = 0.4;
Abstand_M3 = 23;
Gap = 1.5;
dM3 = 3 + Clearance;
LayerHeight= 0.0;
jHeadD1= 16;
jHeadH1= 6;
jHeadD2= 12;
dSrewHead= 6.0 + Clearance;
dHexM3 = 6.2 + Clearance;
MOUNT_HOLE_DIST = 35/2;
LENGTH = 60;
WIDTH = 30;
module oval(w,h, height, cente... | glb/cad_02202298a6b3.glb |
Create a 3.5-inch HDD tray caddy designed to hold two 2.5-inch SSDs. Start with a solid rectangular base measuring 145mm in length, 101.6mm in width, and 24.4mm in height.
Carve out two internal rectangular voids for the SSDs, each measuring 100.5mm by 70.1mm with a height of 9.5mm. Position these voids symmetrically... | hdd_length=145;
hdd_width=101.6;
hdd_height=24.4;
ssd_length=100.5;
ssd_width=70.1;
ssd_height=9.5;
space_height=(hdd_height-ssd_height*2)/3;
hdd_center=(hdd_width/2-ssd_width/2);
$fn=60;
radius = 9;
latticeWidth = 4;
latticeLength = 6;
spacing = 3;
height = hdd_height;
module hdd_cage (){
cube([hdd_length,hdd... | glb/cad_236aef0a27a7.glb |
Create a Shaver Adaptor for Vacuum Cleaner consisting of a hollowed cylindrical body and a rectangular base. Start by creating a main cylinder with a radius of 26.5mm and a height of 85mm, centered on the X-axis. Hollow out the center of this cylinder with a smaller concentric hole of radius 24.5mm and a height of 90mm... | rotate(a=180,v=[1000,0,0]){
rotate(a=90,v=[0,1000,0]){
difference(){
difference(){
difference(){
difference(){
difference(){
difference(){
group(){
translate([42.5,0,0]){
rotate([0,-90,0]){cylinder($fn=100,h=85... | glb/cad_0fd1f84d9458.glb |
Create a Shaver Adaptor for a vacuum cleaner by constructing a rectangular sleeve with a hollow center. Start with a solid block measuring 2mm in width, 61mm in length, and 25mm in height. From this main body, remove a central rectangular channel that runs the full length of the object, with a cross-section of 10mm by ... | rotate(a=180,v=[1000,0,0]){
rotate(a=-90,v=[0,1000,0]){
difference(){
translate([1,0,-12.5]){
cube([2,61,25],center=true);
}
translate([0,0,-12.5]){
translate([-0,-22.4,-0]){
translate([-0,-0,-5.5]){
cube([10,8.2,8],center=true);
}
transl... | glb/cad_615fbcef48a6.glb |
Create a vacuum cleaner adapter consisting of two stacked cylindrical sections.
The base section is a hollow cylinder with an outer radius of 17.5mm and a height of 40mm. This base must have a central hole with a radius of 16.05mm. At the top of this base, create a tapered transition (a frustum) that narrows from a r... | rotate(a=180,v=[1000,0,0]){
group(){
difference(){
difference(){
group(){
difference(){
translate([0,0,-20]){
rotate(a=-90,v=[0,1000,0]){
rotate([0,-90,0]){cylinder($fn=100,h=40,r=17.5,center=true);}
}
}
rotate... | glb/cad_dc8307ddf385.glb |
Create a vacuum cleaner handle extension consisting of a hollow cylindrical body with a slight taper.
Start by creating a main hollow cylinder with an outer radius of 19.2mm and an inner radius of 16.05mm. This section should have a total length of 42mm. Below this, add a tapered transition section that is 28mm long,... | rotate(a=180,v=[1000,0,0]){
group(){
translate([-54.9495,0,-70]){
rotate(a=2.5,v=[0,1000,0]){
difference(){
difference(){
translate([54.9495,0,0]){
difference(){
rotate(a=-90,v=[0,1000,0]){
rotate([0,-90,0]){cylinder($fn=100,h=20,... | glb/cad_7c0ec817cdb9.glb |
Create a mount for a vacuum pipe and floor nozzle. Start with a main rectangular block measuring 81.6mm by 70.4mm by 60mm. From this block, remove a central rectangular section of 100mm by 2.7mm by 20mm and a smaller section of 100mm by 3.7mm by 4.8mm. Additionally, remove a larger rectangular volume of 100mm by 10mm b... | rotate(a=180,v=[1000,0,0]){
rotate(a=90,v=[0,1000,0]){
difference(){
difference(){
difference(){
difference(){
group(){
difference(){
difference(){
translate([0,2,3]){
translate([0,-35.2,-30]){
... | glb/cad_60b61a83bae7.glb |
Create a deflector for blinds by combining three geometric components. Start with a rectangular base measuring 15mm wide, 35mm long, and 1.2mm thick. Attach a vertical rectangular back wall to one end of the base; this wall should be 15mm wide, 5mm deep, and 8.2mm high. Finally, add a horizontal semi-cylindrical deflec... | base_x=15;
base_y=35;
base_z=1.2;
back_y=5;
deflector_r=base_x/2;
deflector_y=base_y-back_y;
deflector_z=8;
full_z=base_z+deflector_r*2+1;
$fn=120;
module base(){
cube([base_x,base_y,base_z]);
}
module back(){
cube([base_x,back_y,full_z]);
}
module deflector(){
rotate([0,90,90]){
cylinder(h=defle... | glb/cad_b33b8186ea86.glb |
Create a Keyboard Cleaning Vac Nozzle consisting of a cylindrical base and a flat, wide cleaning head.
Start with a hollow cylindrical adapter with an outer diameter of 38.2mm and an inner diameter of 33.3mm, extending 20mm in height. At the top of this cylinder, transition into a wide, thin rectangular nozzle head. ... | rotate(a=180,v=[1000,0,0]){
group(){
difference(){
difference(){
group(){
difference(){
group(){
translate([0,0,-10]){
polyhedron([[-27.5,-5,-10],[-18.6,-5,10],[-18.6,5,10],[-27.5,5,-10],[27.5,-5,-10],[27.5,5,-10],[18.6,5,10],[18.6,-5,10]],[[0,1,2,... | glb/cad_e0d9479d8669.glb |
Create a toothbrush and water-flosser head holder. Start with a solid rectangular base with rounded corners, measuring approximately 42.5mm by 75mm with a height of 38mm.
On the top surface, create two vertical cylindrical holes with a diameter of 7.3mm to hold water-flosser heads; position these holes so they are sp... | picDia = 7.3;
picheight = 38;
picRawSpace = 12;
picXMargin = 10;
picYMargin=6.5;
head=18.75;
headGap=4;
headRise=8;
standwidth=42.5;
standlength=54.75;
coordWidth=8;
drain=3;
tiny=0.01;
picSpace = picRawSpace+headGap;
rad=2;
module RoundedSquare(v, r) {
hull(){
for(ix = [0,1], iy = [0,1]){
tran... | glb/cad_c9bc7c7054de.glb |
Create a heel support shaped as a flat, rounded wedge. Start by creating a base plate that is 76.2mm long, 76.2mm wide, and 12.7mm thick. The footprint of this plate should be a square with two adjacent sides rounded into semi-circles with a diameter of 76.2mm, resulting in a shape that is rounded on one end and flat o... | function in(a) = a * 25.4;
wid = in(3.0);
len = in(4.5);
hei = in(0.5);
tiny = 0.01;
$fn=200;
module triangularPrism3(l, w, h){
polyhedron(points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]],
faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]]);
}
module base(){
translate([0, wid/2])circle... | glb/cad_ba6bedf07602.glb |
Create a test tube stand consisting of a central cylindrical holder and three radiating legs. Start by creating a solid cylinder with an outer diameter of 31.8mm and a height of 15mm. Remove a concentric cylindrical hole from the center with a diameter of 25.5mm, extending through the entire height, to create a ring wi... | insideDia=25.4;
clearance=0.1;
wellHeight = 15;
dia= insideDia+clearance;
wall=3;
diskOuter=4*25.4;
$fn=180;
module leg(){
$fn=16;
heig=4*25.4;
dia=6;
rotate([25,0,0]){
cylinder(d=dia,h=heig);
translate([0,0,heig])sphere(d=dia);
}
}
module solidHolder(){
cylinder(d=insideDia+2*wall, h= wellHeig... | glb/cad_6fd2d6512295.glb |
Create a test tube collet for rooting seedlings. Start by creating a solid cylinder with a diameter of 25.24mm and a height of 3mm to serve as the base flange. On top of this base, add a second cylinder with a diameter of 25.24mm and a height of 15mm. Bore a central hole through both cylinders with a diameter of 7mm, b... | wall=3;
innerDia=22.7;
outerDia=25.24;
clearance=0.4;
tiny=0.01;
plugZ=15;
holeDia=7;
$fn=360;
module testTube() {
difference(){
cylinder(d=outerDia+2*clearance, h=100);
translate([0, 0, -tiny])cylinder(d=innerDia-2*clearance, h=102);
}
}
module fullPlug(){
difference(){
union(){
cylinder(d=ou... | glb/cad_908a20f6b0ff.glb |
Create an extract box designed to hold four bottles in a single row. Each bottle cell is based on a rectangular footprint of 26mm by 48mm, which includes a 2mm margin around a 22mm by 44mm bottle base.
For each cell, construct a floor consisting of a 26mm by 48mm rectangular plate with a thickness of 2mm. The floor s... | bottleWidth = 22.0;
bottleLength = 44.0;
wallHeight = 30.;
margin = 2.0;
postDim = 2.0;
XBottles = 4;
YBottles = 1;
epsilon = 0.01;
botWidth = bottleWidth + 2*margin;
botLength = bottleLength + 2*margin;
module risers(){
for(y=[0:3], x=[0:2]){
if(x != 1 || y == 0 || y == 3){
translate([x*(botWidth ... | glb/cad_9583a9e5d2aa.glb |
Create a replacement clasp for shears by constructing a hollowed-out rectangular block with a total height of 7.9mm. The overall outer dimensions of the block should be 14.58mm in width (X), 7.9mm in depth (Y), and 7.9mm in height (Z).
Carve out a central void from the top and bottom to create two outer walls, each 2... | clipZ = 7.9;
clipInnerX = 9.08;
clipLowerY = 3.9;
epsilon = 0.01;
lip = 0.9;
wall = 1.4;
outerWall = 0.5*5;
module halfVoid(){
translate([outerWall, wall/2, -epsilon]){
cube([clipInnerX, clipLowerY, clipZ+2*epsilon]);
}
translate([outerWall+lip, wall/2 + clipLowerY -epsilon, -epsilon]){
cube([clipInnerX-... | glb/cad_e588c84feed2.glb |
Create two separate components to adapt a folding laptop stand for holding a tablet in portrait mode: a shelf and a slat.
First, create the shelf as a symmetrical object centered on the X-axis. The main body is a rectangular base 187mm long, 20mm wide, and 2.2mm thick. From the bottom of this base, remove a central re... | part = "all";
slatX = 187;
slatY = 11;
slatZ = 2.2;
triangleInner=13/2;
triangleWidth = 2;
shelfBaseX = 187;
shelfBaseY = 20;
shelfBaseZ = 2.2;
shelfCut = 13;
shelfUnderCut = 13;
module halfShelf() {
translate([0, 0, 0]){
cube([shelfBaseX/2, shelfBaseY, shelfBaseZ]);
}
translate([0, 0, -shelfBaseZ*2]){
... | glb/cad_ad1fb85e3799.glb |
Create a baking extract caddy designed to hold six bottles. Start by constructing a rectangular outer box with a total width of 142mm (calculated as 6 bottles at 22mm each plus 5 dividers at 2mm each), a length of 104mm, and a wall height of 30mm. The walls should be 2mm thick.
Hollow out the center of the box to crea... | numBottles = 6;
bottleWidth = 22;
bottleLength = 100;
bottleHeight = 40;
shoulderHeight = 12;
shoulderLength = 18;
dividerHeight = bottleHeight*0.5;
dividerWidth = 2;
wallWidth = 2;
wallHeight = bottleHeight*0.75;
epsilon = 0.0001;
module extractBoxBase() {
innerBoxWidth = bottleWidth*numBottles+dividerWidth*(nu... | glb/cad_2bc09f02edfd.glb |
Create a twisted triangular vase with a total height of 72mm. The main body is formed by extruding an equilateral triangle with a diameter of 87.5mm. If a wall thickness is specified, create a hollow shell by subtracting a smaller concentric triangle from the center; otherwise, treat it as a single-wall surface.
The v... | vaseHeight = 70;
vaseDiameter = 87.5;
numSlices = 120;
wallThickness=2;
mode = "sin";
module sin_extrude(height, twist, slices) {
dh = height/slices;
for(i = [0:slices - 1]) {
dt = twist*sin(-90*(i/slices));
translate([0, 0, i*dh]) {
rotate([0, 0, dt]){
linear_extrude(height=dh,twist=0,s... | glb/cad_804278a05c29.glb |
Create a Guide Rail Parallel Stop by starting with a cylinder of radius 25mm and height 30mm, centered on the X-axis and shifted 15mm along the Z-axis. From this main body, remove a large central block to create a flat-sided profile.
Cut a vertical hole through the center of the shape using an octagonal prism with a ... | color([0.2,0.8,0.2,1]){
rotate(a=90,v=[0,1000,0]){
difference(){
difference(){
difference(){
difference(){
group(){
translate([0,0,15.5]){
translate([15,0,0]){
rotate([0,-90,0]){cylinder($fn=100,h=30,r=25,center=true);}
... | glb/cad_9b2c56da6f67.glb |
Create a Guide Rail Parallel Stop by constructing a main block and removing specific geometric volumes. Start with a solid cube of 100mm x 100mm x 100mm.
From this block, remove a large central section to leave a remaining structure that is 30mm wide and 31mm tall. Within this remaining structure, create a cylindrica... | color([0.2,0.8,0.2,1]){
rotate(a=-90,v=[0,1000,0]){
difference(){
difference(){
translate([-170,0,0]){
difference(){
difference(){
difference(){
difference(){
difference(){
translate([0,0,15.5]){
... | glb/cad_1de0d1b03a85.glb |
Create a Guide Rail Parallel Stop. Start with a main block that is 9.3mm wide, 31mm deep, and 50mm high.
On the front face of this block, center a vertical hole that is 5.41mm in diameter and passes completely through the part.
At the bottom of the block, create a rectangular protrusion that is 8.5mm wide and 2mm h... | color([0.2,0.9,0.7,1]){
rotate(a=-90,v=[1000,0,0]){
difference(){
translate([-170,0,0]){
difference(){
difference(){
difference(){
intersection(){
group(){
translate([-0.8,0,0]){
translate([0,0,40.5]){
... | glb/cad_047e1baa8f97.glb |
Create a Guide Rail Parallel Stop by starting with a central block that is 100mm wide, 100mm deep, and 100mm tall. From this block, remove a large section to leave a semi-cylindrical profile with a radius of 25mm, centered 15mm from the side.
Within this geometry, create a primary circular hole with a radius of 5.41m... | color([0.2,0.8,0.8,1]){
rotate(a=-90,v=[0,1000,0]){
translate([-30,0,0]){
difference(){
difference(){
difference(){
difference(){
difference(){
difference(){
translate([0,0,15.5]){
translate([15,0,0]){
... | glb/cad_96d4f76723da.glb |
Create a Guide Rail Parallel Stop consisting of a central cylindrical body with a scalloped outer profile and a hollow core. Start by creating a main cylinder with a radius of 9.5mm and a height of 2mm, which transitions into a larger cylindrical section with a radius of 7.5mm and a height of 30mm.
Within this main b... | color([0.2,0.8,0.2,1]){
color([0.2,0.8,0.2,1]){
rotate(a=90,v=[1000,0,0]){
difference(){
translate([15,0,26]){
translate([0,-16.7,0]){
translate([0,-7.5,0]){
rotate(a=90,v=[0,0,1000]){
rotate(a=180,v=[0,0,1000]){
translate([-7.5,0... | glb/cad_9226627c15be.glb |
Create a Yarn Winder Cone consisting of a tapered central shaft and a cylindrical base.
The central shaft is a truncated cone with a length of 94mm. It tapers from a large end diameter of 16mm at the base to a small end diameter of 14mm at the top. Around the base of this shaft, add six equidistant radial fins. Each ... | kind="all";
$fn=120;
manualSmallEndDia=13.5;
manualLargeEndDia=16;
manualLength=160;
otherSmallEndDia=14;
otherLength=94;
innerDia = 46;
thicknessKludge=1;
thickness1 = 2.3;
height1 = 25.75+7;
keyLength=20;
keyThickness=3.3;
keyheight=4;
minusKeyHeight=3;
finLength=18;
finThickeness=0.4*3;
nutWasherDia=16;
epsilon... | glb/cad_0b24b0d193ec.glb |
Create a Shopvac China Cyclone Hose Adaptor consisting of a rectangular base plate with rounded corners and two vertical cylindrical holes. Start with a solid rectangular block measuring 45.4mm in width, 38.3mm in depth, and 7mm in height.
Subtract a central rectangular void from the top of the block. Within the rema... | translate([0,0,-150]){
translate([30,-30,0]){
color([0.9,0.9,0.3,1]){
scale([-1,1,1]){
difference(){
difference(){
difference(){
difference(){
difference(){
difference(){
difference(){
dif... | glb/cad_cee686c296d6.glb |
Create a shop vacuum hose adaptor consisting of a series of concentric cylindrical shells. Start by creating a main outer tapered sleeve that is 33mm long, with an outer radius that tapers from 29.561mm at the center to 28.553mm at the ends. Hollow this out by removing a concentric inner cylinder that tapers from 28.16... | color([0.8,0.2,0.2,1]){
rotate(a=90,v=[0,1000,0]){
translate([20,0,0]){
translate([3,0,0]){
translate([10,0,0]){
translate([12,0,0]){
translate([16.5,0,0]){
difference(){
rotate([0,-90,0]){cylinder($fn=100,h=33,r2=29.561,r1=28.553,center=true);}
... | glb/cad_3ab929bd39f6.glb |
Create a set of two hose and pipe adaptors for a shop vacuum and cyclone.
For each adaptor, create a main cylindrical body. The outer profile should be a truncated cone (frustum) that transitions from a larger diameter at the base to a smaller diameter at the top to ensure a friction fit. The base of the adaptor shou... | translate([0,0,-150]){
translate([0,-79.9,0]){
color([0.8,0.8,0.4,1]){
rotate(a=-90,v=[1000,0,0]){
difference(){
difference(){
difference(){
difference(){
difference(){
intersection(){
intersection(){
... | glb/cad_73ae4e3e7e5f.glb |
Create a Shopvac China Cyclone Hose Adaptor consisting of a series of concentric cylindrical shells. Start by creating a main hollow cylinder with a height of 45mm, an outer radius of 31.311mm at one end tapering slightly to 29.9365mm at the other, and an inner bore of 29.911mm tapering to 28.5365mm.
Add a thin cylin... | translate([0,0,150]){
color([0.8,0.2,0.8,1]){
rotate(a=90,v=[0,1000,0]){
translate([-26,0,0]){
translate([20,0,0]){
translate([3,0,0]){
translate([3,0,0]){
translate([22.5,0,0]){
difference(){
rotate([0,-90,0]){cylinder($fn=100,h=... | glb/cad_32dd71ac656c.glb |
Create a set of hose and pipe adaptors for a shop vacuum. The primary component is a rectangular block with rounded edges, measuring 45.4mm by 38.3mm by 7mm. From this base, remove a central rectangular volume of 10.5mm by 10.5mm by 114.9mm.
Within this central void, create a cylindrical bore with a radius of 7.01mm ... | translate([0,0,-150]){
translate([-30,-30,0]){
color([0.9,0.9,0.3,1]){
difference(){
difference(){
difference(){
difference(){
difference(){
difference(){
difference(){
difference(){
diffe... | glb/cad_cf39d3c864ff.glb |
Create a 3D model of the Printables logo with a total width of 10mm and a depth of 12.5mm. The logo consists of two combined geometric sections extruded to a height of 0.4mm.
The first section is a modified hexagon located at the top. Define this shape using a set of vertices: one at the top center, two extending outw... | $vpr=[90 - atan(sin(45)),0,45]*1;
$vpd= 600 + 12;
Width = 10;
Depth = 12.5;
Logo_offset = 0;
Logo_height = 0.4;
Mirror_logo = false;
function polygon_apothem( n = 5, r = 1 ) = r * cos( 180 / n );
function polygon_radius( n = 4, side = 0, apothem = 0 ) = side > 0 ?
side / ( 2 * sin( 180 / n ) ) : apothem / ... | glb/cad_bc148607e357.glb |
Create a Home Automation Switch Stand Case. The main body is a hollowed-out wedge shape with a wall thickness of 3mm. The front face is a rounded square measuring 86mm by 86mm, while the back face is a smaller rounded square measuring 43mm by 43mm. The case depth is 86mm, and the side walls are angled at 30 degrees.
O... | CASE_THICKNESS = 3;
CASE_FRONT_WIDTH = 86;
CASE_FRONT_HEIGHT = 86;
CASE_BACK_WIDTH = CASE_FRONT_WIDTH / 2;
CASE_BACK_HEIGHT = CASE_FRONT_WIDTH / 2;
CASE_DEPTH = 86;
CASE_ANGLE = 30;
POWER_SOCKET_RADIUS = 7.8 / 2;
TAB_THICKNESS = 5;
TAB_WIDTH = 6;
TAB_HEIGHT = 13;
SCREW_RADIUS = 3.2 / 2;
SCREW_OFFSET = TAB_HEIGHT - 3;... | glb/cad_d93221dd1d79.glb |
Create a Tesla Wall Charger Plug Holder with a cable hook. Start with a main rectangular body that is 35mm wide, 65mm high, and 35mm deep, featuring rounded corners with an 8mm radius.
In the center of the top face, create a recessed receptacle for the charger plug. This opening is formed by a complex polygon shape t... | $fn=50;
width = 35;
height = 65;
holeheight = 68;
depth = 35;
tilt = 50;
module charger_end(h){
scale([25.4/90, -25.4/90, 1])
linear_extrude(height=h)
polygon([[-3.005779, 62.149426], [-11.7874005, 61.287234], [-16.569022, 60.425044], [-24.15456, 58.591569], [-29.740098, 56.758094], [-37.0017835, 54.01129... | glb/cad_1bfec7dc8026.glb |
Create a Tesla Wall Charger Plug Holder with an integrated cable hook. Start with a main rectangular base plate measuring 35mm wide by 65mm high and 1mm thick, with rounded corners (8mm radius).
On top of this base, build a main housing box that is 35mm wide, 65mm high, and 35mm deep, also featuring 8mm rounded corne... | $fn=50;
width = 35;
height = 65;
holeheight = 68;
depth = 35;
tilt = 50;
module charger_end(h){
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-3.005779, 62.149426], [-11.7874005, 61.287234], [-16.569022, 60.425044], [-24.15456, 58.591569], [-29.740098, 56.758094], [-37.00178... | glb/cad_65046dec7a8b.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.