Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a spherical cat toy by constructing a hollow lattice sphere with a radius of 25mm. The structure is formed by the intersection of multiple thin circular planes. First, create a base sphere with a radius of 25mm and a facet resolution of 48. To create the open lattice, remove material using a series of intersecti... | s_toy(25,1.5);
module s_toy(r_sphere,plane_thickness)
{
line_depth = plane_thickness;
difference()
{
sphere(r=r_sphere-0.1,center=true,$fn=48);
difference()
{
union()
{
sphere(r=r_sphere - line_depth,center=true,$fn=48);
difference()
{
sphere(center=true,r=r_sphere,$fn=48);
for ( i = [-60:15:60])
... | glb/cad_395c1204c200.glb |
Create a spherical cat toy in the shape of a hollow hemisphere with a radius of 40mm. The structure is formed by a lattice of intersecting circular ribs, each with a thickness of 2mm.
First, create a solid hemisphere with a 40mm radius. To form the open lattice, carve out the volume using a series of intersecting pla... | h_toy(40,2);
module h_toy(r_sphere,plane_thickness)
{
line_depth = plane_thickness;
union()
{
linear_extrude(height=2*line_depth)
difference()
{
circle(r=r_sphere+.1,center=true,$fn=48);
circle(r=r_sphere-2*line_depth,center=true,$fn=48);
}
difference()
{
sphere(r=r_sphere-0.1,center... | glb/cad_53d885959d5e.glb |
Create a Customizable Filament Spool with a total width of 31mm and an overall outside diameter of 180mm. The structure is centered around a central spindle hole with a diameter of 52mm.
Construct the side walls with a thickness of 3mm. These walls should be spoked rather than solid, featuring 6 spokes that are 12mm w... | spindle_id = 52;
spindle_od = 145;
spool_od = 180;
spool_width = 31;
wall_style = "spoked";
spoke_count = 6;
spoke_width = 12;
label_text = "";
label_orient = "side";
spool_wall = 3;
filament_diam = 1.75;
module right(x) {translate([+x,0,0]) children();}
module left(x) {translate([-x,0,0]) children();}
modu... | glb/cad_0430391b20fe.glb |
Create a hex tool handle with an overall height of 52mm and a radius of 15mm. The main body is constructed as a 9-sided prism. Start by creating a 9-sided cylinder with a 15mm radius and a height of 37mm. Cap both ends of this cylinder with 9-sided spheres of the same 15mm radius to create a rounded, capsule-like form.... | H=52;
R=15;
IR=7/2+.5;
ID=20;
OFN=9;
IFN=6;
rotate([0,180,0])
translate([0,0,-H])
difference(){
union(){
cylinder(r=R, h=H-R, $fn=OFN);
sphere(r=R, $fn=OFN);
translate([0, 0, H-R])
sphere(r=R, $fn=OFN);
translate([0,0,H-R/2])
cylinder(r=R-2, h=R/2, $fn=OFN)... | glb/cad_50cce17f2928.glb |
Create a Led Ring Holder for an X-Carriage by starting with a central disc that has a radius of 35mm and a thickness of 4mm. Remove a concentric cylindrical hole from the center with a radius of 28mm and a height of 2mm.
Attached to the side of this disc, create a rectangular transition plate measuring 35mm by 45mm w... | module led_ring_holder(){
difference(){
union(){
translate([0, 0, 0]) rotate(90, [0,0,1]) cylinder(r = 35, h = 4, center = true, $fn=40);
difference(){
translate([0, -50, 0]) rotate(90, [0,0,0]) cube([35,45,4], center = true);
translate([-10, -51, 0]) rotate(90, [0,0,0]) cube([7,35,4], center = tr... | glb/cad_b9299dbfa696.glb |
Create a vertical bearing holder for a Prusa i3 x-end. Start by creating a rectangular block with a width of 11mm, a depth of 19mm, and a height of 60mm, centered on the X and Y axes.
Subtract a central vertical cylinder with a radius of 7.5mm and a height of 62mm to create the main bearing bore. To allow for assembl... | bearing_diameter = 15;
module horizontal_bearing_base(bearings=1){
translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true);
}
module horizontal_bearing_base_bis(bearings=1){
difference()
{
translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true);
translate(v=[24/2,0,12]) rotate([0,... | glb/cad_53ab357250cd.glb |
Create a Small Card Tray by starting with a solid rectangular base measuring 55mm wide, 170mm long, and 35mm high, with all vertical corners rounded to a 5mm radius.
Carve three identical square bays into the top of this base. Each bay should be 51mm by 51mm with 5mm rounded corners and a depth of 50mm, though they a... | module roundedRect(size, radius)
{
x = size[0];
y = size[1];
z = size[2];
linear_extrude(height=z)
hull()
{
translate([(-x/2)+(radius/2), (-y/2)+(radius/2), 0])
circle(r=radius);
translate([(x/2)-(radius/2), (-y/2)+(radius/2), 0])
circle(r=radius);
translate([(-x/2)+(radius/2), (y/2)-(radius/2), 0])... | glb/cad_0fe3777a7644.glb |
Create a torch holder for a Makita BL1013 battery and an MR16/MR11 bulb. The main body is a hollow shell with a base thickness of 14.5mm and a total height of 63mm.
The outer shell is formed by a central block and two flanking cylinders with a radius of 12.5mm, creating a rounded rectangular profile. The interior is ... | $fn = 64;
btmthick=14.5;
height=48.5+btmthick;
module bat(rextra, h, celloffset) {
r = 11.5+rextra;
d = (42.5/2) + rextra - r;
d2 = 40.5 + rextra*2 - r*2;
union() {
translate([0,0,celloffset+h/2]) cube([d*2,r*2,h], center=true);
translate([d,0,celloffset]) cylinder(r=r,h=h);
translate([-d,0,celloffset]) cyl... | glb/cad_a6defad15684.glb |
Create a rocket-shaped cookie cutter with a total height of 8mm and a wall thickness of 1.5mm. The main body is formed by a central rocket silhouette: a rectangular base 24mm wide and 50mm tall, topped with a rounded nose cone created by the intersection of a 32mm radius circle and a 20mm wide rectangle.
At the base ... | module convex(r=2,d=1,h=2,center=false) {
dx = d/2;
intersection() {
translate([-d,0,0])cylinder(r=r,h=h,center=center);
translate([d,0,0])cylinder(r=r,h=h,center=center);
}
}
module flame_shape(dr=0,h=4) {
union() {
$fn=30;
scale([1,1,1])convex(r=17-dr,d=10,h=h);
translate([-10,6,0])rotate... | glb/cad_bbb228848dab.glb |
Create a terminal cover for a power supply unit. Start with a main rectangular body measuring 109mm in length, 47.5mm in width, and 50mm in height. Hollow out the center to create a shell, leaving a wall thickness of approximately 2mm, but leave the bottom open to fit over a terminal plinth.
On the top surface, center... | $fn=42;
length=109;
lipwidth=19.5;
extwidth = 28.5;
height=50;
hole_d=4.2;
hole_spacing=9;
holes_offset = 25;
mount_hole_d=2.5;
inlet_length = 65;
inlet_width = 32;
inlet_radius = 4;
inlet_hole_spacing = 72;
inlet_mount_hole_dia = 3;
width=lipwidth + extwidth;
module exterior()
{
difference()
{
cube([length,widt... | glb/cad_456fd11242a7.glb |
Create a window holder replacement part. Start with a base plate consisting of a rectangular block 220mm long, 22mm wide, and 4.6mm thick, joined with a second rectangular block 188mm long, 42mm wide, and 4.6mm thick, offset by 32mm along the length. At the end of this assembly, add a stretched cylinder with a radius o... | $fs=1;
$fa=1;
difference () {
union () {
translate([32, 22, 0]) scale([1, 0.63, 1]) cylinder(4.6, 32, 32);
cube([220, 22, 4.6]);
translate([32, 0, 0]) cube([188, 42, 4.6]);
}
translate([37.6, 26.2, 2.2]) hull () {
cylinder(10, d=13.2, d=13.2);
translate ([171-13.... | glb/cad_4f1c4e133797.glb |
Create a Hartmann Mask for photography consisting of a thin circular disc and a small cylindrical pin. Start by creating a main disc with an outer diameter of 71mm and a height of 3mm.
Cut two identical circular holes through the disc, each with a diameter of 15mm. Position these holes symmetrically along the center ... | outerDiamenter = 71;
holeDiameter = 15;
holeOffset = 0;
height = 3;
pinDiameter = 5;
heightPin = 10;
module createObject()
{
difference()
{
difference()
{
cylinder(r=outerDiamenter/2,h=height, $fn=100);
translate([outerDiamenter/4-holeOffset,0,-0.5])cylinder(r=holeD... | glb/cad_60251e002885.glb |
Create a spacer for a camera lens system by constructing a thin, hollow cylindrical ring. Start with a solid cylinder that has an outer diameter of 60mm and a height of 1.8mm. From the center of this cylinder, remove a smaller concentric cylindrical volume with a diameter of 43mm and a height that exceeds the original ... | innerDiameter = 43;
outerDiamenter = 60;
height = 1.8;
module createObject(innerDiameter, outerDiamenter, height)
{
difference()
{
cylinder(r=outerDiamenter/2,h=height, $fn=100);
translate([0,0,-0.5])cylinder(r=innerDiameter/2,h=height+1, $fn=100);
}
}
createObject(innerDiameter,outerDia... | glb/cad_a52f648e34d4.glb |
Create a brush cleaning tool consisting of a hollow cylindrical base and a ring of protruding teeth. Start by creating a hollow cylinder with an outer radius of 23.5mm, an inner radius of 20.5mm, and a height of 22mm.
On top of this base, add a decorative ring that follows the outer circumference. This ring is formed... | $fn = 128;
outer_r = 47 / 2;
inner_r = 41 / 2;
bottom_h = 22;
top_h = 12;
with_comb = 0;
module base( )
{
module cyl( )
{
difference( )
{
cylinder( h = bottom_h, r = outer_r );
translate( [ 0, 0, -1 ] )
cylinder( h = bottom_h + 2, r = inner_r );
}
}
module comb( num )
{
for ( i = [ 0 : num ]... | glb/cad_8a2e306b3b97.glb |
Create a C-cassette case organizer by starting with a solid rectangular base measuring 102mm in length, 65mm in width, and 12.7mm in height. Carve out three identical rectangular compartments from this base. Each compartment should be 31.33mm long and 63mm wide, with a height of 14mm to ensure they are open at the top.... | casel = 102;
casew = 65;
caseh = 12.7;
compa = 3;
compl = (casel-compa*2-2)/compa;
union () {
difference () {
cube ([casel,casew,caseh]);
translate ([2,0,0]) {
for (i = [0 : compa-1]) {
translate ([compl*i+2*i,-0.01,-0.01]) {
cube ([compl,casew-2,... | glb/cad_7a277fae7ef0.glb |
Create a Kossel 15x15 frame end cap. Start with a base plate that is 15mm wide, 15mm deep, and 2.5mm thick, featuring rounded corners with a 0.5mm radius. In the center of this base, create a vertical hole with a diameter of 5.04mm and a depth of 3mm. On the top surface of the base, add four rectangular protrusions, ea... | union () {
difference () {
translate ([0.5,0.5,0]) {
minkowski () {
cube ([14,14,2]);
cylinder (0.5,0.5,0.5,$fn=100);
};
};
translate ([4,7.5,-0.01]) {
cylinder (2.52,3,3,$fn=100);
};
};
translate ([5.85,0,2... | glb/cad_b205db3f1405.glb |
Create an Octogon sculpture by starting with a central geometric volume formed by the convex hull of three intersecting 32mm cubes, each oriented along a different primary axis (X, Y, and Z). This resulting outer shell has a maximum span of approximately 77.25mm along the diagonals.
From the center of this volume, re... | square=32;
length=square+2*(sin(45)*square);
tunneldepth=15;
tunnelside=12;
difference(){
hull()
{
cube(center=true,size=[square,square,length]);
cube(center=true,size=[square,length,square]);
cube(center=true,size=[length,square,square]);
}
cube(center=true,size=[tunnelside,tunnelside,length+.01]);
for(i=[-1,1]){
rota... | glb/cad_52be2a11d613.glb |
Create a universal holder consisting of two rectangular plates joined at a right angle. First, create a horizontal ground plate with dimensions 72mm in length, 16mm in width, and 3mm in thickness. Center two circular holes through this plate, each with a diameter of 3.2mm; position these holes 30mm apart from each othe... | vertical_hole_diameter = 3.2;
ground_hole_distance = 35.5;
vertical_width = 12;
object_width = 3;
frame_hole_distance = 10;
ground_hole_diameter = 3.2;
ground_mounting_hole_count = 2;
ground_mounting_hole_distance = 30;
module create_vertical_wall() {
translate([0, -(object_width / 2)])
difference() {
... | glb/cad_f989bd54f220.glb |
Create an oblong dog whistle with a total height of 78mm. The main body begins as a cylinder with a radius of 6mm and a height of 30mm. From the top of this cylinder, create a tapered transition using a hull operation that connects the cylinder to a sphere with a radius of 2mm positioned at the very top (z=78mm).
Holl... | $fn=50;
use <text_on.scad>;
default_height = 78;
default_cavity = 30;
default_text = "210.5";
210_and_a_half_whistle();
module 210_and_a_half_whistle() {
whistle(30, "210.5", 78);
}
module 211_and_a_half_whistle() {
whistle(35, "211.5", 78);
}
module 212_whistle() {
whistle(34, "212", 53, keyring_offset=0... | glb/cad_8e2b055ac039.glb |
Create an Experimental NAROD Connector consisting of a flat, U-shaped base. Start with a central rectangular block that is 7.325mm wide (the gap), 19mm long, and 7.3mm thick, centered on the origin. Attach two rectangular legs to the sides of this central block. Each leg must be 13mm wide, 7.3mm thick, and 31.5mm long ... | gap=7.325;
leg_width=13.0;
thickness=7.3;
leg_length=25.4;
base_length=19.0;
width=1.0;
module end(bevel,width,depth,thickness)
{
translate([0,-width/2,0]) cube([depth-bevel,width,thickness]);
translate([depth-bevel/2,0,thickness/2]) rotate([0,-90,0]) frustum(thickness,width,thickness-bevel*2,width-bevel*2,beve... | glb/cad_1e278a210580.glb |
Create a magnetic whiteboard marker holder consisting of four identical cylindrical compartments arranged in a row. For each compartment, start with a main outer cylinder 20mm in diameter and 40mm high. Hollow out the center with a cylinder 17mm in diameter, leaving a 1.5mm thick floor at the bottom and walls 1.5mm thi... | $fn = 100;
d = 17;
th = 1.5;
h = 40;
a = 4;
dm = 8.8;
hm = 4;
for ( i = [0:a-1]) {
translate([i*(d+th*2),0,0]) {
difference(){
union() {
difference() {
cylinder(d = d + th * 2, h = h);
translate([0,0,th]) cylinder(d = d, h = h);
... | glb/cad_cd9e316afa67.glb |
Create a 3D model of a great stellated dodecahedron, which forms one shell of a ditrigonal dodecadodecahedron. The shape is a star polyhedron composed of 20 intersecting triangular faces that meet at 12 exterior vertices.
To construct this geometry, define the vertices based on a scale factor of 20. The vertices are d... | great_stellated_dodecahedron(20);
module great_stellated_dodecahedron(sc)
{
translate([0,0,sc*(sqrt(5)-1)*1.113516])
rotate([0,90+(acos(-1/sqrt(5)))/2,0])
scale(sc)
polyhedron
(points = [
[ 1.00000, 1.00000, 1.00000],[ 1.00000, 1.00000, -1.00000],
[ 1.00000, -1.0... | glb/cad_6b1dff9f80e3.glb |
Create a Ditrigonal Dodecadodecahedron by constructing 13 separate geometric shells. One shell is a great stellated dodecahedron. The remaining 12 shells are identical 3D pentagrams.
To create a single 3D pentagram shell, define a polyhedron using the following vertices: $(\pm 1, \pm 1, \pm 1)$, $(0, \pm 0.618, \pm 1.... | for ( k = [
[ -20,20,0],[20,20,0],[-15,-20,0],[25,-20,0],
])
{
translate(k)
star_pentagram(20);
}
module star_pentagram(sc)
{
translate([0,0,sc*(sqrt(5)-1)*1.113516])
rotate([0,90+(acos(-1/sqrt(5)))/2,0])
scale(sc)
polyhedron
(points = [
[ 1.00000, 1.00000, 1.00000... | glb/cad_c4cfce3bf145.glb |
Create a rectangular name plate with a thickness of 1.875mm and rounded corners with a radius of 3mm. The plate's width should be based on the longest line of text, using a font size of 11mm and a character width approximation of 0.625mm, plus a 2mm border. The total height of the plate should accommodate up to three l... | line1=" kg";
line2=" L";
line3=" €";
plateHeight=0.75*2.5;
border=2;
fontThresh=0.625;
fontSize=11;
distLines=1.6;
rounding=3;
difference() {
$fn=32;
difference() {
union(){
minkowski() {
union() {
cube([max(len(line1),len(line2),len(line3))*(fon... | glb/cad_9c278b45c0b6.glb |
Create a Water Valve Box In-Wall Mount consisting of a main housing and a removable faceplate.
Construct the main housing as a rectangular box with outer dimensions of 80mm width, 50.5mm depth, and 80mm height. Hollow out the center by removing a block of 70mm by 45.5mm by 68mm, leaving walls 5mm thick on the sides a... | hex = 11.125;
barrel = 9.825;
s1 = 6;
d3 = 12.6;
r1 = 180;
d2 = 21.85;
w1 = 8;
w2 = 72;
w3 =0;
w6 = w1 + w3;
w7 = w2 - w3;
module valve(){
cylinder (8,hex,hex,$fn=8);
translate ([0,0,8])
cylinder (7,barrel,barrel,$fn=150);
translate ([0,0,15])
cylinder (15,hex,hex,$fn=8);}
module hook(){
cube ([30,3,6]);
tr... | glb/cad_6cb8cd297c1e.glb |
Create a camera mount consisting of a square base plate and a series of articulating joint segments. Start with a square base plate measuring 42mm by 42mm with a thickness of 6mm. In this base, place four vertical screw holes with a diameter of 4.4mm, centered 21mm from the edges.
Construct the articulating segments u... | $fn=100; {
module c1(){
difference(){
cylinder(40,4.25,4.25);
translate([0,0,30])
cylinder(20,1.5,1.5);}
}
module c2(){
cylinder(10,4.5,4.5);
translate([0,0,-10])
cylinder(20,1.5,1.5);
}
module screw(){
cylinder(3,2.2,4.5, center=true);
translate ([0,0,-1.5])
cyli... | glb/cad_1d1309ad0f00.glb |
Create a door lock rod clip consisting of a cylindrical body and a circular flange. Start by creating a main cylinder with a radius of 2.25mm and a length of 14mm. Surround this inner core with an outer sleeve that has a radius of 4.25mm (the inner radius plus a 2mm wall thickness).
At one end of the cylinder, add a ... | rodRadius = 4.5/2;
holeRadius = 5.5/2;
holeDepth = 2.45;
flangeSize = 0.5;
circleResolution = 90;
partThickness = 2;
slitMax = 2;
partWidth = 9.39/2;
partLength = 14;
clipThickness = 2;
flangeHeight = 15;
color("red")
union() {
difference() {
union() {
rotate_extrude($fn = circleResolution)
polygon... | glb/cad_259c92008f0a.glb |
Create a pen holder clip consisting of a cylindrical sleeve and an attached flat rectangular clip. Start by creating a hollow cylinder with an outer diameter of 12mm, an inner diameter of 10mm, and a height of 10mm. Cut a wedge-shaped opening out of this cylinder at a 40-degree angle to allow a pen to slide in.
Attach... | diameter=10;
width = 10;
length=30;
sep = 4;
wt = 1;
wt2 = 0.8;
t = "NAME";
textSize = 6;
font = "Stencil";
$fn=60;
ang=40;
height=width;
penHolder();
difference() {
clip();
textOnClip();
}
module textOnClip() {
translate ([diameter/2+length/2, -sep/2+1, height/2])
rotate([90, 0, 0])
lin... | glb/cad_86c7c3501b14.glb |
Create a drill stand block by starting with a rectangular prism measuring 16mm wide, 82mm long, and 22mm high. Centered along the width (8mm from the sides), create four vertical tapered holes. Each hole starts 2mm from the bottom surface and extends 20mm upward; the bottom of each hole has a diameter of 7.1mm, taperin... | $fn=120;
difference() {
cube([16,16*5+2, 20+2]);
translate([16/2,16+2-1-7/2,2])
cylinder(d=7.1,d2=7.4, h=20);
translate([16/2,(16+2-1)*2-7/2,2])
cylinder(d=7.1,d2=7.4, h=20);
translate([16/2,(16+2-1)*3-7/2,2])
cylinder(d=7.1,d2=7.4, h=20);
translate([16/2,(16+2-1)*4-7/2,2])
... | glb/cad_aa75d253ca6f.glb |
Create a drill stand for 3-6mm and 1/4 inch hex shafts by starting with a rectangular block measuring 16mm wide, 82mm long, and 22mm high. Remove four vertical tapered holes centered along the width (at x=8mm) and starting 2mm from the bottom. The first hole is located 15mm from the front edge with a top diameter of 3.... | $fn=36;
difference() {
cube([16,16*5+2, 20+2]);
translate([16/2,16+2-1-3.2/2,2])
cylinder(d=3.2,d2=3, h=20);
translate([16/2,(16+2-1)*2-4.2/2,2])
cylinder(d=4.2,d2=4, h=20);
translate([16/2,(16+2-1)*3-5.2/2,2])
cylinder(d=5.2,d2=5, h=20);
translate([16/2,(16+2-1)*4-6.2/2,2])
... | glb/cad_d6ed067d608a.glb |
Create a stylus arm position blind replacement for a Technics SL-DL1. Start with a rectangular base measuring 28mm in length, 10mm in width, and 1.5mm in height. Cut two narrow rectangular slots into the top surface of this base, each 28mm long and 1.25mm wide, positioned 8.8mm apart.
At the center point (10mm from t... | difference () {
union () {
difference () {
cube ([28,10,1.5]);
for (i = [0 : 1]) {
translate ([0,i*8.8,1]) {
cube ([28,1.25,0.5]);
};
};
};
difference () {
translate ([10,5,0]) {
... | glb/cad_8634cd154502.glb |
Create a syringe plunger consisting of a base, a main body, and a top finger disc. Start with a base cylinder 13mm in diameter and 2mm in height. Above this, construct the main plunger body with a total height of 66mm. This body is formed by the intersection of a 13mm diameter cylinder and two perpendicular rectangular... | plunger(PD=13.0, PBL=66.0);
$fn = 36*2;
module plunger(PD=13.0, PBL=66.0, PCW = 2.0) {
BCD = PD;
BCL = 2.0;
BCEO = 8.0;
PCSL = PBL*0.65;
PCAL = PBL*0.35;
PCAA = 8.0;
PCACD = PD*0.77;
TCD = min(PD*1.4, 22.0);
TCL = 2.0;
rotate([180,0,0])
translate([-4*0,0,-(BCL+PCSL+PCAL... | glb/cad_6ba653bfade5.glb |
Create a customizable BFF necklace consisting of two interlocking mirrored plates. Start by creating a base plate with a width of 25mm, a height of 30mm, and a thickness of 2mm. The overall shape of each plate is an oval, but the edges are modified by a jagged, zig-zag cut along the center where the two pieces meet.
O... | width = 25;
height = 30;
thickness = 2;
name1 = "Name1";
name2 = "Name2";
textSize = 4;
font = "Arial";
textAng = 60;
horzTrans = -1;
vertTrans = 1;
drillDiam = 4;
angDrill = 0;
sepDrill = 9;
$fn=60;
cut=[[-width/2,-height/2], [-width/6,-height/3], [-width/6.5,-height/5],[-width/7,-height/12],[0, 0],[width/... | glb/cad_d8c730eb47e0.glb |
Create a snap clasp consisting of two identical arm components, one closed and one open. Each arm is a flat plate 3mm wide and 12mm long. The overall profile of each arm is a hull formed by two circles with a diameter of 4mm, one centered at the origin and the other centered 8mm away along the Y-axis.
For both arms, ... | CLOSED_CLIP = false;
ClipLen = 12.0;
ClipHeight = 4.0;
ClipWidth = 3.0;
HoleDia = 2.0;
HoleEntryDia = HoleDia - 0.4;
HoleEntryOffset=1.0;
$fn = 36;
module Clip(closed=true) {
difference() {
hull() {
cylinder(d=ClipHeight, h=ClipWidth, center=true);
translate([0, ClipLen-ClipHeigh... | glb/cad_eeaaf64ee04f.glb |
Create a parametric hanging bracket with a total interior length of 70mm, an interior height of 20mm, and a thickness of 3mm for all main walls. The main body is a U-shaped channel formed by a central rectangular base of 70mm by 3mm by 15mm, with two vertical side walls each 20mm high and 3mm thick.
At each end of the... | BrackWid = 15;
BrackThk = 3;
Tolr = 1.2;
Chamfer = 3;
TabBrace =true;
Ribs = true;
Arched = true;
translate([-18,-18,0])rotate([0,0,-45])
Bracket(Long=70,High=20, TabLng = 15,ScrwHole = 4.2);
module ScrwTo(Len, BrcLen,Scrw) {
difference(){
union() {
cube([Len+BrackThk,BrackThk,BrackWid], center = false... | glb/cad_4ca7742ead87.glb |
Create a Pokemon Deck Box consisting of a main body and a lid. The main body is a rounded rectangular container with a total height of 23.3mm. The outer dimensions are 71mm wide by 96mm deep, with 2mm thick walls and corners rounded to a 3.8mm radius.
Hollow out the interior to create two stacked compartments. The pr... | inside();
$fn = 50;
deckWidth = 63+2;
deckHeight = 88+2;
deckThickness = 18.3+0.5;
deckCornerR = 1.8;
coinDia = 34.25;
coinThickness = 2.25;
wall = 2;
compartmentWidth = 40;
compartmentHeight = 60;
compartmentDepth = 4;
lidClearance = 0.4;
sideHoleR = 8;
detentR = 1;
detentOffset = deckWidth/2+wall;
detentWidth... | glb/cad_c45fc11303fe.glb |
Create a paper size adjuster consisting of a long rectangular base with a total length of 130mm, a width of 15mm, and a height of 15mm. The main body is a rectangular slab 130mm long, 2mm wide, and 15mm high. At one end, add a vertical block that is 5mm long, 20mm wide, and 15mm high.
Along the length of the main sla... | $fn=24;
Width = 15;
Lenght = 130;
module fillet(r, h) {
translate([r / 2, r / 2, 0])
difference() {
cube([r + 0.01, r + 0.01, h], center = true);
translate([r/2, r/2, 0])
cylinder(r = r, h = h + 1, center = true);
}
}
difference(){
union(){
translate([0... | glb/cad_9e72b36c686a.glb |
Create two identical limit switch mounts. For each mount, start with a base composed of two joined rectangular blocks: one measuring 24mm by 28mm by 4mm, positioned from x=-5, y=-3, z=0, and a second block measuring 9mm by 21mm by 4mm, positioned at x=17, y=4, z=0.
From this combined base, remove five vertical cylind... | use <MCAD/nuts_and_bolts.scad>
xstopS();
translate([60,0,0]) scale([-1,1,1]) xstopS();
module xstopL(){
difference(){
union(){
translate([-5,-3,0]) cube([16+11,28,4]);
translate([20,4,0]) cube([9,21,4]);
}
translate([-2,0,-1]) cylinder(r=3.4/2,h=10,$fn=32);
translate([8.5,22,-1]) cylinder(r=3.4/2,h=10,$fn=32);
tran... | glb/cad_906fc3546f78.glb |
Create a Book Basket by starting with a solid rectangular block measuring 69mm wide, 174mm deep, and 160mm high. Hollow out the center by removing a smaller rectangular block measuring 65mm by 170mm by 200mm, positioned 2mm from the bottom and side walls to create an open-top container.
To create the decorative honeyc... | difference() {
cube([69, 174, 160]);
translate([2, 2, 2]) {
cube([65, 170, 200]);
}
translate([0, 17, 20]) {
rotate([0, 90, 0]) {
cylinder(100, 10, 10, 0, $fn=6);
}
}
translate([0, 37, 20]) {
rotate([0, 90, 0]) {
cylinder(100, 10, 10, 0, $... | glb/cad_e10dde6795ef.glb |
Create a cylindrical object with a total height of 11.2mm and an outer diameter of 25.2mm. The main body is formed by a cylinder with a diameter of 22.6mm and a height of 7.6mm, which is then rounded over all edges using a 1.3mm radius. At the base, add a flat disc with a diameter of 27.5mm and a thickness of 2mm, posi... | resolution = 100;
diameter = 25.2;
height = 11.2;
real_diameter = diameter - (2*1.3);
real_height = height - (2*1.3);
difference() {
union() {
minkowski() {
hull() {
cylinder(h=(real_height-4), d1=real_diameter, d2=real_diameter, center=true, $fn=resolution);
translate([0,0,(real_height-4)]) c... | glb/cad_dae633d486a1.glb |
Create a parametric screw pile head mold. The object is a hollowed-out conical spiral structure.
Start with a central vertical axis. Create a conical outer shell that transitions from a narrow point at the top to a wider base. Around this central core, wrap a spiral screw blade that winds around the cone. The outer d... | clearance = 0.2;
dd_internal = 57 + clearance;
wall = 2.4 * 3;
dd = dd_internal + 2 * wall;
vivisect = false;
scaling = 1;
r0 = dd / 10;
r2 = dd * 1.3;
r3 = dd / 2;
h = dd * 1.7 * scaling;
h2 = h * 0.6;
h3 = h2 * 1;
h4 = h * r0 / r3;
c1 = 0.28;
bolt_InnerD = dd_internal > 45 ? 10 : 8;
bolt_OuterD = bolt_InnerD + wal... | glb/cad_fbb1588030d9.glb |
Create a parametric screw pile head mold. The overall shape is a conical screw with a hollow center and a square bolt hole.
Start with a central vertical axis. Create a conical section that transitions from a small radius of 7.78mm at the top to a larger radius of 103.48mm at the base over a height of 133.96mm. Below ... | clearance = 0.3;
dd_internal = 76 + clearance;
wall = 1.8;
dd = dd_internal + 2 * wall;
vivisect = false;
scaling = 0.8;
r0 = dd / 10;
r2 = dd * 1.36;
r3 = dd / 2;
h = dd * 1.7 * scaling;
h2 = h * 0.6;
h3 = h2 * 1;
h4 = h * r0 / r3;
c1 = 0.30;
bolt_InnerD = dd_internal > 45 ? 10 : 8;
bolt_OuterD = bolt_InnerD + wall... | glb/cad_1d6a178b8db3.glb |
Create a measuring spoon with a total volume of 5ml. Start by forming the bowl as a prolate spheroid, scaled to be 1.5 times wider along the x-axis than the y-axis. Hollow out the center of this bowl using a slightly smaller concentric spheroid, then slice off the top half of the bowl to create an open cavity. Attach a... | use <write.scad>
volume=5;
text="5ml";
sc=pow((volume/2.5),1/3);
difference()
{
union()
{
hull()
{
scale(sc)spoon();
translate([0,0,-sc*5])sphere(1);
}
scale(sc)
union()
{
hull()
{
translate([50,0,0])cyli... | glb/cad_a047db53b16a.glb |
Create an Alien Lava Lamp Topper by combining a tapered base, a dome, and a decorative emblem. Start by creating a hollowed conical frustum with a height of 52mm; the bottom face should be a circle with a diameter of 50mm and the top face a circle with a diameter of 30mm. Remove a central cylindrical core from this bas... | module base(zheight, top, bot) {
difference(){
cylinder(h=zheight, r1=top/2, r2=(bot+4)/2, center = false);
translate ([0,0,-10]) cylinder(h=zheight, r1=top/2, r2=bot/2, center = false);
translate ([0,0,zheight-20]) cylinder(h=40, r=bot/2, center = false);
}
}
module topper(zheight) {
frac = 0.6;
rad = 34/2;... | glb/cad_d2164394a346.glb |
Create a pair of novelty glasses called "2014 glasses" consisting of a front frame and two arms.
For the frame, create two symmetrical lens openings. Each opening is based on a modified eye shape: a hull of two circles (radius 15mm) connected by a rounded bottom and a flat top. The frame thickness is 3mm, with a tota... | use <write.scad>
word="2014";
part = "arms";
print_part();
wordlength = len(word);
module print_part() {
if (part == "frame") {
only_frame();
} else if (part == "arms") {
only_arms();
} else if (part == "both") {
build_print();
} else {
build_print();
}
}
module only_arms() {
translate([0,10,0]) ar... | glb/cad_797530e7b1ce.glb |
Create a battery compartment cover for a TV remote. Start with a main rectangular body measuring 100.80mm in length, 14.65mm in width, and 4.03mm in height. Hollow out the center of this body by removing a rectangular section measuring 98.06mm by 12.42mm with a depth of 2.25mm, positioned 1.00mm from the front edge and... | $fn=40;
module remote_klap()
{
render(convexity=5) difference()
{
cube(size=[100.80,14.65,4.03]);
translate([1.00,1.09,4.03-2.20]) cube(size=[98.06,12.42,2.25]);
}
translate([-3.70, 4.42, 2.47]) cube(size=[4,6.04,1.55]);
render() translate([100.80-1.5,1.67,0.0]) difference()
{
union()
{
translate([... | glb/cad_e710f82dda65.glb |
Create an X-Carriage for a Wilson 2 printer consisting of a main carriage body and an attached sensor mount.
For the main carriage, create a hull that encompasses two cylinders of radius 2mm and height 33mm (positioned at Z = 25.15mm and Z = -25.15mm, rotated 90 degrees on the X-axis) and two larger cylinders of radi... | $fn = 64;
rodAbstand = 50.3;
lm10uu_width = 29.5;
lm10uu_radius = 19/2;
hotendMountHoleOffset = 23;
hotendMountHoleRadius = 3.5/2;
chainDepth = 65;
sensorZOffset = -10;
sensorRadius = 19/2;
sensorScrewDiameter = 29;
carriage();
sensorMount();
module carriage() {
difference() {
hull() {
edge =... | glb/cad_20f9015370af.glb |
Create a wing bracket for a Multiplex Twinstar II. Start with a central rectangular plate 80mm long, 20mm wide, and 3mm thick. At each end of the plate, center a cylinder with a radius of 10mm and a height of 3mm. On top of these end cylinders, add a smaller cylinder with a radius of 5mm and a height of 8mm, capped wit... | $fn=20;
A1=3;
A2=8;
module base()
{
render(convexity=3) union()
{
translate([0,0,A1/2]) cube([80,20,A1], center=true);
translate([40,0,0]) cylinder(h=A1, r=10);
translate([-40,0,0]) cylinder(h=A1, r=10);
translate([40,0,0]) cylinder(h=A2, r=5);
translate([-40,0,0]) cylinder(h=A2, r=5);
translate([40,0,A... | glb/cad_6b7a703b88a5.glb |
Create a pointy lamp shade consisting of a top and bottom section. The overall structure is based on equilateral triangles rather than smooth circles.
For the top section, create a series of 21 concentric triangular shells. Each shell is a thin-walled triangular tube with a wall thickness of 1mm. The largest shell has... | R = 80;
OFFSET = 25;
THICKNESS = 1;
I = 20;
SPACING = 7;
BOTTOM_OFFSET = 100;
BOTTOM_THICKNESS = 3;
module part(size, offset, offset_x, thickness) {
difference() {
hull() {
translate([0, 0, offset])
linear_extrude(1)
circle(size+offset_x, $fn=3);
linear_ext... | glb/cad_8ff466ad8023.glb |
Create a wing skid for an RC aircraft by extruding a specific 2D profile to a thickness of 3mm. The profile is a flat, elongated, and curved shape that forms a protective hook. Start the outline at the top hook tip at (-21.4, 60), curving through (-24.2, 65) and (-15, 70) to a peak, then descending through (8, 13), (11... | curvepoints = [
[-21.4,60],[-24.2,65],[-15,70],
[8,13],[11,10],[18,10],[21,13],
[20,35],[30,35],[30.4,28],
[28,27.5],[27,30],[25.5,31.5],[24,30],
[25,13],[27,10],
[33,9],[40,9],[50,12],[70,27],[85,43],[100,65],
[112,100],[120,125],
[115,90],[105,60],[85,30],[60,7],
[55,4],[40,0],
[9,0],[5,4],[... | glb/cad_4d17fcc67d67.glb |
Create a hairpin-style clip with a total width of 10mm. Start with a semi-circular loop at one end with an outer radius of 5mm and a wall thickness of 2mm. From this loop, extend two parallel arms each 40mm long and 2mm thick. The arms should be separated by a gap of 1.34mm. On the inner face of one arm, add a series o... | fn = 64;
pin_radius = 5;
pin_length = 40;
pin_width = 10;
pin_thickness = 2;
pin_gap = 1.34;
tooth_width = 2.2;
tooth_height = 1;
teeth_on_spring_side = true;
linear_extrude(pin_width) pin_section();
module pin_section() {
difference() {
translate([0, pin_radius], 0) {
difference() {
circl... | glb/cad_7527f2eeb297.glb |
Create a camera mounting bracket and case starting with a base rectangular plate measuring 24mm wide, 75mm long, and 1mm thick. On the top surface of this plate, centered at the front end (5mm from the edge), place a hollow cylindrical stabilizer with an outer radius of 5mm, an inner radius of 4.2mm, and a height of 4m... | $fa = .1;
$fs = .1;
$fn = 100;
width = 24;
height = 20;
sphere_radius = 6;
length = 75;
stabiliser_height = 4;
difference() {
union(){
cube([width, length, 1]);
translate([width/2, length - 10, (height - sphere_radius) / 2]) {
cylinder(r1=sphere_radius * 1.4, r2=sphere_radius / 2, h=height - sphere_ra... | glb/cad_0a2c7c82efea.glb |
Create a Parametric Ball Chain Pulley. Start with a central cylinder that has a diameter of 39.44mm (calculated from 28 balls with 4.4mm spacing) and a height of 5.25mm. Add two circular rims to the top and bottom of this cylinder; each rim should have a thickness of 2mm and a radius that extends 3mm beyond the cylinde... | $fa = 10;
$fs = 0.4;
fastening_method = 3;
shaft_diameter = 6;
ball_diameter = 3.5;
ball_count = 28;
ball_spacing = 4.4;
link_diameter = 1.0 ;
screw_diameter = 3;
screw_count = 3;
nut_diameter = 6.3;
nut_height = 2.3;
clamp_inner_diameter = 13;
clamp_width = 8;
flat_spot_diameter = 5.0;
rims = 2;
rim_height = 3;
... | glb/cad_ca46f84eb76e.glb |
Create a personalized name keychain based on the text "JOANNE". The model consists of a base loop and extruded letters. First, create a circular loop using the character "o" in a bold font, sized at 20mm, with an extrusion height of 3mm. Position this loop at the start of the name, centered on the Y-axis and offset by ... | Font_name = "Lobster";
Text = "JOANNE";
Rotation = 50;
letter_1_height = 6;
letter_1_space = 13;
letter_2_height = 5;
letter_2_space = 14;
letter_3_height = 4;
letter_3_space = 15;
letter_4_height = 6;
letter_4_space = 16;
letter_5_height = 4;
letter_5_space = 16.5;
letter_6_height = 5;
letter_6_space = 14;
tw... | glb/cad_709ef1841e91.glb |
Create a personalized name keychain based on the text "TIFFANY". The model consists of a series of extruded letters and a circular attachment loop.
First, create the attachment loop as a 2D circular ring using the "Chewy" font style, extruded to a height of 3mm. Position this loop at the start of the name, centered o... | Font_name = "Lobster";
Text = "TIFFANY";
Rotation = 50;
letter_1_height = 6;
letter_1_space = 9;
letter_2_height = 5;
letter_2_space = 9;
letter_3_height = 4;
letter_3_space = 10;
letter_4_height = 6;
letter_4_space = 10;
letter_5_height = 4;
letter_5_space = 11.5;
letter_6_height = 5;
letter_6_space = 12.2;
l... | glb/cad_ac26666bd73c.glb |
Create a personalized name keychain based on the text "IRVINO". Each letter of the name should be extruded to a specific height and spaced apart using the following sequence: the first letter at 6mm, second at 4mm, third at 5mm, fourth at 11.5mm, fifth at 4mm, and sixth at 5mm. Use a bold, rounded font like Chewy for t... | Font_name = "Chewy";
Text = "IRVINO";
Rotation = 50;
letter_1_height = 6;
letter_1_space = 11;
letter_2_height = 4;
letter_2_space = 13;
letter_3_height = 5;
letter_3_space = 12;
letter_4_height = 6;
letter_4_space = 11.5;
letter_5_height = 4;
letter_5_space = 13;
letter_6_height = 5;
letter_6_space = 10;
twis... | glb/cad_27c16141e4d8.glb |
Create a bath tube plug consisting of a main body, a cap, and a handle. Start with the main body as a cylinder with a height of 12mm and a top radius of 19.4mm, tapering slightly at the bottom to a radius of 18.4mm. Create a shallow spherical recess in the bottom of this body with a radius of 16.4mm. In the base of the... | DELTA=0.01;
$fn = 100;
PLUG_DIAMETER = 38.8;
HOLE_DEPTH = 12;
RIM = 4;
BOTTOM_RIM = 2.8;
SCREW_RADIUS = 2.6;
SCREW_OFFSET = 2;
BOTTOM_SMALLER_BY = 1;
NHOLES = 4;
CAP_ZSCALE= 0.3;
CAP_HEIGHT = (PLUG_DIAMETER + RIM * 2 ) * CAP_ZSCALE;
HANDLE_RADIUS = 3.5;
module down(amount)
{
translate([0, 0, -amount])
{
... | glb/cad_03c7f60de861.glb |
Create a potentiometer knob starting with a circular base 8mm in radius and 2.5mm in height. From the top of this base, extend a main cylindrical body with a radius of 5.5mm and a height of 16mm.
Inside this main body, create a central vertical shaft hole with a radius of 3.3mm and a total depth of 18mm. At the botto... | module pill(_height, _radius){
union() {
translate([0,0,0]) sphere(r=_radius, $fn=32);
translate([0,0,0]) cylinder(r=_radius,h=_height, $fn=32);
translate([0,0,_height]) sphere(r=_radius, $fn=32);
}
}
module base1(_base_height,_base_radius,_knob_radius) {
union() {
cylinder(r=_base_radius, h=_base_height, $fn=64);
tra... | glb/cad_0f32aa559a2e.glb |
Create a Spool Drawer consisting of a curved bin and a mounting pole. Start by creating a base plate in the shape of a 90-degree annular sector with an outer radius of 100mm and an inner radius of 29mm. Extrude this base to a height of 2mm. From this base, build vertical walls 50mm high following the same 90-degree ann... | inner = 29;
outer = 100;
thick = 2;
hight = 50;
centrial_angle = 90;
screw_size = 3;
pole_pos = screw_size*1.34;
pole_thick = screw_size*1.33;
$fn = 360;
angles = [0, centrial_angle];
module arc(outer,inner){
points_outer = [
for(a = [angles[0]:1:angles[1]]) [outer * cos(a), outer * sin(a)]
];
points_inner = [
... | glb/cad_cb2a21dd0c0e.glb |
Create a parametric knob with a total height of 12mm. Start by constructing a base foot that is 4mm tall, which transitions from a cylinder with a 6mm radius at the bottom to a slightly wider radius at the top using a curved, flared profile. Above this foot, add a main head section that is 8mm tall with a constant diam... | knob_head_height = 8;
knob_foot_height = 4;
knob_height = knob_head_height + knob_foot_height;
knob_diameter = 18;
knob_radius = knob_diameter/2;
thumbs = 8;
thumb_diameter = 4;
screw_diameter = 7;
nut_diameter = 12.2;
nut_wall_width = 3;
nut_shaft = knob_height - nut_wall_width;
clearance = 0.4;
wall_width = 0.5;
... | glb/cad_abdf65b419ac.glb |
Create a pregnantTimpani model consisting of a large, rounded main body supported by two vertical cylindrical legs.
First, construct the main body as a rounded, bulbous form. This shape is generated by a hull of two identical polyhedrons: one positioned at [0, 50, 0] and another rotated 90 degrees on the X and Y axes... | module polyhedronByCylindrical(Dapoints = [], Datriangles = [0], Daangle=1 , Twist=360/360){
function polarheightToxyz(r, xangle, height) = [ r*cos(xangle) ,r*sin(xangle), height ];
xyz = [for(i=[0:len(Dapoints)-1]) polarheightToxyz(Dapoints[i][0], Dapoints[i][1], Dapoints[i][2])];
zstep = floor(360/Daangle);... | glb/cad_faa14583d85c.glb |
Create a customizable threaded rounded box consisting of a base and a lid.
For the base, create a cylinder with an outer diameter of 38.5mm and a height of 15mm. Remove a central cylindrical core with a diameter of 34mm and a height of 11mm, starting from a distance of 1.2mm from the bottom. At the top of the base, a... | part = 2;
inner_diameter = 34;
height = 15;
lid_height=3;
wt = 1.2;
$fn=60;
thread_length = 4;
resolution=2;
countersink=2;
thread_step=3;
step_shape_degrees=60;
facets = 6;
outer_diameter = inner_diameter + thread_step + 1.5;
thread_outer_diameter = inner_diameter + thread_step;
print_part();
module print_part... | glb/cad_34f138ec4055.glb |
Create a customizable threaded rounded box consisting of a base and a lid.
For the base, create a cylinder with an outer diameter of 40mm and a height of 15mm. Hollow out the center by removing a cylinder with a diameter of 34mm and a height of 11mm, starting from a wall thickness of 1.2mm from the bottom. At the top... | part = 0;
inner_diameter = 34;
height = 15;
lid_height=3;
thread_length = 4;
thread_step=3;
wt = 1.2;
$fn=60;
resolution=2;
countersink=2;
step_shape_degrees=45;
facets = 6;
outer_diameter = inner_diameter + 2*thread_step;
thread_outer_diameter = inner_diameter + thread_step;
print_part();
module print_part... | glb/cad_1ce2696c53a4.glb |
Create a PCB offset mount consisting of two plates connected by supporting arms. Start with a base rectangular plate measuring 40mm by 131.5mm with a thickness of 4.5mm and rounded corners of 5mm radius. In this base plate, create four 4.5mm diameter holes: two positioned 10mm from the short edges and 10mm from the fro... | use_prongs = "yes";
offset_x = 30;
offset_y = 0;
offset_z = 30;
arm_height = 20;
arm_width = 10;
m4_hole_adjustment = 0.5;
alu_w = 20.0;
alu_m = 6.2;
alu_side_w = (alu_w - alu_m) / 2;
base_w = alu_w * 2;
base_l = 131.5;
base_h = 4.5;
arm_y_margin = 20;
m4_d = 4.0 + m4_hole_adjustment;
extender();
module pl... | glb/cad_d056b6c5abe1.glb |
Create a Toyota Blank Dash Plate consisting of a rectangular base and mounting clips. Start with a main rectangular plate measuring 24mm wide, 42mm high, and 3mm thick.
Around the perimeter of the back face, add a raised gusset frame that is 2mm high and 2mm thick, leaving a 3mm inset from the outer edges. Within thi... | $Width=24;
$Height=42;
$Thickness=3;
$Gusset_Inset=3;
$Gusset_Height=2;
$Gusset_Thickness=2;
$Clip_Length=14;
$Clip_Height=3;
$Clip_Width=12;
$Center_Support_Height=5;
$fn=90;
module clip_pedistal() {
cube([$Clip_Width, $Gusset_Thickness/2, $Gusset_Height], center = true);
}
module do_triangle(b, h, w) {
linear_ext... | glb/cad_4a257dfcc72d.glb |
Create a Toyota Blank Dash Plate consisting of a rectangular base plate and two mounting clips. Start with a main rectangular plate measuring 24mm wide, 42mm high, and 3mm thick.
On the back of this plate, add a raised gusset frame that is 2mm high. This frame should be inset from the outer edges by 4mm, creating a r... | $Width=24;
$Height=42;
$Thickness=3;
$Gusset_Inset=4;
$Gusset_Height=2;
$Gusset_Thickness=2;
$Clip_Length=14;
$Clip_Height=3;
$Clip_Width=12;
$Center_Support_Height=5;
$Clip_Pedistal_Height=4;
$Use_Clip_Support=1;
$Use_Full_Clip_Support=1;
$fn=90;
module clip_pedistal() {
cube([$Clip_Width, $Gusset_Thickness/2, $Cli... | glb/cad_322df23a6fc9.glb |
Create a Vinkler test model by centering and overlapping three thin rectangular plates. The first plate should be 20mm long, 10mm wide, and 1.05mm thick, aligned along the X-axis. The second and third plates should each be 10mm long, 10mm wide, and 1.05mm thick. Rotate the second plate 60 degrees clockwise and the thir... | union()
{
color("red")
translate([0, 0, 0])
cube([20, 1.05, 10], center=true);
color("blue")
translate([0, 0, 0])
rotate([0, 0, -60])
cube([10, 1.05, 10], center=true);
color("purple")
translate([0, 0, 0])
rotate([0, 0, 60])
cube([10, 1.05, 10], center=true);
} | glb/cad_dd1024c03faa.glb |
Create a Vinkler test object composed of five thin rectangular plates, each 1.05mm thick. Start by centering a 10mm by 10mm square plate on the XY plane. Add a second 6mm by 10mm plate centered at the same origin, rotated 60 degrees clockwise, and a third 6mm by 10mm plate rotated 60 degrees counter-clockwise. Position... | union()
{
color("red")
translate([-5, 0, 0])
cube([10, 1.05, 10], center=true);
color("blue")
translate([-1.954, 2.859, 0])
rotate([0, 0, -60])
cube([6, 1.05, 10], center=true);
color("purple")
translate([-1.954, -2.859, 0])
rotate([0, 0, 60])
cube([6, 1.05, 10], center=tru... | glb/cad_6d3fd50d6807.glb |
Create an MPCNC Filament Guide designed to fit a pipe with an inner diameter of 20.8mm. The model consists of a main body with a central connecting arm linking two circular end pieces. One end is a ring-shaped guide; create a torus with a major radius of 8mm and a minor radius of 4mm. The other end is a cylindrical soc... | D=20.8;
$fn=50;
difference(){
union(){
rotate_extrude(convexity = 10)
translate([8, 0, 0])
circle(r = 4);
translate([0,0,-5])
rotate_extrude(convexity = 10)
translate([5, 0, 0])
circle(r = 1);
difference(){
translate([0,0,-5])cylinder(d=24,h=5);
translate([0,0,-6])cylinder(d... | glb/cad_a004127f5b57.glb |
Create a 3D model of a herringbone involute gear. The gear should have 30 teeth and a total height of 10mm. The teeth must be constructed using an involute profile to ensure smooth meshing, with the gear's overall geometry consisting of two mirrored helical halves that meet in the center to form a herringbone pattern.
... | d=0;
p=0;
n=30;
n2=0;
n3=0;
n4=0;
h=10;
helix=0;
chamfer=0;
spindle=0;
hole=0;
nut=0;
spokes=0;
hollow=0;
wall=2;
b=0;
t=0.15;
s=5;
fn=100;
gear_example(n1=n,n2=n2,n3=n3,n4=n4,d=d,p=p,b=b,s=s,t=t,h=h,helix=helix,chamfer=chamfer,spindle=spindle,hole=hole,nut=nut,spokes=spokes,hollow=hollow,wall=wall,f... | glb/cad_14904e294906.glb |
Create a threaded storage container for cutting and sanding wheels consisting of a base and a lid.
For the base, create a cylinder with an outer diameter of 28.3mm and a total height of 37.8mm. Hollow out the center to create an inner diameter of 25mm, leaving a wall thickness of 2mm. The hollow section should extend... | part = 0;
inner_diameter = 25;
height = 37.8;
lid_height=3;
wt = 2;
$fn=60;
thread_length = 6;
resolution=2;
countersink=1;
thread_step=3;
step_shape_degrees=60;
facets = 6;
outer_diameter = inner_diameter + thread_step + 1.3;
thread_outer_diameter = inner_diameter + thread_step;
print_part();
module print_part... | glb/cad_133e8760605f.glb |
Create a threaded storage container with a base and a lid.
For the base, create a cylinder with an outer diameter of 34.3mm and a total height of 21.8mm. Hollow out the center to create a wall thickness of 2mm, resulting in an inner diameter of 31mm. The hollow section should extend from the bottom up to 15.8mm. At t... | part = 0;
inner_diameter = 31;
height = 21.8;
lid_height=3;
wt = 2;
$fn=60;
thread_length = 6;
resolution=2;
countersink=1;
thread_step=3;
step_shape_degrees=60;
facets = 6;
outer_diameter = inner_diameter + thread_step + 1.3;
thread_outer_diameter = inner_diameter + thread_step;
print_part();
module print_part... | glb/cad_b8c310340e77.glb |
Create a threaded rounded storage box consisting of a base and a lid.
For the base, create a cylinder with an outer diameter of 36.3mm and a total height of 24.8mm. Hollow out the center to create an inner diameter of 33mm, leaving a wall thickness of 2mm. The hollow section should start 2mm from the bottom and exten... | part = 0;
inner_diameter = 33;
height = 24.8;
lid_height=3;
wt = 2;
$fn=60;
thread_length = 6;
resolution=2;
countersink=1;
thread_step=3;
step_shape_degrees=60;
facets = 6;
outer_diameter = inner_diameter + thread_step + 1.3;
thread_outer_diameter = inner_diameter + thread_step;
print_part();
module print_part... | glb/cad_957e77763523.glb |
Create a small threaded storage container for cutting and sanding wheels consisting of a base and a lid.
For the base, create a cylinder with an outer diameter of 28.3mm and a total height of 13mm. Hollow out the center to create a wall thickness of 2mm, leaving a flat bottom. The interior should have a diameter of 2... | part = 0;
inner_diameter = 25;
height = 13;
lid_height=3;
wt = 2;
$fn=60;
thread_length = 6;
resolution=2;
countersink=1;
thread_step=3;
step_shape_degrees=60;
facets = 6;
outer_diameter = inner_diameter + thread_step + 1.3;
thread_outer_diameter = inner_diameter + thread_step;
print_part();
module print_part()... | glb/cad_ff7817c43bc3.glb |
Create a 3D nameplate of the text "NEVIT". First, generate the 2D profile of the text "NEVIT" by applying a Minkowski sum with a circle of radius 3mm to create a rounded thickness, then remove a smaller inner profile created by a Minkowski sum of the same text with a circle of radius 0.5mm to give the letters a defined... | $fn=100;
rotate_extrude (angle=90)
translate ([10,0,0])
difference () {
minkowski()
{
text ("NEVIT");
circle (3);
}
minkowski()
{
text ("NEVIT");
circle (0.5);
}
} | glb/cad_ba9742e179b0.glb |
Create a customizable bag clip consisting of two mirrored arms joined by a central hinge. Each arm should be 80mm long, 10mm high, and 5mm wide.
For the first arm, create a rectangular block with a semi-cylindrical end. At the hinge end, integrate a cylindrical housing with an outer diameter of 11.2mm (5mm axis plus ... | axis_diameter = 5.0;
axis_margin = 0.6;
axis_margin_z = 0.4;
arm_length = 80.0;
arm_height = 10.0;
arm_width = 5.0;
mount_height = 3.0;
channel_d = 2;
hook_tooth_length = 4.5;
hook_margin = 1.0;
hook_thickness = 1.5;
hook_trim_length = 3.0;
_cyl_fn = 24;
base_arm();
color("red") rotate(-20) second_arm();
... | glb/cad_8c0a29926fc6.glb |
Create a heatbed support by starting with a square base measuring 18mm by 18mm with a height of 8mm. Centered on this base, add a vertical cylinder with a diameter of 10mm and a height of 16.875mm. To create the necessary clearances, remove a centered cube measuring 18mm by 18mm by 3.75mm from the lower section of the ... | module fillet(r, h) {
translate([r / 2, r / 2, 0])
difference() {
cube([r + 0.01, r + 0.01, h], center = true);
translate([r/2, r/2, 0])
cylinder(r = r, h = h + 1, center = true,$fn=100);
}
}
bed_height = 19;
difference() {
union() {
translate([0,0,4]) cube([18,18,8],c... | glb/cad_d59c1b510058.glb |
Create a Canning Jar Lid Ring by constructing a hollowed-out cylindrical cap. Start with a main cylinder that has a radius of 43.5mm (87mm diameter) and a total height of 17mm. The outer wall of this cylinder should be rendered with a low facet count to create a gripped, polygonal effect.
Inside this main body, remove... | include <Thread_Library.scad>;
reg = 71 / 2;
wide = 87 / 2;
ringCut = 57 / 2;
gripAngle = 1;
wall_thickness = 2;
cap_depth = 15;
ring_height = cap_depth + wall_thickness;
thread_height = 1.7;
thread_quality = 90;
hole_cut = 29/2;
module ring (rad)
{
difference()
{
cylinder(r=(rad+wall_thickness), cap_depth, $... | glb/cad_795ba1aec47c.glb |
Create a Nursery Cross for seed growing media by constructing two intersecting rectangular prisms, each 75mm long, 25mm wide, and 20mm high, centered on the same axis but perpendicular to one another to form a cross shape. From this solid, remove a central vertical void consisting of two intersecting rectangular prisms... | size=75;
height=20;
wide=25;
thick=1;
gap=10;
difference()
{
union()
{
cube([size, wide, height], center=true);
cube([wide, size, height], center=true);
}
for(x=[-1:1])
{
for(y=[-1:1])
{
if(abs(x)+abs(y)<2)
{
translate([x*25, y... | glb/cad_9528e31c5efc.glb |
Create a Mini Prusa Mendel mascot. Start with a base plate that is a 30mm by 30mm square with a thickness of 1mm. On top of this base, center a smaller 20mm by 20mm square bed with a height of 1mm.
Construct the frame by placing four vertical pillars at the corners of the base. Each pillar is a cylinder with a radius ... | Printer();
rotate (a=[0,-2,0]) translate(v = [0,0,-1]) 3D();
module Printer() {
$fn=8;
cube([30,30,1]);
color("green") rotate(a=-30, v=[1,0,0]) {
translate(v = [ 1,1,1.2]) cylinder(r=1,h=26);
translate(v = [29,1,1.2]) cylinder(r=1,h=26);
}
color("blue") rotate(a=30, v=[1,0,0]) {
translate(v = [1,25,-13.8]... | glb/cad_216ebd9f4964.glb |
Create a Mini Prusa Mendel mascot. Start with a rectangular base plate measuring 30mm by 30mm with a thickness of 1mm.
On top of this base, construct a frame using four vertical cylinders, each with a radius of 1mm and a height of 26mm. Position two cylinders vertically at the corners (1,1,1.2) and (29,1,1.2), tilted... | Printer();
rotate (a=[0,-2,0]) translate(v = [0,0,-1]) 3D();
module Printer() {
$fn=80;
cube([30,30,1]);
color("green") rotate(a=-30, v=[1,0,0]) {
translate(v = [ 1,1,1.2]) cylinder(r=1,h=26);
translate(v = [29,1,1.2]) cylinder(r=1,h=26);
}
color("blue") rotate(a=30, v=[1,0,0]) {
translate(v = [1,25,-13.8... | glb/cad_320d135312fa.glb |
Create two headlamp adjusters. Each adjuster consists of a vertical stem topped with a sphere.
For the first adjuster, create a rectangular base 14mm wide and 9.7mm deep. From the front edge of this base, extend a cylinder with a diameter of 9.7mm up to a height of 11mm. Above this, create a tapered section that trans... | with_central_hole = false;
stem_width = 9.7;
stem_height = 24.0;
neck_dia = 6.2;
ball_height = 73.5;
ball1_offs = 6.5;
ball_dia = 8.1;
guide_width = 16.0;
guide_thick = 2.0;
guide_a_offs = 2.7;
guide_b_offs = 9.5;
central_hole = 3.0;
adj_offs = 14.0;
adj_height = 11.0;
adj_minor = 4.65;
adj_clearance = 6.0;
ball2_o... | glb/cad_cda431c52c79.glb |
Create an adjustable wire spreader with a total length of approximately 342mm and a height of 5mm. The central body is a rectangular block 306.4mm long and 6mm wide. At each end of this body, construct a symmetrical holder.
Each holder begins with a cylindrical cutout for a wire with a diameter of 4.08mm. This hole is... | $fa = 5;
$fs = 0.35;
tol=0.05;
wired = 3.58 + 0.5;
wall = 2;
spread = 12 * 25.4;
height = 5;
spreadratio = ((spread/25.4)/(10*wall));
gapratio = 0.5;
tip = wired*1.5;
zipd = 1;
zipw = 2.5;
zipoff = tip-zipw-wired/2;
gap=gapratio * wired;
len = spread + tip*2 + wired;
tiplen = tip*2+wired/2;
tipinside = tiplen-wall... | glb/cad_7d29e49427c2.glb |
Create a Google Glass Earbud Charm by starting with a spherical cap that has an outer diameter of 16mm and a total height of 3.4mm. Hollow out the center of this cap to create a shell with an inner diameter of 14.2mm. To create the attachment clips, carve two rectangular notches into the opposite sides of the outer rim... | CharmFile = "Android_robot.dxf";
CharmScale = 0.16;
CharmVerticalOffset = 1;
OuterDiameter = 16;
InnerDiameter = 14.2;
StartHeight = 2.5;
Height = 3.4;
DomeHeight = Height-StartHeight;
BigNotch = 4.8;
SmallNotch = 3.3;
NotchClip = 0.5;
module baseCharm() {
SphereRadius = ((4 * pow(DomeHeight, 2)) + pow(OuterDiameter... | glb/cad_7a4cbddd2150.glb |
Create an ESP12 project box consisting of a main housing and a lid. The main housing is a rounded rectangular box with external dimensions of 23mm width, 37mm length, and 16.5mm height. The walls are 2.5mm thick. The four vertical corners are rounded with a 4mm radius.
The interior of the box features six cylindrical ... | acPower = false;
led = false;
temperature = true;
usbMinimumHeight = false;
i_width = acPower ? 21.0 : 18.0;
i_length = (acPower ? 42.0 : 32.0) + (led ? 6.0 : 0);
i_height = (acPower ? 27.0 : 13.7) + ((acPower || usbMinimumHeight) ? 0 : 2.8);
led_position = acPower ? i_length : 0;
wall_thickness = 2.5;
support_radiu... | glb/cad_70ad10e370b7.glb |
Create a DS18B20 cable housing consisting of five identical pin housings and five identical sensor housings.
For each pin housing, create a rectangular block 5.85mm wide, 11.15mm deep, and 14.25mm high with 1.5mm thick walls. Hollow out the center with a rectangular cutout 2.85mm wide and 8.15mm deep, starting from t... | wall=1.5;
tol = 0.3;
pins_length = 2.85;
pins_width = 8.15;
pins_height = 14.25;
pins_width1 = 4.95;
c_length = 1.5;
ds18b20_radius = 2.75;
ds18b20_height = 15.0;
ds18b20_wall = 1.0;
ds18b20_offset = 1.3;
$fn=20;
module pinHousing() {
difference() {
cube([pins_length+2*wall,pins_width+2*wall,pins_height... | glb/cad_5e65f71fb982.glb |
Create a geometric flower planter by constructing a hollowed hexagonal vessel. Start by creating a solid hexagonal prism with a height of 80mm. The base of this shape should be a regular hexagon with a diameter of 70mm, which then flares outward linearly to a larger regular hexagon with a diameter of 120mm at the top r... | module planter1(){
diameter=70;
upperDiameter = 140;
sides = 6;
height = 70;
wallthickness = 4;
difference(){
hull(){
translate([0,0,height]) rotate([0,0,(360/sides)/2]) cylinder(d=upperDiameter, h=0.01, $fn=sides);
cylinder(d=diameter, h=0.01, $fn=sides);
... | glb/cad_b8d325892335.glb |
Create a bottom piece for a customizable battery case designed to hold a 4x2 grid of batteries. The overall footprint is a rounded rectangle with a wall thickness of 1mm and a base thickness of 1mm.
The interior consists of a grid of 8 cylindrical recesses, each with a diameter of 14.7mm, arranged in 4 columns and 2 ... | use <../write/Write.scad>
_part = "bottom";
_batteryDiameter = 14.7;
_insideHeightTop = 21;
_insideHeightBottom = 30;
_columns = 4;
_rows = 2;
_walls = 1.0;
_base = 1.0;
_lipHeight = 4;
_fitGapTop = -1.5;
_fitGapBottom = 1.4;
_labelText = "";
_labelFont = "../write/orbitron.dxf";
_labelDepth = -0.3;
_label... | glb/cad_d9aec1b529f3.glb |
Create a 3D model of a Python01 vehicle. Start by placing a wheel with a diameter of 20mm and a thickness of 1.5mm at the front, centered at [0, -45, 0]. Construct a frame that connects this wheel to a rider assembly.
The rider is composed of several geometric primitives: a torso made of three cylinders with radii of ... | $fn = 20;
s = 1;
front_wheel = 20*s;
tire = 1.5*s;
ttt = front_wheel/2+4*s;
wheelbase = 45*s;
a_BB = 70;
a_pivot = 60;
yBB = ttt*sin(a_BB);
zBB = ttt*cos(a_BB);
module python() {
$fn = 15;
translate([0,0,1.5]) cylinder(r=4,h=.3,center=true);
cylinder(r=1,h=4,center=true);
translate([3*s,0,2.5*s]) cube([6*s,s,s],tr... | glb/cad_b8c2e1316bc7.glb |
Create an i3 Titan mount system consisting of a base plate, belt attachments, and a cable chain mount.
Start with a base plate as a rounded cube measuring 80mm in height, 52mm in width, and 4.4mm in thickness, with corner radii of 4mm. Drill six 3.4mm diameter holes through the plate: three positioned at x=5.25mm and... | include <rounded_cube.scad>
chain=1;
plate=1;
cable=1;
stop=1;
pl_width=52;
pl_height=80;
pl_thickness=4.4;
radius=4;
$fn=30;
belt_pitch = 2;
tooth_width = 0.8;
length = 15;
width = 10;
thickness = 10;
belt_width = 6+0.6;
belt_thickness = 1.2;
tooth_height = 1.1;
total_length=pl_width;
offset=5;
main();
module ma... | glb/cad_a7f15ffa3a0e.glb |
Create an i3 Titan mount system consisting of a main mounting plate and a sensor mount.
First, construct the main plate as a rounded rectangle 52mm wide by 80mm high with a thickness of 3mm and corner radii of 4mm. On this plate, create a central cutout for the Titan extruder and a series of NEMA mounting openings. A... | s_dia=12;
part_cooler = 1;
fanonly = 0;
include <rounded_cube.scad>
motor_size=25;
pl_width=52;
pl_height=80;
pl_thickness=3.0;
radius=4;
$fn=120;
main();
module main(){
if (fanonly) {
part_fan_mount();
} else {
titan_mount();
if (s_dia > 0) sensor_mount();
if (part_cooler... | glb/cad_f6686196a75a.glb |
Create a bearing block system consisting of two separate parts: a single block and a double block.
For the single block, start with a rounded cube measuring 32mm x 30mm x 7.7mm. Center a cylinder with a radius of 9.1mm and a height of 30mm (25mm length plus 5mm) along the Y-axis. Remove a concentric series of cylinde... | single=1;
double = 1;
include <rounded_cube.scad>
p = 25;
r = 4;
$fn= 120;
if (single) translate([20, (p+5)/2, 7.7]) single();
if (double) translate([-20, p+1, 7.7]) double();
module screw(){
translate([12,9,0]) {
rotate([0,0,30]) cylinder(r = 3.25, h=6, $fn=6);
cylinder(r=1.7, h=12, center=t... | glb/cad_a656b409c9da.glb |
Create a fan nozzle mount. Start with a base fan connection plate that is a rounded cube measuring 40mm x 40mm x 2mm with a corner radius of 4mm. Attached to this plate, position a bracket that is a rounded cube of 24mm x 24mm x 6mm with a 4mm corner radius, centered at coordinates (-10, 3, 5) and rotated 90 degrees on... | include <rounded_cube.scad>
nozzle_length = 35;
$fn = 60;
difference() {
union() {
translate([-10,3,5]) rotate([90,0,0]) rounded_cube([24,24,6],4);
translate([-20,-20,-1]) rounded_cube([40,40,2],4);
hull() {
cylinder(r=19, h=2, center=true);
translate([20, 0, noz... | glb/cad_a80489083f8e.glb |
Create a universal filament clip designed to hold 1.75mm filament. Start by constructing a main body that is 5mm thick. This body consists of a rectangular section and a rounded section joined together. The rectangular section should be 10mm wide, 1.3mm thick, and 5mm deep. The rounded section is formed by two cylinder... | filament = 1.9/2;
spacing = filament * 3.5;
thick = 1.3;
length = 5;
outer = filament + thick;
$fn=30;
difference() {
union() {
translate([-10,-thick/2,0]) cube([10,thick, length]);
hull() {
cylinder(h=length, r1=outer, r2=outer);
translate([spacing,0,0]) cylinder(h=length, r1=outer, r2=outer);
... | glb/cad_8c13e9e2aad3.glb |
Create a hollow parametric model house with a base plate and a pitched roof. Start with a rectangular floor plate measuring 20mm by 41mm with a thickness of 1mm. Build four walls around the perimeter of this plate, each 1mm thick and 20mm high. The side walls should be 40mm long, and the front and back walls should be ... | wallThickness = 1;
roofThickness = 1;
overhang = 0;
overlap = 0.01;
module makeHouse(side, face, wallHeight, roofPitch)
{
cube([face, side+wallThickness, wallThickness]);
cube([face, wallThickness, wallHeight+overlap]);
translate([0, side, 0]) cube([face, wallThickness, wallHeight+overlap]);
translate([wallThi... | glb/cad_9e64107a99b8.glb |
Create a U-shaped channel consisting of three rectangular plates joined at 90-degree angles. Each plate is 84mm long, 26mm wide, and 2mm thick. The base plate lies flat on the XY plane, while the two side walls extend vertically along the Z-axis from the long edges of the base.
Each of the three plates must have a spe... | module hole(){
translate([0,0,-1]) cylinder(4,4,4,$fn=50);
for (a=[0:7])
rotate([0,0,a*45]) translate([0,8,-1]) cylinder(4,2,2,$fn=50);
}
module hole1(){
translate([0,0,-1]) cylinder(4,4,4,$fn=50);
for (a=[0:3])
rotate([0,0,a*90])translate([0,8,-1]) cylinder(4,2,2,$fn=50);
}
module side(siz... | glb/cad_14cb121e04f0.glb |
Create a parametric named wine charm consisting of a rectangular base and an attached ring. Start by creating a rectangular plate with a thickness of 2mm. The width of this plate should be based on the text "Buzz" using a font height of 8mm, with a 2mm border surrounding the text. On the top surface of the plate, embos... | name="Buzz";
fontsize=8;
characterwidth=5.4;
innerRadius=6;
bottomplatethickness=2;
fontthickness=1;
borderthickness=2;
cut=8;
textwidth=characterwidth*len(name)+ borderthickness*2;
use <write/Write.scad>;
Font = "write/Letters.dxf";
cube([textwidth,fontsize+2*borderthickness,bottomplatethickness]);
translate([border... | glb/cad_fb9f57bd49ee.glb |
Create a Y carriage belt holder block with a total length of 35mm, height of 28mm, and a base thickness of 11mm. The main body is a rectangular block with chamfered edges.
Cut a longitudinal slot through the center of the block to accommodate a GT2 2mm profile belt. This slot should be 8mm deep and 4mm wide, with a b... | tooth_profile = "GT2_2mm";
belt_width = 4;
n = 20;
length=35;
height=28;
slotoffset=22;
blockheight=11;
slotdepth=8;
strengthwidth=7;
belttolerance=0.2;
backing_thickness = 0.6 ;
screwdepth=18;
holeoffset=4.75;
difference()
{
union()
{
difference()
{
translate([-length/2,0,0])
intersection()
{
cube([length,height,11... | glb/cad_0fa4b45769f4.glb |
Create a set of five Platonic solids, each with a volume of 5000 cubic millimeters. The set must include a tetrahedron, a cube, an octahedron, a dodecahedron, and an icosahedron.
Position the shapes in a cluster on a flat plane. Specifically, place the tetrahedron at the origin, the cube at [17.1, -17.1, 0], the octa... | minkowski()
{
sphere(d=1,$fn=20);
translate([0,0,0.5])union()
{
v=5000;u=pow(v,1/3);
tetrahedron(volume=v);
translate([u,-u,0])cube(u);
translate([2*u,u,0])octahedron(volume=v);
translate([0,3*u/2,0])dodecahedron(volume=v);
translate([u,-2*u,0])icosahedron(vol... | glb/cad_8356a9176d15.glb |
Create a Mate Ring Holder by starting with a square base measuring 40mm by 40mm with a height of 5mm. Centered on this base, place a cylinder with a height of 15mm and a bottom radius of 12.5mm that tapers outward to a top radius of 14.6mm. At the center of the base, add a smaller cylinder with a radius of 10mm and a h... | include <MCAD/shapes.scad>
difference(){
union(){
difference(){
cube([40,40,5]);
translate([47,20,2.5]) rotate([0,0,45]) rightTriangle(20, 20, 5);
}
translate([6,20,2.5]) rotate([0,0,45]) rightTriangle(19, 19, 5);
translate([20,0,2.5]) cylinder (h = 5, r=10, center = true, $fn=100);
translate([17.5,20... | glb/cad_5f5b9a6cb10a.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.