Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a "Worst Cup Ever" puzzle mug. Start by constructing a main cylindrical body with a height of 70mm, an outer diameter of 69mm, and a wall thickness of 9mm. The bottom should be flat, and the top rim should be rounded. Hollow out the center to create the mug's interior.
Add a handle to the side of the mug. The h... | Position_Of_Secret_Trick = 6;
Mug_Inner_Diameter = 64;
Mug_Height = 70;
Mug_Thickness = 3;
fn = pow(2,5);
fn2 = pow(2,4);
fn3 = pow(2,4);
cl = 0.01;
handleW = 15;
handleExtend = 20;
mugBaseLower = 0.5;
th = Mug_Thickness;
... | glb/cad_cb82a7a5fab9.glb |
Create a T-3030 frame profile by constructing a series of interlocking blocks. Start with a base cube measuring 30mm x 30mm x 22.5mm. From the center of this block, remove a cylindrical hole with a radius of 3.4mm.
To create the T-slot geometry, remove material from the four side faces to form grooves. Each groove is... | profileLength = 90;
printZHeight = 50;
printTolerance = 0.25;
spaceBetweenProfiles = 5;
$fa=0.5;
$fs=0.5;
if(profileLength <= printZHeight) {
translate([15,15,profileLength/2]) profile(profileLength);
} else {
numOfProfiles = ceil(profileLength/(printZHeight-8));
numOfRow = ceil(sqrt(numOfProfiles));
currentProfi... | glb/cad_cdc6c83088e2.glb |
Create a 3D model of the Bigtendo logo. Start by creating a base plate in the shape of a stadium (a rectangle with semi-circular ends). The overall dimensions of this base should be 68mm in length and 28mm in width, with a thickness of 6mm.
On the top surface of this base, create a raised border that follows the outer... | radiobig = 92;
thickpanel = 6;
bigtendo();
module logo_zone(){
translate([-57,109,thickpanel-2]){
hull(){
translate([0,-34,0]) cylinder(r=14,h=2.01);
translate([0,34,0]) cylinder(r=14,h=2.01);
}
}
translate([-57,109,0]){
hull(){
translate([0,-34,... | glb/cad_649956e46ee2.glb |
Create a box mount by starting with a central rectangular block measuring 100mm in length, 5mm in width, and 15mm in height. Remove a rectangular channel from the top, leaving walls that are 15mm high and 5mm wide, effectively creating a U-shaped trough. At each end of the block, centered 35mm from the middle along the... | difference(){
translate([0,-(5/2),15/2]) cube([100,5,15],center=true);
hull(){
translate([35,.5,5]) rotate([90,0,0]) cylinder(r=7/2,h=6,$fn=70);
translate([35,.5,0]) rotate([90,0,0]) cylinder(r=7/2,h=6,$fn=70);
}
hull(){
translate([-35,.5,5]) rotate([90,0,0]) cylinder(r=7/2,h=6,$fn=70);
translate([-35,.5,0]) rotate([... | glb/cad_aaaee27e8666.glb |
Create a box mount for wall mounting boxes. Start by constructing a base consisting of a central rectangular slab 100mm long, 5mm wide, and 15mm thick. Attach two additional rectangular slabs of the same dimensions to the sides of the base, each offset by 15mm along the length, to create a total width of 15mm at the ce... | difference(){
union(){
translate([0,-(5/2),15/2]) cube([100,5,15],center=true);
translate([0,-(5/2)+15,15/2]) cube([100,5,15],center=true);
translate([50-2.5,10/2,15/2]) cube([5,10,15],center=true);
translate([-50+2.5,10/2,15/2]) cube([5,10,15],center=true);
}
hull(){
translate([35,.5,6]) rotate([90,0,0]) cylinder(r=6... | glb/cad_a2cd9ffa69ee.glb |
Create a box mount by starting with a rectangular base measuring 100mm in length, 15mm in width, and 4mm in height. Center this base on the origin. Remove two large semi-circular notches from the bottom edge of the base; each notch should have a radius of 3mm and be centered 35mm from the left and right ends of the mou... | difference(){
translate([0,0,5/2]) cube([100,15,4],center=true);
hull(){
translate([35,-((15/2)+(6/2)),-.5]) cylinder(r=6/2,h=6,$fn=70);
translate([35,-1,0]) cylinder(r=6/2,h=6,$fn=70);
}
hull(){
translate([-35,-((15/2)+(6/2)),-.5]) cylinder(r=6/2,h=6,$fn=70);
translate([-35,-1,0]) cylinder(r=6/2,h=6,$fn=70);
}
trans... | glb/cad_46af508acf37.glb |
Create a box mount by starting with a rectangular base measuring 100mm in length, 15mm in width, and 4mm in height. Center this base on the coordinate system. Remove two vertical cylindrical holes from the base to create mounting points. Each hole must have a radius of 1.7mm and a height of 6mm to ensure they pass comp... | difference(){
translate([0,20,5/2]) cube([100,15,4],center=true);
translate([35,19,0]) cylinder(r=3.4/2,h=6,$fn=70);
translate([-35,19,0]) cylinder(r=3.4/2,h=6,$fn=70);
} | glb/cad_89782ab8d1bc.glb |
Create a Solar System model consisting of a central sun and nine orbiting planets, all represented as spheres with a facet resolution of 36. Place a sphere of diameter 1mm at the origin to represent the sun.
Position the following nine spheres of diameter 1mm each at their respective distances from the center on the ... | real_size = false;
resolution = 36;
if (real_size == true)
{
time_rot = $t*360;
au_mult = (1);
Sun_Size = 930.09;
Mercury_Size = 3.26;
Venus_Size = 8.09;
Earth_Size = 8.53;
Mars_Size = 4.54;
Jupiter_Size = 95.45;
Saturn_Size = 80.25;
Uranus_Size = 35.07;
Neptune_Size = 32.49;
Pluto_Size = 1.520;
Mercury_Dist = (au_... | glb/cad_cfb55c88ad3a.glb |
Create a Quick Release Lever consisting of two main components: a head and a bar. First, construct the head by creating a hull between a cylinder with a diameter of 18mm and a height of 8mm, and a small 1mm square block positioned 27mm away from the center along the Y-axis. From this head, remove a rectangular section ... | head_diameter=18;
head_radius=head_diameter/2;
head_thickness=8;
head_lever_length=36-head_radius;
flat_width=2;
bar_diameter=9.5;
bar_radiusr=bar_diameter/2;
bar_length=26;
head();
translate([0,20,0])rotate([0,90,0])
bar();
module head(){
difference(){
hull(){
cylinder(h=head_thickness, r=head_radius);
#t... | glb/cad_69117867ce7a.glb |
The provided JSON describes a 3D mesh consisting of vertices and triangles.
### Mesh Analysis:
- **Vertices**: There are 1,214 vertices. Each vertex is defined by $(x, y, z)$ coordinates.
- **Triangles**: There are 1,214 triangles. Each triangle is defined by three indices pointing to the vertices list.
### Geometric... | mark = 3;
if (mark ==1)
scale ([1,1.5,1])
difference()
{
exploitable_heart();
translate([0,30,0])
cube ([60,60,60],center=true);
translate([0,-40,0])
cube ([60,60,60],center=true);
scale (0.90)
difference()
{
exploitable_heart();
translate([0,-40,0])
cube ([60,60,60],center=true);
}
}
else
if (mark==2)
difference(... | glb/cad_cdcbc6dc3caa.glb |
Create a parametric sanding block holder. Start with a main block that is 85mm long, 40mm wide, and 30mm high. The walls of this block should be 2.5mm thick. The top edges of the side walls are angled: the back wall is angled at 70 degrees and the front wall at 45 degrees. All exterior corners of the main block should ... | width = 40;
length = 85;
height = 30;
thickness = 2.5;
extraEndThickness = 2;
endRadius = 1;
backAngle = 70;
frontAngle = 45;
middle_radius = 4;
clipThickness = 2;
clipWidth = 25;
clipEndRadius = 2;
nutHoleWidth = 9;
nutHoleInset = 3;
boltHoleDiameter = 5;
module round4CornersCube(x,y,z,r) {
translate([r, r, 0])
... | glb/cad_93f29fb1da8d.glb |
Create a rod cap bezel for an M8 rod by constructing a solid cylinder with a radius of 5.5mm and a height of 10mm. Place a hemisphere with a radius of 5.5mm directly on top of the cylinder so that the flat base of the hemisphere aligns with the top face of the cylinder. Finally, remove a central cylindrical core from t... | difference() {
union() {
cylinder(r=11/2, h=10,$fn=100);
translate([0,0,10])
sphere(r =11/2, $fn=100);
}
translate([0,0,0])
cylinder(r=9/2, h=12,$fn=100,center=true);
} | glb/cad_558ec8f6f06c.glb |
Create a 5 mm spaced coil jig by starting with a solid cylinder 20 mm tall with a radius of 7.5 mm. Remove a smaller concentric cylinder from the center of the main body with a radius of 2.8 mm and a height of 20 mm to create a hollow tube. Finally, create a vertical hole with a radius of 1.6 mm and a height of 5 mm, p... | $fn = 50;
module body()
{
difference ()
{
cylinder(20,r=7.5);
cylinder(20,r=2.8);
}
}
difference ()
{
body();
translate([5,0,15]) cylinder(5,r=1.6);
} | glb/cad_ef9eb423d495.glb |
Create a Geometric Coaster by constructing a complex star-shaped pattern with a thickness of 1mm. Begin by creating a central star composed of eight identical rhombi, each formed by scaling a 5mm square by 0.4 along the Y-axis and rotating them in 45-degree increments around the center. From this star, remove two overl... | module rhombus(){
scale([1,.4,1]){
rotate([0,0,45]){
difference(){
cube([5,5,1], center=true);
cube([4,4,1], center=true);
}
}
}
}
module innerSquare(){
r=4*sqrt(1-1/sqrt(2));
cube([r,r,1],center=true);
}
module star(){
for(i=[0:45:360]){
rotate([0,0,i]){
rhombus();
}
}
}
module starOut(){
difference(){
star();
rota... | glb/cad_bf7e15862bec.glb |
Create a Child Diamond Ring by first constructing a circular band with a diameter of 18mm and a thickness of 2mm. The cross-section of the band should be rounded, forming a torus-like ring with an inner diameter of 14mm. Centered atop the band, place a gemstone shaped as an octahedron with a total height of 5mm. This g... | translate1 = 0.90;
flatscale = .2;
roundness = .6;
scale([10,10,10]) {
scale([1,1,.5]) {
translate([0,0,0])
rotate_extrude(convexity = 1, $fn = 100)
translate([ translate1, 0, 0])
scale([flatscale,1,1])
minkowski() {
square( 1, true);
circle( d= roundness);
}
}
rotate([0,90,0]) tran... | glb/cad_66aec94c99c4.glb |
Create a Curtains Hook handle by constructing a truncated cone with a height of 60mm. The base of the cone should have a diameter of 30mm, tapering down to a top diameter of 20mm. Bore a cylindrical hole through the center of the cone along its longitudinal axis; this hole must have a diameter of 5mm and extend to a de... | $fn =100;
handle_height = 60;
handle_diametr_1 = 20;
handle_diametr_2 = 30;
rod_diameter = 5;
rod_binding_height = 20;
rotate([0, 90, 0]) translate([-handle_height, 0, 0]){
rotate([0, 90, 0]) {
difference(){
cylinder(h=handle_height*0.95, d1=handle_diametr_1, d2=handle_diametr_2, center=false)... | glb/cad_b3cf80299a24.glb |
Create a Curtains Hook tool consisting of a rectangular head and a cylindrical attachment point. The head is a block measuring 14mm in height, 8mm in width, and 24mm in length.
At the center of the head's top face, create a vertical cylindrical hole with a diameter of 20mm and a depth of 8mm. Within this same central... | $fn = 100;
letter = "Чеш";
size = 25;
target_diameter1 = 8;
target_diameter2 = 20;
handle_height = 60;
handle_diametr_1 = 20;
handle_diametr_2 = 30;
rod_diameter = 5;
head_thickness = 4;
head_hook_height = 16;
head_hook_width = 8;
rod_binding_height = 20;
rod_binding_diameter = rod_diameter+2*head_thickness;
hea... | glb/cad_fea3c39aba6a.glb |
Create a Middle Earth Quest box, which is an open-top rectangular container with rounded corners. The main body should have an outer width of 120mm, a depth of 80mm, and a height of 35mm, with a corner radius of 3mm. The walls should be 4mm thick.
The interior of the box is divided into compartments using thin walls t... | use <MCAD\boxes.scad>
module caja_sin_tapa(width,height,tall,radiusround=3,wallsize=4,separadoresX=0,separadoresY=0,tallbase=3.2)
{
union()
{
union()
{
difference()
{
color("green")
translate([0,0,tall/2])
roundedBox([width, height, tall], radiusround, true);
tra... | glb/cad_bf488e6f2396.glb |
Create a Middle Earth Quest box, which is an open-top rectangular container with internal dividers. The outer shell is a rounded box with a width of 105mm, a height of 70mm, and a total depth of 20mm. The walls and the base have a thickness of 4mm, and all exterior corners are rounded with a radius of 3mm. The base of ... | use <MCAD\boxes.scad>
module caja_sin_tapa(width,height,tall,radiusround=3,wallsize=4,separadoresX=0,separadoresY=0,tallbase=3.2)
{
union()
{
union()
{
difference()
{
color("green")
translate([0,0,tall/2])
roundedBox([width, height, tall], radiusround, true);
tra... | glb/cad_0c6d02fb290c.glb |
Create a Middle Earth Quest box by constructing a hollow rectangular container with rounded corners. The outer dimensions of the box are 80mm in width, 75mm in height, and 40mm in depth. Use a corner radius of 3mm for all exterior edges.
The walls and the base of the box should have a thickness of 4mm. The base is a s... | use <MCAD\boxes.scad>
module caja_sin_tapa(width,height,tall,radiusround=3,wallsize=4,separadoresX=0,separadoresY=0,tallbase=3.2)
{
union()
{
union()
{
difference()
{
color("green")
translate([0,0,tall/2])
roundedBox([width, height, tall], radiusround, true);
tra... | glb/cad_5719c567b276.glb |
Create a fan mount consisting of a base plate and two identical side brackets. For the base plate, create a rectangular slab 40mm wide, 4mm high, and 2mm thick. Cut a centered semi-circular notch into the top edge with a diameter of 37mm and a depth of 2mm. On the bottom face of this plate, create three rectangular slo... | $fn=60;
W=40;
Drotor=37;
hole=4.2;
grid=31.5;
depth=20.5;
Hbr=8;
Tbr=2;
Hbp=2*Tbr;
difference(){
cube ([W,Hbr,Tbr]);
translate(v=[(W/2)-(grid/2),(W/2)-(grid/2),0]){ cylinder(h=Tbr, d=hole); }
translate(v=[(W/2)+(grid/2),(W/2)-(grid/2),0]){ cylinder(h=Tbr, d=hole); }
translate(v=[(W/2), W/2,0]){ cylinder(h=Tbr, d=Dro... | glb/cad_f615ff906c4b.glb |
Create a Fan Mount consisting of a baseplate and two brackets. Start by creating a rectangular baseplate measuring 64mm wide, 24mm deep, and 4mm high. In this baseplate, place four 4mm diameter circular holes passing through the height; two holes should be centered along the depth at 6mm from the side edges, positioned... | $fn=60;
W=40;
Wbp=W+24;
Drotor=37;
grid=31.5;
depth=20.0;
Hbr=8;
Tbr=2;
Hfp=2*Tbr;
Dbp=depth+2*Tbr;
clearance=0.4;
hole=4.0;
slot=hole+clearance;
difference(){
cube ([Wbp,Dbp,Hfp]);
translate(v=[(Wbp/2)-(W/2)-((Wbp-W)/4),(Dbp/2)-(Dbp/4),0])
{ cylinder(h=Hfp, d=hole); }
translate(v=[(Wbp/2)-(W/2)-((Wbp-W)/4),(Db... | glb/cad_2e2eef78bb7f.glb |
Create a Vex Iq challenge Ringmaster ring by generating a torus with a non-circular, elliptical cross-section. Start with a small circle with a diameter of 1mm. Position the center of this circle 31.8mm away from a central axis. Rotate this circle around the axis to create a ring, but scale the resulting cross-section ... | $fn = 100;
rotate_extrude()
translate([63.6/2,0,0])
scale([12.8,25.2,0]){
circle(d=1);
}; | glb/cad_c6dffc9844ce.glb |
Create a center console clip for an armrest. Start with a main body consisting of a rectangular base 20.6mm wide, 38mm long, and 3mm thick, with all edges rounded by a 1mm radius. Add a rectangular block measuring 4mm by 18mm by 6mm centered at X=4, Y=10.5, Z=2.
From this combined volume, remove several geometric sect... | $fn=50;
difference() {
union() {
difference() {
union() {
minkowski() {
difference() {
cube([20.6, 38, 3]);
translate([]) {
cube([20, 38, 2]);
}
... | glb/cad_cc54136be103.glb |
Create an OpenDive Splitter by constructing a primary rectangular base that is 36mm wide, 2mm deep, and 3mm high. At the far end of this base, add a smaller rectangular block measuring 5mm wide, 2mm deep, and 3mm high, positioned at coordinates (31, 55, 0) relative to the origin. Ensure these two volumes are merged int... | hull(){
cube([36,1,1]);
translate([31,56,0])
cube([5,1,1]);
}
cube([36,2,3]);
translate([31,55,0])
cube([5,2,3]); | glb/cad_c25ef7bb7de4.glb |
Create a rod cap bezel by combining a cylinder and a hemisphere. Start with a solid cylinder that has a radius of 3.5mm and a height of 6mm. Place a hemisphere with the same 3.5mm radius directly on top of the cylinder's upper face so that the total height of the solid form is 9.5mm. Finally, remove a central vertical ... | difference() {
union() {
cylinder(r=7/2, h=6,$fn=100);
translate([0,0,6])
sphere(r =7/2, $fn=100);
}
translate([0,0,0])
cylinder(r=6/2, h=7,$fn=50,center=true);
} | glb/cad_427d0506dd1b.glb |
Create a Bowden Extruder consisting of a motor mount, a frame mount, a filament tunnel, and an idler lever.
First, create the NEMA 17 motor mount as a plate 5mm thick and 42.3mm wide. Center a hole with a radius of 12.25mm for the axle and add four mounting holes with a radius of 1.8mm, each featuring a countersink wi... | epsilon = 0.01;
extra_radius = 0.3;
m3_major = 3;
m3_radius = m3_major / 2 + extra_radius;
m3_wide_radius = m3_major / 2 + extra_radius + 0.2;
m3_head_radius = (m3_major + 3) / 2 + extra_radius;
m4_major = 4;
m4_radius = m4_major / 2 + extra_radius;
m4_head_radius = (m4_major + 3) / 2 + extra_radius;
drive_gear_ou... | glb/cad_5e01e02ab20f.glb |
Create a Parametric Card Holder designed to hold cards measuring 85.6mm by 54mm with a thickness of 0.8mm. Start by constructing a main outer box with overall dimensions of 89.6mm in length, 58mm in width, and 2.8mm in height, using a wall thickness of 2mm and a base thickness of 1mm.
Hollow out the center to create ... | cardDimensions = [85.6, 54, 0.8];
cardCount = 2;
cardSlotOpeningCardCount = 1;
overlap = 0.005;
talorance = 0.1;
thickness = 2;
bottom = 1;
ridgeSquares = 1;
slotH = cardSlotOpeningCardCount*cardDimensions[2] + talorance;
cardL = cardDimensions[0]+talorance;
cardW = cardDimensions[1]+talorance;
cardH = cardDime... | glb/cad_464c6ba106c0.glb |
Create a desk lamp foot replacement consisting of a cylindrical pin and a mounting block. Start by creating a vertical cylinder with a diameter of 12.7mm and a height of 30mm. On top of this cylinder, center a smaller cylinder with a height of 3mm and a diameter of 18.7mm.
Attached to the top section, create a rectan... | pin_dia=12.7;
pin_len=30;
hole=2.3;
hole_dist=16.2;
wi=10.2;
difference() {
union() {
translate([0,0,-.4])
cylinder(pin_len,.9*pin_dia/2,.9*pin_dia/2,$fn=60);
cylinder(pin_len,pin_dia/2,pin_dia/2,$fn=60);
translate([0,0,pin_len])
cylinder(3,3+pin_dia/2,3+pin_dia/2,$fn=20);
translate([0,0,41])
cube([2*... | glb/cad_d2b72002fbfd.glb |
Create a simple door hinge consisting of two identical mirrored parts. For each part, start with a rectangular base measuring 12mm by 20mm with a thickness of 3mm, ensuring the corners are rounded with a 1mm radius. On one side of the base, add two cylindrical knuckles that project outward. Each knuckle should be a cyl... | print_sep=1;
module blopp() {
translate([4,-10,0])
difference() {
minkowski() {
cube([12,20,1]);
sphere(1, $fn=45);
}
union() {
translate([-2,-2,-10])
cube([25,30,10]);
translate([6,15,-.1])
cylinder(4.9,1.6,1.6,$fn=60);
translate([6,5,-.1])
cylinder(4.9,1.6,1.6,$fn=60);
}
}
translate([0,-10,3.2])
rotate([-90,0,0])... | glb/cad_0e0359e26a60.glb |
Create a flowerpot strengthener by constructing a long, narrow base and adding two identical end-caps. Start with a central rectangular block measuring 175mm in length, 5mm in width, and 15mm in height. At each end of this central block, attach a vertical rectangular support that is 5mm wide, 15mm deep, and 15mm high, ... | $fn=64;
$fa=16;
union(){
translate([0,0,0])
cube([175,5,15], center=false);
translate([-5,-10,0])
cube([5,15,15], center=false);
translate([175,-10,0])
cube([5,15,15], center=false);
translate([15,-5,0])
cube([5,5,15], center=false);
translate([155,-5,0])
cube([5,5,15], center=false);
tran... | glb/cad_7cdc7ef5852a.glb |
Create a gypsum block for a soil moisture sensor by starting with a base cylinder that has a radius of 16.875mm and a height of 5mm. Remove two identical vertical holes from this base. Each hole consists of a lower section with a radius of 1.6mm and a height of 15mm, and an upper section with a radius of 3.2mm and a he... | difference(){
cylinder(r=33.75/2, h=5, $fn=100);
translate([7.5,0,-5])
cylinder(r=3.2/2, h=15, $fn=20);
translate([7.5,0,3])
cylinder(r=6.4/2, h=4, $fn=6);
translate([-7.5,0,-5])
cylinder(r=3.2/2, h=15, $fn=20);
translate([-7.5,0,3])
cylinder(r=6.4/2, h=4, $fn=6);
} | glb/cad_3ac3852ed218.glb |
Create a gypsum block for a soil moisture sensor by starting with a base cylinder that has a radius of 16.875mm and a height of 5mm. From this base, remove two sets of aligned vertical holes. The first set consists of two narrow holes, each with a radius of 1.6mm and a height of 15mm, positioned 7.5mm from the center a... | difference(){
cylinder(r=33.75/2, h=5, $fn=100);
translate([7.5,0,-5])
cylinder(r=3.2/2, h=15, $fn=20);
translate([7.5,0,3])
cylinder(r=9.5/2, h=4, $fn=40);
translate([-7.5,0,-5])
cylinder(r=3.2/2, h=15, $fn=20);
translate([-7.5,0,3])
cylinder(r=9.5/2, h=4, $fn=40);
translate([0,19,0])
cube([35,25,20], ... | glb/cad_136a4ecfaf7c.glb |
Create a solid rectangular block with a thickness of 10mm. The block's width should be the maximum hole diameter plus 12mm, and its length should be the sum of all hole diameters plus 60mm.
Within this block, create a series of nine aligned polygonal through-holes. Each hole's diameter is increased by a global offset... | holes = [7.9,9.0,10.0,10.9,11.9,13.1,14.6,15.9,17.6];
offset = 0.25;
spacing = 6;
thickness = 10;
function add(v, i = 0, r = 0) = i < len(v) ? add(v, i + 1, r + v[i]) : r;
module polyhole(h, d) {
n = max(round(2 * d),3);
rotate([0,0,180]) {
radius = (d / 2) / cos(180 / n);
cylinder(h = h, r... | glb/cad_64996b51799f.glb |
Create a Prop Tool Keychain with a total height of 10mm. Start by forming the main body as a hull connecting two small cylinders with a radius of 1.5mm positioned 40mm apart, and a larger central cylinder with a radius of 6.25mm. This creates a flat, elongated shape with rounded ends and a thickness of 10mm.
From thi... | bottomHole = 9.5;
topHole = 9.5;
height = 10;
thickness = 3;
length = 20;
walls = 3;
keyhole = 4.8;
$fn = 64;
difference() {
group() {
hull() {
translate([-length, 0, 0])
cylinder(r = thickness /2, h = height, center = true);
translate([length, 0, 0])
cylinder(r = thickness /2... | glb/cad_b9979514ed38.glb |
Create a quadcopter camera mount starting with a rectangular base plate measuring 40.9mm wide, 132.75mm long, and 4.25mm thick. At the four corners of this base, add four vertical cylindrical posts, each with a radius of 2.725mm and a height of 35mm.
In the center of the base, construct a housing for a camera. This ho... | $fn=90;
BASE_PLATE_SIZE = [40.90, 132.75, 4.25];
POST_R=5.45/2;
POST_H=35;
POST_0_0_POSITION =[5.7, 5, BASE_PLATE_SIZE[2]];
POST_1_0_POSITION = POST_0_0_POSITION + [30, 0, 0];
POST_0_1_POSITION = POST_0_0_POSITION + [0, 30.5, 0];
POST_1_1_POSITION = POST_0_1_POSITION + [30, 0, 0];
RUNCAM_BODY_SIZE = [22.3,14.4, 22];... | glb/cad_9e136edd443a.glb |
Create a Bottle Drain device by revolving a specific profile around a central axis to create a rotationally symmetrical object. The profile is defined by the following coordinates in millimeters: start at a point 8.5mm from the center at height 0, move vertically to 19.5mm, then move horizontally outward to 13.5mm, the... | id=9.5;
od=13.5;
thick=1;
height=18.5;
$fa=1;
$fs=1;
$fn=0;
shape = [ [id-thick,0],
[id-thick,height+thick],
[od,height+thick+(od-id+thick)],
[od,(2*height)+thick+(od-id)],
[od+thick,(2*height)+thick+(od-id)],
[od+thick,0],
[od,0],
[od,hei... | glb/cad_6cce55c8263f.glb |
Create a 3D model of a "Wall" consisting of a hollowed-out rectangular prism with a tapered, organic profile.
Start with a solid rectangular block measuring 40mm in width, 40mm in depth, and 60mm in height. Center the block at the origin.
To create the hollow interior, subtract a smaller rectangular prism from the ... | module void(){children();}
function e(obj, grab_placement) = concat(obj, g(obj, grab_placement));
function g(obj, grab_placement) = [for(i=[0:len(obj)-1]) grab(obj[i][0], obj[i][1], obj[i][2], grab_placement)];
function ga(obj, grab_placement) = grabab(obj, grab_placement);
function s_old(obj, scale_value) = [for(i=[... | glb/cad_5ac8ea657bfc.glb |
Create a 3D model of a Wall consisting of a rectangular block with a hollowed-out center. The overall outer dimensions of the block are 40mm in width, 40mm in depth, and 60mm in height.
The block is centered on the origin. To create the hollow interior, subtract a smaller rectangular prism from the center of the bloc... | module void(){children();}
function e(obj, grab_placement) = concat(obj, g(obj, grab_placement));
function g(obj, grab_placement) = [for(i=[0:len(obj)-1]) grab(obj[i][0], obj[i][1], obj[i][2], grab_placement)];
function ga(obj, grab_placement) = grabab(obj, grab_placement);
function s_old(obj, scale_value) = [for(i=[... | glb/cad_8e65ecee78d7.glb |
Create a Geuther Easylock replacement and extension part. Start by constructing a main rectangular body with a total length of 145mm, a width of 20mm, and a height of 30mm. Apply a 3mm fillet radius to all edges and corners of this body. At one end of the object, integrate a thin rectangular stopper plate measuring 20m... | $fs = 1;
minkow = 3;
basislaenge = 45;
ueberlaenge = 100;
xaussen = 20;
yaussen = 30;
stopperdicke = 2;
blechdicke = 2.5;
xinnen = xaussen - blechdicke;
yinnen = yaussen - blechdicke;
radiusloch = 5;
difference() {
union() {
translate(v = [0, (xaussen-yaussen)/2, (basislaenge-ueberlaenge)/2]) {
... | glb/cad_e0fba006cbec.glb |
Create a Geuther Easylock replacement part consisting of a vertical rectangular pillar on a flat square base. Start by creating a square base plate measuring 20mm by 20mm with a thickness of 2mm. Centered on this base, construct a vertical rectangular pillar with an outer dimension of 20mm by 20mm and a total height of... | $fs = 1;
minkow = 3;
basislaenge = 45;
ueberlaenge = 0;
xaussen = 20;
yaussen = 20;
stopperdicke = 2;
blechdicke = 1.25;
xinnen = xaussen - 2*blechdicke;
yinnen = yaussen - 2*blechdicke;
radiusloch = 5;
difference() {
union() {
translate(v = [0, 0, (basislaenge-ueberlaenge)/2]) {
minkowski() {... | glb/cad_9808d43ef4b1.glb |
Create a Geuther Easylock replacement part consisting of a rounded rectangular block sitting atop a thin flat base. Start by creating a rectangular base plate measuring 20mm wide, 30mm deep, and 2mm thick. Centered on this base, construct a vertical rectangular column with an outer width of 20mm and a depth of 30mm. Th... | $fs = 1;
minkow = 3;
basislaenge = 45;
ueberlaenge = 0;
xaussen = 20;
yaussen = 30;
stopperdicke = 2;
blechdicke = 2.5;
xinnen = xaussen - blechdicke;
yinnen = yaussen - blechdicke;
radiusloch = 5;
difference() {
union() {
translate(v = [0, (xaussen-yaussen)/2, (basislaenge-ueberlaenge)/2]) {
m... | glb/cad_2a722a0e2ea2.glb |
Create a Geuther Easylock replacement part by constructing a vertical rectangular block with a total height of 145mm, a width of 20mm, and a depth of 20mm. The main body should have rounded corners with a radius of 3mm. The bottom of the object is a flat base 2mm thick. The rest of the vertical structure is a hollow sh... | $fs = 1;
minkow = 3;
basislaenge = 45;
ueberlaenge = 100;
xaussen = 20;
yaussen = 20;
stopperdicke = 2;
blechdicke = 2.5;
xinnen = xaussen - blechdicke;
yinnen = yaussen - blechdicke;
radiusloch = 5;
difference() {
union() {
translate(v = [0, 0, (basislaenge-ueberlaenge)/2]) {
minkowski() {
... | glb/cad_8c188e4c2f0d.glb |
Create a Safety1st baby gate replacement part consisting of a vertical assembly with a central hole. Start by creating a central vertical hole with a radius of 5mm that runs through the entire height of the object. Around this hole, build a composite body. The lower section is a rectangular block measuring 17mm by 17mm... | $fs = 1;
basislaenge = 50;
ueberlaenge = 100;
radiusloch = 5;
radiuszylinder = 6.5;
xinnen = 17;
huelldicke = 3;
xaussen = xinnen + 2*huelldicke;
rechteckx = 2*radiuszylinder;
rechtecky = 25;
rechteckyverschiebung = radiuszylinder - rechtecky/2;
plattey = 2;
platteyverschiebung = radiusloch + plattey/2;
yaussen = recht... | glb/cad_6e6738f70c9f.glb |
Create a Safety1st Baby Gate replacement part consisting of a central vertical column with a hollow core. Start by creating a rectangular base block measuring 24mm wide by 24mm deep and 100mm tall. Centered on top of this base, add a second rectangular block that is 20mm wide, 20mm deep, and 50mm tall.
To transition ... | $fs = 1;
basislaenge = 50;
ueberlaenge = 100;
radiusloch = 5;
radiuszylinder = 7.5;
xinnen = 20;
huelldicke = 2;
xaussen = xinnen + 2*huelldicke;
rechtecky = 14;
plattey = 2;
platteyverschiebung = 7 + plattey/2;
yaussen = platteyverschiebung + plattey/2 + rechtecky + 2*huelldicke;
stopperyverschiebung = (platteyverschi... | glb/cad_a1f5c18ecc2c.glb |
Create a Gutter Stop by constructing a thin, hollowed-out semi-circular ring and attaching a flat rectangular tab. Start with a cylinder 74mm in diameter and 4mm high, centered on the Z-axis. Hollow out the center by removing a concentric cylinder 73mm in diameter and 3.5mm high. To create the opening for the gutter, r... | union(){
difference() {
union(){
difference(){
translate([0,0,2])cylinder(h=4, d=74, center=true, $fn=100);
translate([0,0,2.75])cylinder(h=3.5, d=73, center=true, $fn=100);
}
difference(){
translate([0,0,5])cylinder(h=10, d=68, center=true, $fn=100);
translate([0,0,4.5]) cylinder(h=12, d=66, center=tr... | glb/cad_295be24fabe6.glb |
Create a Hex Nut Spinner fidget toy. Start with a central cylinder 22.1mm in diameter and 7mm thick. This central hub contains a concentric hole 22.1mm in diameter and 7mm deep to accommodate a bearing.
Extend three equidistant arms from the center, spaced 120 degrees apart. Each arm consists of two weight pods. The f... | rays = 3;
numWeights = 2;
extra = 4;
whichWeight = "M10";
radius = 0;
$fn = 60;
x = 0; y = 1; z = 2;
thick = 5;
space = 5;
bearing = [22.1, 22.1, 7];
metric10 = [19.6, 17, 7];
metric12 = [21.9, 19, 7];
ball58 = [5/8*25.4, 5/8*25.4, 5/8*25.4];
weight = (whichWeight == "bearing") ? bearing :
(whichWeight == "M... | glb/cad_045038805c3b.glb |
Create a set of magnetic clamps for holding parts at 90-degree angles. Each clamp consists of a base and a top cap.
For the base, create a block with a total height of 6.2mm. Within this block, carve out a rectangular slot to house a magnet measuring 25.4mm in length, 6.4mm in width, and 3.2mm in height. The walls su... | length = 25.4;
width = 6.4;
height = 3.2;
nozzle = 0.4;
wall = 3;
module clamp_a_bottom(length, height, width, nozzle, wall) {
difference() {
cube([
(length+1)+(width+1)+(nozzle * wall * 3),
(length+1)+(width+1)+(nozzle * wall * 3),
height+3]);
translate([-1,... | glb/cad_d0ef1194eec4.glb |
Create a Blackout table lamp shade replacement. Start with a main hollow cylinder that has an inner diameter of 55mm, a wall thickness of 4mm, and a total height of 72mm.
From this cylinder, remove a rectangular section to create a light-directing mask. This cutout should be 32mm long, 20mm wide, and 12mm high, posit... | $fn = 200;
letter = "Чеш";
size = 15;
thickness = 4;
work_thickness = 0.5;
inner_diameter = 55;
mask_width = 20;
mask_heigth = 12;
work_length = 32;
cap_length = 10;
binding_length = 30;
key_heigth = 3;
key_length = 4;
key_width = 6.25;
keyhole_width = 8.20;
keyhole_length = 8.20;
full_length = binding_length + work_... | glb/cad_042837c68fad.glb |
Create a Carton box key consisting of a flat circular base and a protruding handle. Start by creating a cylinder with a diameter of 60mm and a thickness of 4mm. In the center of this disk, remove a square section measuring 5.6mm by 5.6mm that spans the full thickness of the disk. To build the handle, place a cylinder w... | $fn = 100;
diameter = 60;
width = 8;
heigth = 10;
thickness = 4;
clearence = 0.2;
half = true;
thread = 3;
thread_heidth = heigth;
difference(){
cylinder(d=diameter, h=thickness, center = true);
cube([width*0.7+clearence,width*0.7+clearence,thickness],center = true);
}
difference(){
union(){
cube([width*0... | glb/cad_869ecb8dfeb9.glb |
Create a Carton box key consisting of a vertical cylinder and a horizontal rectangular arm. Start by creating a vertical cylinder with a diameter of 10mm and a height of 10mm. At the base of this cylinder, add a square block that is 10mm wide, 10mm deep, and 4mm thick. Attached to the top of the cylinder, extend a rect... | $fn = 100;
diameter = 60;
width = 10;
heigth = 10;
thickness = 4;
clearence = 0.2;
half = true;
thread = 4;
thread_heidth = heigth;
difference(){
union(){
cube([width*0.7-clearence,width-clearence,thickness],center = true);
translate([0,0,(thickness+heigth)/2])
cylinder(d=width, h=heigth, center = true);
... | glb/cad_0ae2a78a8d12.glb |
Create a Carton box key consisting of a thin circular disc with a square hole at its center. The main body is a cylinder with a diameter of 60mm and a thickness of 4mm. Centered within this disc, remove a square prism with a width and depth of 10.2mm and a height that passes completely through the disc. Additionally, r... | $fn = 100;
diameter = 60;
width = 10;
heigth = 10;
thickness = 4;
clearence = 0.2;
half = true;
thread = 3;
thread_heidth = heigth;
difference(){
cylinder(d=diameter, h=thickness, center = true);
cube([width*0.7+clearence,width+clearence,thickness],center = true);
} | glb/cad_f9e486d24e21.glb |
Create a flower ring for hair consisting of a circular band decorated with evenly spaced flowers. Start by creating a torus with a major radius of 79mm and a minor tube radius of 2mm. Around this ring, place 27 identical flower elements distributed evenly every 13.33 degrees along the circle's circumference. Each flowe... | $fn=40;
Diam=160;
module Torus(r1=3,r2=50)
{
rotate_extrude()
{
translate([r2,0])circle(r=r1);
}
}
module Flower()
{
color("red")cylinder(r=3.2,h=3);
color("purple")
for(i=[0:4])
{
rotate([0,0,i*360/5])translate([4,0,0])scale([2,1,1])cylinder(r=2,h=2);
}
}
module Flowe... | glb/cad_9d3c75fcd0f6.glb |
Create a spacer for an infinity mirror. Start with a rectangular base that is 152mm long, 7mm wide, and 11mm high.
Modify the ends of this rectangular block to create angled corners. On both the left and right ends, remove a cubic section by rotating a cutting volume 135 degrees to create a chamfered edge.
To allow... | length = 152;
type = 3;
cable = -1;
width = 7;
height = 11;
difference(){
straight();
if(type == 1 || type == 3)
corner_left();
if(type == 2 || type == 3)
corner_right();
if(cable == -1)
cable_right();
if(cable == 1)
cable_left();
}
module straight(){
translate([0,-width,0]){
cube([length,width,heig... | glb/cad_454601814a73.glb |
Create a carton box venting component. Start by creating a flat circular base with a diameter of 55mm and a thickness of 2.5mm. Centered on top of this base, add a second cylinder with a height of 10mm and an outer diameter of 29mm. This upper cylinder should feature a central vertical hole with a diameter of 20mm that... | $fn = 100;
thickness = 2.5;
clearance = 0.5;
thread = 2.5;
diameter = 55;
hole_diameter = 20;
width = hole_diameter+2*thickness+thread*2;
heigth = 10;
use <threads.scad>
difference(){
union(){
cylinder(d=diameter, h=thickness);
translate([0,0,thickness])
{
difference (){
cylinder... | glb/cad_392ecc235c7a.glb |
Create a carton box venting component. Start by creating a solid cylinder with a diameter of 55mm and a height of 2.5mm. On top of this base, add a second cylindrical section with a height of 10mm. This upper section should feature a metric thread with a pitch of 2.5mm and an outer diameter of 24.5mm. Finally, bore a c... | $fn = 100;
thickness = 2.5;
clearance = 0.5;
thread = 2.5;
diameter = 55;
hole_diameter = 20;
width = hole_diameter+2*thickness+thread*2;
heigth = 10;
use <threads.scad>
difference(){
union(){
cylinder(d=diameter, h=thickness);
translate([0,0,thickness])
{
metric_thread(width-clearance, threa... | glb/cad_48ef7854989c.glb |
Create a PSU mount for a 3030 aluminum profile. Start with a main rectangular base measuring 116.2mm wide, 56.2mm deep, and 20mm high, with wall thicknesses of 3mm.
On the left side, integrate a mounting bracket for a 30mm profile. This bracket consists of a 30mm cube with a central slot 7.9mm wide and 6mm thick, fea... | PsuMountBottom();
module PsuMountBottom() {
delta = 0.1;
profile = 30;
width = 110.2;
depth = 50.2;
height = 20;
wall = 3;
screw = 3.2;
s_width = 47;
s_depth = 27;
screw_gap = 4;
$fn = 100;
fan_mount = 72;
fan_screw = 2.8;
difference(){
union(){
... | glb/cad_421c9fd6ea6d.glb |
Create a PSU mount for a 3030 aluminum profile. Start with a main rectangular box that has an outer width of 116mm, a depth of 56mm, and a height of 76mm, with a wall thickness of 3mm. Hollow out the center to create a container.
On the left side, integrate a mounting bracket for a 30mm profile. This bracket should be... | PsuMountBottom();
module PsuMountBottom() {
delta = 0.1;
profile = 30;
width = 110;
depth = 50;
height = 70;
wall = 3;
s_width = 47;
s_depth = 27;
screw_gap = 4.5;
screw = 3.2;
$fn=100;
difference(){
union(){
translate([-10,0,profile])rotate([0,90,... | glb/cad_d1ee2e4f1e52.glb |
Create a calibration cube with a total side length of 20mm. On each of the five faces, carve out centered text with a depth of 0.8mm (calculated as 1/25th of the cube size).
On the top face, center the text "<- X ->". On the front face, center the text "<- Z ->". On the right face, center the text "<- Y ->". On the l... | inchConv = 0.79375;
textSizeMult = 4;
textSizeThreshold = 1544;
size = 20;
infillPct = 10;
unitOfMeasure = 0;
xText = "<- X ->";
yText = "<- Y ->";
zText = "<- Z ->";
textFont = "Tahoma";
sizeXYZ = unitOfMeasure ? size * (inchConv * pow(2,unitOfMeasure-1)) : size;
SAEText = unitOfMeasure == 6 ? "\"" : str("/",3... | glb/cad_3f0e6afe4b54.glb |
Create a ceiling light fixture bowl lampshade by constructing a hollow, squashed hemispherical shell. Start with an outer sphere with a diameter of 273.05mm and an inner concentric sphere with a diameter of 271.05mm to create a shell thickness of 1mm. Shift the center of these spheres downward by 25mm along the Z-axis ... | diam = 10.75 * 25.4;
curvature = 1;
removeNearVertical = 25;
shellThickness = 1;
isFull = false;
module fullshade() {
scale([1, 1, 1 - 0.25]) {
difference() {
translate([0,0, -removeNearVertical]) {
sphere(d=diam, $fn = 12*curvature);
}
translate([0, 0, -removeNearVertical]) {
... | glb/cad_4a5abc83ef0b.glb |
Create a 3D model of a BR0703 brushless motor. Start by creating a central vertical shaft as a cylinder with a radius of 0.5mm and a height of 16.2mm. Surround the lower portion of this shaft with a larger cylinder of radius 1.4mm and a height of 9.2mm (16.2mm minus 7mm).
Above this, add a wider cylinder with a radiu... | $assembled=false;
$debug=false;
module br0703()
{
function node_cylinder_matrix(i=0,j=0,k=0,l=0,m=0,n=0) = translate([0,0,16.2-5-8]);
module node_cylinder(i=0,j=0,k=0,l=0,m=0,n=0)
{
translate([0,0,16.2-5-8])cylinder(r=5,r1=5,h=5,center=false,$fn=100);
}
function node_cylinder0_matrix(i=0,j=0,k=0,l=0,m=0,n=0) = t... | glb/cad_d2bd7a3378f1.glb |
Create a 3D egg model by revolving a specific profile curve around its central vertical axis. The total length of the object along this axis of rotation must be 62mm. To define the profile, generate a series of points where the radius at any given height $x$ is determined by the formula $0.9 \times L \times (1 - x/L)^{... | egg_length = 62;
steps = 100;
$fn = 48;
function egg(x, l)= 0.9*l*pow(1-x/l, 2/3)*sqrt(1-pow(1-x/l, 2/3));
module egg_profile(length=egg_length, offset=0, steps=steps) {
ss = length / (steps-1);
v1 = [for (x=[0:ss:length]) [egg(x, length), x + offset]];
v2 = concat(v1, [[0, length + offset]]);
v3 ... | glb/cad_a532bbacc009.glb |
Create an Asymmetrical Cube Puzzle by constructing two interlocking pieces that together form a cube. The core geometry is defined by a twisted, helical intersection.
Start by creating a central helical volume with a height of 30mm and a total twist of 400 degrees, divided into 48 slices. To give the object its cubic... | function rpt(x, y, z, c, s) =
[x * c - y * s, y*c + x*s, z];
function rest(seq) =
[ for(i=[1:1:len(seq)-1]) seq[i] ];
function reverse(seq, result=[]) =
len(seq) == 0 ? result : reverse( rest(seq), concat([seq[0]], result) );
function concats(seq, result=[]) =
len(seq) == 0 ? result : concats(rest(se... | glb/cad_13c62fa86b85.glb |
Create a Drone Tool Holder with a total height of 30mm and a base thickness of 2mm. The main body is a solid block that houses four distinct tool slots.
Starting from the left, create a rectangular slot measuring 42mm wide and 12mm thick. To the right of this rectangle, place three circular holes. The first two circl... | t=2;
dynamite=18.5;
d_short=16.5;
hf=21.9;
height=30;
fc_width=42;
fc_thick=12;
tool_hole=13;
module dyn_shape(more) {
union() {
translate([0, 0, t*2])
difference() {
cylinder(d=dynamite+more, h=height-t*2);
translate([-dynamite/2, -dynamite/2-10+(dynamite-d_short)-0.25, 0])
cube([... | glb/cad_a4632165c2ce.glb |
Create a razor and brush stand by starting with a hollowed-out semi-cylindrical shell. Form the main body as a cylinder with an outer diameter of 120mm and a height of 50mm, then remove a concentric inner cylinder with a diameter of 115mm and a height of 55mm to create a wall thickness of 2.5mm. Cut this cylinder in ha... | razordiameter=13;
brushdiameter=26;
$fn=100;
translate([60,0,60]) difference(){
rotate([0,90,90])difference(){
cylinder(h=50, d=120);
translate([0,0,-3]) cylinder(h=55, d=115);
}
translate([10,-1,-50])cube([120,52,120]);
translate([-3,25,52])cylinder(h=10, d=razordiameter);
transla... | glb/cad_44ec2f8a502d.glb |
Create a Parametric Test Cube that is an open-topped hollow square tower. The tower should have an outer width and depth of 15mm and a total height of 40mm. The walls must be 0.48mm thick. At the bottom, add a solid square base with a thickness of 0.5mm that fills the entire 15mm by 15mm footprint.
Along the exterior ... | cubeThickness = 0.48;
cubeBase = true;
cubeBaseThickness=0.5;
cubeHeight = 40;
cubeSize = 15;
mark = true;
markSize=cubeThickness;
markOff = 3;
module ring(size=cubeSize,markSize=1) {
difference() {
linear_extrude(height=markSize,
scale=(cubeSize+markSize)/cubeSize, convexity=25) {
... | glb/cad_99164a62b9ca.glb |
Create a flower pot plate by constructing a shallow, tapered circular basin. Start with a hollowed-out conical shape that has a height of 43mm, a bottom diameter of 199mm, and a top diameter of 209mm. To create the walls, remove a concentric inner conical section with a height of 40mm, a bottom diameter of 195mm, and a... | $fn=1000;
union() {
translate([0,0,21.5]) difference() {
cylinder(h = 43, d1 = 199, d2 = 209, center = true);
translate([0,0,3]) cylinder(h = 40, d1 = 195, d2 = 205, center = true);
}
translate([-97.5,-5,3]) cube([195,10,3]);
rotate([0,0,90]) translate([-9... | glb/cad_9dd7d647af83.glb |
Create a 2s 18650 FPV Goggles Battery Case consisting of a main body and a removable cap.
For the main body, create a hull encompassing two cylinders with a diameter of 22.75mm and a height of 75mm. Inside this body, remove two cylindrical voids for 18650 batteries, each with a diameter of 18.75mm and a height of 65m... | d_18650 = 18 + 0.75;
h_18650 = 65;
h_ext = 5;
e = 2;
d_hole = 2.1;
h_hole = 10;
h_cap = 3;
d_hole_cap = 2.8;
d_y_fix = 4;
h_total = h_18650 + e + h_ext;
module battery_18650(){
cylinder(h = h_18650 + h_ext,d = d_18650,center = false,$fn = 32);
}
module battery_fpv_case(){
difference(){
hull(){
... | glb/cad_7ffc5da6b3cb.glb |
Create a 3D silhouette marker for miniature gaming. The main body is a cylinder with a diameter of 70mm and a height of 70mm.
The cylinder is hollowed out from the center to save material, leaving a thin outer wall. The interior cavity is created by removing a smaller cylinder from the center, but the top remains clo... | silhouette(8);
module silhouette(model = 2){
models = [[25,3], [25,25], [25,40], [40,32], [55,32], [40,45], [40,55], [55,67], [70,70]];
difference(){
union(){
difference(){
cylinder(d = models[model][0], h = models[model][1], $fn=64);
translate([0,0,models[... | glb/cad_ce02261934dd.glb |
Create a pen holder consisting of a bottom tray, a top tray, and a vertical pillar.
Construct the bottom tray as a 3x3 grid of hollow cubes. Each cube has external dimensions of 19mm x 19mm x 19mm with a wall thickness of 1mm. For cubes located on the perimeter of the grid, add cylindrical joining pins with a diamete... | number_across = 3;
number_deep = 3;
have_middle_layer = false;
theText = "Pens";
show_top = "no";
show_bottom = "yes";
show_bl_pillar = "no";
show_br_pillar = "no";
show_tl_pillar = "no";
show_tr_pillar = "no";
cube_external_size = 19;
wall_thickness = 1;
pillar_height=110;
joining_pin_size = 2;
cube_internal_size ... | glb/cad_4e75d7d6bdd1.glb |
Create a PulseSensor Housing by starting with a cylinder that has a diameter of 18.2mm and a height of 5mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 16.2mm and a height of 8mm, starting from 1mm above the base. Cut a circular hole completely through the side wa... | difference() {
cylinder(5,9.1,9.1);
translate([0,0,1]) cylinder(8,8.1,8.1);
translate([0,0,3]) rotate([0,90,0]) cylinder(12,1,1);
translate([7.7,-.85,3]) cube([1.75,1.75,8]);
}
h=3.8;
translate([0,-8,h/2]) scale([2,2,h]) cube(1,1,1, center=true);
translate([0,8,h/2]) scale([2,2,h]) cube(1,1,1, center=t... | glb/cad_ff966e5f0e18.glb |
Create a flexible coupler consisting of two cylindrical end pieces connected by a central spiral. Each end piece is a cylinder with a diameter of 20mm. The first end piece has a height of 8mm and a central axial hole with a diameter of 5.2mm. The second end piece has a height of 8mm and a central axial hole with a diam... | $fn=180;
L=30;
D=20;
eps=0.2;
daxe1=5+eps;
L1=8;
daxe2=6+eps;
L2=8;
ep=3;
Lcube=D-2*ep;
Hcube=L-L1-L2-6;
tol=0.4;
dj=Hcube-tol;
module Axe(L,D,daxe)
{
difference()
{
translate([0,0,0]) cylinder(h=L, r=D/2,$fn=100);
translate([0,0,-2.5])cylinder(h=L+5, r=daxe/2);
translate([0,0,L/2]) rotate([... | glb/cad_9ba72f56c594.glb |
Create a Spinner toy consisting of a central hub and three equidistant radial arms. Start with a central cylinder 22.1mm in diameter and 7mm thick. Subtract a concentric hole from this hub with a diameter of 22.1mm.
From the center, extend three arms spaced 120 degrees apart. Each arm consists of two hexagonal weights... | rays = 3;
numWeights = 2;
extra = 4;
whichWeight = "M12";
radius = 0;
$fn = 60;
x = 0; y = 1; z = 2;
thick = 5;
space = 5;
bearing = [22.1, 22.1, 7];
metric10 = [19.6, 17, 7];
metric12 = [21.9, 19, 7];
ball58 = [5/8*25.4, 5/8*25.4, 5/8*25.4];
weight = (whichWeight == "bearing") ? bearing :
(whichWeight == "M... | glb/cad_749cae977f4b.glb |
Create a two-part Customizable Gasket Mold. Each half is a cylinder with a radius of 9.65mm and a thickness of 3.6mm.
In the center of each half, carve out a ring-shaped void to form the gasket profile. This profile is a rounded square with a width of 2.85mm and a height of 2.8mm, centered at a radius of 8.025mm. For... | InnerDiameter = 10.4;
OuterDiameter = 16.1;
Thickness = 2.8;
Shape = "rounded square";
SingleMold = "no";
InsideWallThickness = 0.8;
VentChannels = 4;
VentChannelSize = 1.2;
AlignConeTolerance = 0.22;
GasketCenterRadius = (InnerDiameter + OuterDiameter) / 4;
GasketRadiusX = (OuterDiameter - InnerDiameter) / 4;... | glb/cad_490a909d0d8c.glb |
Create a vacuum hose adapter consisting of a 90-degree curved pipe connecting a small cylindrical end to a larger cylindrical end. The walls of the entire part should be 3mm thick.
The small end is a hollow cylinder with an inner diameter of 32mm and a length of 40mm. This small end transitions into a 90-degree bend ... | wallThickness=3;
insideVacuum=32;
vacuumLength=40;
insideTool=53;
toolLength=24;
bendRadius=38;
outsideTool = insideTool+(2*wallThickness);
$fn=64;
module pipe(innerR=10,outerR=12,bendR=50, quarter=true, half=false){
difference(){
intersection()
{
rotate_extrude(convexity=5)
tra... | glb/cad_c0898c623111.glb |
Create a vacuum hose adapter in the shape of a hollow cylinder. The object should have an overall height of 40mm. The outer diameter is 38mm, and the inner diameter is 32mm, resulting in a wall thickness of 3mm. The center is completely hollowed out by a cylinder with a 32mm diameter that extends through the entire hei... | wallThickness=3;
insideVacuum=32;
vacuumLength=40;
$fn=64;
difference()
{
cylinder(r=(insideVacuum/2)+wallThickness*2, h=vacuumLength);
#cylinder(r=(insideVacuum/2)+wallThickness, h=vacuumLength+1);
} | glb/cad_e69050bff554.glb |
Create a spacer for an OpenBuilds carriage by designing a main cylinder with a diameter of 15mm and a height of 19mm. Bore a central hole through the entire length of this cylinder with a diameter of 5.3mm.
At the top end of the main cylinder, create a hexagonal recess to house an M5 nut. This recess is formed by a he... | part = "preview";
toleranz=1;
laenge=19;
shrink=5;
$fn=180;
Zusatz=toleranz/10;
prozent=shrink/100;
module ring()
{
difference()
{
cylinder(h=3,d=7.112,$fn=180);
translate([0.767,0,-0.01]) cylinder(h=3.02,d=5,$fn=180);
}
}
module M5()
{
difference()
{
... | glb/cad_edcf7c90a797.glb |
Create a spacer for an OpenBuilds carriage by designing a main cylindrical body with a diameter of 15mm and a total height of 19mm. Bore a central hole through the entire length of this cylinder with a diameter of 5.3mm to accommodate a screw.
At the top end of the main cylinder, create a hexagonal recessed cavity to ... | part = "Vorschau";
toleranz=1;
laenge=19;
$fn=180;
Zusatz=toleranz/10;
module ring()
{
difference()
{
cylinder(h=3,d=7.112,$fn=180);
translate([0.767,0,-0.01]) cylinder(h=3.02,d=5,$fn=180);
}
}
module M5()
{
difference()
{
cylinder(h=4,d=8.63+Zusatz,$fn... | glb/cad_c387c8a604e1.glb |
Create a compressor air filter consisting of a hollowed cylindrical base and an internal filter structure. The main outer body is a cylinder with a radius of 42.5mm and a total height of 19mm, featuring rounded edges with a 4mm radius. The walls of this outer shell are 2mm thick. On the outer side wall, integrate three... | s = 2;
re = 85/2;
h = 19;
hi = 3;
a = 4;
rf = 2;
hl = h+5;
rel = re-2*s-7;
al = 30;
ll = 8;
scan = 4;
sscan = 3;
hs = 11;
hsb = 6;
$fn = 100;
union(){
difference(){
translate([0,0,h/2+a])
minkowski(){
cylinder(h,re-a,re-a, center = true);
sphere(a);
}
union(){
translate([0,0,h])
cylinder(h,re+2... | glb/cad_2e260d16da4d.glb |
Create a compressor air filter consisting of a wide base and a central threaded assembly. Start with a main outer disc that is 85.3mm in diameter and 14mm thick, featuring rounded edges with a 4mm radius. Hollow out the center of this disc to create a ring with a wall thickness of 2mm.
In the center of the base, const... | include<filetto.scad>;
s = 2;
re = 85.3/2;
h = 14;
a = 4;
hl = 29;
rel = 42/2;
hsi = 13;
rp = 10/2;
rvp = 3/2;
hp = 22;
hpb = 7;
rf = 14/2;
rif = 20/2;
rebf = 21/2;
hfil = 15;
hpfil = 9;
scan = 9;
nscan = 6;
hs = 4;
hsb = hl-hs;
adat = 0.1;
$fn = 100;
union(){
difference(){
translate([0,0,h/2+a])
minkowski... | glb/cad_de50617bf7fd.glb |
Create a table bag holder consisting of a central vertical pillar and a hook assembly. Start with a main rectangular body that is 18mm wide, 4mm deep, and 80mm high.
At the bottom of this pillar, add a base section consisting of a 18mm by 4mm by 18mm cube centered on the pillar, with an additional rectangular block e... | width = 18;
depth = 4;
desk_height = 22;
desk_depth = 16;
desk_part_height = 30;
side_height = 80;
side_depth = 18;
back_height = 10;
hook_radius = desk_depth+5;
module joiner(size=0, pos=depth) {
color("gray") {
translate([0,(size/2)-(pos/2),0]) {
cube([width,depth,depth], center=true);
... | glb/cad_7ad3764fae75.glb |
Create a Y-Endstop Adjuster Bracket consisting of a main plate and a back plate.
The main body is a rectangular block 24mm wide, 21mm deep, and 27mm high. Carve a rectangular channel through the center of this body that is 100mm wide, 12mm deep, and 5.7mm high, positioned to create an attachment point for an MDF boar... | $fn = 64;
mdfThickness = 5.7;
plateSpacing = 10;
Endstop_Bracket_Y_Adjuster_Plated();
adjusterPositionFromBed = 17.2;
mdfDepth = 12;
mdfHeight = mdfThickness;
mdfWidth = 100;
clipThickness = 2.8;
wallThickness = 3.5;
bracketHeight = 27;
bracketWidth = 24;
bracketDepth = wallThickness * 2 + mdfDepth;
adjPos = bracke... | glb/cad_57e7514df833.glb |
Create a mounting bracket for an endstop switch with the following geometry. Start with a main body that is 14mm wide, 12mm deep, and 40mm high. On the front face, add a 45-degree angled chamfer with a depth of 9mm and a width of 14mm. Extend a rectangular arm from the bottom of the body that is 14mm wide, 9mm deep, an... | maximize_z_travel=true;
plated=true;
$fn = 64;
mdfThickness = 5.7;
plateSpacing = 10;
if (!plated) Endstop_Bracket_Gantry_Assembled();
if (plated) Endstop_Bracket_Gantry_Plated();
endstopBaseWidth = 40;
endstopBaseDepth = 16;
endstopBaseHeight = 2;
bracketHeight = 40;
bracketWidth = 14;
bracketDepth = 9;
mounting... | glb/cad_7fa8f353ad4e.glb |
Create a Pandora charm base by starting with a sphere 11mm in diameter. Scale this sphere along its Y-axis by a factor of 0.9 to create a slightly flattened spheroid. To create the central opening, remove a cylinder with a radius of 2.5mm that passes through the center of the object along the X-axis. Additionally, remo... | ri = 5 / 2;
s = 0.8;
re = ri+s;
rs = 11/2;
rap = 0.9;
b = 0.1;
$fn = 50;
scale([1, rap, 1]) rotate([90, 0, 0]) union() {
difference() {
sphere(rs);
union() {
cylinder((rs*2), (ri+s), (ri+s), center = true);
sphere((rs-s));
}
}
difference() {
minkowski() {
cylinder(((rs-s)*1.95), (re-b), (re-b), ce... | glb/cad_6cbe2842cb14.glb |
Create a flexible coupler for connecting two axes. The overall height of the object is 30mm with a total diameter of 20mm.
Construct the model using two hexagonal end pieces and a central twisting section. The first end piece is a hexagonal prism 8mm high with a central vertical hole 5.2mm in diameter. The second end... | $fn=180;
L=30;
D=20;
eps=0.2;
daxe1=5+eps;
L1=8;
daxe2=6+eps;
L2=8;
ep=3;
Lcube=D-2*ep;
Hcube=L-L1-L2-6;
tol=0.4;
dj=Hcube-tol;
module Axe(L,D,daxe)
{
difference()
{
translate([0,0,0]) cylinder(h=L, r=D/2,$fn=6);
translate([0,0,-2.5])cylinder(h=L+5, r=daxe/2);
translate([0,0,L/2]) rotate([90... | glb/cad_4cb5bef0179f.glb |
Create a small cable nameplate by starting with a rectangular base measuring 10mm in length, 3mm in width, and 0.75mm in height. At each end of this base, add a cylindrical ring with an outer diameter of 3mm and a height of 3mm, centered along the width and height of the base. Each of these rings must have a concentric... | $fa=3.6;
$fs=0.2;
a=10;
b=3;
c=1;
h=0.75;
r=1.5;
difference(){
color("blue"){
cube([a,b,h]);
cube([c,b,b/2]);
translate([a-c,0,0]) cube([c,b,b/2]);
translate([0,b/2,b/2]) rotate([0,90,0]) cylinder(d=b,h=c);
translate([a-c,b/2,b/2]) rotate([0,90,0]) cylinder(d=b,h=c);
}
translate([-a/2,b/2,b/2]) rotate([0,90,0]) cylin... | glb/cad_32171c62cf93.glb |
Create a vertex foot for a 3D printer frame. The part consists of three connected bars, each 14mm thick, meeting at 60-degree angles to form a corner joint. Each bar is a rectangular strip with semi-circular ends. The length of a single bar segment is approximately 22mm (calculated as 38mm divided by the cosine of 30 d... | baserodlength=207;
siderodlength=280;
partstyle = "top";
M6 = 6.5;
thickness = 14;
teardist = 2*1;
FN=80*1;
distance = 38;
zaxisliftrod = sqrt(pow(siderodlength,2) - pow((baserodlength/2),2));
echo ("===========================================");
echo ("Lengths measured between the parts");
echo (str("Base rod... | glb/cad_83c507c28152.glb |
Create a Zootrope variation part consisting of four identical, parallel rectangular prisms. Each prism must measure 180mm in length, 3.8mm in width, and 3.8mm in height. Position the four prisms so they are aligned along the same longitudinal axis, with a consistent spacing of 8mm between the center of one prism and th... | difference(){
union(){
cube([180,3.8,3.8]);
translate([0,8,0])
cube([180,3.8,3.8]);
translate([0,16,0])
cube([180,3.8,3.8]);
translate([0,24,0])
cube([180,3.8,3.8]);
}
} | glb/cad_fef2d0fd01a2.glb |
Create a Zootrope variation base for synchronizing illumination. Start by constructing a central vertical assembly consisting of two stacked cylinders: a lower cylinder with a radius of 10mm and a height of 30mm, and an upper cylinder with a radius of 50mm and a height of 10mm, positioned directly on top of the first.
... | difference(){
union(){
translate([0,0,10])
cylinder(10,50,50,$fn=12);
translate([0,0,-15])
cylinder(30,10,10,$fn=60);
}
translate([0,0,-16])
cylinder(20,2.5,2.5,$fn=60);
rotate([90,0,0])
translate([0,-11,-1])
cylinder(30,1.6,1.6,$fn=60);
translate([-3,-7,-16])
cube([6,3,20]);
rotate([90,45,15]) translate([-12,9,35... | glb/cad_e3d6d920179f.glb |
Create a corner guard by starting with a sphere that has a radius of 10mm. Position this sphere so its center is at the coordinates (5, 5, 5). From this sphere, remove a cube with side lengths of 15mm, positioned such that one of its corners is at (0, 0, 0) and it extends to (15, 15, 15). This operation will carve out ... | width = 15;
offset = width / 3;
radius = width - offset;
translate([offset, offset, offset])
difference() {
sphere(r=radius, $fn=100);
translate([-offset, -offset, -offset]) cube([width, width, width]);
} | glb/cad_abd6e66acb18.glb |
Create a Watch to Pocket Watch Converter case. Start by constructing the main body as a hollow cylinder with an outer diameter of 35.3mm and an inner diameter of 33.3mm, with a total height of 9mm. The walls should be 1mm thick. At the top of this cylinder, add a flat circular rim with an outer diameter of 35.3mm and a... | $fn = 64;
offsetMargin = 0.1;
watchCaseThickness = 1;
watchDiameter = 33.3;
watchFaceDiameter = 28.95;
watchThickness = 7.0;
knobDiameter = 4.5;
knobDistanceFromBottomOfWatchFace = 1.0;
chainWidth = 5.5;
chainConnectorThickness = 1.5;
translate(v = [0, 0, watchCaseThickness]) createWatchCase();
module createWatchCase... | glb/cad_d2254917d440.glb |
Create a miniature Burma-Shave road sign set consisting of six rectangular signs and a supporting signpost.
Each sign is a rectangular block measuring 58mm wide, 17.5mm high, and 3.5mm thick. From the center of the bottom edge of each sign, remove a small rectangular notch measuring 3mm wide, 17.5mm high, and 2mm deep... | part="Preview";
line1 = "DRINKING DRIVERS--";
line1_text_size = 5;
line2 = "NOTHING WORSE";
line2_text_size = 5;
line3 = "THEY PUT";
line3_text_size = 5;
line4 = "THE QUART";
line4_text_size = 5;
line5 = "BEFORE THE HEARSE";
line5_text_size = 5;
print_part();
module print_part() {
if (part == "Preview")... | glb/cad_73ce6aba6b3a.glb |
Create a pulley wheel with a total diameter of 40mm and a thickness of 4mm. The wheel should have a central bore with a diameter of 5mm.
The main body of the wheel is a cylinder with a V-shaped groove running around the outer circumference to hold a rope; this groove is 2mm deep and 2mm wide.
The interior of the wh... | tol=0.2;
$fn=64;
diaRope=2;
bore=3+2*tol;
width=diaRope+tol*10;
m6_pulley();
module m1(r=1)
{
dia=r*2;
difference() {
m1_pulley(r);
translate([0,0,width*3/4])
cylinder(r=dia/2-width/2, h=width,center=true);
}
}
module m1_pulley(r=1) {
dia=r*2;
difference() {
cylinder(r=dia/2, h=width,center=true);
... | glb/cad_dbf0a6523385.glb |
Create a bevel gear for a mechanical movement. The gear should have 20 teeth, a gear thickness of 3mm, and a bore diameter of 3.1mm at the center. The gear is defined by an outside circular pitch of 400mm and a pressure angle of 15 degrees, with a cone distance of 30mm and a face width of 10mm.
The gear is integrated ... | use <MCAD/involute_gears.scad>
tol=0.2;
$fn=50;
r0=6/2;
offset=22;
m7_right();
module motorPulley(){
difference() {
cylinder(r=10,h=20);
translate([0,0,-tol/2])
intersection() {
cylinder(r=5/2+tol/2,h=20+tol);
translate([.5-tol,0,20/2+tol/2])
cube([5,5+tol,20+tol],center=true);
}
translate(... | glb/cad_c8c32e33ea0a.glb |
Create a truncated cone with a total height of 40mm. The base of the cone should have a radius of 20mm, tapering linearly to a top radius of 10mm. Centered vertically through the middle of the shape, add a cylindrical hole with a radius of 1.7mm that passes completely through the object from top to bottom. | $fn=64;
tol=0.2;
h=8;
r0=10;
n=4;
m9();
module m8() {
difference() {
union() {
for(i=[1:n]) {
cylinder(r=r0*i,h=((n+1)*h)-i*h);
}
}
translate([0,0,-tol/2])
cylinder(r=3/2+tol,h=((n+1)*h)+tol);
}
}
module m9() {
difference() {
cylinder(r2=r0,r1=r0*4/2,h=((n+1)*h));
translate([0,0,-tol/2])
... | glb/cad_1f5c3ca68077.glb |
Create a Parametric Lucky Coin Frame designed to hold a circular object. Start by creating a main outer ring with a total height of 3.4mm and an outer diameter of 28.5mm. Remove a central cylindrical core with a diameter of 25.3mm to create the primary housing.
To secure the contents, add a retention lip inside the ce... | height=2.2;
thick=25.75;
rotation =0;
adh = 1.2;
adr = 1.5;
adf = height+adh;
retstart = 0.2;
retsize = 0.3;
overhang = 0.2;
fir = height/1.05;
fih = 0.95/2 ;
$fn=120;
difference (){
union(){
difference(){
union(){
cylinder(h=height+adh, r=thick/2+adr, center=true);
translate ([thick/2+adr/2+fir*fih,0,0])... | glb/cad_f8a071969a29.glb |
Create a Parametric Lucky Coin Frame designed to hold a coin. Start by creating a main outer cylinder with a radius of 14.25mm (half of 25.75mm plus a 1.5mm stability radius) and a total height of 3.4mm, centered on the origin.
Remove a central cylindrical core with a radius of 12.55mm (half of 25.75mm minus a 0.2mm ... | height=2.2;
thick=25.75;
rotation =0;
adh = 1.2;
adr = 1.5;
adf = height+adh;
retstart = 0.2;
retsize = 0.3;
ret= 4.0;
overhang = 0.2;
fir = height/1.05;
fih = 0.95/2 ;
$fn=120;
difference (){
union(){
difference(){
union(){
cylinder(h=height+adh, r=thick/2+adr, center=true);
translate ([thick/2+adr/2+fi... | glb/cad_31c546db2d00.glb |
Create a boating handrail hanger peg consisting of two identical symmetrical clamping arms. Each arm is based on a block 80mm long, 9mm wide, and 9mm high, with the corners rounded.
On the inner side of each arm, create a cylindrical cutout with a radius of 3.75mm and a height of 11mm to accommodate a spring. The fro... | dorn=true;
rotate ([90,0,0])
Klammerteil(Haken=true);
translate ([0,15,0])
rotate ([-90,0,0])
Klammerteil();
module Klammerteil(Haken) {
difference () {
intersection () {
cube ([80,9,9],center=true);
scale ([42,11,10])
cylinder (r=1,h=1,center=true,$fn=100);
}
translate ([-40+38,0,-4])
rotate ([90,0,0])
cylin... | glb/cad_4676872777fd.glb |
Create a Sierpinski Cube wall by starting with a central square plate measuring 81.2mm by 81.2mm with a thickness of 3mm. From this plate, remove a large central sphere with a radius of 38.1mm to create a circular void.
To create the fractal pattern, remove several smaller spheres and prisms from the plate. Position ... | outside_border = 76.2;
wall_depth = 3;
largest_lvl_sphere_scale = .95;
buffer_for_cube = 5;
largest_lvl_sphere_radius = outside_border/2;
second_lvl_sphere_radius = 6.5;
third_lvl_sphere_radius = 3.70;
fourth_lvl_depth = wall_depth+4;
forth_lvl_radius = 1.65;
second_sphere_x = -30.5;
second_sphere_y = 30.5;
third_sp... | glb/cad_5fd65a80750b.glb |
Create a dryer stand for a wide-mouth bottle. Start by constructing a base consisting of a hollow cylinder with an outer radius of 40mm and an inner radius of 18mm, and a height of 10mm. Centered on top of this base, add a second cylinder with a height of 11mm, an outer radius of 40mm, and an inner radius of 14mm. Abov... | translate([0, 0, 5])
{
difference()
{
cylinder(h=40, r1=28, r2=24, center=false);
for(d=[0 : 90 : 360])
{
rotate(d)
{
translate([26, 0, 0])
{
cylinder(h=40, r1=12, r2=14, center=false);
}
... | glb/cad_cd1bb8f7a2d3.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.