Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Webcam Hanger for Printerbot by constructing a right-angle bracket with a thickness of 25mm. The bracket consists of two main rectangular sections joined at a 90-degree angle. The first section is a vertical plate measuring 3mm wide and 29.1mm high. The second section is a horizontal base measuring 47mm wide a... | $fn = 25;
squareEdges();
module roundEdges(){
difference(){
linear_extrude(25){
union(){
hull(){
translate([0,26,0]) circle(d=3);
translate([6.5,20,0]) circle(d=3);
}
hull(){
circle(d=3)... | glb/cad_b0b776960b1c.glb |
Create a parametric tie hanger with a uniform thickness of 5mm. Start by constructing a circular hook with an outer diameter of 40mm and an inner hole of 30mm. The hook is formed by a cylinder and a rectangular block that leave a gap, allowing it to hang. At the end of the hook's curve, add a small cylinder with a 5mm ... | tiecount=8;
ringdiameter=30;
thickness=5;
$fn=32;
union(){
union() {
difference() {
union() {
cylinder(d=ringdiameter+10,h=thickness, center=true);
translate([0,0,-thickness/2]) cube([ringdiameter+3.5,ringdiameter/2+5,thickness]);
}
union... | glb/cad_d0bf17d54971.glb |
Create a set of screwed sleeve bearings in two different sizes. For the first set, create a hollow cylinder with an outer diameter of 15mm, an inner diameter of 8mm, and a height of 17.5mm. For the second set, create a hollow cylinder with an outer diameter of 19mm, an inner diameter of 10mm, and a height of 18.5mm.
... | $fn = 50;
N = 6;
w = 240;
for(i=[-1.5:1.5])
{
translate([i*22, 10, 0]) sleeve(15, 8, 21);
translate([i*22,-10, 0]) sleeve(19, 10, 23);
}
module sleeve(a = 19, b = 10, H = 29)
{
A = a/2;
B = b/2;
translate([0,0,H/2])
{
difference()
{
ring(A, B, H);
for(i=[0:360/N:359])
rotate(... | glb/cad_e4fead5308ba.glb |
Create a three-piece cube puzzle based on a 3x3x3 grid of sub-cubes. The overall assembled size of the puzzle is a cube with a side length of 40mm, meaning each individual sub-cube has a base dimension of approximately 13.33mm.
The puzzle consists of three distinct interlocking pieces. To create these, start with a so... | puzzle_no = 21062;
mark = 4;
include <table.scad>;
cube_size = 40;
cs = cube_size/3;
clearance = 0.6;
if (mark==0)
union()
{
color("green") make_one(p_table,centers,puzzle_no);
color("yellow") make_two(p_table,centers,puzzle_no);
color("blue") make_three(p_table,centers,puzzle_no);
}
if (mark==1)
translate... | glb/cad_a422618d0f10.glb |
Create a Round Lock Pick handle. The main body is a hexagonal prism with a total length of 85mm. The cross-section of the handle varies along its length: it starts at the top with a width of 11.25mm (75% of the maximum width), expands to a maximum width of 15mm at a distance of 10.625mm from the top, and then tapers ba... | pickLength=82;
pickWidth=8;
pickDepth=.7;
pickRotation = 10;
length=85;
width=15;
depth=4.5;
topScalePercent=75;
middleFocalPercent=12.5;
bottomScalePercent=75;
sides=6;
minkowski=true;
minkowskiSize=2;
minkowskiRoundness=15;
topScale=topScalePercent * .01;
middleFocal=length * (middleFocalPercent * .01);... | glb/cad_163be095bbc6.glb |
Create a name tag for a 0.33l longneck bottle by constructing a tapered hollow cylinder with a height of 26mm. The outer wall should taper from a radius of 17mm at the base to 15mm at the top. The interior should be hollowed out using a concentric taper starting from a radius of 15mm at the base to 13mm at the top. To ... | $fn = 100;
include <Write.scad>
module name_tag () {
difference() {
union () {
cylinder(r1=17, r2=15, h=26);
rotate([0, 0, -45]) writecylinder(name, [0,0,0], 17, 26, h=8, t=3, font="orbitron.dxf");
}
cylinder(r1=15, r2=13, h=26.1);
cylinder(r=15, h=1, center=true);
difference () {
cylinder(r1=24.5,... | glb/cad_0938c09ea121.glb |
Create a Connect Crystal Light Container connector consisting of a ring and matching pegs.
First, construct the ring by creating a central void in the shape of a container that is 19.05mm wide, 50.8mm deep, and 20mm high. This void is formed by the intersection of a cube measuring 8.89mm by 6.35mm by 10mm and two cyl... | numberPegs = 2;
difference()
{
ring();
holes();
}
if (numberPegs > 3)
{
translate([20, 10, 0]) peg();
}
if (numberPegs > 2)
{
translate([20, -10, 0]) peg();
}
if (numberPegs > 1)
{
translate([-20, 10, 0]) peg();
}
if (numberPegs > 0)
{
translate([-20, -10, 0]) peg();
}
module baseCylinder()
{
c... | glb/cad_63ee331eeebd.glb |
Create a mounting and repair frame for a sillcock. Start with a rectangular base plate measuring 87mm wide by 67mm long with a thickness of 10mm. Round all four corners with a radius of 6mm.
In the center of the plate, create a conical hole that passes completely through the thickness. This opening should have a bott... | thickness = 10.0;
pipe_diameter = 29.0;
opening_taper_diameter = 37.0;
mount_screw_hole_diameter = 5.5;
mount_screw_position_ratio = 2.1;
screw_channel_diameter = 2.0;
screw_x_offset = 20.0;
screw_x_width = 11.0;
length = 67.0;
width = 87.0;
rounded_corner_radius = 6;
facets = 24;
module screw_channel() {
... | glb/cad_3a656f830d67.glb |
Create an X-end motor mount consisting of a main block and a motor mounting bracket.
Start with a main rectangular block measuring 68.2mm x 39.5mm x 9mm. Center a cylinder with a 12.5mm radius and 9mm height on the top face. On the bottom, create two symmetrical grooves for smooth rods by subtracting two rotated rect... | include <nuts_and_bolts.scad>;
module xendmotor(){
module roundCorner(){
translate([0,0,20]) difference(){
translate([4,4,0]) cube([8,8,50], center=true);
cylinder(r=8, h=50.1, center=true, $fn=20);
}
}
difference(){
union(){
translate([0,-3,0]) cube([68.2,39.5,9], center=true);
translate([0,13.5,0]) cylinder(... | glb/cad_cc6c85ac11ec.glb |
Create an Altered clamp style X end idler. Start with a main central block measuring 68.2mm x 39.5mm x 9mm. At the top center, add a cylinder with a 12.5mm radius and 9mm height.
Carve two symmetrical V-shaped grooves into the block for smooth rods; each groove is formed by two intersecting planes rotated 35 degrees f... | include <nuts_and_bolts.scad>;
module xendidle(){
module roundCorner(){
translate([0,0,20]) difference(){
translate([4,4,0]) cube([8,8,50], center=true);
cylinder(r=8, h=50.1, center=true, $fn=20);
}
}
difference(){
union(){
translate([0,-3,0]) cube([68.2,39.5,9], center=true);
translate([0,13.5,0]) cylinder(r... | glb/cad_1c6c45caded2.glb |
Create a Polargraph DrawBot Spool consisting of two identical mirrored halves. For each half, start with a circular base rim 30mm in diameter and 1.5mm thick. From the center of this rim, extend a cylindrical shaft upwards to a total height of 11.5mm with a diameter of 15mm.
Inside this central shaft, create a vertic... | sp = 0.1;
cl = 0.2;
th = 1;
fn = 32;
msl = 16;
msd = 5;
msr = msd/2;
msf = 0.5;
srimd = 30;
srr = srimd/2;
srth = 1.5;
sh = 10;
ssd = 15;
ssr = ssd/2;
sbch = 4;
sbcw = 8;
ssnw = 0.5;
ssnh = sbch;
ssnl = ssr+1;
module shaft()
{
intersection()
{
cylinder(r=msr+sp, h=msl, $fn=fn, center=false);
translate([msf,0... | glb/cad_e10c7876e96e.glb |
Create a 3D model of a Raspberry Pi Zero. Start with a main PCB body: a rectangular plate measuring 65mm x 30mm x 1.6mm with 3mm radius rounded corners.
Subtract four 2.75mm diameter mounting holes through the PCB, positioned 3.5mm from each edge. Additionally, create a series of small holes for the GPIO header: 20 h... | PiZeroVer = "W";
ShowPiZero = true;
ShowTestPads = true;
ShowGPIOheader = 1;
ShowGPIOsound = true;
ShowGPIOcolour = true;
PiSizeX = 65;
PiSizeY = 30;
PiSizeZ = 1.6;
PiCornerRad = 3.0;
PiHoleEdge = 3.5;
PiHoleDia = 2.75;
PiHoleClearRad = 3.0;
PiHdrX = 2.5;
PiHdrY = 2.5;
PiHdrZ = 2.5;
PinX = 0.7;
PinY = 0.7;
PinZ =... | glb/cad_599e18ac3e9c.glb |
Create a bowden-extrusion adapter for an E3D hotend. Start with a main body consisting of a 20-sided prism with a radius of 12.5mm and a height of 17.7mm.
From the center of this body, remove a series of stacked coaxial cylinders to create a mounting cavity for the heatsink. These removals include a base cylinder wit... | shape=4;
res=100;
tol=0.3;
diff=0.0001;
bowden_adapter(shape, tol, diff);
module bowden_adapter(shape=20, tol=0.1, diff=0.001)
{
difference()
{
union()
{
eingriff(shape, tol, diff);
rotate([180,0,90])translate([0,0,-0.01])mutternfalle(shape);
}
}
}
module eingriff(shape=20, tol=0.1, diff=0.001)
{
difference()
{
cyl... | glb/cad_d0e7a6001c7e.glb |
Create an AVR pocket programmer box consisting of a hollow rectangular case and a matching lid. Construct the main case as a rectangular shell with outer dimensions of 52.2mm in length, 35.2mm in width, and 13.2mm in depth, featuring a wall thickness of 2mm. The interior cavity should be 50.2mm by 33.2mm by 11mm. At th... | $fn=50;
tolerance=0.1;
shell_thickness=2;
length=50;
width=33;
depth=11;
contact_height=4;
contact_length=9;
hole_diameter=1.5;
distanceX=42;
distanceY=25;
LH_length=22;
LH_width=10;
dist_top=2;
module case(){
difference (){
union(){
difference (){
cube ([length+tolerance+she... | glb/cad_8619a40209b5.glb |
Create a 3D model of the Antilia Building, a tower with a total height of 130mm. The structure is composed of a central building mass supported by a series of vertical columns and architectural layers.
Start by constructing the main building body as a series of stacked, irregular rectangular prisms. The base of the bu... | part = "ForPrinting";
Bottom_Front_Text="";
Top_Side_Text="";
Top_Front_Text="";
Height=130;
use <write/Write.scad>
fudge = 0.1;
module poly_rect38017(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
difference()
{
linear_extrude(height=h)
polygon([[-77.803585,-410.270195],[-77.803585,-40... | glb/cad_917d8238b297.glb |
Create a Level 2 Menger Sponge with a total side length of 50mm. To construct the sponge, intersect three identical 50mm cubes, each featuring a Sierpinski gasket pattern of square holes drilled through them. For each cube, the holes are oriented parallel to one of the primary axes (X, Y, and Z). The gasket pattern on ... | s=50;
module x_sierpinski() {
linear_extrude(height=s) difference() {
square(s);
union() {
for (x=[1:1]) {
for (y=[1:1]) {
translate([s*(1+3*(x-1))/3, s*(1+3*(y-1))/3])square(s/3);
}
}
for (x=[1:3]) {
... | glb/cad_5006f064e1b9.glb |
Create a Rostock Volcano part cooler. Start with a main effector plate: a cylinder with a radius of 54mm and a height of 8.2mm, with a concentric hole removed from the center with a radius of 27mm and a height of 10.2mm. Add a vertical screw hole through the plate at a distance of 47mm from the center, with a diameter ... | FAN_WIDTH = 10;
FAN_HEIGHT = 30;
FAN_OVERLAP = 8;
SHROUD_EX = 47;
SHROUD_DX = 5;
NOZZLE_Z = 18;
EFF_RAD = 54;
EFF_THICK = 8.2;
SCREW_DIST = 47;
SCREW_DIAM = 2;
E = 0.6;
$fn = 96;
OAW = FAN_WIDTH + E * 4;
ANG = atan((NOZZLE_Z-E*2) / EFF_RAD);
SHROUD_X = SHROUD_EX + SHROUD_DX;
module screw_hole() {
translate([SC... | glb/cad_d92fcfe3f1b0.glb |
Create a name tag for a 1.0l PET bottle by constructing a tapered hollow cylinder with a height of 26mm. The outer wall should taper from a bottom radius of 24mm to a top radius of 17.5mm. Create a matching inner void that tapers from a bottom radius of 22mm to a top radius of 15.5mm, leaving a wall thickness of approx... | $fn = 100;
include <Write.scad>
module name_tag () {
difference() {
union () {
cylinder(r1=24, r2=17.5, h=26);
rotate([0, 0, -45]) writecylinder(name, [0,0,0], 18, 26, h=8, t=13, font="orbitron.dxf");
}
cylinder(r1=22, r2=15.5, h=26.1);
cylinder(r=17.5, h=1, center=true);
difference () {
cylinder(r... | glb/cad_87348f903350.glb |
Create a customizable circle clip by constructing two concentric ring-like structures with a height of 10mm. First, create a large ring centered at the origin with an inner diameter of 46mm and an outer diameter of 56mm. Second, create a smaller ring with an inner diameter of 10.5mm and an outer diameter of 20.5mm, pos... | circle1Diameter = 46.0;
circle2Diameter = 10.50;
width = 5;
height = 10;
c1r = circle1Diameter/2;
c2r = circle2Diameter/2;
difference(){
union(){
difference(){
cylinder( h = height, r = c1r+width, center = true, $fn=100);
cylinder( h = height, r = c1r, center = true, $fn=100);
};
... | glb/cad_efc96936f06e.glb |
Create a Bowden extruder inductance sensor mount consisting of three joined sections: a clamp, a sensor mount, and a connector.
First, create the extruder clamp section as a block 12mm wide, 38mm long, and 12mm high. Center a 12mm diameter hole through the length of the block. Create two 4mm diameter screw holes passi... | $fn = 50;
sensorDiameter = 12;
extrudeCutFactor = 0.1;
smallThroatDiameter = 12;
largeThroatDiameter = 16;
clampScrewDiameter = 4;
clampScrewCenterOffset = 13;
topThroatCutDepth = 3.0;
bottomThroatCutDepth = 3.7;
clampSectionWidth = 12;
clampSectionLength = 38;
clampSectionHeight = 12;
clampAngleFaceLength = 5;
... | glb/cad_a99f727c8a34.glb |
Create a Bowden extruder inductance sensor mount consisting of three joined sections: a clamp, a sensor mount, and a connector.
First, create the extruder clamp section as a block 12mm wide, 38mm long, and 12mm high. Center a 12mm diameter hole through the length of the block. Create two 4mm diameter screw holes passi... | $fn = 50;
sensorMountOffsetY = 10;
sensorDiameter = 18;
extrudeCutFactor = 0.1;
smallThroatDiameter = 12;
largeThroatDiameter = 16;
clampScrewDiameter = 4;
clampScrewCenterOffset = 13;
topThroatCutDepth = 3.7;
bottomThroatCutDepth = 3.0;
clampSectionWidth = 12;
clampSectionLength = 38;
clampSectionHeight = 12;
... | glb/cad_f8f6f8554f2a.glb |
Create an Everything Holder consisting of a central cylindrical cup with four smaller semi-cylindrical cups attached symmetrically around its perimeter. The main central cup has a radius of 30mm, a height of 10mm, and a wall thickness of 1.5mm. The bottom of the central cup is closed with a 3mm thick base.
Four smalle... | $fs=0.5;
$fa=1.0;
my_radius = 30;
angle = 30;
wall_thickness=1.5;
bottom_t = 3;
my_height=70;
clover2(my_radius,my_height,wall_thickness);
module clover2(cup_r = 50, cup_h = 10, wall_t = 2) {
square_l = 2* sin(angle) * cup_r;
square_l2 = 2* sin(angle) * (cup_r-wall_t);
square_displacement = cos(angle) * cup_r;... | glb/cad_f2c1083b0238.glb |
Create a Mk7 fan duct with a base depth of 10mm. Start with a main body consisting of a 40mm cube centered on the X-axis, extending from Y = -20mm to Y = 20mm, with a height of 10mm. Hollow out the center of this body with a 36mm cube (leaving 2mm walls) that extends slightly beyond the top and bottom.
At the front, ... | wall_width=2;
thin_wall_width=2;
fan_side=40;
duct_depth=10;
vent_height=20;
vent_width=20;
vent_window_height=5;
vent_offset=5;
anchor_side=8;
hole_center_offset=4;
bolt_head_cradle_height=3;
m3_hole_radius=1.9;
m3_thread_radius=1.5;
m3_head_hole_radius=3.1;
module body() {
difference() {
translate ([-fan... | glb/cad_11ef808afe9e.glb |
Create a Clock Escapement consisting of a wheel and a pendulum assembly.
First, construct the escapement wheel as a cylinder with a radius of 40mm and a thickness of 10mm. Center a cylindrical hole through the middle with a radius of 10mm and a depth of 5mm. Around the perimeter, create 12 evenly spaced holes for pin... | $fn = 100;
module EscapementWheel(wheel_thickness=10,wheel_radius=40,wheel_bearing_radius=10,wheel_bearing_thickness=5,pin_inset=5,pin_size=3,pin_length=15,pin_count=12,show_pins=false,pendulum_thickness=2,pendulum_width=10,pendulum_x_offset=3,pendulum_y_offset=7,pendulum_z_offset=1.25,pendulum_bar_size=10,pendulum_be... | glb/cad_3c1671b6b786.glb |
Create a Medieval Fortress consisting of a perimeter wall with towers at the corners and a main gate.
The perimeter wall is a hollowed-out polygon with 5 sides, a diameter of 80mm, a height of 35mm, and a thickness of 6mm. At each corner of the wall, place a tower with a height of 40mm and a width of 23mm. Each tower... | generate_details = "No";
random_seed = 42;
probability_of_towers = 1;
probability_of_turrets = 0.5;
max_number_of_turrets = 2;
roof_pointed_ratio = 1.8;
wall_height = 35;
wall_diameter = 80;
wall_sides = 5;
wall_thickness = 6;
towers_height = 40;
towers_width = 23;
towers_number_of_sides = 0;
towers_roof_type... | glb/cad_2863d6d19d67.glb |
Create an X Carriage for a 3D printer. Start with a central rectangular block measuring 40mm in width, 20mm in depth, and 60mm in height.
On the left side, integrate a vertical cylindrical section with a diameter of 19.5mm (bearing size) that runs the full 60mm height. Within this cylindrical section, create a centra... | m3d=3+0.4;
m3r=m3d/2;
m4d=4+0.4;
m4r=m4d/2;
m5d=5+0.4;
m5r=m5d/2;
m3nd = 6.2+0.4;
m3nr = m3nd/2;
m3nh=2.8;
m5nd = 9+0.3;
m5nr = m5nd/2;
m5nh=4;
sbd = 8+0.3;
sbr = sbd/2;
iy=30.5-1.8-6.5;
hz=60;
hx=40;
hy=20;
hs=45;
bearing_diameter=15.5;
thinwall = 2;
bearing_size = bearing_diameter + 2 * thinwall;
difference... | glb/cad_907fa6e0e035.glb |
Create a Vive Welding Headgear Adapter consisting of a flat main body and an articulating arm. Start with a central rectangular base 50mm long, 30mm wide, and 5mm thick. At one end of the base, add a rectangular attachment block 13mm long and 30mm wide with a height of 9mm. Through this attachment block, create two ver... | main_length=50;
main_width=30;
main_height=5;
end_height=9;
end_length = 13;
end_holes_diameter=4;
end_holes_spacing=9;
hinge_outer_diameter=19;
hinge_inner_diameter=15;
hingle_inner_height=0.7;
arm_angle = -25;
arm_width=10;
arm_pinion_radius=22;
arm_hole_diameter=4;
hinge_location=[0, main_length / 2];
$fn=... | glb/cad_c1e136598d74.glb |
Create a RepRap X-carriage for self-aligning bronze bushings. Start with a central base block measuring 66mm by 70mm with a thickness of 5mm, centered on the origin. At the front and back edges, centered along the Y-axis, add two hexagonal nut holders with a radius of 6.5mm and a height of 5mm.
On the left and right s... | include <configuration.scad>
snap_in_mount = false;
use <bushing.scad>
module mountingholes(){
translate(v = [0, -25, -5]) polyhole(m4_diameter,10);
translate(v = [0, 25, -5]) polyhole(m4_diameter,10);
}
module xcarriage(linear_bearings){
union(){
translate(v = [0,0,2.5])
union(){
difference(){
... | glb/cad_dd116d74e20f.glb |
Create a RepRap X-carriage for self-aligning bronze bushings. The part is a mounting block designed to hold a bushing with a 16mm outer diameter flange.
Start by creating a main body that is a combination of a cube and a cylinder. Specifically, create a block that is 16mm wide, 8mm deep, and 11mm high. To this block,... | include <configuration.scad>
module bushing(stiff, lenght=11){
difference(){
union(){
translate(v=[-7.5,-8,0])cube(size = [15,8,lenght]);
cylinder(h = lenght, r=7.5);
}
rotate(a=[0,0,45]) translate(v=[1,1,-1]) cube(size = [16,16,lenght+2]);
if(stiff){
translate(v=[-4.8,-6,-1]) cube(size = [0.8,6,lengh... | glb/cad_86eceac9f03b.glb |
Create a Zeldathon Recovery Triforce Bas Relief Ring. Start by constructing a hollow cylindrical band with an inner diameter of 19.37mm and a total height of 9mm. The wall thickness of the band should be 0.8mm at its thinnest point, with a slight outward taper and a maximum thickness of 1.3mm at the center of the band'... | ring_size = 14;
ring_height = 9;
ring_diameter = 0;
thinnest_layer = 0.8;
thickest_feature = 0.5;
pattern_repititions = 0;
opposing_triforces = 1;
bas_relief = 1;
resolution = 120;
inner_diameter = ring_diameter ? ring_diameter : 11.63 + 0.8128*ring_size;
echo(inner_diameter=inner_diameter);
ring_base_width =... | glb/cad_f9a2cbf40497.glb |
Create a 3D model of a Test object by starting with a sphere that has a diameter of 10mm centered at the origin. From this sphere, remove a cubic section by centering a 10mm cube at the same origin point, effectively carving out the interior and portions of the sphere where the cube's volume overlaps with the spherical... | SPHERE_1_DIAM = 10;
SPHERE_1_Color = "Blue";
$fn = 100;
$fa = 12;
$fs = 2;
difference () {
translate ( [0,0]) color (SPHERE_1_Color)sphere(d=SPHERE1_DIAM);
translate ( [0,0]) color ("Blue") cube(10,10,10);} | glb/cad_d4e115158763.glb |
Create a Makita drill battery cover by constructing a rounded rectangular shell with an outer width of 74mm, length of 56mm, and height of 15mm. The walls should have a thickness of 3mm and all exterior corners should be rounded with a 1mm radius.
Hollow out the main body to create a central cavity that is 68mm wide ... | pared = 3;
ancho = 68;
largo = 53;
largoAlTope = 45;
alto = 15;
anchoAgujero=36;
largoAgujero=14;
redondeo=1;
{
difference()
{
translate([redondeo, redondeo, redondeo])
minkowski()
{
union()
{
cube([ancho+(2*pared)-(2*redondeo),largo+pared-(2*redondeo),alto+pared-(2*redondeo)]);
... | glb/cad_36d44ef28c2e.glb |
Create a ZProbe Sensor Platform consisting of a thin circular disc with a thickness of 5mm. The main body is a cylinder with a radius of 30mm.
At the center of the disc, remove a concentric cylindrical core with a radius of 26.5mm to create a ring. Within this ring, create a further recessed inner channel by removing... | include <configuration.scad>
use <carriage.scad>
h=platform_thickness;
cutout = 12.5;
inset = 6;
module platform() {
translate([0, 0, h/2])
difference() {
union() {
for (a = [0:120:359]) {
rotate([0, 0, a]) {
translate([0, -platform_hinge_offset, 0])
translate([0, 31, 0]) c... | glb/cad_fe7ad0ae4dea.glb |
Create a ZProbe Sensor Platform consisting of a central circular disc with a thickness of 5mm. The main body is a cylinder with a radius of 30mm.
Remove a large central cylindrical hole with a radius of 26.5mm to create a ring. Within this ring, create a secondary inner channel by removing a cylinder with a radius of... | include <configuration.scad>
use <carriage.scad>
h=platform_thickness;
cutout = 12.5;
inset = 6;
module platform() {
translate([0, 0, h/2])
difference() {
union() {
for (a = [0:120:359]) {
rotate([0, 0, a]) {
translate([0, -platform_hinge_offset, 0])
translate([0, 31, 0]) c... | glb/cad_ff8426d5fc7f.glb |
Create a ZProbe Sensor Platform for a Rostock printer. The main body is a carriage structure centered around two vertical cylindrical mounts. Create two cylinders with a radius of 8mm and a height of 25mm, positioned 60mm apart (at x = -30 and x = 30).
Within these cylinders, carve out central holes with a radius of ... | include <configuration.scad>
width = 76;
height = carriage_height;
offset = 25;
cutout = 13;
middle = 2*offset - width/2;
module parallel_joints(reinforced) {
difference() {
union() {
intersection() {
cube([width, 20, 8], center=true);
rotate([0, 90, 0]) cylinder(r=5, h=width, center=true... | glb/cad_2de735317c35.glb |
Create a Super Bracket with a length of 75mm, height of 75mm, and a thickness of 15mm. The bracket is formed by two perpendicular walls, each 2.5mm thick, meeting at a 90-degree angle.
Connect the two walls with a rounded support that curves between the outer edges of the length and height dimensions. Add a center su... | Sizes = [75,75,15,2.5];
Holes = [3,3,4,1.5];
Features = [16,1,3];
length = round(max(min(250,Sizes[0]),35));
height = round(max(min(250,Sizes[1]),35));
width = round(max(min(25,Sizes[2]),4));
walls = round(max(min(5,Sizes[3]),1)*100)/100;
lengthholes = round(max(min(20,Holes[0]),1));
heightholes = round(max(min(20,... | glb/cad_a575654076ab.glb |
Create a Katherine Roller pastry tool consisting of a central cylinder with a radius of approximately 17.32mm and a length of 110mm. The surface of the cylinder is embossed with a repeating, tessellating geometric pattern based on a stylized six-pointed star or wheel shape.
The pattern is formed by a series of connec... | pr=20;
pi=3.1415927;
cr=3*pr/sin(60)/(2*pi);
pf=0.2;
function flatten(pointArray, done=0, res=[]) =
(done == len(pointArray)) ?
res :
flatten(pointArray=pointArray, done=done+1,
res=concat(res,pointArray[done]));
function c3D(tPoints) =
(len(tPoints[0]) < 3) ?
tPoints * [[1... | glb/cad_c91e5ec5356b.glb |
Create an adjustable headset spacer for a 28.6mm steerer tube. Start with a base ring that has an inner radius of 14.5mm, a wall thickness of 3.2mm, and a height of 3mm.
Build upon this base by adding four concentric, semi-circular stepped rings. Each subsequent ring increases in height by 1mm increments, starting fr... | $fa=.1;
$fs=.1;
thickness=3.2;
radius=14.5 + thickness;
base_height=3;
degrees=24;
trim_degrees=1;
step=1;
difference() {
union() {
translate(v=[0, 0, -base_height]){
rotate_extrude($fn = 100)
translate([radius - thickness, 0, 0])
square([thickness,base_height]... | glb/cad_72259c2b47de.glb |
Create an adjustable headset spacer for a 28.6mm steerer tube. Start with a circular base ring that has an outer radius of 17.7mm and a wall thickness of 3.2mm, with a base height of 3mm.
Build upon this base by adding four concentric semi-circular steps that increase in height. Each step should be 1mm taller than th... | $fa=.1;
$fs=.1;
thickness=3.2;
radius=14.5 + thickness;
base_height=3;
degrees=24;
trim_degrees=1;
step=1;
difference() {
union() {
translate(v=[0, 0, -base_height]){
rotate_extrude($fn = 100)
translate([radius - thickness, 0, 0])
square([thickness,base_height]... | glb/cad_2de21523603f.glb |
Create a Honeycomb Fractal consisting of a recursive arrangement of hollowed hexagonal cones. Start with a root hexagonal cone that has a base side length of 20mm, a total height of 30mm, and a wall thickness of 1mm. The cone is hollowed out by removing a smaller concentric hexagonal cone from its interior.
At each of... | sidelength = 20;
height = 30;
thickness = 1;
level = 2;
tree_or_hex = "tree";
bottom = "yes";
module hex(s, height){
linear_extrude(height = height)polygon( points=[[s/2,sqrt(3)/2*s],[s,0],[s/2,-sqrt(3)/2*s],[-s/2,-sqrt(3)/2*s],[-s,0],[-s/2,sqrt(3)/2*s]] );
}
module hexcone(s, h){
polyhedron(
points=[[s/2,s... | glb/cad_2d4e7eb2a55f.glb |
Create a cover for an Ikea KVARNÃ lamp by constructing a hollow cylinder with an outer radius of 53mm and a height of 30mm. Remove the center of this cylinder using a concentric inner hole with a radius of 51.75mm, leaving a wall thickness of 1.25mm, and ensure the inner hole starts 3mm from the base. To create the ope... | color("orange") difference() {
cylinder(h=30, r=(102+4)/2, center = false, $fs=.1, $fn=200);
translate([0,0,3])
cylinder(h=30, r=103.5/2, center = false, $fs=.1, $fn=200);
translate([0,0,-6])
cylinder(h=37, r=6, center = false, $fs=.1, $fn=200);
translate([0,-6,-6])
cube([60, 12, 37]);
} | glb/cad_2d218b3648be.glb |
Create a decorative cover for a lamp consisting of a hollowed cylindrical body. Start with a main cylinder 30mm high with an outer radius of 53mm. Remove a concentric inner cylinder with a radius of 51.75mm, starting from a height of 3mm, to create a wall.
At the base, remove a central cylinder with a radius of 7mm an... | color("orange")
difference() {
difference() {
union() {
cylinder(h=30, r=(102+4)/2, center = false, $fs=.1, $fn=200);
rotate([0,0,30]) union() {
for (i = [0:360/6:360]) {
rotate([0,0,i]) translate([0,-48,30]) rotate([90,0,0]) scale([2.5,1,1])
... | glb/cad_0bef9892d0ab.glb |
Create a Threadless Ballscrew support base. Start with a rectangular block measuring 40mm in width (X), 45mm in depth (Y), and 15mm in height.
At the center of the top face, create a vertical cylindrical hole with a diameter of 10mm that passes completely through the block.
Around this central axis, position three ... | use <write/Write.scad>
Base_Height = 15;
Box_Y_Width = 45;
Box_X_Width = 40;
Bed_Hole_Size = 10;
Base_Shape= "box";
Smooth_Rod_Diameter = 8 ;
Bearing_Pitch = 5 ;
Reverse_Thread = "no" ;
snug = 0 ;
Bearing_Tilt = 0 ;
Bearing_Outer_Diameter = 16 ;
Bearing_Inner_Diameter = 5 ;
Bearing_Width = 5 ;
Number_of_Bearings =... | glb/cad_a4d8eed8ac9d.glb |
Create a garden hose venturi pump body. The main structure is a revolved profile that twists 180 degrees around the Z-axis. This profile starts at the base with a radius of 7.5mm (inlet diameter 15mm) at Z=0, extends to a radius of 12.5mm (chamber diameter 19mm plus 3mm wall) over a length of 20mm, then tapers to a rad... | include <Thread_Library.scad>
$fn=20;
threads_OD=27;
threads_pitch=(1/11.5) * 25.4 ;
threads_length=0.5*25.4;
inlet_diam=15;
orifice_diam=3;
orifice_lip=1;
nozzle_length=10;
wall=3;
chamber_diam=19;
chamber_length=20;
diffuser_diam=5;
diffuser_cone_length=12;
discharge_diam=15;
discharge_length=25;
input_diam=6;
in... | glb/cad_a889289ca025.glb |
Create a garden hose venturi pump consisting of a main vertical pipe and a perpendicular intake tube. The main body is a hollow cylinder with an outer diameter of 9.8mm and an inner diameter of 8.2mm, extending to a total height of 74mm. At the base, add a thin circular rim with a diameter of 10.6mm and a height of 23m... | $fn=50;
noz=0.35;
wall_in=0.52;
infill=0.52;
height=38*noz;
od= 28 * noz + (2 * wall_in);
thickness=2*noz+1*wall_in;
id=od-thickness;
vp_id=5.5*noz+2*infill;
vp_od=vp_id+thickness;
difference(){
union(){
rim_top(height*4);
pipe(height*3);
pipe(height*2);
venturi(height*1.6);
rim_vent... | glb/cad_6651e4554318.glb |
Create a garden hose venturi pump consisting of a main vertical cylindrical body and a perpendicular intake pipe. The main body is a hollow cylinder with an outer diameter of 10.78mm and an inner diameter of 9.73mm, standing 13.3mm tall. This body features a slight rim at both the top and bottom, where the diameter ext... | $fn=50;
noz=0.35;
wall_in=0.52;
infill=0.52;
height=38*noz;
od= 28 * noz + (2 * wall_in);
thickness=2*noz+1*wall_in;
id=od-thickness;
vp_id=5.5*noz+2*infill;
vp_od=vp_id+thickness;
difference(){
union(){
pipe(0);
rim_bottom(0);
constrictor(height);
pipe_thin(height*2);
venturi(height... | glb/cad_bc44d1c98d66.glb |
Create a Switch Holder for five 6mm diameter switches. Start by constructing a main body using a hull operation that encompasses a central rectangular block of 78mm by 18mm by 31mm, two hemispherical ends with a radius of 5mm, and two angled rectangular slabs of 100mm by 20mm by 20mm rotated at 30 and 60 degrees respec... | $fn=30;
decaY=2;
decaX=4;
decaZ=-3;
difference(){
hull(){
minkowski(){
difference(){
translate([1,0,1])cube([78,18,31]);
translate([-10,-2,20]) rotate([60,0,0]) cube([100,20,20]);
translate([-10,20,20]) rotate([30,0,0]) cube([100,20,20]);
... | glb/cad_223163f8ac43.glb |
Create a pen holder by starting with a solid rectangular block measuring 120mm in width, 120mm in depth, and 60mm in height. From this main volume, remove a large rectangular section measuring 78mm by 78mm by 60mm, positioned 1.5mm from the front and left edges, to create a primary open compartment. Carve out a long, t... | difference()
{
cube([120,120,60]);
translate([1.5,0,1.5])cube([78,78,60]);
hull()
{
translate([0,120,60])cube([120,1,1]);
translate([0,0,10])cube([120,1,50]);
}
translate([81,1.5,1.5])cube([37.5,25,40]);
translate([81,28,1.5])cube([37.5,25,50]);
translate([81,54.5,1.5])cube([37.5,24,50]);
translate([81,80,1.5])cube([3... | glb/cad_831ef9f070db.glb |
Create an "Impossible Pyramid" puzzle consisting of three identical cylindrical rods, each 100mm long with a radius of 5mm. Arrange the rods to form an equilateral triangle frame. Position the first rod along the X-axis from (0,0,0) to (100,0,0). Position the second rod by starting at (100,0,0) and extending to a peak ... | module rod() {
hull (){
sphere (5);
translate ([100,0,0]) {
sphere (5);
}}}
difference(){
rod();
translate ([30,-5,-5]){
rotate ([0,5,-10]){
cube([9,15,15]);
}}}
rotate ([0,0,60]) {rod();}
translate ([100,0,0]){
rotate ([0,0,120]) {rod();}
}
hull (){
sphere (5);
translate ([50,(50*sin(30)),80]) { sphere (5); }
}
hu... | glb/cad_afa895b89fad.glb |
Create a timing pulley for a 28BYJ48 stepper motor. Start with a central cylindrical body that has a total height of 7mm (comprising a 2mm base and a 5mm toothed section). Bore a 5.2mm diameter hole through the center of the entire assembly for the motor shaft.
The toothed section should feature 14 teeth using a T2.5 ... | teeth = 14;
profile = 5;
motor_shaft = 5.2;
m3_dia = 3.2;
m3_nut_hex = 0;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 1.5;
idler = 0;
idler_ht = 0;
pulley_t_ht = 5;
pulley_b_ht = 2;
pulley_b_dia = 11;
no_of_nuts = 0;
nut_angle = 0;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2;
add... | glb/cad_83d0d76fd6ef.glb |
Create a MacBook Pro Retina Cable Docker. Start with a main rectangular body 18.5mm thick, 12mm high, and with a width determined by the sum of the port offsets and side thicknesses (3mm each side).
Carve three cable channels through the body. The first is for a MagSafe 2 connector (17.15mm wide, 5.85mm high), the se... | add_helper_discs = "no";
magsafe_width = 17.15;
magsafe_height = 5.85;
magsafe_depth = 10.8;
tb1_width = 10.85;
tb1_height = 7.95;
tb1_depth = 16;
tb2_width = 11.7;
tb2_height = 8.5;
tb2_depth = 17.5;
usb_width = 15.44;
usb_height = 8.1;
usb_depth = 20;
tb1_fillet = 1.5;
tb1_endstop_depth = 0.5;
tb1_endstop_height... | glb/cad_68c774876df9.glb |
Create a Customizable Watering Planter consisting of two main components: a reservoir and a pot, both based on an 8-sided regular polygon.
For the reservoir, create an 8-sided polygonal prism with a radius of 35mm and a height of 50mm. Hollow out the center to create a wall thickness of 3mm, leaving a bottom floor of ... | use <utils/build_plate.scad>
part = "both";
radius = 35;
height = 50;
thickness = 3;
sides_number = 8;
gap = 0.1*1;
clearance_factor = 0.1*1;
radius_inner=radius-thickness;
bottom_thickness = thickness*1.5;
pot_head_height = height*0.10;
conduct_radius = radius*0.25;
conduct_height = height-bottom_thickness+pot_head_... | glb/cad_b1559188c45c.glb |
Create an Animated Parametric RepStrap Model consisting of three orthogonal sliding tables (X, Y, and Z) and a supporting frame.
First, construct the Y table as a rectangular plate 170mm by 170mm with a thickness of 6mm. Add four sliders—rectangular blocks 28mm long, 10mm wide, and 3mm thick—positioned near the corne... | WorkingX=150;
WorkingY=150;
WorkingZ=150;
ZTabMaxZ = 100;
ZTabMaxX = 125;
ZPlatformMaxY = 50;
TableBorder=10;
TableThickness=6;
ChannelWidth=18;
ChannelHeight=18;
ChannelThickness=3;
SliderThickness=3;
SliderWidth=10;
SliderOverhang=5;
SliderLength=ChannelWidth+2*SliderOverhang;
BearingDiameter=22;
BearingWidth... | glb/cad_4896bfdfa840.glb |
Create a cubicle VESA monitor mount by first constructing a base plate. Start with a square block 100mm wide, 100mm deep, and 10mm thick, but round the four corners with a radius of 5mm.
At each of the four corners, centered 40mm from the center of the plate, create a mounting hole. Each hole consists of a cylindrica... | include <VESARailMount_variables.scad>
module vesa_mount(){
hull(){
for (seq1 = [0:3]){
rotate(360*seq1/4) translate([vesa_width/2-vesa_cornerrad,vesa_width/2-vesa_cornerrad,0]) cylinder(h = vesa_depth, r = vesa_cornerrad);
}
}
}
module vesa_holes(){
for (seq2 = [0:3]){
rotate(360*seq2/4) translate([vesa_... | glb/cad_46481b0b4fd3.glb |
Create a Dog Roll pastry cutter by starting with a central cylinder that has a radius of approximately 11.14mm and a height of 100mm.
Wrap a tessellating dog pattern around the surface of the cylinder. The dog shape is defined by a polygon with vertices at coordinates (scaled by a factor of 7): [0,0], [-0.5,4], [-0.5... | pw=35;
pi=3.1415927;
cr=2*pw/(2*pi);
ch=100;
pf=0.2;
function flatten(pointArray, done=0, res=[]) =
(done == len(pointArray)) ?
res :
flatten(pointArray=pointArray, done=done+1,
res=concat(res,pointArray[done]));
function c3D(tPoints) =
(len(tPoints[0]) < 3) ?
tPoints * [[1... | glb/cad_cafeff5db5ce.glb |
Create a movie box mechanical toy consisting of a case, a cassette system, and a crank mechanism.
Construct the case as a rectangular housing with dimensions 60mm by 120mm by 24mm. The case must feature a central viewing window 80mm wide and 12mm high, and three vertical holes: a crank hole with a 3.3mm radius at pos... | use <complex.scad>
use <mygear.scad>
use <mycase.scad>
module tightener() {
$fn=25;
difference() {
union() {
translate([0,-10,0])roundedrect([6,26,2],r=2.5);
translate([0,-22,0]) difference() {
roundedrect([10,6,2],r=2.5);
}
}
cylinder(r=2,h=3,center=true);
}
translate([3... | glb/cad_487709f31c87.glb |
Create a movie box gear. Construct a gear with 7 teeth, a total height of 8mm, and a central hole with a diameter of 2mm. The gear's core is a cylinder with a radius of 2.8mm (calculated from a modulus of 1 and a detendum of 0.7mm). Each of the 7 teeth should be evenly spaced around the circumference, extending the rad... | pi =3.14159;
function get_gear_rad(modulus=1, teeth=10) = (modulus * teeth / 2) ;
module gear(modulus=1, teeth=10, detendum=1, atendum=1, height=2, hole=2, fc=0.5, twist=0) {
module generate_shape(size, angle=0, fc = 0.5) {
halfsize = size /2;
polygon(
points = [
[-halfsize[0], -size[1]],... | glb/cad_77f7da1669fb.glb |
Create a movie box consisting of two identical mirrored halves. For each half, start with a rectangular block measuring 60mm by 50mm with a height of 30mm. Round all exterior vertical corners with a radius of 3mm. Hollow out the center of the block to create a shell with a wall thickness of 2mm, leaving the bottom face... | module ring(r=1,w=1,h=1) {
difference() {
cylinder(r=r+w,h=h,center=true);
cylinder(r=r,h=h+1,center=true);
}
}
module case_base(dim=[30,100,10],r=2) {
dr=r*2;
minkowski() {
sphere(r=r);
cube([dim[0]-dr,dim[1]-dr,dim[2]-dr],center=true);
}
}
module parametric_case(dim=[100,90,50],case_thickness=2, ... | glb/cad_5963fea6290c.glb |
Create a Quanum Trifecta long rear landing gear leg with a uniform thickness of 2.5mm. Start with a head section that is 20.8mm wide and 14.7mm high. Attach a long rectangular arm to the side of the head, measuring 65mm in length and 11mm in height. At the end of this arm, add a foot section that is 12mm high and 20mm ... | head_height = 14.7;
head_width = 20.8;
head_intersect_angle = 225;
head_intersect_x = 19;
head_intersect_y = 21;
head_intersect_off_x = -3.5;
head_intersect_off_y = -4.9;
nub_width = 5;
nub_height = 1;
nub_depth = 1;
nub_off = 8.9;
hole = 2.7;
hole_dist_x = 3.95;
hole_dist_y = 5.85;
height = 2.5;
arm_height = 11;
arm_w... | glb/cad_911a2cf91ed1.glb |
Create a Quanum Trifecta FPV top plate. Start with a rectangular base plate measuring 44mm by 68.5mm with a thickness of 2mm. At each of the four corners of this base, add a vertical cylinder with a diameter of 6.5mm and a height of 35mm; each cylinder must have a concentric hole drilled through its center with a diame... | dist_x = 44;
dist_y = 68.5;
height = 35;
base_height = 2;
diameter = 6.5;
hole = 2.5;
cuts = 4;
vtx_width = 21;
vtx_height = 28;
vtx_x = ((dist_x - vtx_width) / 2) - 3;
vtx_y = 2;
vtx_off_1 = 0.15;
vtx_off_2 = 0.5;
osd_width = 51;
osd_height = 24;
osd_x = (dist_x - osd_width) / 2;
osd_y = dist_y - osd_height - 6;
osd... | glb/cad_8268cff8e562.glb |
Create a square game tile with dimensions 19mm by 19mm and a thickness of 4mm. Centered on the top face, engrave a large character and a small number into the surface to a depth of 5mm, starting from a height of 0.7mm above the base.
Position the main character, such as the letter "Ĉ", so its center is offset 8mm to ... | letter="Ĉ";
number="4";
ht=4;
t_size=[19,19,ht];
difference() {
rect(t_size);
if (number == "10") translate([0,0,.7]) {{linear_extrude(height=5){
translate([-7,-7,ht/2]) text(letter,h=12,size=10,font="Liberation Sans:style=Bold");
translate([2,-7,ht/2]) text(number,h=4,size=4,font="Liberation Sans:style=Bold");... | glb/cad_ae5ba5f11224.glb |
Create a protective cap for a 28mm aluminum profile. Start with a base shape formed by the Minkowski sum of a 18mm by 18mm square with a 1mm height and a cylinder with a 5mm radius and 1mm height. Centered on this base, add a tapered cylinder that starts with a diameter of 5.2mm at the bottom and narrows to 4mm at the ... | $fn=100;
union() {
minkowski() {
cube([18,18,1], center=true);
cylinder(r=5, h=1, center=true);
}
for(i=[0:3]) {
rotate([0,0,i*90]) {
translate([0,-14, 1]) {
linear_extrude(height=5, scale=0.9) {
polygon([[-2.5,0],[2.5,0],[2.5,5],[4,5]... | glb/cad_4ff7e841ce2b.glb |
Create a hollowed-out rectangular box with rounded corners and a flat base. The outer dimensions of the box should be 86mm in length, 46mm in width, and 19mm in height. All four vertical corners must be rounded with a radius of 10mm. To create the interior cavity, remove a smaller rounded rectangular volume from the ce... | $fn=200;
length = 86;
width= 46;
height = 19;
cornerRadius = 10;
translate([10, 10, 0]){
difference() {
roundedBox(length, width, height, cornerRadius);
translate([1,1,1]) {
roundedBox(length-2, width-2, height-1, cornerRadius);
}
}
}
module roundedBox(l... | glb/cad_a7f951a878af.glb |
Create a dash camera mount consisting of a flat rectangular base with a raised central mounting block. The base is a rounded rectangle measuring 47mm in length and 30mm in width, with a thickness of 2.6mm. The corners of this base are rounded with a radius of 4mm.
Centered on top of this base, construct a raised rect... | $fn=64;
difference() {
union() {
hull() {
translate([-23.5+4, -15+4, 0]) cylinder(r=4, h=2.6);
translate([-23.5+4, 15-4, 0]) cylinder(r=4, h=2.6);
translate([23.5-4, 15-4, 0]) cylinder(r=4, h=2.6);
translate([23.5-4, -15+4, 0]) cylinder(r=4, h=2.6);
}
... | glb/cad_ca256c58473e.glb |
Create a motor mount bracket with a total height of 12mm. The main body is formed by the convex hull of four cylinders with a 4mm diameter and 3mm height, positioned at coordinates (±13, 22, -3) and (±19, 2, -3). Integrate this with a central mounting tab created from the hull of a 22mm diameter cylinder with a 4mm hei... | use<write.scad>
$fn=60;
Vert = 12;
neg=35;
difference()
{
union()
{
color ("Green") hull()
{
translate ([+13,+22,-3]) cylinder (d=4,h=3);
translate ([-13,+22,-3]) cylinder (d=4,h=3);
translate ([+19,+2,-3]) cylinder (d=4,h=3);
translate ([-1... | glb/cad_4867cff5b0f8.glb |
Create a motor mount for a 3D printer. Start by creating a central body using a hull of four cylinders, each 12mm in diameter and 16mm high, positioned at coordinates (±30, ±25, 0), and four cylinders, 12mm in diameter and 21mm high, positioned at (±36, ±14, 0).
Add four vertical cylinders with a diameter of 8mm and ... | depth_sens_mount = false;
$fn=90;
difference()
{
union()
{
color ("DodgerBlue")
{
hull()
{
translate ([+30,+25,0]) cylinder (d=12,h=16);
translate ([+30,-25,0]) cylinder (d=12,h=16);
translate ([-30,+25,0]) cylinder (d=12,h=16);
... | glb/cad_4de1e84180bd.glb |
Create a hinge for a RAMPS board consisting of two mirrored components.
For the first component, create a base shape by combining a cylinder with a diameter of 10mm and a height of 15mm (oriented along the Y-axis), a rectangular block measuring 10mm by 15mm by 2.5mm, and a smaller cylinder with a diameter of 4mm and ... | $fn=30;
color ("Blue")
{
difference()
{
union()
{
hull()
{
translate ([0,10,10])rotate ([-90,0,0]) cylinder (d=10, h=15);
translate ([-10,10,0]) cube ([10,15,2.5]);
translate ([2,10,2])rotate ([-90,0,0]) cylinder (d=4, h=... | glb/cad_cf1e8a6a5425.glb |
Create a bobbin for a 3D printer belt. The object is a cylindrical spool with a total height of 9.8mm and a central hole 14mm in diameter running through the entire length.
The spool is composed of five stacked sections. Start with a base flange that is 20mm in diameter and 0.4mm thick. Above this, add a tapered trans... | $fn=120;
q=31;
bobin (5);
translate ([q,q,0]) bobin(0);
translate ([0,q,0]) bobin(0);
translate ([q,0,0]) bobin(0);
module bobin (do)
{
difference ()
{
union()
{
translate ([0,0,0.0]) cylinder (d1=20+do, d2=20+do, h=0.4);
translate ([0,0,0.4]) cylinder (d1=20+do, d2... | glb/cad_f790b330c1ac.glb |
Create a motor mount bracket with a thickness of 12mm. The main body is formed by the convex hull of a 5mm cube at the origin, a 5mm cube positioned at [0, 55, 0], and a cylinder with a 10mm diameter centered at [92, 55, 0]. Additionally, integrate a 5mm cube at [0, -15, 0] and a cylinder with a 12mm diameter centered ... | $fn=30;
bracket (4);
color ("DodgerBlue") mirror ([0,180,0]) translate ([0,-125,0]) bracket(4);
color ("red") mirror ([0,180,0]) rotate ([0,0,180]) translate ([-120,90,0]) bracket(-4);
module bracket(depth)
{
difference ()
{
union()
{
hull ()
{
translate ([0,0,0]) cube ([5,5,1... | glb/cad_ff2a311c5d78.glb |
Create a motor mount for an extruder motor. Start by constructing a main body using a hull of a 40mm by 10mm by 6mm rectangular block and two cylinders with a 4mm diameter and 6mm height, positioned at [53, 3, 0] and [53, -3, 0]. Add a wall mount consisting of two rectangular blocks: one 3mm by 75mm by 5mm and another ... | $fn=64;
mirror ([180,0,0])
{
difference()
{
union()
{
color("Green") translate ([-11,-35,12]) rotate ([180,0,90])
linear_extrude(height = 1.6)
text("Haenau",5.5, font = "Comic Sans MS");
hull()
{
translate ([-12,-47.5,0]) cube ([3,75,5]);
trans... | glb/cad_5317ee72a17b.glb |
Create a ToM x-axis cap and nut trap consisting of two distinct parts.
First, create a flat cap with a thickness of 5mm. The base shape is a hull formed by two circles with a 5mm radius positioned at [5, 5] and [15.575, 15.575], and a smaller circle with a 2.5mm radius at [2.5, 17.225]. In this cap, create two vertic... | thickness=5;
holder_thickness=2;
long_corner_radius=5;
short_corner_radius=2.5;
long_corner_center_distance_x=10.575;
short_corner_distance_x=12.225;
hole_offset_x=5.85;
hole_distance_x=8.65;
axis_radius=4.75;
hole_radius=1.9;
nut_trap_clearance=5.6;
nut_trap_height=3;
$fa=0.1;
$fs=1;
module cap() {
difference() {... | glb/cad_0c9d9ba4f617.glb |
Create a Beginner's Knitting Loom by constructing a hollow cylinder with an outer radius of 26mm and a wall thickness of 5mm, extending to a total height of 100mm. The cylinder should be rendered with a low facet resolution of 16 sides. Along the top rim of this cylinder, add eight evenly spaced vertical pegs. Each peg... | module spool(rad, t, height, spike, n) {
union() {
difference() {
cylinder(r=rad, h=height, center=true);
cylinder(r=rad-t, h=height+0.1, center=true);
}
for (i=[0:n-1]) {
rotate([0,0,360/n * i + 11])
translate([0,rad-t/2-0.5,height/2 + (spike-t)/2 - 0.1]) {
union() {
... | glb/cad_d17bd0b2fb1a.glb |
Create a two-part electronics enclosure consisting of a bottom base and a top lid. The overall external dimensions are 80mm in length, 60mm in width, and 40mm in height. Both the base and lid should have rounded corners and edges with a radius of 2mm. The walls of the box are 2mm thick.
The box is split horizontally a... | height = 40;
width = 60;
length = 80;
thickness = 2;
edge_radius = 2;
radius = max(edge_radius, 0.01);
split_height = 20;
joint_height = 10;
glamour_line = true;
lid_tolerance = 0.4;
slotted = true;
slots = 7;
slot_vents = 3;
vent_to_height_ratio = 0.6;
grilled = false;
grille_radius = 2.5;
grille_sides = 6;
... | glb/cad_0ff6ae809561.glb |
Create a spice holder consisting of a circular base with a height of 6mm and a radius of 49mm. From this base, remove a central vertical cylinder with a radius of 3.1mm that spans the full height of the object. Additionally, remove eight circular holes, each with a radius of 12mm and a depth of 3mm. These eight holes s... | $fn=50;
tube_radius = 12;
inner_tube_radius = 6.2;
holder_height = 6;
middle_rod = 4.05;
middle_rod_bottom = 3.1;
module top(){
linear_extrude(height = holder_height){
difference(){
circle(r = tube_radius*4+1);
for (i=[1: 8]) {
rotate([0,0,i*360/8]) {
... | glb/cad_49018807a071.glb |
Create a CPAP Hose Strain Relief Bracket consisting of a vertical pillar, a circular base collar, and a top mounting bracket. Start by creating a central vertical cylinder with a radius of 11mm and a height of 300mm. At the bottom of this pillar, add a tube collar centered on the cylinder; this collar is a hollow cylin... | FUZZ = 0.1;
THICKNESS = 2;
BRACKET_HEIGHT = 26;
BRACKET_DEPTH = 30;
PILLAR_HEIGHT = 300;
TUBE_RADIUS = 29.5;
HOSE_BRACKET_ANGLE = 90;
WIDTH = 30;
SCREW_DIAMETER = 2.5;
NUT_HEIGHT = 1.6;
module flat_nut(dia, height)
{
out_h = 2*dia;
out_r = out_h/sqrt(3);
difference()
{
cylinder(r=out_r,h=height,$fn=6, center=t... | glb/cad_ad3244862abf.glb |
Create a curtain rod clip consisting of a flat base and a vertical hook. Start with a rectangular base measuring 24mm in width, 12.5mm in depth, and 2.5mm in height, with rounded corners of 2mm radius. Centered on this base, create a vertical hook structure that is 12mm wide, 12mm deep, and 6mm high. The hook should ha... | PRECISION = 10;
ROD_Z = 3;
ROD_Y = 12;
HOLE_R = 2;
HOOK_DZ = 10;
SOC_Z = 2.5;
$fn=PRECISION;
SOC_R = 1*2;
SOC_X = 2*ROD_Y;
SOC_Y = 1*12.5;
HOOK_R = ROD_Z/2+1.5;
HOOK_X = ROD_Y;
HOOK_Y = ROD_Y+2*HOLE_R;
HOOK_Z = 2*HOOK_R;
PASS_X = HOOK_X+1;
PASS_Y = ROD_Y-ROD_Z;
PASS_Z = HOOK_DZ+HOOK_Z;
PASS_DZ = PASS_Z/2+SO... | glb/cad_3c67d5ffc204.glb |
Create a small spice holder by starting with a solid cylinder that has a radius of 23.35mm and a height of 6mm. From the center of this cylinder, remove a smaller concentric cylindrical hole with a radius of 3.2mm that runs through the entire height. Around this center hole, remove five evenly spaced cylindrical holes,... | $fn=50;
tube_radius = 12;
inner_tube_radius = 6.32;
holder_height = 6;
middle_rod = 3.2;
middle_rod_bottom = 5.2;
module top(){
linear_extrude(height = holder_height){
difference(){
circle(r = inner_tube_radius*3.7);
for (i=[1: 5]) {
rotate([0,0,i*360/5]) {
... | glb/cad_48cef6ba4e7e.glb |
Create a converter box for a transformer by starting with a solid rectangular base measuring 100mm wide, 75mm deep, and 70mm high. Hollow out the interior by removing a rectangular block of 96mm by 71mm by 70mm, positioned 2mm from the front, side, and bottom walls. Leave a 2mm thick rim at the top. On one side wall, c... | difference() {
cube([100,75,70]);
translate([2,2,2])
cube([96,71,70]);
translate([1,1,69])
cube([98,73,2]);
rotate([0,-90,0]) {
translate([28,37.5,-102])
cylinder(10, 22, 22);
}
for (i=[0:1:7]) {
translate([10,18+i*5,-1])
cube([50,1,4]... | glb/cad_2197320fd7be.glb |
Create a converter box for a transformer starting with a rectangular base plate measuring 100mm by 75mm with a thickness of 3mm. Add a thin rim around the perimeter that is 1mm high, offset from the edges by 2mm. Construct a main internal compartment by adding walls 37mm wide and 30mm high, leaving a hollow center of 3... | difference() {
union() {
cube([100,75,3]);
translate([2,2,3])
cube([96,71,1]);
translate([16,2.5,1.9])
difference () {
cube([37,70,30]);
translate([1,1,0])
cube([35,68,31]);
translate([-5,11.5,0])
cube([60,45,31]);
... | glb/cad_4488ba90b81e.glb |
Create a dust collector for a router consisting of a wide conical base and a vertical cylindrical tube. First, construct the base as a cone with a height of 50mm, starting with a bottom radius of 80mm and tapering to a top radius of 0mm. Remove a central cylindrical core from this base with a radius of 20mm and a heigh... | translate([60,0,0]) rotate([0,0,0]) tube();
base();
module tube () {
difference(){
difference(){
cylinder(h=100, r1=16,r2=18,center=false);
cylinder(h=100, r1=15,r2=17,center=false);
}
translate([-60,0,0]) rotate([0,0,0]) cylinder(h=50, r1=80, r2=0, center=false);
}
}
module base () {
difference(... | glb/cad_3ed06300d4ba.glb |
Create a customizable long GoPro screw knob. Start by constructing a central vertical cylinder with an outer diameter of 14mm and a total height of 40mm. At the base of this cylinder, create a rounded grip by forming a sphere with a diameter of 25mm, centered such that it intersects the bottom 10mm of the main cylinder... | d_min = 8.7;
d_max = 9.2;
d_inner = 5.5;
d_outer = 14;
d_grip = 11;
w_grip = 20;
h_top = 5;
h_mid = 35;
h_bottom = 10;
sphere_ratio = 1.25;
grip_ratio = 1.75;
grip_angle = 20;
$fn = 20;
difference() {
union() {
difference() {
intersection() {
translate([-w_grip / 2, -w_grip / 2... | glb/cad_924297e342b7.glb |
Create a Thermolec furnace humidifier overflow tube consisting of three coaxial cylindrical sections. The main body is a cylinder with a radius of 9mm and a total height of 40mm, centered vertically. Attached to the bottom of this main body is a smaller cylindrical collar with a radius of 6mm and a height of 13mm, posi... | x=3;
thermolec_overflow(x);
module thermolec_overflow(x)
{
difference()
{
union()
{
cylinder(r=9, h=40,center=true,$fn=100);
translate([0,0,-26])
cylinder(r=6, h=13,center=true,$fn=100);
translate([0,0,-37])
cylinder(r=x, h=10,center=true,$fn=100);
}
translate([0,0,3])
cyli... | glb/cad_8f0e46c9a292.glb |
Create an apple slicer base by starting with a solid cylinder that has a bottom radius of 48mm, a top radius of 46mm, and a height of 16mm. Carve out a central circular hole starting 6mm from the bottom, with a bottom radius of 14mm and a top radius of 15mm, extending 10.1mm upward. Within this same central area, remov... | $fn = 120;
module AppleBase()
{
difference()
{
cylinder(r1=48.0, r2=46, h=16);
translate([0,0,6])
union()
{
difference()
{
cylinder(r1=14.0, r2=15.0, h=10.1);
cylinder(r1=11.0, r2=10.0, h=10.1);
}
fo... | glb/cad_56aa23b53bc9.glb |
Create a Leviton Decora wall plate insert by combining two rectangular volumes. First, construct a base rectangular slab measuring 73mm wide, 40mm deep, and 3mm thick. Centered on top of this base, add a second, smaller rectangular volume that is 61.8mm wide, 28.4mm deep, and 2.6mm thick. This upper volume must have ro... | $fn = 60;
module FacePlatePlug()
{
union()
{
translate([0, 0, 1.5])
cube([73.0, 40.0, 3.0], true);
translate([0, 0, 4.2])
minkowski()
{
cube([61.8, 28.4, 2.6], true);
cylinder(r=2.6, h=0.2);
}
}
}
FacePlatePlug()... | glb/cad_2db8bc3ffb7d.glb |
Create a Floral Foam Fixation Thing consisting of a circular base plate and three tapered vertical peaks. Start by creating a cylinder for the base plate with a diameter of 30mm and a height of 2mm. On the top surface of this base, add three identical vertical peaks arranged symmetrically 120 degrees apart. Each peak s... | $fn=25;
dunten=30;
doben=2.5;
hoehe=20;
abkling=15;
spipo=4;
union()
{
cylinder(r=dunten/2,h=2);
for (dreh=[0:120:240])
{
rotate(dreh,[0,0,1])
translate([-dunten/spipo,0,0])
spitze(hoehe,doben,dunten,abkling,spipo);
}
}
module spitze(hoehe,doben,dunten,abkling,spipo)
{
union()
{
for (n=[0:0.01:0.... | glb/cad_175d8665b033.glb |
Create a Customizable Bike Light Mount starting with a rectangular base block measuring 90mm wide, 20mm high, and 5mm thick. Centered on this base, add a second rectangular block that is 26mm wide, 20mm high, and 5mm thick, extending from the back of the base.
Carve a vertical slot through the center of these combine... | base_width=90;
base_height=20;
base_thickness=5;
coupler_width=26;
coupler_height=base_height;
coupler_thickness=5;
stem_width=13;
coupler_head=17;
tolerance=2.4;
ep=0+0.05;
ziptie_width=5;
echo(str("Suggested Filename: Bike Light Mount-B",base_width,"x",base_height,"x",base_thickness,"-C",coupler_width,"x",coupler_th... | glb/cad_847d5e69e5ef.glb |
Create a button for a uRADMonitor case. The object is a composite cylindrical shape. Start by creating a base cylinder with a diameter of 9mm and a height of 10mm. On top of this base, add a second cylinder with a diameter of 6mm and a height of 14mm, centered on the base. To finish the shape, subtract a sphere with a ... | $fn = 24;
$fa = 5;
$fs = 0.01;
length = 118;
width = 68;
frontDepth = 18;
backDepth = 10;
radius = 5;
thickness = 2;
patternThickness = 0.5;
boardWidth = 61.4;
boardLength = 109.25;
thicknessIncludingLCD = 18;
boardOffsetX = (length - boardLength) / 2;
boardOffsetY = (width - boardWidth) / 2;
module round4CornersCu... | glb/cad_c78924af210b.glb |
Create a wall-mounting bracket for a uRADMonitor Kit 1. The main body is a hollow rectangular shell with an outer width of 73mm, a total depth of 32mm, and a height of 60mm. The walls are 2mm thick.
The interior is a hollow cavity designed to hold a device. On the front face, create two circular through-holes, each 10... | $fn = 24;
$fa = 5;
$fs = 0.01;
length = 118;
width = 68;
frontDepth = 18;
backDepth = 10;
radius = 3;
thickness = 2;
slack = 1;
counterSinkDepth = 4;
counterSinkDiameter = 10;
boardWidth = 61.4;
boardLength = 109.25;
thicknessIncludingLCD = 18;
boardOffsetX = (length - boardLength) / 2;
boardOffsetY = (width - boardW... | glb/cad_3d868eb38842.glb |
Create a U Groove planetary bearing consisting of a main outer ring and four internal planetary gears. The outer ring has a diameter of 25mm and a thickness of 8mm.
The ring features an internal herringbone gear profile with 7 teeth. This internal gear is mirrored across the center plane to create a double-helical sh... | D=25;
T=8;
tol=0.15;
number_of_planets=4;
number_of_teeth_on_planets=5;
approximate_number_of_teeth_on_sun=7;
P=55;
nTwist=1;
w=4 ;
DR=0.3*1;
m=round(number_of_planets);
np=round(number_of_teeth_on_planets);
ns1=approximate_number_of_teeth_on_sun;
k1=round(2/m*(ns1+np));
k= k1*m%2!=0 ? k1+1 : k1;
ns=k*m/2-np;
ec... | glb/cad_940232f6f555.glb |
Create a plant tag consisting of a horizontal rectangular plaque atop a tapered stake. Start by designing the plaque as a rectangular block 2.5mm thick, with a length determined by the text "Name of plant" using a font size of 12mm. The text should be embossed 20mm deep into the block, leaving a base thickness of 0.5mm... | name = "Name of plant";
LetterBlock(name);
module LetterBlock(string) {
difference() {
length=len(string);
size=20;
translate([0,size/2,size/8]) cube([(length)*9,size,size/4], center=true);
translate([0,size/2,0.5]) {
linear_extrude(height=size , convexity=2)
... | glb/cad_55d630ddca2a.glb |
Create a belt tensioner consisting of a flat side plate with a thickness of 2mm. The main body is defined by a polygon with vertices at [0,0], [0,50], [5,50], [15,30], [15,20], and [5,0] in the XY plane, extruded to the 2mm thickness.
Add two semi-circular protrusions with a radius of 10mm to 11mm, centered at [0,0] ... | belt_width = 5;
sides_width = 2;
number_of_sides = 1;
liponoff = 1;
if(number_of_sides == 1){
BeltTensioner(0);
}
if(number_of_sides == 2){
BeltTensioner(270);
}
module poly_reuse(){
polygon([[0,0],[0,50],[5,50],[15,30],[15,20],[5,0]]);
}
module BeltTensioner(rotation){
rotate(rotation,[0,1,0])
difference(){
unio... | glb/cad_1d3050e16b43.glb |
Create a mini ball launcher consisting of a housing, a rotor, and a cover.
For the housing, create a cylinder with a radius of 37mm and a height of 17mm. Subtract a central cylinder with a radius of 35mm and a height of 15mm, starting 2mm from the base. Add a rectangular block to the side of the cylinder measuring 47... | $fn = 100;
ball_w = 15 + 1;
wall_thickness = 2;
hand_r = 35;
shaft_r = 1;
rotor_height = ball_w - 2;
flange_w = 6;
motor_1_r = 6 / 2 + 0.1;
motor_2_r = 19 / 2 + 0.3;
motor_2_h = 3.5;
motor_3_r = 24 / 2;
motor_3_h = 15;
base_r = hand_r + wall_thickness;
hand_inner_r = hand_r - ball_w;
module housing()
{
differ... | glb/cad_438e7669b890.glb |
Create a Poly Bracelet by starting with a sphere that has a radius of 57mm and a facet resolution of 40. From this sphere, remove a central vertical cylinder with a radius of 40mm and a height of 220mm, using a facet resolution of 15 for the cylinder. Finally, constrain the entire resulting shape to fit within a larger... | intersection(){
$fn=15;
cylinder(r=56,h=65,center = true);
difference(){
$fn=40; sphere(57);
$fn=15; cylinder(r=40,220,center=true);
}} | glb/cad_2f7043841099.glb |
Create a Headphone Reel consisting of a central cylindrical spool with a total height of approximately 30.45mm. The main body is a thick ring with an outer diameter of 75mm and an inner diameter of 18.75mm. To create the spool's profile, remove a concentric cylindrical section from the center, leaving a wall thickness ... | $fn = 50;
od = 75;
id = od/4;
spool_wall_thickness=3;
outer_spool_thickness=10;
cable_tie_thickness=10;
cable_tie_offset_from_inner_spool = 10;
part_height = id*1.61803398875;
module ring(inner,outer,height) {
difference() {
echo("Making a ring with od of ");
echo(outer);
echo(" and an... | glb/cad_e6eba7eb68c9.glb |
Create a Five Piece Cube Puzzle based on a 3x3x3 grid of subcubes. The total assembled size of the puzzle is a cube with a side length of 40mm, meaning each individual subcube has a side length of approximately 13.33mm.
Construct the puzzle by creating five distinct pieces. Four of these pieces are identical in shape,... | puzzle_no = 11018;
mark = 6;
include <part_table_55557.scad>
cube_size = 40;
cs = cube_size/3;
clearance = 0.6;
if (mark==0)
union()
{
color("green") make_one(p_table,centers,puzzle_no);
color("yellow") make_two(p_table,centers,puzzle_no);
color("blue") make_three(p_table,centers,puzzle_no);
color("red") m... | glb/cad_b6995d32b03e.glb |
Create a parametric door latch consisting of a sliding bar and two mounting brackets.
First, construct the sliding bar. Create a rectangular prism with a length of 100mm, a width of 6mm, and a height of 6mm. At one end of the bar, add a cylindrical handle with a diameter of 24mm and a height of 6mm. At the opposite e... | G=6;
L=100;
D=5;
H=2.4*D;
D2=2+sqrt((G*G)+(H*H));
translate ([0,3*D2,0])
difference(){
union(){
translate([0,-G/2,0])
cube([L,G,G]);
translate ([L,0,0])
cylinder(h=G,d=(D2+2*G),$fn=100);
translate([2*G,G/2,0])
cylinder (h=G,d=4*G,$fn=100);
translate([0,-(G+3*D),0])
cube ([G,G+3*D,G]);
}
trans... | glb/cad_3b379e5ab7cf.glb |
Create a drill rig adapter collar by constructing a hollow cylinder with an outer diameter of 55mm and a height of 22mm. Remove a smaller concentric cylinder from the center with a diameter of 50.4mm to create a wall thickness of 2.3mm. Inside this main body, create a secondary concentric cavity starting 1mm from the b... | $fn=256;
difference(){
cylinder(r=55/2, h=22);
cylinder(r=50.2/2, h=22);
translate([0,0,1])difference(){
cylinder(r=55/2, h=21);
cylinder(r=53/2, h=21);
}
translate([55/2,0,1])cube([55/2,2,55],center=true);
} | glb/cad_8c514861ba2b.glb |
Create a phone case for a Huawei P9 with a main body width of 71mm, length of 145.5mm, and thickness of 8mm. The case should have rounded corners with a radius of 5mm and a wall thickness of 2mm. The interior should be hollowed out to fit the phone, leaving a 3mm lip around the top edge.
On the sides and back, incorpo... | $fa=0.5; $fs=0.5 ;
c_overprint = 0.2;
c_phone_width = 71;
c_phone_length = 145.5;
c_phone_thickness = 8;
c_phone_corner_r = 5;
c_camera_from_top = 30;
c_camera_square = 12.5;
c_camera_to_speaker = 10.5;
c_speaker_size = 8.5;
c_head_jack = 4;
c_head_jack_x_offset = 4.5;
c_on_off_y = 27;
c_on_off_box_y = 45;
c_on_of... | glb/cad_66c30e90bc32.glb |
Create a parametric hasp consisting of two main components: a mounting base and a sliding closure piece.
For the mounting base, create a main body with a square section width of 6mm and a total length of 100mm. At one end, integrate a cylindrical mounting ring with an outer diameter of 24mm and a height of 12mm, feat... | G=6;
L=100;
D=5;
H=2.4*D;
D2=2+sqrt((G*G)+(H*H));
translate ([0,3*D2,0])
difference(){
union(){
translate([0,-G/2,0])
cube([L,G,G]);
translate ([L,0,0])
cylinder(h=G,d=(D2+2*G),$fn=100);
translate([2*G,G/2,0])
cylinder (h=G,d=4*G,$fn=100);
translate([0,-(G+3*D),0])
cube ([G,G+3*D,G]);
}
trans... | glb/cad_3b379e5ab7cf.glb |
Create a Y-axis belt tensioner for a K8200 3D printer. Start with a base rectangular block measuring 140mm in length, 47mm in width, and 16mm in height. Add a second rectangular block on top of the base, positioned at x=53mm, y=4mm, and z=1mm, with dimensions of 51mm by 38mm by 25mm. Additionally, place a third rectang... | difference ()
{
union ()
{
color("blue")
translate([0,0,0])
rotate([0,0,0])
cube([140,47,16]);
color("lime")
translate([53,4,1])
rotate([0,0,0])
cube([51,38,25]);
}
color("red")
translate([130.6,36.5,5])
rotate([0,0,0])
cylinder(h=24,r=3.75, $fn=80);
color("red")
translate([9.4,36.5,5])
rotate([0,0,0])... | glb/cad_252b44393c48.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.