Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Filament Changer Stress Test Tower by constructing a series of stacked rectangular prisms. The overall tower must have a square footprint of 10mm by 10mm and a total height of 20mm. Build the tower using individual layers, each with a thickness of 0.45mm (calculated as three layers of 0.15mm each). These layer... | _width = 10;
_depth = 10;
_height = 20;
_colors = 2;
_layers = 3;
_thickness = 0.15;
_stl = 0;
numLayers = _height / _thickness / _layers;
for (i = [0: numLayers])
{
z = i * _thickness * _layers;
if ( (i % _colors) == _stl)
{
translate([0, 0, z])
cube([_width, _depth, (_thickness ... | glb/cad_4d534ce267af.glb |
Create a Customizable Spool Holder consisting of two concentric cylindrical sections. First, create a wide base cylinder with a diameter of 50mm and a height of 3mm. On top of this base, center a second cylinder with a diameter of 45mm and a height of 7mm.
To finish the part, remove a central vertical core to create ... | inner_diameter = 45.0;
bearing_style = 1;
bearing_fit = 11.2;
inner_rad = inner_diameter/2;
outer_diameter = inner_diameter + 5;
outer_rad = outer_diameter/2;
difference() {
union() {
cylinder(3,outer_rad,outer_rad,false,$fn=360);
translate ([0,0,3]) {
cylinder(7,inner_rad,inner_rad,f... | glb/cad_399bf5471f1d.glb |
Create a Moon Lithophane Table Lamp consisting of two main parts: a spherical moon shell and a decorative base.
First, create a hollow sphere with an outer diameter of 149.46mm. The shell thickness should be approximately 2mm. Remove a circular section from the bottom of the sphere to create an opening with a radius o... | use <scad-lib-FDMscrews/lib-FDMscrews.scad>
use <hexagon-textured-cylinder.scad>;
moon_radius = 149.46/2;
base_radius = 100/2;
nut_radius = 58/2;
hole_radius = 28.5/2;
hq=128;
%color("#e0e0e0f8")
intersection() {
translate([0, 0, 75-5.86]) difference() {
sphere(r=75, $fn=hq);
union() {
... | glb/cad_db1ae41a1d8b.glb |
Create a straight toy track piece with a total length of 150mm, a width of 39.7mm, and a height of 12mm. The main body is a rectangular slab with a longitudinal channel carved out of the center to create two parallel rails. The cross-section of this channel is defined by a profile that is 12mm high at the outer edges, ... | straight=true;
curve=false;
curve2=false;
curve3=false;
curve4=false;
crossings=0;
crossings45=0;
crossings135=0;
straight2=false;
straight3=false;
lswitch=false;
lswitch2=false;
rswitch=false;
rswitch2=false;
end1="hollow";
end2="knob";
end3="knob";
end4="hollow";
end5="knob";
straight_length = 150;... | glb/cad_8cf2119933fa.glb |
Create a BL-touch mount for a direct drive extruder consisting of two identical mirrored brackets. For each bracket, start with a rectangular base measuring 12mm wide, 45mm long, and 4mm thick. Rotate this base 45 degrees on the Z-axis.
On each base, create two sets of aligned holes centered along the length. Positio... | $fn=60;
difference()
{union()
{
rotate([0,0,-45]) difference()
{cube([12,45,4],center=true);
translate([0,10,0]) cylinder(d=3.5,h=10,center=true);
translate([0,-10,0]) cylinder(d=3.5,h=10,center=true);
translate([0,10,1]) cylinder(d=6,h=3,center=true);
translate([0,-10,1]) cylinder(d=6,h=3,center=true);
translate([-6,-... | glb/cad_1b5120752340.glb |
Create a Cable Rack by starting with a solid rectangular block 120mm wide, 40mm deep, and 20mm high. Hollow out the center of the block to create a container with walls 3mm thick, leaving the bottom intact. Along the top edge of the front wall, create a series of rectangular slots 2.75mm wide, spaced every 10mm across ... | width = 120;
depth = 40;
height = 20;
wallThickness = 3;
slotWidth = 2.75;
slotInterval = 10;
holeDiameter = 3;
holeInterval = 20;
cableRack();
module cableRack() {
difference() {
translate([0,0,0])
cube([width, depth, height], center=true);
... | glb/cad_a76df6cf509e.glb |
Create a wavy business card holder by extruding a specific 2D profile vertically to a total height of 100mm. The profile consists of a continuous line with a thickness of 0.8mm that connects four coordinate points: starting at [-25, 0], moving to [0, 50], then to [25, 0], and ending at [35, 5].
As the shape is extrud... | POINTS = [
[-25, 0], [0, 50], [25, 0], [35, 5]
];
line_w = 0.8;
ofs_y = 0;
wavy_y = 0.05;
waves_y = 3;
wavy_x = 0.05;
waves_x = 3;
module line(points, width) {
for(i = [1:len(points)-1]) {
hull() {
translate(points[i-1]) circle(d=width);
translate(points[i]) circle(d=width);
... | glb/cad_6a370bc658b9.glb |
Create an idler pulley holder consisting of a flat rectangular base and two upright supporting walls. The base should be a rectangular plate with a thickness of 3mm and a total width of 23.15mm.
Position two vertical walls on opposite sides of the base. These walls are trapezoidal in profile, tapering from a width of... | wd = 3;
breite= 11.15;
d = 30;
bohrung = 8;
schraube=5;
innenb=7;
rollenfreiraum = 4;
$fn = 80;
rollenhalter(wd = wd, breite= breite,d = d, bohrung = bohrung, schraube=schraube,innenb=innenb,rollenfreiraum=rollenfreiraum);
module rollenhalter(wd = 3, breite= 11.15,d = 30, bohrung = 8, schraube=5, innenb=7, rollenfre... | glb/cad_f9171ec8a145.glb |
Create a Planter Drip Pan by starting with a main cylinder 150mm in diameter and 12mm in height, featuring a rounding radius of 3mm on the edges. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 138mm and a height of 6.1mm, positioned 6mm from the base. On the bottom s... | include <BOSL2/std.scad>
include <Buildbox/buildbox.scad>
$fs=0.4;
$fa=1;
GRID = false;
BED = false;
union() {
difference() {
cyl(d=150,h=12,rounding=3,center=false);
translate([0,0,6])
cyl(d=138,h=6.1,center=false);
translate([0,0,-0.1])
linear_extrude(0.3)
rotate([180,0,90])
color("bl... | glb/cad_284cb442a792.glb |
Create a coffee cup by starting with a main cylindrical body that has a radius of 50mm and a height of 50mm. On top of this body, add a tapered lip created from a cylinder that transitions from a 50mm radius at the bottom to a 40mm radius at the top over a height of 10mm. Hollow out the center of the entire structure b... | difference(){
union(){
cylinder(r=50, h=50);
translate([65, 0, 25]) {
rotate([90, 0, 0]) {
difference() {
cylinder(r=25, h=15);
translate([0, 0, 7.5]) {
cylinder(r=10, h=30);
}
... | glb/cad_34c5502d2421.glb |
Create a set of scone cutters in three different diameters: 50mm, 60mm, and 70mm, with a fourth at 80mm. Each cutter must be 30mm tall and double-sided, featuring one smooth cutting edge and one fluted edge. The fluted edge is created by a series of 8mm diameter scallops arranged around the perimeter, with a wall thick... | $fs = 0.4;
$fa = 1;
use <threads.scad>;
cutter_diameter = 80;
cutter_circ = cutter_diameter*3.14159;
scallop_diameter = 8;
scallop_count = ceil(cutter_circ/scallop_diameter);
wall_thickness = 0.6;
mid_diameter = cutter_diameter-(scallop_diameter/2);
mid_thickness = scallop_diameter*.6;
cutter_height= 30;
band_heig... | glb/cad_01e1ed5b7ef9.glb |
Create a business card holder and a matching nameplate insert.
For the holder, create a solid rectangular block with dimensions 95mm wide, 30mm high, and 25mm deep. Apply a 2mm fillet to all exterior edges. Hollow out the center to create a card storage area with a wall thickness of 1.5mm. The storage cavity should b... | NAMEPLATE_TEXT = "Name or text here";
TEXT_SIZE = 7.5;
WIDTH = 95;
HEIGHT = 30;
DEPTH = 25;
WALL_THICKNESS = 1.5;
FILLET = 2;
TEXT_THICKNESS = 1;
NAMEPLATE_THICKNESS = 2;... | glb/cad_1012f435a015.glb |
Create a business card holder consisting of a main body and a removable nameplate insert.
Construct the main body as a rounded rectangular block with overall dimensions of 95mm width, 30mm height, and 30mm depth. Apply a 2mm fillet to all edges. The body should be hollowed out to create a receptacle for the nameplate... | NAMEPLATE_TEXT = "Name or text here";
TEXT_SIZE = 8;
WIDTH = 95;
HEIGHT = 30;
DEPTH = 30;
TEXT_DEPTH = 0.5;
WALL_THICKNESS = 1.5;
FILLET = 2;
BACK_ANGLE = 30;
HYP = HEIGHT/sin(90-BACK_ANGLE);
BACK_HOLDER_DEPTH = sqrt((HYP^2)-(HEIGHT^2));
difference()
{
minkowski(... | glb/cad_da3e8a3673bb.glb |
Create a parametric bottle designed to fit a 38mm cap. The bottle has an overall height of 50mm and a main body diameter of 40mm with a wall thickness of 1.2mm and a base thickness of 1.6mm.
Starting from the top, create a threaded neck with a diameter of 34.5mm and a height of 10mm. The threads should have a pitch of... | include<ub.scad>;
bottle();
module bottle(
oh=50,
bd=40,
uth=3,
lth=3,
ltf=1,
wt=1.2,
bt=1.6,
ar=180,
nh=10,
nex=0,
nd=34.5,
tw=3,
){
union() {
T(0,0,oh-nh)Gewinde(
p=4,
dn=nd+tw,
kern=nd,
breite=.8,
rad1=1.3,
rad2=.6,
wand=wt,
h=nh,
start=12,
end=12,
korrektur=true,
profi... | glb/cad_483099b70120.glb |
Create a Sonoff enclosure consisting of a bottom plate and a top case.
Construct the bottom plate as a rectangular base 140mm long, 55mm wide, and 2mm thick with 2mm rounded corners. Add a raised perimeter wall 4mm high around the edges, leaving a central recessed area 95mm by 46mm. Place four screw holes with a 3.2m... | cw = 55;
cl = 140;
cth = 2.5;
play = 0.1;
cthp = cth + play;
cih = 26.5;
cil = cl-2*cth;
ciw = cw-2*cth;
ccr = 2;
bth = 2;
wth = 3;
wh = 4.0;
sl = 89;
sw = 40;
eps = 0.01;
2eps = 2*eps;
module bottom_plate_wo_holes() {
wol = sl+2*wth;
wow = sw+2*wth;
rcube(cl,cw,bth,ccr);
dif... | glb/cad_c3810d57cfd0.glb |
Create a Decorative Steel Ball Holder by starting with a solid cylinder base that has a diameter of 30mm and a height of 10mm. From this base, remove a central vertical cylindrical core with a diameter of 22mm to create a ring-like wall. Then, carve out a spherical void from the top of the base to accommodate a ball wi... | ball_d=90;
base_d=30;
base_z=10;
$fn=250;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
wall=1;
difference(){
color("red")
cylinder(d=base_d, h=base_z);
union(){
color("gray")
translate([0, 0, ball_d/2 + 1])
sphere(d=ball_d);
translate([0, 0, -dt1])
cylinder(d=base_d-8, h=base_z+1);
}
} | glb/cad_ac5238427d25.glb |
Create a base for a GM328A V1.20 component tester. Start with a rectangular block that is 76.5mm wide, 79.5mm long, and 8mm high. The base consists of a 2mm thick bottom plate with walls 8mm high rising from the edges. The outer walls are 2mm thick, except for a gap in the left wall to accommodate a 9V connector.
The ... | base();
module base(
lip = 1.5,
wall = 2
) {
x = 72.5;
y = 75.5;
z = 4;
$fn=32;
intersection() {
difference() {
union() {
cube([2 * wall + x, 2 * wall + y, wall]);
union() {
translate([0, wall + y, 0]) cube([2 * wall + x, wall, wall + z + lip]);
translate([0,wall + y - 20,0]) cu... | glb/cad_472d2215f5d5.glb |
Create a funnel adaptor consisting of three stacked, concentric hollow cylindrical sections. Start with a base cylinder 15mm high with an outer diameter of 67mm and an inner bore of 59mm. On top of this base, add a 30mm high conical transition section that tapers from an outer diameter of 67mm at the bottom to an outer... | $fn=360;
x1=59;
x2=43;
difference(){
cylinder(h=15, d1=x1+8, d2=x1+8);
cylinder(h=15, d1=x1, d2=x1);
}
translate([0,0,15])
difference(){
cylinder(h=30, d1=x1+8, d2=x2);
cylinder(h=30, d1=x1, d2=x2-4);
}
translate([0,0,45])
difference(){
cylinder(h=15, d1=x2, d2=x2);
cylinder(h=15, d1=x2-4, d2=x2-4);
} | glb/cad_bb1cbb82460e.glb |
Create a grind size scale template for a coffee grinder. The main body is a semi-circular arc with a thickness of 1mm. The outer radius of the arc is 26.5mm and the inner radius is 23.5mm, creating a curved band 3mm wide.
Within this band, create a series of small circular holes to mark the scale. These holes should ... | $fn=64;
id = 11;
od = 22;
dr = 13;
df = 11.75;
scale_r = 25;
module indicator() {
linear_extrude(1.5) rotate(165) difference() {
union() {
circle(d=id+4);
polygon([
[scale_r,0],
[0,5],
[0,-5]
]);
}
circle(d=id);
polygon([[0,0], [-90,100], [-90,-100]]);
}
... | glb/cad_96697c4f2557.glb |
Create a shopping trolley token by constructing a short, wide cylinder with a diameter of 23.4mm and a height of 3.0mm. Instead of a smooth circular profile, define the shape as a regular dodecagonal prism with exactly 12 flat sides. | token_dia=23.4;
token_th=3.0;
token_sides=12;
cylinder(d=token_dia, h=token_th, $fn=token_sides); | glb/cad_058090298777.glb |
Create an ESP32Cam Pan and Tilt Housing consisting of a main body, a lid, and a mounting system.
Construct the main body as a rectangular box with rounded exterior corners (radius 3mm) and interior corners (radius 1.2mm). The interior cavity should be 27.8mm wide, 40.8mm long, and 17.8mm high. Cut a USB port opening ... | toll = 0.3;
toll_lid = 0.125;
wall_th = 2.4;
corner_r_outside = 3;
corner_r_inside = 1.2;
esp_w = toll + 27.5 ;
esp_l = toll + 40.5 ;
esp_h = toll + 17.5 ;
cam_d = 10.5;
cam_w = toll + 10;
cam_h = 2.2;
cam_ox = 10;
cam_oy = esp_w/2;
led_w = toll + 3.2;
led_ox = 30;
led_oy = 25.5;
usb_w = 12;
usb_h = 7;
usb_oz ... | glb/cad_f61a181e075a.glb |
Create a Hidden Mickey decoration with a total thickness of 3mm. Start by constructing the main head as a cylinder with a diameter of 50mm and a height of 3mm. Add two smaller cylinders for ears, each with a diameter of 30mm and a height of 3mm. Position the ears so their centers are 27.5mm from the center of the head ... | $fn=0;
$fa=0.01;
$fs=$preview?1.0:0.3;
face_dia=50;
thickness=3;
border_width=1;
border_depth=1;
module mickey_ears_2d(face_dia) {
assert(face_dia>0);
ear_dia=face_dia*0.60;
ear_x=face_dia*0.55;
ear_y=face_dia*0.55;
circle(d=face_dia);
translate([-ear_x,ear_y,0])
circle(d=ear_dia);
translate... | glb/cad_ccb0845aa544.glb |
Create a set of Vise Press Brake Tools. Each tool is a block with a width of 101.6mm (4 inches) and a height of 15mm. The base of each tool features a rectangular section 5mm thick and 15mm long that rests on top of the vise jaw.
For each tool, embed a series of 8mm diameter by 2mm thick cylindrical magnet holes. Posi... | vise_w = 4*25.4;
top_d = 5;
top_l = 15;
side_l = 40;
side_d = 5;
magnet_diameter = 8;
magnet_width = 2;
magnet_spread = 45;
write_text = true;
eps = 0.001;
$fn = 32;
module die_2d(angle, cut_depth)
{
ofs = cut_depth*tan(angle/2);
die_side_d = side_d + cut_depth;
polygon(points=[
[0,0],
... | glb/cad_9520b3c64602.glb |
Create a customizable cake topper consisting of three stacked lines of text and two supporting spikes. Use a bold, rounded font with a size of 24mm and a thickness of 4mm for the letters.
Center the first line of text, "Replace", on a horizontal bar 120mm wide and 2mm thick. Position the second line, "With Your", dir... | $fn=90;
fontName="Arial Rounded MT Bold";
fontSize=24;
layerHeight=0.2;
spikeDiameter=2;
spikeLength=80;
spikeSpacing=47;
textHeight=4;
textLine1="Replace";
textLine1SpacingHorizontal=1;
textLine1SpacingVertical=1.02;
textLine1Width=120;
textLine2="With Your";
textLine2SpacingHorizontal=1;
textLine2Width=133;
te... | glb/cad_a5bb908d5a12.glb |
Create a Single Actuator Wave-Like Robot actuator consisting of a single helical coil. The coil must have a total height of 30mm and complete exactly 2 full turns.
The geometry is defined by a wire with a diameter of 3mm. The mean coil diameter—the diameter passing through the center of the wire—is 12mm. To ensure a ... | height = 30;
wireDiameter = 3;
coilDiameter = 12;
turns = 2;
endSectionDetail = 100;
slicesPerTurn = 100;
HelicalCoil(height, wireDiameter, coilDiameter, turns, slicesPerTurn, endSectionDetail);
module HelicalCoil(height, wireDiameter, coilDiameter, turns, slicesPerTurn, endSectionDetail) {
spacing = height / tu... | glb/cad_e200efae5296.glb |
Create a hexagon pen holder consisting of a cluster of hollow hexagonal tubes of varying heights. Each tube should have an inner diameter of 14mm and a wall thickness of 1.2mm. Arrange the tubes in a rhombus-shaped grid where each tube is spaced 15.2mm apart from center to center. The grid should be composed of three l... | hexagon_dia = 14;
wall_thickness = 1.2;
layers = 3;
min_height = 50;
max_height = 100;
random_seed = 2;
rhombus_size = layers * 2 - 1;
hexagon_spacing = hexagon_dia + wall_thickness;
random_vals = rands(min_height, max_height, rhombus_size * rhombus_size, random_seed);
for (i = [0:rhombus_size - 1]) {
for (j... | glb/cad_a1cc1618c0ac.glb |
Create a tag for a label with a total thickness of 3mm. The main body is a rounded rectangular slab formed by the convex hull of spheres with a 3mm diameter, resulting in a shape that is 30mm wide and 61mm long. Centered within this body, create a recessed rectangular area that is 26mm wide and 41mm long with a depth o... | tag(length = 57, width = 32);
module tag(
length = 41,
width = 26
) {
wall = 2;
diam = 3;
$fn = $preview ? 8 : 32;
half_width = wall + width / 2;
rad = diam / 2;
difference() {
hull() for(t=[
[0,0,0],
[ half_width, 10, 0],
[-half_width, 10, 0],
[ half_width, 10 + length + 2 * wall, 0],
[-... | glb/cad_5a69db5f3dc3.glb |
Create a nametag by extruding a text string of your choice using a bold sans-serif font. First, generate the base of the tag by creating the text at a size of 13mm and applying an offset of 4mm to expand the perimeter around the letters, then extrude this expanded base to a height of 2mm. Directly on top of this base, ... | name="Yournamehere";
text_font = "Gatwick:style=Bold";
text_size = 13;
back_colour = "#FFFFFF";
text_colour = "#000000";
text_height = 3;
back_height = 2;
back_offset = 4;
$fn=66;
union(){
color(back_colour) linear_extrude(back_height)
offset(back_offset)
text(name, font=text_fo... | glb/cad_9095d836ca67.glb |
Create a fs-cover for a 3D printer. Start with a base rectangular block measuring 39mm wide, 28mm deep, and 5mm thick. Centered on the top surface, add two cylinders with a radius of 5mm and a height of 1mm, positioned at coordinates (0, 0, 5) and (0, -10, 5), and add a small 10mm by 10mm by 6mm cube at (-5, -10, 0).
... | use <threads.scad>;
module fs_cover()
{
difference()
{
union()
{
translate([-17,-17,0]) cube([39,28,5]);
translate([0,-10,5]) cylinder(h=1,r=5,$fn = 60);
translate([0,0,5]) cylinder(h=1,r=5,$fn = 60);
translate([-5,-10,0]) cube([10,10,6]);
}
translate([0,0,-1]) metric_... | glb/cad_44c4f4c3f702.glb |
Create a threaded cover for a bowden extruder. Start with a rectangular base block measuring 24mm in width, 3mm in height, and 36mm in depth. Centered on top of this base, add a cylinder with a radius of 4.53mm and a total height of 15.55mm.
Inside this cylinder, create a concentric internal metric thread with a diam... | use <threads.scad>;
module part()
{
threads = 5.75;
thread_size = 6.0;
ptfe = 9.80;
difference()
{
union()
{
translate([-6,50,-30.5]) cube([24,3,36]);
translate([0,60+threads,-17])
rotate([90,0,0])
cyl... | glb/cad_f6d84dd551f6.glb |
Create a cake topper consisting of a thin circular ring and personalized text. Start by constructing a large, thin ring with a radius of 100mm and a cross-sectional radius of 1mm. From this ring, remove a segment to create a gap, then add two straight cylindrical spikes, each 5mm long with a 1mm radius, extending downw... | $fn=64;
text_angle=-80;
text="HAPPY BIRTHDAY NAME";
support_radius=1;
support_length=40;
support_spike_length=5;
ring_radius=100;
text_size=20;
text_letter_angle=9;
font_name="Liberation Mono";
union() {
for(letter=[0:50])
rotate(a=(letter*text_letter_angle+text_angle),[0,0,-1])
translate([0,ring_radius-0.5,-1... | glb/cad_25f31407c29b.glb |
Create a parametric hose clamp with a total height of 20mm. The main body is based on a profile that combines a rectangular base and a circular ring. Start with a base 30mm wide and 3mm thick, extending from x = -15mm to 15mm. Centered on this base, create a ring with an outer diameter of 32.25mm and an inner diameter ... | $fa = 1;
$fs = 0.4;
inner_dia = 26.25;
outer_dia = inner_dia + 6;
ring_width = 20;
base_width = 30;
base_extra_height = 3;
screw_head_incline = 2;
screw_head_dia = 7;
screw_axis_dia = 3.4;
module main_body()
{
linear_extrude(height=ring_width)
difference()
{
union ()
{
... | glb/cad_64a7032b7f13.glb |
Create a Guitar Hero Live button cover by combining two concentric cylinders. First, create a wide, thin base cylinder with a diameter of 30mm and a height of 2mm. Centered on top of this base, place a second, narrower cylinder with a diameter of 26mm and a height of 5mm. Ensure both shapes are perfectly aligned along ... | $fn = 360;
cylinder(h = 5, d = 26);
cylinder(h = 2, d = 30); | glb/cad_fae94840d30e.glb |
Create a KG pipe cap by constructing a hollow cylinder with an outer diameter of 114.3mm and an inner diameter of 110.3mm, resulting in a wall thickness of 2mm. The total height of the cylinder should be 82mm, consisting of a 2mm thick flat circular base and a 80mm tall side wall. To create a cutout in the side of the ... | $fa = 1;
$fs = 0.4;
inner_dia = 110.3;
wall_w = 2;
wall_h = 80;
cap_w = wall_w;
cutout_dia = 50;
difference()
{
linear_extrude(cap_w + wall_h)
{
circle(d=wall_w*2 + inner_dia);
}
translate([0,0,cap_w])
{
linear_extrude(cap_w + wall_h)
{
circle(d=inner_dia);
... | glb/cad_5730f62aff45.glb |
Create a hose lock for a 3/8" fitting consisting of a flat base and a tapered gripping collar. Start with a base plate that is an oval 18.5mm by 15mm with a thickness of 1.8mm, featuring a centered circular hole 10.1mm in diameter.
On top of this base, center a tapered cylindrical collar with a total height of 8.4mm.... | $fn=128;
D1_PLATE = 18.5;
D2_PLATE = 15;
T_PLATE=1.8;
D_INNER_BOTTOM=9.9;
D_INNER_TOP = D_INNER_BOTTOM - 0.6;
D_OUTER_BOTTOM=12.0;
module bottomPlate() {
tol=0.2;
linear_extrude(T_PLATE)
difference() {
resize([D1_PLATE,D2_PLATE])
circle(d=1);
circle(d=D_INNER_BOTTOM + tol);
}
}
modul... | glb/cad_5c9da47cc663.glb |
Create a dosing funnel for a portafilter by constructing a hollow, tapered cylindrical shell. The main body is a truncated cone with a height of 25mm, tapering from a bottom diameter of 75mm to a top diameter of 90mm. This shell must have a consistent wall thickness, created by removing a smaller internal cone that tap... | basket_lip_height=3.5;
basket_ext_dia=72;
basket_int_dia=59;
basket_depth=20;
basket_bot_ext_dia=50;
wings_width=24.0;
wings_length=78;
wings_depth=6.85;
portafilter_lip_dia=65.7;
portafilter_lip_height=3;
portafilter_lip_thick=3;
portafilter_ext_dia=72;
module wing( width=wings_width, length=wings_length+2, depth=... | glb/cad_a97167895914.glb |
Create a thin-walled square box for flow rate calibration. The box should have a total outer dimension of 10mm by 10mm and a height of 5mm. The walls must be exactly 1mm thick. The four corners of the box should be rounded with a radius of 1mm. Ensure the interior is completely hollow, leaving a square void of 8mm by 8... | gap = 10;
height = 5;
nozzle = .8;
wall = 1;
radius = 1;
echo("nozzle = ",nozzle);
echo("wall = ",wall);
for (x = [0,1], y = [0,1]) {
mirror([x,y,0]) translate([gap-2*radius,gap-2*radius,0]) {
translate([0,0,0]) rotate_extrude(angle=90,$fn=300) translate([radius,0,0]) square([wall,height]);
translate([0-gap... | glb/cad_925f046d9d42.glb |
Create a jointer knife sharpening jig as a rectangular block with a length of 105.6mm (0.95 times the knife width), a depth of 44.45mm, and a height of 28.575mm.
On the top surface, center and emboss the number "38" to indicate the bevel angle. On the underside, create two symmetrical, angled knife cutouts. Each cuto... | include <MCAD/units.scad>;
slop = 0.1+0;
knife_depth = 3.175;
knife_width = 111.125;
knife_height = 17.4625;
knife_height_min = 14.2875;
knife_bevel = 38;
preview_knives = true;
emboss = true;
separation = 9.525;
jig_height = 28.575;
jig_depth = 44.45;
jig_length = .95*knife_width;
nut_dia = 6;
nut_height=... | glb/cad_91cd33960f9a.glb |
Create a Locking Swivel Adapter consisting of two mirrored components. Each component begins with a base block measuring 80mm by 40mm with a height of 5.1mm and rounded corners of 3mm.
Within this base, center a large circular bearing slot with a diameter of 36mm. On the left side, create a 9mm diameter screw hole.
... | slop = 0.1;
$fn=36;
assert(version_num() >= 20190500,"Version of OpenSCAD is too old for rotate_extrude w/ angle");
module bb_insert( diameter, divisions, bump_height,centerhole_dia,z_offset) {
bump_diameter = 4.5;
difference() {
cylinder(d=diameter+slop,h=bump_height);
for(angle_offset = [0:360/divisions... | glb/cad_98eb81a15719.glb |
Create a Breadboard Wire Cutting and Bending Tool. Start with a base plate 5mm thick. The base is a polygon with a flat bottom edge and a top edge that slopes upward from left to right. The total length of the base is 138mm (calculated as 24 intervals of 6mm minus the minimum hole offset). Round all outer corners with ... | min_holes = 3;
max_holes = 30;
pitch = 2.5;
strip_len = 5;
fudge_factor = .75;
grove_width = 2;
grove_depth = 1.5;
distance_between_grove = 6;
label_height = 15;
label_thickness = .8;
label_size = 5;
label_font = "Nimbus Sans L:Bold";
total_thickness = 5;
total_len = (max_holes-min_holes+2)*distance_between_grove;
... | glb/cad_b3d152842155.glb |
Create a hand sanitizer holder by designing a flattened cylinder. Start with a cylinder that has a diameter of 29.5mm and a height of 30mm, then resize the overall geometry to a final bounding box of 30mm in width, 60mm in length, and 10mm in height. This results in an elliptical, disc-like shape with a thickness of 10... | $fn=100;
bC=73.5;
sC=54;
cH=20;
module middleCupHolder() {
difference() {
cylinder(d=sC, h=cH);
translate([-((bC/2)+20), 0, -1]) cylinder(d=bC, h=2*cH);
translate([(bC/2)+20, 0, -1]) cylinder(d=bC, h=2*cH);
}
}
module handSanitizer() {
resize(newsize=[30,60,10]) cylinder( d=29.5, h=30);
}
differenc... | glb/cad_b5ffa7d583b2.glb |
Create a clamping stone for a Bosch GTS 635-216 fence. Start with a base shape that is 14mm wide and 24mm long. The main body is a composite of rounded rectangular sections: the bottom 0.5mm is a rounded cube of 13mm by 23mm, which transitions into a larger rounded cube of 14mm by 24mm for the next 4.5mm of height, and... | module rounded_cube(dims, d=1.5) {
hull() {
translate([d/2, d/2, 0]) cylinder(d=d, h=dims.z, $fn=50);
translate([dims.x-d/2, d/2, 0]) cylinder(d=d, h=dims.z, $fn=50);
translate([d/2, dims.y-d/2, 0]) cylinder(d=d, h=dims.z, $fn=50);
translate([dims.x-d/2, dims.y-d/2, 0]) cylinder(d=d,... | glb/cad_18c3ff3c6c34.glb |
Create a corner clamp router template with a total height of 8mm. The base is a flat plate defined by a 2D profile: a polygon with vertices at [10, 0], [0, 10], [0, 172], [10, 172], [172, 10], and [172, 0]. From this base profile, remove several geometric cutouts: a square measuring 182mm by 182mm centered at [65, 65],... | h = 8;
l = 182;
off = 10;
module shape2d() {
difference() {
polygon([
[off, 0],
[0,off],
[0, l-off],
[off, l-off],
[l-off, off],
[l-off, 0]
]);
t=[80,15]; s=[45,26];
translate([65,65, 0]) square([l, l]);
... | glb/cad_717e905c7456.glb |
Create a Nonagon Tripod Microphone Stand Reinforcement. Start by constructing a main body that is a hull encompassing a cylinder with a radius of 45mm and a height of 22mm, and a torus-like ring positioned at a height of 22mm with a major radius of 45mm and a minor radius of 8mm. To this body, add three protruding cyli... | use <MCAD/regular_shapes.scad>
$fn=100;
height = 29.03;
angle = 30;
tip = 4;
mount = 13;
difference() {
hull()
union() {
cylinder(22,45,45);
translate([0,0,22])
rotate_extrude(convexity = 10)
translate([45 - 8, 0, 0])
circle(r = 8);
translate([0,0,height])
rotate([90 + angle,0,-90])
cylinder(70,19.... | glb/cad_3a3075bdb0a2.glb |
Create an air wound coil form by starting with a hollow cylinder that is 60mm long with an outer diameter of 38mm and a wall thickness of 4mm. Apply a slight internal taper to the cylinder so that the diameter decreases linearly from the center toward the ends. To secure the wire turns, add four rectangular strips to t... | $fn =100;
length = 60;
diameter = 38;
taper = 2/100;
thickness = 4;
echo(atan(taper));
difference() {
cylinder(length, diameter/2, (diameter/2 - taper*length), center = true);
color("blue") cylinder(length + 2, (diameter/2) - thickness, (diameter/2) - thickness - taper*length, center = true);
translate([0, (diam... | glb/cad_f80dbe0410a2.glb |
Create an Air Wound Coil Form by starting with a rectangular base block measuring 53.8 mm in length, 4 mm in width, and 5.5 mm in height. Along the center of the top face, create a series of 12 evenly spaced circular cutouts to hold wire. Each cutout is a cylinder with a radius of 0.83 mm and a height of 8 mm, centered... | $fn = 100;
turns = 12;
wire = 0.83;
TPI = 6;
space = 25.4/TPI;
pitch = 1/TPI;
length = 3+(turns+1)*25.4/TPI;
echo(length);
form_diameter = 1.5;
form_circumference = form_diameter*3.1416;
angle = atan(pitch/form_circumference);
echo(angle);
difference() {
cube([length, 4, 5.5]);
for (i = [3 : space: (length-3... | glb/cad_d189a0675ce0.glb |
Create a CO2 cartridge adapter by constructing a large outer capsule and removing a smaller inner capsule and a side hole. First, create the outer body as a union of a cylinder with a diameter of 22mm and a length of 78.5mm, topped with a hemisphere of the same 22mm diameter.
Inside this outer body, remove a smaller ... | 16g_length = 88.5;
08g_length = 65.9;
nozzel_space = 10.0;
16g_diameter = 22.0;
08g_diameter = 18.0;
gripHoleDiameter = 15;
breathingSpace = 0.2;
topAlignOffset = 16g_length - 08g_length;
effective_length = topAlignOffset + gripHoleDiameter * 2;
gripHoleLength = 16g_diameter + 5;
translate([0,0,effective_length])
ro... | glb/cad_2728084d1f75.glb |
Create a Standard Barbell Stand by starting with a rectangular block that is 100mm wide, 100mm long, and 20mm high. From the top center of this block, remove a semi-cylindrical channel to create a cradle for a barbell. This cutout should be a cylinder with a radius of 100mm and a length of 100mm, oriented horizontally ... | height = 20;
length = 100;
width = 100;
min_height = 3;
difference() {
translate([0,0, height/2])
cube([width, length, height], center = true);
translate([0,0,width+min_height])
rotate([90,0,0])
cylinder(h=length, r=width, center = true, $fn = 100);
} | glb/cad_79c600e7a192.glb |
Create a replacement MacBook Pro foot as a low-profile cylindrical disc. Start by creating a main cylinder with a radius of 8.5mm and a total height of 1mm. The top surface should be rounded with a convex edge radius of 0.5mm. On the bottom side of the disc, create two concentric recessed levels to form a stepped inset... | $fn = 100;
foot_radius = 17.0 / 2;
foot_height = 1.0;
inset1_radius = 16.0 / 2;
inset1_depth = 0.4;
inset2_radius = 6.8 / 2;
inset2_depth = 2.0;
translate([0, 0, foot_height/2])
rotate_extrude(convexity = 10)
translate([foot_radius-foot_height/2, 0, 0])
circle(r = foot_height/2);
translate([0, 0, foot_he... | glb/cad_6b2392f665f1.glb |
Create a Pixel Art Template consisting of a 5x5 grid of square pegs. First, design a single peg unit by creating a square base measuring 6mm by 6mm with a height of 2mm. Centered on top of this base, add a smaller square protrusion measuring 4.25mm by 4.25mm with a height of 1mm. Arrange these peg units into a larger s... | xCount = 5;
yCount = 5;
module squarePeg()
{
union() {
cube([6, 6, 2]);
translate([(6-4.25)/2, (6-4.25)/2, 2]) {
cube([4.25, 4.25, 1]);
}
}
}
module gridOfPegs(xCount = xCount, yCount = yCount) {
for (x = [0 : xCount - 1]) {
for (y = [0 : yCount - 1]) {
translate([x * 6, y * 6, 0])... | glb/cad_c261baf20cf0.glb |
Create a Webbing Slide by starting with a rectangular base block measuring 29mm in width, 31mm in length, and 5mm in height.
From this block, remove two rectangular slots to create a ladder-like structure for the webbing. The first slot is positioned 5mm from the bottom edge, and the second is positioned 15mm from th... | webbing_width = 19;
webbing_thickness = 0.5;
slide_thickness = 5;
clearance_factor = 3;
increased_bite = true;
thumb_release = false;
webbing_clearance=webbing_thickness*clearance_factor;
difference() {
union() {
cube([webbing_width+2*slide_thickness,3*slide_thickness+2*webbing_clearance,slide_t... | glb/cad_528459bbcf78.glb |
Create a parameterized elbow pipe fitting consisting of two connectors joined by a curved elbow and a conical reducer.
Start with the first connector: a hollow cylinder with an outer diameter of 30mm, a wall thickness of 3mm, and a length of 30mm. Add a decorative outer ring at the end of this cylinder with a height ... | wall_thickness=3;
F_diameter = 30;
F_length = 30;
F_outerRing_h = 2;
F_innerRing_h = 0;
S_diameter = 30;
S_length = 30;
S_outerRing_h = 2;
S_innerRing_h = 0;
angle = 90;
radius = 10;
reduction_angle = 45;
$fn = 128;
reduction_h = tan( 90 - reduction_angle ) * abs( F_diameter - S_diameter ) / 2;
echo ( reduction_... | glb/cad_b88de51f38f9.glb |
Create a bellows adapter consisting of three stacked concentric sections. Start with a bottom cylindrical base that is 10mm high with an outer diameter of 95mm and a wall thickness of 2mm. Above this base, create a conical main body that is 40mm high, tapering from the 95mm bottom diameter up to a top diameter of 69mm.... | top_lip_height=20;
top_lip_thickness=2;
main_height=40;
main_thickness=6;
top_diameter=69;
bottom_diameter=95;
bottom_lip_height=10;
bottom_lip_thickness=2;
$fn=100;
translate([0, 0, main_height+bottom_lip_height])
difference() {
cylinder(h=top_lip_height, d=top_diameter);
cylinder(h=top_lip_height, d=top_d... | glb/cad_519b3d0f2519.glb |
Create a Parametric Type-C Hub Dongle Mount designed as a rectangular sleeve. The main body should have an overall length of 115mm, a height of 34mm, and a thickness of 13mm.
Construct the holder by creating a back wall that is 3mm thick and 44mm high. Add a front wall 4mm thick and 44mm high, but carve out a central ... | include<hex plug library.scad>;
HSWSpacing = HEX_SEPARATION + HEX_WALL_THICKNESS;
LENGTH = 115;
HEIGHT = 34;
THICKNESS = 13;
PORTS_AREA_LENGHT = 70;
PORTS_LENGTH_PADDING = 5;
DOUBLE_SIDED = true;
LOGO_SIDEWINDOW = true;
MOUNT_TYPE = 0;
LengthCenter = LENGTH/2;
BackPosition = (THICKNESS/2);
FrontPosition = -... | glb/cad_7d0df97df402.glb |
Create a replacement button by starting with a central cylinder 16.25mm in diameter and 3.5mm in height. Surround this center with a ring created by rotating a 3.5mm diameter circle around the center point at a radius of 8.25mm, with the center of this ring positioned 1.75mm above the base. Remove four vertical holes, ... | $fn=90;
difference()
{
union()
{
translate([0,0,1.75])
rotate_extrude()
translate([8.25,0])
circle(d=3.5);
cylinder(d=16.25, h=3.5);
}
for (x=[-2:4:2])
for (y=[-2:4:2])
{
translate([x,y,0])
cylinder(d=2, h=3.5);
}
for (i=[-... | glb/cad_6d417b9e2acd.glb |
Create a Simple Magnetic Pin by revolving a specific 2D profile around a central vertical axis. The profile begins with a rectangular base for the magnet, measuring 12mm wide and 4mm high. Above this base, extend a vertical stem that rises to a total height of 16mm. The stem should be narrow, with a radius of 2mm, but ... | magnet_height = 3;
magnet_radius = 5;
stem_radius = 2;
wall = 1;
height = 16;
res=128;
$fn=res;
rotate_extrude ( angle=360, $fn=res ) {
resth=height-(magnet_height+wall);
drittel = resth / 3;
halb = (resth / 2) * 0.92;
topr = (magnet_radius + wall) * 2 / 3;
cr = magnet_radius + wall - stem_radiu... | glb/cad_e8ce4f911cba.glb |
Create a parametric hook for a clothes rail. Start by forming the main body as a hull between two vertical cylinders, each with a diameter of 21.3mm and a height of 45mm, positioned 15.3mm apart along the x-axis. Extend this body horizontally by adding a hull between a cylinder at the origin and another cylinder of the... | wall = 3;
height = 45;
dist = 50;
tolerance = 0.5;
diameter = 15.3;
length = 30.3;
$fn=80;
module helper_rail(height=10) {
color("lightblue",0.5) {
hull() {
translate([0,0,0]) cylinder(d=diameter,h=height);
translate([length-diameter,0,0]) cylinder(d=diameter,h=height);
}
}
}
module hook() {
difference()... | glb/cad_ef5cebb788b1.glb |
Create a Z-axis rotation pole dancer indicator consisting of a vertical pole and a hollow base. Start by creating a central vertical cylinder with a radius of 2mm and a height of 60mm.
For the base, construct a hollow cylinder with an outer radius of 4.75mm and a total height of 12mm. This base should have a central ... | d_rod=8;
d_pole=d_rod/2;
h_pole=60;
th_wall=1.5;
h_sleve=12;
h_slot=4.5;
roundness=84;
module sleve() {
difference() {
cylinder(h=h_sleve, r=d_rod/2 + th_wall/2, $fn=roundness);
translate([0,0,-0.5])
cylinder(h=h_sleve+1, r=d_rod/2, $fn=roundness);
}
}
module cap() {
cylinder(h=th... | glb/cad_b988b3bdcee0.glb |
Create a Customizable Knife Cover by starting with a solid rectangular block measuring 5.9mm thick, 37.2mm wide, and 212.2mm long. Center a rectangular cutout through the block to create a hollow cavity for the blade; this internal void should be 1.5mm thick, 35mm wide, and 210mm long, leaving a wall thickness of 2.2mm... | BladeThickness = 1.5;
BladeWidth = 35.0;
BladeLength= 210.0;
WallThickness = 2.2;
SlotWidth = 4.0;
SlotAngle = 30;
SlotNumber = 5;
SlotPadding = 4.5;
SlotSpacing = SlotNumber+SlotPadding;
difference () {
cube([BladeThickness + WallThickness,BladeWidth + WallThickness,BladeLength + WallThickness], center... | glb/cad_f6e1a9bc9c33.glb |
Create a horizontal blinder tape endstop consisting of a main body and a separate locking wedge. Start by creating a rectangular base plate measuring 11mm wide, 26mm long, and 3.2mm thick with rounded corners. On top of this base, center a larger rectangular block that is 6.1mm wide, 21.7mm long, and 5.7mm high.
With... | module base00() {
translate([0.5,0.5,0])
minkowski()
{
cube([9.5-1,25-1,2.2-2]);
cylinder(d=1, h=2, $fn=60);
}
}
module base01(){
polyhedron(points=[[0,0,0], [5.2,0,0], [5.2,20.7,0], [0,20.7,0],
[0.25,0.25,5.7],[4.95,0.25,5.7],[4.95,20.45,5.7],[... | glb/cad_1bfbc48c34f4.glb |
Create a horizontal blinder tape endstop consisting of a wide circular base and a central tapered pillar. Start by creating a cylinder for the base with a diameter of 14mm and a height of 2.55mm. Cut a rectangular slot through the center of this base, measuring 2.9mm wide and 14mm long, to allow for tape insertion. Cen... | module base00() {
difference(){
cylinder(d=14, h=2.55, $fn=120);
translate([-1.45,-7,0.75])cube([2.9,14,1.8]);
}
}
module hole01(){
cylinder(h=5.5,r1=1.85,r2=1.85,$fn=120);
translate([0,0,5.5])cylinder(h=0.7,r1=1.85,r2=1.25,$fn=120);
translate([0,0,6.2])cylinder(h=2.6,d=2.5,$fn=120)... | glb/cad_92a78c6c63f7.glb |
Create a Universal Desk Organizer consisting of a grid of cylindrical cells and several vertical support columns. Construct a grid of 50 cells arranged in 5 rows and 10 columns. Each cell is a hollow cylinder with an outer diameter of 17mm, an inner diameter of 15mm, and a height of 16mm. The cells are positioned so th... | Diameter=15;
Rows=5;
Columns=10;
Height=80;
Thickness=1;
TrayHeight=Height/5;
OuterDiameter=Diameter+Thickness*2;
Tolerance=0.4;
MountDiameter=Diameter-Tolerance;
TaperHeight=2;
module makeCell(){
difference(){
cylinder(d=OuterDiameter,
h=TrayHeight);
cylinder(d=Diameter,
h=TrayHeight);
}
}
mod... | glb/cad_a629bf6104aa.glb |
Create a Resizable Dartcup consisting of a conical base, a cylindrical neck, and twisted stabilizing vanes. Start by creating a base socket 1mm high with an outer diameter of 9.9mm and an inner wall thickness of 0.8mm. Above this socket, construct a hollow truncated cone with a height of 9mm, tapering from a bottom dia... | cone_diameter = 9.9;
cone_height = 9;
wall = 0.8;
neck_diameter = 3.6;
neck_height = 12;
n_wings = 4;
wings_twist = 65;
wings_tolerance = 0.1;
hole_size = 1.5;
cone_neck_overlap = 3;
res = 120;
socket = 1;
$fn=res;
union () {
translate ([0,0,socket]) {
difference () {
union () {
difference () {
cylinder... | glb/cad_9d3d0df979c0.glb |
Create a replacement headphone part by starting with a rectangular base plate measuring 12mm wide, 15mm deep, and 1mm thick. Along the left and right edges of this base, add two vertical rectangular pillars that are each 1mm wide, 4mm deep, and 4mm tall. Position one pillar at the front-left corner and the other at the... | cube([12,15,1]);
cube([1,4,4]);
translate([11,0,0]) {
cube([1,4,4]);
};
translate([0,11,0]) {
cube([1,4,4]);
};
translate([11,11,0]) {
cube([1,4,4]);
};
translate([0,1,0]) {
cube([1,12,3]);
};
translate([11,1,0]) {
cube([1,12,3]);
};
for (i = [0:2:14]) {
translate([0,i,-1]) {
cube([12,1,... | glb/cad_4bd2696cfd19.glb |
Create a replacement part for KOSS headphones by starting with a rectangular base measuring 12mm wide, 15mm deep, and 1mm thick. From this base, remove a series of 1mm thick rectangular slots spaced every 2mm along the depth, starting from the front edge and extending across the full 12mm width, effectively creating a ... | difference() {
cube([12,15,1]);
cube([1,4,1]);
translate([11,0,0]) {
cube([1,4,1]);
};
translate([0,11,0]) {
cube([1,4,1]);
};
translate([11,11,0]) {
cube([1,4,1]);
};
};
translate([6,4,0]) {
cylinder(h=2,d=3.5,$fn=15);
};
for (i = [0:2:14]) {
translate([0,... | glb/cad_ed8c9b0bdf66.glb |
Create a clamping square tool with a height of 36mm. The main body is an L-shaped block formed by a polygon with vertices at [0,0], [100,0], [100,20], [50,20], [20,50], and [0,100] in the XY plane, extruded to the specified height.
At the inner corner vertex [0,0], remove a vertical cylindrical hole with a diameter o... | $fn=50;
height=36;
corner_hole=10;
length=100;
width=20;
sturdiness=2.5;
module RoundedCubeXY(w, h, d, r) {
rotate([-90,0,0]) linear_extrude(h) hull() {
translate([r,r-d,0]) circle(r=r);
translate([w-r,-r,0]) circle(r=r);
translate([w-r,r-d,0]) circle(r=r);
translate([r,d-r-d,0... | glb/cad_f05b1251dcb9.glb |
Create a 140mm fan deflector designed to redirect airflow. Start by creating a square mounting plate 140mm by 140mm with a thickness of 4mm. Round the four outer corners of this plate with a 5mm radius.
In the center of the plate, remove a square section 134mm by 134mm with 40mm rounded corners to create a large cent... | use <path_extrude.scad>;
external_size = 140;
hole_spacing = 125;
corner_radius = 5;
module deflector(max_angle=50, a1 = 180, a2 = 360) {
myPoints = [
[ 42*cos(a1)+27*(((a1<90) || (a1>270))?1:-1),42*sin(a1)+8.8],
for(t = [a1+5:5:a2-5]) [ 42*cos(t)+27*(((t<90) || (t>270))?1:-1),42*sin(t)],
... | glb/cad_bf218ec53ec7.glb |
Create a fan deflector designed for 120mm or 140mm fans. Start with a square mounting plate measuring 120mm by 120mm with a thickness of 4mm and corner radii of 5mm. Cut a central square hole through the plate measuring 114mm by 114mm with corner radii of 30mm. Add four circular mounting holes with a diameter of 5mm, p... | use <path_extrude.scad>;
external_size = 120;
hole_spacing = 105;
corner_radius = 5;
Rd = 32;
Rd2 = Rd-2;
Dw = 27;
Ds = 28;
Teeth = true;
module deflector(max_angle=50, a1 = 180, a2 = 360) {
myPoints = [
[ Rd*cos(a1)+Dw*(((a1<90) || (a1>270))?1:-1),Rd*sin(a1)+8.8],
for(t = [a1+5:5:a2-5]) [ Rd*co... | glb/cad_b2be5adf14e8.glb |
Create a SeedSorter consisting of a bottom container and multiple stackable sieve inserts.
First, construct the bottom container as a cylinder with an outer diameter of 101mm and a height of 20mm. Remove a central cylindrical void from the top, starting 3mm from the base, with a diameter of 100mm and a depth of 17mm.... | module cardboard_tube(){
dd = 94;
ddout = 100;
difference(){
cylinder(60,ddout*.5,ddout*.5,$fn=150);
translate([0,0,-1])cylinder(65,dd*.5,dd*.5,$fn=150);
};
};
module innerdiameter(){
dinner = 93;
translate([0,0,0])cylinder(15,dinner*.5,dinner*.5,$fn=150);
};
module... | glb/cad_c22556165346.glb |
Create a breadboard tray designed to hold two 830-point breadboards. Start with a solid rectangular base measuring 126.5mm in width, 173mm in length, and 9mm in height.
Carve out two rectangular pockets for the breadboards, each measuring 55mm by 167mm by 8mm. Position these pockets 1mm above the base floor, with one... | bb_x = 55;
bb_y = 167;
bb_z = 8;
notch_x = 1.5;
notch_y = 6;
notch_z = 7;
gap_x = 17.5;
wall = 2;
floorz = 1;
full_x = gap_x + 2*wall + 2*bb_x;
full_y = bb_y + 2*wall;
full_z = bb_z + floorz;
difference() {
cube([full_x,full_y,full_z]);
translate([wall,wall,floorz]) cube([bb_x,bb_y,bb_z]);
translate(... | glb/cad_8490aab4ab1c.glb |
Create a protective electronics box and matching lid for a 2-relay module. The main box is a rectangular shell with rounded vertical corners of 3mm radius. The outer dimensions are 43mm by 55mm with a height of 22mm. The walls are 1mm thick. On one of the longer sides, create a rectangular cutout opening that is 30mm w... | module roundedcube(xdim,ydim,zdim,rdim){
$fn=64;
translate([rdim,rdim])cylinder(r=rdim,h=zdim);
translate([xdim-rdim,rdim])cylinder(r=rdim,h=zdim);
translate([rdim,ydim-rdim])cylinder(r=rdim,h=zdim);
translate([xdim-rdim,ydim-rdim])cylinder(r=rdim,h=zdim);
}
union(){
difference(){
hull()ro... | glb/cad_cadea6cf15bc.glb |
Create a PVC corner bracket consisting of three intersecting cylindrical arms. Each arm is based on a cylinder with an outer diameter of 25mm and a length of 50mm. The walls of these cylinders have a thickness of 1.9mm.
To form the arms, hollow out each cylinder by removing a concentric inner cylinder with a diameter... | length = 50;
recess_length = 20;
pipe_od = 25;
pipe_thickness = 1.9;
$fn = 50*1;
module fixture() {
difference() {
union() {
cylinder_with_recess();
rotate([0,90,0]) cylinder_with_recess();
rotate([0,90,90]) cylinder_with_recess();
intersection() {
... | glb/cad_0b0ad0125b12.glb |
Create a JST socket holder by starting with a solid rectangular block measuring 22mm in width, 20mm in depth, and 10.5mm in height. Round the corners of this block with a 6mm radius.
Carve out a central rectangular cavity to hold the connector, leaving a 2mm wall thickness on the sides, top, and bottom. This cavity s... | plug_x = 18;
plug_y = 7;
plug_z = 6.5;
wall = 2;
wirehole_d = 5;
block_x = plug_x + 2*wall;
block_y = 20;
block_z = plug_z + 2*wall;
backstop = 1.2;
cavity_x = plug_x - backstop;
cavity_y = block_y - plug_y - wall;
cavity_z = plug_z;
difference() {
intersection() {
cube([block_x,block_y,block_z]);
... | glb/cad_743252b7e5f6.glb |
Create a hub protection disc for shipping bicycle wheels. Start by creating a thin, flat cylinder with a diameter of 50mm and a height of 2mm. Centered on the top face of this disc, add a smaller solid cylindrical stud with a diameter of 5mm and a height of 6mm, extending upwards from the surface. Ensure all circular e... | axle_diam = 5;
axle_height = 6;
outer_diam = 50;
outer_height = 2;
$fn = 4 * 20;
cylinder(h = outer_height, r = outer_diam/2, center = true);
translate([0, 0, outer_height/2 + axle_height/2])
cylinder(h=axle_height, r=axle_diam/2, center=true); | glb/cad_f2cc520a56d6.glb |
Create a Barbecue Gas Regulation Knob by starting with a main cylinder that has a height of 57mm and a radius of 28.5mm. From this main body, remove a large central core to create a hollow shell. This is achieved by removing two intersecting cylinders, each with a radius of 25mm and a height of 60mm, positioned at the ... | $fs = 0.1;
$fa = 5;
union(){
difference(){
cylinder(h=57, r=28.5);
translate([-36.5,28.5,57]){
rotate([90,0,5]){
cylinder(h=60, r=25);
}
}
translate([36.5,28.5,57]){
rotate([90,0,-5]){
cylinder(h=60, r=25);
... | glb/cad_73164e530e29.glb |
Create a Bicycle Aero Bar Rail System consisting of a plug, cap, wedges, a mounting disc, and a T-nut.
Create a plug as a cylinder with a diameter of 19mm and a height of 30mm. On one end, create a conical void that tapers from the 19mm diameter down to a small center diameter of 6mm. If the "rail" style is selected, ... | part = "assembly";
bar_inner_diam = 19;
bar_outer_diam = 22.3;
rail_width = 14;
rail_height = 8;
rail_inner_slot_width = 6.3;
rail_inner_width = 12;
rail_inner_height = 5.8;
cone_separator_width = 2;
cone_separator_clearance = .25;
cone_num_separators = 4;
clamp_screw = "M4";
plug_style = "rail";
rail_z_of... | glb/cad_36318245a879.glb |
Create a Supermicro 80x32 fan adapter by starting with a solid cube measuring 80mm x 80mm with a height of 8mm. From the center of the cube, remove a cylindrical core with a diameter of 83.5mm that extends through the entire height of the object, but ensure a wall thickness of 1.5mm is maintained around the outer perim... | Exterior = 80;
Edge = 1.5;
DiameterInner = 83.5;
HeightFan = 25;
HeightHolder = 33;
Height = HeightHolder-HeightFan;
quality = 180;
Lip = 4;
ScrewThread=4.5+.5;
ScrewHole=6.5+.5;
ScrewOffset=Exterior/2-4.25;
difference() {
translate([-Exterior/2,-Exterior/2,0])
cube([Exterior, Exterior, Height]);
i... | glb/cad_348a4cca4bd6.glb |
Create a fan adapter frame by starting with a solid cube measuring 80mm x 80mm with a height of 13mm. Hollow out the center of the cube by removing a cylinder with a diameter of 83.5mm, but constrain this removal so that a 1.5mm thick wall remains around the outer perimeter of the cube. To create the mounting lip, remo... | Exterior = 80;
Edge = 1.5;
DiameterInner = 83.5;
HeightFan = 25;
HeightHolder = 38;
Height = HeightHolder-HeightFan;
quality = 180;
Lip = 4;
ScrewThread=4.5+.5;
ScrewHole=6.5+.5;
ScrewOffset=Exterior/2-4.25;
difference() {
translate([-Exterior/2,-Exterior/2,0])
cube([Exterior, Exterior, Height]);
i... | glb/cad_ee9bfb431c5e.glb |
Create an adjustable foot for a stove by constructing a composite vertical component. Start with a base consisting of two intersecting rectangular prisms, each measuring 4mm by 8mm and 10mm in height, positioned to form an L-shaped footprint. Above this base, create a main cylindrical body with a diameter of 12mm and a... | include <constants.scad>
include <BOSL/constants.scad>
use <BOSL/transforms.scad>
use <BOSL/masks.scad>
use <BOSL/threading.scad>
difference()
{
union() {
linear_extrude(height=wall) {
circle(d=threadDiameter+wall*2,$fn=quality);
left(pegOffset/2)
square([pegOffset,... | glb/cad_8c34b707b71d.glb |
Create an adjustable foot for a Coleman Eventemp Stove by constructing a hollowed cylindrical plug with an internal threaded bore. Start with a solid cylinder that has a diameter of 12mm and a total height of 11mm. Inside this cylinder, create a centered, vertical hole using a trapezoidal thread profile with a pitch of... | include <constants.scad>
include <BOSL/constants.scad>
use <BOSL/transforms.scad>
use <BOSL/masks.scad>
use <BOSL/threading.scad>
difference() {
cylinder(h=threadHeight+wall,d=threadDiameter+wall*2,$fn=quality);
down(1) trapezoidal_threaded_rod(d=threadDiameter, l=threadHeight+1, pitch=4, thread_depth=1.5, th... | glb/cad_163d61e1223d.glb |
Create a tablet wall mount designed for a device measuring 240mm wide, 169.5mm high, and 7.5mm deep. The main body is a hollowed-out rectangular frame with rounded corners (3mm radius). The outer dimensions of this frame are 243mm wide, 177.5mm high, and 12.5mm deep.
The center of the frame is hollowed out to create a... | ipad_w = 240;
ipad_h = 169.5;
ipad_d = 7.5;
wig_w = 1.5;
wig_h = 4;
wig_d = 1.0;
ft_h = 4;
ft_w = 2;
ft_d = 2.5;
inset = 8;
h_frac = 0.4;
h = ipad_h * h_frac;
mount_w = 50;
rad_o = 3.0;
module wall_screw_hole() {
screw_width = 4;
screw_width2 = 11;
screw_width3 = 6;
screw_height = ft_d+.5;
translate(... | glb/cad_64bcf164872b.glb |
Create a parametric tray with overall dimensions of 117mm in length, 74.4mm in width, and 10.8mm in height. The tray features a base floor thickness of 0.8mm and external walls that are 1.2mm thick. The four outer corners of the tray are rounded with a radius of 3mm.
Divide the interior into a grid of 6 equal compartm... | length=117;
width=74.4;
height=10.8;
radius=3;
floor_thick=0.8;
wall_thick=0.8;
wall_thick_length=1.2;
wall_thick_width=1.2;
internal_radius=2;
rows=2;
columns=3;
do_not_print = [];
$fn=64;
box_length= (length-(wall_thick_width*2)-(wall_thick*(rows-1)))/rows;
box_width = (width -(wall_thick_length*2)-(wall... | glb/cad_0567fa85809a.glb |
Create a bordered alphabet model featuring the letters A through Z arranged in five centered rows. Each letter should be 50mm in size using a bold sans-serif font. The model consists of two layers: a base layer and a raised border. First, create the base by extruding the full text of all letters to a height of 3mm. The... | font = "DejaVu Sans:style=Bold";
letter_size = 50;
height1 = 3;
height2 = 4;
module multiLine(){
union(){
for (i = [0 : $children-1])
translate([0 , -i * letter_size*1.5, 0 ]) children(i);
}
}
module multiLineText(){
multiLine() {
mytext("ABCDEF");
mytext("GHIJKL");
mytext("MNOPQR");
my... | glb/cad_5ae555abfe76.glb |
Create a tubing adapter consisting of a hollow, tapered sleeve. First, construct the outer shell by stacking three sections: a cylinder 12mm high with a 30mm diameter, a 12mm high conical frustum that tapers from 30mm down to 7mm, and a final cylinder 6mm high with a 7mm diameter.
Next, create a matching hollow inter... | $fn=64;
wide_ID = 25;
wide_OD = 30;
narrow_ID = 4;
narrow_OD = 7;
wide_h = 12;
angled_h = 12;
narrow_h = 6;
difference() {
union() {
cylinder(h=wide_h,d=wide_OD);
translate([0,0,wide_h])
cylinder(h=angled_h,d1=wide_OD,d2=narrow_OD);
translate([0,0,(wide_h + angled_h)])
... | glb/cad_e08faca22ce1.glb |
Create a multi-hex case organizer consisting of three interconnected hexagonal cells. Each cell is defined by a hexagonal perimeter with a diameter of 70mm and a wall thickness of 2mm. The cells are arranged in a tight cluster where their walls touch.
The three cells have different heights: the first cell is 95mm tall... | hight1=95;
hight2=49;
hight3=57;
diameter=70;
thick=2;
hex_d=8.4;
hex_thick=1.6;
use_solid = false;
text="";
d=diameter;
r=diameter/2;
c30 = cos(30);
s30 = sin(30);
function getText(text, hight) = (text == "hight") ? str(hight) : text ;
module bottom (text = "")
{
difference(){
cylinder(d= d, h=2, $fn=... | glb/cad_85dbdc081fc4.glb |
Create a battery pack housing for a protected 18650 cell and a MT3608 booster board. The main enclosure is a rectangular box with walls 1mm thick. The internal cavity must accommodate a battery cell of 19mm diameter and 72mm length, with additional space for a booster board of 37.5mm by 17.5mm by 7.5mm.
Construct the... | plate(embossed=false, text="5V");
module box(
bat = [19,69 + 3],
board = [37.5,17.5,7.5],
plug_plus = 1.75,
plug_minus = 1.75,
wall = 1
) {
$fn=32;
dim = [
2 * wall + plug_plus + plug_minus + bat[1],
2 * wall + bat[0],
2 * wall + board[2] + bat[0] * 0.8
];
difference() {
union() {
translate([-... | glb/cad_9f749ab07e71.glb |
Create a Parametric Universal Phone Mount. Start by creating a solid rectangular block with a width of 91mm (86mm phone width + 5mm wall thickness), a depth of 25mm (20mm phone depth + 5mm wall thickness), and a height of 75mm (70mm holder height + 5mm wall thickness).
Hollow out the center of this block to create a p... | include<hex plug library.scad>;
Phone_Width=86;
Phone_Depth=20;
Port_Width=20;
Holder_Height=70;
Wall_Thickness=5;
Front_Window_Width=65;
Front_Window_Bottom_Offset=10;
Mount_Type = 1;
union(){
difference(){
cube([(Phone_Width)+Wall_Thickness,(Phone_Depth)+Wall_Thickness,Holder_Height+Wall_Thickness], ... | glb/cad_e97ef40b0be1.glb |
Create a USB display holder with a main body and a mounting bracket. The main body is a rounded rectangular block measuring 10.9mm by 16.6mm by 38.5mm. Inside this block, create a hollow cavity to accommodate a USB connector, with a cutout measuring 6.8mm by 13.9mm. The opening for the cable is a cylindrical hole with ... | $fn=32;
usb=[10.9,16.6,38.5];
usbCut=[6.8,13.9];
usbCable=3.5;
usbRim=9;
connectorZShift=17;
angle=45;
h=113;
bolt=3;
boltHead=5.4+0.3;
boltSpan=98;
boltPad=2;
boltGap=1.5;
wall=2.4;
wallInnerH=5.5;
wallOuterH=16;
beeper=[17,10,11.6+1];
f=2;
inf=200;
not=0.001;
d(){
u(){
boltConnection();
t([0,0,-h/2+con... | glb/cad_1e39ba888fb6.glb |
Create a Shadow Lamp consisting of a series of interlocking rectangular slabs.
First, construct a base assembly of seven slabs. Each slab is 155mm long and 3mm thick. The slabs vary in width: the first is 17.5mm wide, and each subsequent slab increases in width by 17.5mm increments up to the seventh slab, which is 12... | base_radius = 100/2;
nut_radius = 58/2;
hole_radius = 28.5/2;
hq=128;
$fn = 64;
t = 0.1;
d = 35;
%color("#80800080")
translate([d*7/2, 155/2, d/2*3+8])
union () {
translate([0, 0, 26/2]) cylinder(d=27.5, h=26, center=true);
translate([0, 0, 0.6]) cylinder(d=36, h=1.2, center=true);
translate([0, 0, ... | glb/cad_ccd85c965e5b.glb |
Create a roll film guide for a reflecta x66 scanner. Start with a base rectangular plate measuring 134mm in length, 65mm in width, and 6.5mm in height, centered on the origin. From this base, remove two large rectangular sections to create a central channel: first, remove a volume of 134.1mm by 25mm by 7.5mm centered a... | $fn=61;
difference(){
cube([134, 65,6.5], center=true);
translate([0,0,2.25]) cube([134.1,25,7.5], center=true);
translate([0,0,3.25]) cube([134.1,35,7.5], center=true);
cube([ 36,25,8.5], center=true);
}
difference(){
union(){
tr... | glb/cad_a731919bd276.glb |
Create a 3D model of the capital letter "A" using a bold, highly rounded sans-serif typeface similar to Comfortaa. The letter should be centered both horizontally and vertically. Extrude the character to a thickness of 1mm. The overall size of the letter should be 8mm. Ensure the geometry uses a low facet count for the... | text="A";
textSize=8;
direction="flat";
$font = "Comfortaa:style=Bold";
module smallText(textSize, t) {
linear_extrude(height = 1) {
text(t, size = textSize, font = $font, halign = "center", valign = "center", $fn = 16);
}
}
if (direction != "flat") {
rotate([90, 0, 0]) smallText(textSize, text)... | glb/cad_0807679f73e2.glb |
Create a Tail Company EarGear 2 Headphone Mount consisting of two identical mounting pods connected by a central bridge. Each pod is centered around a micro servo mount. The pod base is a combination of a cylinder with a diameter of 30mm and a rectangular block measuring 20.5mm by 30mm by 3.75mm.
Within each pod, cre... | include <nutsnbolts/cyl_head_bolt.scad>;
include <servo_arm.scad>;
$fn=64;
$separation = 130;
function dah(diameter, vertical = true) = vertical == true ? (1.0155 * diameter) + 0.2795 : (0.9927 * diameter) + 0.3602;
module fillet(r, h) {
translate([r / 2, r / 2, 0]) {
difference() {
cube([r ... | glb/cad_d18f301e449e.glb |
Create a configurable driver bit adapter consisting of two stacked hexagonal sections. First, create a hexagonal prism for the driver socket with a flat-to-flat width of 3.91mm (4.01mm minus 0.1mm tolerance) and a height of 11.3mm.
On top of this, add a larger hexagonal prism to house the bit. This section should hav... | wallWidth = 3.01;
targetBitWidth = 6.35;
targetDriverWidth = 4.01;
driverPartHeight = 11.3;
bitPartHeight = 13.9;
toleranceDriverWidth = 0.1;
toleranceBitWidth = 0.1;
orientation = "down";
magnet = false;
magnetDiameter = 6;
magnetHeight = 2;
toleranceMagnet = 0.1;
module hexagon (size, height) {
cylind... | glb/cad_98240d1020ff.glb |
Create a Magic Wand party favor consisting of a star-shaped head and a long handle. Start by constructing a five-pointed star centered at the origin. The star should be based on a geometry that alternates between an outer radius of 40mm and an inner radius of 20mm, with a total thickness of 3mm.
Attached to the cente... | r=[40,20];
h=[3,3,10];
f=[360/10,h.x];
points=[for (b=[0:f.y:h.x],a=[0:f.x:360]) [((a/f.x)%2?r.x:r.y)*cos(a),((a/f.x)%2?r.x:r.y)*sin(a),b],
[0,0,-h.y+h.x],[0,0,h.z]];
n=[1+(360/f.x),1+(h.x/f.y)];
color("gold")
polyhedron(
points=points,
faces=[
for(b=[0:n.y-2],a=[0:n.x-2]) [
a+1+b... | glb/cad_ddc521ca2b16.glb |
Create a charger cable rider consisting of a rectangular block 60mm long, 20mm wide, and 10mm high.
Carve a central cable channel through the entire 60mm length of the block. This channel should be 3.5mm wide and 4.8mm high, positioned 10mm from the side edges and 2mm from the bottom face. To allow for cable insertio... | label_text1 = "GEORGE";
tweak1 = 0;
spacing1 = 0.85;
$fn = 100;
block_width = 20;
block_height = 10;
block_length = 60;
x_offset = 10;
y_offset = 2;
z_offset = -1;
slot_width = 3.5;
slot_top = 3.5;
slot_height = block_height;
font_name = "Permanent Marker";
font_size1 = 26;
textx1 = 23;
texty1 = 10;
module bl... | glb/cad_22cf97d17938.glb |
Create a 4-compartment catch tray with overall outer dimensions of 23mm width, 19mm depth, and 2mm height. The tray consists of a solid base with a thickness of 0.2mm and outer walls of 0.8mm.
Carve out four rectangular compartments from the main body. The first compartment (top-left) and the fourth compartment (bott... | main_cube_w = 23;
main_cube_d = 19;
main_cube_h = 2;
wall_thickness = 0.8;
bottom_thickness = 0.2;
filet_radius = 0.1;
ratio = 6;
bigger_tile_ratio_w = 3.6;
$fn=50;
assert(bigger_tile_ratio_w < ratio,"Error: your ratios are wrong");
assert(bigger_tile_ratio_d < ratio,"Error: your ratios are wrong!");
ass... | glb/cad_6c735e1ec662.glb |
Create a Dyson vacuum V6 to DC adapter consisting of a male connector, a central junction, and a female connector.
Start with the male section: create a cylinder with an outer diameter of 34.5mm and a height of 50mm. Remove a concentric inner cylinder with a diameter of 29mm to create a tube. Add a decorative ring at... | fn=200;
INNER=29;
OUTER=34.5;
male();
junction();
female();
BLOCKER2_LENGTH_OUTSIDE=40;
BLOCKER2_LENGTH_INSIDE=34.8;
BLOCKER2_WIDTH_OUTSIDE=22;
BLOCKER2_WIDTH_INSIDE=17;
BLOCKER2_HEIGHT=9.5;
module spring_cross() {
hull() {
translate([-1.7,0,0]) cylinder(d=1.4, h=2, $fn=fn);
translate([1.7,0,0])... | glb/cad_cc86a983fd05.glb |
Create a Customizable Door Handle Jig consisting of a flat base plate and a vertical guide wall. Start by creating a rectangular base plate with a thickness of 2mm, a width of 104mm, and a length of 104mm. On the left edge of this plate, add a vertical rectangular guide wall that is 15mm high, 2mm wide, and extends the... | plate_height = 2;
handle_gap = 64;
x_offset = 15;
y_offset =25;
screw_size = 2;
guide_height = 15;
guide_length = 75;
guide_width = 2;
padding = 15;
plate_size_x = (guide_width + x_offset + handle_gap) + padding;
plate_size_y = x_offset == y_offset ? (guide_width + y_offset + handle_gap)*1.15 : (guide_width + y_offset... | glb/cad_c77ad7611681.glb |
Create a customizable text magnet consisting of a rounded rectangular base with embossed lettering. The base should be 48mm long, 12mm wide, and 4mm high, with rounded corners having a radius of 5mm. On the top surface of this base, add centered text with a height of 2mm and a font size of 5mm.
To accommodate magnets,... | l=48;
h=12;
base_height=4;
letter_height = 2;
letter_size = 5;
font = "Roboto Mono";
corner = 5;
label = "TEXT HERE";
magnet_count = 5;
magnet_base_height = 0.4;
magnet_height = 2.0;
magnet_diameter =5.0;
magnet_padding = 0.2;
module letter(l,l_size,l_height) {
linear_extrude(height = l_height) {
text(l, size = l_... | glb/cad_3b92db30a0df.glb |
Create a paper towel holder extension consisting of two stacked concentric cylindrical shells. Start with a base cylinder that has an outer radius of 15mm and a height of 25mm. Atop this base, add a second cylinder with a height of 33mm and a radius of 12mm.
Create a hollow center through the entire combined height o... | $fn=90;
tolerance = 0.1;
height_thick = 25;
height_thin = 33;
height = height_thick + height_thin;
thick_width = 30;
side_width = 3 + tolerance;
thin_width = thick_width - (side_width*2);
inside_width = thin_width-(side_width*2);
thick_radius = thick_width/2;
thin_radius = thin_width/2;
inside_radius = inside_width... | glb/cad_484908102ce1.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.