Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a BMW R1200 oil cap wrench tool consisting of a cylindrical base and a hexagonal top. Start by creating a base cylinder with a diameter of 26.5mm and a height of 10mm. From this base, remove three identical vertical sections spaced 120 degrees apart. Each section is formed by a cylinder with a diameter of 4.3mm ... | $fn = 90;
outer_circle_dia = 26.5;
fillet_loc_x = 12;
fillet_dia = 4.30;
fillet_cut_deg = 90 - 75.7;
bottom_height = 10;
notch_cube_size = 4.5;
top_flat_to_flat_distance = 16;
tool_top_dia = top_flat_to_flat_distance / cos(30);
tool_top_height = 14;
tool_top_fn = 6;
top_through_hole_rad = 3.5;
top_through_hole_off... | glb/cad_8d317e4b08d6.glb |
Create a parametric etui box with a clip. Start by constructing a hollow rectangular sleeve with outer dimensions of 47mm in length, 34mm in width, and 132mm in height. The walls of this sleeve should be 2mm thick. At the top of the box, create a rectangular cutout measuring 13mm by 13mm by 12mm, centered on the top fa... | translate([-5,27,95])rotate([0,90,0])Haken();
Etoui();
Etoui_lenght=45;
Etoui_width=32;
Etoui_hight=130;
Etoui_wallthickness=2;
module a(){
hull(){
cylinder(h=10,d=20);
translate([50,0,0])cylinder(h=10,d=10);}}
module b(){
hull(){
cylinder(h=10,d=18);
translate([50,0,0])cylinder(h=10,d=8);}}
module c(){
difference(... | glb/cad_98293fe6ec67.glb |
Create a bicycle spoke protector in the shape of a flat, thin ring. The object should have an outer diameter of 38mm and an inner diameter of 35.4mm, resulting in a wall thickness of 1.3mm. Extrude this ring to a total thickness of 1mm. Ensure the geometry is rendered with a low facet count to maintain a simple, clean ... | id = 35.4;
od = 38;
thickness = 1;
$fa = 4;
linear_extrude(thickness) difference() {
circle(d = od);
circle(d = id);
} | glb/cad_16be8ce96eda.glb |
Create a bicycle spoke protector consisting of two concentric cylindrical sections. First, construct a flat, washer-like disc with an outer diameter of 142mm, an inner circular hole with a diameter of 35.4mm, and a thickness of 2mm. Around the outer perimeter of this disc, add a raised vertical rim that is 7mm high and... | id = 35.4;
od = 150;
wall_height = 7;
thickness = 2;
wall_thickness = 4;
$fa = 4;
linear_extrude(thickness) difference() {
circle(d = od - 2 * wall_thickness);
circle(d = id);
}
linear_extrude(wall_height) difference() {
circle(d = od);
circle(d = od - 2 * wall_thickness);
} | glb/cad_b875f8f878e3.glb |
Create a DNA Mutation Die in the shape of a regular tetrahedron with a side length of 25mm. To refine the shape, truncate each of the four vertices by removing a small pyramid from each corner. Each clipping pyramid should have a base side length of 5mm and a height of 5mm. The resulting geometry should be a clipped te... | $fn = 100;
side_length = 25;
module tetrahedron(s) {
h = sqrt(2.0/3.0) * s;
centroid_height = h / 4.0;
R = sqrt(3.0) * s / 3.0;
points=[
[0, 0, centroid_height + h / 2.0],
[0, -R, -centroid_height],
[s/2, R/2, -centroid_height],
[-s/2, R/2, -centroid_height]
];
... | glb/cad_4cd6851d9fcf.glb |
Create a parametric hook consisting of a vertical mounting plate and a curved horizontal arm. The mounting plate is a rectangular block with a height of 90mm, a width of 60mm, and a thickness of 15mm. The corners of this plate are rounded with a fillet radius of 1mm.
From the bottom of the mounting plate, extend a cur... | length1 = 90;
width = 60;
length2 = 40;
radius1 = width/2;
thickness = 15;
type = true;
fillet = 1;
chamfer = 5;
hookRadius = 10;
$fn = 30;
diameter = 6;
countersunk = false;
module cylinderWithFillet(h1,r1,r2) {
radius = r2;
diameter = radius * 2;
minkowski() {
cylinder(h = h1 - diamete... | glb/cad_f1f6733132bb.glb |
Create a circular coaster with a radius of 47.5mm and a total height of 3mm. Start by creating a solid base cylinder with a radius of 47.5mm and a height of 2mm.
On top of this base, add a thin outer rim by creating a hollow cylinder with an outer radius of 47.5mm and an inner radius of 45.5mm, with a height of 1mm, ... | $fn = 200;
text1="Welcome";
TextSize=10;
font="Courier New:style=Bold";
coasterRadius=47.5;
cylinder(r1=coasterRadius, r2=coasterRadius, h=2);
translate([0,0,1.1]) {
linear_extrude(1)
text(text1, size=TextSize, font=font, halign="center", valign="center");
}
translate([0,0,2]) {
difference() {
cyl... | glb/cad_5e10b0a4892e.glb |
Create a circular coaster with a radius of 47.5mm and a total height of 3mm. Start by creating a solid base cylinder with a radius of 47.5mm and a height of 2mm.
On top of this base, add a thin outer rim created by placing a hollow cylinder with an outer radius of 47.5mm and an inner radius of 45.5mm, giving the rim ... | $fn = 200;
text1="Welcome";
TextSize=10;
font="Courier New:style=Bold";
coasterRadius=47.5;
cylinder(r1=coasterRadius, r2=coasterRadius, h=2);
translate([0,0,1.2]) {
linear_extrude(1)
text(text1, size=TextSize, font=font, halign="center", valign="center");
}
translate([0,0,2]) {
difference() {
cyl... | glb/cad_4299a3c53c41.glb |
Create a Cardboard Bin lid or base by constructing a hollowed-out cylindrical disc. Start with a solid cylinder that has an outer diameter of 80mm and a height of 10mm. From the center of this disc, remove a smaller concentric cylinder to create a ring. This inner hole should have a diameter of 62mm and pass completely... | $fn=50;
CardboardThickness = 2.2;
Clearance= 0.3;
OD = 80;
IDCARD = 70;
ID = 62;
H = 10;
CardboardDepth = 5;
module fondo(){
difference() {
cylinder(h=H, d=OD, center= false);
cylinder(h=H+20, d=IDCARD+CardboardThickness*2+Clearance*2, center= true);;}
cylinder(h=H-CardboardDepth, d=OD, center= false);
cylinder(h=H,... | glb/cad_4aa1fd92bf16.glb |
Create a Cardboard Bin lid by constructing a primary solid cylinder with a diameter of 80mm and a height of 10mm. From the center of this cylinder, remove a smaller coaxial cylinder with a diameter of 74.7mm and a height of 30mm to create a hollow ring. To finish the interior, add a solid central disc with a diameter o... | $fn=50;
CardboardThickness = 2.2;
Clearance= 0.3;
OD = 80;
ID = 70;
H = 10;
CardboardDepth = 5;
difference() {
cylinder(h=H, d=OD, center= false);
cylinder(h=H+20, d=ID+CardboardThickness*2+Clearance*2, center= true);
;}
cylinder(h=H-CardboardDepth, d=OD, center= false);
cylinder(h=H, d=ID-Clearance*2, center= false... | glb/cad_a53cccd04fa3.glb |
Create a Light MOLLE/Paracord Adapter by starting with a rectangular base measuring 60mm by 30mm with a thickness of 2.5mm. At the top center of this base, integrate a semi-circular protrusion with a diameter of 35mm and a thickness of 2.5mm.
From this combined form, remove several geometric sections to create slots ... | $fn=250;
difference(){
union(){
translate([0,0,0])
cube([60,30,2.5]);
translate([30,25,0])
cylinder(2.5,d=35);
}
union(){
translate([3,3,-.25])
cube([8,24,4]);
translate([49,3,-.25])
cube([8,24,4]);
translate([-.25,12,-.25])
#cube([4,8,4]);
translate([56.9,10,-.25])
#cube([4,8,4]);
translate([24,3.5,-.25])
cube([12,6,3... | glb/cad_cd7d7405d3d0.glb |
Create a cylindrical lock holder for an Ikea Alex container retrofit with an outer diameter of 16mm and a total height of 25mm. At the center of the cylinder, remove a square prism hole with a width and depth of 8mm and a height of 1mm, positioned 0.5mm from the bottom.
Inside the cylinder, create a vertical shaft vo... | a = 8;
t = 1;
d = 16;
l = 25;
screw_d=5.2;
screw_l=5;
screw_h_l=2.5;
screw_h_d=10.2;
hex_d=4.4;
shaft_d= 6;
shaft_d_f=4;
shaft_begin_h=l-5;
module screw(){
cylinder(d=screw_d, h=screw_l);
cylinder(d=hex_d, h=l);
translate([0,0,screw_l])cylinder(d1=screw_d, d2=screw_h_d, h=screw_h_l);
hull(){
... | glb/cad_2b22c55f19a1.glb |
Create an Ikea Alex Container Lock Retrofit holder. Start with a rectangular block that is 9mm wide, 25mm long, and 10mm high. The block should have a central horizontal hole running through its width to accommodate a shaft with a diameter of 6.1mm; this hole is centered along the length and positioned 5.5mm from the b... | bottom = 1;
t=8+bottom;
d=9;
shaft_d=6.1;
l=25;
z=10;
z_offset=5.5;
module screw(){
screw_d=3;
screw_h=16;
screw_head_d=6;
screw_head_z=2;
translate([0,0,-screw_h-screw_head_z]){
cylinder(d=screw_d, h=screw_h);
translate([0,0,screw_h])cylinder(d1=screw_d, d2=screw_head_d, h=screw_head_z);
... | glb/cad_42e78824eb40.glb |
Create a lock retrofit mount for a container. Start with a main body formed by the hull of two spheres of radius 1mm positioned at the edges of a 45mm width, and two spheres of radius 2mm centered at a width of 30mm and a depth of 21.7mm. Mirror this shape across the XY plane to create a symmetrical thickness of 20mm.
... | w = 45;
w_t = 30;
r = 2;
r_u = 1;
t = 10;
d = 18;
d_f = 16;
d_o = 21.7;
d_i = 2;
screw_head_d = 7;
screw_head_h = 2.5;
screw_d = 3;
screw_depth = d_o;
screw_offset = 12;
$fn=40;
module body(){
hull(){
translate([0+r_u,0+r_u,r_u])sphere(r=r_u);
translate([w-r_u,0+r_u,r_u])sphere(r=r_u);
t... | glb/cad_5ccd35b76194.glb |
Create a gearbox housing for a container lock retrofit. Start by constructing a main rectangular block with dimensions 13mm by 10mm by 10mm. From this block, remove a central cylindrical volume with a diameter of 6mm and a height of 10mm.
Additionally, create a perpendicular cylindrical void with a diameter of 6mm an... | l=10;
shaft_d= 6;
shaft_d_f=4;
shaft_begin_h=0;
module shaft(){
difference(){
cylinder(d=shaft_d, h=l);
translate([shaft_d_f/2,-shaft_d/2,0])cube([shaft_d,shaft_d,l]);
}
}
include <Getriebe.scad>
modul = 1;
zahnzahl = 10;
teilkegelwinkel = 45;
zahnbreite = 2;
bohrung = 0;
module keg... | glb/cad_ce064aac2d6e.glb |
Create an Ikea Alex Container Lock Retrofit consisting of a cylindrical housing and a separate D-shaped shaft.
First, construct a hollow cylinder with an outer diameter of 28mm and a height of 25mm. The wall thickness should be 1mm. Inside this cylinder, create two perpendicular holes with a diameter of 6mm that pass... | d=28;
wt=1;
l=25;
l2=l/2;
shaft_d=6;
shaft_d_f=4;
shaft_begin_h=0;
include <Getriebe.scad>
module shaft(){
difference(){
cylinder(d=shaft_d, h=l);
translate([shaft_d_f/2,-shaft_d/2,0])cube([shaft_d,shaft_d,l]);
}
}
translate([20,20,0])
difference(){
kegelradpaar(modul=1.9, zahnzahl_r... | glb/cad_22c47724ab97.glb |
Create a snowflake decoration with a total diameter of 50mm and a thickness of 4mm. The design is based on a central hexagonal core with six identical arms radiating outward from the center.
Each arm is constructed by combining a thin rectangular strip with a 12-sided polygonal cylinder (dodecagon) centered at the en... | seed = 0.1;
size = 50;
module mirror_keep(angle=[1,0,0]){
children();
mirror(angle)children();
}
module rotate_keep(angle){
children();
rotate(angle)children();
}
angles = [45,90, -45];
module snowflake_arm(seed, angle, size){
height = 4;
mirror_keep()
union(){
difference(){
... | glb/cad_17e171c1024b.glb |
Create a link for a snowflake decoration. Start by centering a rectangular prism that is 10mm long, 1mm wide, and 1mm thick. At each end of this prism, add a decagonal ring with an outer diameter of 4mm and a thickness of 1mm. Each ring should be centered on the prism's ends. To allow the link to open or connect, remov... | length = 10;
module rotate_keep(angle){
children();
rotate(angle)children();
}
$fn=10;
module link(length, width){
cube([width, length, width], center=true);
rotate_keep([180, 180, 0]){
translate([0,length/2+width, 0])
difference(){
cylinder(width, r=width*2, center=true);
... | glb/cad_c59e382a9929.glb |
Create a watch strap connector for a Suunto Core. Start by forming the main body as a hull encompassing four spheres, each with a 2.8mm radius, positioned at coordinates (14, 0, 0), (-14, 0, 0), (14, 10, 0), and (-14, 10, 0). From this solid, remove a central rectangular volume defined by two intersecting cubes: one me... | $fn=60;
difference()
{
union()
{
hull()
{
translate([14,0,0])
sphere(2.8);
translate([-14,0,0])
sphere(2.8);
translate([14,10,0])
sphere(2.8);
translate([-14,10,0])
sphere(2.8);
}
}
union()
{
hull()
{
translate(... | glb/cad_b518ee3a26d7.glb |
Create a hydraulic cylinder replacement part for a toy dump truck. Start by constructing a central rectangular slab measuring 134mm in length, 19mm in width, and 4mm in thickness. At each end of the slab's length, attach a small cylinder with a diameter of 4mm and a height of 25mm, oriented so the cylinders protrude pe... | length = 134;
d1=4;
d2=4;
hole_d=10;
width=19;
rod_length=25;
z=4;
$fn=30;
difference(){
union(){
cube([length,width,z],center=true);
translate([length/2,0,0])rotate([90,0,0])cylinder(d=d1, h=rod_length, center=true);
translate([-length/2,0,0])rotate([90,0,0])cylinder(d=d2, h=rod_length, center=true);
}
translate([le... | glb/cad_d6bc416ef67f.glb |
Create a door catch for a tumble dryer. Start by constructing a central frame that is 25mm tall. The profile of this frame is a combination of a 10mm diameter circle and a 14mm by 12mm rectangle that overlaps it, creating a rounded rectangular base. Within this frame, remove a vertical cylindrical hole with a radius of... | $fs=0.1;
$fa=0.1;
module mirrorkeep(a) {
children();
mirror(a) children();
}
module frame_outline() {
hull() {
intersection() {
circle(7);
translate([0, -7]) square([14, 12]);
}
circle(5);
square([7, 5]);
translate([-50, -7]) square(0.1);
... | glb/cad_84efe43e7e3a.glb |
Create a clothes peg component consisting of a flat handle and a gripping head. The handle is a rounded rectangular slab 20mm thick, with a length extending from a semi-circular end to a narrower neck. In the center of the handle, carve a longitudinal slot 60mm long and 4mm wide.
At the gripping end, create a head tha... | $fa = 2;
$fs = 0.2;
module mirrorkeep(x) {
children();
mirror(x) children();
}
module rotatekeep() {
children();
rotate([180, 0, 0]) children();
}
module top() {
difference() {
linear_extrude(height=20, convexity=10) {
difference () {
hull() {
... | glb/cad_6e1f0d29018f.glb |
Create a case for a Greaseweazle F7 and 3.5-inch floppy drive. Start by creating a main rectangular base plate measuring 72.2mm wide, 35.6mm deep, and 2mm thick. Center this plate on the X and Y axes.
Within this base, place four circular mounting holes with a diameter of 3mm and a depth of 10mm. These holes should b... | module gw_pos() {
translate([-14.4, 190, 0]) children();
}
module gw_holes() {
for (y = [-1, 1]) {
for (x = [-1, 1]) {
translate([x*34.5, y*16.2]) children();
}
}
}
module gw() {
translate([0, 0, 6]) {
color("darkgreen") difference() {
cube([72.2, 35.6, ... | glb/cad_672cc5d30f52.glb |
Create a case for a Greaseweazle F7 and a 3.5-inch floppy drive. The main body is a rectangular enclosure with a base and a top cover. The base should be designed to house the floppy drive and the controller board.
Construct the bottom section as a hollow rectangular box with a thickness of 1.6mm. The interior dimensi... | use <box.scad>;
use <gw.scad>;
include <drive.scad>;
$fn = 32;
module power_pos() {
translate([38.5, 196, 11]) children();
}
module power() {
color("grey") {
translate([0, -2, 0]) cube([21.6, 13, 7.4], center=true);
translate([5.5, 0, 3.7]) cube([1, 13, 1], center=true);
translate([0... | glb/cad_49c9db31753b.glb |
Create a Magnetic Blade Guard for a rotary cutter. The main body is a rounded, shield-like enclosure with a total height of 11mm.
At the center of the guard, create a vertical cylindrical housing. Within this housing, bore a central hole with a diameter of 7.94mm (5/16") and a depth of 6mm to accommodate a bushing. B... | $fn = 256;
bushing_od = (5/16 * 25.4);
bushing_h = 6;
magnet_od = 6;
magnet_h = 4;
module outline() {
hull() {
circle(r=18);
translate([0, 15]) square([60, 46], center=true);
}
}
module cutout() {
offset(2) intersection() {
offset(-6) outline();
difference() {
... | glb/cad_c5abc6d2dbe1.glb |
Create a filament spool holder with an integrated amplifier case. The main body is a rectangular box with a base thickness of 1.4mm and walls 1.5mm thick, reaching a total height of 8mm. The outer dimensions of the case are based on a central rectangle of 33.6mm by 20.7mm.
Inside the case, include two cylindrical mou... | module post() {
difference() {
circle(3.4);
circle(2);
}
}
module post_locations() {
translate([-12.4, 7.3, 0]) children();
translate([-12.4, -7.3, 0]) children();
}
module outline() {
square([33.6, 20.7], center=true);
}
module shell(height, bottom_thickness, ridge, side_thicknes... | glb/cad_fb82dd535837.glb |
Create an extruder mount for a cable chain. Start by forming a C-shaped clip designed to wrap around a stepper motor. The main body is a curved band with a thickness of 12mm. The outer profile of this band is based on a shape that is 42.8mm wide and 50.5mm in diameter, with rounded corners.
Integrate a central mountin... | $fn = 64;
module outline() {
offset(r=2) offset(r=-2) intersection() {
square(42.8, center=true);
circle(d=50.5);
}
}
module link_side() {
bevel = 0.35;
translate([10.35, 0, 0]) rotate([0, 90, 0]) {
difference() {
union() {
linear_extrude(height=1... | glb/cad_9d2b8d024ded.glb |
Create an extruder mount for a cable chain. Start by constructing a main C-shaped clip with a height of 22mm. The clip's cross-section is based on a rounded rectangular profile, approximately 42.8mm wide and 30mm deep, designed to wrap around a stepper motor.
On one side of the clip, integrate a mounting bracket for ... | $fn = 64;
module outline() {
offset(r=2) offset(r=-2) intersection() {
square(42.8, center=true);
circle(d=50.5);
}
}
module link_side() {
bevel = 0.35;
translate([10.35, 0, 0]) rotate([0, 90, 0]) {
difference() {
union() {
linear_extrude(height=1... | glb/cad_996644d62b0f.glb |
Create a rotating T-nut for a 2020 profile. Start by constructing a cylinder with a radius of 3mm and a height of 4.5mm, using a 32-facet resolution. Combine this cylinder with the rotating nut geometry. Finally, remove the central cutout area from the combined shape to create the necessary clearance for an M2 screw. | include <base.scad>
rotate([90, 0, 0]) difference() {
union() {
rotating_nut();
translate([0, 0, -5.5]) cylinder(h=4.5, r=3, $fn=32);
}
cutout();
} | glb/cad_89f10764e545.glb |
Create a Backpacker Pace Cord Bead by starting with a sphere that has a radius of 4.5mm. Carve out the center of the sphere to create a passage for a cord by removing a vertical cylinder with a radius of 3.25mm that runs through the center. To further open the top of the bead, remove two cubic volumes from the sphere: ... | $fn=250;
difference(){
sphere(r=4.5);
union(){
translate([-4.5,-4.5,3])
cube([9,9,9], center="yes");
translate([-4.5,-4.5,-12])
cube([9,9,9], center="yes");
translate([0,0,-4.5])
cylinder(9,r=3.25);
}
} | glb/cad_a81d954bae28.glb |
Create a resource tracker and token tray by starting with a rounded rectangular base measuring 67mm wide, 91.5mm long, and 4.9mm high, with corner radii of 3mm.
Within this base, carve out eight square recesses to hold tokens. Six of these recesses are arranged in two columns of three; each square measures 21mm by 21... | $fn=200;
s=21;
s1=s-5;
r=20.5;
r1=r-5;
l=91.5;
w=67;
h=4.9;
xoffset=(w-(3*s))/4;
yoffset=(l-(4*s))/5;
x1offset=xoffset+2.5;
y1offset=yoffset+2.5;
difference(){
roundedCube3(67,91.5,4.9);
for (i=[0:1:1],j=[0:1:3])
translate([1,1.5+j*22.5,1.5])
cube([s,s,6]);
for (i=[0:1:1],j=[0:1:3])
translate([3.5,4+j*22.5,-1])
cube... | glb/cad_7f1a5d3ef6ae.glb |
Create a lens hood and filter adapter by constructing a hollow cylinder with an outer diameter of 34mm, an inner diameter of 22mm, and a height of 3.5mm. On one side of the outer wall, integrate a rectangular tab that is 5.5mm wide, 11mm long, and 2.4mm thick, centered on the x-axis and extending from the base. To comp... | $fn = 50;
od = 34;
id = 22;
t = 3.5;
tab = 5.5;
t_tab = 2.4;
difference(){
union(){
difference(){
difference(){
cylinder(t, od / 2, od / 2, false);
cylinder(t, id / 2, id /1.5, false);
}
translate([-tab / 2, 0, 0])
cube([tab, id / 2 + 2, t]);
}
translate([-tab / 2, od / 2 - 1, t - t_tab])
cube([tab, 10, t_tab]);
}
... | glb/cad_b067c8b7ff89.glb |
Create a lens hood and filter adapter consisting of two concentric cylindrical sections. The base section is a hollow cylinder with an outer diameter of 39.6mm and an inner diameter of 36mm, reaching a height of 10mm. Directly on top of this base, add a second concentric hollow cylinder with an outer diameter of 51.6mm... | lens_od = 36;
filter_od = 49;
wall = 1.8;
mount_depth = 10;
filter_depth = 5;
tab = 5.5;
difference(){
difference(){
difference(){
difference(){
difference(){
difference(){
difference(){
difference(){
union(){
cylinder(mount_depth, lens_od / 2 + wall, filter_od / 2 + wall, false);
translate([0, 0, mount_depth])
cylinde... | glb/cad_73bd94ec0239.glb |
Create an MMU Electrical Cover with Spring Retention. Start with a main rectangular body measuring 125mm in length, 56mm in width, and 15mm in height.
On the top surface, create a recessed central area by removing a block of 108mm by 48mm by 15mm. Within this area, create four hexagonal nut cutouts with a radius of 3... | module nut_cut()
{
translate([0,0,2]) cylinder(r1=3.1, r2=4, h=4, $fn=6);
difference()
{
cylinder(r=3.1, h=4, $fn=6);
translate([-3.65,-5,-0.4]) cube([2,10,1]);
translate([1.65,-5,-0.4]) cube([2,10,1]);
translate([-2,1.65,-0.7]) cube([4,4,1]);
translate([-2,-5.65,-0.7... | glb/cad_f781a8c3227b.glb |
Create a 40mm fan grill by starting with a square plate 40mm wide and 40mm deep with a thickness of 3mm. Round the four corners of this plate with a radius of 3mm. At each of the four corners, center a vertical cylindrical hole with a diameter of 3.2mm that passes completely through the plate.
In the center of the pl... | zz=3;
rr=3;
$fn=30;
module cs(x,y,z,r=3)
{
translate([-x/2,-y/2,0]) cylinder(z,r,r);
translate([x/2,-y/2,0]) cylinder(z,r,r);
translate([-x/2,y/2,0]) cylinder(z,r,r);
translate([x/2,y/2,0]) cylinder(z,r,r);
}
module rib(n=0,zz=3,l=36)
{
rotate([0,0,n*360/5])
translate([-l/2,-6.66,0])
... | glb/cad_a32baa40c3d8.glb |
Create a reusable zip tie model with a total length of 150mm and a width of 8mm. The main body consists of a flat strap with a thickness of approximately 2.67mm. Along one edge of the strap, create a series of 10 repeating locking segments, each 10mm long. Each segment should feature a protruding tooth geometry that al... | w=8;
l=10;
tl=150;
n=10;
thmod=100;
assert(tl > l*n+2*w+b, "Increase total length");
assert(w > 0, "Width must have positive value");
assert(l > 0, "Segment lenght must have positive value");
assert(l >= w, "Segment length can't be smaller than width");
a=w/6;
b=w/3;
c=w/2;
d=w*1.5;
th=b*thmod/100;
r2=max(b, b*t... | glb/cad_47c83eaa5d3d.glb |
Create a Christmas bauble ornament consisting of a textured sphere and a hanging loop.
Start by creating a sphere with a radius of 10mm. Modify the surface of this sphere to have a repeating, geometric diamond-like knurled texture across its entire exterior.
At the top of the sphere, centered on the Z-axis, add a h... | kugel=1;
all=false;
dia=20;
Color(){
if(kugel==2||all)translate(kugel==2?[0,0,dia/2-1]:[25,0])
Nubsi(dia/2-2)
Dual(isect=0,sr=dia/2+.2,sr2=dia/2-.35)
Sphere(r=dia/2,rz=dia/2,az=+0,twist=+1.00,a=0.5,centerDia=.01,f=20,f2=20.0,grad=360,grad2=180,fn=40,fny=20);
if(kugel==1||all)translate(kugel==1?[0,0,dia/2-1]:[25... | glb/cad_c2631c9971c7.glb |
Create a hex driver for a toy vehicle consisting of a rounded rectangular base and a hexagonal socket. First, construct the base as a rectangular block with dimensions 70mm in length, 12mm in width, and 3mm in height, ensuring all edges and corners are rounded with a radius of 10mm. Centered on the top surface of this ... | hex_size=20;
hex_inner_size=15;
hex_inner_depth=10;
hex_z=18;
roundnes=10;
x=80-roundnes;
y=22-roundnes;
z=13-roundnes;
module driver(){
rotate([0,0,30]){
difference(){
cylinder(d=hex_size, h=hex_z, $fn=6);
translate([0,0,hex_z-hex_inner_depth])
cylinder(d=hex_inner_size, h=hex_inner_depth, $fn=6);
}
}
}
$fn... | glb/cad_231dacd92578.glb |
Create a hyperOrganizer holder for a rotary glass eraser. Start by creating a solid rectangular bin with an exterior width of 23mm, a depth of 23mm, and a height of 73mm. The walls and the base should have a uniform thickness of 1.6mm.
To allow for easier access to the contents, apply an angular cutaway to the top fro... | parttype = "R";
width = 23;
depth = 23;
height = 73;
thickness = 1.6;
pegs = 0;
rows = 1;
solid = "Y";
base = "Y" ;
offset = 0;
subtractangle = "Y";
subtractpercent = -.2;
pegDiameter = 5;
pegLength = 2;
peg2peg = 45/2;
vertpeg2peg = 59/2;
pegFitpercentage = 3;
removepegs = "N" ;
morepegs = "N" ;
keyPegBigDiameter... | glb/cad_55872a6c088f.glb |
Create a Forest Shuffle board game organizer by starting with a solid rectangular block measuring 160mm in width, 110mm in depth, and 38mm in height, featuring rounded corners with a 5mm radius. From this main body, carve out several internal compartments. Create two identical card slots, each 57mm wide, 88mm deep, and... | $fn=200;
difference(){
roundedCube(160,110,38);
{
translate([18,15,13])
roundedCube3(57,88,50);
translate([85,15,18])
roundedCube3(57,88,50);
}
{
translate([18,3,30])
roundedCube3(124,214,50);}
{
translate([29.5,3,25.5])
roundedCube3(101,81,50);}
for(i = [0:1])
translate([(i*67)+46.5,110,-1])
cylinder(h=400, d=28... | glb/cad_ba307a2c2f5c.glb |
Create a Forest Shuffle board game organizer by starting with a solid rectangular base measuring 160mm in width, 110mm in depth, and 38mm in height, with all exterior corners rounded to a 5mm radius. Carve out three distinct compartments from the top of this base. First, create two identical side-by-side card slots, ea... | $fn=200;
difference(){
roundedCube(160,110,38);
{
translate([18,15,1])
roundedCube3(57,88,50);
translate([85,15,1])
roundedCube3(57,88,50);
}
{
translate([18,3,30])
roundedCube3(124,214,50);}
for(i = [0:1])
translate([(i*67)+46.5,110,-1])
cylinder(h=400, d=28, center=false);
for(i = [0:1])
translate([(i*160)+0,55... | glb/cad_292202bd7a99.glb |
Create a parametric coin with a total height of 3.5mm and a radius of 17.19mm. The main body is a cylinder with a chamfered edge of 1.75mm on both the top and bottom faces. Centered on the top face and extending through the entire height of the coin, create a cutout of the number "25". The text should be sized at 23.87... | $fn = 100;
penny_number = "1";
penny_radius = 0.750;
penny_height = 1.52 / 2;
nickel_number = "5";
nickel_radius = 0.835;
nickel_height = 1.95 / 2;
dime_number = "10";
dime_radius = 0.705;
dime_height = 1.35 / 2;
quarter_number = "25";
quarter_radius = 0.955;
quarter_height = 1.75 / 2;
number = quarter_number;
rad... | glb/cad_a991d675f78d.glb |
Create a tube clamp designed to hold an 11mm diameter cable. Start with a base cylinder that is 20mm in diameter and 6mm high. From this base, extend a curved arm upwards and over to create a C-shaped cradle. This cradle should be designed to snugly fit a cable with an 11mm diameter, but apply a squish factor of 0.8 to... | tubediam=11;
squichFactor=0.8;
visdiam=10;
vistaperh=4;
vishole=5;
ty=tubediam/2+visdiam/2+5;
$fs=0.5;
$fa=0.2;
module vis(diam=10,hole=5,taperh=4) {
union() {
cylinder(h=30,d=diam);
translate([0,0,-taperh+0.05]) {
cylinder(h=taperh,d1=hole,d2=diam);
translate([0,0,-29.95]) cylinder(h=... | glb/cad_5c65c41d3977.glb |
Create a tube clamp designed to hold a 20mm diameter tube. Start with a base cylinder 20mm in diameter and 6mm high. From this base, extend a vertical wall upwards that curves around to form a C-shaped cradle. This cradle should be wide enough to accommodate the 20mm tube, with the interior void of the cradle also bein... | tubediam=20;
squichFactor=1;
visdiam=10;
vistaperh=4;
vishole=5;
ty=tubediam/2+visdiam/2+5;
$fs=0.5;
$fa=0.2;
module vis(diam=10,hole=5,taperh=4) {
union() {
cylinder(h=30,d=diam);
translate([0,0,-taperh+0.05]) {
cylinder(h=taperh,d1=hole,d2=diam);
translate([0,0,-29.95]) cylinder(h=30... | glb/cad_d4d64b803524.glb |
Create a magnetic vice jaw cover by constructing an L-shaped profile. Start with a base rectangular slab 100mm wide, 20mm deep, and 5mm thick. Attach a vertical wall to the back of this slab that is 100mm wide, 5mm thick, and 20mm high. From the bottom face of the base slab, carve out two rectangular magnet recesses. E... | jawWidth = 100;
jawDepth = 20;
jawTop = 15;
jawThickness = 5;
magWidth = 30;
magHeight = 10;
magDepth = 1.75;
recessXOffset = 10;
recessYOffset = 5;
$fn = 50;
difference()
{
union()
{
cube( [jawWidth, jawDepth + jawThickness, jawThickness] );
translate( [0, jawDepth, 0] )
cube( [jawWidth, jawThickness, jaw... | glb/cad_4e967dba2d99.glb |
Create a protective case for a Digipass 270 device. Start by constructing a main rectangular pocket with outer dimensions of 47.5mm in width, 72.5mm in height, and 5.5mm in thickness. The walls of this pocket should be 1mm thick. Hollow out the interior of the pocket to create a space for the device, leaving a solid bo... | $fn = 100;
width = 45.5;
height = 70.5;
thickness = 3.5;
ring_holder_diameter = 10;
wall_thickness = 1;
bottom_edge = 1.5;
side_edge = 3;
finger_hole_diameter = 15;
split = false;
module pocket() {
difference() {
cube([width + 2 * wall_thickness, thickness + 2 * wall_thickness, height + wall_thickness]... | glb/cad_cd6fa467517a.glb |
Create a drain sieve by starting with a solid cylinder 95mm in diameter and 8mm in height. Remove a smaller concentric cylinder from the center with a diameter of 89mm and a height of 10mm, positioned so that it extends 2mm beyond the top surface of the base.
To create the filtration pattern, remove a series of verti... | $fn= $preview ? 32:128;
span=15;
not=0.001;
inf=100;
d(){
cylinder(d=95-.2,h=8);
t([0,0,5]) cylinder(d=95-6,h=10);
for(a=[360/32:360/16:359]) r(a) t([95/2-3-4,0,0]) cylinder(d=8,h=50,center=true);
for(a=[0:360/8:359]) r(a) t([95/2-3-4-span,0,0]) cylinder(d=8,h=50,center=true);
for(a=[360/16:360/4:359]) r(a) t([... | glb/cad_5280cdedc819.glb |
Create a Word Cookie Cutter based on the text "OMG" using the Bangers font. The model consists of a cutting wall and a supporting base.
First, generate the text geometry with a font size of 30mm. Create the main cutting wall by extruding the outline of the text to a total height of 18mm with a wall thickness of 0.6mm.... | text="OMG";
connect_all=1;
fontsize=30;
larger_inner=0;
larger_outer=.16;
bars=3;
height = 18;
impression=2.5;
thickness = .6;
barw=2;
topHeight = 2;
topThickness = 1.5;
fontselector="Bangers";
$fn = $preview ? 15 : 32;
module _2Dshape(z, larger, filled)
{
scale([-1,1,1])
{
offset(larger*f... | glb/cad_046c4fbfcf4c.glb |
Create a cooling fan plate for the sBITX. Start with a rectangular base plate measuring 85mm by 56mm with a thickness of 2mm. Add vertical walls of 2mm thickness and 11mm height along the long sides and the right short side.
At the four corners of the base, integrate cylindrical mounting posts with a radius of 5.1mm ... | ll=85;
ww=56;
hr=3.1/2;
ho=hr+2;
hs=38;
th=2;
sep=9+th;
x1=3.5;
y1=3.5;
x2=58+3.5;
y2=49+3.5;
fl=32;
fi=4;
fr=38/2;
fhr=3.6/2;
fcx=(x2+x1)/2;
fcy=ww/2;
fx1=fcx-32/2;
fy1=ww/2-32/2;
fx2=fx1+32;
fy2=fy1+32;
cx=2*ho;
cy=y1;
$fn=60;
difference(){
union(){
cube([ll,ww,th]);
translate([0,ww,0])
... | glb/cad_18375530145b.glb |
Create a sBITX top cover plate as a rectangular slab measuring 80mm in length, 25mm in width, and 3mm in thickness, with all exterior corners rounded to a 1mm radius.
At each end of the plate, center a circular screw hole with a diameter of 3.6mm. These holes should be countersunk on the top surface with a conical op... | ll= 80;
ww= 25;
op=14;
hw=70;
hin=(ll-hw)/2;
th=3;
hr=3.6/2;
mr=1;
sdy=(ww-op)/2+mr;
ds=4.9;
sr1=5.5/2;
sh=2;
tin=ww/2-2;
$fn=90;
module slot(){
minkowski() {
cube([1,op-2*mr, th-mr]);
cylinder(h=th/2, r=mr);
}
}
difference(){
minkowski() {
cube([ll-2*mr,ww-2*mr, th/2]);
cylinder(h=th/2,... | glb/cad_aef8fb11c758.glb |
Create a speed limit sign for an H0 model railway. Start by constructing a vertical support post as a rectangular prism with a width and depth of 1.2mm and a total height of 30mm. At the top of this post, attach a thin rectangular plate to serve as the sign face. This plate should be 10mm wide, 10mm high, and 0.5mm thi... | svg_width = 10;
post_width = 1.2;
post_height = 30;
height_offset = 4;
sideways_offset = -4.4;
union() {
cube([post_width, post_height, post_width]);
translate([sideways_offset, post_height + height_offset - svg_width, post_width]) {
cube([10, 10, 0.5]);
}
} | glb/cad_43b19c45006d.glb |
Create a speed limit sign for an H0 model railway. Start by constructing a vertical support post as a rectangular prism with a width and depth of 1.2mm and a total height of 30mm. At the top of this post, attach a thin rectangular plate to serve as the sign face. This plate should be 10mm wide, 10mm high, and 0.5mm thi... | svg_width = 10;
post_width = 1.2;
post_height = 30;
height_offset = 4;
sideways_offset = -4.4;
union() {
cube([post_width, post_height, post_width]);
translate([sideways_offset, post_height + height_offset - svg_width, post_width - 0.5]) {
cube([10, 10, 0.5]);
}
} | glb/cad_dd1a796e2eb5.glb |
Create a convex polyhedron based on a set of 1,296 vertices. Generate these points by iterating through two variables, i and j, both ranging from 0 to 35. For each pair, calculate the vertex coordinates as x = sin(i * 360 / 36), y = cos(j * 360 / 36), and z = sin((i + j) * 360 / 36). Once all points are defined, scale ... | steps=36;
size=12;
rotations=1;
p=[for(i=[0:steps-1],j=[0:steps-1])
let(x=i*360/steps,y=j*360/steps)
[sin(x),cos(y),sin((y+x)+180*$t)]];
color("gold")rotate([90*$t*2,0])rotate(90*$t*rotations)scale(size)AutoPoly(p);
module AutoPoly(p){
f=[for(i=[0:len(p)-3])[i,i+1,i+2]];
hull()
polyhedron(p,f,convexity=5);
} | glb/cad_fea80a1e55d9.glb |
Create a Beer Bottle Name Clip by starting with a hollow cylindrical ring with a height of 3mm, an inner radius of 12mm, and an outer radius of 14.5mm. Cut a rectangular gap out of the top of this ring to create a C-shaped clip, using a cutout block 50mm wide and 20mm deep centered on the Y-axis.
On the outer face of... | name="BEER";
fontname="Nova Mono";
hoehe = 3;
radius_innen = 12;
schrift_hoehe = 9;
module beerClip()
{
staerke = 2.5;
schrift_unterschneidung = 0.75;
schlitz_breite = 3;
schlitz_hoehe = 9;
cut=15;
radius_aussen = radius_innen + staerke;
difference() {
difference() {
cylinder(r = radius_au... | glb/cad_e059b7395378.glb |
Create a Sandbed Skimmer Inlet consisting of a main cylindrical canister, a connector, and a removable plug.
Construct the main canister as a hollow cylinder with an outer diameter of 35mm, a height of 38mm, and a wall thickness of 3mm. At the top of this canister, integrate a top cover 3mm thick that features 15 eve... | wall_thickness = 3;
can_diameter = 35;
can_height = 38;
inlet_diameter = 18;
inlet_length = 20;
inlet_wall_thickness = 2;
hole_diameter = 3.5;
num_holes = 15;
hole_radius = (can_diameter / 1.6) - wall_thickness - (hole_diameter * 2);
plug_lip_height = 5;
plug_lip_thickness = 2;
top_lip_height = 7;
top_lip_thickness... | glb/cad_c866f1af3938.glb |
Create an egg cup holder designed to fit an egg with a width of 45mm and a height of 55mm. The main body is formed by the union of a sphere with a radius of 22.5mm (the egg's half-width) and a cylinder that extends upwards, which is then intersected with a cone that has a base radius of 0 and a top radius of 15.9mm ove... | $variant="star2";
$egg_width=45;
$egg_height=55;
$base_radius=15;
$wall=1;
egg_w=$egg_width/2;
egg_h=$egg_height/2;
egg_rate=($egg_height-egg_w)/egg_w;
module torus(r1,r2) {
rotate_extrude($fn=40) translate([r1,0,0]) circle(r2,$fn=12);
}
module egg_lower(extra=0) {
egg_we=egg_w+extra;
intersection(){
egg_low... | glb/cad_1ff28f86b082.glb |
Create a thin, circular ring for a reusable hand cream container. The ring should be a hollow cylinder with an outer radius of 45.5mm and an inner radius of 44.1mm, resulting in a wall thickness of 1.4mm. The total height of the ring must be 4mm. Ensure the circular geometry is smooth with a high facet resolution. | $fn=160;
translate([32,0,0])
difference(){
cylinder(r=45.5,h=4);
translate([0,0,-0.1])
cylinder(r=44.10,h=4.2);
} | glb/cad_225a12d92ddc.glb |
Create a support bar structure for a travel guitar consisting of two mirrored L-shaped profiles and one central flat bar.
First, construct two identical L-shaped bars. Each L-bar should have a total length of 664 mm, with a cross-section consisting of two perpendicular legs of 15 mm width and 2 mm thickness. At one e... | include <settings.scad>
ExtraLengthAtNut = Nut_Thickness + LBarCutOff;
ExtraLengthAtBridge = -Saddle_Edge_Offset;
LBarLength = Scale_Length + ExtraLengthAtNut + ExtraLengthAtBridge;
module LBar_shape(length, size_y, size_z, thickness) {
difference() {
union() {
translate([0, 0, -thickness])
cube([... | glb/cad_c3a3f2c0d855.glb |
Create a tie block for a classical travel guitar. The part is a small, rectangular block with rounded edges and a filleted top surface.
Start with a base rectangular volume that has a width of 52 mm (Neck_Width_Nut) and a length of 20 mm (Tail_End_Length). The main body is a combination of a rectangular prism and a h... | include <settings.scad>
use <supportbar.scad>
use <body.scad>
module neck_slice(width, height, length = epsilon) {
rotate([0, -90, 0])
linear_extrude(length) {
difference() {
factor = 2*height / width;
scale([factor, 1])
circle(d = width);
translate([0, -(width/2 + epsilon)])
... | glb/cad_35ac48c4a82c.glb |
Create a 3D model of the "head" (the tail section) of a classical travel guitar. The overall shape is a tapered, elongated block that transitions from a wider bridge section to a narrower tail block.
Start by creating the head base: a hull that connects two rounded edges at the bridge end to a narrower section at the ... | include <settings.scad>
include <skew.scad>
use <bridge.scad>
use <pickup_pipe.scad>
use <supportbar.scad>
Head_Z_Tweak = Head_Extent * tan(Head_Angle);
module head_base() {
union() {
hull() {
tweak_y = 0.5;
for (i = [0 : 1]) {
xpos = (i == 0) ? -Head_Extent : Head_Extent;
translate... | glb/cad_39edc09c47b7.glb |
Create a solid-body travel guitar body with a thickness of 40 mm. The main body is a symmetrical, elongated shape that tapers from a narrow neck joint to a wider bridge area. The overall scale length is 650 mm.
At the neck end, create a rectangular recess for the fretboard. The body should feature a teardrop-shaped ho... | include <settings.scad>
include <skew.scad>
use <case.scad>
use <head.scad>
use <neck.scad>
use <pickguard.scad>
use <pickup_pipe.scad>
use <supportbar.scad>
module body_base() {
union() {
hull() {
translate([Edge_Rounding, -(Joint_Width/2 - Edge_Rounding), Edge_Rounding])
sphere(r = Edge_Rounding... | glb/cad_2f51f7200eff.glb |
Create a teardrop-shaped hollow electronics case for a travel guitar body, with a total height of 40 mm. The main enclosure is a hollowed-out box with a rounded, organic outer profile. The top surface features a recessed cutout to accommodate a snap-on pickguard, with a thin ridge layer of 2 mm to support the pickguard... | include <settings.scad>
include <bezier.scad>
use <pickguard.scad>
ridge_layer = 2;
chamfer_inner_top = 4;
chamfer_inner_bottom = 2;
chamfer_outer = sqrt(Edge_Rounding);
flat_wall_thickness = 1.2;
interior_height = Body_Thickness - Case_WallSize - Pickguard_Thickness;
module case_curve(width, length, slant, weight) ... | glb/cad_a77fd48c5b73.glb |
Create a bridge and saddle assembly for a classical travel guitar.
First, construct the bridge as a rounded, organic block. The main body is formed by a hull of cylinders and spheres, creating a smooth, tapered shape. At the rear of the bridge, integrate a "comb" consisting of six parallel, rounded pegs that serve as... | include <settings.scad>
module bridge_pins(angle = 0, tolerance = 0) {
xoffs = Bridge_Length/2 + (Dowel_Length/2)*tan(angle);
yoffs = Bridge_Width * 0.31;
translate([xoffs, yoffs, -Dowel_Length/2])
rotate([0, -angle, 0])
cylinder(d = Dowel_Diameter + tolerance, h = Dowel_Length);
translate([xoffs, -y... | glb/cad_550ea77a3086.glb |
Create a Classical Travel Guitar with a 650 mm scale length. Construct a body 40 mm thick with a teardrop-shaped hollow case integrated into it to house a 6.35 mm TRS socket and volume knob. The body should feature slots for two parallel L-shaped aluminium bars and one flat bar that run through the body and neck for st... | knob_preferred_height = 12;
knob_preferred_diameter = 16;
knob_preferred_contact_diameter = 13;
knob_preferred_knurling_step = 2.6;
bolt_nominal_length = 20.32;
bolt_grip_length = 4;
bolt_head_height = 3.72;
bolt_head_width = 7.89;
bolt_thread_diameter = 4.78;
knurling_depth = 50;
cover = "L";
printer_tolerance... | glb/cad_17d101336b76.glb |
Create a hydroponics net pot with a height of 40mm, a top diameter of 60mm, and a bottom diameter of 40mm. The main body is a truncated cone with walls 1.5mm thick and a bottom base 1.2mm thick. At the very top, add a 1mm high flat rim that extends the diameter to 62mm to create an overhang.
Hollow out the center of t... | diameter_top=60;
diameter_bottom=40;
height=40;
overhang_extent=2;
overhang_height=1;
overhang_angle=55;
thickness_bottom=1.2;
thickness_walls=1.5;
width_connections=3;
pie_segments_1=8;
pie_segments_2=16;
pie_segments_3=24;
pie_segments_wall=24;
eps=0.03*1;
$fn=100*1;
module cyl_sect(r1, r2, h) {
differen... | glb/cad_a5b5c4af7385.glb |
Create a replacement keyboard foot with a main rectangular body measuring 16.6mm wide, 30mm long, and 4.8mm high. Centered on the width of the body, add two cylindrical pins extending from the sides; each pin should have a radius of 1.25mm and extend 2.4mm outward from the main body.
On the top surface, carve two sym... | $fs = .1;
$fa = .1;
width = 16.6;
length = 30;
height = 4.8;
pin_radius = 1.25;
pin_length = 2.4;
slit_length = 15;
slit_width = 2;
slit_offset = 4.8;
cutout_depth = .75;
difference() {
union() {
placed_cube([width, length, height], _mid(), _min(), _mid());
ty(pin_radius) rotate([0, 90, 0]) c... | glb/cad_d55ac4ed57d9.glb |
Create a vent cover for a float tent consisting of a circular outer wall and four internal fins. The outer wall is a cylinder with an outer radius of 44mm, a total height of 30mm, and a wall thickness of 2mm. The bottom edge of this outer wall is not a simple cylinder; it features a tapered base where the radius reduce... | $fa = .5;
$fs = .5;
outer_radius = 44;
height = 30;
wall_thickness = 2;
with_standoff = true;
bottom_edge_angle = 60;
bottom_flat_radius = 38;
pin_radius = 26;
pin_height = 40;
pin_degrees = 15;
pin_thickness = 3;
pin_bend_height = 25;
pin_bend_angle = 10;
standoff_outer_radius = 32;
standoff_height = 0;
standoff... | glb/cad_8e63239f8489.glb |
Create a BambuStudio Infill Sample Swatch. Start with a base plate measuring 40mm wide by 30mm high with a thickness of 0.4mm. Round the four corners of this base with a 5mm radius.
On top of this base, center a raised rectangular section that is 40mm wide and 23mm high with a thickness of 1.6mm. This raised section ... | $fn = $preview ? 16 : 64;
base_width = 40;
base_height = 30;
base_depth = 0.4;
raised_width = base_width;
raised_height = 23;
raised_depth = 1.6;
corner_radius = 5;
notch_diameter = 4;
notch_offset_top = 4;
notch_offset_side = 1;
label = "Archimedean Chords";
font = "PT Sans Narrow:style=Bold";
layer_height = 0.2;
... | glb/cad_9eb57ea56ad9.glb |
Create an extendable focusing knob consisting of a base and an attached shaft. Start with a base disk that features four registration pins of 4mm diameter and 3mm height, spaced 18mm apart center-to-center. In the center of this base, create two circular pockets for 6mm magnets, spaced 18mm apart, with a depth of 2mm. ... | Shaft_Dia = 27;
Shaft_Length = 30;
Knob_Dia = 60;
Knob_Type = "Ellipsoid";
Mag_Dia = 6;
Mag_Dia_Tol_Percent=1;
Mag_Depth = 2;
Mag_Dist = 18;
Pin_Depth=3;
Pin_Dia=4;
Pin_Dist=18;
Pin_Tol_Percent=10;
Knurl_Count = 18;
Knurl_Dia = 7.5;
Fastener_Cutouts = true;
Fastener_Dist=16;
Fastener_Head_Dia=7.35;
Fas... | glb/cad_df293d3a6b7c.glb |
Create a replacement focus knob for an Intrepid view camera. Start with a main cylindrical body 27mm in diameter and 7mm thick. Bore a 10mm diameter hole through the center of the cylinder.
Create two fastener holes passing through the center along a 16mm center-to-center axis. Each hole consists of a 4.1mm diameter ... | Knob_Outer_Dia = 27;
Focus_Screw_Dia = 10;
Include_Magnet_Pockets = true;
Mag_Dia = 6;
Mag_Dia_Tol_Percent = 1;
Mag_Depth = 2;
Mag_Dist = 18;
Include_Registration_Pins = true;
Pin_Depth=3;
Pin_Dia=4;
Pin_Dist=18;
Fastener_Head_Dia = 7.35;
Fastener_Head_Depth = 2.5;
Fastener_Shaft_Dia = 4.1;
Fastener_Dist ... | glb/cad_c134d6196f74.glb |
Create a Modular Nespresso Vertuo Capsule base with a total height of 4mm. Start by constructing a rectangular block 62mm wide, 4mm deep, and 4mm high. From this block, remove a large central cylindrical section with a diameter of 200mm to create a curved cutout.
Repeat this primary geometric unit three times. Positi... | diamExt=58;
largura=diamExt+4;
capsulas=1;
altura=4;
difference () {
translate([2,4,0]) cube ([largura,4,altura]);
translate ([30,-93,-1]) cylinder(d=200,h=altura+2,$fn=100);
};
translate([1,0,0])cube ([2,8,altura]);
translate([1,0,0])cube ([6,1,altura]);
translate([largura,0,0])cube ([2,8,altura]);
translate([... | glb/cad_3a6023d189f2.glb |
Create a Modular Nespresso Vertuo Capsule holder. Start by constructing a rectangular block that is 62mm wide, 4mm deep, and 58mm high. From this block, remove a large cylindrical section with a diameter of 200mm, centered at x=30 and y=-93, to create a curved inner face.
To complete the geometry, add several thin re... | diamExt=58;
largura=diamExt+4;
capsulas=1;
altura=diamExt * capsulas;
difference () {
translate([2,4,0]) cube ([largura,4,altura]);
translate ([30,-93,-1]) cylinder(d=200,h=altura+2,$fn=100);
};
translate([1,0,0])cube ([2,8,altura]);
translate([1,0,0])cube ([6,1,altura]);
translate([largura,0,0])cube ([2,8,altu... | glb/cad_1ff7db4bc4f8.glb |
Create a portafilter holder for a Rocket R58. The design consists of a cylindrical funnel and a supporting mount.
Start by creating a hollow cylindrical funnel with an inner diameter of 58mm and a wall thickness of 2.4mm. The funnel should have a total height of 20mm.
Above the funnel, construct a portafilter mount. ... | portafilter_dia = 58;
portafilter_mount_dia = 83.0;
portafilter_mount_height = 10.0;
portafilter_mount_deep = 4.0;
funnel_height = 20;
wall_thick = 2.4;
holder_height = 119.50;
holder_nub_offset = 9.5;
holder_nub_dia = 4.5;
portafilter_offset = 10;
leg_width = 29.3;
stop_width = 11.75;
stop_depth = 2.0;
$fn=1... | glb/cad_1770d8cc0c19.glb |
Create a square grid for the board game Azul by starting with a solid square base measuring 103mm by 103mm with a height of 2mm. To create the grid pattern, remove a series of smaller square holes from this base. Arrange these holes in a 10 by 10 array. Each hole should measure 19mm by 19mm and have a depth of 10mm, ef... | WIDTH = 103;
THICK = 1;
HEIGHT = 02;
difference() {
cube([WIDTH,WIDTH,HEIGHT]);
for ( y = [0:1:10]) {
for ( i = [0:1:10]) {
translate([THICK+i*20.5,THICK+y*20.5,0])cube([20-THICK,20-THICK,10]);
}
}
} | glb/cad_32cb9aef2f8c.glb |
Create a Handheld Console Stand consisting of two rectangular plates with rounded corners, each 25mm wide and 1.5mm thick. The first plate, the seat, is 15mm deep. The second plate, the rest, is 25mm deep. Position the rest plate above the seat plate and rotate it 85 degrees relative to the seat. Tilt the entire assemb... | sheet_x=25;
sheet_z=1.5;
sheet_d_=10;
bottom_sheet_y=15;
top_sheet_y=25;
angle_sheets=85;
angle_seat=7;
legs=1;
leg_w=2;
$fn=64;
sheet_d=max(sheet_d_,0.0001);
module sheet(size=[25,15,1.5],d=10){
hull(){
translate([0,d/2,0])cube(size-[0,d/2,0]);
translate([d/2,d/2,0])cylinder(d=d,h=size[2]);
translate... | glb/cad_099455477dba.glb |
Create a set of round microscope cover glass spacers. Each spacer is a hollow cylinder with an outer diameter of 18mm and a wall thickness of 4mm, leaving an inner hole diameter of 10mm.
Construct the spacers in eight different heights, ranging from 0.2mm to 1.6mm in increments of 0.2mm. For each height, create a row... | mode=2;
size=18;
border=4;
nopin=false;
pin_len=2;
$fn=50;
function pin_height(expected) = ( expected>0.4 ? 0.4 : expected );
module model_stand(layers) {
printer_layer_thickness=0.2;
thickness=printer_layer_thickness*layers;
difference(){
cylinder(d=size,h=thickness);
cylinder(d=size-... | glb/cad_cc3a93e304e3.glb |
Create a set of square microscope cover glass spacers. Each spacer is a hollow square frame with an outer dimension of 18mm by 18mm and a wall thickness of 2mm.
Construct the frames with varying heights in increments of 0.2mm. For each spacer, create a solid square base and remove a central square area of 14mm by 14m... | mode=2;
size=18;
border=2;
nopin=false;
pin_len=1;
$fn=20;
function pin_height(expected) = ( expected>0.4 ? 0.4 : expected );
module model_stand(layers) {
printer_layer_thickness=0.2;
thickness=printer_layer_thickness*layers;
difference(){
cube([size,size,thickness]);
translate([border... | glb/cad_7a1722c5e008.glb |
Create a Backflush Blind Filter by constructing a thin, circular disc. Start with a base circle that has a diameter of 50mm. Extrude this shape vertically to a height of 1.4mm. As the shape is extruded, apply a slight outward scale increase so that the top surface is 2% larger than the base, resulting in a very shallow... | $fn=128;
linear_extrude(height = 1.4, scale = 1.02)
circle(d=50); | glb/cad_1840f2cc144d.glb |
Create a pot lid handle by revolving a specific profile around a central vertical axis. The resulting object is a radially symmetrical knob with a central hole. The cross-section of the handle starts with a central hole of radius 3.65mm that extends 10mm deep. From the bottom of this hole, the profile extends outward t... | $fa = $preview ? 1 : .1;
$fs = $preview ? 1 : .1;
inner_depth = 10;
inner_r = 3.65;
outer_depth = 10;
outer_r = 3;
handle_depth = 7;
handle_r = 18;
pts = [
[0, inner_depth],
[inner_r, inner_depth],
[inner_r, 0.5],
[inner_r + outer_r, 0],
[inner_r + outer_r, outer_depth-3],
[handle_r, outer_de... | glb/cad_c68fa821cf31.glb |
Create a cooling fan plate for the sBITX with a base rectangular plate measuring 85mm by 56mm and a thickness of 2mm. Add vertical walls of 11mm height and 2mm thickness along the long sides (85mm) and the right short side (56mm).
At the four corners of the base plate, position four cylindrical mounting posts with a ... | ll=85;
ww=56;
hr=3.1/2;
ho=hr+2;
hs=38;
th=2;
sep=9+th;
x1=3.5;
y1=3.5;
x2=58+3.5;
y2=49+3.5;
fl=40;
fi=5;
fr=48/2;
fhr=4.5/2;
fcx=(x2+x1)/2;
fcy=ww/2;
fx1=fcx-fl/2;
fy1=ww/2-fl/2;
fx2=fx1+fl;
fy2=fy1+fl;
cx=2*ho;
cy=y1;
$fn=60;
difference(){
union(){
cube([ll,ww,th]);
translate([0,ww,0])
... | glb/cad_070948dfc171.glb |
Create a Simple Eyepiece Case consisting of a main body and a lid. For the main body, create a rectangular box with overall dimensions of 123.6mm in width, 83.6mm in depth, and 60mm in height. Hollow out the center of this box to create a shell with a wall thickness of 1.2mm. Inside this shell, remove a central rectang... | eyepiece_diameter = 31.75;
eyepiece_radius = eyepiece_diameter / 2;
slot_tolerance = .5;
slots_columns = 3;
slots_rows = 2;
tray_thickness = 2;
case_width = slots_columns * 40;
case_depth = slots_rows * 40;
case_height = 60;
case_wall_thickness = 1.2;
tray_support_size = 1;
h_space_between_slots = (case_width/slot... | glb/cad_a7a97ef6f30c.glb |
Create a coffee grinder funnel consisting of a cylindrical base and a conical top. Start by creating a hollow cylinder for the base with an outer diameter of 40mm, an inner diameter of 38.5mm, and a height of 10mm. Centered on top of this base, add a hollow conical section that flares outward. This cone should start wi... | innerDiameter = 40;
funnelDiameter = 70;
materialThickness = 3;
funnelTunnelHeight = 10;
funnelHeight = 15;
$fn = $preview ? 16 : 64;
difference() {
cylinder(d=innerDiameter, h=funnelTunnelHeight);
translate([0,0,-1]) cylinder(d=innerDiameter-materialThickness/2, h=funnelTunnelHeight+2);
}
difference() {
t... | glb/cad_1403db37ad64.glb |
Create a Gridfinity Ultra Light Bin with a footprint of 42mm by 84mm (1x2 grids) and a total height of 21mm (3 units of 7mm).
Construct the main body as a hollow rectangular shell with a wall thickness of 1mm. The base should be "ultra-light," meaning the bottom surface is not solid but consists of a thin perimeter w... | Grids_X = 1.0;
Grids_Y = 2.0;
Grids_Z = 3.0;
Half_Grid_Right = true;
Half_Grid_Top = true;
Half_Grid_Base = false;
Wall_Thickness = 1.00;
Ultra_Light_Base = true;
Ultra_Light_Labels = true;
Magnets = false;
Magnet_Diameter = 6.15;
Magnet_Depth = 2.2;
Dividers = false;
Dividers_X = 0;
Dividers_Y = 1;
Labe... | glb/cad_769ad320d780.glb |
Create a rectangular interface panel for a portable computer. Start with a main solid body that is 72mm wide, 17mm high, and 1.5mm thick.
Centered on the top face of this body, create a rectangular cutout for a display. The outer dimensions of this cutout area are 19mm wide by 12mm high. To create the window effect, ... | module roundLed2_5mm(x,y) {
radius=2.5/2;
if(x==0 && y==0) {
translate([0,0,1.5]) {
cylinder(h=4,r=radius,$fn=32);
}
} else {
translate([x,y,1.5]) {
cylinder(h=4,r=radius,$fn=32);
}
}
}
module displaysquare(x,y) {
height=12;
lenght=19;
... | glb/cad_2762d95e084a.glb |
Create a rectangular interface panel for a portable computer. The main body is a rectangular slab measuring 99.6mm in width, 34.6mm in height, and 3.96mm in thickness.
Subtract the following geometric cutouts from this slab:
- Two circular holes with a radius of 6.6mm (13.2mm diameter), centered vertically at -7mm rel... | module switchround13mm(x,y) {
radius=13.2/2;
if(x!=0 && y!=0) {
translate([x,y,-5]) {
cylinder(h=20,r=radius,$fn=32);
}
} else {
translate([0,0,-5]) {
cylinder(h=20,r=radius,$fn=32);
}
}
}
module switchround11mm(x,y) {
radius=11/2;
if(x!=... | glb/cad_c6a8bb2c3325.glb |
Create a replacement handle for a moka pot. Start with a main grip body formed by the convex hull of two rounded shapes: two cylinders with a 14mm diameter and 10mm height, each expanded by a 5mm radius sphere, positioned at [9, -28, 0] and [9, 28, 0]. Attach a rectangular block measuring 35mm x 28mm x 20mm centered at... | $fn=90;
difference(){
union(){
hull(){
translate([9,-28,0])minkowski(){
cylinder(d=14,h=10,center=true);
rotate([90,0,0])cylinder(r=5);
}
translate([9,28,0])minkowski(){
cylinder(d=14,h=10,center=true);
rota... | glb/cad_02e18761f9a5.glb |
Create a bike lashing strap mount consisting of two separate parts: a main body and a peg insert.
For the main body, create a hull between two cylinders centered on the Z-axis. The first cylinder is at the origin with a diameter of 25.2mm, and the second is positioned 40mm along the X-axis with a diameter of 43.5mm; ... | $fa = 0.2;
$fs = 0.2;
length = 40;
margin = 15;
hook_flange_width = 10.2;
hook_flange_height = 3;
hook_thickness = 6.3;
hook_standoff = 4;
height = hook_standoff * 2;
slit_width = 26.5 + 2;
slit_opening = 10;
slit_rounding = 1;
translate([0, 0, height / 2])
difference() {
hull(){
bottom_width = hook_f... | glb/cad_151936c067e2.glb |
Create a bike lashing strap mount consisting of two separate parts: a main body and a hook insert.
For the main body, create a shape that is 40mm wide and 8mm tall. The overall footprint is a stadium shape, formed by two 40mm diameter cylinders centered 40mm apart along the x-axis, joined by a central rectangular blo... | $fa = 0.2;
$fs = 0.2;
width = 40;
hook_flange_width = 10.2;
hook_flange_height = 3;
hook_thickness = 6.3;
hook_standoff = 4;
height = hook_standoff * 2;
slit_width = 26.5 + 2;
slit_opening = 10;
slit_rounding = 1;
translate([0, 0, height / 2])
difference() {
union(){
cylinder(h=height, d=width, center... | glb/cad_62e1d3415e08.glb |
Create a rope wall hook by extruding a 2D profile to a height of 20mm. The profile consists of a rectangular wall plate and a curved hook. The wall plate is a rectangle 3mm wide and 100mm long, centered on the vertical axis. Attached to the plate is a circular hook with an outer diameter of 30mm and a wall thickness of... | $fa = 0.1;
$fs = 0.1;
plate_length = 100;
hook_diameter = 30;
hook_thickness = 3;
hook_width = 20;
angle = 20;
dx = hook_diameter * sin(angle);
linear_extrude(hook_width) {
translate([hook_thickness / 2, 0, 0])
square([hook_thickness, plate_length], center=true);
translate([hook_diameter / 2,0,0])
union(){
dif... | glb/cad_273832f40d8e.glb |
Create a 19mm FPV Camera Mount for a 30x30 stack. Start with a rectangular base plate measuring 33.5mm by 33.5mm with a thickness of 2mm. At each of the four corners of this base, create a vertical hole with a radius of 1.5mm.
On opposite sides of the base plate, centered along the width, construct two identical verti... | $fs = 0.1/1;
$fa = 0.1/1;
stackSize = 30.5;
stackScrewRadius = 1.5;
stackScrewClearance = 1.5;
bottomSize = stackSize + stackScrewRadius*2 + stackScrewClearance*2;
bottomThickness = 2;
camSize = 19;
camMountThickness = 2;
camScrewRadius = 1;
camScrewHeight = 15;
difference() {
hull() {
fourHoles(bottomThickness,... | glb/cad_fef24c8bcb3c.glb |
Create a 3D etiquette sign featuring a speech bubble shape with embossed text. First, create a base layer by extruding a speech bubble outline to a height of 1.5mm. This bubble should be based on a standard right-pointing speech bubble glyph with a size of 66 units. On top of this base, add a second layer of the same s... | $fn = 64;
module bubble(s) {
translate([ -1.433 * s / 30, -2.437 * s / 30 ])
text("🗩", size = s, font = "Segoe UI Symbol:style=Regular",
halign = "center", valign = "center");
}
fsize = 6;
up = fsize / 3;
module base() { offset(delta = 1) bubble(66); }
module raised() {
difference() {
ba... | glb/cad_937d3b3d716a.glb |
Create a Chisel Guard with a built-in spring retention system. The main body is a rectangular sleeve with a wall thickness of 1.5mm. The internal cavity is designed to fit a chisel 25mm wide and 4mm thick, with a total internal length of 31.5mm.
The top of the guard is open to allow the chisel to slide in. The bottom ... | chiselWidth = 25;
chiselThickness = 4;
marking=str(chiselWidth, "mm");
chiselClearance = 0.2;
coverInternalLength = 31.5;
topGap = 1.5;
wallThickness = 1.5;
dimpleDepth = 2;
dimpleLength = 15;
dimpleOffset = dimpleLength/2+3;
springSideClearance = 0.25;
springEndOffset = 5;
springNegative = 1.75;
springReinforsmentWidt... | glb/cad_1f10ceede4ab.glb |
Create a curtain holder replacement part consisting of a hollow cylindrical ring attached to an octagonal base. Start by creating a main cylinder with an outer diameter of 40mm, a height of 40mm, and a concentric inner hole with a diameter of 29mm. Attached to this ring, create an octagonal prism with a height of 56mm ... | $fn=100;
i=29;
o=40;
difference(){
union(){
cylinder(h=40, d=o);
translate([o/2-4,0,020])
rotate([0,90,0]){
{
cylinder(h=35, d=15);
translate([0,0,-14])
rotate([0,0,45/2])
differe... | glb/cad_99833e0c1e92.glb |
Create a modular board for Ricochet Robots. Start by constructing a square base plate measuring 170mm by 170mm with a thickness of 0.25mm. On top of this base, add a primary board section that is 200mm by 200mm and 3mm thick, but scale its height by 0.5 to maintain a consistent thickness across the surface. To create t... | f="a9boardricrob.stl";
offsetx=160;
offsety=180;
offsetx_hole=10;
offsety_hole=10;
difference(){
union(){
translate([0,0,-7.65])
scale([1,1,3])
difference(){
translate([offsetx,offsety])
import(f);
cube([200,200,3.0]);
}
translate([offse... | glb/cad_a387710850b0.glb |
Create a modular wall piece for a Ricochet Robots board. The main body is a rectangular block measuring 20mm in length, 3mm in width, and 8mm in height. Position this block so its base starts at a height of 1.5mm. At both ends of the rectangular block, centered on the width, add a cylinder with a diameter of 3mm and a ... | $fn=100;
feed_h=3;
cylinder(d1=2,d2=2.4, h=feed_h, center=true);
translate([20,0,0])
cylinder(d1=2,d2=2.4, h=feed_h, center=true);
module wall(){
translate([0,-1.5,feed_h/2])
cube([20,3,8]);
translate([0,0,feed_h/2])
cylinder(d=3, h=8);
translate([20,0,feed_h/2])
cylinder(d=3, h=8);
}
wal... | glb/cad_aac37882c6fa.glb |
Create a modular game piece for a Ricochet Robots board. Construct a thin, square plate with a total width and length of 16mm and a thickness of 0.8mm. The plate should be centered on the origin. The four corners of the square must be rounded with a radius of 0.5mm. On top of this base, add a second square prism that i... | $fn=100;
side_radius=0.5;
side_len=16;
s=(side_len-2*side_radius)/2;
translate([0,0,-1])
hull(){
translate([s,-s,0])
sphere(r=side_radius);
translate([s,s,0])
sphere(r=side_radius);
translate([-s,-s,0])
sphere(r=side_radius);
translate([-s,s,0])
sphere(r=side_radius);
}
translate([0,0,... | glb/cad_ca717d3ba7c0.glb |
Create a modular game wall piece for a Ricochet Robots board. Start by constructing a central rectangular block that is 28.2842mm long, 3mm wide, and 8mm high, centered on the XY plane and positioned 5.5mm above the base. To finish the ends of this block, add two cylinders with a diameter of 3mm and a height of 8mm, ce... | $fn=100;
feed_h=3;
translate([20,0,0])
cylinder(d1=2,d2=2.4, h=feed_h, center=true);
translate([0,20,0])
cylinder(d1=2,d2=2.4, h=feed_h, center=true);
module wall(){
translate([10.,10.,feed_h/2+4])
rotate([0,0,-45])
cube([28.2842,3,8], center=true);
translate([20,0,feed_h/2])
cylinder(d=3, h=8... | glb/cad_2337ff5e7dfe.glb |
Create a screw cover for an IBM 5151 display. Start with a solid rectangular base measuring 17.30mm in width, 17.20mm in depth, and 5.70mm in height. From the top surface of this base, remove four parallel rectangular strips running along the depth axis to create a ribbed texture. The first strip is 3.60mm wide, positi... | difference() {
cube([17.30,17.20,5.70]);
translate([-1,-0.1,4.60]) cube([3.60,17.40,2]);
translate([4.90,-0.1,4.60]) cube([2.60,17.40,2]);
translate([4.90*2,-0.1,4.60]) cube([2.60,17.40,2]);
translate([4.90*3,-0.1,4.60]) cube([3.60,17.40,2]);
translate([17.30/2-10/2,3,-7])
cube([10,10,1... | glb/cad_6a6d89a1f486.glb |
Create a replacement cover for a light switch. Start with a main rectangular body that is 70.2mm wide, 69.5mm deep, and 2mm thick. On top of this base, add a slightly smaller rectangular block that is 69.9mm wide, 68mm deep, and 7.6mm tall, centered on the base to create a stepped profile. Integrate two semi-cylindrica... | $fn=100;
t=2;
mm=0.001;
module xcb(x,y,z=0)
translate([-x/2,-y/2,z])
cube([x,y,mm]);
module xcl(l,r)
intersection() {
translate([-l/2,0,1.5])
rotate([0,90,0])
cylinder(l,r/2,r/2);
translate([-l/2-10,-r-10,0])
cube([l+20,r+20,r+20]);
}
differ... | glb/cad_0ff3f861805a.glb |
Create a bicycle mud guard light holder. Start with a base plate that is 20mm wide, 50mm long, and 21mm thick, tilted back by 20 degrees. At the center of this base, create a vertical mounting post. The post begins as a cylinder with a 3mm diameter and 50mm height, which then transitions into a wider cylinder with a 9m... | $fn=50;
intersection () {
difference ()
{
translate([-10,0,0])
rotate([-20,0,0])
cube([20,50,21]);
translate([-30,-20,5])
cube([60,100,50]);
translate([-30,-20,-50])
cube([60,100,50]);
translate([0,20,-10])
union() {
cylinder(50,3,3);
translate([0,0,14])
cylinder(50,9,9);
}
}
... | glb/cad_6c012cfe8a3b.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.