Prompt stringlengths 96 2.17k | Code stringlengths 27 249k | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a parametric vacuum adapter consisting of two connected cylindrical sections with a beveled transition. Start by creating a bottom cylinder with an outer diameter of 44.1mm and a height of 41mm. Above this, add a beveled conical transition 5mm in height that tapers from the bottom diameter down to an outer diame... | bottom_diameter = 40.1;
bottom_length = 46;
top_diameter = 31.8;
top_length = 46;
nipple_hole_diameter = 7.3;
nipple_hole_position = 18;
thickness = 2;
nipple_hole = true;
quality = 500;
bevel_height = 5;
module adapter() {
difference() {
union() {
cylinder(h = bottom_length - bevel_height, d ... | glb/cad_c327ba74ecf8.glb |
Create a Sewing Machine Needle Tool consisting of a cylindrical holder and an attached handle.
Start by creating a main cylindrical holder with a height of 10mm and a radius of 3.02mm (calculated as half the shank diameter of 2.04mm plus a 2mm wall thickness). Inside this cylinder, create two coaxial vertical holes t... | holderWallThickness = 2;
clearance = 0.1;
handleHeight = 10;
handleLengthStraight = 40;
handleLengthBent = 20;
handleBendAngle = 45;
handleWallThickness = 3;
showCutout = false;
$fn = 100;
eps = .1;
shankDiameter = 2.04;
shankHeight = 3.4;
dWidth = 1.66;
needleDiameter = 1.40;
difference() {
union() {
d... | glb/cad_b45f48434704.glb |
Create a hose connector fitting for a Counter-current Peltier Heat Pump. Start by creating a main cylindrical body with an outer diameter of 12mm and a total height of 40mm. This body should be centered on the Z-axis, extending from -20mm to 20mm.
Subtract a central vertical hole from the entire length of the body wit... | length=15;
D=10;
ww = 1.5;
xw=0.2;
hid=12;
hcl=20;
cgo=1;
cgw=4;
difference(){
union(){
translate([0,0,-hcl]) difference(){
cylinder(d=hid,h=hcl, $fn=60);
translate([0,0,4-xw]) rotate_extrude($fn=60)
polygon([[hid/2-2,-4],[hid/2+2,-4],[hid/2+2,0]]);
}
... | glb/cad_48a869bcf093.glb |
Create a Tea Light Insert Adapter consisting of two concentric cylindrical shells connected by a base and support pillars.
First, create the outer insert shell with a radius of 19.4mm and a height of 19.01mm. This shell should be a thin-walled tube with a wall thickness of 1.6mm. At the top edge of this outer cylinde... | InsertRadius = 19.4;
InsertHeight = 19.01;
InsertSupportThickness = 1.6;
InsertGripRadius = 0.4;
CutoutAngle = 25;
TeaLightRadius = 14.9;
TeaLightHeight = 14.01;
TeaLightGripRadius = 0.4;
TeaLightSupportThickness = 1.2;
TeaLightToSupportThickness = 5;
HandleWidth = 4;
HandleHeight = 2;
HandleGripWidth = 0.4... | glb/cad_8ca464e04f6b.glb |
Create a Stackable Filament Spool Drum Sorter base. Start by constructing a solid shape that blends a central cylinder with a diameter of 55mm and a height of 10mm into a wider, flat disc with a diameter of 200mm and a height of 2mm. To this, add a second central cylinder with a diameter of 53mm and a height of 15mm, p... | difference(){
union(){
hull(){
cylinder(10,d=55,$fn=180);
cylinder(2,d=200,$fn=180);
}
union(){
cylinder(7.5,d=55,$fn=180);
cylinder(15,d=53,$fn=180);
}
}
cylinder(d=19.5,10,$fn=6);
cylinder(d=10.5,30.1,$... | glb/cad_88d50270af50.glb |
Create a Stackable Filament Spool Drum Sorter base consisting of two stacked cylindrical sections with a central vertical hole. Start by creating a bottom cylinder with a diameter of 55mm and a height of 7.5mm. On top of this, center a second cylinder with a diameter of 53mm and a height of 15mm. Finally, bore a hole c... | difference(){
union(){
cylinder(7.5,d=55,$fn=180);
cylinder(15,d=53,$fn=180);
}
cylinder(d=19.5,10,$fn=6);
cylinder(15,d=10.5,$fn=50);
} | glb/cad_fdfc6853c254.glb |
Create a Stackable Filament Spool Drum Sorter component consisting of two stacked cylinders with a central hole. First, create a wide base cylinder with a diameter of 55mm and a height of 4.6mm. Directly on top of this base, center and add a second cylinder with a diameter of 52mm and a height of 10mm. Finally, bore a ... | difference(){
union(){
cylinder(4.6,d=55,$fn=180);
cylinder(10,d=52,$fn=180);
}
translate([0,0,4])cylinder(d=10.5,25,$fn=50);
} | glb/cad_d999b7ab01aa.glb |
Create an external extractor fan grille insert. Start by constructing a main cylindrical body with an outer diameter of 92mm and a total height of 45mm. At the 35mm height mark, add a conical transition that flares outward from the 92mm diameter to a retaining flange with an outer diameter of 102mm and a height of 5mm.... | od1 = 92.0;
od2 = 102.0;
id1 = od1 - 3.0;
ins1 = 35.0;
ins2 = 10.0;
louv = 2.5;
$fn=200;
union() {
difference() {
union() {
translate([0, 0, 0])
cylinder(h=(ins1+ins2), d=od1, center=false);
translate([0, 0, ins1])
cylinder(h=ins2/2, d1=od1, d2=od2, center=false);
transl... | glb/cad_9fd03375f34b.glb |
Create a Parametric Carton Spool Insert by constructing a thin, circular ring with a total outer diameter of 65.5mm and a height of 0.5mm. From the center of this disk, remove a concentric cylindrical hole with a diameter of 52.5mm. To this central void, add a vertical cylindrical wall that extends upwards to a total h... | diameter = 55.5;
thickness = 1.5;
depth = 5;
overhang = 5;
overhang_height = 0.5;
$fn = 60;
difference() {
union() {
cylinder(h=depth + overhang_height / 2 , r=diameter / 2, center=false);
cylinder(h=overhang_height, r=diameter / 2 + overhang, center=true);
}
translate([0,0,-1]) cylinder(h... | glb/cad_cdfdc4ccb2cf.glb |
Create a Hugolog T4 Camera Umbrella Hat consisting of a circular base and a hinged canopy. Start with a main ring created by a cylinder 80mm in diameter and 10mm high, with a concentric inner hole 75mm in diameter, forming a wall 2.5mm thick. At the edge of this ring, add a small cylindrical protrusion 7mm in diameter ... | union() {
difference() {
union() {
difference() {
cylinder($fn = 256, h = 10, r1 = 40.0, r2 = 40.0);
translate(v = [-2.5, 0, 0]) {
translate(v = [0, 0, -0.5]) {
cylinder($fn = 256, h = 11, r1 = 37.5, r2 = 37.5);
}
}
}
translate(v = [41.0, 0, 0]) {
cylinder($fn = 32, h = 10, r... | glb/cad_a4438d90eaa9.glb |
Create a fire hose adapter consisting of a threaded base transitioning into a wider hose connector. Start with the outer form: create a cylinder with a diameter of 67.803mm and a height of 50mm. At the top of this cylinder, add a sphere with a diameter of 75mm, centered such that it creates a smooth transition to a sec... | use <threads.scad>
$fn=90;
wall=10;
threadLen=50;
threadDia=47.803;
threadPitch=2.309;
hoseCnLen=70;
hoseCnOuterDia=75;
hoseCnInnerDia=67;
hoseCnLandSize=7;
grooveLen=(hoseCnLen-3*hoseCnLandSize)/2;
b = sqrt((hoseCnOuterDia/2)^2-(threadDia/2+wall)^2);
transitionDistance= b+threadLen;
echo("DIST = ", b);
echo... | glb/cad_1a1ed3113c4b.glb |
Create a strike plate backing consisting of two identical mirrored halves. For one half, start with a rectangular block measuring 85mm in length, 18mm in width, and 6mm in height. Remove a central rectangular section measuring 49mm by 13mm by 6mm, positioned 16mm from the outer edge and 1.5mm from the bottom face, to c... | qo=0.01;
$fn=21;
module hole(){
cylinder(d=4,h=6);
translate([0,0,2+qo]) cylinder(d1=0, d2=8, h=4+qo);
};
module edge(){
difference(){
cube(18);
cylinder(h=10,d=18);
};
};
module half(){
translate([15,2.5,0]) cube([1,11,7]);
difference(){
cube([170/2,18,6]);
translate([... | glb/cad_25ef3f83a9da.glb |
Create a simple lid by combining three cylindrical components. First, create a base cylinder with a diameter of 145mm and a height of 8mm. Directly on top of this base, add a second, wider cylinder with a diameter of 165mm and a height of 4mm. To form the handle, place a third cylinder with a diameter of 80mm and a thi... | $fn=160;
upperLidDia=165;
upperLidHeight=4;
lowerLidDia=145;
lowerLidHeight=8;
handleDia=80;
handleThickness=10;
color("cyan")
difference()
{
union()
{
cylinder(h=lowerLidHeight,d=lowerLidDia);
translate([0,0,lowerLidHeight-0.1])
cylinder(h=upperLidHeight,d=upperLidDia);
... | glb/cad_5982f4a50482.glb |
Create a basic cylinder with a diameter of 40mm and a height of 10mm. Ensure the circular faces are smooth by using a high facet resolution of 200 segments. | module circleShape(diameter, height) {
cylinder(d = diameter, h = height, $fn = 200);
}
circleShape(40, 10); | glb/cad_074283a9f4cc.glb |
Create a rounded rectangle with a length of 40mm, a width of 40mm, and a thickness of 10mm. The corners should be rounded with a radius of 3mm. Ensure the curved surfaces of the corners are smooth by using 30 segments for the rounding. | module roundedRectangle(a, b, height, radius, fn_segments = 30) {
minkowski() {
cube([a - 2*radius, b - 2*radius, height]);
sphere(r = radius, $fn = fn_segments);
}
}
roundedRectangle(40, 40, 10, 3); | glb/cad_07d1fdb02d74.glb |
Create a rounded rectangular slab with a length of 40mm, a width of 40mm, and a thickness of 10mm. The four vertical corners must be rounded with a radius of 3mm. Ensure the curvature of the corners is defined by 20 segments to maintain a consistent geometric resolution. | module roundedRectangle(a, b, height, radius, smoothness = 50) {
linear_extrude(height = height) {
offset(r = radius, $fn = smoothness) {
square([a - 2*radius, b - 2*radius]);
}
}
}
roundedRectangle(40, 40, 10, 3, 20); | glb/cad_2bdb6f64c674.glb |
Create a 3D elliptical disk. The shape should have a width of 40mm and a height of 20mm, with a uniform thickness of 10mm. Ensure the curved edges are smooth by using a high facet resolution of 200 segments. | module ellipse(width, height_ellipse, height, smoothness = 200) {
scale([width/2, height_ellipse/2, 1])
cylinder(r = 1, h = height, $fn = smoothness);
}
ellipse(40, 20, 10); | glb/cad_b4a15c08159d.glb |
Create a 3D model of a rounded triangular prism. Start by defining a regular triangle with a circumradius of 20mm. Apply a corner rounding radius of 2mm to each of the three vertices to soften the points. Extrude this rounded triangular profile upward to a total height of 10mm. Ensure the curved sections of the corners... | module polygon_with_round_corners(sides, radius, rounding, height, fn_rounding = 50) {
linear_extrude(height = height) {
offset(r = rounding, $fn = fn_rounding) {
polygon(points = [
for(i = [0 : sides - 1]) [
radius * cos(360 / sides * i + 360 / sides / 2),
... | glb/cad_ea7a701387e5.glb |
Create a 3D semicircle with a total diameter of 50mm and a thickness of 10mm. The shape should be a half-cylinder with a smooth, rounded edge along the flat base. To achieve this, start with a semicircle of 50mm diameter and apply a 2mm rounding radius to all outer edges. Ensure the curved arc and the straight base are... | module semicircle(diameter, rounding, height, fn_rounding = 100) {
$fn = fn_rounding;
linear_extrude(height = height) {
offset(r = rounding) {
difference() {
circle(d = diameter - 2 * rounding);
translate([-diameter/2, -diameter/2]) square([diameter, diam... | glb/cad_480cd992869c.glb |
Create a single-gang light switch cover with a total height of 7.5mm. The main body is a rectangular plate measuring 75mm wide by 119mm tall with corner radii of 1.99mm.
In the center of the plate, create a rectangular cutout measuring 33.2mm wide by 66.6mm tall, also with 1.99mm corner radii. The area between the ou... | $fn=100;
gang=[1];
gangn=len(gang);
gangw=46.2;
h=7.5;
od=[75,119];
id=[33.2,66.6];
cr=1.99;
module co(r)
{
offset(r)
offset(-2*r)
offset(r)
children();
}
linear_extrude(2)
co(cr)
difference()
{
translate(-od/2)
square(od+[gangw*(gangn-1),0]);
for(g=[0:gangn-1])
translate([g*gangw,... | glb/cad_02d4e5c80a04.glb |
Create a hexagonal bit adapter consisting of two joined sections. First, create a hexagonal prism with a flat-to-flat diameter of 6.35mm and a length of 15mm. Second, place a 20-sided cylindrical cap on top of the hexagon with a diameter of 6.35mm and a total height of 12mm. Inside this cylindrical cap, create a hexago... | Large_bit = 6.35;
Small_bit = 4;
Large_clearance = 0;
Small_clearance = 0.6;
Large_length = 15;
Small_length = 10;
union() {
difference() {
cylinder(h=Small_length + 2, d=Large_bit+Large_clearance, $fn=20);
translate([0,0,2.1])
cylinder(h=Small_length, d=Small_bit+Small_clearance, $fn=6);... | glb/cad_38ce196ea26e.glb |
Create a drive gear for a Ricoh SP150 toner cartridge. Start by constructing a spur gear with 11 teeth, a module of 0.8, a width of 9mm, a pressure angle of 15 degrees, and a helix angle of 11.5 degrees. Integrate this gear with a solid cylinder that has a diameter of 7.7mm and a height of 9mm, sharing the same central... | use <gears.scad>;
$fn = 50;
module axle() {
difference() {
cylinder(h=20,r=3.2,center=true);
translate([0,11.7,0]) cube([20,20,20],center=true);
}
}
difference() {
union() {
spur_gear(modul=0.8,tooth_number=11,width=9,bore=1,pressure_angle=15,helix_angle=11.5,optimized=false);
... | glb/cad_062028d3dac3.glb |
Create a 3D torus knot by sweeping a sphere along a specific mathematical path. The path is defined by a radius of 10mm and a thickness of approximately 6.18mm (calculated as 10 divided by the golden ratio). The knot's geometry is determined by the parameters p=3 and q=4, which dictate the number of times the strand wi... | function linspace(xmin,xmax,n,i)=xmin+i*(xmax-xmin)/n;
function deg(x)=180*x/3.141592653589793;
phi=(1+sqrt(5))/2;
p=3;
q=4;
radius=10;
thickness=radius/phi;
number_of_segments=256;
torus="No";
$fn=7;
function r(t)=2+cos(q*deg(t));
function coordinates(t)=radius*[r(t)*cos(p*deg(t)),r(t)*sin(p*deg(t)),-sin(q*deg(t... | glb/cad_b531885cefad.glb |
Create a geodesic dome hub designed to connect six tubes. The hub is based on a central core with six radiating arms spaced equally every 60 degrees around the Z-axis.
The core is a rounded, slightly flattened spherical shape with a radius of approximately 6.7mm. Each of the six arms is formed by the convex hull of t... | function sides(r)=max(round(4*r),3);
function corrected_radius(r,n=0)=0.1+r/cos(180/(n ? n : sides(r)));
function corrected_diameter(d)=0.2+d/cos(180/sides(d/2));
module poly_circle(r,center=false){
n=sides(r);
circle(r=corrected_radius(r,n),$fn=n,center=center);}
module poly_cylinder(h,r,center=false){
n... | glb/cad_1a611d09e472.glb |
Create a Baking Machine Stirrer spare part by constructing a tapered main body with a hollow center. Start with a conical base that transitions from a diameter of 28mm at the bottom to 18mm at the top over a height of 22.5mm. Create a central vertical hole through this entire height with a diameter of 8.2mm to accommod... | Axis_diameter = 8.2;
Stirrer_length= 45;
Axis_hight = 22.5;
Base_diameter= 28;
Axis_diameter_top = 18;
Stirrer_Tip_roundness = 5;
Stirrer_Tip_hight= 10;
$fn=200;
union(){
difference(){
hull () {
cylinder(d1 = Base_diameter, h = Axis_hight, d2 = Axis_diameter_top);
translate([Stirr... | glb/cad_37a3faea34a5.glb |
Create a toothbrush head holder consisting of a circular ring attached to a curved support base. Start by creating a hollow cylinder with an inner diameter of 14mm and a wall thickness of 3mm, resulting in an outer diameter of 20mm. The total height of this ring section is 20mm. Attached to the side of this ring, exten... | $fn=100;
circle_opening_diameter=14;
circle_with_walls=circle_opening_diameter+(2*3);
clamp_height=12.5;
linear_extrude(height=circle_with_walls)
polygon([[0,0], [0,clamp_height], [14,clamp_height], [14,3], [10,3], [10, 5], [12, 6], [12,10], [5,10], [4,4], [4,0]]);
rotate([0, 0, 160])
translate([-60, -8, 0])
rotate... | glb/cad_949407e5a5f8.glb |
Create a bottle and book stand with a total width of 160mm, a height of 100mm, and a depth of 94.3mm. The model consists of a flat base and a vertical back wall, both with a thickness of 3.5mm.
The vertical wall is not a solid slab but features a series of cutouts to create support pillars. Create four support corners... | style = 0;
wt = 3.5;
bt = 4;
scr = 20;
sw = 160;
sh = 100;
sd = 94.3;
nsup = 4;
rw = 3;
rs = [2,1];
nribs = 4;
cw = 20;
ca = 1.1;
cf = 4.5;
cr = 5;
$fa = 4;
$fs = 0.1;
module support_corner(thickness, radius, fs = 0.1)
{
translate([radius, radius])
difference()
{
cube([radius*2, radi... | glb/cad_4f5799480c51.glb |
Create a wall mount for a tablet consisting of two symmetrical mounting brackets connected by a central base. Each bracket is a rectangular block measuring 20mm wide, 15mm high, and 8mm deep. Centered within each bracket, create a cylindrical cutout with a radius of 5.5mm that passes completely through the 8mm depth.
... | $fn=100;
base_thickness = 2;
holder_width = 20;
holder_height = 15;
holder_depth = 8;
cutout_width = holder_width;
cutout_radius = 5.5;
tablet_height = 128;
screw_head_top = 7;
screw_head_bottom = 4;
module clamp() {
difference() {
translate([0, -holder_depth, -(holder_height/2)])
cube([holder_width, ... | glb/cad_cd6a01fc0888.glb |
Create a 3D model of a Koch Snowflake ornament. Start by constructing a flat, two-dimensional Koch snowflake fractal based on an equilateral triangle, where each side is recursively divided into smaller equilateral protrusions. The final 2D profile should be defined by the provided vertex coordinates, resulting in a co... | linear_extrude(height=1.0){
polygon(points=[[0, 0], [0.9259259259259257, 1.6037507477489603], [0.9259259259259257, 1.6037507477489603], [-2.220446049250313e-16, 3.2075014954979206], [-2.220446049250313e-16, 3.2075014954979206], [1.8518518518518514, 3.2075014954979206], [1.8518518518518514, 3.2075014954979206], [2.7... | glb/cad_2ae592deeb3a.glb |
Create a Koch Snowflake ornament by extruding a fractal snowflake polygon to a height of 1.0mm. The base shape is a six-pointed star fractal where each side consists of smaller triangular protrusions.
To complete the ornament, add a small vertical hole for hanging. Position a cylinder with a radius of 1.0mm and a hei... | difference(){
linear_extrude(height=1.0){
polygon(points=[[0, 0], [0.9259259259259257, 1.6037507477489603], [0.9259259259259257, 1.6037507477489603], [-2.220446049250313e-16, 3.2075014954979206], [-2.220446049250313e-16, 3.2075014954979206], [1.8518518518518514, 3.2075014954979206], [1.8518518518518514, 3.2... | glb/cad_f9e83154880c.glb |
The provided OpenSCAD code generates a 3D model consisting of two primary components: a complex, fractal-like base and a small cylindrical pin.
### 1. The Fractal Base
The most prominent part of the model is a large, flat object created using a `polygon` with a massive list of coordinates.
* **Geometry:** The coord... | difference(){
linear_extrude(height=1.0){
polygon(points=[[0, 0], [0.20576131687242794, 0.3563890550553245], [0.20576131687242794, 0.3563890550553245], [-5.551115123125783e-17, 0.712778110110649], [-5.551115123125783e-17, 0.712778110110649], [0.41152263374485587, 0.712778110110649], [0.41152263374485587, 0.... | glb/cad_17a0ff60c211.glb |
The provided data represents the coordinates of a **Koch Snowflake** (or a similar fractal based on the Koch curve).
### Analysis of the Data:
1. **Geometric Pattern**: The coordinates describe a closed loop that repeatedly adds smaller triangular protrusions to each segment. This is the defining characteristic of th... | linear_extrude(height=1.0){
polygon(points=[[0, 0], [0.20576131687242794, 0.3563890550553245], [0.20576131687242794, 0.3563890550553245], [-5.551115123125783e-17, 0.712778110110649], [-5.551115123125783e-17, 0.712778110110649], [0.41152263374485587, 0.712778110110649], [0.41152263374485587, 0.712778110110649], [0.6... | glb/cad_d84bffbe67d8.glb |
Create a Sipeed NanoKVM Lite enclosure consisting of a main box and a matching lid. The main body is a rectangular prism measuring 41.56mm x 28.86mm x 18.81mm. Hollow out the center of this body to create a cavity of 37.56mm x 24.86mm x 30mm, leaving a wall thickness of 2mm.
At each of the four corners of the main bo... | $fa=0.5;
$fs=0.3;
si = 0.001;
s2 = si/2;
th = 2;
thh = 0.9;
M3 = 3.6; M3n = 6.6; M3nh = 2.5; M3o = 10;
M3h = 6; M3hh = 3;
nx=35.56;
ny=22.86;
nz=15;
ux=th+si;
uy=9.64;
uz=3.86;
sx=15;
sy=11+thh;
sz=1+thh;
hx=14+thh*2;
hy=14+thh*2;
hz=7;
vx=11;
vy=15+thh;
vz=5.5+thh;
rx=15.35;
ry=16.45+thh;
rz=13+thh;... | glb/cad_cf037e085595.glb |
Create a Sipeed NanoKVM Lite enclosure consisting of a main body and a matching top cover. The main body is a rectangular box with outer dimensions of 41.56mm in width, 28.86mm in depth, and 17.81mm in height. Hollow out the center of this box to create a cavity of 35.56mm by 22.86mm by 30mm, leaving a wall thickness o... | $fa=0.5;
$fs=0.3;
si = 0.001;
s2 = si/2;
th = 2;
thh = 0.9;
M3 = 3.6; M3n = 6.6; M3nh = 2.5; M3o = 10;
M3h = 6; M3hh = 3;
nx=35.56;
ny=22.86;
nz=15;
ux=th+si;
uy=9.64;
uz=3.86;
sx=15;
sy=11+thh;
sz=1+thh;
hx=14+thh*2;
hy=14+thh*2;
hz=7;
vx=11;
vy=15+thh;
vz=5.5+thh;
rx=15.35;
ry=16.45+thh;
rz=13+thh;... | glb/cad_c272efa4aec3.glb |
Create a Badge and RSA Token Holder. Start by constructing a main body with a thickness of 2mm. Create a card compartment for two badges, each measuring 54.54mm by 86.54mm with a depth of 1mm. This compartment consists of a bottom base and two side walls, with the right wall positioned 54.54mm from the left. The total ... | $fn = 128;
shrink = 1.01;
cardX = 54 * shrink;
cardY = 86 * shrink;
cardZ = 1;
tokenX = 58 * shrink;
tokenY = 20 * shrink;
tokenZ = 10 * shrink;
tokenR = 14 * shrink;
token_end_L = 3.5 * shrink;
token_end_R = 4 / 2 * 1.25;
token_win_R = 19 / 2 * shrink;
token_win_off = 13.7 * shrink;
token_w... | glb/cad_adae6efa7fd3.glb |
Create a Word Letter Game nameplate consisting of a sweeping curved base and matching letter inserts.
First, construct the base by creating a 3D text object of the word "Wei-Chen" using the "Spicy Rice" font with a size of 22mm. Extrude this text to a height of 2.4mm. To create the sweeping effect, rotate the text al... | Parts="Everything";
textstring="Wei-Chen";
fontname="Spicy Rice";
rotateup=30;
textsize=22;
grip_text_out=4;
textheight=8;
style="on top";
wall=1.2;
wiggle=.2;
recess=.8;
recess_height=textheight-grip_text_out;
base_radius_add=wall+wiggle;
base_radius_shift=base_radius_add+wall*2;
iorj = [ for (i = [0 : le... | glb/cad_d362d991c125.glb |
Create a toy vending machine coin slot consisting of three parallel, angled channels. Start with a rectangular base plate measuring 44.4mm wide, 15.5mm deep, and 1mm thick.
From this base, extend three identical rectangular sleeves upward. Each sleeve should have an outer width of 42mm and an outer depth of 5.5mm. Th... | slits=3;
angle=20;
width=40;
d_coin=width/cos(angle);
th_coin=3.5;
wiggle=1;
wall=1;
height=5;
outer=5;
length=70;
translate([0,0,-height/2])
difference()
{
union()
{
for (i = [0:slits-1])
{
translate([0,i*(th_coin+2*wiggle+wall),0])
{
cube([d_coin+... | glb/cad_f01330cae7d6.glb |
Create a coin slot for a toy vending machine. Start by constructing a rectangular base plate with a thickness of 1mm and overall dimensions of 12mm by 84mm. Centered on this base, build a hollow rectangular sleeve that is 10mm long, 82mm wide, and 4mm high. The sleeve should have a wall thickness of 1mm.
The entire a... | angle=20;
width=0;
d_coin=width/cos(angle);
th_coin=80;
wiggle=1;
wall=1;
height=4;
outer=4;
length=10;
slit=1;
translate([0,0,-height/2])
difference()
{
union()
{
for (i = [0:slit-1])
{
translate([0,i*(th_coin+2*wiggle+wall),0])
{
cube([d_coin+2*wi... | glb/cad_cc342cf82338.glb |
Create a decagon stove knob. Start with a main cylindrical body 50mm in diameter and 13mm high, but shaped as a 10-sided prism. Centered on top of this body, add a smaller vertical cylinder 16mm in diameter and 19.5mm high. This upper cylinder must have a hollow center 6mm in diameter. Within this hollow center, carve ... | outer=16;
inner=6;
knob=[50,13,10];
height=19+knob[1]*0.5;
$fn=50;
schlitz=[7.65,
1.9,
18.5];
module shaft(outer, inner, height, schlitz){
difference(){
cylinder(d=outer, h=height, center=true);
union(){
cylinder(d=inner, h=height+0.1, center=true);
trans... | glb/cad_03cf2d8a47a9.glb |
Create a hose fitting consisting of a cylindrical base and a barbed neck. Start with a base cylinder that has an outer diameter of 33.9mm and a height of 24.3mm. This base is hollowed out by a central vertical hole with a diameter of 27.9mm, though the hole only extends through a portion of the base, leaving a bottom t... | barb_od = 25.4/2;
b_wall = 1.7;
b_length = 25;
barb_qty = 3;
barb_hgt = 4;
barb_added_dia = 1.5;
bottom_od = 33.9;
bottom_hgt = 24.3;
approach_hgt = 9;
bottom_wall = 3;
bot_top = 2.4;
barb();
module barb(){
difference(){
union(){
cylinder(d = barb_od, h = b_length, $fn =90);
translate([0, 0... | glb/cad_2dff9b392794.glb |
Create a hose fitting adapter consisting of a main cylindrical body with a central bore. The main body is a cylinder with an outer diameter of 33.6mm and a height of 45mm.
At the bottom of this body, create a conical funnel section with a height of 25mm that transitions from the 33.6mm outer diameter down to a diamet... | barb_od = 25.4/2;
b_wall = 1.7;
b_length = 25;
barb_qty = 3;
barb_hgt = 4;
barb_added_dia = 1.5;
hose_od = 25.4 * .75;
int_barb_dpth = 20;
bottom_od = 33.6;
bottom_hgt = 45;
approach_hgt = 9;
bottom_wall = 3;
bot_top = 2.4;
ibarb_h = .8;
ibarbe_minus_dia = 1.2 ;
funnel_hgt = 25;
ibarb_flat = .2;
difference(){
... | glb/cad_7d9e02828321.glb |
Create a RedStrike counter tray and lid set. The tray is an open-ended rectangular container designed to hold game counters vertically. Construct the tray base as a flat plate 215mm wide, 20.2mm long, and 1.1mm thick. Add two side walls running the length of the 215mm width; these walls should be 1.1mm thick and 10.6mm... | o2 = 0.2;
box_width = 215;
box_length = 295;
bw = box_width;
bl = box_length;
counter_side = 18;
counter_diameter = counter_side;
counter_thickness = 1.1;
ct = counter_thickness;
wall_thickness = 1.1;
wt = wall_thickness;
wt2 = wt * 2;
wtt = 1.8;
tray_height = 17 + 0.4;
th = tray_height;
lens_diameter = 18;
lens_h... | glb/cad_5e8e09a1919e.glb |
Create a Goaltimate Pole Holder by constructing a composite cylindrical object with a central longitudinal hole. Start with a base cylinder 7mm high with a diameter of 50mm. Atop this base, add a second cylinder 75mm high with a diameter of 25mm, centered on the same axis. Create a transition between these two sections... | $fn=75;
kit_type = "discraft";
weight_hole_diameter = 25;
interior_hole =
(kit_type == "discraft") ? 17 :
(kit_type == "pvc") ? 22 :
0;
assert(!(interior_hole==0), "Kit Type invalid");
rotate([90,0,0])
difference() {
union() {
cylinder(7, d=(weight_hole_diameter + 25));
translate... | glb/cad_9e7b9884a7b2.glb |
Create a Hamburger Mattenfilter frame by starting with a base disc 170mm in diameter and 2mm thick. From this disc, remove a concentric inner circle with a diameter of 165mm to create a thin outer rim, and a second concentric inner circle with a diameter of 110mm to create a wider inner ring.
The structure features a... | translate([0,0,252])post();
translate([120,0,0])washer();
translate([140,0,0])pin();
!translate([0,0,0])bottom();
module bottom(){
difference(){
cylinder(2,d=170,$fn=400);
translate([0,80,-2.1])cylinder(15,d=3,$fn=25);
translate([0,60,-2.1])cylinder(15,d=3,$fn=25);
translate([0,80,-... | glb/cad_158b68d4dc9a.glb |
Create a Customizable Tray Rack consisting of five identical upright panels and four connecting crossbeams.
Each upright panel is a flat plate 100mm tall, 5mm thick, and shaped as a symmetric pentagon: the base is 100mm wide, the sides rise vertically, and the top tapers to a centered peak at 100mm height. Each panel... | num_up = 5;
upSize = 100;
upTh = 5;
gap = 70;
part = "all";
$fn = $preview ? 32 : 64;
if(part=="upright"){
translate ([0, 0, 0])
upright();
} else if(part=="all") {
for(i = [0:num_up-1]) {
translate ([0, i*(gap+5), 0])
upright();
if(i == num_up-1){} else {
if(i%2 ==0) {
trans... | glb/cad_c4ace18bb48e.glb |
Create a silicone lid holder consisting of two primary stacked components. First, construct a main clip body with a width of 55mm, a height of 22mm, and a thickness of 3mm. This body should be a rectangle with 2mm rounded corners, but with a semi-circular cutout removed from the bottom center. This cutout is defined by... | $fn=360;
lid_radius = 155/2;
hight = 22;
width = 55;
rounded_edge_radius = 2;
thickness = 3;
thickness_of_lip = 1;
hight_of_lip = 3;
adhesive_thickness = 0.2;
adhesive_frame = 2;
module clip(hight,thickness,lid_radius,rounded_edge_radius) {
linear_extrude(thickness)
minkowski(){
difference() {
... | glb/cad_4e57c82e52cd.glb |
Create a WAGO 221 mount for 1515 extrusions. The model consists of two identical mounting tabs and a central body containing two connector blocks.
Each mounting tab is a complex assembly: start with a base block 10mm wide, 2mm thick, and 10mm high, joined to a larger rectangular base of 10mm by 4mm by 2mm. Add a round... | include <BOSL2/std.scad>
include <BOSL2/screws.scad>
blocks = [2,2];
tabwidth = 10;
conwidth = 5.6;
border = 1.75;
blockdepth = 18.25;
fudge = 0.2;
$fa = 1;
$fs = 0.4;
function bw(x) = conwidth*x+border+fudge;
function mw(i, n) = ( i==0 ? bw(blocks[i]) + 2 + mw(i+1, n) : (i < n ? bw(blocks[i]) + 2 + mw(i+1, n)... | glb/cad_b5f066b92237.glb |
Create a Model M Keyboard Foot by stacking three concentric cylindrical components along a central vertical axis. Start with a wide, flat base cylinder that is 1.5mm thick with a diameter of 11mm. Centered on top of this base, place a second cylinder with a diameter of 4.5mm and a height of 5mm. Finally, add a third cy... | $fn = 720;
$fa = 0.1;
$fs = 0.1;
translate([0,0,2.5]) cylinder(5,d=4.5,center=true);
translate([0,0,0.75]) cylinder(1.5,d=11,center=true);
translate([0,0,4.25]) cylinder(h=1.5,d1=8,d2=5,center=true); | glb/cad_e5ef53cf85cb.glb |
Create a Savonius wind turbine rotor assembly. Start by constructing a central cylindrical shaft with a diameter of 16.2mm and a height of approximately 10mm. Around this shaft, create a larger concentric outer cylinder with a diameter of 32.4mm and the same height. This outer section should be hollowed out to form a s... | include <bearing.scad>
$fn=2*64;
phi=(1+sqrt(5))/2;
dpvc=16.2;
thickness=2*.4;
do=2*dpvc;
di=dpvc;
height=dpvc/phi;
module roller(){
union(){
translate([0,0,-height/2]) printedbearing(di,do,height, 1.2);
translate([0,0,-1.5001*thickness])
difference(){
translate([0,0,height+2.5*thickness])
cylinde... | glb/cad_768f629468f2.glb |
Create a social mask frame by starting with a centered square plate that is 165mm wide, 165mm long, and 0.4mm thick. Round the four corners of this plate with a radius of 4mm. Hollow out the center of the plate by removing a smaller centered square with rounded corners, leaving a border that is 20mm wide.
Within this ... | $fn=64;
h=.4;
l=165;
rc=4;
t=20;
m=13;
module grid(){
for(i=[2:m-3]){
translate([0,-l/2+i*l/m,h])
cube([l,1,2*h],center=true);}
rotate([0,0,90])
for(i=[2:m-3]){
translate([0,-l/2+(i+.5)*l/m,h])
cube([l,1,2*h],center=true);}}
module holes(){
translate([-t/4,0,0])
for(i=[1:m-2]){
translate([l... | glb/cad_edc2a6891090.glb |
Create an Angle Jig for a honing guide by starting with a rectangular base measuring 18.5mm in width, 12mm in depth, and 0.9mm in height. Centered atop this base, construct a secondary geometric volume that is 16mm wide and 5mm tall. This upper volume should be shaped as a polygon with a flat top and a vertical back, b... | linear_extrude(0.9){
square([18.5,12]);
}
translate([1.25,3.5,3.8]) {
rotate([0,90,0]){
linear_extrude(16){
polygon([[-2,0],[-2,5],[0,5],[3,3.5],[3,1.5],[0,0],[-2,0]]);
}
}
} | glb/cad_3813d063b159.glb |
Create an Angle Jig for a honing guide. Start by constructing the main body as a block 100mm long, 36.5mm wide, and 3mm thick. Taper one end of the block by removing a small triangular section from the corners to create a slanted profile.
On the top face of the body, carve out a series of thin rectangular slots, each... | difference(){
translate([37.5,0]){
rotate([90,0,180]){
linear_extrude(100) {
polygon([[1,0],[36.5,0],[34.5,3],[3,3],[1,0]]);
}
}
}
translate([5,0,1]){
linear_extrude(3.1){
separator(7.93);
separator(11.11);
separator(1... | glb/cad_8bb52fe77cee.glb |
Create a Thickness Gauge and Ruler consisting of ten adjacent rectangular blocks aligned in a row. Each block has a width of 10mm and a depth of 0.4mm. The height of these blocks increases incrementally from 1mm for the first block to 10mm for the tenth block, with each subsequent block being 1mm taller than the previo... | step = 10;
difference() {
union() {
for(i = [1:1:10]){
translate([(i-1)*step, 0, 0])
difference() {
cube([step, 10+(i), i]);
offset = (i == 10) ? 6 : 4;
translate([step/2, offset, i-0.5])
rotate([0, 0, -90])
... | glb/cad_8bd6f9ddfcda.glb |
Create a tension buckle for 38mm straps. Start by constructing a base rectangular block with rounded corners, measuring 36mm in length, 50mm in width, and 6mm in height. Attached to the end of this base, add a pulling tab that extends the length by 10mm; this tab should be 4mm thick and tilted upwards at a 4.5-degree a... | $fn=64;
w = 50;
p = 5;
l = 36;
tab = 10;
alpha = -4.5;
difference(){
union(){
roundedcube(l,w,6,7);
translate([0,0,6]) rotate([0,alpha,0]) translate([0,0,-4]) roundedcube(l+tab,w,4,7);
}
translate([p,p-1,0]) roundedcube(l-2*p,w-2*p+2,20,3);
translate([l+tab-1.9*p,p,0]) linear_extrude(15) offset(p/2.1)... | glb/cad_6a92205e5d2a.glb |
Create a Zelda OOT Randomizer Tracker consisting of a layered case with integrated tracking slots.
Start by creating a base case with overall dimensions of 125mm x 180mm. The base has a bottom thickness of 2mm and outer walls of 2mm. Inside this, create a secondary inner case with a height of 1mm, leaving a 2mm gap f... | t_case_bottom = 2;
t_case_inner = 1;
t_case_top = 2;
t_wall = 2;
x_base = 125;
y_base = 180;
z_base = t_case_bottom + t_case_inner + t_case_top;
top_height = 157.5;
module base_shape(w,d,h) {
minkowski() {
cube([w,d,h]);
cylinder(1,10,10, $fn=32);
}
}
module base_case(wall, depth) {
diff... | glb/cad_746364bec5da.glb |
Create a retaining ring for a watch strap by constructing a hollowed rectangular sleeve with rounded edges. Start with a solid rectangular block measuring 24mm in length, 7mm in height, and 5mm in depth, applying a 2mm radius fillet to all exterior edges. Hollow out the center by removing a smaller rectangular volume f... | $fn=100;
$breite=20;
$hoehe=7;
$hoecker=1;
difference() {
minkowski() {
cube([$breite,$hoehe - 4,5]);
cylinder(r=2,h=1);
}
translate([1,1,-1]) minkowski() {
cube([$breite - 2,$hoehe - 6,7]);
cylinder(r=2,h=1);
}
};
if ($hoecker==1) {translate([($breite+2) / 2 - 3,-1,($hoehe - 1.5) / ... | glb/cad_9a498b978347.glb |
Create a phone holder for a 2018 Honda Civic Si consisting of a mount, a wedge, a cradle, and a stopper.
First, construct the mount. Create a central block 38mm wide, 40mm high, and 40mm deep. To this, attach a triangular support rod 80mm long with a 29mm diameter and 10mm wall thickness. Add a clip section to the mo... | show_mount_wedge = !true;
show_cradle = !true;
show_mount = true;
show_stopper = !true;
$fn=64;
h_trod = 80;
diameter = 29;
dthick = 10;
brassInsertDiam = 4;
screwheadDiam = 6.5;
screwDiam = 4.0;
w_clip = 38;
w_mount = 38;
h_mount = 40;
clip_pos_y = 35;
wof=84;
thof=12;
h=164;
hs=115;
wob=52;
wt... | glb/cad_ddde02e95370.glb |
Create a Space Base Insert organizer by starting with a rectangular base block measuring 134mm wide, 189.2mm long, and 5mm thick, with all corners rounded to a 3mm radius.
Within this base, carve out six rectangular slots arranged in a 3x2 grid. Each slot should measure 43mm wide and 92mm long, positioned starting at... | $fn=200;
difference(){
roundedCube(134,189.2,5);
translate([1.5,2,2])
for (i=[0:3],j=[0:2]){
translate([(i*44.2),(j*93.6),0])
cube([43,92,100]);
translate([(i*44.6)+10,(j*96)+10,-3])
roundedCube(22.2,69.6,100);
translate([(i*44.6)-7.5,(j*96)+10,-3])
roundedCube(12.2,69.6,100);
translate([(i*44.6)+10,(j*96)-10,-3])... | glb/cad_e99e8a9b98c7.glb |
Create a Space Base Insert organizer by starting with a solid rounded rectangular block measuring 109mm in width, 95.5mm in depth, and 53mm in height.
Carve out two primary card storage channels running along the depth of the block. Each channel should be 92mm wide, 43mm deep, and 100mm long (extending through the he... | $fn=200;
difference(){
roundedCube(109,95.5,53);
translate([8.5,3.75,3])
cube([92,43,100]);
translate([8.5,48.75,3])
cube([92,43,100]);
translate([17,-1,3])
cube([75,100,100]);
translate([16,13.75,-1])
roundedCube(77,23,100);
translate([16,58.75,-1])
roundedCube(77,23,100);
translate([17,-13.75,-1])
roundedCube(... | glb/cad_38b419f7438f.glb |
Create a Space Base Insert organizer tray. Start with a base rectangular block measuring 109mm in width, 95.5mm in depth, and 14mm in height.
Carve out two primary card storage channels. The first is positioned at x=8.5mm, y=3.75mm, and z=3mm, with dimensions of 92mm by 43mm by 100mm. The second is identical but posi... | $fn=200;
difference(){
roundedCube(109,95.5,14);
translate([8.5,3.75,3])
cube([92,43,100]);
translate([8.5,48.75,3])
cube([92,43,100]);
translate([17,-1,3])
cube([75,100,100]);
translate([16,13.75,-1])
roundedCube(77,23,100);
translate([16,58.75,-1])
roundedCube(77,23,100);
translate([17,-13.75,-1])
roundedCube(... | glb/cad_a35c6d50e195.glb |
Create a Space Base Insert organizer by starting with a rounded rectangular block measuring 109mm in width, 95.5mm in depth, and 38mm in height.
Carve out two primary card storage openings, each 92mm wide and 43mm deep, positioned at x=8.5mm and y=3.75mm, and y=48.75mm respectively, both extending 100mm through the z... | $fn=200;
difference(){
roundedCube(109,95.5,38);
translate([8.5,3.75,3])
cube([92,43,100]);
translate([8.5,48.75,3])
cube([92,43,100]);
translate([17,-1,3])
cube([75,100,100]);
translate([16,13.75,-1])
roundedCube(77,23,100);
translate([16,58.75,-1])
roundedCube(77,23,100);
translate([17,-13.75,-1])
roundedCube(... | glb/cad_8cb2d6a42ea0.glb |
Create a rectangular organizer tray for a game box. The outer dimensions of the tray are 147mm wide, 192mm long, and 37mm high. The exterior corners should be rounded with a radius of 3mm.
Hollow out the center of the tray to create a main storage compartment that is 142.2mm wide, 187.2mm long, and 35.6mm deep, leavin... | $fn=200;
difference(){
roundedCube(147,192,37);
translate([2.4,2.4,1.4])
roundedCube(142.2,187.2,100);
for (i = [0:3]){
translate([22.4,(i*46.8)+12.65,-1])
roundedCube(101.2,26.55,100);
}
}
module roundedCube(x,y,z)
{
r=3;
translate([r,r,0])
minkowski()
{
cube([x-(2*r), y-(2*r), z-r]);
cylinder(r,r,r);
}
} | glb/cad_f03d012ac8ed.glb |
Create a Space Base Insert organizer tray. Start with a base rectangular block measuring 141.2mm in length, 46.55mm in width, and 17.6mm in height, ensuring all exterior corners are rounded with a 3mm radius.
Carve out three distinct storage compartments from the top surface. First, create a large rectangular card ope... | $fn=200;
difference(){
roundedCube(141.2,46.55,17.6);
translate([2.4,2.4,1])
cube([92,41.75,30]);
translate([48.4,0,-1])
rotate([0,0,90])
cylinder(h=200, d=30, center=false);
translate([29.6,20,13.6])
rotate([90,0,0])
linear_extrude(25)
difference(){square(4);circle(4);}
translate([67.2,20,13.6])
mirror([1,0,0])
r... | glb/cad_4de8b24d361c.glb |
Create a Space Base Insert organizer by starting with a rounded rectangular block measuring 141mm wide, 192mm long, and 32.4mm high. Hollow out the center of this block to create a main interior cavity that is 136.2mm wide, 191.6mm long, and 27.4mm high, leaving a base thickness of 21.4mm.
Divide the interior into thr... | $fn=200;
difference(){
roundedCube(141,192,32.4);
translate([2.4,-2,21.4])
roundedCube(136.2,191.6,27.4);
for (i=[0:2]){
translate([(i*46.1)+2.4,2.4,1])
roundedCube(44,187.2,100);
translate([(i*46.1)+24.4,0,-1])
rotate([0,0,0])
cylinder(h=200, d=25, center=false);
translate([(i*46.1)+8.2,30,17.4])
rotate([90,0,0])... | glb/cad_2d6e86874f24.glb |
Create a Space Base Insert organizer tray by starting with a rounded rectangular base measuring 179mm in width, 152mm in depth, and 10mm in height, with corner radii of 5mm.
From this base, remove several rounded rectangular volumes to create storage compartments. First, carve out a large central area measuring 172mm... | $fn=200;
difference(){
roundedCube5(179,152,10);
translate([0,-76.8,0]){
translate([3.5,96,1])
roundedCube3(172,54,100);
translate([3.5,89,1])
roundedCube3(12,61,100);
translate([163.5,89,1])
roundedCube3(12,61,100);
translate([13.5,106,-1])
roundedCube3(152,34,100);
}
translate([0,-16.8,0]){
translate([3.5,96,... | glb/cad_be9f82e08b10.glb |
Create a rectangular organizer tray for a game box with overall dimensions of 109mm in width, 50.5mm in depth, and 28mm in height. The main body should have rounded corners with a radius of 3mm.
Carve out a large central rectangular opening for cards measuring 92mm wide by 43mm deep, starting 8.5mm from the left edge ... | $fn=200;
difference(){
roundedCube(109,50.5,28);
translate([8.5,3.75,3])
cube([92,43,100]);
translate([17,-1,3])
cube([75,53,100]);
translate([16,13.75,-1])
roundedCube(77,23,100);
translate([17,-13.75,-1])
roundedCube(75,23,100);
translate([17,41.75,-1])
roundedCube(75,23,100);
translate([-3.5,3.75,-1])
rounded... | glb/cad_d899f3fadbcf.glb |
Create a Space Base Insert organizer by starting with a solid rounded rectangular block measuring 179mm in width, 136mm in depth, and 53mm in height, with corner radii of 5mm.
Carve out the following interior sections:
First, create a large card storage cavity measuring 72mm by 121mm with a depth of 100mm, positioned... | $fn=200;
difference(){
roundedCube5(179,136,53);
translate([2.4,7.5,40])
roundedCube3(72,121,100);
translate([74.4,100,10])
rotate([0,0,90])
cylinder(h=200, d=40, center=false);
translate([2.4,13,12])
cube([51.5,110,100]);
translate([53.9,60,-1])
rotate([0,0,90])
cylinder(h=200, d=40, center=false);
translate([10... | glb/cad_54c5823a5828.glb |
Create a VESA Alignment Plate by starting with a rectangular slab measuring 85mm in width, 150mm in length, and 5mm in thickness. Apply a 2mm radius chamfer to all edges of the slab.
The plate features two sets of mounting holes. The first set is positioned 5mm from the top and side edges. In this set, create two thro... | vesa_standard = 75;
vesa_offset= 65;
thickness = 5;
tolerance = 0.2;
hole_diameter = 4.3;
nut_depth = 3.6;
nut_sw = 7;
hole_distance_from_edges = 5;
chamfer_radius = 2;
hole_radius = (hole_diameter + tolerance) / 2;
rect_width = vesa_standard + 2*hole_distance_from_edges;
rect_length = rect_width + vesa_offset;
nut... | glb/cad_ec138a97b067.glb |
Create a modular drawer divider wall by constructing a rectangular prism with a length of 300mm, a height of 63mm, and a thickness of 6.8mm. To finish the geometry, apply a corner radius of 0.5mm to all edges of the prism to ensure all corners and edges are rounded. | drawerDividerWallWidth = 300;
drawerDividerWallHeight = 63;
drawerDividerWallThickness = 6.8;
drawerDividerWallCornerRadius = 0.5;
hexDef = 50;
CubeWithRoudedEdges(drawerDividerWallWidth,drawerDividerWallHeight,drawerDividerWallThickness,drawerDividerWallCornerRadius);
module CubeWithRoudedEdges(x,y,z,edgeRadius) {... | glb/cad_7e3563372a20.glb |
Create a Gaggia Classic Brita Filter Adapter by constructing a hollowed-out rectangular sleeve with rounded corners. The outer boundary is a rounded rectangle measuring 74mm by 169mm with a wall thickness of 8mm. The overall height of the part is 67mm.
Inside this sleeve, create a centered oval cutout that passes com... | $fn = 150;
d = 3;
use <roundanything/polyround.scad>
module dualc(border = 0, dw = 0, db = 0) {
linear_extrude(0.1)translate([74 / 2, 50]) {
hull() {
circle(d = 61 + d - border - dw);
translate([0, 104 - 61 - db / 2])
circle(d = 61 + d - border - dw);
}
}... | glb/cad_17db4b6cca4e.glb |
Create a vacuum cleaner spare wheel consisting of a central disc and two protruding axles. The main wheel body is a cylinder with a width of 12mm, featuring a middle diameter of 25.63mm and an outer diameter of 24.7mm.
Construct the left axle by attaching a series of stacked cylinders to the wheel's side: start with a... | include <BOLTS.scad>;
a = 6.6;
amin = 5.26;
b = 9.5;
b1=1.82;
b2=2.56;
b3=1;
ci = 25.63;
co = 24.7;
d = 12;
di = 5;
e = 6.6;
emin = 5.26;
f = 9.5;
f1=1.82;
f2=2.56;
f3=1;
$fn=100;
difference() {
upper_wheel();
bolts();
}
module bolts () {
head_hight=get_dim(DIN912_dims("M2"),"k");
le... | glb/cad_1afbccbdfeaf.glb |
Create an industrial button label consisting of a flat circular ring with an outer diameter of 60mm and an inner diameter of 25.5mm, with a total base thickness of 1mm.
On the top surface of the ring, add embossed text with a height of 1mm. Arrange the word "EMERGENCY" in a bold, sans-serif font to curve along the to... | radius = 50;
chars = "EMERGENCY";
invertedchars= "STOP";
TotalTextAngle=180;
InvertedTotalTextAngle=90;
CenterAngle=0;
InvertedCenterAngle=180;
ID=25.5;
OD=60;
padding=2;
BaseThickness=1;
fontheight=0;
LetterHeight=1;
AlignmentTab="double";
AlignmentTabHeight=1;
AlignmentTabWidth=2.8;
union(){
translate([0,0,BaseThi... | glb/cad_e9347b5d984e.glb |
Create an educational magnetic fishing game piece shaped like a fish. Start with a main body formed by a cylinder with a 40mm diameter and 6mm height, scaled by 1 along the X-axis and 0.5 along the Y-axis to create a flattened oval. Add two smaller cylinders for the tail, each with a 15mm diameter and 6mm height, scale... | li="";
difference()
{
union()
{
scale ([1,.5,1]) cylinder (d=40,6,$fn=70);
translate ([20,4,0]) scale ([1,.6,1]) cylinder (d=15,6,$fn=70);
translate ([20,-4,0]) scale ([1,.6,1]) cylinder (d=15,6,$fn=70);
translate([-8,4.5,6])
cylinder(d=8.5,1,$fn=70);
}
translate([-8,4.5,3.75])
cylinder(d=6.5,2.35,$fn=70);
}
translat... | glb/cad_d75348945483.glb |
Create an Educational Magnetic Fishing Game consisting of multiple fish-shaped pieces and a fishing pole hook.
For each fish, create a base by combining a primary oval body, 40mm wide and 6mm tall, scaled by 1 on the X-axis and 0.5 on the Y-axis, with two smaller oval fins, 15mm wide and 6mm tall, scaled by 1 on the ... | for ( loop1 = [1:5])
{
for ( loop2 = [1:5])
{
translate([50*loop1,22*loop2,0])
difference()
{
union()
{
scale ([1,.5,1]) cylinder (d=40,6,$fn=70);
translate ([20,4,0]) scale ([1,.6,1]) cylinder (d=15,6,$fn=70);
translate ([20,-4,0]) scale ([1,.6,1]) cylinder (d=15,6,$fn=70);
translate([-8,4.5,6])
cylinder(d=8.5,1,$fn=7... | glb/cad_ca29fbf73654.glb |
Create an Educational Magnetic Fishing Game consisting of several fish-shaped pieces and a fishing pole hook.
For each fish, create a main body by scaling a cylinder with a 40mm diameter and 6mm height by a factor of 0.5 along the Y-axis to form a flattened oval. Attach two smaller scaled cylinders, each 15mm in diam... | for ( loop1 = [1:3])
{
for ( loop2 = [1:3])
{
translate([50*loop1,22*loop2,0])
difference()
{
union()
{
scale ([1,.5,1]) cylinder (d=40,6,$fn=70);
translate ([20,4,0]) scale ([1,.6,1]) cylinder (d=15,6,$fn=70);
translate ([20,-4,0]) scale ([1,.6,1]) cylinder (d=15,6,$fn=70);
translate([-8,4.5,6])
cylinder(d=8.5,1,$fn=7... | glb/cad_1416565104b3.glb |
Create a fishing pole assembly consisting of a main rod and a separate hook piece. For the hook, create a cylinder with a base diameter of 8mm that tapers to a top diameter of 6mm over a height of 8mm. Remove a central cylindrical core from this piece with a diameter of 6.75mm and a height of 2.5mm at the base, and a s... | difference()
{
cylinder (d1=8,d2=6,8,$fn=70);
union()
{
translate([0,0,-.25])
cylinder (d=6.75,2.5,$fn=70);
cylinder (d1=6.75,d2=2.75,8.5,$fn=70);
}
}
translate([20,0,0])
{
difference()
{
union()
{
cylinder (d=18,50,$fn=70);
translate([0,0,50])
cylinder (d1=18,d2=12,10,$fn=70);
cylinder (d1=10,d2=7,200,$fn=70);
}
rotat... | glb/cad_8848c61cbfc8.glb |
Create a circular game board for a magnetic fishing game. Start by creating a solid cylinder with a diameter of 200mm and a height of 30mm. From the top center of this cylinder, remove a smaller concentric cylinder with a diameter of 190mm and a depth of 26mm. This will leave a hollowed-out basin with a flat bottom and... | difference()
{
cylinder (d=200,30,$fn=70);
translate([0,0,6])
cylinder (d=190,26,$fn=70);
} | glb/cad_28e69ef4843a.glb |
Create a Flow Hive top plug by constructing a base rectangular block measuring 33mm in length, 14mm in width, and 3mm in height. Extend the body of this block by adding a hull that connects the base to two 3mm diameter cylinders positioned at the opposite ends of the length, each 15.75mm above the base, creating a rais... | $fn=32;
union(){
cube([33, 14, 3]);
hull(){
cube([33, 3, 18.75 - 3]);
translate([30,3,18.75 - 3]){
rotate([90,0,0]){cylinder(3,3,3);}
};
translate([3,3,18.75 - 3]){
rotate([90,0,0]){cylinder(3,3,3);}
};
}
translate([33/2 - 1.5, -7, 18.75 -... | glb/cad_e89ff386a174.glb |
Create a Gantry Installation Hook for a Voron 2.4 printer. The main body is a rectangular block 120mm long, 30mm wide, and 20mm high.
Carve out a large central rectangular channel from the top, leaving walls 6mm thick on the sides and a base 5mm thick. At the top edges of the main block, add 45-degree chamfers with a... | $fn=70;
extra = 0.01;
filamentDia=1.75;
module hanger(){
difference() {
cube([120,30,20]);
translate([6,5,-0.1]) cube([109,20,21]);
translate([6,5,-.10]) cube([105,30,21]);
translate([-extra,10,-0.1]) cube([6+extra*2,30,21]);
}
translate([0,9,0]) cube([7,1,20]);
}
module voronGantryHook()
{
... | glb/cad_40938fb889f9.glb |
Create a Phone Case with Scratcher by constructing a protective shell for a device measuring 74.8mm wide, 162.5mm long, and 8.6mm deep. The main body should be a rounded cuboid with a wall thickness of 2.3mm. The side edges should have a radius of 4.3mm (half the depth), and the end corners should have a radius of 7mm.... | include <BOSL2/std.scad>
width = 74.8;
length = 162.5;
depth = 8.60;
endradii = 7;
sideradii = depth/2;
caseThickness = 3.75;
caseThickness = 2.3;
$fn = 64;
module cornercap() {
radii_inner = depth/2;
radii_outer = endradii;
steps = 16;
radii_steps = (radii_outer - radii_inner) / steps;
r... | glb/cad_96b1d7afd94f.glb |
Create a BDU button replacement by constructing a composite rounded body. Start with a base cylinder 18mm in diameter and 2mm high. On top of this, add a tapered section created by lofting a 18mm diameter circle at the base to a 9mm diameter circle at a height of 1mm. To create the overall rounded profile, merge these ... | use <BOSL2/std.scad>;
difference()
{
difference()
{
hull()
{
translate([0,0,3])
cylinder (d1=18, d2=9, 1, $fn=125);
translate([0,0,1])
cylinder (d=18, 2, $fn=125);
cylinder (d1=17, d2=18, 1, $fn=125);
difference()
{
translate([0,0,-13])
sphere (d=30, $fn=125);
translate([0,0,-15])
cuboid([30,30,30]);
}
}
union()
{
tra... | glb/cad_6f9f4443541f.glb |
Create a rectangular organizer tray with rounded corners, measuring 99.8mm in width, 49mm in depth, and 69mm in height. The corners should have a radius of 3mm.
Inside this main volume, carve out two rectangular compartments. The first compartment, for "Kings," should be 95mm wide, 10.3mm deep, and 100mm high, positio... | $fn=200;
difference(){
roundedCube(99.8,49,69);
translate([2.4,1.2,1])
cube([95,10.3,100]);
translate([2.4,12.5,1])
cube([95,35.5,100]);
translate([49.9,100,69])
rotate([90,0,0])
cylinder(h=400, d=65, center=false);
translate([10.3,100,61])
rotate([90,0,0])
linear_extrude(250)
difference(){square(8);circle(8);}
... | glb/cad_c622c8aa64ea.glb |
Create an Aquatica Insert organizer by starting with a solid rectangular block measuring 179.4mm in length, 54.8mm in width, and 27.4mm in height. Apply a 5mm fillet to all exterior edges and corners of this block to round them.
Inside this block, carve out a central rectangular void to create a tray. This void shoul... | $fn=200;
difference(){
roundedCube5(179.4,54.8,27.4);
translate([12.4,12.4,11])
minkowski(){
cube([154.6,30,100]);
sphere(r=10);
}
}
module roundedCube3(x,y,z)
{
r=3;
translate([r,r,0])
minkowski()
{
cube([x-(2*r), y-(2*r), z-r]);
cylinder(r,r,r);
}
}
module roundedCube5(x,y,z)
{
r=5;
translate([r,r,0])
minkowski()... | glb/cad_c7b19ef6aff9.glb |
Create a rectangular container with rounded corners and a hollowed-out center. The outer dimensions of the container are 91.2mm in width, 42.3mm in depth, and 27.4mm in height. The exterior corners should have a radius of 5mm.
Inside this shell, create a void by removing a centered, rounded rectangular volume. This in... | $fn=200;
difference(){
roundedCube5(91.2,42.3,27.4);
translate([12.4,12.4,11])
minkowski(){
cube([66.4,17.5,100]);
sphere(r=10);
}
}
module roundedCube3(x,y,z)
{
r=3;
translate([r,r,0])
minkowski()
{
cube([x-(2*r), y-(2*r), z-r]);
cylinder(r,r,r);
}
}
module roundedCube5(x,y,z)
{
r=5;
translate([r,r,0])
minkowski()... | glb/cad_f47f04813d8c.glb |
Create an Aquatica Insert organizer by starting with a rounded rectangular base measuring 185.2mm in width, 155.2mm in depth, and 28.4mm in height, with corner radii of 5mm.
From this base, remove a large rounded rectangular section for the pink coral tray measuring 180.4mm by 55.8mm with a depth of 100mm, positioned... | $fn=200;
difference(){
roundedCube5(185.2,155.2,28.4);
translate([2.4,2.4,1])
roundedCube5(180.4,55.8,100);
translate([92.6,0,-1])
rotate([0,0,90])
cylinder(h=200, d=30, center=false);
for(i = [0:3]){
translate([(i*45.7)+2.4,60.6,1])
roundedCube5(43.3,92.2,100);
translate([(i*45.7)+24.05,155.2,-1])
rotate([0,0,90]... | glb/cad_2f10225d3788.glb |
Create an Aquatica Insert organizer by starting with a base block measuring 147mm x 99.8mm x 54mm with rounded corners.
Carve out a large rectangular compartment for reef tokens measuring 142.2mm x 64.4mm x 58mm, starting from a height of 1mm. Within the main body, create a player board cutout measuring 110mm x 30mm ... | $fn=200;
difference(){
roundedCube3(147,99.8,54);
translate([-1,-1,49])
cube([200,67.8,100]);
translate([3,69.8,49])
rotate([0,0,180])
linear_extrude(60)
difference(){square(3);circle(3);}
translate([144,69.8,49])
rotate([0,0,270])
linear_extrude(60)
difference(){square(3);circle(3);}
translate([18.5,-1,28.4])
cub... | glb/cad_0b083d273fff.glb |
Create an Aquatica Insert organizer by starting with a base rectangular block measuring 185.2mm in width, 129.8mm in depth, and 14.2mm in height, featuring rounded corners with a 5mm radius.
Within this base, carve out six identical rectangular compartments. Each compartment should be 28mm wide and 85mm deep, positio... | $fn=200;
difference(){
roundedCube5(185.2,129.8,14.2);
translate([0,20,0]){
for(i = [0:5]){
render()intersection(){
translate([(i*30.48)+2.4,2.4,1])
roundedCube5(28,85,100);
translate([(i*30.48)+2.4,17.4,16])
rotate([0,90,0])
cylinder(h=28, d=30, center=false);
}
translate([(i*30.48)+2.4,17.4,1])
cube([28,55,30]);
... | glb/cad_b385072babbb.glb |
Create an Aquatica Insert organizer by starting with a base rectangular block measuring 185.2mm in width, 129.8mm in depth, and 14.2mm in height, featuring rounded corners with a 5mm radius.
Within this base, carve out six vertical storage slots. Four of these slots are positioned at x-intervals of 0, 30.48, 60.96, a... | $fn=200;
difference(){
roundedCube5(185.2,129.8,14.2);
translate([0,0,0]){
for(i = [0,1,4,5]){
render()intersection(){
translate([(i*30.48)+2.4,2.4,1])
roundedCube5(28,125,100);
translate([(i*30.48)+2.4,17.4,16])
rotate([0,90,0])
cylinder(h=28, d=30, center=false);
}
translate([(i*30.48)+2.4,17.4,1])
cube([28,95,30... | glb/cad_4c4522bcc6c6.glb |
Create a soldering jig for an Adafruit Feather by starting with a rectangular base block measuring 45.72mm by 76.2mm with a height of 19.05mm. Round all exterior corners and edges with a radius of 10.16mm. On the top surface, carve out a central rectangular recessed area that is 45.72mm wide and 68.58mm long, with a de... | INCH=25.4;
separation=0.8*INCH;
width=2.4;
sh=5.5;
length=2*INCH;
cube_h=0.75*INCH;
hole_pad=0.11;
$fn=72;
m=4;
difference() {
minkowski() {
cube([2*INCH-m*2,3*INCH-m*2,cube_h-m*2],center=true);
sphere(m);
}
h=1/16*INCH;
translate([0,0,cube_h/2-h/2]) {
minkowski() {
cube([1.... | glb/cad_db62dfa25d69.glb |
Create a 3D model of a Trefoil Knot. The shape is generated by sweeping a circle with a radius of 65mm along a closed parametric path. The path is defined by the following coordinates as the parameter $t$ ranges from 0 to 360 degrees: $x = 200 \cdot (\sin(t) + 2\sin(2t))$, $y = 200 \cdot (\cos(t) - 2\cos(2t))$, and $z ... | j_list= [ 1, 7, 13, 1, 1, 2, 5, 2, 45];
k_list= [ 2, 2, 2, 4, 8, 7, 7, 3, 4];
l_list= [ 3, 3, 3, 3, 3, 9, 9, 2, 4];
cr_list=[ 65, 65, 65, 45, 65, 30, 40, 40, 20];
cp_list=[ 48, 48, 48, 48, 48, 48, 48, 48, 48];
zs_list=[ 1, 2,2.5, 2, 4, 2, 2, 1, 3];
demo=1;
j=j_list[demo-1];
k=k_list[de... | glb/cad_e4e6797f7953.glb |
Create a bottle funnel consisting of a wide conical base and a narrow cylindrical neck. The overall structure is a hollow shell with a wall thickness of approximately 3.4mm.
Start by creating a wide, shallow conical base that flares out to a maximum outer diameter of 24.13mm (0.95 inches) at the top and tapers down t... | $fa=0.1;
inch = 25.4;
bottom_height = 1.1*inch;
bottom_max = 1*inch*0.95;
bottom_min = 0.66*bottom_max;
top_height = 2*bottom_height;
top_min = bottom_max;
top_max = top_min * 4;
lip_width = top_max;
lip_height = 0.25*inch;
wall_modifier = 0.85;
difference() {
funnel();
scale( v=[wall_modifier,wall_modifier,1] ) {... | glb/cad_01c623f9db0a.glb |
Create a model boat cradle designed for vee bottoms with a maximum deadrise of 35 degrees. Construct a central hull plate as a rectangular block measuring 3mm thick, 30mm wide, and 20mm high, centered at the origin. To create the screw supports, form a geometric union of a cylinder with a 3mm radius and 15mm height, an... | $fn=72;
difference(){
hull(){
translate([7.5,0,0])
cube([3,20,15],center=true);
cylinder(r=3,h=15,center=true);
}
cube([12,25,9],center=true);
cylinder(r=1.7,h=30,center=true);
}
translate([7.5,0,0])
cube([3,30,20],center=true);
translate([6,0,0])
scale([0.5,1,1])
... | glb/cad_bf0f422b46dd.glb |
Create a Geological Stereonet Visualiser by constructing a truncated cone with a height of 50mm, a bottom radius of 45mm, and a top radius of 57mm, centered on the origin. Hollow out the center of this cone by removing a sphere with a radius of 45mm, positioned so its center is 25mm above the origin. On the top rim of ... | $fn=180;
difference(){
cylinder(r2=57,r1=45,h=50,center=true);
translate([0,0,25])
sphere(r=45,center=true);
};
translate([-4,47,21])
linear_extrude(height=5){
text("N",font="Liberation Sans",size=8);
}
translate([-4,-55,21])
linear_extrude(height=5){
text("S",font="Liberati... | glb/cad_73b93a5131e5.glb |
Create a Geological Stereonet Visualiser by starting with a sphere of radius 44.5mm. Intersect this sphere with a union of two shapes: a centered cube with dimensions 100mm by 100mm by 3mm, and a centered cylinder with a bottom radius of 8mm, a top radius of 0.8mm, and a height of 44.5mm. From this resulting form, remo... | $fn=72;
difference(){
intersection(){
sphere(r=44.5,center=true);
union(){
translate([0,0,1.5])
cube([100,100,3],center=true);
translate([0,0,22.25])
cylinder(r2=0.8,r1=8,h=44.5,center=true);
};
};
translate([15,0,0])
cy... | glb/cad_e50b4f95c4a2.glb |
Create a Geological Stereonet Visualiser by constructing three intersecting curved planes within a hemispherical volume. Start by defining a sphere with a radius of 44.5mm. Each of the three planes is created by intersecting this sphere with a cube that is 100mm wide, 100mm deep, and 2.4mm thick, centered on the sphere... | module plane(dip=0,dipdir=0){
intersection(){
sphere(r=44.5,center=true);
union(){
rotate([-dip,0,dipdir])
cube([100,100,2.4],center=true);
};
};
}
difference(){
union(){
plane(dip=50,dipdir=10);
plane(dip=70,dipdir=90);
plane(dip=8... | glb/cad_a8c993c3902f.glb |
Create a cover plate for an openwaterjet by constructing a solid hull and removing the bottom section. Start by creating a hull that encompasses three scaled spheres: one centered at [0, -12, -10] scaled by [5, 7, 2], one at [12, 20, -10] scaled by [0.01, 8, 2], and one at [-12, 20, -10] scaled by [0.01, 8, 2], all wit... | $fn=72;
module cover(){
difference(){
hull(){
translate([0,-12,-10])
scale([5,7,2])
sphere(r=10,center=true);
translate([12,20,-10])
scale([0.01,8,2])
sphere(r=10,center=true);
translate([-12,20,-10])... | glb/cad_92f0b13fd905.glb |
Create a waterjet fairing by constructing a complex hull and removing a central void. Start by creating a hull that connects four scaled cylinders: one at [60, 150, 24.5] scaled [1, 4, 1] with radius 3, one at [72, 160, -34.5] scaled [1, 4, 1] with radius 1.2, one at [61, 186.6, 24.5] with radius 0.2, and one at [73, 1... | $fn=72;
LENGTH=220;
module fairing(){
hull(){
translate([60,150,24.5])
scale([1,4,1])
cylinder(r=3, h=1, center=true);
translate([72,160,-34.5])
scale([1,4,1])
cylinder(r=1.2, h=1, center=true);
translate([61,186.6,24.5])
sc... | glb/cad_9b5f05c3cd32.glb |
Create an openwaterjet assembly consisting of two mirrored units. For each unit, construct a central body that integrates a motor mount, an intake, and a nozzle.
Start with a motor mount designed to house a brushless motor, featuring a cylindrical cavity with a radius of 20mm and a length of 80mm, surrounded by an ou... | use <intake.scad>;
use <nozzle.scad>;
use <fairings.scad>;
use <motormount.scad>;
use <propspace.scad>;
use <motorholecover.scad>;
module setup(){
intersection(){
body();
cube([110,220,250],center=true);
};
translate([0,131,50])
rotate([90,0,0])
propspace();
translat... | glb/cad_2881bc28266d.glb |
Create a propeller spacer for a waterjet. Start by constructing a solid base that is the convex hull of three overlapping shapes, all with a thickness of 42mm centered on the Z-axis: a central rectangular block measuring 110mm by 90mm, and two cylinders with radii of 20mm positioned at X=20 and X=-20, both centered at ... | THICKNESS=42;
$fn=180;
module propspace(){
difference(){
union(){
hull(){
translate([0,5,0])
cube([110,90,THICKNESS],center=true);
translate([-20,-30,0])
cylinder(r=20,h=THICKNESS,center=true);
translate([20,... | glb/cad_415141afcf48.glb |
Create a motor mounting bracket for an openwaterjet. Start by forming the main body through a union of two shapes: a hull connecting two cylinders of radius 2.5mm and height 50mm positioned at [50, -10, 2.5] and [-50, -10, 2.5] (both rotated 90 degrees on the X-axis), and a hull connecting a box of 55x25x33mm centered ... | $fn=72;
module motormount(){
difference(){
union(){
hull(){
translate([50,-10,2.5])
rotate([90,0,0])
cylinder(r=2.5,h=50,center=true);
translate([-50,-10,2.5])
rotate(... | glb/cad_a2e1ec4546ec.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.