Prompt stringlengths 96 2.17k | Code stringlengths 27 249k | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Devil's Head Dice as a rounded cube with a side length of 15mm. The overall shape should be a cube with slightly rounded edges and corners, achieved by intersecting the cube with a sphere to create a soft, organic feel.
On each of the six faces, engrave a custom image to a depth of 1mm. The engravings should... | DiceSide = 15;
Roundness = 4;
EngravingDepth = 1;
Side1Engraving = "1.png";
Side2Engraving = "2.png";
Side3Engraving = "3.png";
Side4Engraving = "4.png";
Side5Engraving = "5.png";
Side6Engraving = "666.png";
TextureFolder = "";
SphereRadius = DiceSide * ((1-Roundness/10)*(0.87-0.70)+0.70);
EngravingCorrection... | glb/cad_2b45c9f19545.glb |
Create a Parametric Hands-free Spectacle Torch holder. Start by creating a curved sleeve to hold a flashlight with a diameter of 12.5mm. This sleeve should have a wall thickness of 1.5mm, a total length of 20mm, and wrap around the flashlight at an angle of 240 degrees.
Integrated into the top of this sleeve, construc... | torchD = 12.5;
torchA = 240;
armT = 1;
armH = 7;
barbR = 0.25;
wallT = 1.5;
length = 20;
$fn = 100;
rotate([0,0,(180-torchA)/2])
rotate_extrude(angle = torchA){
translate([torchD/2+wallT/2,0,0])
square([wallT, length], center=true);
}
translate([0,torchD/2+armT/2+wallT,0]){
difference(){
... | glb/cad_b452ea850866.glb |
Create a Spinning Lithophone Box consisting of a rotating cube assembly and a stationary base.
For the rotating assembly, create a top and bottom square plate, each 158mm wide and 8mm thick. In both plates, center a 145mm diameter circular cutout. From the edges of the plates, create four rectangular slots 4mm wide an... | $fa = 0.4;
$fs = 1;
panel_thick = 4;
panel_width = 150.2;
panel_height = 100.2 - (panel_thick * 4);
top_thick = panel_thick * 2;
bottom_thick = top_thick;
outer = panel_width + (panel_thick * 4);
outer_height = panel_height + (panel_thick * 4);
panel_slot_offset = (panel_width / 2) + (panel_thick);
post_height = ... | glb/cad_62419571ca64.glb |
Create a knitting needle stopper by designing a flat, circular disc with a height of 5mm. The main body should be a cylinder with a radius of 7.5mm. In the center of this disc, create a vertical hole with a radius of 1.8mm to accommodate a 3.6mm diameter needle. To allow the stopper to be inserted, cut a narrow slot th... | $fn=123;
needle=2.5 + .1;
linear_extrude(height=5) {
offset(r=1) {
difference() {
circle(r=6.5);
circle(r=1+needle/2);
translate([-3/2,-7]) square([3,2*7]);
}
}
difference() {
translate([-1,-needle/2-2.5]) square([2,3]);
circle(r=needle/2);
hull() {
translate([0,-ne... | glb/cad_2185ddc39ebb.glb |
Create a small truck model of a Tatra 813 KOLOS. The vehicle consists of a main chassis body and four independent wheels.
Construct the chassis as a composite of several joined geometric volumes. The front section is a cabin with a flat roof and recessed window areas. The rear section is a long, rectangular cargo bed ... | $fn = 60;
sklopeni = 0;
{
union()
{
color("grey") translate([-18,0,0]) kolo();
color("grey") translate([-6,0,0]) kolo();
color("grey") translate([10,0,0]) kolo();
color("grey") translate([20,0,0]) kolo();
color("green") translate([0,0,0]) drak();
}
union()
{
}
}
module drak()
{
dif... | glb/cad_e966382c8db7.glb |
Create a bed level checking smiley by starting with a solid cylinder 8mm in diameter and 2mm in height. Using a bold sans-serif font, carve a smiley face icon into the top of the cylinder that is 2mm deep, effectively cutting through the entire height of the object. The smiley face should be centered such that the resu... | $fn=36;
difference()
{
cylinder(d=8, h=2);
translate([-7,-3.5,0])linear_extrude(2) text("\u263A", font="Arial Black");
} | glb/cad_fcc38f45b656.glb |
Create a shopping trolley token by starting with a smooth cylinder 23.25mm in diameter and 2.2mm thick. Carve a decorative leaf-like emblem into the center of the top face by removing material. This emblem is formed by the intersection of two overlapping cylinders, each 30mm in diameter and 3mm thick, shifted 14mm apar... | thickness = 2.2;
difference(){
cylinder(thickness,d=23.25,$fn=200);
translate([0,-3,-.1])scale([1.1,1.1,1.1])leafs();
}
module leafs(){
rotate([0,0,-135])scale([0.4,0.4,1])leaf();
rotate([0,0,-90])scale([0.8,0.7,1])leaf();
rotate([0,0,-45])scale([1,0.95,1])leaf();
rotate([0,0,0])scale([1.2,1,1... | glb/cad_3b740a9c7d42.glb |
Create a battery mockup body by starting with a smooth cylinder that has a diameter of 14 mm and a height of 48.5 mm. Drill a vertical hole with a diameter of 2 mm through the entire length of the cylinder, positioned so that the edge of the hole is flush with the outer wall of the cylinder. To allow for wire access, c... | diameterAA = 14;
heightAA = 48.5;
wireHoleDiameter = 2;
diameter = diameterAA;
height = heightAA;
mockup();
module mockup() {
difference() {
cylinder(d = diameter, h = height, $fn=100);
translate([diameter / 2 - wireHoleDiameter, 0, 0]) cylinder(d = wireHoleDiameter, h = height, $fn=100);
... | glb/cad_8c810d965571.glb |
Create a toilet seat lifter handle consisting of a flat base and a raised grip. Start by creating a rectangular base plate measuring 28mm wide, 52mm long, and 4mm high, with all edges rounded to a radius of 2mm.
Centered on the rear edge of this base, construct a raised handle grip. This grip should be 60mm wide, 30m... | Handle_Size = 2;
module __Customizer_Limit__ () {}
production = 1;
pnghq = 0;
$resolution = (production && !$preview) ? 150 : (pnghq ? 150 : 25);
if (production && !$preview) {
echo("Producing PRODUCTION quality");
echo("Resolution",$resolution);
} else {
echo("Producing DRAFT quality");
echo("Resoluti... | glb/cad_569e5feaff47.glb |
Create a Fast Funnel by constructing two stacked geometric shapes. First, create a truncated cone with a height of 100mm, a base diameter of 100mm, and a top diameter of 10mm. Directly on top of this cone, centered on its top face, add a cylinder with a diameter of 10mm and a height of 20mm. | funnel_opening = 100;
neck_width = 10;
neck_length = 20;
$fn=$preview ? 30 : 120;
cylinder(d1=funnel_opening, d2=neck_width, h=100);
translate([0,0,100]) cylinder(d=neck_width, h=neck_length); | glb/cad_4534f0f4721e.glb |
Create a plant support wheel with a total height of 2mm. Start with a central hub consisting of a cylinder with a diameter of 7.4mm and a height of 2mm, featuring a concentric vertical hole through the center with a diameter of 5mm to accommodate a support stick. Surrounding this hub, create a flat circular ring with a... | pindiameter = 5.0;
armlength = 50.0;
armwidth = 1.6;
wheelheight = 2;
arms = 4;
eps = 0.01;
linear_extrude(height=wheelheight)
union() {
difference() {
circle(r=16, $fn=50);
circle(r=14, $fn=50);
}
for (a=[0:360/arms:360-eps]) rotate(a+24) {
translate([15, -armwidth/2]) square([armlength, arm... | glb/cad_ce5b5a3e7b3f.glb |
Create a Plant Support Wheel with a total height of 2mm. Start with a central ring that has an outer radius of 16mm and an inner radius of 14mm. At the very center of this ring, create a vertical hole with a diameter of 5.4mm to accommodate a support stick.
Extend four identical arms from the outer edge of the centra... | pindiameter = 5.4;
armlength = 35;
armwidth = 1.6;
wheelheight = 2;
eps = 0.01;
linear_extrude(height=wheelheight)
union() {
difference() {
circle(r=16, $fn=50);
circle(r=14, $fn=50);
}
for (a=[45-21:90:360-eps]) rotate(a) {
translate([15, -armwidth/2]) square([armlength, armwidth]);
transl... | glb/cad_bd153649fce6.glb |
Create a Remaining Filament Scale gauge. The main body is a flat plate with a thickness of 3mm. The overall shape is a circular sector (arc) defined by an inner radius of 50mm (the mounting hole) and an outer radius of 100mm (the spool edge). The gauge has an angular width of 60 degrees.
Cut a central rectangular slot... | $vpr=[90 - atan(sin(45)),0,45]*1;
$vpd = 600 + 12;
include <Recymbol/library.scad>
Object_type = 1;
Gauge_style = 1;
Gauge_width = 50;
Gauge_angle = 60;
Thickness = 3;
Slot_width = 5;
Precision = 180;
Center_blank_scales = false;
Mounting_hole_diameter = 50;
Hub_diameter = 100;
Maximum_filament_diameter = ... | glb/cad_19614d9847a1.glb |
Create a tilt stand for a DPS5005 case by constructing a wedge-shaped block with a height of 10mm. The base profile is a polygon with vertices at [0, 2], [2, 0], [10, 0], [12, 2], [73, 2], [75, 0], [83, 0], and [85, 2], extending upwards to a total height of 10mm. The top edge of the wedge follows a path from [85, 35.5... | $fn=42;
tilt=17; lift=15;
wx=85; wy=wx*tan(tilt); wz=10;
difference() {
linear_extrude(height=wz) polygon(points=[
[0, 2], [2, 0],
[10, 0], [12, 2], [wx-12, 2], [wx-10, 0],
[wx-2, 0], [wx, 2],
[wx, wy+lift-2], [wx-3, wy+lift],
[2, lift], [0, lift-2],
[0, lift]
]);
hull() {
translate... | glb/cad_baa02b6b84e8.glb |
Create an elevated stand for an Origami Dripper by constructing a central conical body and three supporting legs. Start with a truncated cone that has a bottom diameter of 32mm, a top diameter of 118mm, and a height of 71mm. Around the upper section of this cone, place a horizontal ring with an outer diameter of approx... | $fn = 100;
d_top = 118;
d_bot = 32;
r_top = d_top/2;
r_bot = d_bot/2;
height = 71;
offset = 25;
ring_height = 20;
leg_thick = 7;
leg_angle = -5;
ring_od = (2 * (tan(31) * (offset + 26.6 + ring_height)));
ring_id = (2 * (tan(31) * (offset + 26.6)));
ring_or = ring_od/2;
ring_ir = ring_id/2;
difference(){
union(){
t... | glb/cad_dfbf9c52ad47.glb |
Create a hinged button cover consisting of a flat rectangular base and a cylindrical hinge. Start by creating a rectangular plate with a total width of 24mm, a total depth of 24mm, and a thickness of 2mm. From this plate, remove a central rectangular section measuring 4mm by 4mm by 2mm to create a cutout.
At the rear... | opening_x = 16;
opening_y = 16;
web_width = 4;
web_thickness = 2;
hinge_width = 4;
hinge_depth = 4;
hinge_height = 2;
hole_dia = 2;
$fn = 50;
difference(){
union(){
translate([0, opening_y + hinge_width, hinge_depth/2])
rotate([90, 0, 0])
cylinder(opening_y, hinge_depth/2, hinge_depth/2, false);
differen... | glb/cad_f0ad135799e6.glb |
Create a hinged button cover consisting of a rectangular base frame and two hinge lugs. Start by creating a flat rectangular base plate measuring 24mm by 24mm with a thickness of 2mm. In the center of this plate, remove a square section measuring 16mm by 16mm to create a hollow opening with a 4mm wide border on all sid... | opening_x = 16;
opening_y = 16;
web_width = 4;
web_thickness = 2;
hinge_width = 4;
hinge_depth = 4;
hinge_height = 2;
hole_dia = 2;
$fn = 50;
difference(){
cube([opening_x + 2 * web_width, opening_y + 2 * web_width, web_thickness]);
translate([web_width, web_width, 0])
cube([opening_x, opening_y, web_thickness]... | glb/cad_4e248496ddad.glb |
Create a vise jaw pad by starting with a solid rectangular base measuring 42mm in width, 17mm in depth, and 5.4mm in height. From the center of the bottom face, remove a rectangular block measuring 42mm by 13mm with a thickness of 2.5mm, leaving a thin outer rim of 2mm around the edges. To create the V-shaped gripping ... | Jaw_pad_width=39;
Jaw_pad_height=13;
width=Jaw_pad_width;
height=Jaw_pad_height;
thin=2.9;
th=2.5;
tv=2;
tl=1.5;
sm=1.3;
cw=width+tl*2;
ct=thin+th;
ch=height+tv*2;
difference(){
translate([-1*cw/2,-1*ch/2,-1*th])
cube([cw,ch,ct]);
translate([-1*(width+tl*2)/2,-1*height/2,-1*th])
cube([width+tl*2,height,th]... | glb/cad_2d76792179f6.glb |
Create a gauge mount by starting with a rectangular block measuring 27mm in width, 20mm in depth, and 10mm in height. Remove a rectangular section from the right side, creating a cutout 8mm wide, 11mm deep, and 12mm high.
On the top surface, create two vertical holes. The first is a composite hole centered at x=5, y=... | m3=3.2;
module nut_slot(deep=5){
M3hex_r_out=6.29/2;
M3hex_r_in=5.45/2;
M3hex_IR=1.51;
M3hex_h=2.5;
union(){
cylinder(r=M3hex_r_out, h=M3hex_h, $fn=6);
translate([0,-M3hex_r_in,0])cube([deep+0.1,M3hex_r_in*2,M3hex_h]);
}
}
difference(){
cube([27,20,10]);
translate([20,-1,-1])
cube([8,11,12]);
... | glb/cad_0d25b161b83a.glb |
Create a beads tray by constructing a hollowed-out triangular prism. Start by creating a solid 3-sided prism with a height of 20mm, where the bottom face is a regular triangle with a radius of 50mm and the top face is a regular triangle with a radius of 60mm. From this main volume, remove a smaller concentric 3-sided p... | Outer_circle_size=60;
Base_thikness=5;
Wall_height=15;
module prizm3 () {
cylinder(h=Wall_height+Base_thikness, r1=Outer_circle_size-10, r2=Outer_circle_size, $fn=3);
}
difference () {
prizm3();
translate([0,0,Base_thikness])
scale ([0.9,0.9,0.9])
prizm3();
} | glb/cad_0e95778a15b8.glb |
Create a screen door latch spacer as a rectangular plate with dimensions 23mm wide by 67mm long and 2mm thick. Round all four corners of the plate with a radius of 6mm.
Pierce two circular holes completely through the thickness of the plate. Each hole must have a diameter of 6mm. Position the first hole centered hori... | thickness=2;
module __Customizer_Limit__ () {}
production = 1;
pnghq = 0;
$resolution = (production && !$preview) ? 150 : (pnghq ? 150 : 25);
if (production && !$preview) {
echo("Producing PRODUCTION quality");
echo("Resolution",$resolution);
} else {
echo("Producing DRAFT quality");
echo("Resolution",... | glb/cad_ab7e75bab125.glb |
Create a parametric toothbrush holder consisting of a hollow rectangular sleeve with internal supports.
First, construct the outer shell as a rectangular tube with a width of 37mm, a depth of 46mm, and a height of 40mm. The walls should have a thickness of 1mm, and all exterior vertical edges must be rounded with a r... | $fn=128;
larghezza =37;
profondita =46;
altezza =40;
spigolo =1;
diametro =29.5;
spessore = 1;
lar_sup = 15;
alt_sup =40;
spostamento =0;
extra = 1;
module quadrato()
translate([0,0,spostamento])
{
difference()
{
minkowski()
{
echo("larghezza",larghezza);
echo("profond... | glb/cad_08b02faa20c6.glb |
Create a parametric toothbrush holder consisting of an outer rectangular shell and internal supports.
First, construct the outer shell as a hollow rectangular box with a width of 37mm, a depth of 46mm, and a height of 40mm. The walls should have a thickness of 1mm, and the exterior vertical edges must be rounded with... | $fn=128;
larghezza =37;
profondita =46;
altezza =40;
spigolo =1;
diametro_1 =34;
diametro_2 =29;
spessore = 1;
lar_sup = 15;
alt_sup =40;
spostamento =0;
print_ext = true;
print_int = true;
extra1 = 1;
extra2 = extra1*2;
module quadrato()
translate([0,0,spostamento])
{
differ... | glb/cad_efb72444e881.glb |
Create a pencil tray designed to hold round pencils of 8mm diameter and 190mm length. The main body is a hollow rectangular sleeve with a total height of 120mm (calculated as 15 pencils multiplied by 8mm).
The walls of the tray are 2mm thick. The base of the tray is open to allow pencils to be inserted. The side wall... | $fn=200;
pencil = [190, 8, 8];
wallThickness = 2;
traySize=pencil[2]*15;
delta=0.1;
translate([pencil[0]-wallThickness*8, 0, 0]) %stand();
translate([wallThickness*2, 0, 0]) %stand();
union() {
difference() {
union() {
translate([0, 0, -traySize]) linear_extrude(height = traySize, center = fa... | glb/cad_c830fcb4a0ee.glb |
Create three separate flow limiter discs. Each disc is composed of two stacked cylinders: a base cylinder with a height of 1mm and a radius of 9.25mm, and a second cylinder sitting directly on top with a height of 1mm and a radius of 5.5mm. From the center of each combined stack, remove a vertical cylindrical hole that... | $fn = 360;
r5 = 1.565;
r7 = 1.875;
r11 = 3.375;
translate ([40,0,0])
difference (){
union(){
cylinder(h=1, r1=18.5/2, r2=18.5/2, center=false);
translate([0,0,1])cylinder(h=1, r1=11/2, r2=9/2, center=false);
}
cylinder(h=3.01, r1=r5, r2=r5, center=false);
}
translate ([20,0,0])
differenc... | glb/cad_82c8a0305aef.glb |
Create a Springy Spool Hub with a central bore of 8.3mm and an overall maximum diameter of 58mm. The hub features a central ring with a height of 1mm above the vanes.
Construct six equidistant radial vanes, each 7mm high and 1.6mm wide (based on a 0.4mm extrusion width multiplied by 4). Each vane should extend from t... | maxDia = 58;
centerBoreDia = 8.3;
centerExtrusion = 1;
vaneCount = 6;
vaneWidth = 4;
vaneHeight = 7;
maxVaneAngle = 115;
filletRadiusScale = 1.4;
rimWidth = 4;
rimHeight = 4;
rimAngularWidth = 50;
addSeat = "no";
seatWidth = 2;
seatHeight = 4;
extrusionWidth = 0.4;
layerHeight = 0.2;
resolution = 55;
... | glb/cad_f94ea13e10d2.glb |
Create a toy cup by constructing a tapered cylinder with a height of 12mm. The top of the cup should be a flat circle with a diameter of 12mm, while the base should be a smaller flat circle with a diameter of 9mm. Ensure the walls are smooth by using a facet resolution of 64 sides. The final shape should be a solid tru... | $fn=64;
height=12;
dia2=12;
dia1=dia2*.75;
cylinder(d1=dia1,d2=dia2,h=height,center=true); | glb/cad_bc947698888f.glb |
Create a Longitudinal Fidget Ring consisting of a threaded outer ring and a movable sliding nut.
First, construct the main ring body. Create a cylinder with a height of 15mm and an outer diameter of 25.5mm. Hollow out the center to create a ring with an inner diameter of 20.5mm. To create the internal thread, subtrac... | use <knurledFinishLib_v2.scad>
$fn=96;
dia_finger=20.5;
ring_h=15;
inner_w=2.5;
ridge_w_inner=.4;
ridge_w_outer=0;
nut_ridge=-.2+1;
gap_w=.7;
moveable_h=ring_h/2;
outerdia=dia_finger+inner_w+1;
outer_wall=2.5*0+1.5*0+3+2;
knurl_dp=1;
ridge_w=ridge_w_outer;
fn=96;
fnstep=4;
d=outerdia;
sp = d/3... | glb/cad_bcf97c1d4456.glb |
Create a Dometic RML9330 Fridge Door Lock internal connector with a total length of 48mm. Start with a central cylinder of 5mm radius (10mm diameter) and a height of 48mm. Around the base of this cylinder, add a larger concentric ring with an outer radius of 8.5mm and a thickness of 2.5mm, positioned so its bottom edge... | lenght=48;
r_out=17/2;
w_out=2.5;
d_out=14.5;
r_in=10/2;
plat_w=4;
plat_l=13.5;
bout_r=3.9/2;
bout_l=10.4;
bout_bas_r=3/2;
ouverture_bas_w=5;
ouverture_bas_l=6.5;
layout();
bout();
bout_bas();
module layout() {
difference() {
union() {
cylinder(r=r_in, h=lenght, center=true);
translate([0, 0, -... | glb/cad_21bb189d6017.glb |
Create a Dometic RML9330 Fridge Door Lock internal connector. Start with a base cylinder 19.6mm in diameter and 8mm high, centered on the Z-axis. On top of this base, add a second cylinder with a diameter of 14.9mm and a height of 5.2mm.
Hollow out the center of the entire assembly by removing a cylinder 11mm in diam... | diam_ext=19.6;
diam_in=14.9;
diam_in_cut=11;
l_total=13.2;
l_bas=8;
l_haut=l_total-l_bas;
bout_l=13;
bout_bas_r=4;
pico_l=2.5;
difference() {
union() {
cylinder(r=diam_ext/2, h=l_bas, center=true);
translate([0, 0, (l_haut+l_bas)/2]) {
cylinder(r=diam_in/2, h=l_haut, center=true);
}
picots(... | glb/cad_fefd46228864.glb |
Create an electrical hose tube connector consisting of three stacked coaxial sections. Start with a base hollow cylinder 20mm high with an outer diameter of 44mm and an inner diameter of 40mm. Directly on top of this base, add a conical transition section 15mm high that tapers from an outer diameter of 44mm down to 29m... | diam1=40;
diam2=25;
length=20;
length_r=15;
width=2;
difference() {
cylinder(r=diam1/2 +width, h=length, center=false);
translate([0, 0, -0.1])
cylinder(r=diam1/2, h=length+0.2, center=false);
}
color("red")
translate([0, 0, length]) {
difference() {
cylinder(r1=diam1/2 +width, r2=diam2/2 +width, h=len... | glb/cad_207ece0dfa1c.glb |
Create a garland bulb replacement consisting of a thin circular base and a hollow spherical top. Start by creating a flat ring for the base with an outer diameter of 37mm, an inner diameter of 33mm, and a height of 2mm. Centered atop this base, construct a hollow sphere with an outer diameter of 50mm and a wall thickne... | $fn=50;
base_diam=37;
base_diam_inner=33;
base_height=2;
bulb_diam=50;
shape();
module shape() {
difference() {
cylinder(r=base_diam/2, h=base_height, center=true);
cylinder(r=base_diam_inner/2, h=base_height+2, center=true);
}
difference() {
translate([0, 0, 18])
sphere(r=bulb_diam/2);
... | glb/cad_88c240a2e0f1.glb |
Create a rope protector by starting with a sphere 55mm in diameter. Carve out the center of the sphere using three large rectangular blocks to create a wide, open gap. Position the first block centered on the Y-axis with a width of 50mm and a height and depth of 65mm to slice through the middle. Position the second blo... | use <MCAD/regular_shapes.scad>
$fn=50;
diam=55;
indiam=5;
width=diam-5;
shape();
module shape() {
difference() {
sphere(d=diam);
translate([0, -width, 0])
cube(size=[diam+10, width+10, diam+10], center=true);
translate([0, width, 0])
cube(size=[diam+10, width+10, diam+10], center=true);
... | glb/cad_cc0d06dbd46c.glb |
Create a Kossel carriage for a 3D printer. Start with a main rectangular body measuring 27mm wide, 40mm long, and 6mm thick. At each end of the length, add a ball joint mount horn that is 40mm wide, 18mm long, and 13mm thick. These horns should taper from a radius of 14mm down to 2.5mm over a length of 11mm.
To accomm... | include <configuration.scad>;
belt_width_clamp = 6;
belt_thickness = 1.0 - 0.05;
belt_pitch = 2.0;
tooth_radius = 0.8;
separation = 40;
thickness = 6;
horn_thickness = 13;
horn_x = 8;
belt_width = 5;
belt_x = 5.6;
belt_z = 7;
corner_radius = 3.5;
m3_nut_radius = 3.0;
m3_wide_radius = 1.5;
m3_head_radius = 5.5/2;
... | glb/cad_69c7f65a6e38.glb |
Create a lightweight spool adapter by constructing a series of concentric cylinders. Start with a base cylinder 1mm high with a radius of 37.5mm. Add a second cylinder on top of this base that is 10mm high with a radius of 36.5mm. From the center of this assembly, remove a cylindrical core with a radius of 35mm and a h... | union() {
difference() {
union() {
cylinder(h=1, r=37.5, $fn=64);
cylinder(h=10, r=36.5, $fn=64);
}
difference() {
color("purple")
cylinder(h=22, r=35, center=true, $fn=64);
color("green")
cylinder(h=23, r=27, center=true, $fn=64);
}
color("yellow")
cylin... | glb/cad_f1257ed8ee01.glb |
Create a Door cache by starting with a solid rectangular block measuring 24mm wide, 29mm deep, and 60mm high. Carve out several rectangular voids to create a hollowed-out shell and internal channels. Remove a central vertical section 12mm wide and 40mm deep starting from a height of 17mm. Create two deep vertical slots... | difference() {
cube([24, 29, 60]);
translate([-5, 16.5, -5])
cube([10, 20, 70]);
translate([19, 16.5, -5])
cube([10, 20, 70]);
translate([6, -5, 17])
cube([12, 40, 70]);
translate([-5, -1, -5])
cube([10, 14, 70]);
translate([19, -1, -5])
cube([10, 14, 70]);
translate([6, -1, -0.5... | glb/cad_1616664b5481.glb |
Create a resin dripping agent holder by starting with a central block measuring 40mm x 30mm x 20mm. Attach a second rectangular block to this center, measuring 29.4mm x 35mm x 9.4mm, positioned at [0, -5, -30] and rotated 15 degrees around the Z-axis and -20 degrees around the X-axis. Integrate a third element formed b... | $fn = 60;
translate([0,0,0]) color("red",1) holder();
module holder()
{
difference()
{
union()
{
translate([0,0,0]) cube([40,30,20],center=true);
translate([0,-5,-30]) rotate([-20,15,0]) cube([29.4,35,9.4], center=true);
hull()
{
translate([0,12,0]) cube([40,6,20],center=tr... | glb/cad_87dec1c1e37b.glb |
Create a Matryoshka doll consisting of a separate bottom and top half.
For the bottom half, create a rounded base shape by blending a cylinder with a diameter of 17mm at the bottom and a cylinder with a diameter of 23mm at a height of 11mm, using a 5mm rounding radius. Hollow this part with a wall thickness of 2.5mm.... | $fn=100;
module bottom(d1,d2,h,m,lip_w,lip_h,wall,tolerance)
{
difference()
{
minkowski()
{
hull()
{
cylinder(d=d1-2*m, h = 0.1);
translate([0,0,h]) cylinder(d=d2-2*m,h=lip_h);
}
sphere(r=m);
}
tra... | glb/cad_69a8aba9f3c9.glb |
Create a Banjo Hanger by starting with a solid rectangular block measuring 52mm wide, 100mm deep, and 75mm high. Carve out a central vertical channel that is 36mm wide and 75mm high, leaving 8mm thick walls on either side. The bottom of this channel should be open, but the front face of the block must be sliced at a 30... | $fn = 50;
inside_width = 36;
wall = 8;
outside_width = (inside_width + 2 * wall);
height = 75;
depth = 100;
cutaway_angle = 30;
radius = 20;
inset = depth/3;
hole_diameter = 5;
hole1_height = 20;
hole2_height = 55;
fillet = 4;
difference(){
union(){
union(){
difference(){
difference(){
... | glb/cad_65944037019e.glb |
Create a Customizable Center Finder tool by starting with a central rectangular plate measuring 40mm in length, 10mm in width, and 4mm in thickness. At each of the two narrow ends of this plate, add a cylinder with a radius of 5mm and a height of 12mm, centered vertically and horizontally so that the cylinders extend b... | $fn = 50;
l = 40;
t = 4;
w = 10;
h = 12;
hole = 3;
difference(){
union(){
cube([l, w, t], center = true);
translate([l/2, 0, (h/2)-(t/2)])
cylinder(h = h, r = w/2, center = true);
translate([-l/2, 0, (h/2)-(t/2)])
cylinder(h = h, r = w/2, center = true);
}
cylinder(... | glb/cad_3af6814bd0a6.glb |
Create a window hook consisting of a vertical handle and a curved hook head. Start by creating a central vertical cylinder with a radius of 20mm and a total height of 100mm. Add a slightly wider decorative collar at both the very top and very bottom of this cylinder, each with a height of 20mm and a radius of 25mm. At ... | hand_hight = 100;
hand_radius = 20;
window_radius = 10;
module myhook(){
translate([eps, 60, 0])
rotate_extrude(angle=270, convexity=10)
translate([40, 0]) circle(window_radius);
rotate_extrude(angle=90, convexity=10)
translate([20, 0]) circle(window_radius);
translate([20, eps, 0])
rotate([90, 0,... | glb/cad_ade1e2148cd0.glb |
Create a hex spacer by constructing a hexagonal prism with a flat-to-flat width of 30mm and a total length of 90mm. Centered along the longitudinal axis of the prism, remove a cylindrical hole with a diameter of 16.5mm that passes completely through the length of the object. Ensure the hexagonal profile is regular and ... | module example001()
{
function r_from_dia(d) = d / 2;
module rotcy(rot, r, h) {
rotate(90, rot)
cylinder(r = r, h = h, center = true);
}
module hexagon(size, height) {
boxWidth = size/1.75;
for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true);
}
rotate(90,[1,0,0]) {
differenc... | glb/cad_a04a8008a8f5.glb |
Create an S-hook consisting of two connected open rings of different sizes. The entire object has a uniform thickness of 4mm and a height of 4mm.
First, create a large ring with an outer diameter of 24mm and a thickness of 4mm. This ring should be an open arc, leaving a gap of 11mm in the circumference.
Second, creat... | width = 4;
height = 4;
d1 = 24;
gap1 = 11;
d2 = 16;
gap2 = 8;
$fs = 0.4;
$fa = 5;
s_hook();
module s_hook()
{
r = [d1/2, d2/2];
gap = [gap1, gap2];
c = d1/2 + d2/2 + width;
for(i = [0:1])
Rz(i * 180)
Tx(-r[i] - width/2)
{
a = r[i] + width / 2;
b = width / 2 + gap[i] + width... | glb/cad_2b762addabec.glb |
Create a GoPro bicycle helmet mount consisting of a flat base and a mounting tower. Start with a base plate that is 35mm wide and roughly 27mm long, with a thickness of 3mm. In the center of this base, create two rectangular slots for zip ties, each 4mm wide and 2mm high, positioned symmetrically to allow the base to b... | Y=35;
X1=27;
X2=24;
module gopro_triple(h,y)
{
translate([0,y,h])
difference()
{
union()
{
rotate([0,90,0])
{
cylinder(d=15,h=15,center=true);
translate([0,0,7.5])
cylinder(d1=15,d2=12,h=2);
transla... | glb/cad_71163893d1a2.glb |
Create a vertical camera case cage with external dimensions of 27.5mm width, 47.5mm depth, and 72.5mm height. The main body should be a hollow rectangular shell with rounded corners of 4mm. Set the wall thickness to 1.5mm, but increase the thickness of the bottom wall to 5mm for added rigidity.
On the front face, crea... | x=27.5;
y=47.5;
z=72.5;
r=4.0;
wall=1.5;
botwall=5.0;
mountx=-8;
mountz=x/2;
mountslit=17-17+y/2;
module insta360()
{
union()
{
color("gray")
translate([r,r,r])
minkowski()
{
cube([x-r*2,y-r*2,z-r*2]);
scale([1,1,1])
sphere(r=r+0.05,$fn=24);
}
color("green")
... | glb/cad_3af8a10bc43c.glb |
Create a base by forming a hull between two cylinders, each with a radius of 32mm and a height of 19mm, positioned 114mm apart along the x-axis. Remove a cylindrical hole with a diameter of 22mm and a height of 19.2mm from the center of each end cylinder. On top of this base, centered at x=57mm and y=0mm, place a cube ... | $fn = 120;
zT = 0.2;
zO = 0.1;
module triangle_prism(PointA, PointB, h)
{
linear_extrude(height = h){
polygon(points = [[0, 0], [PointA, 0], [0, PointB]]);
}
}
module Hole()
{
cylinder(d = 22, h = 19+zT);
}
module Base()
{
difference(){
hull(){
cylinder(r = 32, h = 19);
tr... | glb/cad_1ea8ba473c8d.glb |
Create a Ring Clip designed as a flexible spring clamp. The object is a flat, extruded geometric shape with a height of 5mm.
The main body is based on two concentric circular profiles. The inner profile is a circle with a diameter of 8mm, and the outer profile is a circle with a diameter of 27mm. The wall thickness b... | rodDiameter = 8;
springDiameter = 27;
springWidth = 8;
springHeight = 5;
rimHeight = 2;
frontOpeningAngle = 60;
backOpeningAngle = 50;
pretension = 30;
filletRadius=3;
yOffset = 22;
extrusionWidth = 0.4;
layerHeight = 0.2;
resolution = 55;
_springWidth = extrusionWidth * springWidth;
_yOffset = rodDiameter... | glb/cad_7cb55d0ce81c.glb |
Create a Can Lid by constructing a large cylinder with a diameter of 78mm and a total height of 5mm. From this main body, remove a smaller concentric cylinder to create a hollow lip. This inner cutout should have a diameter of 75.5mm and a height of 4mm, positioned 1mm above the base of the main cylinder. The resulting... | can_diameter = 75.5;
lid_height = 1;
lip_width = 2.5;
lip_height = 5;
difference () {
cylinder(
h = lip_height,
d = can_diameter + lip_width
);
translate([
0, 0, lid_height
])
cylinder(
h = lip_height - lid_height,
d = can_diameter
);... | glb/cad_fad69959bb00.glb |
Create a tool holder with a total height of 40mm and a back wall 2mm thick. The main body is a rounded block formed by the convex hull of several cylinders and a rectangular back section.
Create four large vertical holes for glue sticks: two holes with a diameter of 32mm and two holes with a diameter of 26mm. Position... | holder_height = 40;
difference() {
union() {
hull() {
translate([38/2-2,0,0])
cylinder(d=38,h=40);
translate([38*1.5,0,0])
cylinder(d=38,h=40);
translate([38/2,-38/2-26/2,0])
cylinder(d=30,h=40);
translate([38/2+26+4,-38/2-26/2,0])
cylinder(d=30,h=40);
... | glb/cad_208892ddc327.glb |
Create an Integral Mesh Vent Cover consisting of a circular rim and a series of radial snap-fit tabs. Start by creating a thin, flat outer ring with a diameter of 58.5mm and a thickness of 2mm. This ring should have a hollow center with a diameter of 50.5mm, creating a rim width of 4mm.
Attached to the inner edge of t... | vent_diameter = 52.5;
vent_clearance = 0;
wall_thickness = 2.5;
snap_thickness = 1;
snap_overhang = 1;
snap_height = 1.5;
snap_width_fraction = 1/17;
snap_count = 16;
rim_width = 4;
rim_thickness = 2;
normalize_angle = function(angle) ((angle % 360) + 360) % 360;
module sector(radius, start_angle, end_angle,... | glb/cad_b988e1190e3f.glb |
Create a sprinkler timer support bracket by starting with a hollow cylinder that has an outer diameter of 75.5mm, an inner diameter of 70.5mm, and a height of 15mm. On one side of this ring, add a rectangular extension that is 18mm long and 8mm wide, blending seamlessly into the ring's 2.5mm wall thickness. Centered wi... | inch=25.4;
belt_h=15;
belt_w =2.5;
screw_dia=5.5;
offset_height=55;
offset_length = 18;
body_dia = 70.5;
$fn=99;
difference(){
union(){
difference(){
cylinder(d=body_dia+belt_w*2,h=belt_h);
translate([0,0,-1])cylinder(d=body_dia,h=belt_h+2);
}
translate([35.5,-4,0])cube([offset_length,8,bel... | glb/cad_2f6227461cec.glb |
Create a storage box for spinning tops consisting of four small square compartments and two larger rectangular compartments. The overall wall height for all sections is 30mm, with a base thickness of 1mm and wall thickness of 1.5mm.
Construct four small square compartments, each with an outer dimension of 77mm x 77mm.... | cornerrad=5;
smallboxsq=74;
largeboxwide=30;
boxside=30;
boxthick=1.5;
boxbasethick=1;
propbase=6;
prophigh=15;
epsilon=0.01;
blend=boxthick/2;
smallboxoutside = (smallboxsq+boxthick*2);
shift = smallboxoutside-boxthick;
largeboxoutside = 2*smallboxoutside-boxthick;
largeboxinside = largeboxoutside - (2*boxthick);
pro... | glb/cad_6382c1fefb5b.glb |
Create a bike shifting adapter by starting with a main outer cylinder 70mm in diameter and 30mm high, centered on the origin. Remove a central vertical cylinder with a diameter of 34mm that spans the full height of the object. Inside the main body, remove a second cylinder with a diameter of 52mm and a height of 50mm, ... | $fn=100;
diametreHexagone = 57.8;
diametreManchon =70 ;
diametreGuidon = 2*17 ;
rayonVingtSix = 2*27 ;
espaceMilieu = 0 ;
difference (){
cylinder( h=30 , d= diametreManchon , center = true);
translate ([0,0,-(25+espaceMilieu) ] )cylinder( h=50 , d= rayonVingtSix ,center = true);
douzeDents();
hull... | glb/cad_0b88d8972bb9.glb |
Create a parametric filament guide consisting of a cylindrical bearing holder with a hexagonal base. Start by creating a hexagonal prism with a radius of 7.9mm and a height of 9mm, centered on the Z-axis. Above this base, construct a main cylindrical body with an outer diameter of 30.2mm and a total height of 12mm.
I... | height_z_axis_top = 5;
height_insert_extra = 4;
height_insert = height_z_axis_top + height_insert_extra;
bearing_in_dia = 10;
bearing_out_dia = 26;
bearing_thickness = 8;
bearing_wall_thickness = 4;
bearing_holder_dia = bearing_out_dia + bearing_wall_thickness;
clearance = 0.1;
assert (bearing_holder_dia > beari... | glb/cad_c5eea5a4dca0.glb |
Create a parametric filament guide consisting of two mirrored halves that house a bearing.
First, construct the horizontal bearing holder. Create a base using a 60-degree arc segment with a wall thickness of 5mm. The arc's outer diameter is approximately 1.545 times the base diameter, and the inner diameter is 0.546 ... | include <Chamfers-for-OpenSCAD/Chamfer.scad>;
bearing_in_dia = 10;
bearing_out_dia = 26;
bearing_thickness = 8;
wall_thickness = 5;
arc_tangent_degree = 60;
bearing_out_offset = 4;
base_out_dia = bearing_out_dia - bearing_out_offset;
clearance = 0.1;
clearance_bearing = 0.8;
clearance_bottom_bearing = 0.2;
o... | glb/cad_36dff6ce2a2a.glb |
Create a set of parametric paper fasteners consisting of a pin and a matching cap.
For the pin, start with a hexagonal head that has a diameter of 10mm across the flats and a height of 2mm. Attached to the center of this head, create a cylindrical shaft with a diameter of 6mm and a total height of 4mm (which includes... | output = "set";
shape = "hex";
gap = 2;
head_height = 2;
head_size = 10;
pin_diameter = 6;
clearance = 0.02;
lock = 0.3;
lock_height = 1.4;
$fs = 0.5;
if(output == "pin")
pin();
else if(output == "cap")
cap();
else if(output == "set")
{
cap();
Tx(head_size * 2)
pin();
}
module head()
{
LiEx(head_he... | glb/cad_9f041d21af02.glb |
Create a modular object riser consisting of "feet" and "bridges."
First, design a hook component: create a small block with a thickness of 5mm. The block should have a rounded outer profile with a radius of 2mm. Carve a semi-cylindrical channel through the center of the block with a diameter of 5.2mm, leaving a 5mm w... | clearance=0.20;
shim=0.005;
$fn=30;
bridgeThickness=5;
rise=60;
footX=30;
footY=footX;
hookRad=2;
module hook(subtract=false){
thickness=bridgeThickness + (subtract ? 2*clearance : clearance);
side=2*(bridgeThickness-hookRad + (subtract ? clearance :0));
translate([hookRad,hookRad,0])
di... | glb/cad_a0533f8d1e18.glb |
Create a Parametric Card Deck Tray consisting of four interlocking components, all with a uniform thickness of 3mm.
First, create the bottom piece. Start with a rectangular base 68mm wide and 70mm deep. Center a circular cutout with a 36mm diameter in the middle. Add two rectangular tabs extending from the sides, each... | PART_TO_MAKE = 3;
TRAY_HEIGHT = 50;
TRAY_WIDTH = 68;
TRAY_DEPTH = 70;
PARTS_THICKNESS = 3;
TAB_EXCESS_WIDTH = 3;
SIDE_SLOT_TOLERANCE = 0.1;
BACK_SLOT_TOLERANCE = 0.2;
BACK_CUT_DIAMETER = 26;
BOTTOM_CUT_DIAMETER = 36;
SIDE_OFFSET = 4;
BOTTOM_ANGLE = 5;
BACK_TOP_HEIGHT = 20;
BACK_BOTTOM_HEIGHT = 20;
BACK_LO... | glb/cad_7e1b5ae953c5.glb |
Create a Leftover Container Tag consisting of three joined rectangular sections. The main body is a rectangular plate 60mm wide, 15mm high, and 1.6mm thick. Centered on the top edge of this plate, add a vertical stem that is 3.6mm wide and 2.2mm high, maintaining the 1.6mm thickness. Atop this stem, center a horizontal... | TagHeight=15;
TagWidth=60;
Thickness=1.6;
StemHeight=2.2;
StemWidth=3.6;
TopWidth=10;
TopHeight=2;
FontName = "Verdana";
FontSize=7;
LabelHeight=.6;
Label="Bean Soup";
LabelColor=("red");
TagType="Raised";
module __Customizer_Limit__ () {}
surface=Thickness;
if (TagType=="Raised"){
MakeRaised();}
if (T... | glb/cad_72b95a90b00c.glb |
Create a Trumpet Straight Mute by constructing a hollow, tapered cone. The outer shell should have a total height of 184mm. Start with a base circular diameter of 62mm that tapers linearly to a top circular diameter of 18mm over a height of 180mm. To create the hollow interior, remove a concentric tapered cone from the... | straight_height = 180;
straight_d1 = 62;
straight_d2 = 18;
end_height = 4;
wall_thickness = 2;
cylinder($fn = 100, $fa = 12, $fs = 2, h = end_height, d1 = straight_d1, d2 = straight_d1-1, center = false);
difference()
{
cylinder($fn = 100, $fa = 12, $fs = 2, h = straight_height, d1 = straight_d1, d2 = straight_d2, ce... | glb/cad_1ec3fec000ae.glb |
Create a parametric storage can with a total height composed of four stacked sections. Start with a base cylinder that has a bottom diameter of 73mm and tapers upward over a height of 4mm to a diameter of 76mm. Above this, add a main cylindrical body with a constant diameter of 76mm and a height of 50mm. On top of the ... | topDiameter = 77.13;
topHeight = 2.5;
topEdgeRadius = .5;
neckHeight = 5;
canDiameter = 74.7;
baseDiameter = 73;
canHeight = 102.3;
baseHeight = 4;
canEdgeRadius = 5;
$fn=100;
pringlesCan = true;
shortCan = true;
tallCan = true;
standardCan = true;
customizerCan = true;
module can( $fn = $fn,... | glb/cad_c191d0ec60c6.glb |
Create a parametric dovetail organizer consisting of interlocking boxes, bins, and drawers. For a standard box, start with a reference cube of 40mm x 50mm x 70mm. Add dovetail joints to two opposite sides and subtract dovetail joints from the other two sides to allow the units to slide together.
To create a drawer th... | use <vector.scad>
use <attach.scad>
function Rot_axis_ang(p,k,teta) =
p*cos(teta) + cross(k,p*sin(teta)) + k*dot(k,p)*(1-cos(teta));
function Tovector(vfrom, vto, v) =
Rot_axis_ang(v, unitv(cross(vfrom,vto)), anglev(vfrom,vto));
function ev(v,c=0) = [v[0], v[1], v[2], c];
function det(a,b,c) =
a[0]*(b[1]*c[... | glb/cad_ebf10e934c8e.glb |
Create a parametric dovetail organizer consisting of interlocking boxes, bins, and drawers. The base geometry is a reference cube with dimensions of 40mm x 50mm x 70mm.
To create a box, add dovetail joints to two opposite sides and subtract dovetail joints from the other two sides. For a drawer, create a smaller vers... | function mod(v) = (sqrt(v[0]*v[0]+v[1]*v[1]+v[2]*v[2]));
function cross(u,v) = [
u[1]*v[2] - v[1]*u[2],
-(u[0]*v[2] - v[0]*u[2]) ,
u[0]*v[1] - v[0]*u[1]];
function dot(u,v) = u[0]*v[0]+u[1]*v[1]+u[2]*v[2];
function unitv(v) = v/mod(v);
function anglev(u,v) = acos( dot(u,v) / (mod(u)*mod(v)) );
module point(p... | glb/cad_4a6b12353086.glb |
Create a beveled cube with a total size of 20mm x 20mm x 10mm. The cube should have a corner radius of 4mm applied to its vertical edges, creating rounded corners. To achieve this, start with an internal rectangular core of 12mm x 12mm x 10mm and use a Minkowski operation with a cylinder of radius 4mm and height 10mm t... | module bcube(size,cr=0,cres=0)
{
bsize = size - 2*[cr,cr,0];
x = bsize[0]/2;
y = bsize[1]/2;
if (cr==0)
cube(bsize,center=true);
else {
scale([1,1,0.5])
translate([-x, -y,0])
minkowski() {
cube(bsize,center=true);
translate([x,y, 0])
cylinder(r=cr, h=bsi... | glb/cad_994e1950cd45.glb |
Create a parametric dovetail organizer consisting of interlocking boxes, bins, or drawers. The base geometry is a reference cube with dimensions of 40mm x 50mm x 70mm.
On the X and Y axes, add protruding dovetail joints to two sides and subtract matching dovetail slots from the opposite two sides to allow the units t... | use <vector.scad>
module connector(c)
{
p = c[0];
v = c[1];
ang = c[2];
color("Gray") point(p);
translate(p)
rotate(a=ang, v=v)
color("Gray") vector(unitv(v)*6, l_arrow=2, mark=true);
}
module attach(a,b)
{
pos1 = a[0];
v = a[1];
roll = a[2];
pos2 = b[0];
vref = b[1];
raxis = cr... | glb/cad_47cee7f8e0ee.glb |
Create a parametric dovetail organizer box with dimensions of 50mm (X) by 40mm (Y) by 70mm (Z). The main body is a rectangular prism with dovetail joints integrated into the X and Y axes to allow for interlocking.
On the X-axis sides, add two protruding dovetail pins with a wide end of 12mm, a height of 2.5mm, and a s... | use <obiscad/bevel.scad>
use <obiscad/attach.scad>
function isOdd(x) = (x % 2) == 1;
model = "box";
X=50;
Y=40;
Z=70;
radius = 0;
binOpeningHeight = 25;
binbaseCut = 15;
bevelGranularity = 0;
bevelCorrectOpeningY = 14.8;
bevelCorrectOpeningZ = -4.5;
bevelCorrectBaseY = 0.1;
bevelCorrectBaseZ = -4.4;
showC... | glb/cad_7fd6afeeea58.glb |
Create a parametric coin holder with a total height of 20mm. The model consists of several cylindrical slots, each featuring a 1mm wall thickness and a 30-facet resolution. Each slot is created by taking a cylinder with a diameter 3% larger than the coin it holds and removing a central cylindrical core based on the coi... | $fn=30;
secondQuarterHolderEnabled = false;
DollarHolderEnabled = true;
height = 20;
wallThickness = 1;
oversizePercent = 1.03;
DollarX = 0;
DollarY = 0;
DollarR = 313;
Quarter1X = 271;
Quarter1Y = 0;
Quarter1R = 313;
Quarter2X = 0;
Quarter2Y = 0;
Quarter2R = 0;
DimeX = 931;
DimeY = 0;
DimeR = 313;
NickelX = ... | glb/cad_3c63100a3d8a.glb |
Create a rounded triangle plate. Start with a primary triangle defined by an internal angle of 60 degrees at corner C, and two adjacent sides (a and b) both measuring 20mm.
At each of the three corners, create a rounding fillet using circular arcs. The radius for the fillet at corner A is 2mm, the radius at corner B ... | use<Triangle_Calculator_Function_03.scad>
Angle_C = 60;
Side_a = 20;
Side_b = 20;
Radius_A = 2;
Radius_B = 2;
Radius_C = 2;
Show_Original_Triangle = true;
Show_Rounded_Triangle = true;
Show_Construction_Triangles = false;
Show_Circles = true;
Show_Circle_Crop ... | glb/cad_9cf4e960ebcf.glb |
Create a jointed robotic arm mechanism consisting of a base and two connected arm segments.
Start by creating a base assembly at the origin. The base consists of a cylinder with a radius of 15mm and a height of 4mm, topped with a spherical joint of radius 6.5mm and a vertical cylinder of radius 6.5mm and height 13mm.... | use<Triangle_Calculator_Function_03.scad>
X_Position_of_Target = 130;
Y_Position_of_Target = 60;
Extend_Arm = 0;
Show_Target_Triangle = true;
Show_Reach_Triangle = true;
Show_Reach_Radius = true;
Show_Arm_Triangle = true;
module blank(){}
eArm = Extend_Arm;
tx = X_Position_of_T... | glb/cad_9e4feb452568.glb |
Create a parametric strainer sifter by constructing a hollow cylinder with an outer diameter of 35mm and a total height of 12mm. The cylinder should have a wall thickness of 2.5mm and a flat base with a thickness of 2mm. To create the sifting surface, pierce the base with a grid of square holes, each measuring 2mm by 2... | $fn=100;
objectDiameter = 35;
objectHeight = 12;
bottomThickness = 2;
wallThickness = 2.5;
holeSize = 2;
holeSpacing = 2.5;
placement = objectDiameter/2;
eps = 0.1;
strainerSifter();
module strainerSifter() {
translate([placement,placement,objectHeight/2-bottomThickness/2])
outside();
difference()... | glb/cad_0d972dd22393.glb |
Create a diameter tester consisting of a rectangular plate measuring 155mm by 95mm with a thickness of 5mm. In this plate, create a grid of 50 circular holes arranged in 5 rows and 10 columns. Position the holes so they are spaced 15mm apart both horizontally and vertically, with the first hole centered 10mm from the l... | difference(){
cube([9*15+20, 5*15+20, 5]);
for(x = [0:9]) for(y = [0:5]) {
translate([x*15+10, y*15+10, 0])
cylinder (h = 20, d=10-y-x/10, center = true, $fn=100);
}
} | glb/cad_06a063acb878.glb |
Create a square plate measuring 210mm by 210mm with a thickness of 0.28mm. Cut a repeating honeycomb pattern of hexagonal holes through the entire thickness of the plate. Each hexagonal cell should have a diameter of 4mm, with a wall thickness of 4mm separating the cells. The hexagons should be arranged in a staggered ... | module hc_column(length, cell_size, wall_thickness) {
no_of_cells = floor(length / (cell_size + wall_thickness)) ;
for (i = [0 : no_of_cells]) {
translate([0,(i * (cell_size + wall_thickness)),0])
{
rotate(0)
circle($fn = 5, r = cell_size *... | glb/cad_8d95e2b41bee.glb |
Create a stereographic projection checker board adapter consisting of a conical funnel and a cylindrical neck. Start by creating a hollow truncated cone with a height of 55mm, a bottom radius of 36.5mm, and a top radius of 8mm. The walls of this cone must be 1.6mm thick. At the base of the cone, add a flat circular rim... | $fn=150;
FunnelHeight = 55;
BottomRadius = 73/2;
TopRadius = 16.0/2;
FunnelRimHeight = 2;
TubeLength = 25.2;
WallThickness = 1.6;
difference() {
cylinder(h = FunnelHeight, r1 = BottomRadius, r2 = TopRadius, center = true/false);
translate([0,0,-0.01])
cylinder(h = FunnelHeight, r1 = BottomRadius-WallThickness,... | glb/cad_0c628a084f58.glb |
Create a wrench tool with a thickness of 6mm. The tool consists of two ends connected by a central handle.
For the first end, create a circular head with a radius of 11.25mm and a height of 6mm. Inside this head, center a hexagonal hole with a distance from the center to each vertex of 5.77mm (calculated from a 10mm s... | $fn = 100;
metric = true;
socket_size = 10;
socket_minimum_wall_thickness_mm = 6;
socket_hexagon_depth_mm = 6;
socket_hexagon_tolerance_mm = 0.25;
handle_length_mm = 60;
end1_round = true;
end1_12point = false;
end2_round = true;
end2_open = true;
add_label = true;
socket_size_mm = metric ? socket_size : socket_size *... | glb/cad_c9547607a964.glb |
Create a Socket to Wrench Adapter consisting of two stacked hexagonal prisms. Start by creating a base hexagonal prism with a flat-to-flat width of 13mm minus a 0.25mm tolerance, and a height of 6mm.
On top of this base, place a second hexagonal prism with a height of 6mm. This upper prism should have a flat-to-flat ... | $fn = 100;
wrench_metric = true;
wrench_size = 13;
socket_metric = true;
socket_size = 10;
hexagon_depth_mm = 6;
wrench_hexagon_tolerance_mm = -0.25;
socket_hexagon_tolerance_mm = 0.25;
small_wrench_big_socket_wall_thickness = 3;
junction_thickness = 3;
socket_size_mm = socket_metric ? socket_size : socket_size * 2... | glb/cad_9f8e25571072.glb |
Create a socket bit adapter consisting of a cylindrical base and a hexagonal shaft. Start by creating a cylinder with a height of 9mm and a radius of 8.75mm. From the center of this cylinder, remove a hexagonal hole with a depth of 6mm and a radius of 5.77mm (measured from center to vertex) to create the socket opening... | $fn = 100;
metric = true;
socket_size = 10;
socket_minimum_wall_thickness_mm = 3;
socket_hexagon_depth_mm = 6;
socket_hexagon_tolerance_mm = 0.25;
socket_hex_shaft_size = 5/16;
socket_hex_shaft_tolerance_mm = -0.25;
socket_hex_shaft_length = 15;
socket_junction_thickness_mm = 3;
socket_size_mm = metric ? socket_size ... | glb/cad_3f14fc908b69.glb |
Create a custom socket tool by constructing a main cylinder with a total height of 12mm. The radius of this cylinder should be the larger of either the drive size radius or the hexagon radius, plus a 3mm minimum wall thickness.
First, create a hexagonal hole through the bottom 6mm of the cylinder. This hexagon should ... | $fn = 100;
metric = true;
socket_size = 10;
socket_minimum_wall_thickness_mm = 3;
socket_hexagon_depth_mm = 6;
socket_hexagon_tolerance_mm = 0.25;
socket_square_drive_size = 1/4;
socket_square_drive_tolerance_mm = 0.25;
socket_square_drive_depth_mm = 6;
socket_12point = false;
socket_size_mm = metric ? socket_size : ... | glb/cad_cae3a6a51f91.glb |
Create a Triple Remote Control Holder by starting with a solid rectangular block measuring 92mm in width, 57mm in depth, and 48mm in height. Hollow out this block by removing three identical rectangular sections, each 28mm wide and 53mm deep, starting from a height of 2mm from the base and extending upwards. Position t... | module triangleblock (length) {
polyhedron(
points = [ [0, 0, 0], [10, 0, 0], [10, length, 0], [0, length, 0],
[5, 0, 10], [5, length, 10] ],
faces = [ [0, 4, 1],
[2, 5, 3],
[1, 4, 2], [2, 4, 5],
[3, 4, 0], [4, 3, 5],
[1, 3, 0], [2, 3, 1]
... | glb/cad_23d7a733b1ad.glb |
Create a parametric battery holder consisting of a flat rectangular base and a grid of thin walls. The base should be a solid rectangular slab with a thickness of 1.68mm.
Construct a grid of 8 rectangular slots arranged in 4 columns and 2 rows. Each individual slot must measure 17.7mm in width (X) and 26.7mm in lengt... | $fn = 80;
num_slots_x = 4;
num_slots_y = 2;
divider_width_x = 1.2;
divider_width_y = 1.2;
slot_length_x = 17.7;
slot_length_y = 26.7;
slot_height = 21;
bottom_thickness = 1.68;
num_dividers_x = num_slots_x+1;
num_dividers_y = num_slots_y+1;
outside_dim_x = (num_slots_x*slot_length_x)+(num_dividers_x*divider_width_x)... | glb/cad_e8eddd36337a.glb |
Create a circular bead plate consisting of a low cylindrical base and several tapered spikes. Start by creating a base cylinder with a height of 2mm and a radius of 14.75mm, using a 36-facet resolution to approximate the circle.
Place a single tapered spike at the center of the base. Each spike is a cylinder with a h... | min_gap = 5;
num_rings = 2;
n_spikes = 6;
$fn = 36;
concentric_ring_board(num_rings);
module concentric_ring_board(rings) {
translate([0,0,-2]) cylinder(h=2, r=4.75+min_gap*rings, $fn=36);
spike(0,0);
for (ring=[1:rings]) {
n_spikes_per_ring = n_spikes * ring;
ring_generator(min_gap*ring,0... | glb/cad_4c59bf60eaae.glb |
Create a cable gland reducer consisting of two stacked concentric cylinders with a central hole. First, create a wide base cylinder with a diameter of 42mm and a height of 1mm. On top of this base, center a second cylinder with a diameter of 36.7mm and a height of 1.8mm. Finally, remove a central vertical hole with a d... | $fn=255;
jeu = 0.3;
difference(){
union(){
cylinder(h=1.8,d=37-jeu);
cylinder(h=1,d=42);
}
translate([0,0,-.1]) cylinder(h=3,d=20+jeu);
} | glb/cad_ee6af73e57b0.glb |
Create a Filament Spool Holder rail by starting with a rectangular base that is 132mm long, 15mm wide, and 3mm high. Along the center length of this base, add three small cylindrical feet, each with a diameter of 12mm and a height of 3.5mm; position one foot at each end (5.5mm from the edges) and one exactly in the cen... | $fn=100;
rail_x = 15;
rail_y = 3;
rail_z = 90 + 42;
difference() {
union() {
rotate([90, 0, 90])
linear_extrude(height=rail_z, convexity=10)
polygon(points = [
[0, 0], [rail_x, 0], [rail_x-1, rail_y], [1, rail_y]
], paths = [ [0,1,2,3] ], convexity = 10);
translate([5+(r... | glb/cad_41ab01e48c13.glb |
Create a Filament Spool Holder by constructing a thick ring with a total height of 7mm. Start with a main cylindrical body that has an outer diameter of 26mm and an inner diameter of 22mm, centered on the origin. Remove a central cylindrical hole with a diameter of 22.01mm and a height of 8mm to ensure it clears the to... | $fn=100;
difference() {
union() {
cylinder(h=7, r1=(22+4)/2, r2=22/2, center=true);
cylinder(h=7, r1=22/2, r2=(22+4)/2, center=true);
}
cylinder(h=7+1, d=22+.01, center=true);
rotate_extrude(convexity=10)
translate([22/2+7/2+.8, 0, 0])
circle(r=7/2-.2);
} | glb/cad_c81d0350a414.glb |
Create a Filament Spool Holder consisting of a rectangular base plate 136mm long and 3.5mm thick. At each end of the plate, centered 11mm from the edges and 11mm from the sides, construct a vertical axle assembly to hold ball bearings. Each axle assembly features a tiered cylindrical structure: a base cylinder with a d... | $fn=100;
bb_di = 8 + .2;
bb_do = 22 + .1;
bb_x = 2 + bb_do/2;
bb_y = 7 + bb_do/2;
bb_z = 7/2;
size_x = 136;
size_z = 3.5;
spool_r = 200/2;
rail_x = 15;
difference() {
union() {
difference() {
hull() {
cube([size_x,3,size_z-.5], center=false);
translate([bb_x,bb_y,0]) cylinder(h=size_z-... | glb/cad_aacab6fd419c.glb |
Create a Freezer Basket Marker consisting of two separate parts: a flat tag and a hook.
First, create the tag as a rectangular slab 60mm wide, 15mm high, and 1.6mm thick. Bevel the top and bottom long edges. On the top surface of the tag, center the text "Hamburger" using the Verdana font at a size of 7mm. Extrude thi... | TagHeight=15;
TagWidth=60;
Thickness=1.6;
HookWidth=6;
HookOpening=0.6;
HookLength=10;
Tolerance=0.20;
FontName = "Verdana";
FontSize=7;
LabelHeight=.6;
Label="Hamburger";
LabelColor=("red");
TagType="Raised";
MakeWhat="Both";
module __Customizer_Limit__ () {}
surface=Thickness;
if (MakeWhat=="Tag") {
... | glb/cad_921da600248c.glb |
Create a discrete hyperbolic paraboloid sculpture by arranging a grid of small cubes. The overall footprint of the sculpture is 100mm by 100mm, centered on the origin. Populate this area with cubes that have a base width and depth of 5mm each.
The height of each individual cube is determined by the formula z = (0.02 ... | module bar(x,y,d,a=0.02,b=-0.01, o=25){
z=(a*x^2+b*y^2)+o;
translate([-x,-y,0])
cube([d,d,z]);
}
module sculpture(res=5,width=100, height=100){
union(){
limit_x = width/2;
limit_y = height/2;
for(x = [-1*limit_x:res:limit_x]){
for(y = [-1*limit_y:res:limit_y])... | glb/cad_b7bea88fb5f8.glb |
Create a Gua-Sha scraper by generating a smooth, organic teardrop-like blade. Start with a base shape that extends 66mm along the x-axis and 36mm along the y-axis. The profile should be a continuous hull formed by a series of cylinders with varying radii and heights, creating a tapered, rounded form that is widest at o... | x0 = 30;
scale([1.1,.6,.3]) minkowski() {
hull() for(x=[x0:5:90]) {
translate([x-x0,0,0]) cylinder(h=5*sin(2*(x-x0)), r=30*sin(x), $fn=88);
}
sphere(r=2, $fn=42);
} | glb/cad_20e0dd52a1aa.glb |
Create a parametric belt holder with a total width of 5mm. Start by constructing a main rectangular sleeve with an interior cavity measuring 41mm in height and 4mm in depth to accommodate a belt. The exterior walls of this sleeve should be 3mm thick, and all four outer corners of the sleeve must be rounded with a 3mm r... | $fa = 3;
$fs = 0.2;
height = 41;
depth = 4;
width = 5;
hole_dia = 10;
wall_strength = 3;
hole_position = 0;
eps = 0.01;
difference() {
hull_cube(depth+2*wall_strength, height+2*wall_strength, width, wall_strength);
cube([depth, height, width+eps], center=true);
}
translate([depth/2+hole_dia/2+wall_stre... | glb/cad_6104ee534ede.glb |
Create a parametric sleeve for a deck of cards. The base is a flat rectangular plate 62.4mm wide, 1.2mm thick, and 11.2mm deep. From this base, extend two side walls and a back wall, all with a thickness of 1.2mm. The side walls should rise to a height of 44.5mm (50% of the total sleeve height), and the back wall shoul... | CARD_WIDTH = 60;
CARD_HEIGHT = 80;
DECK_WIDTH = 10;
TAB_HEIGHT = 14;
SIDES_PCT_OF_HEIGHT = 0.5;
THICKNESS = 1.2;
TAB_FILLET = 6;
BAND_HEIGHT = 12;
BAND_WIDTH = 8;
BAND_ANGLE = 25;
EXTRA_CUT_WIDTH = 4;
SIDE_CHAMFER = 14;
BACK_FILLET = 24;
SLEEVE_WIDTH = CARD_WIDTH + 2*THICKNESS;
SLEEVE_HEIGHT = CARD_HEIGHT... | glb/cad_4c58f77981fe.glb |
Create a CO2 Tank Support consisting of a hollow cylindrical base and a protruding mounting arm. Start with a cylinder that has an outer diameter of 145mm, an inner diameter of 135mm, and a height of 100mm.
Extend a support arm from the side of the cylinder. This arm is formed by a hull connecting a 50mm diameter cyl... | $fn=120;
tank_dia=135;
support_height=100;
support_length=200;
m5_hex_nut=7.8;
m5_nut_height=3.9;
translate([-50,-30,0]) rotate([0,0,35]) tank_support();
module tank_support(){
difference(){
union(){
cylinder(d=tank_dia+10, h=support_height);
hull(){
cylinder(d=tank_dia+10, h=5);
tra... | glb/cad_4131c901ca0f.glb |
Create a corny keg picnic holder by starting with a base shape that is a hull formed between a cylinder with a 38mm diameter and a 1mm wide, 5mm thick rectangular slab centered at 75mm along the Y-axis. The total height of the object is 5mm. From this solid, remove a central vertical hole with a 25mm diameter. Addition... | $fn=60;
inner_hole=25;
outer_dia=38;
height=5;
mount(offset=75);
module mount(offset=50){
difference(){
hull(){
cylinder(d=outer_dia, h=height,center=true);
translate([0,offset,0]) cube([outer_dia,1,height], center=true);
}
cylinder(d=inner_hole, h=height+1,center=true);
translate([outer... | glb/cad_f209f22023c5.glb |
Create a nose clip for a mask by designing a curved, symmetrical profile and extruding it to a height of 5mm. The main body is defined by two concentric arcs: an inner radius of 5mm for the bridge and an outer radius of 20mm for the cheeks. The shape is a curved band with a wall thickness of 1mm.
Within this 5mm thic... | di = 10;
do = 40;
cea = 45;
ww = 1;
gw = 3;
function bicurve(r1, r2, tk, n, ofs=0) =
let(r1a = 180/n, r1d = PI*r1 / n, r2a = (180 * r1d / (PI*r2)))
concat(
[for(t = [180:(-r1a):(0.5*r1a)]) [(r1 - tk/2+ofs)*cos(t),(r1 - tk/2+ofs)*sin(t)]],
[for(t = [0:(r2a):(cea - 0.5*r2a)]) [-(r2 + tk/2-ofs)*... | glb/cad_4c32af72f640.glb |
Create a Microbit v2 Clip Frame. Start with a main outer frame based on a rounded rectangle of 55.6mm by 46mm with a height of 10mm and corner radii of 6mm. Hollow out the center to create a rim, leaving a base thickness of 7mm, with the inner cutout measuring 55.6mm by 46mm.
On the top edge, create a USB port opening... | resolution = 100;
$fn = resolution;
view = "both";
style = "nub";
notch = true;
module rounded_plate(w, h, t, d) {
translate([0, (d/2), 0])
cube([w, (h-d), t]);
translate([(d/2), 0, 0])
cube([(w-d), h, t]);
translate([(d/2), (d/2), 0])
cylinder(h=t, d=d);
translate([w-(d/2), (d/2), 0])
... | glb/cad_e9f2726d09a8.glb |
Create a reamer set holder by starting with a solid block shaped as a convex hull around eight spheres of radius 2.5mm, positioned at the corners of a box measuring 80mm wide, 15mm deep, and 30mm high, centered at the origin. The resulting block has rounded corners and a total height of 30mm. From the top face, centere... | $fn=60;
fudge=0.2;
R=2.5;
ream_holder();
module ream_holder(){
difference(){
hull() for(X=[-1,1], Y=[-1,1], Z=[-1,1])
translate([(40-R)*X,(7.5-R)*Y,(15-R)*Z+15])
sphere(r=R);
translate([30,0,5]) cylinder(d=10+fudge, h=30);
translate([18,0,5]) cylinder(d=9+fudge, h=30... | glb/cad_fa4d24628cd5.glb |
Create a C60 fullerene connector consisting of a central sphere with three radiating arms. Start with a central sphere with a radius of 1.1mm. From this center, extend three cylindrical arms, each with an outer radius of 2.1mm and an inner hole radius of 1.1mm to accommodate matches. Each arm should have a total length... | $fn=25;
r=1.1;
R=r+1;
t=10;
d=acos(sin(30)/cos(54));
difference() {
translate([0,0,0]) rotate([90,0,0]) cylinder(r=R,h=r+t);
translate([0,0,0]) rotate([90,0,0]) cylinder(r=r,h=r+t);
}
difference() {
translate([0,0,0]) rotate(-90+d,[1,0,0]) rotate(54,[0,1,0]) cylinder(r=R,h=r+t);
translate([0,0,0]) rotat... | glb/cad_922236a58969.glb |
Create a Tube Battery Adapter for 18650 cells. Start by creating a main outer cylinder with a radius of 16.5mm and a total height of 180.9mm.
Run a vertical cylindrical hole through the entire length of the main cylinder with a radius of 2.5mm, offset from the center so that its edge is aligned with the edge of the i... | $fn=50;
num_cells=3;
cell_diameter=33;
cell_length=60.3;
wire_channel_diameter=5;
batt_height=76;
batt_snap = 18.5;
battery_diameter=19.1;
outer_tube_length=cell_length*num_cells;
outer_tube_radius=cell_diameter/2;
batt_radius = battery_diameter/2;
wire_channel_radius=wire_channel_diameter/2;
wire_channel_off... | glb/cad_2c1da09f5f28.glb |
Create a 18650 Lantern Battery Adapter. Start with a main body that is a rounded square prism with a height of 100mm and a width and depth of 66mm, featuring corner radii of 13mm.
Hollow out the center of the body with a cylinder of 11mm radius and 90mm height. Create a vertical wire channel with a 2.5mm radius runni... | $fn=50;
case=66;
corner_rad=13;
case_height=100;
batt_height = 76;
batt_radius = 9.5;
batt_snap = 18.5;
corner_offset=6;
center_hollow_radius=11;
wire_channel_radius=2.5;
difference(){
hull(){
cube([case - corner_rad*2,case - corner_rad*2,case_height], center=true);
translate ([20,20,-50]) cylinder... | glb/cad_83bd4aeea67d.glb |
Create a dart for a cable caster. Start by constructing a torus with a major radius of 10mm and a cross-sectional tube diameter of 6mm to form the ring at the base. From the outer edge of this ring, extend a straight cylindrical shaft with a diameter of 6mm and a total length of 100mm. At the end of this shaft, add a c... | rotate_extrude(convexity = 10, $fn = 100)translate([10, 0, 0])circle(d = 6, $fn = 100);
translate([0,60,0])rotate([90,0,0])cylinder(d=6,h=100,center=true,$fn=100);
translate([0,120,0])rotate([90,0,0])cylinder(d1=3,d2=6,h=20,center=true,$fn=100);
#translate([0,130,0])rotate([90,0,0])cylinder(d1=4,d2=8.2,h=10,center=tru... | glb/cad_e2be2d687210.glb |
Create a spherical plant pot by starting with a large sphere 120mm in diameter, centered 40mm above the origin. Hollow out the interior by removing a smaller concentric sphere 114mm in diameter. To create the opening at the top, remove a cylinder with a 150mm diameter centered on the Z-axis, extending from the top of t... | $fn=100;
difference() {
translate([0,0,40]) sphere(d=120);
translate([0,0,40]) sphere(d=114);
translate([0,0,80]) cylinder(60,d=150);
union() {
translate([0,0,60]) cylinder(20,d=100);
cylinder(80,d1=80,d2=100);
}
translate([0,0,-35]) cylinder(30,d=150);
}
translate([0,0,-5]) ... | glb/cad_0a00a4ae85ad.glb |
Create a nozzle box consisting of a storage tray and a matching container.
First, construct the tray as a grid of 6 cylindrical holes arranged in 3 columns and 2 rows. Each hole has a diameter of 6.9mm and a depth of 8.7mm. The holes are separated by walls 1mm thick. The overall tray base is a solid slab 0.8mm thick,... | col = 3;
row = 2;
wall_thickness = 1;
slot_spacing = 0.5;
tray = true;
container = true;
label = ".4";
label_depth = 0.2;
label_scale = 1.00;
nozzle_thread_height = 7.9;
nozzle_thread_diameter = 6.0;
nozzle_head_height = 5.4;
nozzle_head_diameter = 8.0;
line_width = 0.45;
lid_tolerance = -.1;
bottom_height ... | glb/cad_545a6606cbd1.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.