Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a windshield wiper fluid cap consisting of a layered cylindrical structure. Start by creating a base cylinder with a diameter of 59mm and a height of 4mm. On top of this base, centered at a height of 5mm, add a second cylindrical section that is 1mm tall. This upper section should feature a slight taper, startin... | union() {
cylinder(d = 59.0000000000, h = 4);
translate(v = [0, 0, 5]) {
union() {
cylinder(d1 = 57.0000000000, d2 = 59.0000000000, h = 1);
rotate(a = [180, 0, 0]) {
cylinder(d1 = 57.0000000000, d2 = 59.0000000000, h = 1);
}
}
}
} | glb/cad_453ec031fd0b.glb |
Create a 3D printing signal lamp consisting of a base case and a top lid.
Construct the base case as a rounded rectangular enclosure with a height of 34mm. The four corners of the base are defined by cylinders with a diameter of 8mm. Create a hollow interior by removing a central volume, leaving walls that are approx... | $fn = $preview ? 80 : 100;
Case=1;
Top=1;
if(Top) translate([0,0,40]) {
difference() {
hull() {
cylinder(d=8,h=0.8);
translate([110,0,0]) cylinder(d=8,h=0.8);
translate([110,110,0]) cylinder(d=8,h=0.8);
translate([0,110,0]) cylinder(d=8,h=0.8);
}
translate([0,0,-1]) cylinder(d=3.2,h=10);
transla... | glb/cad_129ef522f93e.glb |
Create a Boston style glasses frame with a total thickness of 5mm. Construct two symmetrical lens frames, each based on a circle with a diameter of 90mm and a rim width of 5mm. These circles should be slightly flattened on the top and bottom to create an oval appearance, with the centers of the two lenses spaced 105mm ... | LensDiameter=90;
PupillaryDistance=105;
FrameThickness=5;
FrameWidth=5;
HingeSpacing=0;
HingeHeight=23;
BridgeDiameter=70;
BridgeHeight=12;
BridgeWidth=8;
BridgeCutOffHeight=0;
$fn=100;
translate([PupillaryDistance/2,0,0])
linear_extrude(height=FrameThickness)
intersection() {
difference() {
scale([0.95,0.... | glb/cad_37008d8b9534.glb |
Create a pair of Boston-style glasses frames with a total thickness of 5mm. The front consists of two circular lens frames, each with an outer diameter of 90mm and a frame width of 5mm. Position the centers of these circles 110mm apart.
The bottom of each lens frame is a semi-circle, while the top is a larger arc wit... | LensDiameter=90;
PupillaryDistance=110;
FrameThickness=5;
FrameWidth=5;
HingeSpacing=5;
HingeHeight=20;
BridgeDiameter=150;
BridgeHeight=20;
BridgeWidth=10;
BridgeCutOffHeight=0;
$fn=100;
mirror([1,0,0])
translate([PupillaryDistance/2,0,0])
linear_extrude(height=FrameThickness)
difference() {
circle(r=LensDiameter/2)... | glb/cad_15b2c4365e5e.glb |
Create a pair of Boston-style glasses frames with a total thickness of 5mm. The front consists of two symmetrical lens frames, each based on a circle with a diameter of 90mm and a rim width of 5mm. These circles are slightly flattened on the top and bottom to create an oval appearance. Position the centers of these two... | LensDiameter=90;
PupillaryDistance=105;
FrameThickness=5;
FrameWidth=5;
HingeSpacing=0;
HingeHeight=23;
BridgeDiameter=70;
BridgeHeight=12;
BridgeWidth=8;
BridgeCutOffHeight=0;
$fn=100;
translate([PupillaryDistance/2,0,0])
linear_extrude(height=FrameThickness)
intersection() {
difference() {
scale([0.95,0.... | glb/cad_e8821bddaabb.glb |
Create a customizable twist drill bit with a total length of 50mm and a main diameter of 3mm. The model consists of a cutting flute and a shank.
For the flute, create a helical section 38mm long. Use a right-handed twist with a helix angle of 30 degrees. The cross-section should feature two spiral flutes carved into a... | $vpr=[90 - atan(sin(45)),0,45]*1;
Diameter = 3;
drill_d = Diameter;
Drill_bit_length = 50;
drill_l = Drill_bit_length;
Flute_length = 38;
Body_diameter_clearance = 0.05;
b_clearance = Body_diameter_clearance;
Core_thickness = 1.27;
Helix_angle = 30;
Helix_orientation = -1;
Flute_section_type = 0;
Flute_profile... | glb/cad_5e3ca8375904.glb |
Create a Reuleaux Tetrahedron by finding the intersection of four spheres, each with a radius of approximately 56.57mm. Position the centers of these spheres at the vertices of a regular tetrahedron where each vertex is located at a distance of 40mm from the origin along the axes. Specifically, place the centers of the... | scale(40) intersection() {
translate([1,0,0]) sphere(sqrt(2), $fn=128);
translate([0,1,0]) sphere(sqrt(2), $fn=128);
translate([0,0,1]) sphere(sqrt(2), $fn=128);
translate([1,1,1]) sphere(sqrt(2), $fn=128);
} | glb/cad_4bb258fcb2ee.glb |
Create a Bicylinder Steinmetz Solid by finding the intersection of two identical cylinders. Each cylinder must have a diameter of 40mm and a height of 40mm. Position both cylinders so they are centered on the same origin point. Rotate the first cylinder 45 degrees around the X-axis and rotate the second cylinder -45 de... | scale(40) intersection() {
rotate([ 45,0,0]) cylinder(h=1, d=1, center=true, $fn=128);
rotate([-45,0,0]) cylinder(h=1, d=1, center=true, $fn=128);
} | glb/cad_5565c1726944.glb |
Create a ball bearing substitute consisting of a hollowed-out cylinder. Start by creating a main solid cylinder with an outer diameter of 22mm and a height of 7mm. Remove a concentric cylindrical core from the center with a diameter of 8mm that passes completely through the top and bottom. To create the internal chambe... | Inner_Diam = 8 ;
Outer_Diam = 22 ;
Thickness = 7 ;
Flanged = 0 ;
module __Customizer_Limit__ () {}
shown_by_customizer = false;
$fn = 100 ;
difference()
{
difference()
{
union()
{
cylinder( h=Thickness, d=Outer_Diam );
cylinder( h=1.5, d=Outer_Diam+3... | glb/cad_62a5fb13e84c.glb |
Create a 3D model of a plier tool with a total thickness of 5mm. The main body consists of two symmetrical arms extending from a central pivot area. Each arm is formed by a combination of a cylinder with a radius of 35mm and a rectangular section 115mm long and 70mm wide. At the far end of each arm, create a finger rin... | height=5;
R=35;
length=115;
rfinger=10;
margin=0.2;
module plier_shape(){
union(){
cylinder(h=height,r=R,center=true);
translate([length/2,0,0])
cube([length,2*R,height],center=true);
hull(){
translate([length-3*rfinger+height,R+height,0])
hull(){
... | glb/cad_630a104fc59c.glb |
Create a 3D model of a plier body by starting with a base shape defined by a polygon with vertices at [-15, 0], [-15, 5], [26, 15], and [26, 0], extruded to a height of 14.3mm. From this main volume, remove three rectangular sections to create the internal cavities. First, remove a cube measuring 40mm by 4.2mm by 5.2mm... | margin=0.2;
difference(){
linear_extrude(height = 14.3, convexity = 10)
polygon(points=[[-15,0],[-15,5],[26,15],[26,0]]);
translate([0,0,7])
cube([40,4+margin,5+margin]);
translate([0,8,7])
cube([50,8,5+margin]);
translate([0,12,0])
cube([30,5,20]);
}; | glb/cad_7fd427bd07db.glb |
Create a Storz & Bickel Capsule Magazine holder by starting with a solid rectangular block with rounded corners. The overall outer dimensions of the block should be 80mm in width, 63.5mm in depth, and 22.5mm in height, with a corner fillet radius of 2.5mm.
From the top surface, carve out five identical cylindrical ch... | tol = 0.5;
mag_dia = 61 + tol;
mag_w = 15 + tol;
wall = 5;
bottom = 2;
n = 5;
mag_dist = wall + mag_w;
box_w = n * mag_dist + wall;
box_d = mag_dia + wall * 2 - 3;
box_h = bottom + mag_dia / 2 - 10;
fillet = wall / 2;
$fn = $preview ? 50 : 200;
module rounded_cube(x, y, z, rx=fillet, ry=fillet, rz=fillet, noback=fa... | glb/cad_9cf97323c144.glb |
Create a String Cutting Jig consisting of a rectangular base plate with a width of 147.75mm, a height of 50mm, and a thickness of 4mm. Centered along the height of the plate, carve out two identical cylindrical holes, each with a radius of 21.875mm and a depth of 3.75mm. Position the first hole so that its outer edge i... | string_length = 100;
height = 50;
depth = 4;
cylinder_radius = 21.875;
cylinder_depth = 3.75;
cylinder_distance_from_side = 3;
cylinder_height = 5;
cylinder_distance_x = cylinder_distance_from_side + cylinder_radius;
width = string_length + 2*cylinder_radius + 2*cylinder_distance_from_side;
$fn = 100;
differenc... | glb/cad_d0b26350f6ce.glb |
Create a tamping stand for a 58mm bottomless portafilter. Start with a main cylinder that has a diameter of 91mm and a height of 45mm. Remove a smaller concentric cylinder from the center with a diameter of 72mm and a height of 71mm to create a hollow ring.
To accommodate the portafilter handle, create a cutout by for... | portfilterHandleWidth=20;
portafilterHandleDepth=37;
portafilterBodyDiameter=72;
earsDiameter=78;
earsWidth=28;
standDiameter=earsDiameter+2*6.5;
standHeight=portafilterHandleDepth+8;
$fn = $preview ? 50 : 360;
if($preview)
tampingStand();
else
translate([0,0,45])
mirror([0,0,1])
tampingStand();
module... | glb/cad_40040320f3b4.glb |
Create a Rotative Christmas Tree consisting of a central trunk and ten rotatable branches.
First, construct the central trunk by stacking ten cylinders vertically. The total height of the trunk is 120mm, meaning each cylinder is 12mm tall. The cylinders should taper in diameter as they go up, starting with a base dia... | number_cylinders = 10;
total_height = 120;
base_diameter = 20;
step_size = 1.7;
rectangle_height = total_height / number_cylinders * 0.66;
rectangle_width = base_diameter + 3;
max_rectangle_length = 80;
min_rectangle_length = 15;
hole_clearance = 0.2;
preview_build = true;
generate_cylinders = true;
generate_... | glb/cad_4bb9f94b7449.glb |
Create a mount for a stove control knob by constructing a hollowed octagonal prism. Start with a solid octagonal prism that has a height of 11.6mm and a diameter of 57.6mm across its opposite flats. From the center of this shape, remove an octagonal prism with a height of 8mm and a diameter of 54mm across its opposite ... | disk_diameter = 54;
disk_thickness = 8;
wall_thickness = 1.8;
r = disk_diameter / 2;
rotate([90, 0, 0]) {
difference() {
rotate(22.5)
cylinder(r = (r + wall_thickness)/cos(22.5), h = disk_thickness + 2*wall_thickness, $fn = 8);
translate([0, 0, wall_thickness])
rotate(22.5)
cyl... | glb/cad_73a30f8282fe.glb |
Create a Parametric Tubing Drill Jig designed to clamp around a tube. The main body is a semi-circular ring with a thickness of 3mm and a total height of 23mm. The inner diameter of the ring is 19.2mm to accommodate a 3/4 inch tube.
At the center top of the ring, add a cylindrical drill guide. This guide consists of a... | include <../libs/hardware.scad>;
item_len = 23;
drill_bit_tol = 0.3;
max_bit_hole_len = 50;
_1_inch = 25.4;
module item_align(){
translate([0,0, item_len/2])
rotate([-90, 0, 0])
children(0);
}
module ring_2d(min_ext, max_ext){
polygon(points=[
[0,0],
[0, item_len],
... | glb/cad_5da6abcdc2d4.glb |
Create a set of interlocking map spacers for a board game. The overall footprint is a large pentagon with a radius of 371mm and a height of 1.8mm.
From this base, remove several hexagonal voids to create a puzzle-like assembly. First, create a central hexagonal hole with a radius of 58.5mm. Surround this center with ... | hex_radius=116/2;
hex_height=1.8;
hex_tolerance=0.5;
difference(){
rotate(20)
pent();
translate([0,0,-1])
union(){
hex();
inner_ring();
middle_ring();
outer_ring();
inner_cuts();
inner_sym_split();
middle_cuts_1();
middle_cuts_2();
... | glb/cad_b77e6d7a83b5.glb |
Create a set of LED light fittings for the Ikea IVAR shelf system. The primary component is a mounting bracket designed to hold a 16mm angled LED light profile. Construct the bracket with a main body that is 45.5mm long, 16mm wide, and 1.5mm thick.
Integrate a series of geometric cutouts and notches into the bracket ... | $fn = 111;
difference() {
union() {
translate(v = [0, 0, 0]) {
difference() {
union() {
translate(v = [1.5000000000, 28.0000000000, 0]) {
multmatrix(m = [[1, 0, 0, 0], [-0.8750000000, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [32.0020000000, 16.0000000000, 1.5000000000]);
}... | glb/cad_ecc159b74b4a.glb |
Create a set of LED light fittings for the Ikea IVAR shelf system. The set includes a profile holder and a wiring box.
First, construct the profile holder. Create a base rectangular block with a total width of 33.5mm and a height of 16mm. From this block, remove a central rectangular slot that is 1.5mm wide and 1.3125... | $fn = 111;
union() {
translate(v = [0, 0, 0]) {
difference() {
union() {
translate(v = [1.5000000000, 28.0000000000, 0]) {
multmatrix(m = [[1, 0, 0, 0], [-0.8750000000, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [32.0020000000, 16.0000000000, 1.5000000000]);
}
}
translate(v ... | glb/cad_13faa69452bc.glb |
Create a set of LED light fittings for the Ikea IVAR shelf system. The primary component is a mounting bracket designed to hold a 16mm angled LED profile. Construct a main body that is 32mm deep and 16mm wide, with a height of 1.5mm.
Add a vertical support section that is 1.5mm thick and 45.5mm tall. Integrate a cuto... | $fn = 111;
union() {
translate(v = [0, 0, 0]) {
difference() {
union() {
translate(v = [1.5000000000, 28.0000000000, 0]) {
multmatrix(m = [[1, 0, 0, 0], [-0.8750000000, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [32.0020000000, 16.0000000000, 1.5000000000]);
}
}
translate(v ... | glb/cad_252771535163.glb |
Create a power supply box for LED light fittings. The main body is a rectangular enclosure with outer dimensions of 44mm width, 42.5mm depth, and 31.5mm height. The walls are 1.5mm thick.
The box is hollowed out, leaving a shell. On the bottom face, create a rectangular base extension that is 44mm wide, 52.5mm deep, ... | $fn = 111;
difference() {
union() {
difference() {
union() {
translate(v = [0, -10, 0]) {
cube(size = [44, 52.5000000000, 1.5000000000]);
}
translate(v = [5, -5, 0]) {
cylinder(h = 9.5010000000, r = 1.8500000000);
}
translate(v = [41.5000000000, -10, 0]) {
cube(size = [2.500000... | glb/cad_be681a7d2a45.glb |
Create a set of LED light fittings for the Ikea IVAR shelf system, including a power supply box and mounting holders.
First, construct the power supply box as a rectangular enclosure with a base and walls. The main body is a cube measuring 44mm in width, 42.5mm in depth, and 31.5mm in height. Create a hollow interior ... | $fn = 111;
difference() {
union() {
difference() {
union() {
translate(v = [0, -10, 0]) {
cube(size = [44, 52.5000000000, 1.5000000000]);
}
translate(v = [5, -5, 0]) {
cylinder(h = 9.5010000000, r = 1.8500000000);
}
translate(v = [41.5000000000, -10, 0]) {
cube(size = [2.500000... | glb/cad_d5b2e1f46dff.glb |
Create a wiring box for an LED light fitting. Start with a rectangular base plate that is 44mm wide, 42.5mm deep, and 1.5mm thick.
On top of this base, build a rectangular enclosure with outer dimensions of 44mm by 42.5mm and a height of 7.7mm. The walls of this enclosure should be 1.7mm thick, creating an internal c... | $fn = 111;
difference() {
union() {
cube(size = [44, 42.5000000000, 1.5000000000]);
difference() {
translate(v = [1.7000000000, 1.7000000000, 0]) {
cube(size = [40.6000000000, 39.1000000000, 7.7000000000]);
}
translate(v = [3.2000000000, 3.2000000000, -0.0010000000]) {
cube(size = [37.6000000000,... | glb/cad_80e4d503070a.glb |
Create an LED Light Fitting consisting of a base and a vertical structural element. Start by creating a circular base with a radius of 5mm and a height of 1.5mm.
From the center of this base, extend a vertical assembly that reaches a total height of 17.5mm. This vertical section is formed by the intersection of a cen... | $fn = 111;
union() {
translate(v = [0, 0, 1.5000000000]) {
intersection() {
union() {
translate(v = [-0.5000000000, 0, 0]) {
cube(size = [1, 3.5000000000, 17.5000000000]);
}
rotate(a = [0, 0, 120]) {
translate(v = [-0.5000000000, 0, 0]) {
cube(size = [1, 3.5000000000, 17.5000000000]);... | glb/cad_ebbca8fcfb3e.glb |
Create a 2D card miniature stand base. Start by creating a circular base with a diameter of 25mm and a thickness of 3.125mm. Centered on this base, place two identical rectangular support blocks extending outwards in opposite directions along the diameter. Each support block must be 45mm long, 3.125mm wide, and 12.5mm ... | scaleMM = 25;
wallW = scaleMM/8;
standH = wallW*4;
notchR = wallW*1.1;
wallL = scaleMM*1.8;
notch1Offset = wallL/12;
notch2Offset = -wallL/4;
module base()
{
cylinder(wallW,scaleMM,scaleMM);
}
module standSide()
{
cube([wallL, wallW, standH], true);
}
module standNotch()
{
difference()
{
cyli... | glb/cad_4807eef04c20.glb |
Create a power supply switch faceplate with a total width of 39mm, a height of 20mm, and a thickness of 5mm.
At each of the four corners of the plate, add a mounting hole for an M2 screw. Each hole consists of a cylindrical shaft with a radius of 1.05mm and a recessed head with a radius of 1.75mm and a height of 1.5m... | sw_block_width=39;
sw_block_height=20;
wall_thickness=5;
sw_quantity = 4;
sw_seperation = 7.3;
sw_hole_diameter = 5;
sw_box_depth = 9;
sw_box_width = 5.5;
sw_first_hole_x_offset =5+1+(sw_hole_diameter/2);
sw_first_hole_z_offset = 10;
module sw_face_plate_cutout() {
cube([sw_block_width,wall_thickness,sw_block_hei... | glb/cad_079868bb7680.glb |
Create a Raspberry Pi 4 1U rack-mount power supply bracket. Start with a main rectangular block with an outer width of 120.17mm, a length of 103mm, and a height of 34.14mm.
Hollow out the interior to create a chassis with a back wall thickness of 5mm and a floor depth of 3mm. The interior cavity should be 100mm wide ... | bolt_size = 2.38125;
bolt_hole_fudge = 0.2;
screw_hole_fudge = 0.15;
number_to_fit = 6;
ps_width = 100;
ps_depth = 97;
mm_width = 40;
mm_width_inner = 23;
mm_height = 19;
mm_depth = 52;
shift=1;
height = 33.1423 + shift;
inner_width = ps_width;
outer_width = ((450.85 - 20) / number_to_fit) * 2;
length = 90;
leng... | glb/cad_00d8301eeeba.glb |
Create a 2D card miniature stand base. Start by creating a circular base with a diameter of 50mm and a thickness of 3.125mm. Centered on this base, construct two identical rectangular support bars that extend across the diameter. Each bar should be 45mm long, 3.125mm wide, and 18.75mm high. Position these two bars on o... | scaleMM = 25;
wallW = scaleMM/8;
standH = wallW*6;
notchR = wallW*1.1;
wallL = scaleMM*1.8;
notch1Offset = -wallL*11/12;
notch2Offset = -wallL*7/12;
notch3Offset = -wallL/4;
notch4Offset = wallL/12;
notch5Offset = wallL*5/12;
notch6Offset = wallL*3/4;
module base()
{
cylinder(wallW,scaleMM*2,scaleMM*2);
}
module ... | glb/cad_df75dedd9c19.glb |
Create a 2D card miniature stand base. Start by creating a circular base with a diameter of 50mm and a thickness of 3.125mm. On opposite sides of the base, centered along the diameter, add two identical rectangular support walls. Each wall should be 45mm long, 3.125mm wide, and 18.75mm high.
Into each support wall, c... | scaleMM = 25;
wallW = scaleMM/8;
standH = wallW*6;
notchR = wallW*1.1;
wallL = scaleMM*1.8;
notch1Offset = -wallL*11/12;
notch2Offset = -wallL*7/12;
notch3Offset = -wallL/4;
notch4Offset = wallL/12;
notch5Offset = wallL*5/12;
notch6Offset = wallL*3/4;
module base()
{
cylinder(wallW,scaleMM*2,scaleMM*2);
}
module ... | glb/cad_08935b40d389.glb |
Create a Plant Shield by starting with a rectangular base that is 150mm long, 15mm wide, and 1.5mm thick. At the end of this base, add a pointed stake by removing a wedge-shaped section from the bottom; this is achieved by cutting away the material with a plane angled at approximately 26.5 degrees relative to the base,... | PLANTNAME = "Das ist ein Beispiel!" ;
LENGHT = 150 ;
FIRSTLAYER = 0.3 ;
LAYER = 0.2 ;
LAYERS = 6 ;
FONTEXTRUSION = 1 ;
font = "Liberation Sans";
difference() {
union() {
translate ([-30,0,0])
cube ([LENGHT,15,FIRSTLAYER+LAYERS*LAYER],false);
translate ([LENGHT-33,4,FIRST... | glb/cad_1e2accb87010.glb |
Create an optical fiber G2 wall termination box. Start with a main body formed by a central cube measuring 12.6mm by 9.6mm by 26mm, centered on the origin. Attach a rectangular base plate to the bottom, measuring 19mm by 8mm by 2mm, centered at Z = -8mm.
Carve out a central rectangular cavity measuring 9.1mm by 7.5mm ... | margin=0.2;
difference(){
union(){
cube([13-margin,10-margin,26],center=true);
translate([0,0,-8])cube([13+6+6,8,2],center=true);
for(j=[-1:2:1]){
translate([j*9,0,-2.5])
rotate([0,0,45])cylinder(9,5,0,center=true,$fn=4);
translate([j*7,0,1])
rotate([0,-20*j,0])cube([5,4,18],center=true,$fn=4)... | glb/cad_caa7e9e0afe9.glb |
Create a wall mount holder for a round remote by starting with a conical frustum that has a base diameter of 77.8mm, a top diameter of 55.8mm, and a total height of 14.1mm. Hollow out the center of this shape by removing a cylinder with a diameter of 52.8mm and a depth of 13.1mm, leaving a bottom thickness of 1mm. To f... | $fn=180;
remote=52.8;
cutoff=remote+25;
base=cutoff+5;
top=remote+3;
height=14.1;
pocket=13.1;
finger_hole_d=25;
finger_hole_h=6;
index_hole=1.2;
intersection(){
difference(){
linear_extrude(height,scale=top/base)circle(base/2);
translate([0,0,height-pocket])cylinder(pocket,d=remote);
trans... | glb/cad_0aa04ce65e71.glb |
Create a Nutella jar candy dispenser component consisting of a cylindrical base and an integrated Archimedes screw conveyor. Start by creating a main cylinder with a radius of 32.95mm and a height of 25mm. At the bottom of this cylinder, center a rectangular base plate measuring 85.9mm by 10mm with a thickness of 2.5mm... | d=65.9;
ha=25;
hb=32;
lb=10;
rd=12.9;
rid=7.5;
rld=42;
hl=48;
el=28;
eb=20;
$fn=90;
module A(){
difference(){
union() {
cylinder(r=d/2, h=ha);
translate([-d/2-lb,-lb/2,0]) cube([d+lb+lb,lb,2.5]);
}
translate([0,d/2-4,0]) rotate([90,0,0]) cylinder(r=rd/2, h=d);
translate([0,d/2,0]) rotate([90,0,0]) cylinder(r=r... | glb/cad_447b90619feb.glb |
Create a PTFE tube guide for a 3D printer. Start with a rectangular base measuring 29mm wide, 9.5mm deep, and 5mm thick. Centered along the width of this base, add a vertical bar that is 12mm wide and 23.75mm deep.
Within this bar, create a vertical cylindrical hole with a diameter of 4.5mm and a height of 21mm, cent... | Wall_Thick = 2 ;
Wall_Thin = 1.5 ;
Key_Hole = 7.5 ;
Key_Wid = Key_Hole+Wall_Thick ;
Key_Dep = Key_Hole+Wall_Thin ;
Base_Wid = 29 ;
Base_Dep = 9.5 ;
Base_Thick = 5 ;
Tab_Raise = 1.7 ;
Tab_Thick = Base_Thick-Tab_Raise ;
Hole_Setback = 21.5 ;
Hole_Diam = 4.5 ;
Hole_High = 21 ;
Bar_Wid = 12 ;
Bar_Dep = Hole_Setback+Hole_Di... | glb/cad_f97eb3411a0a.glb |
Create a PTFE tube guide for a 3D printer extruder. Start with a rectangular base measuring 29mm wide, 9.5mm deep, and 2.2mm thick, with rounded corners. At one end of the base, integrate a square mounting key that is 9.7mm wide and 11.3mm deep, with a height of 5.6mm; this key should have a central square cutout of 7.... | Wall_Thick = 2.2 ;
Wall_Thin = 1.8 ;
Key_Hole = 7.5 ;
Key_Wid = Key_Hole+Wall_Thick ;
Key_Dep = Key_Hole+Wall_Thin ;
Base_Wid = 29 ;
Base_Dep = 9.5 ;
Base_Thick = 5.6 ;
Base_Thin = 2.2 ;
Tab_Raise = Base_Thin ;
Tab_Thick = Base_Thick-Tab_Raise ;
Hole_Setback = 21.5 ;
Hole_Diam = 4.5 ;
Hole_High = 21 ;
Hole_Rise = Base_... | glb/cad_edb474962c55.glb |
Create a 3D model of Japanese Pruning Scissors with a total height of 5mm. The structure consists of two symmetrical arms connected by a central spring mechanism.
Start by creating the central spring: a ring with an outer radius of 12mm and a wall thickness of 3mm, scaled by 1 in the X-axis and 2 in the Y-axis to form... | include <polyholes.scad>
$fn = $preview ? 32 : 64;
H = 5;
R = 12;
ring_width = 3;
handle_width = 10;
screw_radius = 1.5;
scissors();
module scissors(){
subtract();
hull(){
translate([R*2.7, -R/2, 0])
#cylinder(h=H, r=ring_width/2);
translate([R*0.865, R*4, 0])
#cylinder(h=... | glb/cad_f7453968d855.glb |
Create a Disposable Scissor with Removable Head consisting of two identical, mirrored symmetrical arms. Each arm is 5mm thick.
For one arm, start with a rectangular base that is 35mm wide and 115mm long. Along the inner length of this base, create a series of 20 small, evenly spaced triangular teeth, each with a base ... | $fn = $preview ? 64 : 64;
height=5;
R=35;
length=115;
rfinger=10;
rspring=rfinger/1.5;
module halfcylinder(he,rd) {
rotate([0,0,90])
difference(){
cylinder (h=he,r=rd, center=true);
translate ([(rd/2),0,0])
cube([rd+0.1,rd*2+0.2,he+0.2], center=true);
}
}
module scissor_baseline()... | glb/cad_2f475589d4ee.glb |
Create a New Scissor tool with a uniform thickness of 5mm. The main body is composed of a central base and two symmetrical handles. Start by creating a central rectangular section 30mm wide and 13mm long. At the center of the tool, place a cylinder with a radius of 35mm and a height of 5mm. Adjacent to this, add a rect... | use<plierscad_prof.scad>;
h = 5;
largura = 150;
larguraX = 20;
D = 60 ;
R_circulo=35;
l_cube = 13;
l_cubeX = 100;
Raio_dedo=14;
module base() {
union() {
translate([0, 3, 0])
cube([30, l_cube, h]);
translate([0, -3-l_cube, 0])
cube([30, l_cube, h]);
translate([D, 0, 0... | glb/cad_addf12e3d1f3.glb |
Create a pair of pliers with two symmetrical arms that pivot at a central point. Each arm is 5mm thick. The handle end of each arm features a large, elongated oval finger hole. The arms curve outward from the pivot and then taper toward the heads.
At the business end, each arm terminates in a square socket head measur... | use<spring.scad>
use<plierHead.scad>
test_together=0;
$fn=32;
radius=4.85;
thickness=2;
spring_length=20;
angle=10;
h=5;
ne=2;
w=30; l=6.75;
if(test_together==1){
translate([-58,-7.25,h/2])
rotate([180,0,0])
maleSocketSquare(w,l,h);
translate([-58,7.25,h/2])
maleSocketSquare(w,l,h);
tran... | glb/cad_b98aefc0ec53.glb |
Create a 3D model of a plier-style tool head consisting of two mirrored symmetrical halves. Each half is based on a rectangular block with a width of 30mm, a length of 6.75mm, and a height of 5mm.
For the first head, create a saw-like gripping surface. This is achieved by extruding a series of triangular teeth along t... | $fn=32;
w=30; l=6.75;h=5;t=2;
scale([1,2,1]){
translate([0,0,6])
pontasSerra(1);
rotate([0,180,0])
translate([w,-l*2,0-17.5])
pontasSerra(0);
translate([0,l*2,6])
pontasDescarnador(1);
rotate([0,180,0])
translate([w,l*4,0-17.5])
pontasDescarnador(0);
}
module pontasDescarnador... | glb/cad_d8fe37ede1b2.glb |
Create a 3D model of a bubble spring for pliers or scissors. The object is a flat, zig-zagging spring with a uniform height of 5mm and a consistent line thickness of 2mm.
The geometry consists of a repeating sequence of three wave-like cycles. Each cycle is formed by combining semi-circular arcs with a radius of 6mm ... | $fn=32;
radius=6;
thickness=2;
spring_length=20;
angle=10;
h=5;
ne=3;
spring2D(radius,thickness,spring_length,angle,h,ne,1);
module spring_arc(raio=3.6, grossura=1.8){
difference(){
circle(raio);
circle(raio-grossura);
translate([0,-raio,0])
polygon([[0,0],[0,raio*2],[raio,raio*2]... | glb/cad_c5d81343696e.glb |
Create a filament dryer shell and accessories consisting of a main cylindrical body, a threaded plug, bulkhead fittings, and a bearing mount.
Construct the main shell as a hollow cylinder with an outside diameter of 330mm, a height of 100mm, and a wall thickness of 3mm. Add a lip around the top edge with an interior f... | include <ISOThread.scad>
;
make_shell = true;
make_plug = true;
make_bulkhead = true;
make_bearing_mount = true;
Height = 100;
OutsideDiameter = 330;
ThicknessShell = 3;
Clearance = .1;
GrooveDepth = .75;
Lip = 2;
Flat = 5.15;
ZipTieSize = 3;
InsideLipHeight = 3.5;
InsideFlatWidth = 6;
FilamentHoleDia = 4.5;
Filame... | glb/cad_a314cf33a3e8.glb |
Create a base adapter for a food dehydrator by constructing a main cylinder with a diameter of 93mm and a height of 16mm, centered on the origin. From this main body, remove a central cylindrical core with a diameter of 63mm and a height of 8mm, positioned 4mm below the center point. Additionally, remove a conical void... | $fa = 1;
difference()
{
cylinder(h = 16, d = 93, center = true);
translate([ 0, 0, -4.001 ])
cylinder(h = 8.004, d = 63, center = true);
translate([ 0, 0, 2.001 ])
cylinder(h = 12.004, d1 = 81.4, d2 = 87, center = true);
} | glb/cad_70b8a83beb4c.glb |
Create a Dimple Die set consisting of a male and a female component.
For the male die, start with a cylindrical base 34.29mm in diameter and 8.89mm high. Centered on top of this base, add a guide pin cylinder with a diameter of 25.4mm and a height of 17.78mm. At the top of this pin, create a 1mm tall taper that trans... | $fn=360;
dieGuidePinClearance_mm = 0.25;
dieHoleSize_mm = 1 * 25.4;
dieTaperDepth_mm = 0.35 * 25.4;
dieTaperWidth_mm = 0.25 * 25.4;
dieText = "1in";
dieTextFont = "Sans Serif";
dieTextFontSize = 10;
dieTextSpacing = 1;
dieDiameter_mm = dieHoleSize_mm+dieTaperWidth_mm*4.5;
dieFemaleHeight_mm = dieTaperDepth_mm... | glb/cad_0e108ca7e63d.glb |
Create a Christmas gift tag ornament with a total thickness of 1.4mm. Start by creating a circular ring with an outer radius of 40mm and a wall thickness of 1.8mm. At the top of the ring, add a small circular hanger loop with a 5mm diameter and 2mm wall thickness.
Inside the ring, center the name "Kelly" using a cursi... | name = "Kelly";
name_offset_x=-2;
name_offset_y=1;
font_size = 30;
fontname="Lemon Jel ly Personal Use:style=Regular";
helper_line=true;
helper_line_height=1;
helper_line_width=58;
helper_line_offset_X=-30;
helper_line_offset_Y=-6;
fn=100;
scale([0.6,0.6,1])
ornament();
radius=40;
diameter=radius*2;
thickness=1.8;... | glb/cad_0b156937364d.glb |
Create a First Car Coin Piggy Bank shaped like a stylized toy vehicle. The main chassis is formed by the union of two cylinders—a larger rear cylinder with a 50mm diameter and a smaller front cylinder with a 30mm diameter—both with a height of 20mm. Apply a Minkowski hull with a 4mm thickness to the body to create cham... | wide = 20 ;
bch = 4 ;
wall = -1.0 ;
wheeltype = 1 ;
dwheel = 16 ;
dtire = 5 ;
hwheel = 6 ;
cwheel = 1.0 ;
dnabe = 3.0 ;
doval = 1.04 ;
wsnap = 0.16 ;
axialplay = 0.1 ;
dgap = 0.2 ;
dsnap = 0.9 ;
bodlevel = 2 ;
bcoin = 2 ;
lcoin = 20 ;
dbodhole = 9 ;
sparetire = 0 ;
headlights = 4;
lightdist = 90 ;
... | glb/cad_b449503fb22a.glb |
Create a dishwasher tab dispenser with overall dimensions of 100mm width, 300mm depth, and 180mm height, using a consistent wall thickness of 1.8mm. Start with a solid rectangular block of these dimensions. Hollow out the main body by removing a central rectangular volume that leaves the 1.8mm walls intact, extending f... | width = 100;
depth = 300;
height = 180;
t = 1.8;
e = 0.01;
difference() {
cube([width, depth, height]);
translate([-1, -1, 50]) cube([1000, 51, 1000]);
translate([t, 50 + t, t]) cube([width - 2*t, depth - 50 - 2*t, 1000]);
translate([t, t, t]) cube([width - 2*t, 50 + e, 50 - t + e]);
translate([w... | glb/cad_b9ac25f49024.glb |
Create a Mini Mold Maker consisting of a central rectangular block and several intersecting geometric features. Start with a main central cube measuring 34mm x 34mm x 10mm. Centered within this, remove a smaller rectangular volume of 30mm x 30mm x 10mm to create a hollow shell with a wall thickness of 2mm.
Add an auxi... | laa = 30;
lab = 30;
haa = 10;
eaa = 4;
hab = 1;
eab = 1;
daa = 10;
$fn = 180;
lba = laa + eaa;
lbb = lab + eaa;
lac = laa/2;
lad = lab;
lbc = lac+eaa;
lbd = lad+eaa;
xbb = lba/2+lac/2;
dba = daa+eab;
hba = hab+eab;
xba = lba/2+lac+eaa/2+daa/2;
xbc = lba/2+daa/2;
zba = -haa/2+hab/2;
zbb = -haa/2+hba/2;
yba = lbb/... | glb/cad_7c94f38bc36d.glb |
To make this code functional in OpenSCAD, you need to define the **global parameters** (variables) that the modules reference. The code you provided contains the logic (the "how"), but it is missing the configuration (the "what").
Add the following block to the **top of your script**. I have provided a set of standard... | thread="M10";
sides=6;
measure_flat_to_flat="yes";
chamfer=1.0;
wall=3.0;
knurl_depth=1.0;
knurls=30;
reverse_threads="no";
show_bolt="yes";
bolt_head_shape="standard";
bolt_smooth_length=10.0;
bolt_smooth_diameter=0.0;
bolt_threaded_length=18.0;
bolt_head_diameter=20.0;
bolt_head_height=8.0;
bolt_head_s... | glb/cad_dd255da2b5d2.glb |
Create a Flared Hose Sprayer consisting of a wide, conical spray head attached to a threaded female connector.
First, construct the spray head as a flared cone with a base diameter of 70mm and a height of 35mm. The walls of this cone should be 2mm thick. The flat bottom face of the cone is a circular plate 2mm thick.... | wall_thickness=2.0;
sprayer_size=70;
spray_hole_shape=8;
spray_hole_size=2.0;
spray_hole_density=5.3;
spray_angle=15;
Douter=27.568+(wall_thickness*2)-.81;
$fn=120;
safety=.01;
function __THREADLIB_VERSION() = 0.3;
function vec3(p) = len(p) < 3 ? concat(p,0) : p;
function vec4(p) = let (v3=vec3(p)) len(v3) < 4 ... | glb/cad_77632bd06bf6.glb |
Create a battery end cap holder consisting of a grid of cylindrical cells. For a standard AA battery configuration, create a block containing a row of four cells.
Each cell is formed by a cylindrical outer shell with a height of 8mm and a radius of 8.35mm (diameter of 16.7mm). The outer shell is slightly tapered, wit... | cell_size="aa";
rows_per_cap=1;
cols_per_cap=4;
caps_x=1;
caps_y=2;
cap_spacing = 2;
aa_diameter=13.7;
aaa_diameter=9.9;
c_diameter=25.9;
d_diameter=29.9;
18650_diameter=17.7;
$fn=40;
Space = cap_spacing;
module AA_Caps(N=4, M=1, PX=0, PY=0){
CellCaps(N, M, PX, PY, D=aa_diameter, H=8, W=2.5, S=1.5, F=1... | glb/cad_255b4615dbff.glb |
Create a roomba side brush consisting of a central cylindrical base and five radiating sweeper arms. The central base is a cylinder with a diameter of 20mm and a height of 8mm. The top of this base features a recessed circular hole 9mm in diameter and 3mm deep to accommodate a screw head, with a smaller 2mm diameter ho... | $fn=120;
safety=.01;
base_d=20;
base_h=8;
sweeper_diameter=2.5;
sweeper_length=77;
sweeper_count=5;
screw_head_hole_d=9;
screw_head_hole_h=3;
screw_hole_d=2;
hex_key_diameter=5.65;
hex_key_depth=4;
module base(d=22,h=10) {
chamfer(d=d,h=3)
translate([0,0,-1*(h/2)])
cylinder(d=base_d,h=h,center=true);
}
module ... | glb/cad_d2b99046afcb.glb |
Create a Roomba replacement roller sweeper. Start by constructing a hollow cylinder with an outside diameter of 25mm, an inside diameter of 23mm, and a total length of 170mm.
At the center of the cylinder, add a support structure consisting of a central hub with a diameter of 10mm and a thickness of 3mm, extending 17... | roller_outside_diameter=25;
roller_inside_diameter=23;
roller_length=170;
roller_sweeper_rotation=8;
roller_sweeper_aggression=30;
roller_sweeper_thickness=1;
roller_sweeper_height=2.25;
roller_sweeper_count=20;
center_support_length=17;
center_support_diameter=10;
center_support_thickness=3;
center_support_win... | glb/cad_76c2e8346504.glb |
Create an outdoor furniture foot plug consisting of a tapered insert and a rounded base. Start by creating a hollow cylindrical plug with a wall thickness of 5mm. The interior cavity should be a cylinder with a diameter of 29.5mm and a height of 8mm. The outer shape of this insert is a slight cone, tapering from a base... | $fn = 120;
leg_base_outer_diameter = 43;
leg_hole_diameter = 39.5;
leg_hole_depth = 8;
cover_thickness = 10;
plug_wall_thickness = 5;
safety = .05;
difference() {
union() {
translate([0,0,cover_thickness+(leg_hole_depth/2)])
cylinder(h=leg_hole_depth,d1=leg_hole_diameter,d2=leg_hole_diameter-1,center=true);
diff... | glb/cad_039f08807deb.glb |
Create a carabiner pulley by starting with a main cylinder that has a diameter of 39mm and a height of 21mm, centered on the origin. Remove a smaller concentric cylinder from the center with a diameter of 15mm and a height that exceeds the main body to create a clean through-hole. To form the rope groove, wrap a torus ... | rope_diameter=15;
pulley_diameter=39;
pulley_width=21;
center_hole_diameter=15;
module torus(r1=1,
r2=2,
$fn=50){
rotate_extrude(convexity=10, $fn=$fn)
translate([r2, 0, 0])
circle(r=r1, $fn=$fn);
}
module pulley(rope_diameter=15,
pulley_diameter=39,
pulley_wid... | glb/cad_3362b8355997.glb |
Create a Screwdriver Box consisting of a main rectangular base and a separate flat lid. The base has a total width of 91mm and a length of 200mm, with a height of 12mm.
Inside the base, carve out four identical tool slots arranged side-by-side. Each slot is a composite cutout designed to hold a screwdriver: start wit... | $fn=90;
preview=0;
handle_diam=19.5;
handle_len=82.5;
spacing=3;
handle_diam2=13.5;
handle_len2=8.5;
handle_diam3=10;
handle_len3=2;
total_len=180;
shaft_diam=4;
box_width=10+4*handle_diam+3*spacing;
box_length=200;
tool_ctr=12;
lid_thickness=2;
module cutout()
{
rotate([-90,0,0])
{
cylinder(d=handle... | glb/cad_9c4ee77ca6f3.glb |
To make this code functional in OpenSCAD, you need to define the global variables that are used in the modules but were missing from your snippet. Specifically, `lame_thickness`, `lame_diameter`, `chamfer_size`, and `safety` must be declared.
Additionally, the `straight_thread` module (which is called by the `thread` ... | lame_thickness = 10;
lame_diameter = 37;
chamfer_size = 1.6;
$fn=120;
safety=.05;
razor_pin_diameter=4.95;
function __THREADLIB_VERSION() = 0.5;
function vec3(p) = len(p) < 3 ? concat(p,0) : p;
function vec4(p) = let (v3=vec3(p)) len(v3) < 4 ? concat(v3,1) : v3;
function unit(v) = v/norm(v);
function identity3()=... | glb/cad_9c1eea6082c0.glb |
Create a piggy bank styled like a vintage transistor radio. Construct the main housing as a rounded rectangular box with overall dimensions of 158mm width, 60mm height, and 65mm depth. The corners should have a radius of 15mm. Hollow out the interior to create a storage cavity, leaving a wall thickness that allows for ... | $fn=30;
breite=158;
hoehe=60;
color("teal") difference(){
minkowski(){
cube([breite,hoehe,65],center=true);
cylinder(r=15);
}
minkowski(){
translate([0,0,6])cube([breite-16,42,65.2],center=true);
cylinder(r=13);
}
minkowski(){
translate([0,0,30])cube... | glb/cad_b8bea80a6b85.glb |
Create a tool called "Claws to remove a wire rack" consisting of a handle and two symmetrical gripping claws.
First, construct the handle as a block with a thickness of 10mm and a height of 18mm. The handle should feature a central hand hole with a width of 65mm and a depth of 20mm. Extend the handle ends by 17.5mm b... | Handle_Material_Thickness = 10;
Handle_Height = 18;
Handle_End_Length = 17.5;
Hand_Hole_Width = 65;
Hand_Hole_Depth = 20;
Bevel_Radius = 1.5;
Bevel_Rounded = 1;
Spacer_Handles = 10;
Grid_Length = 40 ;
Grid_Length_delta = 10;
Grid_Length_Space = Grid_Length + Grid_Length_delta ;
Grid_Spacing_Percent = 0.5 ;
Gri... | glb/cad_58563af998b8.glb |
Create an Ambient Rain Gauge Coil consisting of a flat, spiral-shaped disc and a central vertical post. Start by constructing a flat Archimedean spiral with a thickness of 1.5mm and a maximum radius of 25mm. The spiral should wrap around the center 8 full times, with the arms of the spiral maintaining a consistent thic... | module archimedean_spiral(spirals=8, thickness=1.5, rmax = 25){
s = spirals*360;
t = thickness;
a = sqrt(pow(rmax,2)/(pow(s,2)*(pow(cos(s),2) + pow(sin(s),2))));
points=[
for(i = [0:$fa:s]) [
(i*a)*cos(i),
(i*a)*sin(i)
]
];
points_inner=[
for(i = [... | glb/cad_cd78b57c1c60.glb |
Create a Mysterious Artifact base by starting with a centered cube that is 70mm wide, 70mm deep, and 20mm high, positioned 5mm above the origin. From this cube, remove a large spherical volume centered at (0, 0, 88.5) with a radius of 87mm. To define the final shape, intersect this resulting geometry with a second sphe... | $fn=100;
difference() {
translate([0,0,5])cube([70,70,20],center=true);
translate([0,0,88.5])sphere(87);
}
intersection() {
translate([0,0,15])cube([70,70,20],center=true);
translate([0,0,88.5])sphere(82);
} | glb/cad_643c16285408.glb |
Create a Mysterious Artifact model consisting of two mirrored sets of thin rods. First, generate a set of 72 cylinders, each with a diameter of 2mm and a height of 50mm. Arrange these cylinders in a circular pattern around a central point at a radius of 48.5mm. Each cylinder should be spaced every 5 degrees along the c... | $fn = 15;
module broken(radius, width){
rotate(120, [0,1,0]){
for (face = faces) {
v1 = vertices[face[0]] * radius;
v2 = vertices[face[1]] * radius;
v3 = vertices[face[2]] * radius;
avg = (v1 + v2 + v3) / 3;
vh1 = v1*width + avg*(1-width);
... | glb/cad_e929c4276148.glb |
Create a bed leveling calibration pattern centered on a 200mm by 200mm area with a uniform height of 0.16mm. The design consists of a network of thin lines and squares. Place 30mm squares at the four corners of the 200mm area, at the center of the area, and at the midpoints of each of the four outer edges. Connect thes... | cube_d =30;
line_w = 5;
module cube_pattern(x_size, y_size, layer_h){
translate([0,0,0]) cube([cube_d, cube_d, layer_h]);
translate([x_size - cube_d, 0, 0]) cube([cube_d, cube_d, layer_h]);
translate([x_size - cube_d, y_size - cube_d, 0]) cube([cube_d, cube_d, layer_h]);
translate([0, y_size - cube_d,... | glb/cad_a3e05977dcbd.glb |
Create a set of Trimos6 game tiles. Each tile is an equilateral triangle with a side length of 40mm, a height of 8mm, and rounded corners with a 2mm radius.
On the top face of each tile, engrave three numbers, one near each vertex. The numbers should be centered along the medians of the triangle, positioned at an off... | trimo_height=8;
trimo_side=40;
trimo_corner_radius=2;
trimo_text_font="Concert One";
trimo_text_size=10;
trimo_text_relief=0.65;
trimo_text_offset_factor=-0.4;
trimo_padding_x=-10;
trimo_padding_y=0;
trimos_set_1 = [
[5,5,5],
[5,5,4],
[5,5,3],
[5,5,2],
[5,5,1],
[5,4,4],
[5,4,3],
[5,4... | glb/cad_906c9af811a8.glb |
Create a stackable components bin with an exterior width of 72mm, length of 150mm, and height of 45mm. The main body should be a hollow rectangular shell with rounded corners of 3mm and a wall thickness of 2mm. To allow for stacking, add a smaller rounded rectangular protrusion at the bottom, measuring 67mm by 140mm wi... | box_width = 72;
box_length = 150;
box_height = 45;
box_corner_radius = 3;
box_wall_width = 2;
handle_width = 40;
handle_length = 10;
handle_thickness = 3;
handle_z_pct = 0.30;
$fn = 36 * 1;
Draw_Divider_1 = true;
Draw_Divider_2 = true;
union(){
difference() {
union(){
drawBoxVolume(box_co... | glb/cad_419f82fccdff.glb |
Create an FPV X Quad bracket by combining two rounded rectangular prisms. First, construct a main vertical body with a width of 20mm, a depth of 10mm, and a height of 25mm, ensuring all corners are rounded with a 5mm radius. On top of this body, add a second rounded rectangular slab that is 20mm wide, 20mm deep, and 4m... | bracket_width = 20;
bracket_inner_height = 25;
bracket_lip_height = 4;
bracket_outer_height = bracket_inner_height + bracket_lip_height;
bracket_inner_depth = 10;
bracket_lip_depth = 10;
bracket_outer_depth = bracket_inner_depth + bracket_lip_depth;
holes_dia = 4;
holes_countersink_dia = 8;
holes_countersink_depth = 3... | glb/cad_caa4bcd4f019.glb |
Create a full cover for a Dennerle NanoCube 10L aquarium. Start by creating a square plate measuring 158mm by 158mm with a thickness of 2mm. Round all four corners of this plate with a radius of 11mm. In the center of this plate, create a rectangular cutout measuring 77mm by 97mm. To ensure the cutout is precisely cent... | $fn=90;
L=77;
B=97;
difference(){
minkowski(){
cube([158,158,2]);
cylinder(r=11,h=2);
}
translate([30,30]){
cube([77,97,2]);
translate([4,4])
cube([69,89,4]);
}
} | glb/cad_59c7f65220cf.glb |
Create a Swatchbox with insert by constructing a rectangular plate with rounded corners. The main body should be 73mm wide, 30mm high, and 1.5mm thick.
On the top surface, create embossed text that reads "PLA Carbon" centered on the plate. To the left of this main text, add a smaller embossed version of the text "v1.... | own_Material = "PLA Carbon";
own_version = "v1.0";
textsize_upper=9;
textsize_lower=5;
texttop_predefined="P L A";
texttop_configurable=" ";
fontname="Oswald:style=Bold";
text_type="embossed";
test_patterns="disabled";
test_circles=5;
steps_text="enabled";
steps_textsize=5;
steps_textheight=.4;
steps_text_f... | glb/cad_576dfc7df017.glb |
Create a Pliers/Scissor modification tool with a total height of 5mm. Start with a main structure consisting of a central cylinder with a radius of 35mm and a connected rectangular block 115mm long, 70mm wide, and 5mm high.
Extend the structure by adding two symmetrical arms. Each arm is formed by the hull of two cyl... | height=5;
R=35;
length=115;
rfinger=10;
module main_structure(){
cylinder(h=height, r=R, center=true);
translate([length/2, 0, 0])
cube([length, 2*R, height], center=true);
hull(){
translate([length-3*rfinger+height,R+height,0])
hull(){
cylinder(h=height,r=rfinger+height,cente... | glb/cad_43d5eb7263af.glb |
Create a smartphone stand consisting of two identical conical supports connected by a central base. Each support is a truncated cone with a bottom diameter of 30mm, a top diameter of 10mm, and a height of 35mm. Position these two cones 40mm apart, center-to-center, along the x-axis. To form the connecting base, create ... | $fn=120;
module cones() {
cylinder(d1=30,d2=10,h=35);
translate([40,0,0]) cylinder(d1=30,d2=10,h=35);
}
module rest() {
linear_extrude(3) hull() offset(3) projection() cones();
translate([5,-25,0]) {
cube([30,10,3]);
cube([30,4,10]);
}
}
module all() { cones(); rest(); }
difference () {
all();
translate([0,0,... | glb/cad_df8487034c26.glb |
Create a half-hexagon bezel for a Govee Hex LED Panel. Start by constructing a solid regular hexagon with a flat-to-flat width (cle) of 155mm and a height of 19mm. From the center of this shape, remove a smaller concentric hexagonal volume with a flat-to-flat width of 142mm and a height of 15mm, centered vertically so ... | use <Hexagones.scad>;
hexa1_side=155;
hexa1_height=19;
hexa2_side=142;
hexa2_height=15;
$fn = 150 ;
module full_hex(){
difference(){
Hexagone(cle=hexa1_side,h=hexa1_height);
translate([0,0,-(hexa1_height-hexa2_height)/2]){
Hexagone(cle=hexa2_side,h=hexa2_height);
}
}
}
module half_hex() {
differe... | glb/cad_394cf34c2a1b.glb |
Create a Govee Hex Panel parametric model by constructing a regular flat hexagon with a height of 1mm. The hexagon should be defined by a width across the flats (the distance between two opposite parallel sides) of 80mm. Ensure the geometry is a solid, closed hexagonal prism with precise 120-degree interior angles and ... | $fn = 150 ;
Hexagone(cle=80,h=1);
module Hexagone(cle,h)
{
angle = 360/6;
cote = cle * cot(angle);
echo(angle, cot(angle), cote);
echo(acos(.6));
union()
{
rotate([0,0,0])
cube([cle,cote,h],center=true);
rotate([0,0,angle])
cube([cle,cote,h],center=true);
rotate([0,0,2*angle])
cube([cle,cote,h],... | glb/cad_29d9cdc753d7.glb |
Create a piggy bank nose component. Start by creating a base cylinder with a diameter of 52mm and a height of 5mm. On top of this base, add a second cylinder with a height of 30mm and a diameter of 32mm, centered on the base. Around the top edge of this second cylinder, add a torus-shaped ring with a diameter of 3mm. T... | $fs = 0.3;
$fa = 0.3;
d=52;
h1 = 5;
h2 = 30;
ringd = 3;
sub = 10;
module nose() {
difference() {
union() {
cylinder(h=h1, d=d);
scale([1.2,1,1]) {
translate([0,0,h1]) cylinder(h=h2, d=d-2*sub + ringd);
translate([0,0,h1 + h2]) {
rot... | glb/cad_513fed2635a1.glb |
Create a piggy bank for spools consisting of a central ring and four radiating arms. Start by creating a main ring with an outer diameter of 52mm and a height of 8mm. Hollow out the center of this ring to create a wall thickness of 5mm, resulting in an inner diameter of 42mm.
Extend four rectangular arms from the rin... | $fs = 0.3;
$fa = 0.3;
d=52;
z = 4;
steg_y = 10;
module steg() {
difference() {
union() {
translate([0,0,z/2]) cube([205, steg_y, z], true);
}
translate([100 - 5, 0,-0.5]) cylinder(h=16, d=5);
translate([-(100 - 5), 0, -0.5]) cylinder(h=16, d=5);
cylinder(h=... | glb/cad_7dc7dc668df2.glb |
Create a card divider measuring 68mm wide by 99mm high with a total thickness of 3.2mm. The main body is a rectangle 68mm wide by 90mm high with rounded corners and a thickness of 1.6mm. This body features a honeycomb cutout pattern with a wall thickness of 2mm and a cell size of 20.5mm.
Attached to the top of the bod... | use <hex-grid.scad>;
card_width = 66;
card_height = 88;
body_width = card_width + 2;
body_height = card_height + 2;
body_thickness = 1.6;
header_width = 59;
header_height = 9;
header_text_size = 7;
mana_combination = 30;
ALL_MANA_COMBINATIONS = [
"",
"",
"",
"",
"",
"",
"",
... | glb/cad_44292fa7cbe2.glb |
Create a fan funnel for an 80mm fan. Start with a square mounting plate measuring 80mm by 80mm with a thickness of 4mm. In the center of this plate, create a circular cutout with a diameter of 76mm. At the four corners of the plate, add four small circular mounting holes with a radius of 1.95mm each, positioned 71.4mm ... | $fn=150;
layerHeigth=0.2;
fanXY=80;
fanZ=18;
cutoutHoleDia=37;
cutoutHoleR=cutoutHoleDia/2;
cutoutTubeLen=30;
wallThickness=2;
screwR=1.95;
screwDistance=71.4;
fanHole=76;
frontPlateThickness=4;
module mountingScrewHoles()
{
cylinder(r=screwR, h=frontPlateThickness, center=false);
translate([screwDistance,0,0]... | glb/cad_1b65448a56bc.glb |
Create a Polynomial Lamp Shade by generating a revolved solid of revolution with a total height of 240mm. The profile of the object is defined by a polynomial interpolation of five specific radial points along the vertical axis: at 0mm height, the radius is 30mm; at 10mm, it is 30mm; at 125mm, it expands to 95mm; at 21... | height = 240;
steps = 50;
top_hole_dia = 42;
top_hole_rim = 9;
top_height = 2;
rim = top_hole_rim;
p5_2= [
[0, top_hole_dia/2+2*rim + 2],
[10, top_hole_dia/2+2*rim + 2],
[height/2+5,95],
[height*9/10,92],
[height,90]];
start_x = 0;
end_x = height;
step_x = height/steps;
echo... | glb/cad_edccaeb21761.glb |
Create a pair of pliers with a total thickness of 5mm. The tool consists of two symmetrical handles and a gripping head.
Start by creating the handles. Each handle is formed by a combination of a circular finger loop and a connecting arm. The finger loops are rings with an outer radius of 38mm and an inner radius of 3... | use<plier.jpg.scad>;
use<polyholes.scad>;
height = 5;
module dedo_diff_r(){
translate([187,85,0])
color([0,0,0])
scale([1.4,1,1])
cylinder(r=30, h=height*2, center=true);
}
module dedo_diff_l(){
translate([187,-85,0])
color([0,0,0])
scale([1.4,1,1])
cylinder(r=30, h=height*2, center=... | glb/cad_5b95ca632c34.glb |
Create a Scissor model consisting of two symmetrical arms joined by a central pivot. Each arm is composed of a long, flat blade section and a curved finger loop handle.
For the blades, create two mirrored elongated shapes, each 5mm thick. The blades should be 15mm wide and 55mm long, tapering slightly toward the cutt... | $fn = 32;
height = 5;
cut_height = 6;
cut = -(cut_height - height) / 2;
blade_width = 15;
blade_size = 55;
finger_r = 22;
module body(r, h = height, distance){
hull(){
translate([distance,0,0])
cylinder(h=h, r1=r, r2=r);
translate([0,0,0])
cylinder(h=h, r1=r, r2=r);
}
}
m... | glb/cad_3b1e3195ca51.glb |
Create a box latch for a custom case with a total width of 48mm, a length of 27.7mm, and a base thickness of 2.5mm.
Start by forming the main body as a flat rectangular plate with rounded corners (radius 0.83mm). On the top surface, integrate a grip section that is 7.7mm high and 6.7mm long. This grip area should be ... | module __end_customizer_options__() { }
$fa = $preview ? $fa / 2 : 2;
$fs = $preview ? $fs / 2 : 0.4;
latch_width = 48;
latch_length = 27.7;
latch_thickness = 2.5;
grip_height = 7.7;
grip_length = 6.7;
grip_separation = 1.5;
grip_separation_setback = 9.75;
grip_segment_width = (latch_width - 2 * grip_separation ) /... | glb/cad_e4cd72474ddd.glb |
Create a Strap Clamp Corner designed to hold a 1-inch wide strap. The main body is a rectangular block with a height of 35mm, a width of 30mm, and a thickness of 15mm.
Cut a smooth, continuous tunnel through the center of the block to accommodate the strap. This tunnel consists of a 2.5mm wide slot that follows a 90-... | include <lib_markus.scad>
bevel = 0.7;
corner90(29, 70, 25);
module corner90(slotHeight, height, gapHeight) {
difference() {
shell(slotHeight, height, gapHeight);
inner(slotHeight, height);
}
}
module inner(slotHeight, height) {
translate([30/2, 2.5/2+10, height/2]) cube(size=[30+0.02, 2.5, slotHei... | glb/cad_9fbb3d5bfc1b.glb |
Create a face mask ear saver accessory with a thickness of 1.3mm. The main body is a flat strip 53mm long and 15mm wide. At one end, create a circular head with a diameter of 15mm, featuring a centered circular hole 3.5mm in diameter that passes through the thickness.
From the circular head, extend the body into a re... | Saver_lenght = 53;
Saver_width = 15;
Saver_thickness = 1.3;
Notch_angle = 23;
Hole_diameter = 3.5;
Slot_width = 0.5;
Slot_angle = 212;
$fn=64;
Correction = Saver_width/6/cos(Notch_angle);
a = Saver_width/2 - Correction;
b = a / tan(Notch_angle);
c = a / sin(Notch_angle);
r_inner_circle = (a + b - c)/2;
Hook_lengh... | glb/cad_4ceebc68d8f2.glb |
Create a face mask hanger consisting of a rectangular base and a series of protruding arms. Start with a base plate that is 240mm long, 15mm high, and 3mm thick.
Along the length of this base, add six arms spaced 36mm apart. Each arm is created by joining two rectangular sections: a vertical support that is 15mm high... | Mask_width = 100;
Generate_mask = true;
Base_lenght = 240;
Base_height = 15;
Base_thickness = 3;
Arm_lenght = 55;
Arm_bracket_span = 15;
Arm_thickness = 2;
Arm_Distance = 36;
Hook_lenght = 20;
Hook_height = 10;
Hook_thickness = 2;
Hook_angle = 71;
Hook_slant = 1.5;
Hook_notch = 5;
Number_of_hooks = floor((Base... | glb/cad_90329c0ea9a7.glb |
Create a "Kasse" piggybank by constructing a hollow rectangular box with a total length of 110mm, a height of 90mm, and a depth of 65mm.
On the front face, create a large, stylized capital letter "K" that is 110mm tall. Positioned below and to the right of the "K", add the lowercase text "asse" with a font size of 45... | $fn=100;
$text1="K";
$text2="asse";
$length=110;
$height=90;
$height2=27;
$font="Noto Sans:style=Black";
$lang="de";
rotate([90,0,0]) {
difference() {
union() {
translate([-15,0,-17.5]) linear_extrude(height=65, center=true, convexity=10) text($text1, size=110, font=$font, halign="left", valign=... | glb/cad_a1fd74c73613.glb |
Create a "Kasse" piggy bank lid. Start by creating a base disc with a radius of 21mm and a height of 1mm. On top of this base, center a second cylinder with a radius of 18mm and a height of 7mm. To create the interior cavity, remove a central cylinder with a radius of 17mm and a height of 6mm from the bottom of the mod... | $fn=100;
difference() {
union() {
translate([0,0,0]) cylinder(h=1, r1=21, r2=20);
translate([0,0,1]) cylinder(h=7, r1=18, r2=18);
translate([-20,-2,6]) cube([4,4,2]);
translate([16,-2,6]) cube([4,4,2]);
};
translate([0,0,-1]) cylinder(h=6, r1=17, r2=17);
};
translate([-17,-2... | glb/cad_edd03ca8aab3.glb |
Create an Embossing Die Creator consisting of two separate mirrored components: a lower die tray and an upper die.
First, create the lower die tray by starting with a base block 35mm wide, 35mm deep, and 3.6mm high. From the top face of this block, remove a central square area 35mm by 35mm and 0.5mm deep, but leave a... | draw_text_dies(flip);
text = "\u24B7";
font = "Segoe UI Symbol";
font_size = 24;
die_height = 1;
flip = "Y";
module
draw_image_dies(flip)
{
difference()
{
translate([ -20, 0, 2.7 ]) get_die();
translate([ -20, 0, 2.7 ]) get_image(flip);
}
translate([ -20, 0, 2.7 ]) add_base();
... | glb/cad_1d44e86aba3a.glb |
Create a piggy bank lid consisting of a circular base and a raised central plug with locking notches. Start by creating a flat circular base with a diameter of 60mm and a thickness of 3mm. Centered on this base, add a cylinder with a diameter of 50mm and a total height of 13mm.
To create the locking mechanism, add tw... | Hole_Diameter = 50;
Notch_Width = 10;
Notch_Size = 5;
Notch_Count = 2;
Height = 5;
Base_Size = 60;
Base_Thickness = 3;
difference(){
union(){
cylinder(Base_Thickness + Height + Notch_Size, d = Hole_Diameter);
linear_extrude(height = Base_Thickness){
circle(d = Base_Size);
}
... | glb/cad_fdd74e629e56.glb |
Create a wardrobe closet rod bracket consisting of a circular base and a U-shaped support. Start with a circular base plate with a radius of 32.5mm and a thickness of 15mm. In the center of this base, create a vertical cylindrical cutout with a radius of 12.75mm and a height of 30mm to accommodate a rod. This cutout sh... | r = 65/2;
r2 = 25.5/2;
r3=38/2;
h=15;
l=38;
$fa=1;
$fs=0.2;
difference() {
union(){
difference() {
cylinder(5,r,r);
translate([0,-r+8,3.1]) cylinder(2,2,4);
translate([0,-r+8,-1]) cylinder(7,2,2);
translate([r-7,8,3.1]) cylinder(2,2,4);
translate([r-7,8,-1]) cylinder(7,2,2);
translate([-r+7,8,3.1]) cylinder(2... | glb/cad_7441e0d29b05.glb |
Create a keyhole and handle cover consisting of a main circular base and two protruding cylindrical mounting posts.
Start with a main cylinder that has a radius of 25mm and a height of 4mm. From this base, remove a central circular hole with a radius of 5mm and a rectangular slot measuring 5mm wide by 8mm long, cente... | module polyhole(h, d) {
n = max(round(2 * d),3);
rotate([0,0,180])
cylinder(h = h, r = (d / 2) / cos (180 / n), $fn = n);
}
module bolt_replacement(delta) {
difference() {
translate([0, 0, 4]) cylinder(h=20 + 5 + 0.1*delta, r=bolt_hole_r+0.1*delta);
for (i = [0:2]) {
translate([-bolt_hole_r, bo... | glb/cad_00a97479aefd.glb |
Create a keyhole and handle cover consisting of a main circular disk and two protruding cylindrical mounting posts.
Start with a main disk that has a radius of 25mm and a thickness of 4mm. In the center of this disk, create a circular hole with a radius of 8.8mm that passes completely through the thickness. The outer... | module polyhole(h, d) {
n = max(round(2 * d),3);
rotate([0,0,180])
cylinder(h = h, r = (d / 2) / cos (180 / n), $fn = n);
}
module bolt_replacement(delta) {
difference() {
translate([0, 0, 4]) cylinder(h=20 + 5 + 0.1*delta, r=bolt_hole_r+0.1*delta);
for (i = [0:2]) {
translate([-bolt_hole_r, bo... | glb/cad_8b0dc737fdeb.glb |
Create a Small Parametric Temperature Tower consisting of a base plate and seven stacked tiers. Start with a rectangular floor plate measuring 25mm x 5mm x 0.8mm.
Construct seven identical tiers, each 5mm high, stacked vertically starting from the plate. Each tier is a 25mm x 5mm x 5mm block with a central cavity mea... | TempBase = 220;
TempIncrease = -10;
Tiers = 7;
FullTower = true;
SideText = "PLA";
PlateHeight = 0.8;
Font = "Liberation Sans:style=bold";
EngraveDepth = 0.3;
$fn = 90;
module FullTier(temperature) {
difference() {
cube([25, 5, 5]);
translate([12, -1, 0]) cube([12, 10, 5 - PlateHeight]);
... | glb/cad_0007a7131263.glb |
Create two mirrored wrist support towers. For each tower, construct a base block 40mm wide, 15mm deep, and 35mm high. The vertical sides of the block should be rounded with a radius of 7.5mm, creating a capsule-like footprint. The top surface must be angled at 15 degrees along the width and sloped by a 4-degree draft. ... | width = 40;
height = 35;
depth = 15;
angle = 15;
draft = 4;
mag_dia = 8.2;
mag_height = 2;
$fn = 180;
module wrist_support() {
r = depth/2;
difference() {
union() {
translate([r, r, 0])
cylinder(h=height, r=r);
translate([r, 0, 0])
cube([width-2*r... | glb/cad_eddb9a8bde1a.glb |
Create a BLTouch raiser consisting of two mounting plates connected by a central wall. First, create a base mounting plate for the extruder as a rounded rectangular prism measuring 25mm in length, 15mm in width, and 3mm in height. Drill two vertical holes with a radius of 1.5mm, positioned 2.5mm plus the hole radius fr... | include <openscad_common/rounded_figures.scad>
bltouch_size = [25, 10, 3];
extruder_size = [25, 15, 3];
screw_hole_radius = 1.5;
extra_height = 3.6;
wall_thickness = 4;
sprite_pro_extruder_thickness = 3.5;
wall_height = bltouch_size[2]*2 + extra_height;
bltouch_mount_thickness = 1.9;
module bltouch_mount(bltouch_... | glb/cad_de498fa306e3.glb |
Create a Reximex RP/RPA adjustable grub screw sight. Start by constructing a rectangular base with a width of 8mm, a height of 5mm, and a total length of 35mm. One end of the base should be rounded with a radius of 4mm, creating a semi-circular cap.
On the top surface of the base, create two distinct holes. The first... | include <scad-utils/morphology.scad>
$fn=120;
width = 8;
height = 5;
length = 35;
hole_d = 3;
hole_offset = 25;
insert_d = 4.5;
sight_offset = 9;
screw_head_d = 6;
screw_head_h = 2;
cut_l = 24;
cut_h_lower = 2;
module screw_cut() {
union() {
cylinder(d=3, h=cut_h_lower);
translate([0, 0, cut_h_lower]) c... | glb/cad_c3283b5ca0f9.glb |
Create a gutter hook for Christmas lights consisting of two concentric circular arcs of rectangular cross-section, where the cross-section for both parts is 2mm wide and 2mm thick. First, create a large primary C-clamp by sweeping the 2mm square profile along a circular path with a diameter of 23.8mm. This clamp should... | $fa = 1;
$fs = 0.4;
gutter_dia = 19.8;
wall_t = 2;
hook_w = 2;
cable_dia = 6;
cc_opening = 80;
hook_opening = 90;
union()
{
rotate_extrude(angle=360-hook_opening, convexity=10)
translate([(gutter_dia+wall_t)*0.5, 0])
square([wall_t, hook_w], center=true);
translate([(gutter_d... | glb/cad_eb1bed78d74f.glb |
Create a tile levelling wedge by starting with a solid rectangular block that is 9.5mm wide, 50mm long, and 10mm high. To create the grip texture on the top surface, remove a series of thin, parallel rectangular slots across the entire length of the wedge. Each slot must be 1mm wide and angled at a 25-degree incline re... | length = 50;
width = 9.5;
height = 10;
notch_width = 1;
notch_incline = 25;
$fa = 1;
$fs = .1;
area = height / length;
horizontal_incline = notch_incline < 20 ?
area * notch_width:
sqrt((notch_width^2) - ((notch_width * cos(notch_incline))^2));
module wedge(l, w, h) {
difference() {
cube([w, l, h*1.1]);
... | glb/cad_6cf9634d47a4.glb |
Create a guitar pedal enclosure consisting of a main box and a removable back plate. The main box is a rectangular prism measuring 128mm in length, 64mm in width, and 32mm in depth. Hollow out the center of the box to create a shell with a wall thickness of 4mm.
On the top surface, create several circular cutouts for ... | module enclosure() {
length = 128;
width = 64;
depth = 32;
cylinderPrecision = .5;
module mainBox() {
difference() {
cube([length, width, depth], center = true);
translate([0, 0, -4]) cube([length - 8, width - 8, depth], center = true);
bevelX([0, 34, 18... | glb/cad_f6da84089c92.glb |
Create a vacuum coupler by constructing a hollow cylinder with a total height of 50mm and an outer diameter of 39.8mm. To create the interior cavity, remove two stacked conical sections from the center of the cylinder. The first conical void should be 25mm tall, centered 12.5mm above the midpoint, tapering from a radiu... | height = 50;
inner_diameter = 33.8/2;
thickness = 3;
$fn = 128;
difference(){
cylinder(h = height, r = inner_diameter + thickness, center = true);
translate([0,0,height/4])
cylinder(h = height/2, r1 = inner_diameter - .25, r2 = inner_diameter + .25 , center = true);
translate([0,0,-height/4])
... | glb/cad_0b39bc6ff36f.glb |
Create a balance knob for a receiver with a total diameter of 14mm and a height of 20mm. The main body is a cylinder with a rounded top edge of 1mm radius.
Inside the knob, create a D-shaped shaft hole with a depth of 11.1mm. The circular part of this shaft has a radius of 3.1mm, but a flat section is cut out from th... | Knob_Diameter=14;
Knob_Height=20;
Axis_Lenght=11.1;
Rounded=1;
Ajustment=0.1;
TopIndicator = 1;
FullSideIndicator = 1;
HalfSideIndicator = 0;
KnobKnurls = 0;
CurvedKnobSides = 1;
$fn=128;
difference() {
union() {
cylinder(r=Knob_Diameter/2,h=Knob_Height-Rounded);
translate([0,0,Knob_Height-Rounded]... | glb/cad_eb857c149847.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.