Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create an Any Purpose Bowl by constructing a solid of revolution. Start by defining a 2D polygon with vertices at [0,0], [5,0], [3,4], and [0,4], then rotate this profile 360 degrees around the Z-axis and scale the resulting shape by a factor of 2 in all dimensions to create the outer bowl shell. Position this shell so... | $fs=.05;
linear_extrude(height=2,slices=100)
circle(3);
difference(){
translate([0,0,10])
rotate([0,180,0])
scale([2,2,2])
rotate_extrude()
polygon([[0,0],[5,0],[3,4],[0,4]]);
translate([0,0,12])
sphere(9);
} | glb/cad_53ee0b59df7d.glb |
Create a set of bento boxes consisting of three rectangular containers and lids. First, construct a main box by creating a solid rectangular prism measuring 130mm by 190mm with a height of 75mm, then remove a smaller interior prism measuring 110mm by 170mm with a height of 65mm, positioned 10mm from the side walls and ... | $fs=.05;
difference(){
cube(size=[130,190,75]);
translate([10,10,0])
cube(size=[110,170,65]);
}
translate([50,-5,-215])
difference(){
translate([0,0,140])
cube(size=[140,200,10]);
translate([2,2,140])
cube(size=[135,195,5]);
}
translate([-300,-5,-215])
difference(){
transla... | glb/cad_8bebc3bff0e1.glb |
Create a bento box set consisting of a rectangular container and a matching lid. For the container, create a solid rectangular block measuring 140mm wide, 200mm deep, and 75mm high. Hollow out the center of this block by removing a rectangular section measuring 120mm wide, 180mm deep, and 65mm high, leaving a wall thic... | $fs=.05;
translate([-300,-5,-215])
difference(){
translate([0,0,140])
cube(size=[150,210,10]);
translate([2,2,140])
cube(size=[145,205,5]);
translate([-2,-2,130])
cube(size=[130,190,10]);
}
rotate([0,180,0]){
difference(){
cube(size=[140,200,75]);
translate([10,10,0])
cube(si... | glb/cad_105f5d9ee02b.glb |
Create a chopstick holder by starting with a central rectangular base measuring 15mm in length, 6mm in width, and 1mm in height, centered on the origin. Remove a rectangular hollow from the center of this base that is 8mm long, 6mm wide, and 1mm high, positioned 1mm above the bottom surface. To create the supports, add... | $fs=.05;
translate([7.5,0,.5])
rotate([0,-20,0])
cube(size=[2,6,.5],center=true);
translate([-7.5,0,.5])
rotate([0,20,0])
cube(size=[2,6,.5],center=true);
translate([5,0,-1])
cube(size=[2,6,1],center=true);
translate([-5,0,-1])
cube(size=[2,6,1],center=true);
difference(){cube(size=[... | glb/cad_526021718071.glb |
Create two identical chopsticks, each consisting of a long tapered shaft and a rectangular hilt. For each chopstick, create a tapered cylinder 60mm in length, starting with a radius of 1mm at the base and narrowing to a radius of 0.4mm at the tip. At the base of each shaft, attach a rectangular hilt measuring 2mm by 13... | $fs=.05;
rotate([90,0,0])
cylinder(r1=1,r2=.4,h=60);
rotate([-180,0,0])
translate([-1,0,-1])
cube(size=[2,13,2]);
translate([-5,-13,-1])
cube(size=[10,1,2]);
translate([12,0,0]){
rotate([90,0,0])
cylinder(r1=1,r2=.4,h=60);
rotate([-180,0,0])
translate([-1,0,-1])
cube(size=[2,13... | glb/cad_9f9f11e341d2.glb |
Create two identical chopsticks, each 60mm long. For each chopstick, construct a main body as a cone that tapers from a radius of 1mm at the base to 0.4mm at the tip. At the base of each chopstick, add two decorative spiral elements. Each spiral is created by extruding a 1mm square along a 15mm path with a 500-degree t... | $fs=.05;
rotate([90,0,0])
cylinder(r1=1,r2=.4,h=60);
rotate([90,0,0])
linear_extrude(height=15,slices=100,twist=500)
square(1);
translate([0,0,0])
rotate([90,180,0])
linear_extrude(height=15,slices=100,twist=500)
square(1);
translate([5,0,0]){
rotate([90,0,0])
cylinder(r... | glb/cad_b6c0f96f4da7.glb |
Create a cup by constructing a solid cylinder with a radius of 8mm and a height of 20mm, applying a full 360-degree twist to the geometry along its vertical axis to create a spiraled exterior texture. From the center of this shape, remove a smaller concentric cylinder with a radius of 7mm and a height of 15mm, leaving ... | $fs=.05;
difference(){
linear_extrude(height=20,twist=360,slices=50)
circle(8);
cylinder(r1=7,r2=7,h=15);
} | glb/cad_95fc0becb57f.glb |
Create a keyboard foot consisting of a rectangular body and a cylindrical peg. Start with a rectangular base 21.5mm long, 22.1mm wide, and 2.5mm thick. At one end of the body, center a cylinder with a diameter of 7.15mm that extends across the full 22.1mm width. Within this cylinder, create a concentric hole with a dia... | bodyWidth = 22.1;
bodyLength = 21.5;
bodyThickness = 2.5;
bodyDiameter = 7.15;
pegDiameter = 3.3;
pegLength = 3.3;
springThickness = 2.5;
springGap = 1.76;
springLength = 9.25;
footAngle = 30;
tearDropDepth = 0.5;
difference()
{
union()
{
translate([-bodyLength/2, -bodyWidth/2, 0])
cube(size=[bodyLength, ... | glb/cad_b763ac9aaf2a.glb |
Create a Rubik's 2x2x3 blocked puzzle mechanism consisting of two mid parts and eight side parts. Each basic building block (cubie) is a 20mm cube with 2mm rounded edges.
For the side parts, start with a 20mm rounded cubie. Remove a cylindrical core with a diameter of 15.6mm and a length of 20mm along the X-axis. Crea... | ra=2;
s=20;
gap=.4/2;
pd=.5;
$fn=24;
mid();
module side()
{
difference()
{
union()
{
translate([s/2,-s,-s/2])cubie(s);
intersection()
{
translate([s/2,-s/2-gap-3,-s/2])cubie(s);
union()
{
rotate... | glb/cad_5515944e2824.glb |
Create a bathtub plug by starting with a truncated cone that is 15mm high and centered on the origin, with a bottom radius of 20mm and a top radius of 23mm. Remove a cylindrical core from the center of this cone with a radius of 14mm and a height of 10mm, positioned 2.5mm below the center point. On top of the structure... | difference() {
cylinder(r1=20,r2=23,h=15,center=true);
translate([0,0,-2.5])
cylinder(r=14,h=10,center=true);
}
translate([0,0,18]) {
scale([4,4,4]) {
translate([0,0,-1.5])
scale([1.0,1.0,0.4])
sphere(r=2,$fn=30);
translate([0,0,-2.8])
cylinder(r1=2,r2=1,h=2,$fn=30,center=true);
}
} | glb/cad_d5b546ef6373.glb |
Create a K8200 X axis belt tensioner consisting of three distinct components: a clamp base, a clamp trap, and a ram.
First, construct the clamp base by creating a block with rounded ends. Bore two vertical holes with a radius of 2.2mm through the part, spaced 14mm apart. On the side of this block, create a horizontal ... | belt_pitch = 5;
belt_width = 6;
belt_height = 3.8;
ram_length = 5;
m3_diameter = 4 / cos(180 / 8) + 0.4;
m3_radius = m3_diameter / 2;
m3_nut_diameter = 7 / cos(180 / 6) + 0.4;
m3_nut_radius = m3_nut_diameter / 2;
m3_nut_depth = 3;
wall = 3;
extrusion_width = 0.4;
clamp_height = 4.0;
belt_depth = 2;
ram_height = ... | glb/cad_07f285bf597c.glb |
Create a Prusa i3 geared extruder consisting of two mirrored main bodies. For each body, start with a rectangular block measuring 40mm in width, 60mm in length, and 23mm in height.
In the center of the block, create a vertical cylindrical hole with a diameter of 22.6mm and a depth of 7mm to accommodate a 608 ball bea... | 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;
m4nd = 7.9+0.4;
m4nr = m4nd/2;
m4nh=3.4;
m5nd = 9+0.4;
m5nr = m5nd/2;
m5nh=4.2;
sbd = 8+0.3;
sbr = sbd/2;
insd = 16+0.35;
insr = insd/2;
b608d=22+0.3;
b608r=b608d/2;
b608h=7;
hx=40;
hy=60;
hz=2+7+1+8+1+7;... | glb/cad_1a669bdf6681.glb |
Create a Better HBP Leveler Part 1A by combining a bracket with a supporting raft. First, import the HBP Leveler Part 1A bracket geometry and center it. Then, create a rectangular raft with dimensions of 10mm in length, 22mm in width, and 0.5mm in depth. Position this raft so that its center is located at coordinates x... | length = 10;
width = 22;
depth = .5;
x = 10;
y = 0;
z = 0;
module raft() {
cube([length,width,depth],center=true);
}
module bracket() {
import_stl("HBP_Leveler_Part1_A.stl",center = true);
}
union() {
bracket();
translate(v=[29.3,-22.8,depth/2]) raft();
} | glb/cad_6c1d9cacf392.glb |
Create a Y-Axis Back Brace for a 12" Prusa i3v. Start with a base plate 6mm thick. The main body is a hull formed by two cylinders with an 18mm diameter and a height of 6mm, positioned 238.8mm apart (center-to-center) along the Y-axis.
Add a central ledge structure that transitions from a 12mm diameter in the middle t... | $vpt=[-60.5,42,-11];
$vpr=[57.1,0,320];
$vpd=675;
i3v = 12;
i3v_Width = 346.5;
i3v_Vslot_Width = 238.8;
i3v_Vslot_Offset = 63.5;
i3v_MotorOffset = 166.6;
i3v_Height = 50.5;
i3v_Vslot_Ht = 40.5;
Ht = 6;
Test_Ht = 2;
TestPrint_ON = 0;
OD = 18;
Ldg_Taper_Ht = 14;
Ldg_Taper_MidLen = 24;
Ldg_TaperMid_OD = 12;
Ldg_Taper... | glb/cad_fbec732ab390.glb |
Create a Split X-End for a Prusa i3, consisting of a motor end, an idler end, and a Z-carriage.
For the motor end, create a main body with a height of 8mm and a width of 45mm. Incorporate two 3mm diameter screw holes for motor mounting and a central belt channel. Add an octagonal cutout centered on the motor axis and... | ew = 0.56;
eh = 0.25;
epsgap = 0.1;
wall = [6*ew, 8*ew, 14*eh, 4*ew];
module chamfered_cube(size,d=[1,1,1]){
hull(){
translate([d[0],d[1],0])cube(size-2*[d[0],d[1],0]);
translate([0,d[1],d[2]])cube(size-2*[0,d[1],d[2]]);
translate([d[0],0,d[2]])cube(size-2*[d[0],0,d[2]]);
}
}
module chamfered_cyl... | glb/cad_344bc24c8c36.glb |
Create a scissor handle by designing a flat, elongated grip with a hollow circular finger loop at one end. The main body is 4mm thick. At the loop end, create a circular opening with a radius of 11mm. The outer boundary of this loop section is a larger concentric circle with a radius of 16mm.
Extending from the loop i... | module handle_negative() {
translate([8.7/-2, -21.25, -0.02]) cube([8.7, 21.5, 2.12]);
translate([0, 4 - 20.75, -4]) rotate([0, 0, 180/8]) cylinder(r=2.5/2 / cos(180 / 8), h=10, $fn=8);
translate([0, 4 - 20.75, 2.5]) rotate([0, 0, 180/8]) cylinder(r=4/2 / cos(180 / 8), h=5.01, $fn=8);
intersection() {
translate(... | glb/cad_fb5f3501bb7a.glb |
Create a lamp repair part by starting with a base shape that combines a rectangular block and a cylinder. Form the main body by joining a 35mm by 10mm by 8mm rectangular prism, positioned from x=0 to 35 and y=-5 to 5, with a cylinder of radius 6mm and height 8mm centered at the origin. From this combined volume, remove... | $fn = 50;
difference(){
union(){
translate(v=[0,-5,0]){
cube([35,10,8]);}
cylinder(h=8,r=6,r2=6);
}
union(){
translate(v=[0,0,-3/2]){
cylinder(h=11,r=2.1,r2=2.1);}
translate(v=[29,6,4])rotate([90,0,0]){
cylinder(h=20,r=2.3,r2=2.3);}
}
} | glb/cad_bfc6b7f02f89.glb |
Create a Customizable Paint Tray designed to hold small bottles. The main body is a rectangular container tilted at a 20-degree angle. The interior consists of a 3x5 grid of cylindrical holes, each with a diameter of 26.7mm (25mm bottle diameter plus 1.7mm spacing) and a depth of 21.5mm.
The container walls have a th... | column = 3;
row = 5;
deg = 20;
object = 0;
coverThick = 1.2;
diameter = 25;
bottleH = 42;
holeH = 21.5;
space = 1.5;
offset = 1;
holespace = 1.7;
minusThick = 2.5;
femaleConnector = 1;
maleConnector = 1;
holeDiameter = diameter + holespace ;
x = sqrt(space*space + holeH*holeH) * cos(90-deg-atan(space/hol... | glb/cad_81e5e2bc8546.glb |
Create a Bubble Hold for rock climbing by starting with a central cube measuring 30mm on all sides. Surround this cube with eight spheres of varying sizes, with radii ranging between 8mm and 20mm. Position these spheres around the center, rotating each by 45-degree increments, and offset them from the center by random ... | translate([0,0,-.1])
%cube([100,100,.2],center=true);
mm=25.4;
tolerance=.5;
seed = 14;
random_vect=rands(8,20,8,seed);
random_vect2=rands(1,8,8,seed*seed);
random_vect3=rands(10,50,8,seed*seed*seed);
difference(){
union(){
cube([30,30,30],center=true);
for(i=[0:7]) {
rotate(360*i/8) {
translate([5+rand... | glb/cad_1df36faff834.glb |
Create a mounting plate for two multimeters. Start with a square base measuring 104.2mm by 104.2mm with a thickness of 2.3mm.
Cut two rectangular holes into the base to accommodate the meters. Each hole should be 68.8mm wide and 37.8mm high. Position these holes centrally along the vertical axis, with one in the uppe... | oe = 0.2;
c = 0.4;
c2 = c * 2;
s = 104.2;
ss = 85.7;
ssD = (s - ss) / 2;
sd = 3 + c2;
z = 2.3;
mx = 68 + c2;
my = 37 + c2;
mpx = (s - mx) / 2;
mpy = (s -8 - (my* 2)) / 2;
wt = 2;
wz = 15;
shd = 8.2;
shh = shd + c2;
st = shh + (2*wt);
module ScrewStandoff( x, y )
{
translate( [x, y, z] )
{
diff... | glb/cad_252da6bda15c.glb |
Create a pulley gear for an HTD 3mm belt profile. The main body is a cylinder with a base height of 8mm and a total toothed section height of 5mm. The pulley has 56 teeth.
The outer diameter is defined by the HTD 3mm profile, with a tooth width of 1.289mm and a depth of 2.27mm. Add a belt retainer flange on the top su... | teeth = 56;
profile = 9;
motor_shaft = 1;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 1.5;
idler = 1;
idler_ht = 1.5;
pulley_t_ht = 5;
pulley_b_ht = 8;
pulley_b_dia = 20;
no_of_nuts =1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2;
add... | glb/cad_f533885147f8.glb |
Create a pulley for an HTD 3mm belt with 56 teeth. The main body should be a cylinder with a base height of 8mm and a toothed section height of 5mm. The outer diameter is determined by the HTD 3mm profile for 56 teeth.
The pulley features a central hexagonal bore for a shaft. Around this center, create three equidista... | teeth = 56;
profile = 9;
motor_shaft = 1;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 1.5;
idler = 1;
idler_ht = 1.5;
pulley_t_ht = 5;
pulley_b_ht = 8;
pulley_b_dia = 20;
no_of_nuts =1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2;
add... | glb/cad_830076335cab.glb |
Create a 3D model of the "requested yegah HTD3M big gear beta" extruder mount.
Start by constructing the main body as a complex assembly of intersecting hulls and cylinders. Create a central drive and receiver gear bezel using a cylinder with a radius of 6.6mm (based on the main bearing diameter of 13.2mm) and a thic... | cwbolt=1;
ftype=0;
fmd=50;
hmdist=fmd+8*ftype;
fmo=0;
hfxtr=25-10*ftype;
fch=3.5;
fchh=6.5*0;
jhm=1;
ehm=0;
engoff=-6;
engoffz=-10;
engmt=8;
engang=10;
inspect=0;
csaxes=0;
showmu=1;
attmd=15;
recmd=78;
jhwal=3;
drvele=15;
fild=3.2;
roldia=9.22;
rolfil=11.34;
tdep=0.6;
mbdia=13.2+.4;
mbth=5;
ms... | glb/cad_75d05aa6fcd6.glb |
Create a key rack consisting of a mounting plate and four hooks. Start with a rectangular base plate 180mm wide, 27.6mm high, and 8mm thick. The plate should have rounded ends and two circular holes with a 2.5mm radius, one centered near each far end.
Position four identical hooks along the top edge of the plate, even... | golden = 1.61803399;
w = 180;
h = w/golden/4;
d = 8;
hook_r = 7.5;
module plate(w, h, d, end_squish=0.66) {
difference() {
minkowski() {
linear_extrude(height=d-6, center=true) {
hull() {
translate([-w/2+end_squish*h/2,0,0])
scale([end_squish,1,1])
circle(h/2);
translate([w/2-end_squis... | glb/cad_05e0c496bfb2.glb |
Create a geometric object centered on the origin. Start by combining a cylinder with a radius of 2mm and a height of 8mm with a second, shorter cylinder positioned 4mm above the center, which has a radius of 3.5mm and a height of 1mm. From this combined volume, remove a central vertical hole in the shape of a heptagona... | difference() {
union() {
translate([0,0,4])
cylinder(r=3.5,h=1,center=true);
cylinder(r=2.0,h=8,center=true);
}
cylinder(r=1.2,h=10,center=true,$fn=7);
} | glb/cad_f31ebbe83823.glb |
Create a set of split X-ends for a 3D printer, consisting of a motor end, an idler end, and an X-endstop holder.
For the motor end, create a main body with a central belt channel and a cutout for a Nema 17 motor. Include two 3mm screw holes spaced 31mm apart for motor mounting, each with a 7mm deep countersink. Add a... | ew = 0.56;
eh = 0.25;
epsgap = 0.1;
wall = [6*ew, 8*ew, 14*eh, 4*ew];
module chamfered_cube(size,d=[1,1,1]){
hull(){
translate([d[0],d[1],0])cube(size-2*[d[0],d[1],0]);
translate([0,d[1],d[2]])cube(size-2*[0,d[1],d[2]]);
translate([d[0],0,d[2]])cube(size-2*[d[0],0,d[2]]);
}
}
module chamfered_cyl... | glb/cad_33c333222db9.glb |
Create a Kossel Frame Extruder Mount by starting with a central body formed from the convex hull of a 15mm by 22mm by 10mm centered cube and two cylinders with a radius of 4.2mm and a height of 10mm, positioned at x = -8mm and x = 8mm respectively. From this main volume, remove a horizontal cylinder with a radius of 18... | include <configuration.scad>;
module frame_extruder() {
difference() {
union() {
hull(){translate([0, 0, 5]) cube([15, 22, 10], center=true);
translate([-8,0, 0]) cylinder(r=4.2, h=10, $fn=128);
translate([8,0, 0]) cylinder(r=4.2, h=10, $fn=128);}
}
translate([0, 0, 26]) rotate([90, 0, ... | glb/cad_dcc7349c1b50.glb |
Create a Scout tribot frame starting with a rectangular top plate measuring 93mm by 75mm with a thickness of 5mm and corner radii of 4mm.
Cut two rectangular slots through the plate to allow for wiring: one measuring 12.5mm by 59mm and another measuring 26mm by 59mm, both with rounded ends (3mm radius). Drill six 2.6... | TopPlate = 5;
MountingHole = 1.3;
Width = 93;
Length = 75;
CornerRadius = 4;
iwidth = Width-CornerRadius*2;
ilength = Length-CornerRadius*2;
difference () {
translate([0-iwidth/2,0-ilength/2,0]){
minkowski(){
cube(size = [iwidth,ilength,TopPlate/2]);
cylinder(r=CornerRadius,h=TopPlate/2);
}
}
translate... | glb/cad_831da8d44f1e.glb |
Create a scraper handle for a matte blade. Start with a main body that is 29mm wide and 60mm long, with a thickness of 3mm. The top edge of the handle is 31mm wide, tapering down to a base that is 60mm long. The handle should have a rounded profile with a radius of 2mm.
In the center of the handle, create a slot to ho... | module tetragon(p1, p2, p3, p4, h=1) {
linear_extrude(height=h,center=true) {
polygon(
points=[p1, p2, p3, p4],
paths=[[0,1,2,3]]
);
}
}
difference() {
union() {
tetragon([-31/2,0],[31/2,0],[60/2,19],[-60/2,19], 3);
translate([0,-5,0])
tetragon([-31/2,0],[31/2,... | glb/cad_c4b87c0ccb45.glb |
Create a scraper handle for a matte blade. Start with a main body that combines a rectangular block and a rounded base. The handle's overall footprint is roughly 60mm by 35mm. The base should be rounded with a radius of 20mm, smoothed further by a 2mm sphere fillet.
At the top of the handle, create a slot to hold the ... | module tetragon(p1, p2, p3, p4, h=1) {
linear_extrude(height=h,center=true) {
polygon(
points=[p1, p2, p3, p4],
paths=[[0,1,2,3]]
);
}
}
difference() {
union() {
tetragon([-33/2,0],[33/2,0],[62/2,19],[-62/2,19], 3);
translate([0,-5,0])
tetragon([-31/2,0],[31/2... | glb/cad_d32aaa78d36c.glb |
Create a solid magnetic base for gaming terrain. Start with a rectangular block that is 50mm wide, 50mm deep, and 6mm high. Remove a central rectangular section to create a hollow frame with a wall thickness of 10.2mm on all sides.
Within the remaining walls, create circular holes for magnets. Position these holes so ... | x = 2;
y = 2;
edge = 12.5;
left_edge = "false";
right_edge = "false";
front_edge = "false";
back_edge = "false";
magnet_hole = 5.4;
center_wire_hole = 0;
paperclip_wire_hole = .7;
module wire_holes(x,y,center_wire_hole=0,paperclip_wire_hole=0.7,edge=12.5) {
eoffset = -1 - edge;
xlength = 2 + 2 * edge + 25... | glb/cad_3b211fbda069.glb |
Create a Toothpick Dispenser consisting of a main cabinet, a dispensing cylinder, and a lid.
Construct the cabinet as a hollow cube with outer dimensions of 70mm x 70mm x 90mm and wall thicknesses of 1mm. Cut a rectangular opening 68mm wide and 5mm high into the front face, positioned 10mm from the bottom. Inside the... | id=68;
hgt=90;
union(){
translate([0,id,id+37]){
difference(){
rotate([0,90,0]){cylinder(id+2,id*1.2,id*1.2);}
translate([-2,0,0]){rotate([0,90,0]){cylinder(id+10,id*1.2-2,id*1.2-2);}}
translate([-2,-5,-(id+37)]){cube([id+10,100,250]);}
translate([id+5,-id+.5,-(id+37)])rotate([0,0,180]){cube([id+10,100,250])... | glb/cad_37d5cf0e384a.glb |
Create a cable holder designed to fit a desk. Start with a main rectangular block that is 30mm deep, 30.7mm wide, and 30.7mm high. From this block, remove a central rectangular section to create a U-shaped channel that is 24.7mm wide, 30.7mm deep, and 30.7mm high, leaving walls that are 3mm thick.
On one end of the h... | TABLE_HEIGHT = 24.7;
DEPTH = 30;
CABLE = 6;
CYLINDER_HEIGHT = 12;
WALL = 3;
WALLTABLESPACE = 3;
CABLEWSPACE = CABLE+1.5;
$fs = 0.01;
ADDSPACE = max(max(WALLTABLESPACE,CABLEWSPACE),WALL)-WALL;
OUTER_RADIUS = CABLEWSPACE*1.8;
WIDTH = OUTER_RADIUS*2.3;
rotate([0,180,0])
difference() {
union() {
translate([TABLE... | glb/cad_4819b7d00c14.glb |
Create a water bottle wrench by starting with a central cylinder 82.5mm in diameter and 20mm high, centered on the origin. Add two smaller cylinders, each 20.83mm in diameter and 20mm high, positioned on the Y-axis at 31.25mm and -31.25mm respectively, and merge these three shapes into a single solid. From this solid, ... | lidd = 62.5;
lidh = 20;
wrencht = 10;
cutw = 37;
cutd = 65.5;
$fn=72;
difference() {
union() {
cylinder(d=lidd+wrencht*2,h=lidh,center=true);
hull() {
translate([0,lidd,0])
cylinder(d=lidd/3,h=lidh,center=true);
translate([0,-lidd,0])
cylinder(d=lidd/3,h=lidh,ce... | glb/cad_51d988dcf1af.glb |
Create a Water Line Reducer adapter consisting of two barbed cylindrical sections connected by a central hub. Start by building the bottom barbed section: create four stacked segments, each 3mm high, where each segment is a cylinder that tapers from an outer diameter of 17.3mm down to 16.3mm over its height. This secti... | inputType = 2;
outputType = 1;
fudge_adjustment = 0;
ods = [ 10, 5.75, 17.3 ];
wallthicks = [ 2, 1, 2 ];
input_od = ods[inputType] + fudge_adjustment;
input_wallthick = wallthicks[inputType];
output_od = ods[outputType] + fudge_adjustment;
output_wallthick = wallthicks[outputType];
input_height = 12;
output_height... | glb/cad_159b3a4c51e6.glb |
Create a headphone 3.5mm jack fixation by starting with a central cylinder 11mm in diameter and 20mm in height, centered on the origin. Remove a smaller concentric cylinder from the center that is 8.75mm in diameter and 10mm in height, and remove a second concentric cylinder that is 7mm in diameter and 10mm in height, ... | do = 11;
d1 = 8.75;
d2 = 7.0;
l = 10;
$fn = 50;
intersection(){
difference(){
cylinder(d = do, h = l * 2, center=true);
cylinder(d = d1, h = l);
mirror([0,0,1])
cylinder(d = d2, h = l);
}
translate([0,do/3,0])
cube(size=[do,do,l*2], center=true);
} | glb/cad_6451223b901f.glb |
Create a customizable colour chip by constructing a rectangular base with rounded corners, measuring 20mm wide and 45mm long. The main body is composed of three stepped sections of increasing height: a base section 1mm high, a middle section 2mm high, and a top section 3mm high. Each section should have a corner radius... | lowheight=1;
midheight=2;
highheight=3;
windowheight=.1;
narrowwall=.8;
thickwall=2.6;
$fn=50;
difference(){
union(){
minkowski(){
cube([20,45,lowheight-.5]);
cylinder(r=5,h=.5);
}
minkowski(){
cube([20,30,midheight-.5]);
cylinder(r=5,h=.5);
... | glb/cad_92d830f075b3.glb |
Create a filament guide consisting of a rectangular base and a curved support arm. Start with a rectangular block measuring 46mm in length, 20mm in width, and 11mm in height. Remove a central rectangular cavity from this block, leaving walls 2mm thick on the long sides and 1mm thick on the short ends, with the cavity d... | difference() {
union() {
cube([46,20,11]);
translate([23,-36,13.5])
rotate_extrude($fn=100)
translate([50, 0, 0])
circle(r=5.5);
}
translate([2,-0.01,-0.01])
cube([42,18.01,9.01]);
translate([23,-36,-0.01])
cylinder(r=45.2,h=11.02,$fn=200);
translate([46,-90,7])
cube([40,120,20])... | glb/cad_42f842acd2ef.glb |
Create a round pencil pot with an outer diameter of 80mm and a total height of 100mm. The main body is a hollow cylinder with a wall thickness of 1.6mm and a flat base that is 2mm thick. To form the interior, remove a cylinder from the center with a diameter of 76.8mm, starting from the top of the base and extending up... | fn = 128;
d = 80;
h = 100;
t = 1.6;
tbottom = 2;
xf = 2;
n = 0;
union(){
difference(){
union(){
translate([0,0,0]) cylinder(h = h-xf*t/2, d = d, center = false, $fn = fn);
if (n>0){
for (a =[0:1:n]){
translate([0,0,h-xf*t/2 - (h-xf*t)/n*a]) rotate_e... | glb/cad_c99dd565adf4.glb |
Create a nameplate for a 2020 aluminum extrusion. The main body is a rectangular plate measuring 99mm in length, 20mm in width, and 2mm in thickness. This plate features a central recessed cutout measuring 93mm by 14mm and 1.01mm deep, leaving a border around the edges. At each of the four corners of the main plate, ad... | rotate([180,0,0]) {
translate([-85,1.7,0])
cube([10,1.5,4.8]);
translate([-85,1.7,0])
cube([10,2.5,1]);
translate([-85,3.2,1])
rotate([0,90,0])
cylinder(h=10,r=1,$fn=10);
translate([-85,-3.2,0])
cube([10,1.5,4.8]);
translate([-85,-4.2,0])
cube([10,2.5,1]);
translate([-85,-3.2,1])
rotate(... | glb/cad_dd36a67749d2.glb |
Create a nameplate for a 2020 aluminum extrusion consisting of a base plate and raised text. Start by creating a rectangular base 99mm long, 20mm wide, and 1mm thick. At each end of the plate, remove a square section measuring 3mm by 3mm from the center of the 20mm edge, creating a notch. To further refine the corners,... | union() {
difference() {
translate([-90,-10,0])
cube([99,20,1]);
translate([-90.01,7,-0.01])
cube([3.01,3.01,2.02]);
translate([-90.01,-10.01,-0.01])
cube([3.01,3.01,2.02]);
translate([6,7,-0.01])
cube([3.01,3.01,2.02]);
translate([6,-10.01,-0.01])
cube([3.01,3.01,2.02]);
... | glb/cad_3ec8d9afbb52.glb |
Create a Speaker Cover and Adapter by constructing a main body that is a hull encompassing a cylinder with a diameter of 82mm and a height of 10.5mm, and a smaller cylinder with a diameter of 33mm and a height of 3mm positioned at Z=26mm. Within this body, integrate four cylindrical mounting pillars with a diameter of ... | $fn = 64;
arduinoScrewDiameter = 2.8;
speakerScrewDiameter = 2.2;
arduinoScrewHeight = 8;
speakerScrewHeight = 9.5;
speakerSideLength = 59;
wireD = 3;
module musicMakerScrewHoles(size,height)
{
translate([13.97,2.54,0])
cylinder(d=size,h=height);
translate([66.04,35.56,0])
cylinder(d=size,h=h... | glb/cad_050bba8b689d.glb |
Create a series of chamfered geometric primitives.
First, create four cubes of 10mm x 10mm x 10mm. For the first, apply 45° chamfers to all edges. For the second, apply 45° chamfers with a chamfer height of 2mm. For the third, apply 45° chamfers only to the edges along the X-axis. For the fourth, apply 45° chamfers t... | include <Chamfers-for-OpenSCAD/Chamfer.scad>;
translate([-27.5, -5, 12]) chamferCube([10, 10, 10]);
translate([-12.5, -5, 12]) chamferCube([10, 10, 10], ch=2);
translate([2.5, -5, 12]) chamferCube([10, 10, 10], chamfers=[[1, 0, 0, 0]]);
translate([17.5, -5, 12]) chamferCube([10, 10, 10], [[0, 0, 0, 0], [1, 1, 1, 1]... | glb/cad_a5a81cd4ac7e.glb |
Create a filament spool rest for a 2020 aluminum extrusion. The base is a thin circular disk with a radius of 32mm and a height of 3mm. Centered on this disk, create a vertical rectangular block that is 110mm tall, 7mm wide, and 7mm deep.
Within this vertical block, carve out a central channel to accommodate the extr... | translate([10.1,-8.5,0])
cube([1.5,8.5,110]);
translate([6.3,-8.5,0])
cube([5.3,1.5,110]);
translate([7.3,-7,0])
cylinder(h=110,r=1,$fn=20);
translate([10.1,0,55])
rotate([0,0,45])
cube([1,1,110],center=true);
translate([-11.6,-8.5,0])
cube([1.5,8.5,110]);
translate([-11.6,-8.5,0])
cube([5.3,1.5,110]);
translate(... | glb/cad_d2d14575ced3.glb |
Create a linear rail compression clamp designed for a 12.2mm rod. The main body consists of a rectangular base plate 42mm wide, 14mm deep, and 5.2mm thick, with a vertical upright section 20mm wide, 14mm deep, and 32mm high.
Center a horizontal hole with a diameter of 12.2mm through the upright and base to accommodat... | include <MCAD/units.scad>
include <MCAD/polyholes.scad>
FT=0.1;
clamp_rod_dia = 12.2*mm;
clamp_rod_height = 17+clamp_rod_dia/2;
clamp_base_width = 42*mm;
clamp_base_depth = 14*mm;
clamp_base_thick = 5.2*mm;
clamp_upright_height = 32*mm;
clamp_upright_width = 20*mm;
clamp_base_hole_spacing = 31.7*mm;
cla... | glb/cad_3119fff8efe8.glb |
Create a power inlet box by starting with a rectangular base plate measuring 43.5mm by 43.5mm with a thickness of 3mm. Remove a rectangular section from the center of one side, measuring 10.01mm wide by 20.01mm deep and 3.02mm high, to create a cutout.
Add four mounting holes at the corners of the plate. Each hole is... | difference() {
cube([43.5,43.5,3]);
translate([-0.01,23.5,-0.01])
cube([10.01,20.01,3.02]);
translate([3.75,3.75,-0.01])
cylinder(h=3.02,r=1.8,$fn=20);
translate([3.75,3.75,1.5])
cylinder(h=1.52,r1=1.8,r2=3,$fn=20);
translate([13.75,39.75,-0.01])
cylinder(h=3.02,r=1.8,$fn=20);
translate([13.75,... | glb/cad_24d01b940b9f.glb |
Create a power inlet box for a 3D printer power supply. Start with a main rectangular block measuring 50mm x 50mm x 40mm. Hollow out the center to create a shell, leaving walls of approximately 3mm.
On the front face, create a large rectangular opening to accommodate a switched power inlet socket. In the rear of the ... | difference() {
union() {
difference() {
union() {
difference() {
cube([50,50,40]);
translate([0,30,20])
cube([6,6,40.02],center=true);
translate([10,50,20])
cube([6,6,40.02],center=true);
translate([50,50,20])
cube([6,6,40.02],... | glb/cad_eb50789b5d70.glb |
Create a power inlet box by starting with a rectangular base measuring 24mm in length, 16mm in width, and 8mm in height. At the center of the top surface, remove a semi-circular cutout with a radius of 8mm and a depth of 8mm. Within this central void, create three small horizontal cylindrical holes with a radius of 1mm... | difference() {
union() {
difference() {
cube([24,16,8]);
translate([-0.01,8,-0.01])
cube([8.01,8.01,8.02]);
translate([16,8,-0.01])
cube([8.01,8.01,8.02]);
}
translate([8,8,0])
cylinder(r=8,h=8,$fn=20);
translate([16,8,0])
cylinder(r=8,h=8,$fn=20);
}
tran... | glb/cad_19e18ce507cd.glb |
Create a cable clip by starting with a cylinder 8mm high with a radius of 5.25mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 4.25mm and the same 8mm height. To create the opening for the cable, remove a rectangular section from the side of the cylinder measuring 10... | difference() {
cylinder(h=8,r=5.25,$fn=40);
translate([0,0,-0.01])
cylinder(h=8.02,r=4.25,$fn=40);
translate([0,-4.25,-0.01])
cube([10,4.25,8.02]);
}
translate([4.25,-3.25,0])
cube([1,3.5,8]);
difference() {
union() {
translate([0,-5.25,0])
cube([10,1,8]);
translate([10,-5.25,4])
rotate... | glb/cad_c8dfff2f2f16.glb |
Create a printhead wiring harness mount consisting of a rectangular base and a vertical cylindrical tower. Start with a rectangular block measuring 30mm in width, 7.2mm in depth, and 20mm in height. Centered on this base, add a vertical cylinder with a radius of 5mm and a height of 40mm.
Remove several holes and slots... | difference() {
union() {
cylinder(r=5,h=40,$fn=40);
translate([-15,-5,0])
cube([30,7.2,20]);
}
translate([0,0,-0.01])
cylinder(r=2.6,h=40.02,$fn=40);
translate([-12.5,2.2,-0.01])
cube([25,5,20.01]);
translate([0,7.5,-0.01])
cylinder(r=4,h=40.02,$fn=40);
translate([-12.51,5.7,16.5])
... | glb/cad_40f0276fe97a.glb |
Create a fuel cell adapter consisting of two main cylindrical sections. First, construct a hollow tube with an outer radius of 17.5mm and an inner radius of 16.5mm, extending to a total height of 56mm. At the bottom of this tube, integrate a conical transition piece that flares from a radius of 16mm to 17.5mm over a he... | union() {
difference() {
translate([0,0,0])
cylinder(r=17.5, h=56,$fn=100,center=true);
translate([0,0,1])
cylinder(r=16.5, h=56,$fn=100,center=true);
}
translate([0,0,-29.5])
cylinder(r1=16,r2=17.5,h=3,$fn=100,center=true);
translate([0,0,-72])
cy... | glb/cad_72615e3d2a8a.glb |
Create a parametric angle bracket with a total length of 80mm and a wall thickness of 4mm. The bracket consists of two arms meeting at an interior angle of 108 degrees. The first arm is 40mm long and features two plain holes with a diameter of 6.4mm, spaced apart and elongated by 4mm. The second arm is also 40mm long a... | bracket_angle = 108;
bracket_length = 80;
wall_thickness = 4;
arm1_length = 40;
arm1_holes = 2;
arm1_hole_style = "plain";
arm1_hole_diameter = 6.4;
arm1_hole_spacing = 0.5;
arm1_hole_position = 0.7;
arm1_hole_elongation = 4.0;
arm2_length = 40;
arm2_holes = 3;
arm2_hole_style = "countersunk";
arm2_hole_diameter = 4.... | glb/cad_0744954a61ba.glb |
Create a controller cover mounting kit consisting of six separate cylindrical components. Three of these components are tall hollow spacers: create three 20-sided prisms with an outer radius of 2.6mm and a height of 12.35mm, each featuring a concentric inner hole with a radius of 1.6mm. For two of these tall spacers, r... | translate([0,0,0]) {
difference() {
cylinder(r=2.6,h=12.35,$fn=20);
translate([0,0,-0.01])
cylinder(r=1.6,h=12.37,$fn=20);
translate([-5,2.2,-0.01])
cube([10,10,15]);
}
translate([20,0,0])
difference() {
cylinder(r=2.6,h=3.05,$fn=20);
translate([0,0,-0.01])
cylinder(r=1.6,h=3... | glb/cad_b26ffa4a76a6.glb |
Create a controller cover mounting component. Start by forming a base cylinder with a radius of 10mm and a height of 4mm. Centered on top of this base, add a second cylinder with a radius of 5mm and a height of 6mm.
Carve a central vertical hole through the entire assembly with a radius of 1.8mm. Within the upper cyl... | difference() {
union() {
cylinder(h=4,r=10,$fn=100);
cylinder(h=6,r=5,$fn=100);
}
translate([0,0,4.7])
cylinder(h=6,r=3.5,$fn=100);
translate([0,0,3.71])
cylinder(h=1,r1=1.8,r2=3.5,$fn=100);
translate([0,0,-0.1])
cylinder(h=6,r=1.8,$fn=100);
translate([0,0,-0.01])
cylinder(h=3.7,r=3.1,$f... | glb/cad_a7fe98ceb06d.glb |
Create a 2004 LCD mount for a RepRap 2020 Prusa i3. Start by creating a base plate with a height of 12mm, defined by a polygon with vertices at [0,27], [0,48], [10,58], [14,54], [44,84], [40,88], [46,94], [52.5,87.55], [52.5,81], [32.4,60], [32.4,27], and [26.4,27], [6,47], and [6,27].
Next, remove a cylindrical hole... | difference() {
linear_extrude(height=12)
polygon([[0,27],[0,48],[10,58],[14,54],[44,84],[40,88],[46,94],[52.5,87.55],[52.5,81],[32.4,60],[32.4,27],[26.4,27],[26.4,47],[6,47],[6,27]]);
translate([26,37,6])
rotate([0,90,0])
cylinder(r=2.2,h=60,center=true,$fn=40);
translate([9.5,52.5,6])
rotate([45,90,0])
cylin... | glb/cad_40e3a0744ea2.glb |
Create a cable clip for a 2020 aluminum extrusion. Start with a rectangular base block measuring 11mm in width, 22.6mm in length, and 5mm in height. Carve a central longitudinal channel through the top of the block that is 1.5mm wide, 22.6mm long, and 5mm deep, leaving walls on either side. At one end of the block, mod... | translate([0,-8.3,0])
cube([1.5,22.6,5]);
translate([-3.3,12.8,0])
cube([4.8,2.5,5]);
translate([-3.8,-8.3,0])
cube([5.3,1.5,5]);
translate([-2.8,-6.8,0])
cylinder(h=5,r=1,$fn=10);
translate([-8.3,0,0])
linear_extrude(5)
polygon([[0,0],[0,2],[5,15.3],[6.5,15.3],[6.5,0]]);
translate([-8.3,-3.8,0])
cube([1.5,3.8,5])... | glb/cad_073efc01fd30.glb |
Create an ant poison well and lid consisting of two separate parts. For the well, create a truncated cone with a base radius of 31mm and a height of 27mm. Hollow out the center by removing a smaller cone that starts at a point 1mm from the base and extends upward with a radius of 10.85mm at its top, creating a basin. F... | apex_ht=31;
base_rad=31;
basin_ht=apex_ht*0.35;
cone_off=4;
entrances=6;
lid_ht=apex_ht*0.35;
module ant_entrance() {
scale([1.5,1.5,0.75]) rotate([0,-105,0]) cylinder(h=base_rad,r2=base_rad*0.37,r1=4,$fn=3);
}
module ant_trap() difference () {
cylinder(h=apex_ht-cone_off,r1=base_rad,r2=cone_off);
translate([0,0... | glb/cad_ba886ceb7771.glb |
Create two open-topped rectangular boxes, one slightly larger than the other, designed to mutually contain one another. Use a wall thickness of 0.6mm.
For the inner box, create a rectangular shell with an outer width of 71.2mm, an outer length of 72.8mm, and a height of 70mm. The interior cavity should be 70mm high, w... | inner_h = 70;
thickness = 0.6;
spacing = 0.6;
function outer_h(inner_h, thickness) = inner_h + thickness;
function inner_w(inner_h, thickness) = outer_h(inner_h, thickness) + 2 * thickness;
function outer_w(inner_h, thickness) = inner_w(inner_h, thickness) + 2 * thickness;
function inner_l(inner_h, thickness) = out... | glb/cad_a129503b5dd6.glb |
Create a LightBulb Shade consisting of a conical shell and a base holder. First, construct the shade as a hollow tapered cylinder with a height of 110mm. The inner wall should start with a radius of 37.1mm at the bottom and expand to 52.1mm at the top, maintaining a constant wall thickness of 0.4mm throughout the heigh... | $fn = 90;
shadeDiameter = 75.0;
shadeRadius = shadeDiameter / 2;
shadeHeight = 110.0;
shadeThickness = 0.4;
holderDiameter = 33;
holderRadius = holderDiameter / 2;
holderHeight = 3;
main();
module main()
{
shade();
holder();
}
module shade()
{
difference()
{
cylinder(r1 = shadeR... | glb/cad_6d06ddae58e4.glb |
Create a LiPo battery support consisting of two mirrored components joined by a central pivot. For the first component, create a vertical cylinder with a radius of 2mm and a height of 10mm. Above this, place a larger cylinder with a radius of 3mm and a height of 6mm, starting at a height of 2mm. Attach a rectangular bl... | Larg_Sangle = 40;
Larg_Base = 35;
Tol = 1;
Verou(40);
module Sangle(Larg_Sangle)
{
difference()
{
cube([Larg_Sangle+6,Larg_Base+6+Tol,10]);
translate([0,3,3])cube([Larg_Sangle+6,Larg_Base+Tol,7]);
translate([3,0,2.5])cube([Larg_Sangle,Larg_Base+8,3]);
}
}
module Accroche(Larg_Sangle,Larg_Base)
{
differ... | glb/cad_c2951207f602.glb |
Create a LiPo battery support consisting of a rectangular base with two parallel rectangular slots. Start by creating a solid rectangular block measuring 46mm in length, 17.5mm in width, and 2mm in height. From this base, remove two identical rectangular channels to create the slots. Each channel must be 40mm long, 2mm... | Larg_Sangle = 40;
Larg_Base = 35;
Tol = 1;
Accroche(40,60);
module Accroche(Larg_Sangle,Larg_Base)
{
difference()
{
Larg_Base = Larg_Base/2;
cube([Larg_Sangle+6, Larg_Base,2]);
translate([3,Larg_Base/3-1,0])cube([Larg_Sangle,2,2]);
translate([3,2*Larg_Base/3-1,0])cube([Larg_Sangle,2,2]);
}
} | glb/cad_28de0d3a1876.glb |
Create a Keyport xacto blade holder. Start with a rectangular base header measuring 11.4mm in width and 3mm in height. The length of this header extends to accommodate a blade slot and a notch.
On the top surface of the header, center a rectangular slot for a blade that is 6.4mm wide and 0.5mm deep, with a length of ... | fudge = 0 + 0.1;
sb_width = 11.4;
sb_crown_height= 8.25;
sb_height= 3;
sb_notch_width=3;
sb_notch_depth=4.30;
sb_distance_to_notch=4.85;
x_pos=sb_height/2;
x_length=15;
x_width= 6.4;
x_height=0.5;
echo("xpos",x_pos);
wall=(sb_width -x_width)/2;
sbheader_length = sb_distance_to_notch+sb_notch_width+wall+x_length;
ec... | glb/cad_d7a1346b8920.glb |
Create a water bottle holder for a glass cage. Start by constructing a main rectangular strip that is 140mm long, 2.5mm wide, and 12mm thick. Along the length of this strip, carve two identical grooves. Each groove is created by removing a central section 7.5mm wide and 12mm deep, with the void shaped as a rounded slot... | use <body_loop.scad>
module groove(w=2.5,d=12) {
difference() {
cube([w*3,w*3,d],center=true);
translate([-26,0.8,0])
rotate([90,0,0])
scale([1,2,1])
body_loop();
}
}
module longpiece(len=10, w=2.5, d=12) {
cube([w,len,d],center=true);
translate([-(w*3)/2,(len-w*3)/2,0])
groove(w);
translate(... | glb/cad_0ffd73840263.glb |
Create a water bottle holder for a pet cage by constructing a flat, loop-like geometric shape with a thickness of 1.6mm. Start by creating a circular ring with an inner radius of 12mm and an outer radius of 15mm. Extend one side of this ring into a rectangular tab that is 12mm wide, creating a hull-like transition from... | module neck_loop(neck_r=12,thickness=1.75) {
union() {
difference() {
linear_extrude(height=thickness,center=true) {
hull() {
circle(neck_r+3);
translate([(neck_r*2+21)/2,0,0])
square(12,center=true);
}
}
cylinder(r=neck_r,h=3,center=true);
}
translate([neck_r+11.5+6-thickness-0.... | glb/cad_2b56ca695b2d.glb |
Create a water bottle holder consisting of a thin, flat ring with a small protruding tab. Start by creating a circular ring with an outer radius of 24.5mm and an inner radius of 21.5mm, giving the ring a total thickness of 2mm. To form the locking mechanism, integrate a rectangular section into the ring's outer edge th... | module body_loop(bottle_r = 21.5, thickness=2) {
union() {
difference() {
linear_extrude(height=2,center=true) {
hull() {
circle(bottle_r+3,$fn=64);
translate([(bottle_r*2)/2,0,0])
square(12,center=true);
}
}
cylinder(r=bottle_r,h=3,center=true,$fn=64);
}
translate([bottle_r+6-th... | glb/cad_5c57e4605dcc.glb |
Create a modular frame system called Cubotic. Start by constructing a hollow cube with an outer dimension of 75mm and an inner cutout of 56mm. The walls should be reinforced with a series of support ribs spaced 6mm apart.
Apply a 1mm chamfer to the outer edges and a 3mm chamfer to all other edges. To refine the interi... | E1 = 75;
E2 = 56;
C1 = 1;
C2 = 3;
F1 = ((2*C2)-0.5);
F2 = (C2-0.5);
activate_cube = 1;
activate_support = 1;
activate_cover = 1;
activate_inlet_nema17 = 0;
activate_arduino_pro_m... | glb/cad_02d595cb1023.glb |
Create a Beehive Bracelet component consisting of a honeycomb grid of hexagonal cells. Each individual hexagonal cell has an outer diameter of 7mm and a wall thickness of 3mm, resulting in an inner hollow diameter of 4mm. The overall height of the hexagonal grid is 2.5mm.
At the center of the model, create a solid hex... | size = 7;
wall=3;
hexaHeight=2.5;
hexaNum=2;
holeX=3;
holeY=3;
holeZ=4.5;
translate([0,0,hexaHeight/2]) {
beeHive(size, wall, hexaNum, hexaHeight, holeX, holeY, holeZ);
}
module beeHive(size, wall, hexaNum, hexaHeight, holeX, holeY, holeZ) {
sizeInt=size-wall;
module hollowHexagon(size, hexaHeight) {
diffe... | glb/cad_50c959275fbe.glb |
Create a Beehive Bracelet by constructing a thick, oval-shaped cuff. The outer boundary should be an oval with a width of 64mm and a height of 49.5mm, and the entire cuff should have a uniform thickness of 20mm. To create the hollow center, remove an inner oval that is 55mm wide and 45mm high. The walls of the cuff sho... | size=55;
cuffWidth=20;
wall=4.5;
holeWidth=3;
holeHeight=3;
cuffBracelet(size, cuffWidth, wall, holeWidth, holeHeight);
module cuffBracelet(size, cuffWidth, wall, holeWidth, holeHeight) {
cuffX=size+wall*2;
cuffY=size*0.9;
union() {
difference(){
oval(cuffX, cuffY, cuffWidth);
oval(size+wall, cuffY-wa... | glb/cad_d01884acfc16.glb |
Create a utility knife handle consisting of two mirrored halves. For each half, start with a rectangular block 120mm long, 25mm high, and 6mm thick. On the inner face of each block, carve out a blade cavity. This cavity begins as a trapezoidal void with a base width of 60.77mm, narrowing to a top width of 32.10mm over ... | main();
module trapezoid
(
baseWidth,
topWidth,
height,
thickness
)
{
linear_extrude(height = thickness)
polygon(points= [
[0, 0],
[baseWidth, 0],
[baseWidth - ((baseWidth - topWidth) / 2), height],
... | glb/cad_5a2e3f5287d8.glb |
Create a RaspberryPi Kubernetes stack board. Start by creating a rectangular base plate measuring 85mm by 56mm with a thickness of 2mm and corner radii of 3mm.
At the four corners of the plate, create circular holes with a diameter of 2.75mm to accommodate spacers. In the center of the plate, create a ventilation pat... | $fn=64;
x=85;
y=56;
thickness=2;
offsetheight=3;
corner_radius = 3;
poles = 0;
module indent(x,y,depth=thickness/2) {
translate([x,y,-0.01])
cylinder(thickness+1,d=2.75);
}
module vent(x,y) {
translate([x,y,-0.01]) {
rotate([0,0,45]){
difference() {
union() {
difference() {
cylinder(thickne... | glb/cad_292060cb2663.glb |
Create a Linkit Smart 7688 bottom case by starting with a rounded cube measuring 70mm in length, 35mm in width, and 17mm in height, with corner radii of 2.5mm. Hollow out the interior to create a wall thickness of 1.75mm.
On the side wall, create two USB port openings using trapezoidal cutouts; each should have a base... | use <teardrops.scad>
use <roundCornersCube.scad>
use <polyhole.scad>
module standoff( post_od , post_id , post_h , hole_depth) {
difference() {
cylinder( d = post_od , h = post_h , $fs=0.01);
translate([ 0 , 0 , post_h - hole_depth ])
polyhole( hole_depth + 1 , post_id );
}
}
module cylindrical_l... | glb/cad_3e8d60c01bda.glb |
Create a 2 Euro coin model by starting with a solid cylinder that has a diameter of 25.8mm and a height of 2.2mm. Centered on the top face of this cylinder, carve out the text "2€" using a bold sans-serif font. The text should be recessed into the top half of the coin's thickness, creating a clean cutout that stops bef... | coinDiameter=25.8;
coinHeight=2.2;
textStr = "2€";
$fn=64;
difference() {
linear_extrude(height=coinHeight)
circle(r=coinDiameter/2);
translate([0,0,coinHeight/2+.1])
linear_extrude(height=coinHeight/2)
text(textStr, font = "Liberation Sans:style=Bold", valign="center", halign="center");
} | glb/cad_52dc993ce79c.glb |
Create a badminton racket by assembling a handle, a shaft, and a head. Start with the handle as a cylinder 23mm long with a radius of 2mm. Above the handle, add a tapered transition piece 5mm long that narrows from a 2mm radius to a 0.5mm radius. Extend the shaft upwards with a thin cylinder 60mm long and 1mm in radius... | $fs=.01;
translate([0,0,-5])
cylinder(h=23,r1=2,r2=2, center=true);
translate([0,0,9])
cylinder(h=5,r1=2,r2=.5, center=true);
translate([0,0,40])
cylinder(h=60,r1=1,r2=1, center=true);
translate([0,1,58])
rotate([90,0,0])
scale([1.5,1.5,1])
difference() {
cylinder(h = 2, r = 10);
translate([0, 0, -1])
c... | glb/cad_990e393bf7c4.glb |
Create a basketball hoop model starting with a rectangular base measuring 20mm by 15mm with a thickness of 2mm. Position a vertical cylinder with a radius of 2mm and a height of 36mm so that it stands upright, centered along the short edge of the base. At the top of this cylinder, attach a rectangular backboard that is... | $fs=.05;
translate([0,-7.5,0])
cube([20,15,2]);
translate([-1,0,0])
cylinder(h=36,r1=2,r2=2);
translate([-4,-10,23.5])
cube([2,20,13]);
scale(0.2)
translate([-41,0,23])
rotate_extrude()
translate([20,100,0]) circle(r=5); | glb/cad_81af4dc8a6f1.glb |
Create a New York Giants Football Goalpost model. Start with a rectangular base for the end zone, measuring 137mm in length, 20mm in width, and 3mm in height, centered at the origin and shifted 55mm along the negative y-axis.
Construct the goalpost assembly using four cylinders, each with a radius of 2mm and a height... | $fs=.05;
translate([0,-55,0])
rotate([0,0,90])
cube([137,20,3]);
translate([0.1,12,0])
cylinder(h=20,r1=2,r2=2);
translate([0.1,23,20])
rotate([90,0,0])
cylinder(h=22.9,r1=2,r2=2);
translate([0.1,21,20])
cylinder(h=20,r1=2,r2=2);
translate([0.1,2,20])
cylinder(h=20,r1=2,r2=2);
translate([-10,54,0])
rotate([0,0,0]... | glb/cad_bf1e164093ad.glb |
Create a parametric tin lid with a total diameter of 69mm and a height of 6mm. Start by constructing a main hollow cylinder with an outer diameter of 72mm and an inner diameter of 69mm, creating a wall thickness of 1.5mm. The bottom of this structure should be closed by a solid disc with a radius of 34.5mm and a thickn... | lidDiameter = 69;
lidHeight = 6;
function done () = 1;
lip = 1.5;
$fn=60;
difference() {
union() {
rotate_extrude(convexity = 5,slices=90)
translate([lidDiameter/2, 0, 0])
circle(r=lip);
translate([0,0,-lip/2])
cylinder(h=lip, r1=lidDiameter/2, r2=lidDiameter/2... | glb/cad_52371c9a74f2.glb |
Create a pumpkin carving saw consisting of a blade and a handle. Start by constructing the blade as a rectangular slab 60mm long, 10mm wide, and 2mm thick. Along one 60mm edge of the blade, add a series of cutting teeth consisting of cylinders with a 2mm radius and a 2mm height, spaced every 6mm along the length. Termi... | $fn = 32;
Delta = 0.01;
Big = 100;
FlatBladeDepth = 10;
BladeLength = 60;
BladeThickness = 2;
BladePitch = 6;
ToothRadius = 2;
HandleLength = 80;
HandleRadius = 8;
HandleGripDepth = 2;
HandleGripPitch = 8;
rotate([0, 0, 45])
union()
{
translate([-Delta, -FlatBladeDepth / 2, 0])
union()
{
cube([BladeLength, Fl... | glb/cad_0d24bef7cb1a.glb |
Create a CNC tool holder for a milling hand tool with a diameter of 46.5mm. Start with a base rectangular block measuring 67mm in length, 44mm in width, and 5mm in height, featuring rounded corners with a 4mm radius.
On the top surface of this base, center a larger rounded rectangular housing measuring 67mm by 44mm w... | use <MCAD/boxes.scad>
holder();
module holder(){
difference(){
union(){
$fn=64;
translate([33.5,22,2.5])
roundedBox([67,44,5], 4, true);
translate ([0,-100,5])
Tool_socket_base();
}
translate([10.625,10,-0.1])
holder_screw_hole();
translate([... | glb/cad_2166130cf80f.glb |
Create a CNC tool holder by starting with a rounded box measuring 67mm in length, 44mm in width, and 28.5mm in height, with corner radii of 4mm. Remove a central cylinder with a diameter of 47mm and a height of 35.1mm, oriented horizontally and centered along the length. Additionally, remove a conical section from the ... | use <MCAD/boxes.scad>
difference(){
translate([0,0,0])
main();
translate([-1.5,-51.5,0])
outer_diff();
translate([-1,-1,-1])
cube([69,10,15]);
screw_holes();
}
module main(){
$fn=64;
difference(){
translate ([33.5,22,14.25])
roundedBox([67,44,28.5], 4, true);
translate([33.5,9,28.5])
... | glb/cad_4e3aade22972.glb |
Create a CNC pencil holder consisting of a main rectangular base and a raised central mounting block. Start with a base block measuring 64mm in length, 44mm in width, and 5mm in height. Centered along the length, add a raised rectangular section measuring 25mm by 44mm with a height of 3.8mm, positioned 19.5mm from the ... | top_tail();
difference(){
holder();
translate([32,-1,8.8])
pencil();
}
module holder(){
difference(){
union(){
translate([0,0,0])
cube([64,44,5], center=false);
translate([19.5,0,4.99])
cube([25,44,3.8], center=false);
}
translate([9.175,10,-0.5])
holder_screw_h... | glb/cad_4bea885d8751.glb |
Create a broom hook with a total footprint of approximately 71.5mm in length, 22.5mm in width, and 12mm in height. Start by constructing the base as a composite of rectangular blocks: a main body measuring 43mm by 18mm by 12mm, with an attached 25mm by 3mm by 12mm section and a 16mm by 4mm by 12mm section to form an L-... | $fn=64;
union(){
difference(){
base();
translate([10,16.5,6])
rotate([180,0,0])
screw_hole();
translate([66.5,5,-0.1])
hook();
}
}
module base(){
translate([0,18.5,0])
cube([25,3,12]);
translate([20,0,0])
cube([5,18.5,12]);
tran... | glb/cad_6c93b41b363b.glb |
Create an Intel S3420GP ATX I/O shield. Start with a rectangular base plate measuring 162.2mm in length and 47.4mm in height, with a thickness of 2mm. Surround this base with a thin outer frame that is 0.6mm thick and 1.55mm wide.
Cut four rectangular openings through the plate and frame to accommodate connectors. Pla... | layer=0.2;
frame_thick=3*layer;
1_net_2_usb_pos=[
[2.5,4],
[26,4],
];
vga_pos=[
[47.5,2],
];
serial_pos=[
[84,4],
];
1_net_2_usb_wide=18.5;
1_net_2_usb_hight=30.5;
vga_wide=31;
vga_hight=13;
serial_wide=31;
serial_hight=13;
l=159.2;
h=... | glb/cad_bdb2374993d9.glb |
Create a build plate spacer consisting of three stacked concentric cylinders with a continuous central hole. Start with a base cylinder 11mm in diameter and 2mm high. Centered on top of this base, add a second cylinder 9mm in diameter and 8mm high. Atop the second cylinder, add a third cylinder 7mm in diameter and 7mm ... | OD = 9;
ID = 7;
H = 17;
HOLE_D = 3;
difference() {
union() {
cylinder(r=(4+OD)/2, h=2, $fs=.1, $fa=1);
cylinder(r=OD/2, h=8, $fs=.1, $fa=1);
cylinder(r=ID/2, h=14, $fs=.1, $fa=1);
}
translate([0,0,-1])
cylinder(r=HOLE_D/2, h=H+2, $fs=.1, $fa=1);
} | glb/cad_a7cbad87f748.glb |
Create a battery cell spacer by extruding a 2D profile to a height of 20mm. Start with a square base that is 18.05mm wide and 18.05mm deep. From this square, remove a circular hole with a radius of 9.025mm centered at the origin. To create the outer structural ribs, remove four smaller squares from the corners of the m... | B18650 = 9.025;
B26650 = 13.025;
cut = 6;
radius = B18650;
spacer_height = 20;
sides = 200;
linear_extrude ( height = spacer_height, slices=100)
holder();
module holder(){
difference(){
square (radius*2, true);
translate([0-radius,0-radius,0])
circle ( r=radius, $fn=sides );
translate([0+radius,0-radius,0])
cir... | glb/cad_57696307468d.glb |
Create a Solidoodle press belt tensioner consisting of two distinct parts: an inner component and an outer sleeve.
For the inner component, start with a base plate 4mm wide, 13mm long, and 1.2mm thick. Centered atop this plate, add a block 4mm wide, 3mm deep, and 6.5mm high. Combine these with a central body shaped a... | basethickness=1.2;
nutwidth=6.5;
nutdepth=2;
holeradius=1.5;
slidedepth=4;
totallenth=13;
trapezoid1=8;
trapezoid2=12;
module trapezoid(baseW, topW, H, L){
linear_extrude(height = L){
polygon(
points = [
[-baseW/2,0],
[baseW/2,0],
[topW/2,H],
... | glb/cad_a55646fa894b.glb |
Create a parametric LED strip light bracket with a width of 8mm and a wall thickness of 3mm. The main body is a flat profile extruded to 8mm, forming a U-shaped channel to hold a rectangular LED strip. The internal opening of this channel must be 13.6mm wide and 7mm high.
The bracket extends outward from the center; ... | internal_length = 13.6;
internal_height = 7;
bracket_width = 8;
wall_thickness = 3;
bracket_length = 36;
hole_diameter = 2;
scale = 1/0.995;
function dim(x) = scale * x;
facet_epsilon = 0.01;
function facets(r) = 180 / acos(1 - (facet_epsilon / r));
epsilon = 0.05;
internal_l = dim(internal_length);
internal_h = d... | glb/cad_53a40a64915a.glb |
Create a Pebble Classic Thin Strap by constructing a flat, elliptical ring with a width of 21.6mm and a thickness of 1.15mm. The ring should have a major radius of 32mm and a minor radius of 24mm.
Remove a rectangular section from the top of the ring to create an opening for the watch face; this cutout should measure... | r_major = 32;
r_minor = 24;
s_width = 21.6;
thickness = 1.15;
min_width = 8;
r_curve = 75;
$fn=100;
pin_r = 1.2;
c_width = s_width+thickness;
pebble = [42.5,15,s_width+thickness];
pin_offset = 1;
module pin()
{
difference()
{
cylinder(r=pin_r+thickness,h=s_width,center=true);
cylinder(... | glb/cad_4129245df359.glb |
Create a Pebble Classic Thin Strap by constructing a flat, curved band with a width of 21.6mm and a thickness of 1.15mm. The band follows an elliptical path with a major radius of 32mm and a minor radius of 24mm. Remove a rectangular section from the inner top edge of the ellipse to create an opening for the watch face... | r_major = 32;
r_minor = 24;
s_width = 21.6;
thickness = 1.15;
$fn=100;
pin_r = 1.2;
c_width = s_width+thickness;
pebble = [42.5,15,s_width+thickness];
pin_offset = 1;
module pin()
{
difference()
{
cylinder(r=pin_r+thickness,h=s_width,center=true);
cylinder(r=pin_r,h=c_width,center=true);... | glb/cad_bf70ae6ac247.glb |
Create a dual syringe mount by starting with a main cylinder 20mm high with a radius of 10mm. Remove a central vertical hole with a radius of 2mm that runs through the entire height. Create two smaller vertical holes with a radius of 1.45mm and a height of 20mm, positioned symmetrically at x=6.5mm and x=-6.5mm.
Cut a... | module rrcube(x,y,z,r)
{
cube ([x,y,z], center=true);
}
module rcube(size, radius)
{
$fn=50;
x = size[0]-2*radius;
y = size[1]-2*radius;
minkowski()
{
cube(size=[x,y,size[2]], center=true);
rotate(90,[1,0,0]) cylinder(r=radius);
}
}
rotate(180,[1,0,0])
difference()
{
union()
{
cylinder(r=10,h=20,$fs = 0.01... | glb/cad_2c54000a103c.glb |
Create a dual syringe mount by starting with a cylinder that has a radius of 4.8mm and a height of 8mm. From the center of this cylinder, remove a vertical cylindrical hole with a radius of 1.5mm that extends through the entire height of the object. To create the mounting slots, remove two rectangular prisms, each meas... | difference()
{
cylinder(r=4.8,h=8,$fs = 0.01);
union()
{
cylinder(r=1.5,h=20,$fs = 0.01);
translate([0,0,8])
{
rotate(90, [0,0,1] )
cube ([2,20,8], center=true);
cube ([2,20,8], center=true);
}
}
} | glb/cad_320b4d106ae4.glb |
Create a dual syringe mount as a low-resolution cylinder with a radius of 10mm and a height of 5mm. The cylinder should have a faceted appearance rather than a smooth curve. Bore a central vertical hole through the entire height of the cylinder with a radius of 3.1mm. Additionally, create two smaller vertical holes, ea... | difference()
{
cylinder(r=10,h=5,$fs = 0.01);
union()
{
cylinder(r=3.1, h=10.1,$fs = 0.01, center=true);
translate([6.5,0,-1])
cylinder(r=2,h=40,$fs = 0.01);
translate([-6.5,0,-1])
cylinder(r=2,h=40,$fs = 0.01);
}
} | glb/cad_545b5bf052a8.glb |
Create a dummy CMOS camera model. Start with a main cylindrical base that has a radius of 12.9mm and a height of 12.9mm. From this base, remove two rectangular slabs, each measuring 25.8mm by 17.5mm by 1mm; position the first slab centered on the X-axis at Y=8.75 and Z=0, and the second centered on the X-axis at Y=-26.... | $fn=200;
camera();
module camera(){
difference(){
cylinder(1,12.9,12.9);
translate([-12.9,8.75,0]) cube([25.8,17.5,1]);
translate([-12.9,-26.3,0]) cube([25.8,17.5,1]);
}
translate([-8.13,-8.13,1]) cube([16.26,16.26,8]);
hull(){
translate([-10,0,1]) cylinder(8,2,2);
... | glb/cad_3d6198364607.glb |
Create a fan duct for a RAMPS MOSFET. Start with a square base measuring 40mm by 40mm with a thickness of 5mm. Round the four corners of this base with a radius of 1mm.
In the center of the base, create a large circular cutout with a diameter of 37mm that passes completely through the thickness. At each of the four c... | $fn=32;
fan_size = 40;
corner_r = 1;
base_thickness = 5;
height_thickness = 10;
hole_pitch = 32;
hole_mount = 30.5;
hole_diam = 3.1;
hole_r = hole_diam/2;
nut_diam = 6.9;
$print=true;
if ($print) {
base();
mounts();
}
module base() {
P1=[fan_size/2-corner_r+7,fan_size/2-corner_r,base_thickness/2];
P2=[-fan_s... | glb/cad_2edab6d7bc8b.glb |
Create a Fluid Circuit Bug consisting of two stacked cylinders. First, create a bottom cylinder with a height of 20mm, a radius of 2mm, and 3 sides to form a triangular prism. Directly on top of this, centered at a height of 20mm, place a second cylinder with a height of 2mm and a radius of 3mm, also with 3 sides to fo... | union()
{
cylinder(20, 2, 3);
translate([0,0,20]) cylinder(20, 3, 2);
} | glb/cad_7aa5fe33bd1b.glb |
Create a Fluid Circuit Bug by combining a cylinder and a cube. Start by creating a cylinder with a height of 20mm, a radius of 2mm, and a 3-sided polygonal cross-section. Position a cube with dimensions of 20mm by 20mm by 10mm so that its base sits on the top surface of the cylinder, centered at coordinates -10, -10, 2... | cylinder(20, 2, 3);
translate([-10,-10,20]) cube([20,20,10]); | glb/cad_ef9dd18ec8b9.glb |
Create a Fluid Circuit Bug consisting of three joined cylindrical components. Start by creating a main vertical cylinder with a radius of 2mm and a height of 20mm. On top of this base, center a second, wider cylinder with a radius of 7mm and a height of 5mm, positioned so its bottom face sits exactly at the 20mm mark o... | union()
{
cylinder(20, 2, 3);
translate([0,0,20]) cylinder(5, 7, 7);
translate([0,2,25]) cylinder(3, 2, 2);
} | glb/cad_c884a86067cb.glb |
Create a parametric rod clamp by starting with a central block that is 12mm wide, 7.5mm high, and 12mm deep. The outer edges of the block should be rounded using two cylinders with a radius of 3.75mm, centered at the left and right ends of the block along the x-axis, spaced 9mm apart.
Remove a horizontal cylindrical ... | $fn = 100;
module clamp(rod_d, screw_d, screw_dist, rounded) {
rod_r = rod_d / 2;
screw_r = screw_d / 2;
clamp_w = screw_dist + 2.5 * screw_d;
clamp_h = screw_d * 2.5;
clamp_d = rod_d * 1.5;
difference() {
if (rounded) {
union() {
translate([0, 0, clamp_d / 2]) {
cube(size = [clamp_w - clamp_h, c... | glb/cad_1fa90a47543d.glb |
Create a dishwasher basket clamp with a total width of 23mm and a height of 8.1mm. The main body consists of three connected rectangular sections with rounded corners of 1mm radius. Two vertical outer elements are connected by a horizontal lower element.
Carve out three cylindrical channels to accommodate wires with ... | wireDiameter = 4.1;
wireRadius = wireDiameter/2;
wireDistance = 14.7;
wallThickness = 2.0;
cornerRadius = 1.0;
clampWidth = 8.1;
lowerPadding = 0;
elementHeight = wireDiameter + 2*wallThickness + lowerPadding;
elementWidth = wireDiameter + 2*wallThickness;
topElementZ = clampWidth;
botElementZ = wireDistance;
t... | glb/cad_c6d632f9c55a.glb |
Create a customizable fan nozzle for a 40mm fan. Start with a base circular plate 41mm in diameter and 2mm thick. Centered on this plate, create a hollow interior cavity that extends upwards and outwards.
The main body is a lofted shell that transitions from the circular base to a hexagonal opening at the top. This to... | nozzle_edges = 6;
nozzle_edgeradius = 3;
nozzle_edgerotate = false;
nozzle_length = 24;
nozzle_dillation = 24;
nozzle_wall = 1;
nozzle_scale = 0.75;
nozzle_tilt = 18;
mntholes_numberof = 2;
mntholes_angles = [ 90, 270, 0, 180 ];
$fn = 64;
module nozzle_shape( r, h )
{
if ( nozzle_edges < 20 && nozzle_edgeradius > 0... | glb/cad_becdef9ed654.glb |
Create a protective case for an Orange Pi PC. Start by constructing a rectangular hollow box with outer dimensions of 61mm width, 91mm depth, and 24mm height, using a wall thickness of 1.5mm.
On the bottom interior surface, place four cylindrical plinths, each 5mm high with a 3mm radius. These plinths should be posit... | basew=58;
based=88;
baseh=24;
th=1.5;
pr=3;
phr=1.5;
ph=5;
holex=50;
holey=79;
$fn=50;
assemble();
module assemble() {
difference() {
translate([0,0,0]) base();
translate([th,-5,ph+th]) ports1();
translate([16+th,based,ph-1.5]) sdslot();
translate([35.5+th,based,ph+1]) smallusb();
rotate([0,90,90... | glb/cad_1cbf2f6780aa.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.