Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a gem-like vessel by combining two mirrored twisted octagonal sections. First, construct the bottom section by stacking three octagonal prisms, each 25mm high, starting from a base radius of 15mm. Each subsequent prism should be scaled by 1.5 and twisted by 45 degrees relative to the one below it, creating a fla... | slc=20;
module sh1() {
circle (r=15, $fn=8);
}
module shp(A=0, ht=25, sc=1) {
linear_extrude(height=ht, twist=45*A, slices=slc, scale=sc) sh1();
}
module bottom() {
for (i=[1,2,3]) { shp(i, ht=25,sc=1.5); }
for (i=[-1,-2,-3]) { shp(i, ht=25,sc=1.5); }
}
module top() {
translate ([0,0,25]) for (i=[2,4,6]) {
sca... | glb/cad_94e8979cf919.glb |
Create a thick, hollow cylinder with a total outer diameter of 13.75mm and a height of 5mm. The shape should feature a centered vertical hole passing through both faces with a diameter of 3.75mm, resulting in a wall thickness of 5mm around the inner opening. | $fa=3; $fs=0.05;
tube_inner_diameter = 13.75;
rmax = tube_inner_diameter/2;
rotate_extrude()
polygon([[rmax-5,rmax],[rmax,rmax],[rmax,0],[rmax-5,0]]); | glb/cad_2a81dab84b71.glb |
Create a bolt consisting of a hexagonal head and a threaded shaft. Start by creating a hexagonal prism with a diameter of 20mm divided by the square root of 0.75, and an overall height of 4mm. Centered on top of this head, construct a threaded shaft with a total height of 14mm and a maximum diameter of 12mm. The shaft ... | module bolt(msize, pitch, length) {
H = pitch*sqrt(0.75);
union () {
intersection () {
linear_extrude(height=length, twist = -360*length/pitch)
translate([H/2,0,0])
circle(d = msize - H*3/4);
cylinder(h=length, d=msize);
}
cylin... | glb/cad_49f9cc4bff39.glb |
Create a compound coat hanger consisting of two symmetrical corner joints connected by tubes. Each corner joint is a mirrored assembly of two curved sections.
For each joint, create a primary outer curved volume that transitions between two different tube diameters. The upper section must accommodate a tube with an o... | include <common.scad>
strap_width=12;
strap_thick=3;
cosh=cos(hangle);
sinh=sin(hangle);
Ar = (Ru-Rl)/2;
Rmid=(Ru+Rl)/2;
Rmax=corner_outer_radius;
csw = 180 - corner_angle;
N = ceil(csw/$fa);
module mstone(i) {
r = Rmid + Ar*cos(180*i/N);
a = hangle + csw*i/N;
translate((Rmax - r)*[cos(a), sin(a), 0])
... | glb/cad_85741d05c42a.glb |
Create a shelf support pin with a total length of 26mm. Start by creating a base cylinder with a diameter of 6.75mm and a height of 9mm. On top of this base, add a conical section that transitions from a diameter of 6.75mm at the bottom to 10mm at the top over a height of 3mm. Above the cone, place a cylinder with a di... | $fs=1;
$fa=1;
cylinder(d1=5.75,d2=6.75,h=1);
translate([0,0,1]) cylinder(d=6.75,h=8);
rotate(-90)
difference() {
union() {
translate([0,0,9]) cylinder(d1=6.75,d2=10,h=3);
translate([0,0,12]) cylinder(d=10,h=9);
translate([0,0,21]) sphere(d=10);
}
translate([-10,3.5,8]) cube([20,10,20]);
} | glb/cad_17a45e7b41f4.glb |
Create a Printrbot Spool Holder. Start with a central vertical structure consisting of a cylinder with a radius of 15mm and a height of 100mm, sitting atop a conical base that transitions from a radius of 30mm at the bottom to a point 40mm higher. The bottom 17mm of the model is a solid block with a width of 67.6mm and... | Rspool=15;
H=100;
R=6.2;
w1=.4;
D=58;
L=130;
w=w1*4;
d=D/2+R;
difference(){
union(){
translate([0,0,17]){
cylinder(r=Rspool,h=H);
cylinder(r1=30,r2=0,h=40);
}
cylinder(r1=15,r2=30,h=17.01);
translate([0,0,17/2])cube([2*d,2*(R+w),17],center=true);
translate([d,0,0])cylinder(r=R+w,h=17);
transla... | glb/cad_677d18d9ff6f.glb |
Create a Venturi for flow measurement by constructing a hollowed-out cylindrical body with a variable internal diameter. The outer shell is a cylinder with a diameter of 75mm.
The internal bore consists of three sections: a converging inlet, a constant throat, and a diverging outlet. The inlet is a frustum that narro... | inlet_outlet_diameter=75;
inlet_angle=23;
outlet_angle=15;
area_ratio=3;
throat_length=20;
tap_diameter=15;
mating_pin_tolerance=1;
split=1;
$fn=100;
pi=3.141592;
inlet_xs_area=pi*pow((inlet_outlet_diameter/2),2);
throat_xs_area=inlet_xs_area/area_ratio;
throat_diameter=sqrt((throat_xs_area/pi))*2;
throat_wid... | glb/cad_801925d0b4dc.glb |
Create a Sinusoidal Venturi for Flow Measurement. The object is a revolved solid with an outer diameter of 100mm and a total length of 250mm.
The internal bore follows a sinusoidal profile. The radius of this bore varies from a maximum of 50mm (at the ends) to a minimum throat radius of approximately 2.82mm (calculat... | split = 1;
od=100;
ratio=3;
length=250;
crop=2;
tap_d=10;
pin_tol=1;
$fa=2;
initial_length=length+crop*2;
pi=3.14159;
step=10;
big_a=pi*pow(od/2,2);
small_a=big_a/ratio;
id=2*sqrt(small_a/pi);
height=(od-id)/4;
module venturi() {
difference() {
rotate_extrude( convexity=10)
translate([height+id/2,-ini... | glb/cad_7fa7bb8c71a0.glb |
Create a spool holder consisting of a vertical cylindrical column and a circular base. Start by creating a circular base with a radius of 30mm and a height of 5mm. In this base, place four vertical holes with a radius of 2.5mm each, positioned 22mm from the center along the X and Y axes in both positive and negative di... | module spool_holder() {
translate([0,0,5])cylinder(r=15, h=110);
translate([0,0,110])cylinder(r1=10, r2=20, h=10);
difference(){
cylinder(r=30, h=5);
translate([22,0,0])cylinder(r=2.5, h=5);
translate([-22,0,0])cylinder(r=2.5, h=5);
translate([0,22,0])cylinder(r=2.5, h=5);
translate([0,-22,0]... | glb/cad_5d70e5ddfe36.glb |
Create an adjustable frame fan mount consisting of a fan holder and a frame mounting system.
First, create a square fan holder with a 50mm x 50mm footprint and a height of 3mm. Center a large circular hole in the middle for the fan, leaving a wall thickness of 3mm. At each of the four corners, create a hole with a 3.... | module round_square(width, length, height, round_radius)
{
hull()
{
for (i = [0, 1])
{
for (j = [0, 1])
{
translate([round_radius + i * (width - 2 * round_radius), round_radius +j * (length - 2 * round_radius), 0])
cylinder(r=round_radius, ... | glb/cad_59c8c55d7e23.glb |
Create a coaster for a beagleboard by constructing a hollow rectangular box with an outer width of 85.2mm, a length of 85.2mm, and a total height of 12mm. The walls should have a thickness of 2.6mm. The interior floor of the box should feature four square support studs, each 4mm by 4mm and 5mm high, positioned in the c... | inside_l = 77.8;
inside_w = 79.8;
edge_thickness = 2.6;
stud_size = 4;
stud_height = 5;
pcb_thickness = 2;
extra_height = 5;
box_length = inside_l + (edge_thickness * 2);
box_width = inside_w + (edge_thickness * 2);
box_height = stud_height + pcb_thickness + extra_height;
use_knobs = 0;
knob_height = 1;
use_rounde... | glb/cad_b704ec65bde1.glb |
Create a coaster for a beagleboard by constructing a hollow rectangular box with rounded exterior corners. The outer dimensions are 92mm by 92mm with a total height of 12mm. The walls are 3mm thick.
The interior should be hollowed out to 86mm by 86mm, leaving a 3mm floor. In each of the four interior corners, add a sq... | inside_length = 87.5;
inside_w = 86;
edge_thickness = 3;
stud_height = edge_thickness + 3.5 +2;
extra_height = 5;
stud_size = 7;
pcb_thickness = 2;
use_rounded_corners = 1;
inside_corner_radius = 8;
corner_radius = 8;
box_width = inside_w + (edge_thickness * 2);
box_length = inside_length + (edge_thickness * 2);... | glb/cad_6a6dec82552a.glb |
Create a coaster for a beagleboard by constructing a hollow rectangular box with an outer dimension of 92mm by 92mm and a total height of 13mm. The walls should be 3mm thick, creating an interior cavity of 86mm by 86mm. Round all four exterior corners with a radius of 8mm and the four interior corners with a radius of ... | inside_length = 87.5;
inside_w = 86;
edge_thickness = 3;
stud_height = edge_thickness;
extra_height = 8;
stud_size = 4;
bezel_width = 6.5;
pcb_thickness = 2;
use_rounded_corners = 1;
inside_corner_radius = 8;
corner_radius = 8;
box_width = inside_w + (edge_thickness * 2);
box_length = inside_length + (edge_thic... | glb/cad_927448627f79.glb |
Create a nose cone for a rocket consisting of a cylindrical shoulder and a secant ogive head. Start by creating a cylindrical shoulder with an outer diameter of 13.1 mm (0.515 inches) and a height of 6.35 mm (0.25 inches).
On top of this shoulder, place a secant ogive with a base diameter of 13.74 mm (0.541 inches) a... | function sec_ogive_y (a, p, x) =
max(sqrt (p * p - pow (p * cos (a) - x, 2)) + p * sin (a), 0);
module sec_ogive (height, diameter, phi, slice)
{
step = height/slice;
base_r = diameter/2;
alpha = atan (base_r/height) -
acos (sqrt (height*height + base_r*base_r)/(2*phi));
for (i = [1 : slice]) {
assign (... | glb/cad_98f51366b1a8.glb |
Create a Customizable Tool for Twist Wire consisting of a circular base plate and a central hexagonal axle.
First, construct a circular plate with a thickness of 3.2mm and a radius of 13.4mm. Within this plate, create six evenly spaced circular holes, each with a diameter of 3mm. These holes should be positioned at a... | $fn=60;
axle_rad=3;
axle_len=24;
axle_type=1;
plate_thi=3.2;
axle_space=8;
plate_hole_dia=3;
num_hole=6;
edge_space=4;
hex_rad=axle_rad/cos(30);
echo("<b>hex_rad=</b>",hex_rad);
plate_rad=axle_rad+axle_space+plate_hole_dia+edge_space;
echo("<b>plate_rad=</b>",plate_rad);
plate_hole_locat=axle_rad+axle_space+... | glb/cad_8ad18bcbfabe.glb |
Create a self-watering pot consisting of a main outer vessel and an internal reservoir system. The main vessel is a hollow truncated cone with a height of 50mm, a bottom diameter of 40mm, and a top diameter of 50mm, featuring a wall thickness of 1mm.
Inside this vessel, place a separator platform at a height of 15mm.... | base = 40;
top = 50;
ht = 50;
res = 15;
wall = 1;
floors = 2;
tube = 8;
spout = 5;
$fn = 50;
module pot(b, t,h) {
difference () {
cylinder(r1=b/2, r2=t/2, h=h);
translate([0, 0, floors])
cylinder(r1=b/2-wall, r2=t/2-wall, h=h-floors);
}
}
function radius_at(z) = (top*z/ht + base*(1-z/ht))/2;
module seperat... | glb/cad_1861f255e9cc.glb |
Create a wall mount bracket with a total thickness of 15mm. The main body is a composite shape formed by a central rectangular block measuring 66mm wide by 40mm deep, merged with two side wings that extend the width.
Carve a large central cutout through the thickness of the part to create a cradle. This cutout consis... | thickness=15;
bolt =4.3/2;
gap=42;
spaced=12;
bracketsw=30;
head=2.3;
angled=65;
difference(){
hull(){
piece(5,0);
piece(0,9);
}
rotate([0,90,0])translate([0,-45,0])cylinder(r=bolt,h=70+bracketsw,center=true,$fn=100);
rotate([0,90,0])translate([0,-70,0])cylinder(r=bolt,h=70+bracketsw,center=true,$fn=100);
hull(){
rota... | glb/cad_eef6674172af.glb |
Create a Y-axis bearing holder for a Da Vinci 1.0 printer with a total height of 8.5mm. Start with a main body based on a custom outline, then add two cylindrical alignment pins with a radius of 1.5mm and a height of 3mm, positioned symmetrically at y = 6.75mm and y = -6.75mm, extending downwards from the base.
Incorp... | holder_h=8.5;
bearing_625_r=16/2+0.2;
bearing_625_h=holder_h;
bearing_625_z=2.0;
Base_cutout_r=8/2;
screw_fn=5;
screw_r=2.9/2;
screw_h=holder_h;
screw_offset_x=11;
ping_h=3;
ping_r=1.5;
ping_offset_y=6.75;
spring_pin_h=5;
spring_pin_r2=5.5/2;
spring_pin_r=5.9/2;
spring_pin_offset_y=10;
spring_pin_offset_z=4.5;
$f... | glb/cad_14b093253bfb.glb |
Create a customizable pulley by starting with a solid cylinder that has a diameter of 20mm and a total thickness of 10mm. Centered through the entire length of this cylinder, remove a smaller cylindrical hole with a diameter of 6mm to create the axis. To form the cable groove, remove a toroidal volume from the outer ed... | $fs = 0.1;
$fa = 5;
wheelDiam = 20;
holeDiam = 6;
cableDiam = 8;
print();
wheelRadius=wheelDiam/2;
holeRadius=holeDiam/2;
cableRadius=cableDiam/2;
wheelThickness=cableDiam+2;
module print() {
translate([0, 0, wheelThickness/2]) build();
}
module printHalves() {
translate([wheelRadius+5, 0, wheelThickness... | glb/cad_23ff8c181bd1.glb |
Create a robotic hand part for a humanoid biped robot. Start by constructing a rectangular base block with dimensions 25mm in length, 21mm in width, and 4mm in height. From this base, remove a central rectangular section measuring 19mm by 18mm with a depth of 1mm, leaving a 3mm thick wall around the perimeter.
Add a ... | include <tornillos_union.scad>
include <mg995.scad>
alto_capa = 3;
alto_base = 1;
largo_mano = srv995_ancho_base+4*alto_capa+10;
mano();
module mano()
{
difference() {
cube([srv995_alto_base_fin_ala+2*alto_capa , srv995_ancho_base+2*alto_capa , alto_capa+alto_base]);
translate([alto_capa,alto_capa,alto_capa])
... | glb/cad_f15ede721044.glb |
Create a base plate for a humanoid robot foot. Start with a rounded rectangular slab measuring 109mm in length, 92mm in width, and 4mm in height, with corner radii of 4mm. Carve a rectangular hole through the center of this slab that is 83mm long and 68mm wide, extending 10mm deep from the top surface.
On top of this... | include <tornillos_union.scad>
include <mg995.scad>
ancho_soporte_servo_pie = 7;
alto_pie = 4;
ancho_soporte = 15;
alto_capa = 15;
borde_soporte = 2.5;
largo_base_piezas = 2*ancho_soporte_servo_pie+borde_soporte*2;
largo_base = largo_base_piezas+42;
ancho_base = 92;
ancho_base_servo = 38;
base();
translate ([-an... | glb/cad_19df08ad0c54.glb |
Create a U-shaped bracket for a humanoid biped robot kit. Start with a central rectangular base measuring 39mm in length, 8mm in width, and 3mm in height. From this base, extend two vertical walls upward from each end, each measuring 20mm in height, 8mm in width, and 3mm in thickness. The final geometry should form a t... | include <tornillos_union.scad>
include <mg995.scad>
alto_capa = 3;
ancho_base = 8;
largo_base = 33;
alto_lado = 20;
difference() {
cube([largo_base+2*alto_capa,ancho_base,alto_capa]);
tornillos_union2(largo_base+2*alto_capa, ancho_base, "h");
}
rotate([0,90,0])
difference() {
cube([alto_lado,ancho_base,alto_cap... | glb/cad_3a6670d53703.glb |
Create a servo mounting bracket for a humanoid robot kit. Start by creating a rectangular base with a thickness of 3mm. The base dimensions should be the sum of the servo base length, the wing width, and 1mm.
On the top surface of this base, center a cylinder with a radius of 5.05mm (calculated as 1mm plus half the s... | include <tornillos_union.scad>
include <mg995.scad>
alto_capa = 3;
srv_separacion_eje = 10.4;
torn_ancho = 1.6;
torn_separa = 2.60;
torn_cabeza = 3.5;
eje_alto = 2.6;
eje_rosca = 4.1;
eje_cabeza = 8.1;
eje_nuevo_separa = 4.4;
eje_nuevo = 5.2;
difference() {
union() {
base();
lado_servo();
ala();
}
transl... | glb/cad_d83e0e4f848b.glb |
Create a U-shaped bracket for a humanoid robot servo mount. Start with a rectangular base measuring 23mm wide, 60mm long, and 3mm thick.
On each end of the base, add a vertical wall that is 3mm thick and 27mm high. The top of each wall should be rounded with a semi-circular cap with a radius of 11.5mm.
In the cente... | include <tornillos_union.scad>
include <mg995.scad>
eje_cabeza = 8.8;
alto_capa = 3;
2manifol = 0.001;
radio_rodamiento = 2;
srv_separacion_eje = 10.4;
alto_capa = 3;
alto_base = 3;
ancho_lados = 3;
dist_tornillos_servo = 7.6;
largo_base = 54;
ancho_base = 23;
alto_lados = 27;
lados_cilindros = 60;
radio_tornillo... | glb/cad_5e4a389c2cf3.glb |
Create a parametric book end consisting of a flat base and a vertical support. Start by creating a rectangular base 80mm wide, 60mm deep, and 2.5mm thick. Attached to this base, construct a vertical support structure. This support begins with a triangular wedge that is 80mm wide and 13.2mm deep, transitioning from the ... | altura = 100;
largura = 80;
espessura = 2.5;
espessuraApoio = 4.0;
texto="Conhecimento";
profundidade = altura * 0.6;
tamanhoDisplay = profundidade * 0.22;
module base(altura) {
cube([largura, profundidade, espessura]);
}
module apoio(altura) {
translate([0, tamanhoDisplay, espessura])
rotate([90,... | glb/cad_da58181c80f4.glb |
Create a customizable tool holder for a pegboard. Start by constructing a main body that is 43mm wide, 25mm deep, and 20mm high. The overall shape is a rectangular block with a large rectangular section removed from the center to create a U-shaped profile, leaving a base and two side walls.
Within this structure, cre... | function sum(v, i = 0, r = 0) = i < len(v) ? sum(v, i + 1, r + v[i]) : r;
rows = 1;
holes = [5, 18];
widths = [15, 25];
tolerance = 0.1;
module hooks(rows = 1, holes, uppers) {
width = 40*(rows) + 3;
depth = max(uppers);
difference() {
minkowski() {
sphere(r=0.5 - tolerance, $fn=10);
union() ... | glb/cad_43e6cad4e1b0.glb |
Create a spool spindle and frame assembly consisting of a central spindle and a supporting structural frame.
For the spindle, create a cylindrical axle designed to hold a 1kg spool. Integrate two mounts for 608 bearings; each mount should be a cylinder with a height of 10mm and a central hole for the bearing. The bea... | use <polyholes.scad>
use <bearing.scad>
use <arc.scad>
function bracket_radial_displacement(boxdim,angstep) = (boxdim/2)*(1/tan(angstep/2))+boxdim/2;
module bracket_primitive(xsize,ysize,zsize) {
cube([xsize,ysize,zsize],center=true);
}
module bracket_build(boxdim,steps,nfacets) {
angstep = 360/steps;
rad = brack... | glb/cad_7920a44abc42.glb |
Create a Circular Loom consisting of a ring-shaped frame and several vertical pins. Start by constructing the frame as a hollow cylinder with a height of 6mm, an outer diameter of 68mm, and an inner diameter of 52mm.
Position 8 vertical pins equally spaced around the frame. Each pin is created by joining two spheres o... | frameHeight=6;
frameDia=60;
frameWidth=8;
nPins=8;
pinHeight=15;
pinDia=6;
knobDia=10;
addKnobs=true;
sideHeight=8;
addSidePost=true;
addSlots=true;
frameH=frameHeight;
frameR=frameDia/2;
frameW=frameWidth;
pinH=pinHeight;
pinR=pinDia/2;
pinA=360/nPins;
knobR=knobDia/2;
sideH=sideHeight;
wDiff=frameWidth/2;
slotW=pinD... | glb/cad_5531fdaa0f0d.glb |
Create a sinusoidally dented cylinder with a total height of 20mm. The cross-section is defined by a sinusoidal wave with a median diameter of 30mm and a tooth thickness of 2mm, creating 20 teeth around the circumference. To define the smooth curvature of these teeth, use 12 precision steps per tooth.
Extrude this pro... | Height = 20.0;
SinSurfaceDiametre = 30.0;
NrOfTeeth = 20;
TeethThickness = 2.0;
Twist = -1.0;
PrecisionSteps = 12;
RoundSurfaceDiametre = 0.0;
RoundSurfaceEdges = 6;
module SLySinCylinder(height, diametre, teethNr, dentThickness,
... | glb/cad_21180884db6b.glb |
Create a calibration cube that is a solid 20mm x 20mm x 20mm cube. On the faces of the cube, carve out the following text as recessed inlays with a depth of 1.1mm:
On the front face, center the words "Generic" and "PLA" and "XimaB" vertically, stacked one above the other, near the bottom edge.
On the side face, alig... | part = "first";
use_dual = 1;
material = "PLA";
manufacturer = "Generic";
color = "XimaB";
speed = 60;
layer = 0.15;
layer_adj = 0.1;
infill = "gyroid";
infill_pct = 20;
time = "15m";
print_temp = 200;
initial_temp = 190;
final_temp = 185;
standby = 175;
bed_temp = 60;
module stats() {
translate([5,... | glb/cad_2d7c002f1089.glb |
Create a Dual Extruder mount for a Rostock printer. Start with a central circular platform 6mm thick with a radius of 30mm. At the center of this platform, create an oval cutout with a radius of 10mm, scaled by 1.3 in the X-axis and 2.2 in the Y-axis.
Arrange three identical sets of features around the platform, spac... | include <configuration.scad>
use <carriage_mod.scad>
h=platform_thickness;
cutout = 12.5;
inset = 6;
$fn = 50;
module platform() {
translate([0, 0, h/2])
difference() {
union() {
for (a = [0:120:359]) {
rotate([0, 0, a]) {
translate([0, -platform_hinge_offset+1, 0]) parallel_joints()... | glb/cad_e3bb11b1a7fb.glb |
Create a 3-way connector joint by constructing a hollow shell consisting of three intersecting cylinders meeting at a central spherical core. The outer structure is formed by a sphere with a radius of 14.5mm, with three cylinders of radius 14.5mm and length 40mm extending from it. Position the first cylinder along the ... | inner_diameter = 23;
height = 40;
wall_thickness = 3;
angle = 120;
module connector(diameter, height, wall, angle) {
module outer_cylinder(){ cylinder(r=diameter/2+wall, h=height); }
module inner_cylinder(){ cylinder(r=diameter/2, h=height+wall); }
difference() {
union() {
sphere(di... | glb/cad_158c896ba6c4.glb |
Create a Raspberry Pi camera stand designed for a 20mm x 20mm profile. Start by constructing a square base plate 30mm wide and 30mm long with a thickness of 1.5mm. At each of the four corners of this base, place a vertical cylinder with an outer diameter of 5.5mm and an inner hole diameter of 3.3mm.
On top of the base... | $fn=60;
eps=.01;
a=30;
w=1.5;
ct=25;
cw=25.5;
ch=1.5;
cu=2.5;
da=5.5;
di=3.3;
ob=8;
for (x=[30,45]) for (y=[5,-5]) translate([x,y,0]) S();
translate([0,0,-2]) rotate([0,0,90])
difference(){
union(){
translate([0,0, 4]) cube([20,30,6], center=true);
translate([0,0,10]) cube([10,10,6], cent... | glb/cad_7b83dad4b615.glb |
Create a Watering Can Rose consisting of a cylindrical stem and a flattened spherical head. Start by creating a cylindrical stem with a height of 25mm and an outer diameter of 20.7mm. The stem should be hollowed out by a central conical hole that tapers from an inner diameter of 16.7mm at the base to 16.3mm at the top.... | mm = 1;
delta = 1*mm;
roseWall = 2*mm;
stemIDb = 16.7*mm;
stemID = 16.3*mm;
stemL = 25*mm;
petalL = 100*mm;
petalW = 70*mm;
holeD = 0.5*mm;
roseOffset = 3.5*mm;
$fn = 100;
difference () {
union () {
cylinder (h = stemL+petalL/2, d = (stemIDb + roseWall));
translate ([0,-roseOffset,stemL*2/3])
scale ... | glb/cad_295736b1f322.glb |
Create a planetary bowden extruder consisting of a main extruder block, an idler assembly, and a support strut.
Start with the extruder block: create a central cylinder with a radius of 11mm and a height of 3mm. Subtract a central hole with a radius of 11.2mm and a height of 4.01mm. Add four M3 screw holes with a rad... | translate([0,0,0]) rotate([0,0,90]) extruder_block();
translate([-42, 10, 0]) extruder_idler_608z();
translate([-5, 25, 0]) support_strut();
translate([30, 0, 0]) axle_8mm();
nema_l=71.5;
nema_x=42;
nema_y=42;
nema_z=47.4;
screw_l=30;
insert_l=15;
module axle_8mm() {
cylinder(16,r=3.80, $fn=40);
translate([-5,-0.5... | glb/cad_a51a63a9a5a2.glb |
Create a Filament Guide clip by starting with a rectangular base measuring 40mm in length, 15mm in width, and 5mm in height. At the right end of this base, add a small rectangular extension measuring 10mm by 5mm by 5mm, positioned so it extends 5mm beyond the side of the main body. From this combined solid, remove a cy... | translate([-20,-7.5,0]){
difference(){
union(){
cube([40,15,5]);
translate([30,-5,0]){
cube([10,5,5]);
}
}
translate([7.5,7.5,0]){
cylinder(h=5,r=5);
}
translate([20,0,0]){
cube([15,10,5]);
}
}
} | glb/cad_31fc482fa662.glb |
Create a 608 Bearing V-Roller by constructing a central ring and a V-shaped profile. Start with a main body that has a total height of 7mm. Create a central cylindrical hole with a diameter of 22.05mm that passes through the entire height to accommodate the bearing.
Build the outer profile as two mirrored conical sec... | segments = 64;
w = 7;
outer_d = 30;
inner_d = 25.5;
bearing_d = 22.05;
cut = 0.75;
difference(){
difference(){
union(){
cylinder(h=w/2, r1=outer_d/2+cut, r2=inner_d/2, $fn=segments);
translate([0,0,w/2-0.0001])
cylinder(h=w/2, r1=inner_d/2, r2=outer_d/2+cut, $fn... | glb/cad_933adbe1dfed.glb |
Create a Multi-purpose Triangle Key consisting of a functional head and a handle. Start by creating the head as a cylinder with a radius of 7.6mm and a height of 10mm. Within this head, center a hole that is a Reuleaux triangle with a width of 10.2mm and a height of 10mm, rotated 30 degrees around the Z-axis.
Attached... | r = 15.2/2;
h = 10;
o = 10;
wall = 2;
module triangular() {
union() {
difference () {
cylinder(r=r, h=h);
minkowski(){
cylinder(d=9,h,$fn=3);
sphere(d=2.7,$fn=16);
}
$fn=64;
rotate([0,0,30]) linear_extrude(height = h) reul... | glb/cad_b10c85047121.glb |
Create a parametric tray with a rectangular base and flared walls. The base of the tray is a rectangle measuring 76mm in width and 60mm in height, with a floor thickness of 3mm. The tray has a total depth of 40mm.
The walls should flare outwards as they rise. At the top rim, the tray should be wider and longer than th... | tray_width = 76;
tray_height = 60;
wall_thickness = 1.5;
floor_thickness = 3;
tray_depth = 40;
offset_height = 20;
offset_width = 50;
topLeft = [0, 0, 0];
topMiddle = [0, tray_width / 2, 0];
topRight = [0, tray_width, 0];
middleRight = [tray_height / 2,tray_width, 0];
bottomRight = [tray_height, tray_width,0];
b... | glb/cad_c5b48c470932.glb |
Create a Nema 17 stepper motor model. Start with a main motor body that is a 42mm cube with a height of 40mm. The corners of this body should be rounded with a radius of 5mm. On the top face of the body, center a circular flange with a radius of 11.3mm and a thickness of 2mm.
In the center of this flange, place a cyl... | $fn=25;
module nema_17(motor_height = 40, shaft_diameter = 5.2, shaft_flat = 0.2)
{
rotate(a=90, v=[-1,0,0])
nema(motor_size = 42, motor_height = 40, shaft_diameter = 5.2, shaft_flat = 0.2);
}
nema_17();
module nema(motor_size=42, motor_height = 38, shaft_diameter = 5.2, shaft_flat = 0.2) {
difference() {
... | glb/cad_4904eb0fb33e.glb |
Create a T-slot aluminum profile slider by extruding a specific 2D profile to a height of 5mm. The profile is composed of two main sections. First, create a central rectangle measuring 2mm wide by 6mm high, centered on the X-axis at 1mm. Second, create a larger shape by joining two rectangles via a convex hull: one mea... | module t_slot_slider(length=10)
{
linear_extrude(length)
{
translate([1,0,0])
{
square([2,6], center=true);
}
hull()
{
translate([2.5,0,0])
square([1.5, 12], center=true);
translate([6,0,0])
square([0.1,... | glb/cad_58c6f53218f4.glb |
Create a nose cone for a rocket. Start by building a cylindrical shoulder with a diameter of 21.59mm and a height of 8.89mm. On top of this shoulder, add a base cylinder with a diameter of 23.81mm and a height of 9.27mm. Above the base, create a transition section as a frustum that tapers from the base diameter of 23.8... | include <Estes.scad>;
include <rocketry.scad>
$fn = 60;
h1 = 0.365;
h2 = 0.750;
td = 0.535;
h3 = 0.900;
h4 = 2.350;
cp = 0.060;
od = BT20[OD];
id = BT20[ID] - 0.004;
sh = 0.350;
ft = 0.040;
rt = 0.225;
sp = 0.200;
fw = 0.080;
cylinder (h=sh, d=id);
translate ([0, 0, sh])
cylinder (h=h1, d=od);
translate ([0, 0, sh... | glb/cad_8e83db9b8cf6.glb |
Create a Pool Vacuum Pole Connector consisting of a main cylindrical shaft and two protruding attachment tines. The main shaft is a cylinder with an outer diameter of 28mm and a length of 110mm. Cut a rectangular slot out of the bottom of this shaft that is 20mm wide and 82mm long, centered along the length of the cyli... | mm = 1;
shaftD = 28*mm;
shaftL = 110*mm;
slotW = 20*mm;
slotL = 82*mm;
springW = 8*mm;
tangSpacing = 32*mm;
tangT = 5*mm;
tangW = 22*mm;
tangL = 30*mm;
pinD = 6*mm;
$fn=64;
rotate([0,-90,0])
connector();
module connector() {
difference() {
union() {
r... | glb/cad_0329a2a3de2f.glb |
Create a Grado headphone holder by constructing a rectangular base block measuring 75mm in length, 19mm in width, and 5mm in height. Centered on the top face of this base, add the word "GRADO" in a bold, sans-serif typeface. The letters should be extruded to a height of 12mm and scaled to a total width of 160mm (4 time... | use <write.scad>
translate([0,20,-2000])scale([4,4,50])writecylinder("GRADO",[0,0,0],12,40,face="top",bold=1);
translate([0,0,-17.5])%cylinder(40,70,70);
translate([-37.5,40,-25])cube([75,19,5]); | glb/cad_7cc758967e48.glb |
Create an Arduino Clip consisting of a base holder with a total length of 59mm and a thickness of 3mm. The main body is formed by a central rail 2.5mm wide running the full length. On top of this rail, add two protruding gnubs, each 4mm wide and 3mm thick, positioned symmetrically near the ends of the rail. At both end... | length = 59;
thick = 3;
support = 2;
support_bottom = 2.5;
gnub_width = 4;
gnub_height = 5;
lever_offset = 5;
lever_length = 20;
board_height = 1.7;
width = support_bottom + gnub_height + board_height + support;
translate([width - support_bottom, -length/2, 0]) cube([support_bottom, length, thick]);
translate([suppo... | glb/cad_9797ed028905.glb |
Create an Arduino Clip consisting of a holder and a clip. For the holder, construct a rectangular frame with an outer dimension of 54mm by 70mm and a thickness of 2.5mm. The frame walls are 3mm thick. At the center of the two shorter sides, add square pads measuring 15mm by 15mm and 2.5mm thick. Each pad must have a ce... | width = 54;
height = 70;
thick = 2.5;
support = 3;
gnub_size = 5;
gnub_height = 5;
pad_size = 15;
pads = true;
screw_holes = true;
clip_gap = 3.5;
clip_length = 59 + support*2;
eps = 0.1;
translate([-width/2, -height/2, 0]) cube([width, support, thick]);
translate([-clip_length/2, height/2 - support, 0]) cube([cli... | glb/cad_4498e27fc0b1.glb |
Create a PCI low profile bracket consisting of a main plate and three attached components. Start with a flat plate 1.75mm thick. The plate's profile is a polygon defined by these vertices in the XY plane: (-13.24, 3.66), (0, 3.66), (0, 0), (66.27, 0), (66.27, 18.42), (0, 18.42), (-5, 13.54), and (-13.24, 13.54).
At X ... | A = 7.3;
B = 46.57;
C = 8.0;
M3= 2.4;
h_pci_cutout = 66.27;
module plate() {
thick = 1.75;
plug_bottom =-13.24;
board_bottom = 0.0;
w_pci_cutout = 18.42;
w_connector = 10.38;
w_margin = 3.16 + 0.5;
points = [ [plug_bottom, w_margin],
[board_bottom, w_margin],
[board_bottom, 0],
... | glb/cad_58ffd1bb0ad3.glb |
Create a Towel Holder by starting with a central rectangular block measuring 46.5mm in width, 61.5mm in depth, and 8mm in height. Remove a central square section from the block, leaving four rectangular arms extending from the center toward the edges. Within this structure, create two opposing conical holes along the d... | holderX = 46.5;
holderY = 61.5;
holderZ = 8;
thickness = 2;
minDiam = 4.87;
maxDiam = 10;
holeDiff = 19;
holeHeight = 4;
holeFullHeight = 2 * holderZ;
difference()
{
cube(size = [holderX, holderY, holderZ], center=true);
translate(v = [0,-holeDiff, (holderZ/2)-holeHeight])
{
union()
{
cylinder(h = holeHeight, r1 ... | glb/cad_9f3a1ef39d7b.glb |
Create a Towel Holder consisting of a flat, rounded rectangular frame with a central cutout. Start by constructing a solid plate with a height of 5mm, based on a trapezoidal footprint with a base width of 100mm and a top width of 150mm, both extending 90mm in depth. Apply a 10mm fillet radius to all outer edges. Remove... | $fn=25;
union()
{
difference()
{
minkowski()
{
linear_extrude(height = 5, center=true)
{
polygon( points=[[-50,0],[-75,90],[75,90], [50,0 ]] );
}
cylinder(r=10, h=1);
}
linear_extrude(height = 7, center=true)
{
polygon( points=[[-52,-4],[-77,93],[77,93], [52,-4]] );
}
translate([0,-... | glb/cad_29e74c7150c9.glb |
Create a Revolution tire stamp consisting of a thin rectangular plate with a thickness of 1mm. The plate should have rounded corners with a radius of 2mm.
On the top surface of the plate, emboss the letter "A" using a font size of 15mm. The text should be raised above the plate surface by 0.9mm.
To allow the plate t... | use <write/Write.scad>
Message="A";
corner_radius=2;
w = str(Message);
x= w[0];
text=[
x
];
charlength=0.686;
charheight=1.7;
descenderfactor=0.2;
margin=sqrt(corner_radius);
insertlength=margin;
hiddenheight=66;
maxtextchars = max(len(text[0]),len(text[1]),len(text[2]),len(text[3]),len(text[4]),len(text[5]),le... | glb/cad_51dbf43e0421.glb |
Create a ShapeOko2 X axis block with a total width of 53mm. The main body is a symmetric trapezoidal prism. The bottom face is a rectangle 114mm long and 12mm wide. The top face is a rectangle 60mm long and 7mm wide, centered relative to the bottom. The sides slope linearly to connect these two faces.
Apply a fillet r... | block_bottom_height = 12;
block_bottom_lenght = 114.0;
block_top_height = 7;
block_top_lenght = 60;
block_type = "top";
block_width = 53;
cable_chain_height = 10;
cable_chain_width = 40;
edge_radius = 1.59;
mounting_hw_space_front_legth = 60;
mounting_hw_space_front_width = 10;
mounting_hw_space_back_legth = 83;
m... | glb/cad_db6dc768d488.glb |
Create a ShapeOko2 X axis block with a total width of 53mm. The main body is a symmetric polygon with a top edge length of 60mm and a height of 35mm. The sides angle outwards at 39.6 degrees to a bottom base that is 15mm high. The bottom section is narrower than the top, with the base length being 60mm minus 10mm on ea... | angle_a = 39.6;
block_bottom_height = 15;
block_screw_dia = 4.2;
block_slot_gap = 5.25;
block_top_height = 35;
block_top_lenght = 60;
block_width = 53;
cable_chain_height = 15;
cable_chain_width = 40;
cable_chain_screw_height = 20;
cable_chain_screw_dia = 4.2;
cable_chain_screw_space = 15;
cable_chain_screw_x_offset... | glb/cad_89c568dc0f8a.glb |
Create a fractal 3D wireframe model based on a tetrahedron with a total size of 120mm and a strut thickness of 1mm.
The structure is generated through a recursive process. Start with a single large tetrahedron. In the first iteration, divide this tetrahedron into four smaller tetrahedra, each with half the side lengt... | module TetraTes( bot = [0, 0, 0], size = 180, thickness = 2, $fn = 6, iter = 1 ){
fn = $fn;
if( iter == 0 ){
Tetrahedron( bot = bot, size = size, thickness = thickness, $fn = fn );
}else{
r_0plane = size / 2 / sqrt(3);
l_0plane = r_0plane / 2;
h_slope = size / 4 * sqrt(3);
... | glb/cad_9a79b68780b0.glb |
Create a parametric pen holder consisting of a rectangular box and a series of internal slots. Construct the main outer box with an inner length of 100mm, an inner width of 60mm (based on 10 pens spaced 6mm apart), and an inner height of 10mm. The walls of this box should be 3mm thick. Leave one end of the box open.
I... | module parametric_pen_holder()
{
$fn = 100;
PEN_LENGTH = 100;
BOX_OPEN = true;
PEN_HANDLE_DIAMETER = 5;
PEN_DISTANCE = 6;
PEN_HOLDER_LENGTH = 45;
PEN_HOLDER_THICKNESS = 2;
PEN_HOLDER_DISTANCE = 1;
PEN_HOLDER_SNAP = 0.4;
NUMBER_OF_PENS = 10;
BOX_THICKNESS = 3;
BOX_INNER_LENGTH = PEN_LENGTH;
BOX_INNER_WIDT... | glb/cad_355f640066ed.glb |
Create a Stamp-o-Matic stamp consisting of a base plate and a raised pattern.
First, create a base plate with a thickness of 8mm. The footprint of this base is defined by a 2D polygon shaped like a question mark, with all outer corners rounded by a 2mm radius.
On the top surface of this base, add a raised pattern t... | input = "no_input";
stamp_width = 60;
pattern_thickness = 1.25;
base_thickness = 8;
contour_radius = 2;
module void() {}
dispo_width = stamp_width - 2*contour_radius;
points_array = (input=="no_input"? [[191, 355, 2],[1,[[97,24.44],[97,24.44],[89.32,24.33],[83.361,24.468],[74.5,25.6],[74.5,25.6],[71.229,26.43],[... | glb/cad_13309a70fb2a.glb |
Create a rectangular grid plate for a Nicer Dicer Magic Cube replacement, measuring 81.6mm in length, 76mm in width, and 2mm in height. The plate should have rounded corners with a radius of 2mm.
Within this plate, carve out a symmetrical grid of square holes. Each hole must be 4.4mm by 4.4mm, with a consistent spaci... | max_width = 76;
hole_size = 4.4;
hole_spacing = 1.6;
height = 2;
margin = 2.8;
difference(){
translate([2,2,0]) minkowski(){
$fn=50;
cylinder(r=2,h=1, true);
cube([(max_width+margin-0.2)*2-4,max_width-4,height-1]);
}
union(){
for( i = [0:11]){
for( j = [0:11]){
... | glb/cad_dda780235699.glb |
Create a Squeeze Bottle Cap consisting of a hollow, tapered cylindrical shell with a flat base. Start by creating a solid base cylinder with a diameter of 12mm and a height of 2.5mm. Centered on top of this base, add a second cylinder with a height of 10mm and an outer diameter of 9.8mm.
To create the internal cavity... | lowerInnerDiameter = 8;
lowerDiameterHeight = 10;
upperInnerDiameter = 5;
upperDiameterHeight = 2.5;
capDiameter = 12;
capHeight = 2.5;
materialThickness = 0.9;
$fn = 30;
squeezeBottleCap();
module squeezeBottleCap() {
difference() {
union() {
cylinder(h=capHeig... | glb/cad_60717d71a446.glb |
Create a Chamfercube by starting with a base cube of 10mm x 10mm x 10mm. Apply chamfers to the edges of the cube, where the chamfer depth is the perpendicular distance from the original edge to the resulting cutting plane.
For each axis (X, Y, and Z), you can specify different chamfer depths and angles for the four p... | module chamferCube(size = [10, 10, 10], chamferX = [1, 1, 1, 1], chamferY = [1, 1, 1, 1], chamferZ = [1, 1, 1, 1], angleX = [45,45,45,45], angleY = [45,45,45,45], angleZ = [45,45,45,45], center = false, cap = true) {
sizeX = size[0];
sizeY = size[1];
sizeZ = size[2];
corner2corner = sqrt( sizeX * sizeX ... | glb/cad_2dbae04f4262.glb |
Create a motor holder generator for building blocks. Start by creating a central cylindrical cutout with a radius of 18.55mm (18.5mm motor radius plus 0.05mm tolerance) and a height of 23mm. Surround this cutout with a main body that is a combination of a cylinder with a radius of 24.5mm (18.5mm motor radius plus 6mm t... | motorRadius = 18.5;
motorHolderWidth = 23.0;
motorHolderThickness = 6.0;
motorTolerance = 0.05;
screwHolderLength = 5.5;
screwHolderThickness = 8.0;
spaceBetweenHolders = 6.0;
screwTranslate = 0.0;
fischertechnikBottom = true;
fischertechnikBottomCross = true;
fischertechnikBottomCrossCenter = true;
fischert... | glb/cad_8b115d5a32fd.glb |
Create a truncated cone foot with a height of 24mm, a bottom radius of 17.5mm, and a top radius of 6.5mm. Centered vertically through the middle of the cone, remove a cylindrical hole with a radius of 2.5mm. Additionally, create a wider counterbore hole at the top of the cone with a radius of 6mm and a depth of 6mm, wh... | height = 24;
bottom_radius = 35/2;
top_radius = 13/2;
screw_hole = 5/2;
screw_head = 12/2;
thickness = 6;
difference() {
cylinder(height, top_radius, bottom_radius);
cylinder(height*3, r=screw_hole, center=true);
translate([0, 0, thickness])
cylinder(height, r=screw_head);
} | glb/cad_d8c092338b40.glb |
Create a Word Tile Game travel tile by starting with a square slab that is 12.67mm wide, 12.67mm deep, and 5mm thick. Round the four vertical corners of this slab with a radius of 2mm. Centered on the top face, engrave the capital letter "S" into the slab to a depth of 2mm. The letter should be sized at 12.5mm and styl... | width=19;
height=5;
sz=width-height;
weewidth=width*2/3;
rad=2;
engrave=rad;
module weetile(letter) {
scale(2 / 3)difference() {
linear_extrude(height = height, center = true)offset(r = rad)square(width - 2 * rad, center = true);
linear_extrude(height = height)text(text = letter, size = 12.5, halig... | glb/cad_c266e208fed6.glb |
Create a Parametric Bowden Connector Plug by revolving a specific profile around a central vertical axis with a resolution of 120 facets. The resulting object is a series of concentric cylinders and chamfers.
Starting from the top, create a narrow central cylinder with a diameter of 2.42mm and a height of 20mm. The ve... | WireHoleDiameter = 2.42;
BowdenHoleDiameter = 4.42;
BowdenHoleDepth = 8.1;
ConnectorHeight = 20.0;
BowdenHoleChamferDepth = 0.4;
KnobStickout = 10.0;
KnobDiameter = 10.12;
TipChamfer = 0.8;
KnobChamfer = 1.2;
WireHoleRadius = 0.5 * WireHoleDiameter;
BowdenHoleRadius = 0.5 * BowdenHoleDiameter;
KnobRadius =... | glb/cad_203ff17ce8e0.glb |
Create a parametric hose coupler consisting of two identical, mirrored rotational components joined at a central ring. Each half is a revolved profile with a wall thickness of 1.2mm.
Starting from the center and moving outward, the profile begins with a central inner bore of 8mm. This bore extends into a series of ri... | A_InnerDiameter = 8.0;
A_OuterDiameter = 11.0;
A_DentHeight = 0.6;
B_InnerDiameter = 8.0;
B_OuterDiameter = 11.0;
B_DentHeight = 0.6;
Thickness = 1.2;
module HoseConnection(innerDiameter, outerDiameter, couplingInnerDiameter,
couplingOuterDiameter, dentHeight, thickness) {
InnerRadius ... | glb/cad_007c74cdb25b.glb |
Create a round tray with a decagonal cross-section by extruding a 10-sided polygon. The tray should have a flat base with a radius of 30mm and a top opening with a radius of 40mm, reaching a total height of 25mm. The walls and the floor must both have a uniform thickness of 1.5mm. To achieve this, construct the outer s... | bottom_radius = 30;
top_radius = 40;
tray_depth_mm = 25;
sides = 10;
wall_thickness = 1.5;
floor_thickness = 1.5;
center_outer = [0, 0];
bottom_outer = [bottom_radius, 0];
top_outer = [top_radius, tray_depth_mm];
top_inner = [top_radius - wall_thickness, tray_depth_mm];
bottom_inner = [bottom_radius - wall_thickn... | glb/cad_f40735ba0f46.glb |
Create a Printable Sumo Bot Jr side panel. Start with a flat plate of material 4mm thick. The main body is a rectangle 80.5mm long and 63.5mm wide.
On the left side, add a triangular ramp extension that slopes down from the full height of the panel to the base, with the ramp angle set at 80 degrees.
Cut a rectangul... | curved_shovel = 1;
material_thickness = 4;
battery_case_height = 16;
servo_height = 21.5;
servo_length = 42.5;
sled_length = 80.5;
sled_width = 63.5;
tab_edge_distance = 5;
tab_spacing = 0.75;
tab_length = 10;
ramp_angle = 80;
shovel_width = 90;
shovel_height = 45;
shovel_side_height = 20;
ziptie_height = 5;
ziptie_w... | glb/cad_dde02cb4eea7.glb |
Create a universal mobile phone stand starting with a rectangular base measuring 70mm wide, 86mm long, and 3mm high. At the rear edge of the base, attach a back support panel that is 70mm wide, 3mm thick, and 110mm long, tilted forward at a 23-degree angle. At the front of the base, add a front lip that is 70mm wide an... | base_width = 70;
base_length = 86;
base_height = 3;
cube([base_width,base_length,base_height]);
back_length = 110;
back_thickness = 3;
back_angle = 23;
translate([0,base_length,0])
rotate(back_angle,[1,0,0])
cube([base_width,back_thickness,back_length]);
front_length = 62;
front_thickness = 3;
front_transY = sin(ba... | glb/cad_9be730a0dc1c.glb |
Create a Block Holder Car Adaptor consisting of two main rectangular sections joined together. First, create a back part as a rectangular block 51mm wide, 50mm high, and 20mm deep. Attached to the center of this back part, add a support block that is 20mm wide, 20mm deep, and 80mm high.
Extend the model forward by ad... | BACK_PART_WIDTH=51;
BACK_PART_HEIGTH=50;
BACK_PART_DEPTH=20;
FRONT_PART_WIDTH=120;
FRONT_PART_HEIGTH=80;
FRONT_PART_DEPTH=10;
SLOT_WIDTH=FRONT_PART_WIDTH-10;
SLOT_HEIGTH=FRONT_PART_HEIGTH;
SLOT_DEPTH=1;
BACK_PART_SUPPORT_WIDTH=20;
BACK_PART_SUPPORT_HEIGTH=FRONT_PART_HEIGTH;
BACK_PART_SUPPORT_DEPTH=BACK_PART_DEPTH;
PEN_... | glb/cad_94bb2c09a43c.glb |
Create a Floyd Rose Tremolo Tuning Wedge by constructing a series of six stacked rectangular prisms. Each prism must have a length of 25mm and a height of 3mm. The prisms should be stacked along the Y-axis, with each subsequent layer shifted to create a stepped wedge profile. The first layer at the bottom should have a... | blockWidth = 10;
blockLength = 25;
stepHeight = 1;
runHeight = 3;
for(i=[0:stepHeight:5])
translate([0,i * runHeight,0])
cube ([i + blockWidth,runHeight,blockLength]); | glb/cad_419bf0acbf3d.glb |
Create a rabbeted box consisting of six rectangular panels, all with a thickness of 5mm. The overall outer dimensions of the assembled box are 70mm wide, 40mm long, and 20mm high.
Construct the front and back panels as rectangles 70mm wide and 20mm high. From each of these panels, remove a 5mm wide by 5mm deep notch (... | PARTNO = "0";
diameter=3.175;
partspacing=4;
thickness = 5;
width = 70;
height = 20;
length = 40;
conversionfactor = 1*1;
cwidth = width*conversionfactor;
clength = length*conversionfactor;
cheight = height*conversionfactor;
cthickness = thickness*conversionfactor;
cbottomlidthickness=thickness*conversionfactor... | glb/cad_326907ccdc14.glb |
Create a 3D model of the XJets Outlaw250 RC airplane.
Start with the main wing, a flat plate 600mm wide by 160mm deep and 5.8mm thick. Cut a "bowtie" shaped propeller slot in the center leading edge; the cutout should be 140.8mm wide (1.1 times the propeller diameter) and vary in depth from 26.8mm at the front to 16.... | use <motor_mount.scad>;
view_mode = "airplane";
foam_t = 5.8;
cg = 32;
fudge = 0.05;
fudge2 = 2 * fudge;
fudgez = [0, 0, -fudge];
$fa = 1;
$fs = 1;
inch = 25.4;
chamfer = 25;
chamfer_s = 15;
wing_span = 600;
wing_cord = 160;
wing_kf = wing_cord / 2;
aileron_w = 25;
aileron_l = 220;
fuse_w = 55;
fuse_h = 60;
... | glb/cad_1f66c1b022e3.glb |
Create a motor and antenna mount for an RC airplane. Start with a main back plate that is a cube 44.4mm wide, 44.4mm high, and 2.5mm thick, centered on the X and Z axes. On top of this plate, add four conical screw bosses. Each boss has a base diameter of 6mm and tapers to a top diameter of 8mm over a height of 2.5mm. ... | fudge = 0.05;
fudge2 = 2 * fudge;
fudgez = [0, 0, -fudge];
$fs = 0.5;
$fa = 1;
center_d = 11;
center_h = 2.5;
plate_t = 2.5;
plate_screw_circle = 35;
x_plate_l = 43;
x_plate_t = 3;
x_plate_spoke_w = 8;
x_plate_inner_d = 24;
screw_d = 3.3;
screw_d_thread = 2.8;
screw_head_d = 7;
screw_offset16 = 16 / 2;
screw_offse... | glb/cad_2d0528b5b12e.glb |
Create an antenna mount consisting of a base plate and a cylindrical clamp. Start with a rectangular base plate measuring 20mm by 20mm with a thickness of 0.3mm. On one side of this plate, add a rectangular side wall that is 7.3mm wide, 7.3mm deep, and 8mm high.
Attached to this wall, create a cylindrical clamp with ... | use <MCAD/2Dshapes.scad>
fudge = 0.05;
fudge2 = 2 * fudge;
fudgez = [0, 0, -fudge];
$fa = 1;
$fs = 0.5;
antenna_d = 5.3;
h = 8;
wall_t = 1;
brim = 20;
brim_t = 0.3;
outer_d = antenna_d + 2 * wall_t;
difference() {
union() {
linear_extrude(h)
donutSlice(antenna_d/2, outer_d/2, -120, 120 );... | glb/cad_e248c4c191e0.glb |
Create a dart rack consisting of three identical cylindrical chambers aligned in a row. Each chamber is a cylinder with a diameter of 8mm and a height of 25mm. Drill a small vertical hole with a diameter of 1.3mm through the center of each cylinder.
Connect these three cylinders using a mounting plate that is 5mm thic... | $fs = 0.1;
$fa = 5;
dart_distance_from_center_to_wall = 12;
chamber_dia = 8;
chamber_dist = 34;
chamber_height = 25;
chamber_hole_dia = 1.3;
chamber_count = 3;
mount_height = 13;
mount_thickness = 5;
mount_hole_dia = 3;
surface_blend_fudge = 0.95;
mount_setback = dart_distance_from_center_to_wall - mount_thickness;
... | glb/cad_6eb43ba59bbe.glb |
Create a parametric involute spur gear with the following specifications:
The gear has 15 teeth with a circular pitch of 700mm and a pressure angle of 28 degrees. The main gear plate has a thickness of 12mm, while the rim is 15mm thick and the hub is 17mm thick. The hub diameter is 15mm and the central bore diameter i... | bevel_gear_pair ();
pi=3.1415926535897932384626433832795;
module bevel_gear_pair (
gear1_teeth = 41,
gear2_teeth = 7,
axis_angle = 90,
outside_circular_pitch=1000)
{
outside_pitch_radius1 = gear1_teeth * outside_circular_pitch / 360;
outside_pitch_radius2 = gear2_teeth * outside_circular_pitch / 360;
pitch_ape... | glb/cad_d4a82b05cb64.glb |
Create a Simple Hole Test Pattern by starting with a rectangular base measuring 90mm in length, 10mm in width, and 1mm in height. Along the center line of the width, create a series of seven circular holes. Position the first hole 11mm from the left edge and space each subsequent hole at 11mm intervals. The holes shoul... | difference ()
{
cube ([90, 10, 1]) ;
for (n = [1:7])
{
translate ([n * 11, 5, -1])
cylinder (h = 4, r = n * 0.5) ;
}
} | glb/cad_de6fb4c85df8.glb |
Create a Y-Motor Mount consisting of a rectangular base plate and an angled support wall. Start with a base plate measuring 80mm x 40mm x 5mm. In this base, create four vertical holes with a diameter of 5.5mm, positioned at the corners and mid-points to secure the mount.
Construct an angled support wall that rises fro... | module slopeBottom() {
slopeBthickness = 4;
slopeBoffset = 3.65;
hull() {
translate([-33.7,slopeBoffset,0]) cube([80,slopeBthickness,5]);
translate([-6.2,slopeBoffset,42.3]) cube([5,slopeBthickness,5]);
}
}
module slopeMotor() {
hull() {
translate([-6.2,3.15,42.3]) cube([5,5... | glb/cad_5cc67ac2e894.glb |
Create two identical dishwasher tine brackets, each based on a central block 16mm wide, 12mm deep, and 10mm high. For each bracket, center the block on the origin. Add two 2-sided polygonal prisms (diamond-shaped) with a radius of 6mm and a height of 16mm, positioned at the top and bottom edges along the Y-axis (at Y=8... | module screw_nut(diameter)
{
rotate ([0,0,0])
translate ([0, 0, -5]) {
cylinder (h=11, r=diameter/2, $fa=2, center = true);
}
translate ([0, 0, 5]) {
cylinder (h=11, r=5, $fa=60, center = true);
}
}
module bracket(x)
{
di... | glb/cad_e53d1b4e6aab.glb |
Create a wine charm shaped like a folding fan. The fan consists of a series of identical pleated panels radiating from a central point. Each panel is a thin, folded geometric shape that, when scaled by 15mm, creates a pleated effect. Arrange these panels in a sequence, rotating each one by 10 degrees around the center,... | $fn = 100;
frad = 15;
fangle = 75;
bangle = 10;
cb = cos(bangle);
sb = sin(bangle);
ringrad = 0.15 * frad;
ringheight = 0.05 * frad;
module fanfold() {
polyhedron(points = [ [0,0,0],[sb,cb,0],[-sb,cb,0],[0,1,sb/2] ],
faces = [ [0,3,1],[0,2,3],[0,1,2],[1,3,2] ] );
}
for (a = [-fangle:bangle:fangle]) {
rotate([0,... | glb/cad_e86cb4a52d11.glb |
Create a guitar-shaped wine charm. Start with the guitar body as a flat, extruded organic shape 15mm long and 3mm thick. At the base of the body, centered on the x-axis, create a small circular hole with a diameter of 1.8mm and a depth of 0.3mm.
Extend a rectangular neck from the top of the body, 10.5mm long, 2.25mm ... | bodylength = 15;
bodyheight = 0.2 * bodylength;
neckwidth = 0.15 * bodylength;
necklength = 0.7 * bodylength;
neckthick = 0.1 * bodylength;
headwidth = 0.2 * bodylength;
headlength = 0.25 * bodylength;
shdiameter = 0.12 * bodylength;
shdepth = 0.02 * bodylength;
shx = 0.6 * bodylength + shdiameter/2;
ringrad = 0.15 * b... | glb/cad_dbcdfb1664e3.glb |
Create a windmill wine charm by constructing a tower and a separate set of blades. For the tower, create a cylinder with a radius of 5mm and a height of 10mm. Add a conical cap on top of the cylinder with a height of 5mm, tapering from the 5mm base radius to a point. At the top of the cap, attach a vertical ring with a... | towerheight = 10;
towerradius = 0.5 * towerheight;
topheight = 0.5 * towerheight;
bladelength = 0.9 * towerheight;
bladewidth = 0.3 * towerheight;
bladethick = 0.1 * towerheight;
ringrad = 0.15 * towerheight;
ringthick = 0.15 * towerheight;
module wind_blade() {
translate([0,-bladewidth/6,0])
cube([bladelength,blade... | glb/cad_b3170b5c3006.glb |
Create a power supply mounting bracket with a base plate and two vertical side walls. The base plate is a rectangular slab 82.5mm long, 24mm wide, and 5mm thick. The two side walls are 20mm wide and 5mm thick, positioned at opposite ends of the base plate and oriented vertically.
On the outer face of each side wall, c... | module fillet_xyz(x,y,z)
{
hyp=sqrt((y+2)*(y+2) + (z+2)*(z+2));
ang = atan2(z,y);
angshift = atan2(z+2,y+2);
clip = 5;
intersection ()
{
translate ([0,-clip,0]) {
cube(size=[x,y-2*clip,z], center=true);
}
translate ([0,0,0])
rotate ([90-ang,0,0])
translate ... | glb/cad_e61986047cda.glb |
Create a headphone holder consisting of a main structural body and a cylindrical support arm. Start by creating a horizontal rectangular base measuring 60mm in length, 29mm in width, and 2mm in height. Attach a vertical L-shaped support structure to the left end of this base; this support consists of a vertical wall 2m... | $fn=300;
headphoneholder();
module cornerengrade(x,y,z)
{
cube([x , y ,z]);
}
module headphoneholder()
{
mainthick = 2 ;
thickness = 25 ;
bordertop = 15 ;
borderleft = 14 ;
toplength = 60 ;
leftlength = 80 ;
armlength = 50;
armthick = 14;
text="MYTEXT";
translate([4,... | glb/cad_1d3a4b3a9ec5.glb |
Create a wind vane consisting of a base, a central shaft, and a rotating hub with three cones. Start by creating a circular base 40mm in diameter and 5mm thick, with a 3.2mm diameter hole passing vertically through the center. For the hub, create a central assembly that fits over the shaft, consisting of a 10mm diamete... | module cone(){
difference(){
cylinder(30,15,0);
cylinder(25,12.5,0);
};
translate([-5,12.5,0])cube([10,50,2.5]);
};
module h(){
difference(){
translate([-3.75,0,0])cube([7.5,20,15]);
translate([-1.75,5,2])cube([3.5,20,20]);
};
};
module 3h(){
h();
rotate(120)h();
rotate(240)h();
};
module hub(){
differen... | glb/cad_d5535393e967.glb |
Create a Customizable Dominion Card Box consisting of a main box, a cover, and removable dividers.
For the main box, create a rectangular container with a base and walls 2mm thick. The interior should accommodate cards 51mm wide and 91.5mm high. Set the wall height to 45mm. Along the two longer walls, create 14 evenl... | slots = 15;
boxpart(4);
module boxpart(partnum)
{
if (partnum ==1 )
{
box(slots);
} else {
if (partnum == 2)
{
cover(slots);
} else {
if (partnum == 3)
{
slot();
} else {
translate([0.1,cardtolerance/2,0.5])card();
box(slots);
translate([5+... | glb/cad_e373cc14bef5.glb |
Create a remote control holder by starting with a solid rectangular block measuring 68mm wide, 31.2mm deep, and 23mm high, positioned with its base 3mm below the origin. Hollow out the center to create a shell with 1.5mm thick walls. The interior cavity should be 65mm wide, 28.2mm deep, and 13mm high, starting 1.5mm fr... | $fn=100;
difference(){
translate([0,0,-3])cube([68,31.2,23]);
translate([1.5,1.5,1.5])cube([65,28.2,13]);
translate([1.5,-2,5])cube([65,35,10]);
rotate([0,45,0])translate([6,-3,50])cube([26,35,26]);
rotate([0,45,0])translate([-27,-3,16])cube([26,35,26]);
translate([12,-2,13])cube([45,35,26]);
translate([1.5,-2,... | glb/cad_9e23b5169318.glb |
Create a skiing outrigger string guide by starting with a main cylindrical base that has an outer diameter of 31mm and a height of 19mm. Hollow out the center of this cylinder with a concentric hole 26mm in diameter to create a ring. Flatten the bottom of this ring by removing the lower half of the cylinder with a rect... | in_diam = 26.0;
out_diam = 31.0;
clip_depth = 19.0;
rise_thickness = out_diam;
rise_depth = 5.10;
rise_height = 18.0;
cube_len = 2 * clip_depth;
hole_diam = 6.0;
hole_height = rise_depth + 2;
rivet_diam = 5.0;
rivet_height = out_diam - in_diam +4;
$fn = 80;
difference() {
union() {
cylinder(clip_depth, d =... | glb/cad_207876bab579.glb |
Create a SoapHolder consisting of a series of rectangular bars arranged in a grid. First, construct seven parallel vertical bars, each measuring 5mm by 50mm by 15mm, centered along the X-axis. Position these bars at X-coordinates of -24, -12, 0, 12, and 24, with the bars at -36 and 36 being shorter, measuring 5mm by 30... | module soapHolder()
{
translate([-36,0,0])
cube(size = [5,30,15], center = true);
translate([-24,0,0])
cube(size = [5,50,15], center = true);
translate([-12,0,0])
cube(size = [5,50,15], center = true);
translate([0,0,0])
cube(size = [5,50,15], center = true);
translate([12,0,0])
cube(size = [5,50,15], ce... | glb/cad_c52487a9e98d.glb |
Create a HOTAS switch label consisting of two separate plates, each 1mm thick.
The upper plate is a rectangle measuring 42.7mm by 90.4mm. Subtract four circular holes with a diameter of 10mm, positioned symmetrically to accommodate switches. Additionally, subtract four smaller screw holes with a diameter of 3.7mm, lo... | part = "both";
ground_plate_thickness=1;
corner_radius = 1;
switch_hole_diameter = 20;
engraved_text = false;
text_thickness = 0.5;
text_separator="yes";
upper_switch_text_1 = "Galaxy";
upper_switch_text_2 = "Sector";
upper_switch_text_3 = "RNG +";
upper_switch_text_4 = "RNG -";
upper_switch_text_5 = "Chaff";
uppe... | glb/cad_3bd28579e07b.glb |
Create a Customizable Phone Stand by constructing a wedge-shaped support structure with a total depth of 70mm. The base is a flat rectangular plate. From this base, two symmetrical arms rise upward and lean back at an angle to cradle a device.
The space between these two arms is a slot 12.5mm wide (calculated as the ... | Phone_width = 9;
Front_face_length = 50;
l = Front_face_length;
w = Phone_width + 3.5;
$fn = 100;
S1 = [7.5,0];
S2 = [5.725978,8.423497];
S3 = [38.048381,70.514256];
R1 = [S3[0]+l*sin(25),S3[1]-l*cos(25)];
S4 = [R1[0]+3.32231512,R1[1]-1.20922381];
S5 = [R1[0]+3.89751154,R1[1]+3.47245299];
R2 = [S4[0]+w*cos(25),S4[1]... | glb/cad_dd29d296814e.glb |
Create a keychain ID tag by starting with a base plate in the shape of a rounded rectangle measuring 11mm in length, 7mm in width, and 0.3mm in thickness, with corner radii of 2mm. Centered on top of this base, add the text "KEY" using a futuristic, sans-serif font. The letters should be extruded to a height of 5mm and... | use <write/write.scad>
Your_Text="KEY";
Text_Size =5;
Text_Font ="orbitron.dxf";
Text_Rotate =0;
roundedRect([11, 7, 0.3], 2, $fn=40);
module roundedRect(size, radius)
{
x = size[0];
y = size[1];
z = size[2];
linear_extrude(height=z)
hull()
{
translate([(-x/2)+(radius/2), (-y/2)+(radius/2), 0])
circle(r=ra... | glb/cad_99d30a4f0199.glb |
Create a garden parasol end-cap replacement. Start by creating a base rectangular plate measuring 22mm wide by 36mm long with a thickness of 3mm, centered on the origin. Along the length of this base, create two parallel rows of 8 small cylindrical holes, each with a radius of 1.5mm and a height of 4mm. These holes sho... | wallthickness=3;
radius = 10;
length = 36;
$fn = 90;
part();
module part()
{
union()
{
translate([0,length/2,wallthickness/2+radius]) rotate([90]) difference()
{
translate([0,0,0.1])
teardrop(radius+wallthickness,length);
teardrop(radius,length-wallthickness-2);
}
difference()
{
cube([22,36,3],center=true);... | glb/cad_175fff4baf09.glb |
Create a robust mount for an E3D Titan extruder motor. Start by constructing a main rectangular box with a width of 52.5mm, a height of 47.5mm, and a depth of 63mm. Hollow out the center of this box to create a cavity for the stepper motor, leaving walls 5mm thick. The cavity should start 3mm from the front face. At th... | SUBSTRACT_ERROR_MARGIN = 0.0001;
front_spacing = 3;
wall_thickness = 5;
stepper_edge = 42.5;
stepper_depth = 60;
stepper_circle_radius = 11.1;
stepper_screw_spacing = 31;
stepper_screw_radius = 1.5;
mount_thickness = 7;
mount_width = stepper_edge + 50;
mount_depth = 20;
mount_offset_depth = 0;
mount_screw_spa... | glb/cad_02d287323c8b.glb |
Create a hot air nozzle holder by starting with a rectangular block measuring 149mm in length, 32mm in width, and 12mm in height, ensuring all edges are rounded with a 3mm radius. Carve four identical cutout slots into the top surface of the block, spaced evenly along the length. Each cutout consists of a semi-cylindri... | l = 149;
w = 32;
h = 12;
$fn = 40;
module ausschnitt(x,y){
union(){
translate([x,y,1]) cylinder(r=25/2,h=20);
translate([x-(25/2-3.5),y-18,1])cube([20,12,12]);
}
}
module block_with_round_edges(l,w,h){
minkowski()
{
translate([3,3,0]) cube([l-1,w,h]);
cylinder(r=3,h=1);
}
}
difference(){
block_with_roun... | glb/cad_807760d9d49a.glb |
Create a keyboard switch tray by extruding a specific 2D profile to a height of 154mm. The profile is a thin-walled container designed to hold switches with a housing size of approximately 15.6mm.
The base of the tray should be a rectangle roughly 14mm wide, with walls that rise vertically to create a slot. The inter... | tray_length = 154;
linear_extrude(height = tray_length, center = false, convexity = 10) tray();
module tray() {
bezier_polygon([[[366.06086, -510.12609], [366.06086, -510.12609], [366.06086, -510.92613], [366.06086, -510.92613]], [[366.06086, -510.92613], [366.06086, -510.92613], [363.66092, -510.92613], [363.660920... | glb/cad_a4b0b9f96622.glb |
Create a furniture inlet for a tubular foot by constructing two stacked cylinders. First, create a base cylinder with an outer diameter of 40.7mm and a height of 4mm. On top of this base, centered vertically, place a second cylinder with a diameter of 37.6mm and a height of 10mm. Finally, remove a coaxial cylindrical c... | inner = 37.6;
outer = 40.7;
height = 4;
innerHeight = 10;
thick = 3;
$fn = 64;
difference () {
union () {
cylinder (height, outer/2, outer/2);
translate ([0,0,height]) cylinder (innerHeight, inner/2, inner/2);
}
translate ([0,0,height]) cylinder (innerHeight, inner/2-thick, inner/2-th... | glb/cad_fc389f27a8c7.glb |
Create a 3D fractal H-tree structure consisting of recursive branching rods. Start with a central seed rod that is 16mm long with a radius of 1mm. At each end of this rod, create two smaller child rods. Each child rod must be scaled down to 80% of the size of its parent.
Position the children so they originate from th... | levels = 8;
$fn = 8;
module branch() {
color([0.25, 0.75, 0.75])
cylinder(h=16,r=1, center=true);
}
module tree(level) {
branch();
if (level > 0)
for (side = [-1:2:1])
translate([0, 0, side * 8])
rotate(180 + side * 90)
rotate(90, [1, 0, 0])
scale(0.8)
tree(level-1);
}
rotate(360*$t, [0.25, 0.5, 1])
tree... | glb/cad_028aa94ff1eb.glb |
Create a Parametric Hole Calibration plate by starting with a rectangular base measuring 72mm by 72mm with a thickness of 5mm. Within this base, create a 5x5 grid of circular holes that pass completely through the plate. The holes should be spaced 12mm apart from each other in both the X and Y directions, with the firs... | start = 0.2;
incr = 0.2;
dx = 12;
difference()
{
translate([-dx,-dx,0]) cube([6*dx,6*dx,5]);
union()
{
for(x=[0:4])
for(y=[0:4])
translate([x*dx,y*dx,0])
cylinder(h = 20, r = start+x*incr+y*5*incr, $fs=0.5);
}
} | glb/cad_1c688c97f56c.glb |
Create a customizable storage box and lid based on a star-shaped polygon defined by the points [[0, 23.8], [20.2, 38.5], [12.5, 62.2], [32.7, 47.6], [53, 62.2], [45.2, 38.5], [65.5, 23.8], [40.5, 23.8], [32.7, 0], [25, 23.8]]. Scale these coordinates by a factor of 2.
To construct the box, extrude the scaled polygon t... | part = "both";
myvector=[[0,23.8],[20.2,38.5],[12.5,62.2],[32.7, 47.6],[53,62.2],[45.2,38.5],[65.5,23.8],[40.5,23.8],[32.7,0],[25,23.8]];
scalefactor=2;
myscaledvector=myvector*scalefactor;
depth=40;
base=2;
wall=2;
liddepth=2;
lipdepth=4;
lipwidth=2;
clearance = 0.4;
module doshape(depth1,depth2){
difference... | glb/cad_141b4cbfee8d.glb |
Create a camera holder for a Quelima SQ11 by starting with a solid rectangular base measuring 15mm wide, 15mm deep, and 37mm high. Position this base so its center is at x=19.5 and y=4.25. From this base, remove a rounded cubic volume measuring 23.7mm in all dimensions, where the corners are rounded with a 2mm radius. ... | $fn=100;
module kooc($x,$y,$z,$r){
translate([$r,$r,$r]){
hull(){
translate([0,0,0])sphere(r=$r);
translate([$x-$r*2,0,0])sphere(r=$r);
translate([0,$y-$r*2,0])sphere(r=$r);
translate([$x-$r*2,$y-$r*2,0])sphere(r=$r);
translate([0,0,$z-$r*2])sphere(r=$r);
translate([$x-$r*2,0,$z-$r*2])sp... | glb/cad_6142414845f7.glb |
Create a CNC pen holder consisting of two identical plates, each 3mm thick.
Start with a base plate that is 35.5mm wide and 67.3mm tall. Round the corners with a 5mm radius. On this plate, place four circular bolt holes with a radius of 3.05mm. These holes should be positioned symmetrically: two along the X-axis at 2... | use <../MCAD/2DShapes.scad>
boltDisX = 25.5;
boltDisY = 47.3;
boltR = 6.1/2;
padding = 5;
penR = 12/2;
penGapW = 10;
penGuideH = 50;
width = boltDisX+boltR*2+padding*2;
topHeight = (boltDisY+boltR*2+padding*2);
height = topHeight+penGuideH;
penGapY = topHeight/2;
penGapH = topHeight-penGapY+penGuideH;
tieWrapHoleW = 2... | glb/cad_596fd88afe56.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.