Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a printable LM8UU-sized bushing by starting with a solid cylinder that has an outer diameter of 15mm and a total height of 24mm. To create the internal bore, remove a central square-shaped column from the top and bottom of the cylinder. This central cutout should be a square with a side length of approximately 5... | lm8uu_od = 15;
lm8uu_l = 24;
lm8uu_id = 7.8;
clearance_ratio = 1.05;
contact_length = 4;
cutout_width = lm8uu_id / sqrt(2);
%translate([0, 0, -lm8uu_l]) cylinder(r = lm8uu_id / 2, h=lm8uu_l * 3, $fn=256);
difference() {
cylinder(r=lm8uu_od / 2, h=lm8uu_l, $fn=128);
translate([-cutout_width / 2, -lm8uu_id * clear... | glb/cad_f3e0dfe785e2.glb |
Create a parametric loom heddle by starting with a solid rectangular base measuring 12.5mm in length, 20mm in width, and 1mm in height. From this base, remove a central rectangular section measuring 10mm by 20mm, positioned 2.5mm from the front and 2.5mm from the sides, to create a thin outer frame. Within this frame, ... | warp_count = 20;
warp_diameter = .5;
heddle_height = 10;
2Dv3D = "3D";
warp_dia = warp_diameter;
weft_dia = warp_dia;
shaft_width = warp_dia + weft_dia ;
heddle_frame_width = 5*warp_dia;
heddle_frame = heddle_frame_width * 2;
heddle_width = shaft_width * warp_count;
tt = 0.1;
if (2Dv3D=="2D") {
projection() h... | glb/cad_f95df03ba8f2.glb |
Create a Z Stabilizer Top-of-Rod Clamp by starting with a rectangular base that is 40mm wide, 30mm deep, and 5mm thick. The corners of this base should be rounded with a 5mm radius. Centered within this base, create a vertical cylindrical hole with a diameter of 12mm that passes completely through the 5mm thickness.
... | difference(){
linear_extrude(height=5){
difference(){
translate([5,5,0])
minkowski(){
square([30,15]);
circle(5,$fn=20);
}
translate([5,4,0])circle(2,$fn=10);
translate([35,4,0])circle(2,$fn=10);
translate([5,21,0])circle(2,$fn=10);
translate([35,21,0])circle(2,$fn=10);
}
}
rotate([0,90,0])
translate([-3,0,-5])
linea... | glb/cad_d900700a5e60.glb |
Create a Z Stabilizer Top-of-Rod Clamp by starting with a rectangular base that is 40mm wide, 25mm deep, and 5mm thick. The base has rounded corners with a radius of 5mm. Centered within this base, create a horizontal cylindrical hole 8mm in diameter that passes completely through the 25mm depth to accommodate a rod.
... | difference(){
linear_extrude(height=5){
difference(){
translate([5,5,0])
minkowski(){
square([30,15]);
circle(5,$fn=20);
}
translate([5,5,0])circle(2,$fn=10);
translate([35,5,0])circle(2,$fn=10);
translate([5,20,0])circle(2,$fn=10);
translate([35,20,0])circle(2,$fn=10);
}
}
rotate([0,90,0])
translate([-2,0,-5])
linea... | glb/cad_5bf302ca3258.glb |
Create a folding camp table tip consisting of two main cylindrical sections. First, construct a base cylinder with a radius of 9.3mm and a height of 22.75mm. Remove a smaller concentric cylinder from the center of this base with a radius of 6.93mm and a height of 23mm to create a hollow sleeve. Additionally, cut a rect... | module tip()
{
union()
{
color("blue")
cylinder(r1=6.3 , r2=5.6 , h=16.20, $fn=50);
translate([0, 0, -20.5])
cylinder(r=4.5, h=27.5, $fn=55);
rotate([180, 0, 0])
union()
{
difference()
{
color("green")
translate([0, 0, 0])
cylinder(r=9.3, h=22.75, $fn=60);
translate([... | glb/cad_32e73756aeaf.glb |
Create two identical folding camp table tips. For each tip, start with a main cylinder that has a radius of 9.15mm and a height of 38.24mm. At the base of this cylinder, create a wider cylindrical peg with a radius of 10mm and a height of 15mm, but remove a conical section from its center that tapers from a radius of 5... | difference()
{
cylinder(r=9.15,h=38.24,$fn=80);
difference(){
}
difference()
{
translate([0,0,-0.5])
cylinder(r=10,h=15,$fn=80);
cylinder(r1=5.65,r2=6.30,h=16,$fn=80);
}
translate([6.25,-12,12])
cube([4,24,28]);
translate([... | glb/cad_50089814e056.glb |
Create a Coner spacer by constructing a tapered solid cylinder with a height of 10mm. The outer shape should be a frustum with a base diameter of 15mm and a top diameter of 5mm, using a facet resolution of 30 sides. Remove a concentric tapered hole from the center of the solid that runs the full height of the object; t... | smoother = 30;
conerh = 10;
holeidb = 5;
holeidt = 3;
conerodb = 15;
conerodt = 5;
coner(conerh,holeidb,holeidt,conerodb,conerodt);
module coner(conerh,holeidb,holeidt,conerodb,conerodt) {
holerb = holeidb / 2;
holert = holeidt / 2;
conerorb = conerodb / 2;
conerort = conerodt / 2;
difference() {... | glb/cad_dd432ef25fc3.glb |
Create a Desk Clamp for Articulating Desk Lamps. Start by constructing a solid cylinder with a radius of 12.5mm and a height of 9mm. Attach a rectangular block to the top of this cylinder, centered on the X-axis, with a width of 25mm, a depth of 22.5mm, and a height of 9mm. From the center of this combined mass, remove... | difference(){
union(){
cylinder(9,20,25/2, $fn=60);
linear_extrude(height=9)translate([-25/2,0])square([25,22.5]);
}
cylinder(9,13/2,13/2, $fn=40);
translate([-2.5,12.6])polyhedron(
points=[ [-2,0,0],[7,0,0],[5,10,0],[0,10,0],
[-4,-2,9],[9,-2,9],[7,10,9],[-2,10,9]],
triangles=[ [0,1,4],[4,1,5],[1,2,5],[... | glb/cad_a53adff1f700.glb |
Create a Desk Clamp for Articulating Desk Lamps. Start with a main cylindrical body 15mm wide and 9.4mm high. From the center of this cylinder, remove a vertical hole 4.7mm in radius that extends 6.2mm deep, and a smaller concentric hole 3.125mm in radius that extends 4mm deep from the bottom.
To create the outer gri... | union(){
difference(){
translate([0,0,-3.3])linear_extrude(height=9.4)circle(30/2);
union(){
linear_extrude(height=6.2)circle(9.4/2);
translate([0,0,-3.3])linear_extrude(height=4)circle(6.25/2,$fn=20);
}
for ( i = [1 : 3] ){
translate([0,0,-5])linear_extrude(height=15)rotate(i*120,[0,0,1])translate([29.005,0,0])cir... | glb/cad_40b2b2fd9517.glb |
Create a Desk Clamp for Articulating Desk Lamps. Start with a central cylinder 15mm in diameter and 7.3mm high. From this cylinder, remove a central vertical hole 3.125mm in diameter.
Create a hexagonal nut trap by removing a hexagonal prism from the center of the cylinder; the hexagon should have a flat-to-flat widt... | union(){
difference(){
translate([0,0,-3.3])linear_extrude(height=7.3)circle(30/2);
union(){
linear_extrude(height=4)
polygon([[11.11/2,11.11*sqrt(3)/6],[0,11.11*sqrt(3)/3],[-11.11/2,11.11*sqrt(3)/6],[-11.11/2,-11.11*sqrt(3)/6],[0,-11.11*sqrt(3)/3],[11.11/2,-11.11*sqrt(3)/6]]);
translate([0,0,-3.3])linear_extrude(he... | glb/cad_857acb7933f9.glb |
Create a Desk Clamp for Articulating Desk Lamps. Start with a main block that is 60mm wide, 80mm long, and 25mm thick. Round the four outer corners of this block with a 5mm radius. From the top face, remove a rectangular section 23mm wide and 50mm long, centered along the length, to create a C-shaped channel.
At the o... | difference(){
union(){
translate([42.5,85,0])rotate([90,0,0])linear_extrude(height=23)difference(){
circle(25/2);
circle(13/2);
}
translate([0,0,-12.5]){
linear_extrude(height=25){
difference(){
translate([5,5,0]){
minkowski(){
square([45,70]);
circle(5);
}
}
translate([15,12,0])square([50,50]);
translate([55-11.5,80-2... | glb/cad_791212cf5ec8.glb |
Create a Desk Clamp for Articulating Desk Lamps by constructing a truncated cone with a hexagonal hole through its center. Start with a cylinder that has a radius of 8mm, a height of 10mm, and a 50-facet resolution. From this cylinder, remove a hexagonal prism centered on the Z-axis. This hexagonal cutout should have a... | difference(){
translate([0,0,-4])cylinder(8,12.5,10,$fn=50);
linear_extrude(height=4)
polygon([[11.11/2,11.11*sqrt(3)/6],[0,11.11*sqrt(3)/3],[-11.11/2,11.11*sqrt(3)/6],[-11.11/2,-11.11*sqrt(3)/6],[0,-11.11*sqrt(3)/3],[11.11/2,-11.11*sqrt(3)/6]]);
} | glb/cad_aecc954aeb49.glb |
Create a Dryer Door Handle by starting with a main rectangular body that is 98mm wide, 46mm deep, and 28mm high. Soften all edges of this body using a 5mm radius fillet. To form the grip, remove a large rectangular section from the center of the body, leaving a solid outer frame and a raised handle section. Specificall... | difference()
{
union()
{
difference()
{
union()
{
$fn=50;
minkowski()
{
cube([94,50,25]);
sphere(5);
}
translate([-7,-15,-7])
rotate([18,0,0])
cube([108,80,3]);
}
translate([-2,-8,-1.5])
cube([98,46,28]);
}
}
rotate([18,0,0])
translate([-10,-8,1])
cube([112,30,35]... | glb/cad_683ef224a301.glb |
Create a Dryer Door Handle consisting of a main rectangular body with rounded edges and specific mounting tabs. Start with a base block 94mm wide, 50mm deep, and 25mm thick, but apply a 5mm radius fillet to all edges to soften the corners. Remove a large rectangular section from the center to create a hollowed-out grip... | difference()
{
union()
{
difference()
{
union()
{
$fn=50;
minkowski()
{
cube([94,50,25]);
sphere(5);
}
translate([-7,-15,-7])
rotate([18,0,0])
cube([108,80,3]);
}
translate([-2,-8,-1.5])
cube([98,46,28]);
}
}
rotate([18,0,0])
translate([-10,-8,1])
cube([112,30,35]... | glb/cad_9e60593da20b.glb |
Create a curved lithophane panel. The overall dimensions of the flat surface are 99mm by 99mm. The panel is composed of 20 segments (10 on each side of the center) that are rotated to create a curved shape. Each segment is a slice with a thickness of 10mm.
The thickness of the panel varies across its surface based on ... | tile_height=47;
bend_factor=2;
sz=100;
num_face=10;
xtra=3;
image_file = "image-surface.dat";
hole_diameter = 0;
hole_border = 0;
lithophane_border = 0;
layer_height = 0.2;
number_of_layers = 12;
s=0.01;
length = 99;
width = 99;
z=sz/num_face;
min_layer_height = layer_height*2;
hole_radius = hole_diameter/2;
hei... | glb/cad_c7e093700298.glb |
Create a Marble Turntable with Gear by constructing a central gear assembly. Start with a main cylindrical body that has a diameter of 117mm and a height of 10mm. On the top and bottom faces of this cylinder, add two identical gear layers, each 5mm thick, with an outer diameter of 157mm (calculated as 100 + 2 * 16.5 + ... | use <publicDomainGearV1.1.scad>;
$fn = 100;
size = 16.5;
raildia =47.5;
railwall = 5;
echo (railwall);
screw = 3.5;
num = 4;
dist = 31.5/2;
gears = true;
bscrew = 3.5;
thickness = 4;
mountnum = 6;
servomount();
module servomount()
{
difference()
{
gears(8);
screwhole(13.5/2,4,3.5,20,false);
cy... | glb/cad_d93e1bf7617d.glb |
Create a cube with a side length of 20mm. Centered on the cube, add a cylinder with a radius of 10mm and a height of 22mm, oriented so that its flat circular faces are parallel to the cube's side faces. Finally, bore a vertical hole through the center of the top face with a diameter of 2.5mm and a depth of 1mm. | cube_size = 20;
hole_diameter = 2.5;
hole_radius = hole_diameter/2;
hole_depth = 1;
show_wheels = "yes";
wheel_thickness = 1;
function BEZ03(u) = pow((1-u), 3);
bing = 3+4;
baz = 3 / hole_depth;
difference() {
union() {
translate([0, 0, cube_size/2]) cube([cube_size,cube_size,cube_size], center=true);
... | glb/cad_bca3204dab3f.glb |
Create a 20-sided die (icosahedron) where every face is engraved with the number 20, scaled so that the overall diameter of the die is 30mm. Position this die centered above a thin, circular base disc. The base disc should have a diameter of 40mm and a height of 2mm. Place the icosahedron so that there is a small gap o... | scale(0.3)
import_stl("d20/iroll20s.ms.0.stl");
translate([0,0,-1-0.25])
cylinder(h=2, r=20,center=true); | glb/cad_5c956a225ea6.glb |
Create a Port Wine Glass consisting of a circular base, a slender stem, and a bowl. Start by creating a cylindrical base with a radius of 20mm and a height of 20mm. Above this, construct a stem by joining two mirrored sections; each section is the intersection of a cylinder with a radius of 10mm and a height of 40mm, a... | module box(x = 10, y = 20, z = 30, center = false)
{
scale([x,y,z])
{
cube(1, center = center);
}
}
module cone(radius = 10, height = 20, center = false)
{
cylinder(height, radius, 0, center = center);
}
module tube(outer = 20, inner = 10, height = 100, center = false)
{
difference()
{
cylinder(r = outer, h... | glb/cad_4ed0a3b3e5f2.glb |
Create a Port Wine Glass consisting of a bowl, a stem, and a base. Start by creating a bowl using a sphere with a radius of 25mm, scaled by 1.3 along the Z-axis to make it slightly oval. Hollow out the center of this bowl by removing a sphere with a radius of 23.5mm, also scaled by 1.3 along the Z-axis, and truncate th... | module box(x = 10, y = 20, z = 30, center = false)
{
scale([x,y,z])
{
cube(1, center = center);
}
}
module cone(radius = 10, height = 20, center = false)
{
cylinder(height, radius, 0, center = center);
}
module tube(outer = 20, inner = 10, height = 100, center = false)
{
difference()
{
cylinder(r = outer, h... | glb/cad_317f758c65ac.glb |
Create a tablet PC wall mount consisting of two identical mirrored brackets. For each bracket, start with a base block 60mm wide, 100mm deep, and 10mm thick. Round the four vertical corners of this block with a radius of 3.5mm.
Carve out a central rectangular cavity from the top and front of the block, leaving a wall... | $fn=50;
rotate([90,0,0])holder();
translate([130,0,0])rotate([90,0,0])mirror()holder();
module holder(){
h=10;
x=60;
y=100;
rn=3.5;
difference(){
hull(){
cube([x,y,h+3+3]);
translate([rn,rn,h+6])sphere(6);
translate([rn,rn,h+6])sphere(6);
translate([x-rn,rn,h+6])sphere(6);
translate([rn,y-rn,h+6])sphere(6);
transl... | glb/cad_6010cbfb50c1.glb |
Create a camera mount consisting of four distinct geometric components. First, create a base plate by forming a hull between two cylinders with 10mm radii and 4mm height, positioned 40mm apart along the y-axis; add a third 14mm radius cylinder of the same height at the midpoint (20mm) between them. Drill two tapered ho... | $fn=50;
include <nuts_and_bolts.scad>
module screwhole(screw, depth)
{
translate([0,0,-0.5]) cylinder(r=screw/2, h=depth+3);
translate([0,0,-0.01]) nutHole(size=screw);
}
module det1(){
difference(){
hull(){
cylinder(r=10,h=3,center=true);
translate([0,10,0])cylinder(r=6,h=3,center=true);
}
cylinder(r=2,h=3,center=... | glb/cad_dd480bf53226.glb |
Create a timing belt adjustable tensioner consisting of two main components: a nut housing and a bolt assembly.
First, construct the nut housing. Create a rectangular frame with a total length of 14.7mm, a width of 11mm, and a height of 2.8mm. In the center of this frame, create a hexagonal hole with a flat-to-flat w... | NutWrenchSize=5.7;
NutHeight=2.8;
Diameter=4;
NutFixingRatio=1.5;
BoltHeadD=6.5;
BoltHeadH=2;
BeltWidth=7;
BeltHeight=1.8;
Wall=1.2;
IsOpen=true;
module pole(r,h){
intersection(){
cube([r,r,h]);
cylinder(r=r,h=h);
}
}
module frame(l,w, wall=2,space=2){
r= l/3-space;
h=r+wall;
... | glb/cad_ab711ea8ed53.glb |
Create an i3 EiNSTeiN variant X-end idler. Start by constructing the base geometry of the X-end idler. From this base, remove a central cylindrical void with a height of 17mm and a radius of 4.2mm, using a 30-facet resolution for the cylinder. Additionally, remove two tapered conical sections from the structure; each c... | use <inc/x-end.scad>
module x_end_idler_base(){
x_end_base();
%translate(v=[-5.5-(17/2)+(8/2),-25-2,30.25]) rotate(a=[0,-90,0]) cylinder(h = 8, r=(22/2)+2*0.66);
translate([0,0,9+6]) rotate([0,180,0]) cylinder(r1=15/2, r2=12/2,h=1.5);
}
module x_end_idler_holes(){
difference() {
x_end_holes();
transl... | glb/cad_db46da7ece08.glb |
Create an i3 EiNSTeiN variant X-end motor mount. Start by constructing the main body from two joined rectangular blocks: one measuring 17mm by 44mm by 30mm, and a second centered block measuring 17mm by 20mm by 53mm.
From this base, remove a central rectangular section measuring 20mm by 44mm by 44mm, and a hull-shape... | use <inc/x-end.scad>
module x_end_motor_base(){
x_end_base();
translate(v=[-14,31,26.5-23/2]) cube(size = [17,44,30], center = true);
translate(v=[-14,31-24/2,26.5]) cube(size = [17,20,53], center = true);
}
module x_end_motor_holes(){
x_end_holes();
translate(v=[-0,32,30.25]){
translate([-4,-0.5,2]) cube([2... | glb/cad_2920866da8b3.glb |
Create a Customizable Business Card by starting with a rectangular base plate measuring 88.9mm in width, 50.8mm in depth, and 1mm in height.
On the top surface of this plate, create a stencil-style cutout of a custom design. The cutout should be centered on the plate, though it can be offset or rotated if desired. Th... | input ="no_input";
stencil_thickness = 1;
stencil_width = 80;
margin = 10;
offX = 0;
offY = 0;
image_rotation =0;
module void() {}
dispo_width = stencil_width - 2*margin;
points_array = (input=="no_input"? [[179,268],[[199.26,15.12],[189.19,15.56],[181.5,16.45],[175.52,17.83],[169.55,19.42],[163.57,21.55],[157.55,... | glb/cad_7f4d95050213.glb |
Create a wall support holder for a projector remote. Start by constructing a solid rectangular block with overall dimensions of 16.2mm in width, 63mm in depth, and 93mm in height. From this main block, remove a smaller rectangular volume to create a hollow interior pocket that is 10.2mm wide, 57mm deep, and 87mm high, ... | ANCHO_MANDO=57;
ALTO_MANDO=10.2;
LARGO_MANDO=87;
module mando(){
cube([ALTO_MANDO, ANCHO_MANDO, LARGO_MANDO]);
}
module mando2(){
cube([ALTO_MANDO, ANCHO_MANDO, LARGO_MANDO+6]);
translate([0,0,20]) cube([ALTO_MANDO+20, ANCHO_MANDO, LARGO_MANDO+6]);
}
module soporte(){
translate([-3,-3,-3])
cube([ALTO_MANDO+6, ... | glb/cad_5d375d56abb7.glb |
Create a 3D model of the Sindormir.net logo. Start by creating a rectangular base plate with a thickness of 1mm, measuring 120mm in length and 20mm in width. At the center of one of the shorter edges, add a circular mounting hole with an outer radius of 10mm and an inner cutout radius of 4mm, maintaining the 1mm thickn... | $fn = 100;
ALTURA_BASE = 1;
fudge = 0.1;
module poly_path3002(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-319.675781,-24.328125],[-319.675781,-6.046875],[-288.597656,-6.046875],[-288.597656,-0.281245],[-282.832031,-0.281245],[-282.832031,36.843755],[-288.597656,36.843... | glb/cad_f0a7506c5295.glb |
Create a tail fin for a helicopter by extruding a custom 2D profile to a height of 0.75mm. Add two cylindrical pins to this structure. Position the first cylinder with a diameter of 1mm and a height of 5.3mm at coordinates (2, -30.8, 0.5), rotated 90 degrees around the Y-axis and 21 degrees around the X-axis. Position ... | $fn=48;
module tailfin()
translate([0,0,0])
{
scale(1)
linear_extrude(height = 0.75)
import(file="tailfin.dxf");
}
tailfin();
translate([2, -30.8, 0.5])
rotate(a=90,v=[0,1,0])
rotate(a=21,v=[1,0,0])
cylinder(d=1, h=5.3);
translate([9, 6.2, 0.5])
rotate(a=90,v=[0,1,0])
ro... | glb/cad_9e2e760aa737.glb |
Create a Wall Trim Corner by starting with a solid rectangular block that is 19.5mm wide, 19.5mm deep, and 126.9mm tall. Round the vertical outer edges of this block using a 2.5mm radius. At the top of the block, create a decorative profile by removing material to form a symmetrical V-shaped slant that angles downward ... | hi=107.9;
h=hi+19;
w=19.5;
corner=8;
t=8.6;
r=5;
ca=3;
angle=43;
erd=5;
herd=erd/2;
invisit=1;
difference(){
minkowski(){
translate([herd,herd,0])cube([w,w,h]);
sphere(d=erd);
}
translate([w,0,0])cube([w+erd,w+erd,h+erd]);
translate([0,w,0])cube([w+erd,w+erd,h+erd]);
translate([0,0,-w])cube([w+erd,w+erd,w]);
transla... | glb/cad_735b27bbde7f.glb |
Create a Wall Frame Hanger adapter. Start with a flat rectangular baseplate 3mm thick. The overall width is 126mm (calculated as 8mm extra edge + 10mm hook width + 100mm between hooks + 10mm hook width + 8mm extra edge) and the overall height is 66mm (8mm extra edge + 50mm distance to hole + 8mm extra edge).
Center a... | echo("------------------------ BEGIN ------------------------");
Tolerance = 1*0.05;
SquareRootOfTwo = sqrt(2);
Precision = 200;
HooksToHole_Height = 50;
BetweenHooks_Width = 100;
Thickness = 3;
Hooks_Width = 10;
Hooks_Depth = 10;
HookLip_Height = 3;
TopScrewHole_Diameter = 4;
BottomS... | glb/cad_bb23fa227965.glb |
Create two identical VGA wall connector supports. For each support, construct a base disk with a radius of 5mm and a height of 0.6mm. Centered on top of this disk, add a vertical cylinder with a radius of 3mm and a height of 13mm. Position the two completed supports 20mm apart. | TAPA=10;
INTERIOR=6;
PROFUNDIDAD=13;
$fn=100;
module tapa(){
cylinder(r=TAPA/2,r2=INTERIOR/2,h=0.6);
cylinder(r=INTERIOR/2,h=PROFUNDIDAD);
}
tapa();
translate([20,0,0]) tapa(); | glb/cad_57cd67405c2c.glb |
Create a VGA wall connector consisting of a rectangular housing and a mounting bracket for a female VGA port.
First, construct the main housing as a hollow rectangular box with outer dimensions of 70mm in length, 100mm in width, and 22mm in height. The walls should be 2.1mm thick. On the back wall, create a wide hori... | $fn=100;
ANCHO_CANALETA=22;
ALTO_CANALETA=13;
LARGO_CANALETA=1000;
ANCHO_CAJETIN=70;
LARGO_CAJETIN=100;
ESPESOR_PARED_CAJETIN=2.1;
EPC=ESPESOR_PARED_CAJETIN;
ALUTRA_ADICIONAL=10;
ANCHO_CON_VGA=31;
ALTO_CON_VGA=13;
PROF_CON_VGA=6;
ALTO_TUERCA_VGA=5;
DIAM_TUERCA_VGA=6;
ANCHO_DB25_MAX=18;
ANCHO_DB25_MIN=16;
ALTO_DB25... | glb/cad_c993b7a578ff.glb |
Create a calibration set consisting of three distinct cylinders, each with a height of 10mm and a radius of 10mm, arranged in a triangular pattern where their centers are positioned 15mm from a central origin point and spaced 120 degrees apart. The first cylinder must be a solid disk. The second cylinder should be a ho... | wall = 1;
difference() {
for(a = [0:2]) rotate([0, 0, 120 * a]) translate([0, 15, 0]) cylinder(r = 10, h = 10, $fn = 90);
rotate([0, 0, 120]) translate([0, 15, -1]) cylinder(r = 10 - wall, h = 12, $fn = 90);
rotate([0, 0, -120]) translate([0, 15, -1]) cylinder(r = 10 - wall * 2, h = 10, $fn = 90);
} | glb/cad_de9af0ecda63.glb |
Create a Z Stop Shim for a Flashforge Creator Dual by constructing a hollowed-out rectangular block. Start with a solid rectangular prism that is 9.25mm wide, 30mm deep, and 16.35mm high. From the bottom face of this block, remove a smaller centered rectangular section to create a U-shaped channel. This cutout must be ... | glassPlateThickness = 6.35;
woodThickness = 5.25;
module main()
{
wallThickness = 2.00;
width = wallThickness + woodThickness + wallThickness;
depth = 30;
height = glassPlateThickness + 10.0;
translate([0, 0, height])
rotate([0, 180, 0])
difference()
... | glb/cad_52fa38e5967c.glb |
Create a Quad Connector consisting of four identical arm structures arranged symmetrically around a central axis. Each arm is built from two intersecting rectangular prisms: one vertical prism measuring 3mm by 16mm by 12mm, and one horizontal prism measuring 16mm by 3mm by 12mm. These two prisms must intersect at a rig... | joinfactor = 0.01;
connector(length=16, thickness=3,height=12,gap=6, corners=4, hole=true);
module corner(length, thickness, height, gap)
{
translate([gap/2, gap/2,0])
cube(size=[thickness, length, height]);
translate([gap/2, gap/2,0])
cube(size=[length, thickness, height]);
}
module basedcorner(length, thickne... | glb/cad_36b7262521dd.glb |
Create a Quad Connector designed to cap the joints of a torsion box. The main body is a square block with a total width and length of 16mm and a height of 12mm. The block has a thickness of 3mm.
Cut four rectangular slots into the block, one centered on each of the four sides. Each slot must be 6mm wide and 6mm deep,... | include <corners.scad>
joinfactor = 0.1;
gapsize = 6;
panelheight = 100;
panellength = 300;
torsionbox();
module lockpanel(thickness, length, height)
{
slotthickness = thickness+joinfactor*2;
slotdepth = height/2;
slotwidth = thickness +joinfactor*2;
translate([-length/2, -thickness/2, -height/2])
difference(... | glb/cad_243f263afbe5.glb |
Create a spool for a label applicator by constructing a tiered cylindrical assembly. Start with a wide, flat circular base with a radius of 60mm (the sum of the core radius and guide height) and a thickness of 10mm. Centered on top of this base, add a second cylinder with a radius of 27.5mm and a height of 45mm.
To f... | sticker_width=40.0;
spoolCore_radius = 27.5;
guide_width = 10.0;
guide_height = 32.5;
slot_width=2.0;
holeForAxle_radius = 27/2;
spoolCore_width=sticker_width+5.0;
difference() {
union(){
cylinder(h=guide_width,r=guide_height+spoolCore_radius);
translate([0,0,10])cylinder(h=spoolCore_width,r=... | glb/cad_0053ea450651.glb |
Create a robot model called the Ares Mars Mission Robot.
For the head, create a composite shape using a sphere with a radius of 30mm, a cylinder with a height of 60mm and a radius of 30mm, and a torus with a major radius of 30mm and a minor radius of 10mm. Position a small sphere with a radius of 5mm at the center of... | module head(){
module head_top(){
module half_conehead(){
module cone_head(){
difference(){
sphere(30);
translate([-30,-30])
cube(60);
}
translate([0,0,0])
cylinder(h=60, r... | glb/cad_274fd5448377.glb |
Create a Z-axis CNC probe mount. Start with a central rectangular base measuring 10mm by 30mm with a height of 5mm. At the top end of this base, centered at Y=30, add a larger rectangular block measuring 28mm by 40mm with a height of 5mm.
Within this upper block, create a central vertical hole with a radius of 5mm an... | $fs = 0.1;
$fa = 5;
linear_extrude(height = 5)
square([10, 30], center = true);
difference()
{
translate([0, 30, 0])
linear_extrude(height = 5)
square([28, 40], center = true);
gauri_prindere();
translate([0, 32.5, 2.5])
cylinder(r=5, h=6, center=true);
}
linear_extrude(height = 5)
square([10, 30], center = true)... | glb/cad_509f97bed631.glb |
Create a pastry pattern cutter consisting of a handle, a central axle, and 24 cutting rings.
Construct the handle as a flat, extruded profile 150mm long, 12mm high, and 7.5mm thick. Center a vertical hole with a 5mm radius through the handle for hanging.
Create the central axle as a composite cylinder. The main sha... | PI = 3.14 * 1;
$fn = 40;
axEdges = 8;
nozzleRadius = 0.35 / 2;
axRadius = 4;
ringRadius = 6;
cuttingLength = 30;
outerRadius = 2 * cuttingLength / (2 * PI);
ringThickness = 2;
ringSpacer = 4;
amountRings = 24;
handleLength = 150;
handleHeight = ringRadius * 2;
handleThickness = 7.5;
handleHoleRadius = 5;
... | glb/cad_a0368d5d0be9.glb |
Create a thin-walled nested box with a lid. The main box is a cube with an outer dimension of 40mm width, 40mm depth, and a total height of 35mm. The walls and floor are 0.5mm thick. The interior is hollowed out, leaving a floor thickness of 0.5mm. Inside the box, create a protruding flange that is 8mm high and 0.5mm t... | thickness = .5;
width = 40;
depth = 40;
height = 40;
lidHeight = 5;
lidSpacing = .5;
flangeHeight = 8;
boxLidSpacing = 5;
thinBox(thickness, width, depth, height, flangeHeight, lidHeight, lidSpacing, boxLidSpacing);
module thinBox(thickness, width, depth, height, flangeHeight, lidHeight, lidSpacing, boxLidSpacing) {
... | glb/cad_59512a8f0aea.glb |
Create a kitchen aid funnel consisting of a cylindrical mounting base and an attached flared bowl. Start by creating a hollow cylindrical ring for the mount with an inner radius of 52.5mm, an outer radius of 55.5mm, and a height of 16mm.
Attached to this base, construct a funnel-shaped bowl that extends upwards to a ... | $fn = 100;
mountRadius = 52.5;
mountHeight = 16;
funnelBaseRadius = 107;
funnelTopOverhang = 25;
funnelHeight = 25;
thickness = 3;
outerThickness = 6;
rotate([0, 0, -90])
{
funnelAssembly();
}
module funnelAssembly()
{
union()
{
mountBase();
funnel();
}
}
module mountBase()
{
... | glb/cad_57bdd426c46c.glb |
Create six identical outer oval brackets for a delta printer build plate support. Each bracket is a flattened cylinder with a height of 4mm and a major diameter of 34mm, scaled by 0.5 along the Y-axis to form an oval.
For each oval bracket, create two vertical mounting holes with a diameter of 3.5mm. Position these h... | OutOval_OD = 34;
Brac_OD = 3.5;
OO_X_Offset = 10.5;
OO_Y_Offset = 9.5;
OO_Ht = 4;
L_OD = 6;
OO_Qty_Holes = 2;
OO_Qty_Parts = 6;
OO_iRes = 64;
L_Adjust = L_OD - 6;
Y_Half = OO_Y_Offset / 2;
$fn=OO_iRes;
module DrawOuterOval2Hole()
{
difference()
{
scale([1,.5,1])
cylinder(d=OutOval_OD,h=OO_Ht,$f... | glb/cad_e849f5b8c5d6.glb |
Create a circular build plate support bracket with an outer diameter of 90mm and a total height of 4mm. Start by forming a solid cylinder 90mm in diameter and 2mm high, topped with a second cylinder that tapers from a 90mm base diameter down to 86mm over a height of 2mm.
Remove a central cylindrical hole with a diamet... | OD = 90;
ID = 52;
Wing_Ang = 120;
NumOfWings = 360 / Wing_Ang;
CO_Y_Offset = 38.0;
Oval_X_Offset = 10.5;
Hole_iRes = 24;
M3 = 3.5;
Ht=4;
$fn=372;
module RimLedge()
{
translate([0,0,Ht])
difference()
{
rotate_extrude(convexity = 10, $fn = 372)
translate([ID / 2 + 4.15,0,0])
scale([.7... | glb/cad_8d37d084c6cc.glb |
Create a Christmas ball ornament by starting with a faceted sphere with a radius of 30mm, using a low facet resolution of 19 sides to maintain a geometric, polyhedral appearance. At the top of the sphere, center a vertical cylinder with a diameter of 12mm and a height of 6mm that extends upwards from the sphere's surfa... | cbr=30;
cyd=15;
$fn=19;
sp_th=0.75;
color("red")
translate([0,0,cbr])
sphere(r=cbr);
translate([0,0,cbr*2-3])
cylinder(h=6,d=12,$fn=90);
color("silver")
translate([0,0,cbr*2+4])
rotate([0,90,0])
rotate_extrude(convexity=10,$fn=90) {
translate([3.5,0,0])
circle(d=2);
} | glb/cad_cc09580a2752.glb |
Create a mounting plate for an Arduino Mega 2560 and a voltage regulator board. Start with a rectangular base measuring 175mm by 68mm with a thickness of 3.5mm. At each end of the base, add mounting tabs 6mm wide and 18mm deep, featuring a 5mm wide slot for fasteners.
On the top surface of the base, place ten decagona... | OffsetX=-10;
OffsetY=-5;
Pin1X=13.97;
Pin1Y=2.54;
Pin2X=15.24;
Pin2Y=50.8;
Pin3X=66.04;
Pin3Y=7.62;
Pin4X=66.04;
Pin4Y=35.56;
Pin5X=96.52;
Pin5Y=2.54;
Pin6X=90.17;
Pin6Y=50.8;
Pin7X=120;
Pin7Y=-1;
Pin8X=149;
Pin8Y=-1;
Pin9X=120;
Pin9Y=59;
Pin10X=149;
Pin10Y=59;
StandoffHeight=7.5;
StandoffRadius=3.5;
StandOffHoleRadius... | glb/cad_d81c5866c796.glb |
Create a parametric spacer washer by constructing a thin cylinder with a radius of 4mm and a height of 1mm. Center the object on the origin. Remove a smaller concentric cylindrical core with a radius of 2mm and a height greater than 1mm to create a clean circular hole through the center, resulting in a flat ring with a... | outer_r = 4.0;
width = 1.0;
inner_r = 2.0;
$fa = 1.0;
$fs = 0.1;
difference()
{
cylinder(h=width, r=outer_r, center=true);
cylinder(h=width+1.0, r=inner_r, center=true);
} | glb/cad_019f66f48654.glb |
Create an LM8UU Holder by starting with a rectangular base 22mm wide, 23.5mm deep, and 4mm high. Centered on top of this base, add a smaller rectangular block measuring 20mm wide, 14mm deep, and 6mm high. To create the main bearing seat, center a cylinder with a radius of 9mm and a length of 20mm horizontally through t... | BaseHeight = 4;
BaseWidth = 23.5;
HoleRadius = 1.5;
LMRadius = 8;
$fn = 100;
translate([0,0,12])
rotate([180,0,0])
comFuro();
module base(){
translate([0,0,9+BaseHeight/2])
cube([22,BaseWidth,BaseHeight],center=true);
translate([0,0,8])
cube([20,14,6],center=true);
rotate([0,9... | glb/cad_6d7d0cd8d98a.glb |
Create a 3D Alnico quasi crystal pattern by extruding a complex 2D geometric arrangement to a height of 5mm. The pattern is composed of two sets of thin-walled pentagonal rings, each with an outer radius of 10mm and an inner radius of 9mm. First, create five pentagonal rings centered at a distance of 10mm from the orig... | pentangleRadius=10.0;
pentangleHeight = pentangleRadius * (1.0 + sin(36.0));
patternHeight = 5.0;
module alnicoPattern(){
for ( i = [0:5]){
rotate(a=i * 72.0)
translate(v=[0.0,pentangleRadius])
pentangle(0.0);
}
for ( i = [0:10]){
rotate(a=i * 36.0)
translate(v=[0.0,pentangleHeight +
pentangl... | glb/cad_d3346b767160.glb |
Create a vase profile tester consisting of three separate vertical paths. Each path is constructed by stacking small cubes of 1mm x 1mm x 1mm. For each path, iterate through a height from 1mm to 50mm in 1mm increments. At each height level y, place a cube centered on the y-axis.
The first path follows a profile where ... | ht=50;
base=10;
hgrain=1;
vgrain=1;
for(y=[1:vgrain:ht]) {
x=0.6*vert_profile4(90/ht*y)+base;
translate([x,y,1])
cube([1,1,vgrain],true);
translate([-x,y,1])
cube([1,1,vgrain],true);
}
function vert_profile1(ang=0) = 0.5*ang*cos(ang);
function vert_profile2(ang=0) = ang*(cos(ang)+cos(3*ang)/3);
... | glb/cad_93e51b3edf72.glb |
Create an 80mm fan hot end blower mount. Start with a base plate 80mm wide, 80mm deep, and 2mm thick. Centered on this plate, add a raised rectangular housing 30mm wide, 30mm deep, and 13mm high. On the front face of this housing, create a semi-spherical protrusion with a diameter of 89mm, centered at the base, but rem... | module top(){
translate([0,0,-20]){
sphere(d=89,$fn=60);
}
translate([0,30,6.5]){
cube([30,30,13],center=true);
}
translate([0,0,1]){
cube([80,80,2],center=true);
}
translate([0,38,14]){
cube([19,10,14],center=true);
}
cube(50,center=true);
probHol... | glb/cad_634cb1946725.glb |
Create a fan mount for an 80mm blower fan. Start with a central square plate measuring 80mm by 80mm with a thickness of 2mm. Centered on this plate, create a hemispherical dome with a diameter of 89mm that extends upwards, but truncate the bottom of the dome using a 90mm cube centered at the base to ensure the bottom i... | module top(){
translate([0,0,-20]){
sphere(d=89,$fn=60);
}
translate([0,0,1]){
cube([80,80,2],center=true);
}
}
module bottom(){
translate([0,0,-45]){
cube([90,90,90],center=true);
}
translate([0,0,-20]){
sphere(d=86,$fn=60);
}
translate([0,30,7]){
... | glb/cad_10838c6a28ff.glb |
Create a camera mount consisting of a rectangular base with rounded ends and a central vertical shaft. The base is 96mm long, 16mm wide, and 7mm thick. The two ends of the base are semi-cylindrical with a diameter of 16mm.
At each semi-cylindrical end, create a vertical hole for an M4 screw. These holes should be 4.5m... | use <threads.scad>
sD = 3.9 + (2 * 0.2) + (2 * 0.2);
module shaft()
{
metric_thread( 15.5, 1.3, 10);
nubD = 7;
nubH = 7;
translate( [0, 0, 10] )
difference()
{
cylinder( nubH, d = nubD, $fn = 60 );
translate([0, 0, nubH + 2])
sphere( d = nubD , $fn = 60 );
}
}
... | glb/cad_35eac982a46a.glb |
Create a customizable rack and pinion gear set with a uniform thickness of 4mm.
First, construct a circular pinion gear with 16 teeth, a circular pitch of 180mm, and a pressure angle of 28 degrees. The gear should be a solid disk with involute teeth, featuring a central bore of 5mm in diameter and a hub of 4mm in dia... | use <MCAD/involute_gears.scad>
thickness = 4;
circular_pitch=180;
number_of_pinion_teeth=16;
number_of_rack_teeth=0;
pressure_angle = 28;
spacing_between_objects = 0;
function pitch_radius(number_of_teeth, circular_pitch) = (number_of_teeth * circular_pitch / 180) / 2;
function linear_tooth_size(number_of_teeth, c... | glb/cad_8be864fb5413.glb |
Create an enclosure for an Arduino Nano consisting of a bottom base and a top cover.
For the bottom section, create a rectangular block 22.5mm wide, 63mm long, and 16mm high with 2mm thick walls. Hollow out the center to create a cavity 18.5mm wide, 44.5mm long, and 12mm deep. Inside this cavity, add two side walls a... | caseHeight = 16;
caseWidth = 22.5;
caseLength = 63;
wall = 2;
chipLength = 44.5;
chipWidth = 18.5;
chipHeight = 11;
chipZOffset = 2;
chipBoardHeight = 1.5;
USBConnWidth = 8;
USBConnLength = 10;
USBConnHeight = 4;
USBConnOffsetX = (caseWidth - USBConnWidth) / 2 - wall;
USBConnOffsetZ = 3.5;
rearCablePortDiameter = ... | glb/cad_7ea6c85c897b.glb |
Create a Moire Pattern Generator ornament consisting of a thin circular disc with a decorative linear pattern. Start by creating a main ring with an outer radius of 43mm and an inner radius of 40mm, with a height of 5mm, using a 48-facet resolution for the circular edges.
On the face of this disc, add a series of par... | mark = 1;
union()
{
hanger();
if (mark==1) lines(); else
if (mark==2) squares(); else
if (mark==3) hexagons(); else
if (mark==4) holes(); else
if (mark==5) hex_holes(); else
if (mark==6) diamonds(); else
{}
translate([0,0,2.5])
difference()
{
cylinder(r=43,h=5,$fn=48,center=true);
cyl... | glb/cad_31f930683cb5.glb |
Create a Moire Pattern Generator consisting of a circular disc. Start by creating a main body as a cylinder with a radius of 39mm, a height of 4mm, and a 48-facet resolution, centered on the origin. Remove a concentric inner cylinder with a radius of 37mm and a height of 4mm to create a ring.
On the top surface of thi... | mark = 1;
union()
{
bumps();
if (mark==1) lines(); else
if (mark==2) squares(); else
if (mark==3) hexagons(); else
if (mark==4) holes(); else
if (mark==5) hex_holes(); else
if (mark==6) diamonds(); else
{}
translate([0,0,1.25])
difference()
{
cylinder(r=39.5,h=2.5,$fn=48,center=true);
cylinder(r=37,h=2.5,$f... | glb/cad_242b4f83a4d2.glb |
Create a wakeboard model consisting of a curved board and two boots. Construct the board as a flat, elongated shape with rounded ends, then bend it along its length to create a subtle arc. The board's main body is formed by the intersection of two large circles with radii of 300mm, extruded to a thickness of 50mm.
Pla... | $fn=20;
module boot()
{
$fn=20;
difference() {
union() {
linear_extrude(height=3) {
hull() {
translate([0, -17]) circle(r=10);
circle(r=17);
translate([0, 17]) circle(r=10);
}
}
translate([0, 0, 8])
hull() {
translate([0, -17, -... | glb/cad_ac0a6a3ce0a6.glb |
Create a wakeboard model by constructing a curved board with a thickness of 50mm. The board's profile is formed by the intersection of two large circles, each with a radius of 300mm, centered 540mm apart, and further constrained by two circles of radius 50mm positioned at the top and bottom ends. This results in a slen... | $fn=20;
module boot()
{
$fn=20;
difference() {
union() {
linear_extrude(height=3) {
hull() {
translate([0, -17]) circle(r=10);
circle(r=17);
translate([0, 17]) circle(r=10);
}
}
translate([0, 0, 8])
hull() {
translate([0, -17, -... | glb/cad_4a67c9ff24ef.glb |
Create a LEGO compatible axle by constructing a central shaft and two end caps. Start with a main cylinder that is 18mm long and 1.75mm in diameter. At each end of this shaft, add a thin cylindrical disc with a diameter of 8mm and a thickness of 1.6mm. Between each disc and the central shaft, create a conical transitio... | length = 18;
wheelD = 8;
wheelT = 1.6;
axleD = 1.75;
axleHubD = 3;
axleHubW = 5.5;
axleSupportsW = 10;
wheelConeH = length/2-wheelT - axleSupportsW/2;
$fs = .05;
wheel1();
translate([0,0,length])mirror ([0,0,1])wheel1();
module wheel1(){
cylinder(d = wheelD, h = wheelT);
cylinder(d = axleD, h = length);
translate([0,... | glb/cad_2bda053bbd60.glb |
Create a Winter Tree model consisting of two identical, mirrored flat components that slot together. Each component is 2mm thick.
Construct the main body of one component as a stylized, symmetrical evergreen tree silhouette. The central trunk is a vertical column 2mm wide. From this trunk, extend several tiered branch... | h=2;
bwh=109;
bww=40;
prt=0.8;
difference(){
union(){
tree(100,bww);
mirror([90,0,0]) tree2(100,bww);
}
translate([-h/2+0.125,40,0]) cube([h+0.25,bwh,h]);
}
rotate([0,0,180]) translate([120,-195,0]) difference(){
union(){
tree(115,bww-10);
mirror([90,0,0]) tree2(115,bww-10);
}
translate([-h/2-0.125,0,0]) cube([h+0.35... | glb/cad_518eaa2f7b6d.glb |
Create a Modified Y idler for a Mendel90 printer. Start with a central rectangular base measuring 20mm wide, 20mm deep, and 6mm high. From this base, extend two identical vertical arms upwards, each 4mm wide, 30mm tall, and 6mm thick. Position one arm on the far left edge and the other on the far right edge of the base... | include <hexnut.scad>
module hexhole()
{
cylinder(6,2.8,2.8);
translate([-5,-5,3]) hexnut(5,4);
}
difference()
{
cube([20,20,6]);
translate([10,12,0]) hexhole();
}
difference()
{
translate([20,4,0 ]) cube([13,13,6]);
translate([25,12,0]) hexhole();
}
difference()
{
translate([-13,4,0 ]) cube([13,13,6]);
translate([-5,... | glb/cad_309d148c3fc2.glb |
Create a sun shield for an FPV LCD monitor. Start with a central rectangular volume representing the monitor, measuring 172mm wide, 113mm high, and 20mm deep.
Construct a three-sided hood around this volume. The top cover is a flat plate 164mm wide and 2mm thick. The two side walls are 90mm high and 2mm thick, extendi... | Monitor_Width = 172;
Monitor_Height = 113;
Monitor_Depth = 20;
part = 6;
Shield_Height = 90;
Shield_Cover_Width = 164;
Monitor_Top_Lock_Tab_Width = 5;
Monitor_Bottom_Lock_Tab_Width = 10;
Shield_Tickness = 2;
lockerSize = 14;
clipHeight = 20;
screwDiameter = 3.5;
screwCapDiameter = 5.5;
if(part < 6){
print(part);... | glb/cad_4311896ec51f.glb |
Create a Cochlear Implant Transmitting Coil adapter. Start by creating a primary disc with a radius of 16.5mm and a height of 5.25mm, ensuring all edges are rounded with a 1mm fillet. In the center of this disc, remove a cylindrical hole with a radius of 9.5mm and a height of 6.25mm. Attached to the side of this disc, ... | $fn=25;
difference(){
minkowski(){
cylinder(r=15.5, h=3.25);
sphere(1);
}
translate ([0,0,-1]) cylinder(r=9.5, h=6.25);
}
difference(){
minkowski(){
hull(){
translate ([-6.5,0,0]) cylinder(h=7.25,r=6.852);
translate ([15.5+8.25,0,0]) cylinder(h=7.25,r=6.852);
}
sphere(1);
}
trans... | glb/cad_19673af55a31.glb |
Create a Fruit Drain Plate by constructing a semi-circular disk with a radius of 115mm and a thickness of 2mm. From this half-disk, remove a vertical cylindrical section with a radius of 4.05mm centered 57.5mm from the origin along the flat edge to create a snap-fit socket. To complete the assembly, add a matching soli... | $fn = 120;
plate_thk = 2;
plate_rad = 115;
footspce = plate_rad*(2/3)-2;
footlong = 12;
footshrt = 10;
footshft = 8;
difference() {
cylinder(r=plate_rad,plate_thk);
translate([plate_rad/2,-2,-1]) { cylinder(r=4.05,plate_thk+2); }
translate([-plate_rad,0,-1]) { cube([plate_rad*2,plate_rad,plate_thk+2]); }
}
tran... | glb/cad_45519f2ae08f.glb |
Create a Fruit Drain Plate consisting of two identical halves that fit together to form a circular disk with a total diameter of 230mm and a thickness of 3mm. For each half, start with a semi-circle of 115mm radius. Remove a rectangular section from the center of the semi-circle, spanning the full width of the plate an... | plate_thk = 3;
plate_rad = 115;
footspce = plate_rad*(2/3)-2;
footlong = 14;
footshrt = 12;
footshft = 8;
module hp () {
difference() {
cylinder(r=plate_rad,plate_thk,$fn=360);
translate([plate_rad/2,-3,-1]) { cylinder(r=4.05,plate_thk+2,$fn=360); }
translate([-plate_rad,0,-1]) { cube([pl... | glb/cad_d5258aef7aab.glb |
Create a Fruit Drain Plate consisting of a circular disc with a diameter of 230mm and a thickness of 12mm. Hollow out the center of the disc by removing a concentric cylinder with a radius of 107.9mm and a height of 12mm, leaving a thin outer rim.
Cut the disc into four equal quadrants. In each quadrant, create a squ... | in = 25.4;
thk = 3;
rad = 4.25*in;
rad1 = 1*rad/4;
rad2 = 2*rad/4;
qtr = 5*in;
edg = 12;
lrad = rad+thk;
prad = 4;
difference() {
cylinder(r=rad,edg,$fn=360);
translate([0,0,thk]) cylinder(r=(rad-thk),edg,$fn=360);
translate([(prad-0.5-thk), rad2, 0]) cylinder(r=(prad+thk),edg,$fn=360);
rotate(... | glb/cad_4e9f08abde66.glb |
Create a protein alpha carbon trace model consisting of a series of connected nodes and segments. For each bond in the sequence, place two spheres with a radius of 1mm at the alpha carbon coordinates and connect them with a cylinder of radius 1mm. The cylinder's height must equal the distance between the two spheres, a... | module sphxx(x0,y0,z0)
{
translate(v=[x0,y0,z0])
sphere(r=1,$fn=10);
}
module alpha(tx,ty,tz,ax,ay,az)
{
sphxx(tx+ax/2,ty+ay/2,tz+az/2);
translate(v=[tx,ty,tz])
rotate(a = [-acos(az/sqrt(ax*ax+ay*ay+az*az)), 0, -atan2(ax, ay)])
cylinder(r=1,h=sqrt(ax*ax+ay*ay+az*az),center=true,$fn=10);
}
module last(ttx,tty,ttz,... | glb/cad_061ed8aad9c4.glb |
Create a rounded holed bracket by starting with a rectangular plate that is 40mm long, 10mm wide, and 1mm thick. Center the plate on the origin and add semi-circular caps with a 5mm radius to both of the shorter ends to create a pill-shaped profile with a total length of 50mm. Pierce five circular holes through the thi... | height = 1.0;
width = 10.0;
total_length = 50.0;
hole_diameter = 5.0;
hole_distances_from_center = [-20:10:20];
$fa = 1.0;
$fs = 1.0;
difference()
{
union()
{
cube([total_length - width, width, height], center=true);
{
for (sign = [+1,-1])
translate([(total_length - to... | glb/cad_8ba770365147.glb |
Create a business card by starting with a rectangular base measuring 47mm wide, 80mm long, and 2.5mm thick. Centered on this base, embed a series of recessed geometric features. First, incorporate a stylized head silhouette extruded to a height of 0.3mm. Second, integrate a data matrix code as a 3D relief, positioned s... | part_b();
module part_a() {
intersection() {
union() {
head();
code();
name();
}
card();
}
}
module part_b() {
difference() {
card();
head();
code();
name();
}
}
module all_parts() {
%card();
head();
code();
name();
}
module card() {
translate([-23.5, -40, 0]) cube([47, 80, 2.5]);
}
... | glb/cad_b918387490a0.glb |
Create a bi-fold door lock consisting of a main rectangular body and a cylindrical handle. Start with a block 60mm wide, 48mm deep, and 180mm tall. Hollow out the center of this block by removing a rectangular section 56mm wide and 35mm deep, leaving a wall thickness of 4mm on the sides and 13mm at the bottom. On one s... | $fn=50;
rotate([90,-90,0]) {
difference() {
linear_extrude(height=180)
difference() {
difference() {
square([60,48]);
translate([4,4]) square([56,35]);
}
translate([9,39]) hull() {
circle(r=5);
translate([43,0]) circle(r=5);
}
}
translate([8,-20,30]) rotate([0,45,0]) ... | glb/cad_72b25b9fbcff.glb |
Create an RC Car Bumper consisting of a central rectangular plate and two mounting pegs. Start with a main plate 63mm wide, 15mm deep, and 1.5mm thick. At the center of the plate, create a cutout 17mm wide and 1.5mm deep.
Position two mounting pegs centered 17mm apart. Each peg is composed of a cylinder with a 3mm rad... | holeSeparation = 17;
insertRadius = 6/2;
holeRadius = 3.3/2;
stopperRadius = 8/2;
width1 = 63;
width2 = width1;
separation=14;
barWidth = 15;
thickness = 1.5;
armScale = .75;
$fn = 50;
module peg() {
difference() {
union() {
cylinder(r=insertRadius, h=4);
cylinder(r=stopperRadiu... | glb/cad_64adf566d719.glb |
Create a skeleton key consisting of a cylindrical shaft and a decorative handle. Start with a main shaft that is a cylinder 7mm in diameter and 24mm tall. At the base of this shaft, attach a rectangular block measuring 11.5mm wide, 3mm deep, and 7mm tall. For the handle, create three identical circular loops, each with... | difference(){
union(){
cylinder(d=7,h=24,$fn=30);
translate([0,-1.5,0])cube([11.5,3,7]);
translate([0,0,40])rotate([90,0,0])loops();
}
cylinder(d=3.8,h=35,center=true,$fn=20);
translate([1.1+7,0,0])cube([2.2,4,2*2.7],center=true);
translate([1.1+7,0,7])cube([2.2,4,2*2.7],cent... | glb/cad_7b580d674a3f.glb |
Create a wall mount guitar holder consisting of a flat base and two vertical pegs. Start with an oval base plate that is 110mm long, 59mm wide, and 5mm thick. Center a vertical hole with a 5mm diameter and 12mm depth through the base. Position two identical vertical pegs on the base, spaced 45mm apart from center to ce... | $fn=100;
d=14;
spacing=45;
dif=(spacing+d)/2;
module peg(){
difference(){
union(){
cylinder(d1=d,d2=d,h=70);
translate([0,0,70])sphere(d=d);
}
translate([0,0,65])rotate_extrude(convexity = 10)translate([d/2+2, 0, 0])circle(r = 3);
}
}
translate([0,-dif,0])peg();... | glb/cad_fe259b6f7a16.glb |
Create a soap dish by starting with a base formed from the convex hull of two cylinders, each with a radius of 40mm; one cylinder has a height of 16mm and the other, positioned 45mm away along the x-axis, has a height of 15mm. Carve out a concave top by removing the volume created by the convex hull of two spheres, eac... | $fn = 120;
difference() {
hull() {
cylinder(r = 40, h = 16);
translate([45, 0, 0]) cylinder(r = 40, h = 15);
}
translate([0, 0, 75])
hull() {
sphere(r = 70);
translate([45, 0, 0]) sphere(r = 70);
}
}
for(shiftMe = [0:10:40])
translate([shiftMe, 28, 4])
rotate([9... | glb/cad_c41eb4bb9035.glb |
Create a round birdhouse consisting of a hollow cylindrical shell. Start by forming the main body as a cylinder with an outer radius of 53mm and a height of 85mm. To create the interior cavity, remove a concentric cylinder from the center with a radius of 50mm and a height of 120mm, starting from a height of 2.5mm from... | $fs = 1;
$fn = 180;
difference() {
union() {
cylinder(r = 53, h = 85);
cylinder(r = 51, h = 100);
}
translate([ 0, 0, 2.5]) cylinder(r = 50, h = 120);
translate([ 35, 0, -10]) cylinder(r = 2.5, h = 20);
translate([-35, 0, -10]) cylinder(r = 2.5, h = 20);
translate([ 0,... | glb/cad_bc73a626c5b7.glb |
Create a round birdhouse base by constructing a hollow cylinder with an outer radius of 53mm and a height of 65mm. Inside this shape, remove a central cylindrical core with a radius of 50mm and a height of 120mm, positioned so that it starts 2.5mm below the bottom surface to create a floor. To finish the base, add a se... | $fs = 1;
$fn = 180;
difference() {
union() {
cylinder(r = 53, h = 65);
cylinder(r = 51, h = 80);
}
translate([ 0, 0, -2.5]) cylinder(r = 50, h = 120);
cylinder(r = 51.5, h = 20);
} | glb/cad_361c458062e4.glb |
Create a round birdhouse consisting of a base, a hollow cylindrical body, and a roof. Start with a rectangular base plate measuring 120mm by 130mm with a thickness of 3mm.
Construct the main body as a hollow cylinder with an outer radius of 53mm and an inner radius of 50mm, extending to a height of 100mm. At the fron... | $fs = 1;
$fn = 180;
translate([-60, -75, 0])
cube(size = [120, 130, 3]);
intersection() {
translate([-75, -75, 0])
cube(size = [150, 150, 150]);
translate([0, 0, -5])
rotate([10, 0, 0])
difference() {
cylinder(r = 53, h = 100);
translate([ 0, ... | glb/cad_fff6615c84bf.glb |
Create a video tape reel consisting of a wide base and a central hub. Start with a circular base 130mm in diameter and 2mm thick. On top of this base, center a hollow cylindrical hub with an outer diameter of 43mm and a height of 15.9mm; the interior cavity of this hub should have a diameter of 37mm.
Through the cente... | basediameter = 130 ;
basethickness = 2 ;
hubheight = 15.9 ;
sdiam = 9.2 ;
kd = 4.2 ;
kw = 2.5 ;
ko = kw * 0.5 ;
difference ()
{
difference ()
{
union ()
{
cylinder (h = basethickness, r= basediameter * 0.5, center = false) ;
cylinder (h = hubheight, r= 43 * 0.5, center = false... | glb/cad_96a9196e6706.glb |
Create a half-inch video tape reel top. Start with a circular base 130mm in diameter and 2mm thick. Centered on this base, add a cylindrical hub 36mm in diameter and 8mm high. Hollow out the center of this hub by removing a cylinder 34mm in diameter, starting 2mm above the base.
Cut two rectangular windows through the... | basediameter = 130 ;
basethickness = 2 ;
sdiam = 9.2 ;
difference ()
{
difference ()
{
union ()
{
cylinder (h = basethickness, r= basediameter * 0.5, center = false) ;
cylinder (h = 8, r= 36 * 0.5, center = false) ;
}
translate (v = [0, 0, 2])
cylinder ... | glb/cad_93fb4ae18572.glb |
Create a Stanley Deep Organizer container body with a total width of 78mm, a total depth of 107mm, and a height of 29.33mm. The main body is a hollowed-out shell formed by the convex hull of four 25-facet cylinders with 3mm radii placed at the corners. The interior cavity is created by subtracting a smaller convex hull... | x_length = 2;
y_length = 2;
x_divisions = 0;
y_divisions = 1;
height = 29.33;
divider_height_subtract = 0;
divider_height = height - divider_height_subtract;
module stanley_container(x, y, x_div, y_div, height=29, divider_height=divider_height) {
difference() {
hull() {
translate([3,3,0]) cyl... | glb/cad_b947bfa5af8b.glb |
Create a Stanley Deep Organizer container base with a total footprint of 78mm by 107mm and a thickness of 3.1mm. The main body is a rectangular plate with rounded corners, formed by the convex hull of four cylinders, each with a radius of 1mm and a height of 3mm, positioned at the corners: (3, 3, 0), (75, 3, 0), (3, 10... | x_length = 2;
y_length = 2;
middle_nubs = "yes";
middle = middle_nubs == "yes";
module stanley_base(x, y, middle=true) {
hull() {
translate([3,3,0]) cylinder(1,3,3,$fn=25);
translate([39*x-3,3,0]) cylinder(1,3,3,$fn=25);
translate([3,53.5*y-3,0]) cylinder(1,3,3,$fn=25);
translate(... | glb/cad_559f8b80bec7.glb |
Create a 3D density plot for flow cytometry. Begin by generating a surface plot based on the provided data file, scaling it by -0.8 on the X-axis and 0.8 on the Y-axis, and centering it. Add a rectangular base by placing a cube with dimensions 130mm by 130mm and a height of 2mm at the center, positioned 1mm upward alon... | difference(){
union(){
scale([-0.8,0.8,1]) rotate([0,0,90]) render()
surface(file="R_3D_flow_KH_08-15_Ca-1.txt", center=true,
convexity=5);
render() translate([0,0,1]) cube([130,130,2], center=true);
}
render()
for(yi = [-55:12:60]){
for(xi = [-55:12:60]){
... | glb/cad_ef532393e733.glb |
Create a filament guide clip consisting of two intersecting ring-like structures.
First, create a circular ring with an outer diameter of 50mm, a wall thickness of 4mm, and a height of 10mm. Cut two narrow slits into this ring: one vertical slit and one circular slit, both 1mm wide, to allow the ring to flex.
Second... | use <MCAD/configuration.scad>
use <MCAD/moreconfiguration.scad>
use <MCAD/nuts_and_bolts.scad>
smooth = 160;
smoother = smooth;
$fn=smooth;
cubes = 15.0;
depth=10;
circDiam=50;
thickness=4;
slitWidth=1;
smRing=0;
circRad=circDiam/2;
if (smRing==0){
bigCircle();
}
translate ([circDiam*1.25-thickness,0,0]) mirro... | glb/cad_ad317685a42e.glb |
Create a 2 Color Mix Test object consisting of a series of seven adjacent rectangular prisms aligned along the x-axis. The overall footprint of the combined shapes is 50mm wide, 10mm deep, and 0.9mm high.
Construct the model by placing seven blocks side-by-side. Each block has a width of approximately 8.34mm (calcula... | layer_height = 0.3;
width_over_thickness = 1.65;
steps = 6;
thread_width = layer_height * width_over_thickness;
color_a();
module combined() {
color_a();
%color_b();
}
module color_a() {
union() {
for (i=[0:steps+1]) {
translate([-25+(i*50/(steps)), -(10-(i*thread_width*2))/2, i*layer_height]) {
cube([50... | glb/cad_75c6f3495e2f.glb |
Create a square pipe plug designed for a 40mm square pipe with a 2mm wall thickness. Start by creating a base plate that is a square with rounded corners, measuring 36mm by 36mm (calculated as the pipe inner dimension of 36mm plus the 2mm wall thickness on each side to fit the 40mm outer dimension), with a height of 3m... | $fn=50;
plug_height=3;
plug_depth=12;
pipe_thickness=2;
pipe_side=40;
outer_rad=5;
inner_rad=1.5;
plug_walls=3;
lock_rad=5;
lock_protrusion=0.2;
lock_position=7;
chamfer=0.3;
hull() {
cylinder(r=outer_rad,h=plug_height);
translate([pipe_side-2*outer_rad,0,0]) cylinder(h=plug_height,r=outer_rad);
translate([pipe_side-... | glb/cad_5426560dadc8.glb |
Create a Nema23 Z motor mount designed for a Prusa Mendel. The main body is a rectangular block with a central recessed well measuring 41mm by 43mm and 13mm deep to accommodate the motor.
Integrate a vertical smooth rod slot with a diameter of 8.1mm, positioned so the motor shaft and smooth rod maintain a standard spa... | include <configuration.scad>
use <functions.scad>
include <frame-vertex.scad>
threaded_rod_diameter =8.0;
smooth_bar_diameter = 8.1;
washer_diameter = 17;
clamp_size = 6;
wedge_width = 2.5;
end_size = 7.5;
add_smooth_z =0;
add_vertices = 15;
motor_sq = 15;
module zmotormount()
{
difference()
{
union()
{
... | glb/cad_306a9f68cdb1.glb |
Create a Customizable Tumbler Tag by constructing a solid block 10mm wide and 10mm thick. The main body is a rectangular ring with a wall thickness of 1.1mm. Inside this block, carve out a central wedge-shaped slot to accommodate a glass. This slot should taper from a maximum width of 3.5mm at the opening to a minimum ... | GLASS_MAX = 3.5;
GLASS_MIN = 1;
HEIGHT = 15;
WIDTH = 10;
WALL = 1.1;
image_file = "symbol.dat";
RADIUS = (WALL-0.1)/2;
ANGLE = atan2(GLASS_MAX/2, HEIGHT);
SYMBOL_WIDTH = WIDTH * 0.8;
difference() {
linear_extrude(height=WIDTH) {
union() {
halfed_outline(GLASS_MAX, GLASS_MIN, HEIGHT*0.7, RADIUS, WALL);
... | glb/cad_ae4d9109663f.glb |
Create a Y bearing bracket with a uniform thickness of 7mm. The base geometry is formed by the union of three cylinders, each with a radius of 10mm and a height of 7mm. Position the first cylinder at the origin (0, 0, 0), the second at (-29.4, -51.05, 0), and the third at (0, -31.6, 0). Connect these cylinders with a r... | include <configuration.scad>
include <functions.scad>
bar_width = 20;
bar_thickness = 7;
bushing_diameter = 20;
top_bar_to_bearing_distance = 31.6;
bar_x_offset = 3.4 + 26;
bar_y_offset = 30.05+21;
bottom_angle = atan((bar_y_offset-top_bar_to_bearing_distance) / bar_x_offset);
bottom_bar_length = bar_x_offset / cos(... | glb/cad_d02c9997c5fa.glb |
Create a belt clamp consisting of a central rectangular block with rounded ends. The main body is a rectangular prism 18mm wide, 10mm deep, and 4mm high, centered on the origin. Attach a semi-cylinder with a 5mm radius and a height of 4mm to each of the two 10mm-wide ends, centered along the width.
Cut two vertical ho... | include <configuration.scad>
include <functions.scad>
tooth_spacing = 5.08;
clamp_height = 4;
module beltclamp(){
difference(){
union(0){
translate(v = [0,0,clamp_height/2]) cube([18,10,clamp_height], center=true);
translate(v = [-9, 0, 0]) cylinder(r=5,h=clamp_height);
translate(v = [9, 0, 0]) cylinder(r=5,h=cl... | glb/cad_d2e518c9d70a.glb |
Create an enclosure for an LCR-T4 tester. Start with a main body formed by a cube of 111mm by 66mm by 9mm, expanded in all directions by a 5mm radius sphere to create rounded corners and edges, resulting in a total height of 19mm.
From this volume, remove a large rectangular block measuring 75mm by 66mm by 16.1mm sta... | difference(){
union(){
difference(){
translate([0,0,5])minkowski(){
translate([-3,0,0]) cube([111,66,9]);
sphere(5);
}
translate([0,0,3]) cube([75,66,16.1]);
translate([-2.5,0,16]) cube([80,46,3.1]);
translate([80,12.9,3]) cube([29,50,18]);
translate([73,5,3]) cube([36,8,18]);
translate(... | glb/cad_de9ef3231103.glb |
Create a Vase Test model consisting of 10 identical arms arranged in a circular pattern. Each arm is a rectangular prism measuring 20mm in length and 1mm in width and height. Position the center of each prism at a distance of 10mm from the origin. For every arm, create two prisms: one rotated by 30 degrees and another ... | arms=10;
arm_length=20;
arm_width=1;
radius=10;
tilt=30;
tilt2=1;
for (i = [1:arms]) {
translate([radius * cos (i*360/arms),radius * sin (i*360/arms), 0])
rotate([0,tilt,((i+1)*360/arms)])
cube([arm_length,arm_width,arm_width], center = true);
translate([radius * cos (i*360/arms),radius * sin (i*360/arms), 0])
rotat... | glb/cad_75ef1489ae04.glb |
Create a replacement train track connector consisting of a cylindrical knob attached to a rectangular base and a tapered peg. Start by creating a cylinder for the knob with a diameter of 12mm and a height of 11.5mm, using a 20-facet resolution. Attach this cylinder to a rectangular block that is 6mm wide and 11.5mm hig... | $fn = 20;
knobD = 12;
slotW = 6;
knobCenter = 18 - 12/2;
pegDepth = 9;
pegD = 5;
trackH = 11.5;
peg();
module peg(){
translate([knobCenter,0,0])cylinder(r = knobD/2, h = trackH);
translate([0,-slotW/2,0])cube([knobCenter, slotW, trackH]);
translate([-pegDepth,0,trackH/2])rotate([0,90,0])cylinder(r1=pegD/2*0.9,r2=pegD... | glb/cad_0a669c885689.glb |
Create a Filapi prototype base and support structure. Start by creating a square base plate that is 50mm wide, 50mm deep, and 30mm high. On top of this base, place a cylinder with a radius of 18mm and a height of 60mm. This cylinder should be tilted at a 35-degree angle relative to the base, rotated 45 degrees around t... | $fn=100;
module leg_con(){
difference(){
union(){
translate([0,0,-20]) cylinder(r=18,h=57);
translate([0,0,-40]) rotate([0,-35,45]) translate([30,-10,-50])
translate([10.5,10.5,30])
{
cylinder(r=18,h=72);
}
}
translate([-10.5,-10.5,-50]) cube([21,21,120]);
translate([0,0,-40]) rotate([0,-35,45]) translate([... | glb/cad_63ab5f240689.glb |
Create a multi-tone whistle consisting of a rectangular main body and a hollowed-out windway. The main body is a rectangular block with a width of 13mm (11mm internal width plus 1mm sidewalls on each side), a height of 14mm (10mm internal height plus 2mm walls top and bottom), and a total length of 88mm (calculated fro... | Open_End=true;
ROUND=true;
ROUNDLENGTH=60 ;
windway_width=11;
windway_height=3;
windway_length=16;
sidewall=1;
wall=2;
extra=1;
chamber_height=10;
chamber_width=windway_width;
ramp_angle=12;
opening_width=6;
ramp_length=(wall+extra)/tan(ramp_angle);
length_for_a4=176.4;
notes=[12];
num_notes=1;
function note_to_fr... | glb/cad_2d8cb45c00ba.glb |
Create a holed angle bracket consisting of two identical rectangular plates joined at a 35-degree angle. Each plate must be 50mm long, 10mm wide, and 1mm thick. The outer end of each plate should be rounded with a radius of 5mm.
On each plate, create three circular holes with a diameter of 5mm. Position these holes al... | thickness = 1.0;
width = 10.0;
total_length = 50.0;
hole_diameter = 5.0;
hole_distances_from_center = [-20, -10, 0.0];
bracket_angle = 35.0;
bracing_thickness = 1.0;
bracing_distances_from_corner = [15.0, 20.0];
$fa = 1.0;
$fs = 1.0;
module Semi_Rounded_Bracket(thickness, width, total_length, center_position=[0,0,... | glb/cad_61bd2dfb65d5.glb |
Create a P-Touch TZe tape organizer by starting with a solid rectangular block measuring 96mm in width, 89mm in depth, and 38mm in height. Hollow out this block by removing five identical cartridge-shaped slots, each starting 4mm from the edges. Each slot must be 88mm wide, 16.5mm deep, and 34mm high. Position these sl... | number_of_tapes = 5;
wall_width = 4;
cx = +88;
cy = +16.5;
cz = +68;
module Cartridge ()
{
difference()
{
cube([cx,cy,cz]);
translate([0, cy, 0])
rotate([90, 0, 0])
linear_extrude(height=cy)
polygon([[0,0],[0,8],[30,0]]);
}
}
difference()
{
cube([cx... | glb/cad_fcb3b5cf2786.glb |
Create a cooling fan mount consisting of a circular ring, a rectangular riser, and a mounting clamp.
Start with a hollow ring with an inner radius of 18mm, an outer radius of 23mm, and a wall thickness of 2mm. Cut 10 air holes through the ring wall, spaced evenly around the circumference. From the ring, extend a hori... | clampwidth = 56;
clampdepth = 15;
acrylthick = 8.5;
clampover = 1.5;
clampthick = acrylthick + 2 * clampover;
notchwidth = 12;
notchdepth = 8;
bumpsize = 0.5;
numbumps = 5;
screwofs = 20;
screwrad = 1.5;
ringrad = 18;
ringsize = 5;
ringwallthick = 2;
numholes = 10;
holesize = ringwallthick / 2;
shaftwall... | glb/cad_71e7c598032a.glb |
Create an Anki Overdrive Elevation by starting with a rectangular base block measuring 8mm wide, 65mm long, and 18mm high. Attach a second rectangular block to the side of the first, measuring 18mm wide, 8mm long, and 18mm high, positioned so its length runs along the 65mm side of the base, starting at the 52mm mark. O... | $fn=100;
translate ([0,0,6.5]) linear_extrude(height=5) polygon(points=[[8,20],[8,55],[24,55]]);
difference(){
union(){cube([8,65,18]);
translate([8,52,0]) cube([18,8,18]);}
translate([0,58,9]) rotate([0,90,0]) cylinder(27,2.5,2.5);
translate ([5,60,0]) cube([22,1.5,18]);
} | glb/cad_12774b277652.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.