Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a love lock consisting of a heart-shaped body and a curved shackle.
First, construct the body by creating a heart shape with a thickness of 9mm. Centered on the front face of this heart, emboss the text "R+T" with a height of 1mm, using a font size of 18mm and a letter spacing of 1mm. To allow the shackle to f... | use <write/Write.scad>
text="R+T";
position_x=20;
position_y=15;
text_size=18;
letter_space=10;
text_font="knewave.dxf";
module herz(h)
{
scale([1, -1, 1]) union()
{
linear_extrude(height=h)
polygon([[0.000000,20.999850],[-6.291700,20.999850],[-7.666345,20.936866],[-8.461288,20.654075],[-9.072686,20.010... | glb/cad_e24a9d97d623.glb |
Create a Box with Slide Cover. Start by constructing the main container as a solid rectangular block 60mm wide, 100mm long, and 30mm high. Hollow out the center to create a storage compartment with wall thicknesses of 2.5mm. The top of the box should be open, but leave a 2.5mm thick ceiling section on one of the long s... | boxWidth = 60;
boxLength = 100;
boxHeight = 30;
boxCols = 2;
boxRows = 2;
wallThickness = 2.5;
title = "My Things";
textDepth = 1.5;
textSize = 12;
textFont = "Arial";
fudge = 0.005;
$fn = 100;
boxDims = [
boxWidth,
boxLength,
boxHeight
];
innerBox = [
boxDims[0] - 2 * wallThickness,
bo... | glb/cad_1bca85ce63f2.glb |
Create a Customizable Toothbrush Stand. The main body is a block with a total width of 60mm at the base, tapering to a top width of 40mm, and a height of 120mm.
Create three vertical holes to hold toothbrushes, spaced 35mm apart. Each hole is a tapered cylinder that transitions from a radius of 11mm at the top to 7mm... | add_text = "yes";
text_type = "embossed";
toothbrush_owners = "Luke:Leia:Darth";
text_size = 10;
text_spacing = 1.0;
text_top_margin = 20;
text_font = "Verdana";
number_of_toothbrushes = 3;
space_per_slot = 35;
top_radius = 11;
bottom_radius = 7;
height = 120;
top_width = 40;
base_width = 60;
fn = 64*1;
$... | glb/cad_93e6cfc07c09.glb |
Create an iPhone bike holder consisting of a phone case and a mounting bracket.
For the case, create a rectangular shell with outer dimensions of 63mm width, 128mm length, and 11mm height. The corners should have a 10mm radius. The interior should be hollowed out to fit the phone, leaving walls with a thickness of 15... | width = 63;
length = 128;
height = 11;
bridgewidth = 15;
cornerradius = 10;
mountheight = 10;
tubediameter = 22;
$fn = 100;
module connector(stegwidth) {
translate([-stegwidth/2-2.5,-stegwidth/2-4.5,2]) cube([4.5,4,1.5]);
translate([stegwidth/2-2,-stegwidth/2-4.5,2]) cube([4.5,4,1.5]);
translate([-stegwidth... | glb/cad_79feb0862f80.glb |
Create a Cooling Duct for a 3D printer. Start by building a main housing block that is 41mm wide, 44mm deep, and approximately 8.3mm high. This block should have a hollow interior cavity measuring 37mm by 40mm by 23mm. Within this housing, integrate four rectangular nut blocks, each 9mm square and 8.3mm high, positione... | angle=270;
tilt=0;
fast= true;
CoolingDuct(angle, tilt);
module SimpleCooler(simple= true) {
difference() {
union() {
difference() {
cover(41,44,25);
translate([2,2,-0.01]) cover(37,40,23);
if (simple) {
translate([41-10,-0... | glb/cad_5d314b1fac9f.glb |
Create a quadrant of an extensible chessboard. Start by constructing a square plate 112.5mm wide and 5mm thick. On this plate, create a 4x4 grid of squares where each square has a side length of 27.5mm. Fill every other square in a checkerboard pattern, ensuring that the filled squares overlap slightly by 2mm.
To all... | size=220;
T=5;
overlap=2;
tol=0.5;
L=(size-overlap)/8;
translate(2*L*[-1,-1,0])4x4();
*assembly();
module assembly(){
4x4();
rotate([0,0,180])4x4();
translate([-4*L,0,0])4x4();
translate([0,-4*L,0])4x4();
}
module 4x4()
difference(){
linear_extrude(height=T)translate(-overlap/2*[1,1])difference(){
for(i=[... | glb/cad_830858749471.glb |
Create a TopSaw multitool holster consisting of a main body and an integrated belt clip. The main body is a hollowed-out shell with a height of 105mm and a wall thickness of 3mm. The exterior profile is primarily rectangular but features a rounded, organic contour along the sides. Incorporate a friction retainer clip b... | clipw = 27;
cliph = 50;
clipopen = 1;
clipsp = 4;
clipt = 3;
bodyh = 105;
mbodyh = 50;
$fn = 18;
module cylinder_poly(v) {
for(i=[1:len(v)-1]) {
hull() {
j = i-1;
d = v[j][2];
d2 = v[i][2];
translate([v[j][0], v[j][1], d/2]) sphere(d=d);
translate([v[j][0], v[j][1... | glb/cad_77714e1fa10b.glb |
Create a mounting board for an SB404 breadboard starting with a rectangular base plate measuring 95mm by 47mm with a thickness of 5mm. At each of the four corners of the base, create a vertical hole with a diameter of 3mm and a depth of 8mm, positioned 4.5mm from the side and front/back edges.
Cut two large rectangul... | $fn=30;
module bottom_plate(){
cube([95,47,5]);
cube([6,7,8]);
translate([0,40,0])
cube([6,7,8]);
translate([89,40,0])
cube([6,7,8]);
translate([89,0,0])
cube([6,7,8]);
}
module triangle(){
difference(){
cube([26,26,7]);
translate([0,0,-1])
rotate([0,0,45])
cube([50,25,7]);
}
}
module square_cutout(... | glb/cad_814535c9b737.glb |
Create a What-the-Hex fidget spinner with three rays extending from a central hub. The entire model has a thickness of 7mm and a corner radius of 2mm.
Start with a central cylindrical hole 22mm in diameter. From this center, create three equidistant rays. Each ray consists of a body that houses a weight. For this spec... | rays = 3;
numWeights = 1;
extra = 4;
whichWeight = "5/16 hex nut";
radius = 2;
$fn = 60;
x = 0; y = 1; z = 2;
thick = 3;
space = 2.5;
inch = 25.4;
bearing = [22, 22, 7];
sae = [.577*inch, .5 * inch, 7];
sae38 = [.650*inch,.562*inch, 7];
sae12 = [.866*inch, .75*inch, 7];
metric8 = [15, 13, 7];
metric10_16 = [17.77... | glb/cad_632d31a9259d.glb |
Create a childproof latch spacer by starting with a main cylinder that has a diameter of 20mm and a total height of 33mm. Drill a 6mm diameter hole vertically through the center of this cylinder for its entire height. At the base of the cylinder, add a circular stop plate with a radius of 20mm and a thickness of 6mm. T... | spacer_diameter = 20;
spacer_height = 27;
mounting_hole_diameter = 6;
stop_thickness = 6;
stop_angle = 20;
stop_length = 20;
stop_width = 2*(spacer_diameter+stop_length*tan(stop_angle));
difference()
{
union()
{
cylinder(r=spacer_diameter/2,h=spacer_height+stop_thickness);
difference()
{
difference()
{... | glb/cad_28f5a464b7b5.glb |
Create a childproof latch spacer by starting with a main cylinder that has a diameter of 20mm and a total height of 33mm. Drill a 6mm diameter hole vertically through the center of this cylinder. At the base of the cylinder, add a stop mechanism that is 6mm thick. This stop is formed by a rectangular block that extends... | spacer_diameter = 20;
spacer_height = 27;
mounting_hole_diameter = 6;
stop_thickness = 6;
stop_angle = 35;
stop_length = 10;
stop_width = 2*(spacer_diameter+stop_length*tan(stop_angle));
difference()
{
union()
{
cylinder(r=spacer_diameter/2,h=spacer_height+stop_thickness);
difference()
{
translate([-tan(st... | glb/cad_a5d211bf65a7.glb |
Create a childproof latch spacer by starting with a main cylinder that has a diameter of 20mm and a total height of 32mm. Drill a central vertical hole through the bottom 27mm of the cylinder with a diameter of 10mm. At the top of the cylinder, create a smaller 4mm diameter hole that extends 5mm deep.
Attached to the... | spacer_diameter = 20;
spacer_height = 27;
mounting_hole_diameter = 4;
channel_hole_diameter = 10;
stop_thickness = 5;
stop_angle = 35;
stop_length = 10;
stop_width = 2*(spacer_diameter+stop_length*tan(stop_angle));
difference()
{
union()
{
cylinder(r=spacer_diameter/2,h=spacer_height+stop_thickness);
difference... | glb/cad_9af6fb4a284f.glb |
Create a clothes peg with a hook designed to hold a standard metal spring. Construct two identical symmetrical arms, each starting as a block 80mm long, 10mm wide, and 9mm thick. Round the corners of these blocks using a cylinder with a 1mm radius.
On the inner face of each arm, create a circular cutout with a radius... | 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,10,9],center=true);
scale ([42,13,10])
cylinder (r=1,h=1,center=true,$fn=100);
}
translate ([-40+38,0,-4])
rotate ([90,0,0])
cyli... | glb/cad_8808f509bc31.glb |
Create a Bat-Fink car fin spoiler by designing a wing-like shape based on a modified sphere. Start with a sphere of radius 200mm, scaled to 10% of its original size along the Y-axis and 120% along the Z-axis, then rotate it 30 degrees around the Y-axis. Carve out the bottom of this shape using a large cube centered at ... | x=[1,0,0];
y=[0,1,0];
z=[0,0,1];
$fn=60;
dd=40;
od=42;
module fin(){
difference(){
rotate(y*-30)scale([1,.1,1.2])
sphere(r=200,center=true);
translate(z*-150)
cube([500,200,300],center=true);
translate([-90,0,-20])scale(1.2)bite();
translate([-75,0,50]) bite();
translat... | glb/cad_492445137a5b.glb |
Create a Bat-Fink car fin spoiler by constructing a stylized, organic wing shape. Start with a large sphere with a radius of 200mm, scaled to be very thin along the Y-axis (0.1) and slightly elongated along the Z-axis (1.2). Carve out the interior of this shape using three large, flattened ellipsoids positioned at diff... | x=[1,0,0];
y=[0,1,0];
z=[0,0,1];
$fn=60;
dd=60;
od=42;
module fin(){
difference(){
rotate(y*-30)scale([1,.1,1.2])
sphere(r=200,center=true);
translate([-90,0,-20])scale(1.2)bite();
translate([-75,0,50]) bite();
translate([-100,0,127])scale(.9) bite();
}
translate([-25,0,145])... | glb/cad_3ee7750d7880.glb |
Create a Bar Mount bracket by starting with a semi-cylindrical shell. Create a cylinder with a radius of 20.5mm and a height of 12mm. From the center of this cylinder, remove a smaller concentric cylinder with a radius of 15.5mm and a height of 30mm to create a hollow half-pipe shape. Trim the sides of this shape with ... | $fn=50;
bar_r = 15.5;
hinge_hole_rad = 1.8;
clasp_hole_rad = 3.5;
module Bracket()
{
union()
{
difference()
{
cylinder(12, bar_r + 5, bar_r + 5);
translate([0,0,-10]) cylinder(30, bar_r, bar_r);
translate([-((bar_r * 3) / 2),-1,-15]) cube([bar_r * 3,bar_r * 3,40]);
translate([bar_r - 3.5,-5,6])... | glb/cad_86ca43bf3569.glb |
Create a rudder support for an RC glider consisting of two separate components: a main mounting bracket and a gripping plate.
For the mounting bracket, create a vertical cylinder with an outer diameter of 20mm and a height of 23mm. Hollow out the center of this cylinder with a smaller 15mm diameter hole that runs thr... | $fn=50;
ancho=25;
interior=15;
exterior=20;
tornillo=2.85;
diampasa=4;
module sopesta(altura)
{
difference()
{
union()
{
translate ([ancho-exterior/2,0,20/2+1.5]) rotate ([0,-90,0]) cylinder(d=exterior,h=ancho);
translate([0,0,exterior/2]) cylinder(d=exterior,h=altura-e... | glb/cad_98b75738b03b.glb |
Create a Stroke Recovery Device consisting of a tapered hollow cylinder. The outer shell should have a total height of 45mm, tapering from a base diameter of 28.65mm down to a top diameter of 18.45mm. The wall thickness of this shell must be 0.8mm throughout.
Inside this tapered shell, create two circular cutout hole... | circumference = [85, 75, 55] * 1.05;
length = [15, 10, 10];
spacing = [25, 30, 20];
nozzleDiameter = 0.8;
thickness = nozzleDiameter;
$fn = 64;
diameter = circumference / PI;
totalLength = spacing[0] + spacing[1] + spacing[2];
difference() {
cylinder(h = totalLength,
d1 = diameter[0] + 2*thickness,
... | glb/cad_b9ab95b9f996.glb |
Create a Stroke Recovery Device consisting of three tapered hollow cylinders. Each cylinder has a wall thickness of 1.2mm. The outer diameter tapers from a larger base to a smaller top over a total height of 75mm. The inner diameter at the base is 27.06mm, tapering to 17.51mm at the top.
For each cylinder, create two ... | sizes = [85, 95, 90];
circ = [85, 80, 75, 55];
dist = [25, 30, 20];
nozzleDiameter = 0.8;
thick = nozzleDiameter * 1.5;
nf = 8;
$fn = 64;
plate();
module plate() {
for (s = [0:len(sizes)-1])
translate([33*(s - (len(sizes)-1)/2), 0, 0])
finger_cot(
circ*sizes[s]/100,
dist*s... | glb/cad_33e6ba0faaee.glb |
Create a hose adapter consisting of a hollow, tapered cylindrical shell. Start by constructing a solid base cylinder with a diameter of 25mm and a height of 28mm. On top of this base, add a conical section that transitions from the 25mm diameter to a 20mm diameter over a height of 20mm. Cap the structure with a final c... | difference()
{
union()
{
translate([0,0,0])
{
cylinder(28,25,25,center=0,$fn=100);
}
translate([0,0,28])
{
cylinder(20,25,20,center=0,$fn=100);
}
translate([0,0,48])
{
cylinder(80,20,16,center=0,$fn=100);
}
}
translate([0,0,-0.001])
... | glb/cad_cb84eeb5dbec.glb |
Create a replacement drive caddy for a Supermicro H8TRF with overall dimensions of 106mm width, 60mm depth, and 26.4mm height. Start with a solid block of these dimensions and hollow out the center to leave a frame thickness of 5mm on the sides, top, and bottom.
The front of the caddy features a bezel 15mm deep. With... | caddyHeight=26.4;
caddyWidth=106.0;
caddyDepth=60.0;
caddyFrameWidth=5;
bezelThickness=15;
railHeight=19.0;
railThickness=1.8;
shelfThickness=1.0;
shelfWidth=10.0;
mountHoleDepth=19.0;
mountHoleHeight=7.0;
mountHoleDiameter=3.3;
mountHoleChamferDiameter=7.68;
airHoleDiameter=3.0;
pullTabWidth=20;
latchDetentRadiu... | glb/cad_7d3cca64efc6.glb |
Create a T-Track for Cyclone PCB plate. Start with a rectangular base plate measuring 215mm in length (X), 131mm in width (Y), and 8mm in height (Z).
Carve a series of T-shaped slots into the top surface of the plate. Each slot consists of a wide upper section 10mm wide and 3.5mm deep, and a slim lower section 4.1mm ... | $fn=30;
overlapping=5;
overlapping_h=10;
overlapping_gap=1;
mirror=1;
plate_x = 215;
plate_y = 120+overlapping_gap+overlapping*2;
plate_z = 8;
base_plate_z = 3;
border_width = overlapping;
border_width_x = 10;
slot_wide_width = 10;
slot_wide_height = 3.5;
slot_slim_width = 4.1;
slot_entrance_length = 10;
slot... | glb/cad_c4e90ac57385.glb |
Create a BudaMount adaptor bracket. Start with a top plate 6.5mm thick. The plate's outer boundary is the convex hull of several circular features: three circles of radius 8.5mm (5.5mm hole + 3mm padding) arranged in an equilateral triangle with a radius of 16.5mm from the center, two circles of radius 5mm (4mm hole + ... | translate([0,0,bracket_height]) rotate([0,180,0])
BudaMount();
include <Write.scad>
Version="BudaMount v0.42";
Author="Design: WhiteB0rd";
Date="3.5.2012";
include<configuration.scad>
include<jonaskuehling-default.scad>
m3_wrench = 5.5;
m4_wrench = 7;
B_left=-24.972;
B_right=24.972;
B_front=0;
B_back=10;
E_right=... | glb/cad_0fce9d31532e.glb |
Create a Vape Tank Stand consisting of three tiered levels of square platforms. The base level is a single square block measuring 30mm in length and width with a height of 15mm. Centered on the top face of this base is a cylindrical hole 8mm in diameter and 5mm deep.
The second level consists of two square blocks, eac... | n = 3;
holeDiameter = 8;
holeDepth = 5;
boxLength = 30;
boxHeightFactor = .5;
module makeBox (boxHeight) {
difference() {
cube([boxLength,boxLength,boxHeight]);
translate([boxLength*.5,boxLength*.5,boxHeight])
cylinder(h=holeDepth*2,d=holeDiameter,center=true);
}
}
for (i=[0:n-1]) ... | glb/cad_168358054b04.glb |
Create a 12864 LCD display mount consisting of a base frame and a screen support structure.
First, create a rectangular base plate 160mm long, 10mm high, and 5mm thick. Remove a central rectangular section 135mm long and 5mm high to create a thin-walled frame. Drill four 3mm diameter holes through the plate: two at t... | module printerMount(thickness = 5, big = true, hole = true)
{
height = 10;
length = 160;
translate([0,-thickness/2,-height/2])
{
difference()
{
if(big == true)
{
difference()
{
translate([0,0,-51.2/2])
scale([length, thickness, height + 51.2])
cube(1, center = true);
if(ho... | glb/cad_f71f6df346e1.glb |
Create a shirt collar stiffener by designing a flat, elongated shape with a thickness of 1mm. The main body should be formed by the convex hull of two circles, each with a radius of 5mm, positioned 45mm apart center-to-center along the x-axis. This results in a pill-shaped geometry with a total length of 55mm and a wid... | scale([0.1,0.1,1]) {
linear_extrude(height = 1) {
hull() {
circle(r=50);
translate([450,0,0]) {
circle(r=50);
}
translate([585,0,0]) {
circle(r=10);
}
}
}
} | glb/cad_04be0a6d2462.glb |
Create a shirt collar stiffener by designing a flat 2D profile with a thickness of 1mm. The main body is formed by the convex hull of two circles with 5mm radii, positioned 45mm apart center-to-center, and a third smaller circle with a 1mm radius centered at 58.5mm from the first circle along the same axis. From this s... | linear_extrude(height = 1) {
difference() {
hull() {
circle(r=5);
translate([45,0,0]) {
circle(r=5);
}
translate([58.5,0,0]) {
circle(r=1);
}
};
for(n = [0 : 4]) {
translate([n*10, 0, 0])... | glb/cad_cdc8839d3dc6.glb |
Create a fighter hex flight stand by constructing a hexagonal prism with a flat diameter of 29.39mm and a total height of 11mm. Center a square hole within this prism that is 6.35mm wide and 6.35mm deep. Position the bottom of this square cutout 4mm above the base of the prism, leaving a solid 4mm thick floor at the bo... | foamHeight=7;
width=25.4/sin(60);
base=4;
difference() {
cylinder(d=width, h=foamHeight+base, $fn=6, center=false);
translate([-1*(width/4),-1*(width/4),base]) cube([width/2,width/2,width/2], center=false);
} | glb/cad_5ba7251097cd.glb |
Create a PerfBoard holder for the Afinia H480. Start with a base consisting of a central rectangular block 20mm wide, 9.7mm high (calculated from 6 boards at 1.57mm each plus a 0.25mm gap), and 30mm deep, merged with a larger flat base 90mm wide, 9.7mm deep, and 10mm high. Add a central hump 20mm wide, 9.7mm deep, and ... | NumberOfBoards = 6;
MagnetWidth = 6;
MagnetHeight = 1.5;
holeRad = MagnetWidth;
zSize = MagnetHeight;
gapSize = .25 + NumberOfBoards*1.57;
module base() {
union() {
cube([90, gapSize, 10], center = true);
difference() {
translate([0, 0, -2.5]) cube([20, 30 + gapSize, 5], center = true... | glb/cad_1668c36441dd.glb |
Create a Magnetic Abacus consisting of a rectangular base and a sliding bead mechanism. The base is a hollowed-out rectangular box with an outer length of 86.4mm, a width of 17.4mm, and a height of 13.8mm. The walls of the box are 2.4mm thick. In the center of the base's bottom surface, create two circular holes with a... | number_of_balls=10;
Thickness_of_box=4;
distance_between_balls=7;
magd = 10;
magh = 1.6;
scale=0.6;
ball_width_radius=15*scale;
ballabstand=distance_between_balls*scale;
ball_height_radius=ball_width_radius*.8;
ball_min_height_radius=ball_height_radius*.966;
stangenradius=ball_width_radius/4;
stangenluft=.75*sca... | glb/cad_5afa336b7cf5.glb |
Create a 90-degree hose corner with a consistent wall thickness. Start by constructing a curved 90-degree elbow section based on a bend radius of 20mm. This elbow is formed by a torus with an outer radius of 22mm and a concentric inner hole with a radius of 20mm.
Extend two straight cylindrical arms from the ends of ... | $fn=128;
radius = 22;
outer_radius = 24;
inner_radius = 20;
bend_radius = 20;
angle_1 = 0;
angle_2 = 90;
union() {
rotate([0, 0, angle_1])
translate([bend_radius + radius, 0.02, 0])
rotate([90, 0, 0])
difference() {
cylinder(r=radius, h... | glb/cad_85b8f9782eca.glb |
Create a Surgical Guide Denture Scanbody consisting of a vertical rectangular base and a scan-ball assembly. Start with a central rectangular block 8mm wide, 3mm thick, and 20mm high. At the top of this block, centered 9mm above the upper surface, place a sphere with a 7mm diameter. Position two additional 7mm diameter... | TALL=true;
BRACE=true;
SB_height= 20;
SB_MD = 8;
THICKNESS = 3;
holespace=.44;holes=5;wallboardscrew=.18;
HB_height = 10;
HB_MD = 25;
THICKNESS = 3;
lip=3;
scanball=7;
elevate=9;
ball_res=16;
hi_res=80;
ba... | glb/cad_72f13bacbac3.glb |
Create a 3DR quadcopter APM2 mounting plate. Start with a square base plate measuring 75mm by 75mm with a thickness of 6.5mm. Center a large circular cutout with a radius of 30mm through the base. At each of the four corners of the square plate, create a circular hole with a diameter of 3.25mm that passes completely th... | hd = 2.5;
x = 35.5;
y = 61;
baseh = 3;
soh = 6;
sohpeg = 10;
module standoffs(){
cylinder(r=hd/2, h=sohpeg, $fn=100);
cylinder(r=5/2, h=soh, $fn=100);
translate([0,y,0]){
cylinder(r=hd/2, h=sohpeg, $fn=100);
cylinder(r=5/2, h=soh, $fn=100);
}
translate([x,0,0]){
cylinder(r=hd/2, h=sohpeg, $fn=100);
... | glb/cad_e90da2c407ad.glb |
Create a D&D Condition Marker by constructing a primary base cylinder with a diameter of 25.5mm and a height of 3mm, centered on the origin. Add a second, smaller cylinder on top of the base with a diameter of 21mm and a height of 3mm, positioned so its center is 1mm above the origin. Finally, remove a central cylindri... | difference() {
union() {
cylinder(h=3, d=25.5, center=true,$fn=200);
translate([0,0,1]) cylinder(h=3, d=21, center=true,$fn=200);
}
translate([0,0,-1]) cylinder(h=2, d=22, center=true,$fn=200);
} | glb/cad_9e64cf39a0aa.glb |
Create a Toilet Paper Roll Holder consisting of a central core and an outer flexible exoskeleton.
Start by creating a central solid cylinder with a radius of 13mm (calculated as the roll width of 15mm minus the ring width of 5mm and inner clearance of 2mm) and a total height of 121mm.
Surround this core with a seri... | roll_width = 15;
ring_width = 5;
ring_height = 1;
actual_roll_length = 132;
inner_clearance = 2;
rings = 20;
pillars = 3;
cap_height = 5;
peg_width = 4;
peg_length = 3;
pillar_thickness = 1;
cap_a = (peg_length * 5);
quality = 150;
roll_length = actual_roll_length - (cap_height * 2) - 1;
module ring(y_hei... | glb/cad_b67d95341eaa.glb |
Create a wiffle ball by starting with a hollow spherical shell with an outer radius of 40mm and an inner radius of 38mm. To create the characteristic ventilation holes, carve out a series of openings using a 2D polygon with two sides and a radius of 13mm, rounded by 5mm. Position these polygonal cutouts so they are cen... | difference() {
difference() {
sphere(40, $fn=100);
sphere(38);
}
holes();
}
module holeObject() {
translate([0,0,20]) {
linear_extrude(height = 20) {
rounded_ngon(2,13,5);
}
}
}
module holes() {
union() {
for (a = [ 0 : 45 : 360 ])
... | glb/cad_ba1a29bcfc90.glb |
Create a 3D printer foot by constructing a truncated cone with a bottom diameter of 20mm, a top diameter of 16mm, and a height of 7.2mm. From the center of this shape, remove a cylindrical hole with a diameter of 6.5mm that extends through the entire height. Additionally, remove a wider cylindrical section from the top... | difference()
{
cylinder(d1=20,d2=16,h=7.2);
cylinder(d=6.5,h=10);
translate([0,0,2])
cylinder(d=9.5,h=10);
} | glb/cad_7f22363661db.glb |
Create a 15-puzzle game consisting of 15 square tiles. Each tile should be a cube with a side length of 19.9mm and a height of 4mm. On the top face of each tile, center a recessed number from 1 to 15. The numbers should be 8mm in height and carved into the tile surface. Arrange these 15 tiles in a 4x4 grid pattern, lea... | module all_tiles(size) {
module tile(num, size, h) {
arr=["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"];
gap = 0.05;
s = (num==15) ? 0 : size-gap*size;
translate([gap*size/2, gap*size/2, 0])
difference() {
cube([s, s, h]);
... | glb/cad_6d5ce0569330.glb |
Create a mirror clamp by starting with a rectangular block measuring 10.7mm wide, 19.1mm long, and 11.5mm thick. Round all four vertical corners of this block with a radius of 4mm.
Carve a rectangular shelf out of the top of the block that is 10.7mm wide, 13.5mm long, and 6mm deep, leaving the bottom section intact. ... | $fn = 20;
baseWidthX = 10.7;
baseLengthY = 19.1;
baseThicknessZ = 11.5;
baseCornerDia = 8;
baseShelfLengthY = 13.5;
baseShelfThickZ = 6;
clampHoleDia = 4.0;
clampHoleX = 10.35;
clampHoleY = 11.75;
champherHeightZ = clampHoleDia*.8;
module hulledroundCornerCube(){
color("green") translate([-baseWidthX/2, -baseL... | glb/cad_85dd8b197059.glb |
Create a hexagonal lid for a game box. Start by constructing a solid hexagonal prism with a diameter of 46.5mm and a height of 8.67mm. From the center of this prism, remove a smaller hexagonal volume with a diameter of 44.23mm and a height of 8.67mm, leaving a thin outer wall.
To create a flat edge for the lid, remov... | $fn=64;
tapa_caja_1x_hexagonal(diameter=42,tall=26,translatex=28,translatey=-0.5);
module tapa_caja_1x_hexagonal(diameter=42,tall=26,translatex=28,translatey=-0.5)
{
difference()
{
translate ([0,0,tall/2])
rotate([0,180,0])
difference()
{
difference()
{
translate ([0,0,tall/4])
fhex(diameter+4+0.5,tall/3);
... | glb/cad_14c264dd6e12.glb |
Create a hexagonal lid for a game box. The main body is a regular hexagon with a diameter of 46.5mm and a total height of 8.67mm. The lid features a recessed center: create a concentric hexagonal cutout with a diameter of 44.23mm and a depth of 8.67mm, leaving a thin outer rim.
On the top surface, add the word "ORANG... | $fn=64;
tapa_caja_1x_hexagonal(diameter=42,tall=26,translatex=28,translatey=-0.5);
module tapa_caja_1x_hexagonal(diameter=42,tall=26,translatex=28,translatey=-0.5)
{
difference()
{
translate ([0,0,tall/2])
rotate([0,180,0])
difference()
{
difference()
{
translate ([0,0,tall/4])
fhex(diameter+4+0.50,tall/3);... | glb/cad_03545081c178.glb |
Create a storage box for the 1860 railways game with a total width of 140mm, height of 70mm, and a depth of 20mm. The box should have rounded corners with a radius of 3mm and a wall thickness of 4mm. The interior is hollowed out, leaving the walls and base intact.
Divide the interior of the box into a grid of nine eq... | use <MCAD\boxes.scad>
module caja_sin_tapa(width,height,tall,radiusround=3,wallsize=4,separadoresX=0,separadoresY=0)
{
union()
{
union()
{
difference()
{
color("green")
translate([0,0,tall/2])
roundedBox([width, height, tall], radiusround, true);
translate([0,0,(... | glb/cad_e8599ad54cb9.glb |
Create a hexagonal lid for a game box. Start by constructing a solid hexagonal prism with a diameter of 46.5mm and a height of 8.67mm. From the center of this prism, remove a smaller hexagonal volume with a diameter of 44.23mm and a height of 8.67mm, leaving a thin outer wall. Additionally, remove a rectangular section... | $fn=64;
tapa_caja_1x_hexagonal(diameter=42,tall=26,translatex=28,translatey=-0.5);
module tapa_caja_1x_hexagonal(diameter=42,tall=26,translatex=28,translatey=-0.5)
{
difference()
{
translate ([0,0,tall/2])
rotate([0,180,0])
difference()
{
difference()
{
translate ([0,0,tall/4])
fhex(diameter+4+0.50,tall/3);... | glb/cad_a8a711354ae2.glb |
Create a customizable cocktail stirrer. Start by creating a rectangular base stick that is 150mm long, 7mm wide, and 3mm thick. At one end of the stick, add a decorative top element consisting of an 8-sided polygon with a diameter of 20mm and a thickness of 3mm. This polygon should be twisted by 30 degrees around its c... | Text="5PM";
CircleSize=200;
TextSize=20;
Font="Century";
TextHeight=5;
StickLengthMM=150;
TopSides=8;
TopTwist=30;
translate([0,-3.5,0]) {
cube([StickLengthMM,7,3]);}
translate([0,0,1.5]) {
linear_extrude(height =3, center = true, convexity = 100, twist =TopTwist, slices = 200, scale = 1.0) {
scale([10/100, 10/100, 10/... | glb/cad_2911a3a066b3.glb |
Create a SIMATIC IoT left lid cover with an overall outer dimension of 83.8mm in width, 59.8mm in height, and 11.9mm in depth.
Construct the main body as a hollow rectangular shell. The top perimeter should have a thickness of 2.1mm, while the other three perimeters have a thickness of 1.8mm. The interior is hollowed... | topExtraHeight = 0;
topThickness = 2.1;
thickness = 1.8;
withMHZ19SensorHole = 0;
withDisplay = 0;
withCableHole = 0;
if(0) {}
module Triangle(x, h, overlap, thick)
{
rotate([0, 90, 0])
translate([-overlap, overlap, -thick / 2])
linear_extrude(height = thick)
polygon(points=[[0, 0], [h + overlap,... | glb/cad_eaa855f21ba8.glb |
Create a kitchen drip tray as a rectangular block with rounded corners. The overall outer dimensions are 250mm in length, 150mm in width, and 15mm in height, with a corner radius of 5mm.
The top surface is recessed to create a tray. Within this recessed area, carve out a series of 25 parallel, equidistant drainage ch... | include <MCAD/boxes.scad>
Width = 150;
DrainerWidth=10;
Qtty = 24;
WDSize=20;
Length=DrainerWidth*(Qtty+1);
Height=15;
minthickness=2;
radius = DrainerWidth;
dividerCount = Length/DrainerWidth;
drainerLength = WDSize?Width - 1.5*DrainerWidth - WDSize : Width - DrainerWidth;
angle = atan((Height-(minthickness... | glb/cad_e49af797b8d7.glb |
Create a 3D model of a micro servo motor. Start with a main rectangular body measuring 11.8mm wide, 22.7mm deep, and 22.5mm high. Add two mounting tabs extending from the sides; these are rectangular blocks measuring 11.8mm wide, 2.5mm deep, and 31.9mm high, positioned at the front and back of the body. From these tabs... | module SG90(){
color("Blue",0.8){
cube([11.8,22.7,22.5]);
difference(){
translate([0,4.3,-4.7]) cube([11.8,2.5,31.9]);
translate([5.9,7.3,-2.4])rotate([90,0,0])
cylinder(r=1,h=3.5,$fn=100);
translate([5.9,7.3,24.9])rotate([90,0,0])
cylinder(r=1,h=3.5,$fn=100);
... | glb/cad_e9b6e68456d2.glb |
Create a phone mount for a car interior consisting of a symmetrical, ribbed cradle. The main body is a rectangular frame measuring 56mm wide, 12mm deep, and 124mm high.
The interior of the mount features a series of vertical, parallel slots or grooves designed to hold a mobile device. These grooves are created by alt... | module rBox(size, radius, fn)
{
cube(size - [2*radius,0,0], true);
cube(size - [0,2*radius,0], true);
for (x = [radius-size[0]/2, -radius+size[0]/2],
y = [radius-size[1]/2, -radius+size[1]/2]) {
translate([x,y,0]) cylinder(r=radius, h=size[2], center=true, $fn=fn);
}
}
module tCU(t,c){
translate(t)cube(c,tr... | glb/cad_084a13dd45dd.glb |
Create a Multi Purpose Tool Holder consisting of a main base and a rear mounting flange. The main base is a rectangular block 200mm wide, 4mm thick, and 28mm high. Attached to the back is a flange extending 20mm further back, maintaining the 4mm thickness. Together with the side walls, this forms an L-shaped profile wi... | include <constants.scad>;
$fn = 100;
tools_part_width = 42;
top_part_height = 28;
tools_start_position = 12;
bottom_part_margin = 20;
bolts_position = 12;
tool_hole_diameter = 6.4;
base_width = 200;
base_thickness = 4;
front_text = "Tools";
front_textScale = 1.0;
font_name = "Roboto:style=Black";
text_depth = 1... | glb/cad_78eb91f70e2d.glb |
Create a double peg support for a bookcase shelf. Start by creating a central rectangular block that is 20mm wide, 10mm deep, and 20mm high. On the bottom face of this block, center a cylinder with a diameter of 16mm and a height of 2.5mm. On the top face of the block, create a second cylinder with the same 16mm diamet... | cylinder(8,2.5,2.5,$fn=50);
translate([-5,-2.5,8]) {
cube([10,37,10]);
}
translate([0,32,0]) {
cylinder(8,2.5,2.5,$fn=50);
}
translate([-10,-2.5,8]) {
cube([20,10,20]);
} | glb/cad_71f96e4fd330.glb |
Create a blind plug for a 125mm pipe. Start with a base cylinder 130mm in diameter and 15mm high. On top of this base, add a second cylinder 15mm high with an outer diameter of 118mm, but hollow out its center with a concentric hole 106mm in diameter to create a thin-walled ring.
Within the main 130mm base, incorpora... | difference(){
union(){
cylinder(h=15, d=130, $fn=100);
translate([0,0,15])difference(){
cylinder(h=15, d=118, $fn=100);
cylinder(h=15.1, d=118-12, $fn=100);
};
translate([0,35,0]) cylinder(h=30, d=40, $fn=100);
translate([-5,-116/2,0])cube([10,116,30]) ;
translate([-116/2,-5,0])cube([116,10,30]) ;
translate([... | glb/cad_02b72d140d7f.glb |
Create a parametric card box consisting of two separate parts: a lower base and an upper cover.
For the lower base, create a solid rectangular block measuring 67.5mm in width, 105.5mm in length, and 31.75mm in height. Hollow out the center by removing a rectangular volume of 64mm by 102mm and 30mm in height, leaving ... | card_size_x = 64;
card_size_y = 102;
height = 30;
wall_thickness = 1.75;
tolerance = 0.5;
$fn=60;
lower();
translate([card_size_x+(wall_thickness*2+tolerance)*2+5,0,0]) upper();
module upper() {
box_x=card_size_x+(wall_thickness*2+tolerance)*2;
box_y=card_size_y+(wall_thickness*2+tolerance)*2;
box_z=... | glb/cad_2944d0eefd14.glb |
Create an Atomic Clock face by starting with a main circular disc 170mm in diameter and 2mm thick. Center a 10mm diameter hole through the entire thickness of the disc.
Around the perimeter of the disc, place 12 smaller circles, each with a radius of 28.33mm, spaced evenly every 30 degrees. These smaller circles shou... | hole_diameter = 10;
$fn = 100;
r = 85;
elemente = ["H", "He", "Li", "Be", "B", "C", "N", "O", "F", "Ne", "Na", "Mg"];
difference() {
union(){
disc();
translate([0,0,0.01]){
element();
atom();
}
}
loch();
}
module loch() linear_extrude(height = 12, center = true) circle(d=hole_diameter);
modul... | glb/cad_f57f98a7334a.glb |
Create an Easter Egg Dipper consisting of two interlocking parts: a handle and a base.
For the handle, create a flat profile 5mm thick. The main body is a combination of a 60mm by 100mm rectangle and a large circular ring with an outer diameter of 45mm and an inner diameter of 41mm. Integrate two small 6mm by 4mm rec... | part="handle";
size=47;
if(part=="handle")
rotate([-90,0]) handle();
else if(part=="base")
base();
else if(part=="all")
{
handle();
base();
}
module handle() {
translate([0,2.5]) rotate([90,0]) linear_extrude(5) {
intersection()
{
translate([-30,-4]) square([60,100]);
union(){
translat... | glb/cad_6e6e7961fa24.glb |
Create a Bee Feeder designed to hold a jar. Start by constructing a main body that combines a cylinder with a diameter of 80mm and a height of 32mm, centered on the Z-axis and extending from Z -19 to 13, with a rectangular block measuring 80mm wide, 70mm deep, and 19mm high attached to its side, extending from Z -19 to... | difference()
{
union()
{
translate([0,0,-19]) cylinder (d=80, h=32);
translate([-40,0,-19]) cube([80,70,19]);
}
translate([0,0,0]) cylinder (d=72, h=16);
translate([0,0,-16]) cylinder (d=56, h=18);
translate([ 14,80,-10]) rotate([90,0,0]) scale([2,1,1]) cylinder (d=12, h=80);
translate([-14,80,-10])... | glb/cad_6e65f9cd76a9.glb |
Create a space rocket model centered on a vertical axis. The main fuselage is a cylinder with a radius of 7.5mm and a height of 80mm, capped at the top with a hemispherical dome of the same radius.
At the base of the fuselage, add three symmetrical fins spaced 120 degrees apart. Each fin is a hull-like shape created ... | $fs=0.2;
$fn=50;
i=0;
scale([.5,.5,.5])
intersection() {
assembly();
cylinder(r=40,h=220);
}
module assembly() {
fuse(r=15,h=16*2);
engine(r=8, h=16);
}
module fuse() {
translate([0,0,1.5*h*1.5+r-8])
difference() {
union(){translate([0,0,-(1.5*h*1.5+r-10)])
fins();
translate([8,0,20])
rotate([0,-10,0])
scal... | glb/cad_49008c6fb73a.glb |
Create a 4x4 Rubik's Cube center piece. Start with a rectangular block that is 12.78mm high, 16.3mm wide, and 16.3mm deep.
From this block, carve out a complex internal cavity to allow for movement. The primary structure is defined by the intersection of three spherical voids and a central shaft. First, subtract a sp... | big_cube=65;
h=12.78;
inner_cube=big_cube-(2*h)+0.05;
sq_wd=16.30;
gap1=3.89;
gap2=4.37;
d1=52.50-2*gap1;
d2=52.50;
d3=52.5+2*gap2;
stem=3.73;
face1_h=9.53;
face2=12.00;
face2_h=10.44;
face3_d=9.43;
translate([big_cube/2-h+0.05,0,0])
intersection() {
cube([h-0.05,stem,stem]);
translate([-1,0,0])rotate([0,90... | glb/cad_9d9ff9540dc4.glb |
Create a front body mount for a remote control vehicle. Start with a base plate that is 3.5mm thick. This base is formed by a hull of two cylinders, each with a radius of 4mm, positioned 43mm apart (center-to-center), creating a rounded rectangular strip. Subtract two vertical holes with a diameter of 3.1mm from this b... | $fn=100;
bottom_holes_width=35.225;
bottom_holes_dia=3.1;
bottom_haut=8;
bottom_large=bottom_holes_width+bottom_haut;
bottom_epais=3.5;
angle_top=30;
top_poles_width=36.7;
top_large=46;
top_haut=10;
top_epais=3.5;
top_distance=27.7;
poles_dia=6.25;
poles_haut=6.6;
pin_hole_dia=1.65;
legs_large=28.3;
module poles()... | glb/cad_f718d5897216.glb |
Create a round Schuko CEE 7/3 socket cover. Start with a main cylindrical body with a radius of 22mm and a height of 21.5mm, using a 16-facet resolution. Add a base lip by extruding a ring around the bottom with an outer radius of 25mm and a thickness of 4.8mm.
On the top surface, center a rectangular pin guard measur... | coverdiameter = 50;
coverthickness = 4.8;
screwoffset = 0;
module schuko(screwoffset=0, screwdia=3.5, screwhead=6.5, screwsink=3)
{
module earthing()
{
intersection() {
union() {
translate([-22,-2,3])
cube([6,4,20]);
translate([-19,-2,17... | glb/cad_b1731954fee9.glb |
Create a Prusa Top Spool Holder consisting of a flat arm and a spool support. Start by creating the arm as a flat plate with a thickness of 7mm. The main body of the arm is formed by a hull connecting a cylinder with a radius of 13mm and two cubes positioned at [150, -75, 0] and [150, 75, 0], all with a height of 35mm.... | thickness = 7;
bumper = 4;
support = 5;
translate([0,0,thickness+8]) spool();
arm_holder();
translate([0,0,(thickness*5-bumper-support)*2+58.5]) mirror([0,0,1]) arm_holder();
bars();
module arm_holder() {
difference() {
hull() {
translate([0,0,0]) cylinder(r=13, h=thickness*5);
translate([150,-75,0]) cube([... | glb/cad_2a500acb62e1.glb |
Create a Thumbwheel M3 with a scale. Start by creating a main cylindrical disc with a radius of 15mm and a height of 3mm, using a 50-facet resolution. In the center of this disc, create a vertical hole with a radius of 2mm and a 12-facet resolution that passes through the entire height. Around this central hole, create... | rw=15;
hw=3;
rm4_ac=5.5/2/cos(360/12);
hm4=2.4;
rm4free=4/2;
h1=hm4*.9;
r1=rm4_ac+2;
hs=1;
ws=.5;
nm=5;
e=0.01;
echo(hw+h1);
module ThumbWheelM3(){
color("lime")
difference(){
union(){
cylinder(hw,rw,rw,$fn=nm*10);
translate([0,0,hw-e])cylinder(h1+e,r1,r1);
}
translate([0,0,-1])cylinder(hw+h1+2,... | glb/cad_70ae36abcf1f.glb |
Create a small stop button consisting of two stacked coaxial cylinders. First, create a wide, flat cylindrical base with a diameter of 10mm and a height of 2.6mm. Centered on top of this base, add a second, narrower cylindrical stem with a diameter of 5.5mm and a height of 4.6mm. Ensure both parts are perfectly aligned... | $fn = 64;
baseD = 10;
baseH = 2.6;
stemD = 5.5;
stemH = 4.6;
cylinder(d=stemD, h=stemH);
translate([0,0,-baseH]) cylinder(d=baseD, h=baseH); | glb/cad_5d8c1629dc30.glb |
Create a linear rail spacer block. Start with a main rectangular body measuring 30mm in width, 19mm in depth, and 40mm in height, applying a corner radius of 1.5mm to all edges. On the bottom face, add a rectangular protrusion centered along the depth, measuring 20mm wide, 50mm deep, and 6mm high. On the top surface of... | $fn=64;
difference(){
difference(){
difference(){
union(){
difference(){
cubeX([30,19,40], radius=1.5);
translate([5,0,0])cube([20,50,6]);
}
translate([12,0,4])
cubeX([6,19,3], radius=.75);
... | glb/cad_855bb1585b89.glb |
Create a linear rail spacer block for a Wilson II printer. Start with a rectangular base measuring 30mm wide, 50mm long, and 32.3mm high, applying a 1.5mm radius to all corners. On the bottom face, center a rectangular cutout measuring 20mm by 50mm with a depth of 6mm. Add a raised rectangular ridge on the top surface ... | $fn=64;
difference(){
difference(){
difference(){
difference(){
union(){
difference(){
cubeX([30,50,32.3], radius=1.5);
translate([5,0,0])cube([20,50,6]);
}
translate([12,0... | glb/cad_346d4540696e.glb |
Create a snap-fit box with an outlet, consisting of a main body and a removable lid. For the main body, create a rectangular shell with outer dimensions of 39.2mm in length, 27.2mm in width, and 28.2mm in height, using a wall thickness of 1.6mm. Hollow out the center to create an interior cavity of 36mm by 24mm by 25mm... | include <SnapLib.0.35.scad>
$fn=128;
eps=.5*6/100;
wand=1.6;
hoehe=25;
breite=24;
laenge=36;
abdaeckung_dicke=0;
ob_distance=5;
loch_hoehe=10;
snap_laenge=5;
snap_offset=0.2;
module hauptteil() {
difference() {
translate([ob_distance/2,ob_distance/2,0]) group() {
difference() {
cube([laenge+2*wand,brei... | glb/cad_3af6cf2e591a.glb |
Create a Painting Column holder by starting with a main cylinder 40mm tall with a radius of 25mm. From this main body, remove a series of 24 thin cylindrical slots, each with a radius of 2mm and a height of 42mm. These slots should be arranged in a circular pattern around the perimeter, tilted at a 10-degree angle, and... | column();
module column(){
height = 40;
width = 50;
intersection(){
union(){
difference(){
translate([0,0,2])
cylinder(h=40-4,r=(width-4)/2,$fn=64);
for (r=[0:15:359]){
rotate(r)
translate([(width... | glb/cad_d5fba0fec4f9.glb |
Create a painting column holder by constructing a tiered, hollow vessel with 16-sided polygonal profiles. Start with a base 16-sided prism that is 50mm in diameter and 20mm high. On top of this base, add a 16-sided frustum that transitions from a 50mm diameter at its bottom to a 20mm diameter at the top over a height o... | skinnysmall(10);
module skinnysmall(d=10){
difference(){
union(){
cylinder(d=50,h=20,$fn=16);
rotate(360/32)
cylinder(d=50,h=20, $fn=16);
translate([0,0,20])
cylinder(d1 = 50, d2=max(20,d+10), h=15, $fn=16);
translate([0,0,35])
... | glb/cad_34a497e3a5d2.glb |
Create a Metz 45CT strobist mount by constructing a base rectangular block measuring 20mm in length, 5mm in width, and 3mm in height. To this base, add two identical angled grip sections. The first grip section is a cube of 6mm by 5mm by 10mm, rotated 28.44 degrees along the Y-axis and positioned at the start of the ba... | rotate([90,0,0]){
union(){
cube([20,5,3]);
grip();
}
}
module grip(){
h_spacing=0;
v_spacing=0;
difference(){
union(){
translate([h_spacing,0,-6])
rotate([0,28.44,0])
cube([6,5,10]);
translate([20,0,0])
mirror(){
translate([h_spacing,0,-6])
rotate([0,28.44,0])
cube([6,5,10]);
... | glb/cad_5aac1bdb87bb.glb |
Create a Metz 45CT strobist mount by constructing a central rectangular block measuring 20mm x 45mm x 10mm. Attach a smaller rectangular lip measuring 20mm x 5mm x 23mm to the bottom. Integrate a large horizontal cylinder with a radius of 10mm and a length of 45mm that runs through the center of the body.
Add a series... | rotate([90,0,0]){
difference(){
body();
translate([10,12,-10])
rotate([0,0,0])
cylinder( h=40, r=2.5, $fa=5, $fs=0.1);
translate([10,37,-10])
rotate([0,0,0])
cylinder( h=40, r=2.5, $fa=5, $fs=0.1);
}
}
module body(){
difference(){
union(){
cube([20,45,10]);
translate([0,0,-13])
cube([20,5... | glb/cad_15f3365b0d54.glb |
Create a Metz 45CT strobist mount for a flash unit and light stand. The main body is a block 20mm wide, 45mm long, and 10mm thick. Integrate a pentagonal prism (5-facet cylinder) with a radius of 10mm and a height of 5mm as a mounting lip, and a larger pentagonal prism with a radius of 10mm and a height of 45mm as the ... | translate([10,45,0])
rotate([90,0,180]){
difference(){
union(){
cube([20,45,10]);
translate([0,0,-17])
cube([20,5,23]);
translate([10,0,-17])
rotate([-90,0,0])
cylinder( h=5, r=10, $fa=5, $fs=0.1);
translate([10,0,10])
rotate([-90,0,0])
cylinder( h=45, r=10, $fa=5, $fs=0.1);
translate([-7... | glb/cad_d916a0cdfb18.glb |
Create a Metz 45CT strobist mount for a camera tripod and lamp stand. The main body is a block 20mm wide, 45mm long, and 10mm thick. Integrate a pentagonal prism (5-facet cylinder) with a radius of 10mm and a height of 5mm as a mounting lip, and a larger pentagonal prism with a radius of 10mm and a height of 45mm as th... | translate([10,45,0])
rotate([90,0,180]){
difference(){
union(){
cube([20,45,10]);
translate([0,0,-17])
cube([20,5,23]);
translate([10,0,-17])
rotate([-90,0,0])
cylinder( h=5, r=10, $fa=5, $fs=0.1);
translate([10,0,10])
rotate([-90,0,0])
cylinder( h=45, r=10, $fa=5, $fs=0.1);
translate([-7... | glb/cad_c54b1412e976.glb |
Create a strap mount for an action camera consisting of a base plate and a mounting clip.
First, construct the base plate as a rounded rectangular block 60mm long, 44mm wide, and 4.5mm high. The corners should be rounded with a radius of 2.25mm. Carve a central channel through the length of the plate for a strap, mea... | baseLength = 60;
baseWidth = 44;
baseHeight = 4.5;
strapChannelWidth = 21;
strapChannelDepth = 1.5;
difference () {
$fn=60;
minkowski()
{
sphere(d=baseHeight/2, $fn=60);
cube([baseLength-baseHeight/2,baseWidth-baseHeight/2,baseHeight/2], center=true);
}
translate([0,0,(baseHeight-... | glb/cad_6b2d369119d5.glb |
Create a replaceable high heel wear-surface by combining a rectangular block and a cylinder, then removing two concentric cylindrical holes. Start by joining a 12mm by 7mm by 8mm rectangular cube with a cylinder that has a radius of 6mm and a height of 8mm, centered at the 6mm mark along the length of the cube. From th... | difference () {
union() {
translate ([0,0,0]) cube (size=[12,7,8]) ;
translate ([6,0,0])
color ("red")
cylinder (h=8, r1=6, r2=6);
}
color ("green")
translate ([6,0,-1])
cylinder (h=15, r1=2, r2=2);
color ("blue")
translate ([6,0,4])
cylinder (h=4.5, r1=3.9, r2=3.9);
} | glb/cad_645ae2fa41a3.glb |
Create a set of three plastic header pin plugs. Each individual plug is a hollow cube measuring 4mm x 4mm x 10mm. Centered within each plug is a square hole measuring 1.5mm x 1.5mm that runs the full 10mm length of the part.
To add structural detail and grip, create small ridges on the exterior. These ridges are 0.5mm... | $fn=50;
headers(3);
module headers(count = 2, spacing = 2.54*2, pinHeight = 10) {
for(i=[0:count-1]) {
translate([0,spacing*i,0]) header();
if( i != count-1 ) {
translate([0,spacing*i + spacing/2,-(pinHeight/3)]) cube([spacing/3,spacing/3.5+1,pinHeight/3], center=true);
translate([0,spacing*i +... | glb/cad_44c6adf859a5.glb |
Create a set of 8 identical plastic header pin plugs arranged in a linear row. Each individual plug is based on a central cube measuring 3mm x 3mm x 10mm, centered on the origin.
For each plug, create a square vertical hole through the center measuring 1.25mm x 1.25mm. At the top face of the plug, create a square ind... | $fn=20;
headers(8);
module headers(count = 2, spacing = 2.54, pinHeight = 10) {
for(i=[0:count-1]) {
translate([0,spacing*i,0]) header();
}
}
module header(pinHeight = 10, pinSpacing = 3, pinSize = 1.25, indentSize = 2.0, ridgeDepth = 0.5 ) {
difference() {
cube([pinSpacing,pinSpacing,pinHeight], cent... | glb/cad_0f2a529203f1.glb |
Create a 4 Dram Glass Vial Base consisting of a wide cylindrical base and a tapered upper sleeve with a central hole. Start by creating a solid cylinder for the base with a radius of 28.1875mm and a height of 4mm. On top of this base, center a conical frustum that is 12mm tall, starting with a bottom radius of 20.5mm a... | tool_diameter = 20.5;
tool_rad = tool_diameter / 2;
base_multiplier = 2.75;
base_height = 4;
cap_height = 12;
cap_base_multiplier = 2;
cap_top_wall_width = 3;
tool_space_margin = 0.6;
difference()
{
union()
{
cylinder(r=tool_rad*base_multiplier, h=base_height);
translate([0,0,base_height])
cylind... | glb/cad_22a7ba975ce6.glb |
Create a FREHD electronics case starting with a rectangular base plate measuring 124mm by 86mm with a thickness of 2mm. Build vertical walls 32mm high along the left and right edges, each 2mm thick, and a front wall 2mm thick and 32mm high. On the front wall, create a rectangular cutout for an SD card slot measuring 30... | difference() {
union() {
cube([124,86,2]);
translate([5.5,5.5,2]) cylinder(7,3,3);
translate([5.5,80.5,2]) cylinder(7,3,3);
translate([118.5,5.5,2]) cylinder(7,3,3);
translate([118.5,80.5,2]) cylinder(7,3,3);
translate([17.5,6.5,2]) cylinder(7,3,3);
translat... | glb/cad_789b48a1628c.glb |
Create a FREHD case base by starting with a rectangular slab measuring 124mm by 86mm with a height of 2mm. On top of this base, add a second rectangular section measuring 119mm by 81mm with a height of 2mm, centered with a 2.5mm offset from the edges.
At each of the four corners of the base, create a vertical cylindr... | difference() {
union() {
cube([124,86,2]);
translate([2.5,2.5,2]) cube([119,81,2]);
}
# translate([5.5,5.5,-2]) cylinder(12,1.5,1.5);
# translate([5.5,80.5,-2]) cylinder(12,1.5,1.5);
# translate([118.5,5.5,-2]) cylinder(12,1.5,1.5);
# translate([118.5,80.5,-2]) cylinder(12,1.5,... | glb/cad_2a3d5cf286ec.glb |
Create a TI-99 FlashROM99 Case by starting with a rectangular base measuring 103.46mm by 87mm with a thickness of 2.54mm. Construct the side walls by adding two vertical walls, each 2.54mm thick and 87mm deep; the left wall should be 16.5mm high for the first 87mm and rise to 23mm for the remaining 70mm. Mirror this on... | cube([103.46,87,2.54]);
cube([2.54,87,16.5]);
cube([2.54,70,23]);
translate([103.46,0,0])
union(){
cube([2.54,87,16.5]);
cube([2.54,70,23]);
}
translate([102.46,0,0])
cube([1,2,23]);
translate([0,18,0]) cube([67,7,7.54]);
translate([64,0,0]) cube([39,5,4]);
cube([67,2.54,12]);
translate([0,15.46,0]) cube(... | glb/cad_706e9bdc51dd.glb |
Create a Tertial Tripod Mount by constructing a base and a tapered holder with a central hole. Start with a base created by joining a 32mm x 32mm x 1mm centered cube and a 23mm x 23mm x 1mm centered cube positioned 8.5mm above the first, forming a truncated pyramid shape. On top of this base, center a tapered cylinder ... | Base_Height = 8.5;
module base() {
hull() {
cube(size = [32,32,1], center = true);
translate([0,0,Base_Height]) cube(size = [23,23,1], center = true);
}
}
module holder() {
translate([0,0,Base_Height]) cylinder (h=26, r1 = 11, r2 = 9);
}
module assembly(){
base();
holder();
}
difference (){
assembly();
... | glb/cad_cdb4ea121ca8.glb |
Create a Kossel Circular Print Bed Holder by starting with a solid cylinder 25mm in diameter and 6.2mm in height. From this cylinder, remove a central rectangular block that is 25mm wide, 21mm deep, and 6.2mm high, aligned so that the block's width is centered on the cylinder's diameter.
Within the remaining geometry... | holderHeight = 3;
holderWidth = 25;
holderExt = 0;
frameWidth = 15;
frameRailWidth = 3;
frameRailHeight = 5;
bedScrewDFFrame = 5;
m3HeadAllen_Diam = 5.6;
m3HeadAllen_Height = 3.2;
m3Rod_Diam = 3;
tabLength = frameWidth + 2*frameRailWidth + holderExt;
tabHeight = holderHei... | glb/cad_ef27dd411484.glb |
Create a KK Board v1 case consisting of a rounded square box with an open top. The outer dimensions of the box are 54.5mm by 54.5mm with a total height of 9mm. The walls are 2mm thick, and the four vertical corners are rounded with a radius of 2mm. The interior floor of the box is flat.
Inside the box, place four cyli... | mount_hole_r = 1;
mount_hole_depth = 3;
pi_mount_length = 44;
pi_mount_width = 44;
plate_height = 1.5;
standoff_height = 2;
standoff_r = 2.5;
box_height = 9;
wall_thickness = 2;
box_inner_width = 50.5;
corner_radius = 2;
difference() {
hull() {
translate([box_inner_width / 2,box_inner_width / 2,0])
cylinder... | glb/cad_6d9c66a99b4f.glb |
Create a KK Board v1 case consisting of a shallow rectangular box with rounded corners. The main body is a square with an outer dimension of 54.5mm x 54.5mm and a total height of 5mm. The walls are 2mm thick, creating an inner cavity of 50.5mm x 50.5mm. The four vertical corners of the outer shell are rounded with a ra... | mount_hole_r = 1;
mount_hole_depth = 3;
pi_mount_length = 44;
pi_mount_width = 44;
plate_height = 1.5;
standoff_height = 2;
standoff_r = 2.5;
box_height = 5;
wall_thickness = 2;
box_inner_width = 50.5;
corner_radius = 2;
difference() {
union() {
hull() {
translate([box_inner_width / 2,box_inner_width / 2,0]... | glb/cad_dd283279c973.glb |
Create an LM8UU bearing holder by starting with a central rectangular block measuring 20mm wide, 22mm deep, and 24mm high. Center this block so that the depth is aligned with the Y-axis. Carve a vertical cylindrical hole through the center of the block with a diameter of 15mm and a height of 24mm to accommodate the bea... | difference() {
translate([0,-6,0])
cube([20,22,24],center=true);
cylinder(h=24,d=15,$fn=100,center=true);
translate([0,0,6])
rotate([90,0,0])
cylinder(h=40,d=3.2,$fn=100,center=true);
translate([0,0,-6])
rotate([90,0,0])
cylinder(h=40,d=3.2,$fn=100,center=true);
translate([0,0,6])
rotate([90,0,0])... | glb/cad_25d56903985a.glb |
Create a protective phone case for a Huawei P10. Start by constructing a rounded rectangular shell with external dimensions of 72.5mm width, 148.5mm length, and 9.2mm height. The shell should have a corner radius of 8mm and a wall thickness of 1.5mm.
Hollow out the center to fit the phone, leaving a base thickness of... | $fa=0.5; $fs=0.5 ;
c_overprint = 0.2;
c_phone_width = 69.5;
c_phone_length = 145.5;
c_phone_thickness = 7.2;
c_phone_corner_r = 8;
side_thickness = 1.5;
bottom_thickness = 1;
c_lip_width = 3;
c_camera_from_top = 30;
c_camera_square = 12.5;
c_camera_to_speaker = 10.5;
c_speaker_size = 8.5;
c_on_off_y = 25;
c_on_off... | glb/cad_be64ae95b98a.glb |
Create a pen adapter consisting of two stacked concentric cylinders with a hollow center. Start by creating a base cylinder with an outer diameter of 13.9mm and a height of 31.5mm. On top of this base, add a second cylinder with a larger outer diameter of 11.3mm and a height of 30mm. To create the internal cavity for t... | standard_tip_length = 31.5;
standard_thin_diameter = 13.9;
standard_thick_diameter = 15.4;
pen_thin_diameter = 10;
pen_thick_diameter = 11.3;
pen_tip_length = 44;
holder_length = 30;
slop = 0.1;
$fa = 5;
$fs = 0.5;
module pen() {
translate([0, 0, -slop]) cylinder(h=pen_tip_length + 2*slop, d=pen_thin_diame... | glb/cad_319f697fd0de.glb |
Create a modular paint spray gun adapter for a vacuum cleaner by starting with a main cylinder that is 20mm in diameter and 4mm thick. From this central disk, remove five cylindrical holes to create the necessary ports. First, center a hole with a diameter of 4mm that passes completely through the disk. Next, create fo... | difference()
{
translate([0,0,0])
{
cylinder(4,20,20,center=0,$fn=100);
}
translate([8,6,-.01])
{
cylinder(11,4,4,center=0,$fn=100);
}
translate([8,-6,-.01])
{
cylinder(11,4,4,center=0,$fn=100);
}
translate([-8,0,-.01])
{
cylinder(11,4,4,center=0,$fn=100);
}
translate([0,10,-.01])
{
cylinder(11,2,2,center=0,$fn=100);... | glb/cad_ae92ac61644f.glb |
Create a modular paint spray gun adapter for a vacuum cleaner. Start by constructing a main cylinder with an outer diameter of 21mm and a height of 19mm, centered on the origin. From the center of this cylinder, remove a smaller concentric cylinder with a diameter of 9.02mm that extends from the bottom through the top.... | difference()
{
union()
{
translate([0,0,0])
{
cylinder(21,19,19,center=0,$fn=100);
}
translate([0,0,22.5])
{
cube([38,10,5],center=true);
}
translate([0,0,22.5])
{
cube([15,38,5],center=true);
}
}
translate([0,0,-0.01])
{
cylinder(9.02,16,9,center=0,$fn=100);
}
translate([0,0,9])
{
cylinder(30.02,9,23,center=0,$fn=10... | glb/cad_a6ead8429668.glb |
Create a modular paint spray gun adapter for a vacuum cleaner. Start by creating a main cylinder with a radius of 5mm and a height of 10mm, centered on the Z-axis. At the top of this cylinder, add a smaller, flat disc with a radius of 4mm and a thickness of 0.5mm, positioned at a height of 6mm.
To create the internal... | difference()
{
union()
{
translate([0,0,0])
{
cylinder(6,5,5,center=0,$fn=100);
}
translate([0,0,-1])
{
cylinder(1,4,5,center=0,$fn=100);
}
translate([0,0,6])
{
cylinder(4,5,0.5,center=0,$fn=100);
}
translate([0,0,7.5])
{
cube([10,1,5],center=true);
}
translate([0,0,7.5])
{
cube([1,10,5],center=true);
}
}
translate(... | glb/cad_863991aa5846.glb |
Create a modular paint spray gun adapter. Start with a main vertical cylinder 60mm high with an outer diameter of 46mm (radius 23mm). Intersecting this main body, add a horizontal cylinder 42mm long with a radius of 21mm, positioned so its center is 21mm above the base.
Hollow out the center of the main vertical cylin... | difference()
{
union()
{
difference()
{
union()
{
translate([0,0,-0])
{
cylinder(60,23,23,center=0,$fn=100);
}
translate([0,0,21])
{
rotate([0,90,0])
cylinder(42,21,21,center=0,$fn=100);
}
}
translate([0,0,-0.001])
{
cylinder(142,16,16,center=0,$fn=100);
}
translate([0,0,-0.001])
{
cylinder(10,19,19,center=0,$fn=100);... | glb/cad_2af2fef59235.glb |
Create a modular paint spray gun adapter for a vacuum cleaner. Start by creating a base cylinder with a radius of 5mm and a height of 5mm, centered on the origin. Atop this base, add a cone that extends 22mm in height, tapering from a base radius of 5mm down to a point with a radius of 0.5mm at the peak. To create the ... | cone_height = 22;
difference()
{
union()
{
translate([0,0,0])
{
cylinder(6,5,5,center=0,$fn=100);
}
translate([0,0,-1])
{
}
translate([0,0,6])
{
cylinder(cone_height,5,0.5,center=0,$fn=100);
}
translate([0,0,7.5])
{
cube([10,1,5],center=true);
}
translate([0,0,7.5])
{
cube([1,10,5],center=true);
}
}
translate([0,0... | glb/cad_02a34a6b38c3.glb |
Create a modular paint spray gun adapter for a vacuum cleaner. Construct a hollow vertical cylinder with an outer diameter of 20mm and a total height of 110mm. The walls should be uniform, created by removing a concentric inner cylinder with a diameter of 16mm. The inner void must extend through the entire length of th... | difference()
{
union()
{
translate([0,0,-0])
{
cylinder(10,19,19,center=0,$fn=100);
}
translate([0,0,10])
{
cylinder(100,19,21,center=0,$fn=100);
}
}
translate([0,0,-0.01])
{
cylinder(10.1,16,16,center=0,$fn=100);
}
translate([0,0,10])
{
cylinder(100.1,16,19,center=0,$fn=100);
}
} | glb/cad_5e1f51e7df46.glb |
Create an X-Acto Knife Stand consisting of a wide cylindrical base and a tapered conical cap. Start with a base cylinder 36.6mm in diameter and 8mm in height. Centered on this base, add a conical cap that is 41mm tall, tapering from a bottom radius of 13.725mm to a top radius of 6.325mm.
Integrate a vertical rectangu... | tool_diameter = 9.15;
tool_rad = tool_diameter / 2;
base_multiplier = 4;
base_height = 8;
cap_height = 41;
cap_base_multiplier = 3;
cap_top_wall_width = 1.5;
tool_space_margin = 0.55;
handle_hole_depth = 8;
blade_hole_width = 3;
orientation_ridge_size = 4;
difference()
{
union()
{
cylinder(r=tool_rad*bas... | glb/cad_8bb1ffab7c50.glb |
Create a snap-on filament guide consisting of a long clip and a separate ring. For the clip, start with a rectangular base 51mm long, 4mm wide, and 1.5mm thick. At one end, add a vertical tab 4mm long, 4mm wide, and 3mm high, but remove a 5mm wide section from the bottom of this tab starting 2mm from the edge, leaving ... | top_width = 49;
top_thickness = 1.5;
thickness = 1.5;
width = 4;
edge = 2;
module clip() {
cube([top_width + edge, width, thickness]);
translate([0, 0, thickness]) {
difference() {
cube([4, width, top_thickness*2]);
translate([edge, -.1, 0]) cube([5, width + .2, thickness]);
... | glb/cad_b6ef0fa197c3.glb |
Create a Lightsaber Blade Plug by constructing a cylinder with a diameter of 25.4 mm and a height of 50 mm. The cylinder should be mostly hollow, but include a solid bottom layer with a height of 1 mm and a radius of 5.5 mm to close the base.
Centrally aligned through the cylinder, create a cutout of the Rebel Allianc... | thickness = 50;
diameter = 25.4;
hollow = true;
number = 1;
resolution = 100;
inside_size = 11;
sides = 100;
wall_thickeness = .8;
middle = "icon";
flair_depth = 0;
flair_offset_z = 0;
icon = "";
inverse = false;
bottom_layer = true;
font = "fontawesome";
icon_siz... | glb/cad_dc1d284d3091.glb |
Create a curved wooden train track section by extruding a specific profile along a 42-degree arc with an inner radius of 198mm. The cross-section profile is a complex polygon defined by the following coordinates in mm: (0,0), (5,0), (5,3), (11,3), (11,0), (29,0), (29,3), (35,3), (35,0), (40,0), (40,12), (35,12), (35,9)... | module track_profile2d() {
track_profile =
[[0,0], [5,0], [5,3],[11,3],[11,0],
[29,0],[29,3], [35,3], [35,0],
[40,0],[40,12],
[35,12], [35, 9], [29, 9],
[29,12], [11, 12], [11, 9],
[5,9], [5,12],
[0,12]];
polygon(points = track_profile);
}
module plug(angle = 0) {
rotate([0,0,angle])
translate([-3,0,0]) union... | glb/cad_faaea925ce13.glb |
Create a Visaton FR Speaker Box consisting of a main enclosure, a lid, and a base mount. For the main enclosure, create a cube measuring 70mm x 70mm x 36mm and remove a smaller centered cube of 67mm x 67mm x 37mm to create a hollow shell with 1.5mm walls and open ends. For the lid, create a centered cube measuring 70mm... | module main()
{
union()
{
difference()
{
cube([70,70,36],center=true);
translate([0,0,2])cube([67,67,37],center=true);
}
}
}
module lid()
{
difference()
{
translate([0,0,35])cube([70,70,3],center=true);
translate([0,0,33])cylinder(4,30,30);
}
}
module mount()
{
difference()
{
tra... | glb/cad_b96d0991ae2c.glb |
Create a FlySky self-centering arm by starting with a rectangular base measuring 11.2mm in width, 30.3mm in length, and 2mm in height. At the top end of this base, center a cylindrical protrusion with a diameter of 5.9mm and a height of 2mm. This protrusion must have a concentric vertical hole passing through its cente... | module tx()
{
$fn=60;
difference()
{
translate([0,0,0])cube([11.2,36.2-5.9,2]);
translate([0,0,0])cube([11.2-2.5,5.1,3]);
translate([0,10,0])cube([1,20,2]);
translate([5,2,2])rotate([0,90,0])cylinder(12,0.5,0.5);
translate([13,18,0])rotate([0,0,30])cube([5,15,2]);
translate([2,15,0])cylinder(4,7.2/2,7.2/2);
... | glb/cad_69931f63b61e.glb |
Create a toy train track section with a total length of 225mm and a rail gauge of 24mm.
Construct two parallel rails by extruding a profile that consists of a top rail head 1.7mm wide and 4.9mm high, a middle web 3.8mm wide and 1.2mm high, and a bottom flange 1.7mm wide and 2.5mm high. Position these rails so they ar... | function fenfagg() = 24;
sirge(leng = 50, supp = 1);
module sirge(leng=225, supp=5)
{
translate([0,fenfagg()/2+3,0])
roobas(leng);
translate([leng-4,-fenfagg()/2-3,0])
rotate([0,0,180])
roobas(leng);
samm = (leng-31.5)/supp - 1;
for(n = [0 : supp])
{
translate([12.5 + samm*n, 0, 0])
suur... | glb/cad_c10cf6f99502.glb |
Create a GoPro Chest Mount Socket. Start with a main cylindrical body that has a total height of 6.4mm. The core of the object is a cylinder with a diameter of 15.5mm.
At the center of the top face, create a concentric ring feature. This consists of an outer circle with a diameter of 25.8mm and an inner circular cuto... | include </home/plastic/3d/MCAD/boxes.scad>
$fn=100;
$fs=0.1;
tol=0.2;
d0=15.7;
d1=19;
d2=2*8.44+d1-1;
d3=d2-2*4.1;
w0=2.17;
w1=3.28;
tab=10;
ht=6+tol*2;
dBolt=3+tol;
theta=4*atan((tab/2)/d2);
bw=64+2*tol;
bh=126+2*tol;
echo(theta);
bt=10+4*tol;
base();
module base() {
translate([0,0,-ht+2*tol])
difference() ... | glb/cad_99b781d4af16.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.