Prompt stringlengths 96 2.17k | Code stringlengths 27 249k | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a viewing hood for an oscilloscope by constructing a hollowed-out rectangular shell. Start with a solid rectangular block measuring 124mm wide, 107mm high, and 50mm deep. From this block, remove a smaller rectangular section starting 2mm from the left, bottom, and front edges, measuring 120mm wide, 105mm high, a... | width = 120;
depth = 50;
high = 105;
wall = 2;
union() {
difference() {
cube([width+2*wall,high+wall,depth], center=false);
translate([wall,wall,0]) {
cube([width,high,depth], center=false);
}
translate([0,16,depth]) {
rotate ([-25,0,0]) {
cube([width+2*wall,200,50], center=false... | glb/cad_c031cf3cb292.glb |
Create a pepper grinder mill base ring by starting with a hollow cylinder that has an outer diameter of 37.5mm, an inner diameter of 25.7mm, and a height of 4mm. Inside this ring, add a rectangular crossbar that is 4.5mm wide and 3mm high, spanning the inner diameter and leaving a 1mm clearance from the bottom surface.... | ringdiam = 37.5;
ringthick = 4;
ringinside = 25.7;
crossbarwidth = 4.5;
crossbarclear = 1;
screwseparation = 31.5;
screwholediam = 3.2;
screwheadheight = 2;
csinkwidth = 5;
csinkdepth = 2;
$fa=.01;
$fs=0.1;
epsilon = 0.01;
csinkstop = ringthick-csinkdepth;
module mainring() {
difference (){
cylinder (h=ringthick,... | glb/cad_507264100639.glb |
Create a 3D label consisting of two lines of extruded text: "zuerst:" on the top line and "Hände waschen!" on the bottom line. Use the Herculanum font with a base size of 20mm. The letters should be center-aligned horizontally and vertically separated by a distance of 1.08 times the font size.
Apply a linear extrusion... | text_ = "zuerst:";
text_2 = "Hände waschen!";
color_ = "#ccaa33";
aufrecht = true;
size_ = 20;
font_ = "Herculanum";
spacing_ = 1;
spacing_y = 1.08;
offset_ = 0.7;
linscale = 0.18;
linscal_x = 1-((linscale)/(.5*len(text_)));
depth_ = 3.6;
height_ = depth_;
backplate = 0.4;
backp_offset = 5;
move = [0,0,0];... | glb/cad_ff0e53f2e4d6.glb |
Create an esp32-case consisting of two stacked cylinders. First, create a base cylinder with a diameter of 4.4mm and a height of 2.8mm. Then, place a second, smaller cylinder directly on top of the base, centered on the same axis. This upper cylinder must have a diameter of 2.8mm and a height of 3.4mm. Ensure both cyli... | cylinder(d=4.4, h=2.8, $fn=60);
translate([0, 0, 2.8]) cylinder(d=2.8, h=3.4, $fn=60); | glb/cad_c21f57cce828.glb |
Create a rounded rectangular case for an ESP32. Start with a solid rectangular block that is 10mm wide, 5mm deep, and 2mm high. Round all four vertical corners of the block using a radius of 1mm. Ensure the final geometry is a smooth, extruded shape with consistent rounded edges on both the top and bottom faces. | module createMeniscus(h,radius)
difference(){
translate([radius/2+0.1,radius/2+0.1,0]){
cube([radius+0.2,radius+0.1,h+0.2],center=true);
}
cylinder(h=h+0.3,r=radius,$fn = 100,center=true);
}
module roundCornersCube(x,y,z,r)
difference(){
cube([x,y,z]);
translate([x-r,y-r,z/2]){
rotate(0){
... | glb/cad_3f507c1faa64.glb |
Create a protective cap for a Raymarine Axiom 7 chartplotter. Start by constructing a solid rectangular base with rounded corners. The outer dimensions of this base should be 205.2mm in width, 137.2mm in height, and 12.4mm in thickness. The corners must have a radius of 7mm.
Inside this base, carve out a rectangular ... | text="I'm on a Boat";
ts=20;
font="";
pw=202;
ph=134;
pt=9;
pr=6;
th=1.6;
cw=pw+th*2;
ch=ph+th*2;
ct=pt+th*2;
cr=pr+th;
$fn=100;
difference() {
shape(cw,ch,ct,cr);
translate([0,0,th])
difference() {
shape(pw,ph,ct,pr);
translate([-pw/4,-ph/2,ct-3])
rotate([45,0,0])
translate([... | glb/cad_f9749dca0130.glb |
Create a 3D sign character of the letter "A" using the Arial font, with a total height of 50mm and a depth of 10mm. The character should be constructed as a hollow shell with a base thickness of 1mm and side walls that are 2mm thick. To form the main body, extrude the letter shape to the full 10mm depth and apply a Min... | letter = "A";
style = "Arial";
size = 50;
depth = 10;
$fn=50;
walls = 2;
base=1;
face = 1;
sized=size-(2*walls);
difference(){
minkowski(){
linear_extrude(height=depth)
text(letter,sized,style);
cube([walls*2,walls*2,0.1],center=true);
}
minkowski(){
translate([0,0,depth-face])
linear_extrude(height=2*face)
text(lett... | glb/cad_abea7d314078.glb |
Create a 3D model of a sign face featuring the capital letter "A" in the Arial font. The letter should have a height of 50mm. The main face of the letter must be 1mm thick. To give the edges a rounded, thickened profile, apply a Minkowski sum using a small cube with dimensions of 1.5mm x 1.5mm x 0.1mm. The final geomet... | letter = "A";
style = "Arial";
size = 50;
$fn=50;
walls = 2;
face = 1;
fit = 0.5;
sized=size-(2*walls);
minkowski(){
linear_extrude(height=face)
text(letter,sized,style);
cube([walls-fit,walls-fit,0.1],center=true);
} | glb/cad_bcfe3ca65c29.glb |
Create a 3D sign character of the letter "A" using the Arial font, with a total height of 50mm and a depth of 10mm. The character should be constructed as a hollow shell with a base thickness of 0.4mm and outer side walls that are 2mm thick. To form the main body, create the letter shape with a 2mm radius rounded edge.... | letter = "A";
style = "Arial";
size = 50;
depth = 10;
$fn=100;
walls = 2;
base=.4;
face = 1;
sized=size-(2*walls);
difference(){
linear_extrude(height=depth)
minkowski(){
text(letter,sized,style);
circle(walls);
}
translate([0,0,depth-face])
linear_extrude(height=2*face)
minkowski(){
text(letter,sized,style);
circle(... | glb/cad_8bed044e97e5.glb |
Create a 3D model of a sign-maker face for the letter "A" using the Arial font. The character should be 50mm in size and extruded to a thickness of 1mm. To ensure the edges are rounded and smooth, apply a Minkowski sum to the text using a circle with a radius of 0.75mm (calculated as half of the 2mm wall thickness minu... | letter = "A";
style = "Arial";
size = 50;
$fn=100;
walls = 2;
face = 1;
fit = 0.5;
sized=size-(2*walls);
linear_extrude(height=face)
minkowski(){
text(letter,sized,style);
circle((walls/2)-fit/2);
} | glb/cad_a8f6228d5ed6.glb |
Create a Gardena Adapter for aluminum extrusion. Start by constructing a hollow rectangular block with an outer width of 48mm, a height of 41.7mm, and a depth of 20mm. The interior cavity should be 44mm wide and 33.7mm high, with rounded internal corners of 1mm at the bottom and 3mm at the top.
On one of the interior... | offset=4;
innerheight=33.7;
innerwidth=44;
innerbottomradius=1;
innertopradius=3;
extrusionMountHeight=7;
extrusionThickness=2;
sealnotch=extrusionThickness;
sealnotchdistance=15.3;
bottomradius=innerbottomradius+offset;
topradius= innertopradius+offset;
height=innerheight+offset*2;
width=innerwidth+offset*2;
gard... | glb/cad_64bd4cc1446d.glb |
Create a 3D model of an LED COB light source. Start by constructing a central square plate measuring 53mm by 53mm with a thickness of 1mm. On top of this plate, add a thin circular disc with a diameter of 59.3mm and a height of 0.5mm, centered on the square. To refine the outer edges, ensure the final footprint is trim... | module led_cob(){
thick = 1;
difference(){
union(){
translate([53/2 - 25/2, 0, 0]) cube([25, 53, thick]);
translate([ 53, 53/2 - 25/2, 0])
rotate([0,0, 90])
cube([25, 53, thick]);
}
translate([9, 9, 0]) cylinder(d=4, h=thick);
... | glb/cad_91f9fe23dd8d.glb |
Create a parametric crown by first constructing a hollow cylindrical base with an outer diameter of 105mm, an inner diameter of 95mm, and a height of 30mm. Around the top edge of this base, add ten evenly spaced decorative teeth. Each tooth is formed by the intersection of a hollow cylinder—sharing the same 105mm outer... | dia_outer = 105;
dia_inner = 95;
base_height = 30;
chip_height = 15;
deg_chip = 36;
chip_width = 10;
difference ()
{
cylinder (d=dia_outer, h=base_height, $fn=360);
cylinder (d=dia_inner, h=base_height, $fn=360);
}
for (deg = [0:deg_chip:360])
{
rotate ([0,0,deg])
translate ([0,0,base_height+chip_... | glb/cad_80378b9d9c77.glb |
Create a Three Gear Toy consisting of a base and three separate gears. First, construct the base as a circular plate with a radius of 25mm and a thickness of 2mm. On this base, add three vertical cylindrical pegs: one central peg with a radius of 3mm and a height of 10mm, and two additional pegs with a radius of 6mm an... | use <MCAD/involute_gears.scad>;
$fn = 90;
module big_gear(){
gear(number_of_teeth=20, circular_pitch=360, bore_diameter=7);
}
module little_gear(){
gear(number_of_teeth=10, circular_pitch=360, bore_diameter=7);
}
module base_part(){
cylinder(h=2, r=25);
cylinder(h=3, r=6);
cylinder(h=10, r=3);
}... | glb/cad_7e71f4515932.glb |
Create a Parametric Power Supply Cover with Switch by constructing a hollowed-out rounded cube. The main outer shell should have exterior dimensions of 117.1mm width, 221.6mm length, and 53.2mm height, with a corner radius of 1.5mm and a wall thickness of 1.6mm. Hollow out the center to accommodate a power supply of 21... | include <roundedcube.scad>
include <honeycomb.scad>
err = 0.1;
ps_l= 215;
ps_w = 114.5;
ps_h = 50;
case_r = 1.5;
case_t = 1.6;
scr_d = 4.2;
scr_cs_d = 8.3;
mnt_scr_off = 32.5;
bott_hole_dist = 50;
mnt_scr_z_off = 12.7;
sw_w = 28;
sw_l = 48;
sw_hole_dist = 40;
ps_addl_sp = 5;
brack_h = 2;
brack_w = 6;
... | glb/cad_c47b1b274adf.glb |
Create a hexagonal cup with a honeycomb pattern. The main body is a hexagonal prism with a diameter of 100mm and a height of 85mm. The corners of the hexagon should be rounded with a radius of 8mm.
The walls of the cup are 3mm thick. On each of the six vertical faces, create a recessed rectangular panel that is center... | velikost = 100;
vyska = 85;
material = 3;
ramecek = 4;
zaobleni = 8;
plastev_material = 4;
plastev = 11;
miska_material = 1.2;
miska_mezera = 0.2;
tisk = "o";
$fn=48;
module hexagone(l) {
circle(d=l, $fn=6);
}
module honeycomb(x, y, ... | glb/cad_97a413c05c6e.glb |
Create a honeycomb-patterned cup called "Kelímek se vzorem plástve." Start by constructing the main body as a hexagonal prism with a diameter of 100mm and a height of 85mm. The corners of this hexagon should be rounded with a radius of 8mm.
Hollow out the center of the prism to create a wall thickness of 3mm, leaving... | velikost = 100;
vyska = 85;
material = 3;
ramecek = 4;
zaobleni = 8;
plastev_material = 4;
plastev = 11;
miska_material = 1.2;
miska_mezera = 0.2;
tisk = "om";
include <BOSL2/std.scad>
$fn=48;
module hexagone(l) {
circle(d=l, $fn=6);... | glb/cad_cf16becee600.glb |
Create a HEXA stationery stand consisting of a cluster of hollow hexagonal cells with rounded corners. Each cell has an outer diameter of 50mm and a wall thickness of 2.4mm. The cells are arranged in five staggered rows.
The first row contains 1 cell with a height of 30mm. The second row contains 2 cells with a height... | velikost = 50;
material = 2.4;
zaobleni = 5;
vyska_r1 = 30;
pocet_r1 = 1;
vnitrek_r1 = "r";
vyska_r2 = 50;
pocet_r2 = 2;
vnitrek_r2 = "r";
vyska_r3 = 70;
pocet_r3 = 1;
vnitrek_r3 = "r";
vyska_r4 = 90;
pocet_r4... | glb/cad_66b7b271d7fc.glb |
Create a HEXA stationery stand consisting of a honeycomb cluster of hexagonal cells with rounded corners. Each cell has an outer diameter of 50mm, a wall thickness of 2.4mm, and a corner rounding radius of 5mm. The cells are arranged in five staggered rows with varying heights.
The first row contains 1 cell with a hei... | velikost = 50;
material = 2.4;
zaobleni = 5;
vyska_r1 = 30;
pocet_r1 = 1;
vyska_r2 = 50;
pocet_r2 = 2;
vyska_r3 = 70;
pocet_r3 = 1;
vyska_r4 = 90;
pocet_r4 = 2;
vyska_r5 = 110;
pocet_r5 = 1;
$fn=48;... | glb/cad_f073edafacea.glb |
Create a low-poly candy bowl by constructing a hollowed-out shell based on two faceted spheres. First, create a solid shape by forming a convex hull between two 8-sided spheres, each with a radius of 88mm, positioned at coordinates (-35, 0, 45) and (35, 0, 45). Trim this shape by removing everything below the Z=0 plane... | $fn=200;
rim_depth = 15;
bottom_thickness = 5;
fn_num = 8;
top_cut = 35;
difference(){
difference(){
hull(){
translate([-35,0,45]){
sphere(88, $fn=fn_num);
}
translate([35,0,45]){
sphere(88, $fn=fn_num);
}
}
translate([0,0,-200]){
cube(400, center=true);
... | glb/cad_ee23538584dd.glb |
Create a Broom Holder wall mount consisting of two symmetrical hinge arms and a central mounting base. The design is centered around a cylindrical void to accommodate a broom handle with a diameter of 22.1mm.
The central mounting base is a solid block 22mm high. Create two vertical mounting holes with a diameter of 4.... | BesenDm=22.1;
Scharnier_H=22;
Vertikaler_Abstand=0.21;
DuesenDm=0.5;
Anzahl_Filamentdurchgaenge=4;
Scharnierstiftloecher=3.1;
Scharnierabstand=0.3;
Wandbefestigungsloecher=4.5;
mount_screw_countersunk_depth=3;
ZylindersenkungDm=0;
erste_Schicht_Dicke=0.3;
ersteSchicht_anwenden=0;
module inset_first_layer(in... | glb/cad_2032f017b904.glb |
Create a hotend fan leveling cap consisting of a tiered cylindrical body and a protruding mounting post.
Start with a central cylindrical base that has a radius of 11.7mm and a height of 2.2mm. On top of this base, center a second cylinder with a radius of 10.8mm and a height of 3mm. Inside this structure, create a h... | $fn=100;
klucz="obręcz";
klucz="ząbki";
klucz="toteż";
klucz="pokrętło";
if(klucz=="pokrętło"||klucz=="toteż")
translate([0,0,-2]){
color("skyblue",.99)translate([0,0,-.01])cylinder(r2=7.8,r1=8.6,h=2.1);
color("skyblue",.8)translate([0,0,3.1])cylinder(r=9.6,h=1);
color("skyblue")translate([0,0,2.0-.10])cylinder(r=8.6,... | glb/cad_02fcb6ec03aa.glb |
Create a hotend fan leveling cap consisting of a primary cylindrical body and four radial arms. Start by creating a main cylinder with a radius of 12mm and a height of 1mm. Hollow out the center of this cylinder by removing a concentric inner cylinder with a radius of 11mm and a height of 1.1mm, leaving a thin outer ri... | $fn=100;
difference(){
color("skyblue",.99)translate([0,0,0])cylinder(r=12,h=1);
color("red",.99)translate([0,0,-.01])cylinder(r=12-1,h=1.1);
}
color("skyblue",.99)translate([0,0,0])cylinder(r=7,h=1);
for(i=[0:3])
rotate([0,0,i*360/4+0])
color("blue")translate([-1,0,0])rotate([0,0,0])cube([2,18.5,1]);
for(i=[0:3])
r... | glb/cad_3cf075cf968b.glb |
Create a desk hole cap consisting of a circular top flange and six evenly spaced retaining catches. Start with a main circular flange 34.5mm in diameter and 1.5mm thick. Apply a 1mm chamfer to the bottom outer edge of this flange.
Position six identical catches around the perimeter, spaced 60 degrees apart. Each catc... | hole_diameter=30.5;
flange_diameter=34.5;
flange_thickness=1.5;
flange_chamfer = 1;
catch_count=6;
catch_height=5.1;
catch_thickness=1.5;
catch_lip=1;
catch_offset=.5;
$fn=100;
catch_rotation=360/(catch_count*2);
error = .01;
union() {
flange(flange_diameter,flange_thickness, flange_chamfer);
for ( i... | glb/cad_ee890aa0d3f3.glb |
Create a shower grate consisting of a circular base and a flat top disc. Start by forming the main body as a hollow cylinder with an outer radius of 40mm and an inner radius of 38mm, with a total height of 16mm. Add a conical transition at the bottom that flares from the 38mm inner radius up to the 40mm outer radius ov... | $fa=1;
$fs=1;
translate([39,-3,-18]) cube([3,6,2]);
translate([-42,-3,-18]) cube([3,6,2]);
translate([-40,-1.5,-8]) cube([78,3,8]);
translate([-37,10,-8]) cube([74,3,8]);
translate([-37,-13,-8]) cube([74,3,8]);
translate([-32,21,-8]) cube([64,3,8]);
translate([-32,-24,-8]) cube([64,3,8]);
translate([1.5,-39,-8]... | glb/cad_2ad064c0b7cd.glb |
Create a spool storage drawer with a curved, semi-circular profile. The main body is defined by an outer width of 200mm and an inner width of 106mm, with a total part height of 69mm.
Construct the drawer walls with a thickness of 1.2mm and a bottom thickness of 1.5mm. The shape should be a partial cylinder (90-degree... | PrinterNozzleWidth=0.4;
SpoolInnerWidth=106;
SpoolOuterWidth=200;
PartHeight=69;
PartRadiusCover=90;
PartSection=1;
sectionHeight=100;
PartRadialSection=1;
sectionRadialHeight=100;
PartAsymetric=0;
HandleType = 1;
PrintedLabel = 0;
PrintedLabelText = "SCREW";
LabelHolder = 0*1;
HoleScrew=5.25;
MirrorPart... | glb/cad_45e7825f126e.glb |
Create a spool storage drawer with a curved, semi-circular profile. The main body is defined by an outer width of 200mm and an inner width of 106mm, with a total part height of 69mm. The walls and dividers should have a thickness of 1.2mm.
Construct the main enclosure as a curved shell with a bottom thickness of 1.5mm... | PrinterNozzleWidth=0.4;
SpoolInnerWidth=106;
SpoolOuterWidth=200;
PartHeight=69;
PartRadiusCover=90;
PartSection=2;
sectionHeight=100;
PartRadialSection=1;
sectionRadialHeight=100;
PartAsymetric=0;
HandleType = 1;
PrintedLabel = 0;
PrintedLabelText = "SCREW";
LabelHolder = 0*1;
HoleScrew=5.25;
MirrorPart... | glb/cad_2a859b6a78a5.glb |
Create a SSSStorage drawer designed to fit inside a spool. The main body is a curved receptacle with an outer width of 200mm, an inner width of 106mm, and a total height of 34mm. The shape is a partial hollow cylinder (a 90-degree arc) with a bottom thickness of 1.5mm and wall thickness of 1.2mm.
The drawer features a... | PrinterNozzleWidth=0.4;
SpoolInnerWidth=106;
SpoolOuterWidth=200;
PartHeight=34;
PartRadiusCover=90;
PartSection=1;
sectionHeight=100;
PartRadialSection=1;
sectionRadialHeight=100;
PartAsymetric=0;
HandleType = 1;
PrintedLabel = 0;
PrintedLabelText = "SCREW";
LabelHolder = 0*1;
HoleScrew=5.25;
MirrorPart... | glb/cad_13c2a3bec7f0.glb |
Create a spool storage drawer with an outer width of 200mm, an inner width of 106mm, and a total height of 34mm. The main body is a curved shell with a wall thickness of 1.2mm and a bottom thickness of 1.5mm.
The interior is divided into two sections by a radial separator wall that is 1.2mm thick and extends to 100% ... | PrinterNozzleWidth=0.4;
SpoolInnerWidth=106;
SpoolOuterWidth=200;
PartHeight=34;
PartRadiusCover=90;
PartSection=2;
sectionHeight=100;
PartRadialSection=1;
sectionRadialHeight=100;
PartAsymetric=0;
HandleType = 1;
PrintedLabel = 0;
PrintedLabelText = "SCREW";
LabelHolder = 0*1;
HoleScrew=5.25;
MirrorPart... | glb/cad_9f8c8cf857d7.glb |
Create a spool storage drawer with a curved, semi-circular profile. The main body is defined by an outer width of 200mm and an inner width of 106mm, with a total part height of 22.5mm. The walls should have a thickness of 1.2mm.
Construct the drawer as a curved trough with a flat bottom of 1.5mm thickness. The outer p... | PrinterNozzleWidth=0.4;
SpoolInnerWidth=106;
SpoolOuterWidth=200;
PartHeight=22.5;
PartRadiusCover=90;
PartSection=1;
sectionHeight=100;
PartRadialSection=1;
sectionRadialHeight=100;
PartAsymetric=0;
HandleType = 1;
PrintedLabel = 0;
PrintedLabelText = "SCREW";
LabelHolder = 0*1;
HoleScrew=5.25;
MirrorPa... | glb/cad_1d9625a4f8ac.glb |
Create a spool storage drawer with a curved, semi-circular profile. The main body is defined by an outer width of 200mm and an inner width of 106mm, with a total part height of 22.5mm. The base is a solid floor with a thickness of 1.5mm.
Construct the outer shell as a curved wall with a thickness of 1.2mm. Divide the ... | PrinterNozzleWidth=0.4;
SpoolInnerWidth=106;
SpoolOuterWidth=200;
PartHeight=22.5;
PartRadiusCover=90;
PartSection=2;
sectionHeight=100;
PartRadialSection=1;
sectionRadialHeight=100;
PartAsymetric=0;
HandleType = 1;
PrintedLabel = 0;
PrintedLabelText = "SCREW";
LabelHolder = 0*1;
HoleScrew=5.25;
MirrorPa... | glb/cad_90c8e910f62a.glb |
Create a spool storage drawer designed to fit inside a spool with an inner width of 106mm and an outer width of 200mm. The drawer should have a total height of 22.5mm and a curved outer wall that follows the 200mm diameter.
Construct the main body as a partial cylinder with a 90-degree arc. The floor of the drawer sho... | PrinterNozzleWidth=0.4;
SpoolInnerWidth=106;
SpoolOuterWidth=200;
PartHeight=22.5;
PartRadiusCover=90;
PartSection=3;
sectionHeight=100;
PartRadialSection=1;
sectionRadialHeight=100;
PartAsymetric=0;
HandleType = 1;
PrintedLabel = 0;
PrintedLabelText = "SCREW";
LabelHolder = 0*1;
HoleScrew=5.25;
MirrorPa... | glb/cad_9ed840b37bb7.glb |
Create a parametric can lid with a total diameter of 89mm and a height of 6mm. The main body is a revolved solid created by rotating a specific profile around the Z-axis. This profile starts at the origin [0,0], extends to a radius of 44.5mm at the base, rises vertically to a height of 6mm, steps inward by 2mm to a rad... | $fn=200;
diameter = 89;
height = 6;
clearance = 1.5;
r = diameter/2;
puntos = [[0,0],[r,0],[r,height],[r-2,height],[r-2,height-clearance], [r-1,1.4],[0,1.4]];
paths = [[0,1,2,3,4,5,6]];
difference(){
tapa();
texto();
}
module tapa(){
rotate_extrude(convexity=10)
polygon(points=puntos, paths=paths);... | glb/cad_424ade028ede.glb |
Create a parametric linear bushing. Start by creating a main cylindrical body with an outer diameter of 15mm and a height of 24mm. Remove a concentric inner cylinder to create a hole with a diameter of 8.2mm (8mm plus a 0.2mm clearance) running the full length of the body.
To create the sliding interface, carve four h... | $fn=90;
lm_id = 8;
lm_od = 15;
lm_len = 24;
fildia = 1.75 + 0.15;
clearance = 0.20;
f_offset = ((lm_id/2) + fildia/2) + clearance*.75;
difference(){
body();
pom_paths();
}
module body() {
difference(){
cylinder(r=lm_od / 2, h = lm_len);
cylinder(r=(lm_id / 2) + clearance, h = lm_len... | glb/cad_c4565e3bcd59.glb |
Create a magnetic push-pin holder. Start by creating a solid base using a truncated cone with a bottom diameter of 8.4mm and a top diameter of 10.92mm, extending to a height of 14.28mm. Atop this cone, center a sphere with a diameter of 10.92mm, positioned so that its center is 14.28mm above the base.
Inside this comb... | $fs = 0.4;
$fa = 1;
mag_diam = 6;
mag_thickness = 2;
slop = 0.3;
layerheight = 0.2;
base_diam = 1.4 * mag_diam;
ratio = 1.3;
length = base_diam*2;
sphere_diam = base_diam * ratio;
module solid_holder() {
cylinder(d1=base_diam, d2=sphere_diam, h=length-sphere_diam/2);
translate([0,0,length-(sphere_diam/2)])
s... | glb/cad_2d476116e8c1.glb |
Create a Coroma waste grate by starting with a thin circular disc 50mm in diameter and 2mm thick. Hollow out the center of this disc by removing a cylinder with a 40mm diameter and a height of 10mm, leaving a ring with a wall thickness of 5mm. Inside this ring, construct a grid of four intersecting rectangular bars, ea... | $fa=1;
$fs=1;
radius = 5;
difference()
{
cylinder(h=2,r=25);
cylinder(h=10,r=20);
}
difference()
{
cylinder(h=10,r=22);
cylinder(h=10,r=20);
}
translate([-21,5,0])cube([42,2,4]);
translate([-21,-7,0])cube([42,2,4]);
rotate([0,0,90])translate([-21,5,0])cube([42,2,4]);
rotate([0,0,-90])translate([-21,5,0])cube([4... | glb/cad_a2722dfe0421.glb |
Create a Continuity Macbook Pro Magsafe Mount by starting with a base shape formed from the convex hull of three cylinders: one central cylinder with a 61mm diameter and 6mm height, and two flanking cylinders with 41mm diameters and 6mm heights positioned 20mm apart along the Y-axis, offset by 26.5mm from the center. R... | magsafe_diameter = 56;
difference() {
hull() {
cylinder(d=magsafe_diameter+5, h = 6, $fn=90);
translate([10,26.5,0]) cylinder(d=41, h=6, $fn=132);
translate([-10,26.5,0]) cylinder(d=41, h=6, $fn=132);
}
translate([0,0,-1]) cylinder(d=magsafe_diameter, h = 7, $fn=90);
translate... | glb/cad_30bbf6042bf8.glb |
Create a picture frame consisting of a main outer border and a supporting bottom base.
First, construct the main frame as a hollow rectangular ring with a height of 20mm. The outer dimensions are 100mm by 100mm with 5mm rounded corners. The wall thickness of this ring is 1.2mm. The inner cutout of this ring is also r... | vyska = 20;
material = 1.2;
zaobleni = 5;
mezera = 0.2;
bmaterial = 2;
bramecek_xy = 25;
bscrew_xy = 20;
bscrew_t = 7;
bscrew_b = 3;
velikost_x = 100;
velikost_y = 100;
pvyska = 15;
ramecek = 3;
fzaobl... | glb/cad_25175b85c1f5.glb |
Create a HEXA picture frame consisting of a hexagonal outer shell and a matching hexagonal base.
First, construct the main frame as a hexagonal ring with a diameter of 171.46mm (calculated as $165 + 2 \times 0.2 / \cos(30^\circ) + 2 \times 1.2 / \cos(30^\circ)$), a height of 20mm, and rounded corners with a radius of... | velikost = 165;
vyska = 20;
material = 1.2;
zaobleni = 5;
rotace = 0;
mezera = 0.2;
bmaterial = 2;
bramecek = 10;
bscrew_xy = 20;
bscrew_t = 7;
bscrew_b = 3;
velikost_x = 100;
velikost_y = 100;
pvys... | glb/cad_6c62b093de54.glb |
Create a HEXA Picture Frame consisting of two main parts: a front frame and a back support.
First, construct the front frame as a hexagonal ring with a total height of 20mm. The outer boundary is a regular hexagon with a radius of 82.5mm (calculated as the size 165mm divided by 2) and rounded corners with a 5mm radiu... | velikost = 165;
vyska = 20;
material = 1.2;
zaobleni = 5;
rotace = 0;
mezera = 0.2;
bmaterial = 2;
bramecek = 10;
bscrew_xy = 20;
bscrew_t = 7;
bscrew_b = 3;
velikost_x = 100;
velikost_y = 100;
pvys... | glb/cad_f37ccc4d32be.glb |
Create an arrow fletching marking jig consisting of a hexagonal outer body with a hollow center. The outer body has a diameter of 11.5mm and a central cylindrical bore of 5.5mm.
Starting from the bottom, create a base section 10mm long. This base is a hexagonal prism with the 5.5mm central hole, featuring a small rec... | shaftDiameter = 5.5;
externalDiameter = shaftDiameter+6;
slotWidth = 0.75;
capHeight = 2;
nockIndicator = 0.5;
sectionLength = 20;
sectionCount = 2;
baseIsOpen = true;
openBaseLength = 10;
closedBaseLength = 20;
nockAligner = true;
nockThroatDepth... | glb/cad_2e372415cc79.glb |
Create a coaster base with a counter. Start by creating a main cylindrical disk with a diameter of 115mm and a height of 5mm. From the top of this disk, remove a concentric cylindrical core with a diameter of 100mm, leaving a ring wall that is 15mm wide and 5mm tall.
On the top surface of this ring wall, add numbers ... | part_to_print ="base";
outer_diameter_coaster=115;
ring_thickness=15;
inner_diameter_coaster=outer_diameter_coaster-ring_thickness;
outer_height=5;
inner_height=1;
text_height=0.4;
text_size=6;
indicator_height=7;
indicator_rim=3;
indicator_window=8;
font="FreeSans:style=Bold";
module __Customizer_Limit__ () {}
e... | glb/cad_c21f76a7e4a0.glb |
Create a USBasp case by starting with a rounded rectangular prism that is 54mm tall, 24mm wide, and 12.4mm deep, using a superellipse profile for the outer walls. Hollow out the center to create a shell with a wall thickness of 1.3mm, leaving the top open.
At the bottom of the interior, carve out a rectangular openin... | $fa = 1;
$fs = 0.5;
function Superellipse(r=2, a=1, b=undef) = [
for(t=[0:$fa:359])
[
pow(abs(cos(t)), 2/r) * sign(cos(t)) * a,
pow(abs(sin(t)), 2/r) * sign(sin(t)) * (b==undef ? a : b)
]
];
module UsbAsp() {
translate([0, 0, 44.2])
difference() {
translate([-20.3/2, -8.9/2, 0])
cube([20.3,... | glb/cad_ce7c22fc92eb.glb |
Create a cable tie mount starting with a square base 15mm wide and 0.6mm thick. Centered on this base, build a raised square platform 9mm wide and 1.2mm thick, with the sides sloping upward from the base edges to meet the platform. Cut a square hole 5mm by 5mm through the center of the entire structure. To allow for th... | base_width = 15;
base_thickness = 0.6;
tie_width = 5;
tie_height = 2;
top_width = tie_width + 4;
top_thickness = 1.2;
difference() {
hull() {
translate([0, 0, base_thickness/2])
cube([base_width, base_width, base_thickness], center = true);
translate([0, 0, top_thickness/2 + base_thickness + tie_height]... | glb/cad_ba6cc14c579a.glb |
Create a Component Leg Bender tool designed to bend electronic component leads. The main body is a symmetrical block with a total height of 7mm. Construct the tool by creating a series of seven nested, concentric U-shaped channels centered along the Y-axis. The innermost channel has a base width of 6.25mm, and each sub... | base_width = 6.25;
width_increment = 2.54;
step_size = 10;
wall_thickness = 1.25;
total_height = 7;
base_height = 2;
slot_width = 1;
slot_depth = 1;
difference() {
for(n = [0:6])
translate([0, step_size/2 + n*step_size, total_height/2])
cube([base_width + n*width_increment, step_size, total_height], center = tru... | glb/cad_d1479ee211b1.glb |
Create a HEXA coaster set consisting of a hexagonal container and matching hexagonal coasters.
First, construct the container as a hexagonal prism with a diameter of 110mm and a height of 35mm. The container should have rounded corners with a radius of 5mm. Hollow out the center of the prism, leaving a wall thickness... | velikost = 110;
vyska = 35;
material = 3;
ramecek = 4;
zaobleni = 5;
plastev_material = 4;
plastev = 11;
plastev_vzor = "y";
t_velikost = 100;
t_material = 2;
t_zaobleni = 5;
t_okraj_v = 3;
t_okraj_s = 3;
t_plast... | glb/cad_fd843294331f.glb |
Create a HEXA coaster set consisting of a hexagonal outer container and matching hexagonal coasters.
First, construct the outer container as a large hexagon with a diameter of 110mm and a height of 35mm. The hexagon should have rounded corners with a radius of 5mm. Hollow out the center of this container by removing ... | velikost = 110;
vyska = 35;
material = 3;
ramecek = 4;
zaobleni = 5;
plastev_material = 4;
plastev = 11;
plastev_vzor = "y";
t_velikost = 100;
t_material = 2;
t_zaobleni = 5;
t_okraj_v = 3;
t_okraj_s = 3;
t_plast... | glb/cad_38cc78368fa7.glb |
Create a DragonTamer air guide for a 3D printer hotend. Start with a rectangular base plate measuring 30mm wide by 28mm deep and 1mm thick. Center a circular hole with a diameter of 22.5mm through this base. On the left and right sides of the base, construct two symmetrical vertical air guides that are 24mm high. Each ... | cableopenings = true;
eps = 0.01;
$fn = 50;
difference() {
translate([-30/2, 0, 0]) cube([30, 28, 1.0]);
translate([0, 11.2, -eps]) cylinder(d=22.5, h=1.0+2*eps);
if (cableopenings) {
for (y=[15.5, 22])
translate([30/2-1, y, -eps]) hull() {
for (x=[0, 4])
translate([x, 0, 0]) cylinder(d=4.2, h=1... | glb/cad_43af3f58c550.glb |
Create a parametric coaster by constructing a hollow, tapered cylindrical shell with a height of 20mm. The outer wall should taper from a base radius of 40mm to a top radius of 45mm. The wall thickness is 2mm, created by removing a smaller concentric tapered cylinder from the center, which also starts with a 2mm thick ... | $fn=200;
name="JOSEF";
height=20;
wall_thick=2;
base_radius=40;
top_radius=45;
font="Arial:style=Regular";
font_size=10;
font_thick=1;
support_thick=2;
difference() {
cylinder(height,base_radius,top_radius);
translate([0,0,wall_thick])
cylinder(height,base_radius-wall_thick,top_radius-wall_thick);
}
inters... | glb/cad_c6e97601694e.glb |
Create a Fascia Muscle Trigger tool by constructing a composite geometric shape. Start by creating a hull that connects a sphere with a diameter of 20mm, centered at a height of 30mm, to a rounded base. This base is a ring formed by rotating a circle with a 2mm radius around a central axis at a distance of 32.5mm from ... | $fa=0.1;
$fs=0.5;
Height=40;
Diameter1=65;
Diameter2=20;
rounded=2;
Ball=30;
module triggerthing(){
hull() {
translate([0,0,Height-Diameter2/2])
sphere(d=Diameter2);
translate([0,0,rounded])
rotate_extrude(convexity = 2)
translate([Diameter1/2, 0, 0])
circle(r = r... | glb/cad_07d8034778b6.glb |
Create a peg shelf support consisting of a rectangular base and a protruding cylindrical peg. Start by constructing a rectangular base with a width of 11mm, a depth of 10mm, and a height of 2mm. Centered on the rear face of this base, attach a cylinder that serves as the shelf peg. This cylinder must have a diameter of... | velikost_x = 11;
velikost_y = 10;
vyska = 10;
material = 2;
kolik_d = 6;
kolik_l = 10;
$fn=75;
module kolik(){
hull(){
translate([1,-velikost_y/2+1,0]) cylinder(d=2, h=material);
translate([1,velikost_y/2-1,0]) cylinder(d=2, h=material);
... | glb/cad_43862886c747.glb |
The provided OpenSCAD code describes a complex 3D object that resembles a **stylized, architectural cylinder or a futuristic tower** sitting on a square base.
### Breakdown of the Geometry:
1. **The Main Body (The Cylinder):**
* The core of the object is a large cylinder.
* It features a highly intricate... | module cuttext(){translate([0,0,-1000])minkowski(){rotate([0,0,22.5])cylinder(h=0,d1=0,d2=0,$fn=8);linear_extrude(height=1000,convexity=10)mirror([1,0,0])children();}}
module outer(h,r){e=2000;minkowski(){cylinder(r1=0,r2=e,h=e,$fn=50);cylinder(h=h-e,r=r,$fn=4);}}
scale(0.001){
translate([25800,25800,0])
rotate([0,0,2... | glb/cad_0f401be9ebf5.glb |
Create a Fitness Tracker Labyrinth Gift Box consisting of a hollow outer container and a removable inner cylinder.
Construct the outer box as a square prism with rounded vertical edges. The interior must be hollowed out to accommodate a cylindrical insert.
Create the inner cylinder with a diameter of 40mm and a dep... | $fn=80;
module cuttext(){translate([0,0,-1000])minkowski(){rotate([0,0,22.5])cylinder(h=0,d1=0,d2=0,$fn=8);linear_extrude(height=1000,convexity=10)mirror([1,0,0])children();}}
module outer(h,r){e=2000;minkowski(){cylinder(r1=0,r2=e,h=e,$fn=84);cylinder(h=h-e,r=r,$fn=4);}}
difference(){
scale(0.001){
rotate([0,0,45]){... | glb/cad_b26a984d158d.glb |
Create a Flex Latch Mounting Fixture and Clasp consisting of two separate components: a latch catch and a latch fixture.
For the latch catch, create a rounded rectangular block with a total height of 13.5mm, a width of 16.5mm, and a protrusion of 5.5mm. Incorporate a notch at the base that is 6mm wide. All exterior co... | $fn=64;
Latch_Width = 36;
Latch_Projection = 1;
Latch_Height = 5;
Latch_Cross_Bar_Height = 2;
Latch_Tolerance = 0.2;
Latch_Catch_Height = 13.5;
Latch_Catch_Width = 16.5;
Latch_Catch_Protrusion = 5.5;
Latch_Catch_Notch_Width = 6;
Latch_Catch_Radius = 0.5;
Latch_Fixture_Height = 4.25;
Latch_Fixture_Width = 16.5;
Latch... | glb/cad_b43dc3635b6c.glb |
Create a plate clamp for a 2020 extrusion. The main body is a solid with a total width of 22mm, a total length of 22mm, and a height of 2mm. The base shape is a hull created from a cube of 6mm by 22mm by 2mm and a second cube of 1mm by 11mm by 2mm positioned at the far edge, resulting in an edgy, asymmetrical profile. ... | $fn = 100;
extra = 0.1;
clampWall = 1;
clampTopThickness = 1;
serialPlateWidth = 20;
serialPlateThickness = 1;
clampPlateX = 5;
clampPlateY = 5;
clampPlateYinner = 10;
clampX = 10;
screwHoleDia = 3.2;
minkowskiCylinderR = 1;
module ldoSerialPlate(type = "DEBUG")
{
difference() {
if(type == "TYPE1") {
... | glb/cad_4dbb048bab15.glb |
Create a Parametric Oloid split into two symmetrical halves. First, generate the main body by creating a convex hull between two cylinders, each with a diameter of 30mm and a thickness of 0.8mm. Position the first cylinder flat on the XY plane centered at the origin. Position the second cylinder such that its axis is r... | diam = 30.0;
thickness = 0.8;
pin_voids = true;
split_model = true;
pin_diam = 1.75;
pin_len = 8.00;
tolerance = 0.1;
$fn=256;
module oloid() {
hull() {
cylinder(h = thickness, d = diam);
translate([diam / 2, thickness / 2, thickness / 2]) rotate([90, 0, 0]) cylinder(h = thickness, d = diam)... | glb/cad_687734629139.glb |
Create a Dutch windmill gear coaster by starting with a solid cylinder 100mm in diameter and 2mm thick. Carve a decorative pattern into the top surface of the cylinder to a depth of 2mm. This pattern consists of a central circular ring with an outer radius of 35mm and an inner radius of 27mm, with a wall thickness of 2... | straal=50;
st=straal+20;
sr=straal-15;
lijndikte=2;
$fn=60;
difference()
{
cylinder(h=2,d=100);
translate([0,0,-0.1]) linear_extrude(height=2.2) logo();
}
module logo()
{
dia=(straal-4)*2;
difference()
{
circle (r=sr);
circle (r=sr-8+(lijndikte/2));
translate ([0,11]) squar... | glb/cad_34b5a59630de.glb |
Create a Pegstr pegboard organizer. Start by designing a main holder body that is 10.2mm wide, 10.2mm deep, and 15mm high, with rounded corners of 5.1mm. This holder should be positioned 0mm away from the board.
To mount the holder, create a support structure that interfaces with a pegboard featuring 4mm holes spaced ... | holder_x_size = 10.2;
holder_y_size = 10.2;
holder_height = 15;
Holder_Distance_From_Board = 0.0;
Space_Between_Holders = 1.85;
holder_x_count = 1;
holder_rows = 2;
Holder_Taper_Scaling = 100;
Support_Percent = 100;
closed_bottom = 0.0;
Holder_Cutout_Percent = 0.0;
holder_angle = 0.1;
Is_Circle=false;
corn... | glb/cad_eada8a25e687.glb |
Create a hanging flowerpot base by starting with a solid cylinder 20mm in diameter and 10mm in height. On top of this base, add a tapered section that transitions from the 20mm diameter at the 10mm height mark to a 10mm diameter at a total height of 20mm. To create the interior cavity, remove a central cylinder with a ... | $fn=360;
difference() {
union() {
cylinder(d=20,h=10);
hull() {
translate([0,0,10])
cylinder(d1=20,d2=10,h=5);
translate([0,0,20])
rotate([90,0,0])
translate([0,0,-1])
cylinder(d=10,h=2);
}
... | glb/cad_f32ac6098a38.glb |
Create a flat, 2mm thick geometric plate. The overall shape is defined by two circles with 12mm diameters, centered 42.43mm apart. Connect these two circles with a central rectangular bridge that is 4mm wide. From this combined silhouette, remove a central square area by subtracting a 10mm by 10mm square centered betwe... | $fn=360;
radius=30;
length=radius*sqrt(2);
linear_extrude(height=2)
difference() {
union() {
circle(d=12);
translate([0,length,0])
circle(d=12);
hull() {
circle(d=4);
translate([0,length,0])
circle(d=4)... | glb/cad_5534f1867c28.glb |
Create a cable gland consisting of a main cylindrical body and a removable cap. For the main body, start with a cylinder 60mm in diameter and 25mm high. Add a top flange by placing a second cylinder on top with a diameter of 70mm and a height of 2mm, then apply a 1mm bevel to the top edge of this flange so it tapers fr... | velikost = 60;
vyska = 25;
material = 2;
vskoseni = 1;
skoseni = 1;
ramecek = 5;
ramecek_vyska = 2;
ramecek_vskoseni = 1;
viko_otvor = 30;
viko_vyska = 6;
viko_material = 2;
viko_mezera = 0.2;
tisk = "pv";
$fn... | glb/cad_dbd503664382.glb |
Create a Woodwork Setup Gauge Block with overall dimensions of 100mm in length, 10mm in width, and 1.5mm in height. The main body should be a rectangular slab with fully rounded ends, forming a stadium shape. Apply a small 0.4mm bevel to all edges of the block to prevent sharp corners.
On the top face, center the text... | $fs = 0.4;
$fa = 1;
text_depth = 0.6;
gauge_length = 100;
module bevelprofile(bevel) {
a = [0,0];
b = [0,bevel];
c = [bevel,0];
polygon([a,b,c]);
}
module bevelbase(dim, bevel) {
translate([0,-0.01,0])
rotate([90,0,0])
rotate([0,90,0])
translate([0,0,-0.5])
linear_extrude(heig... | glb/cad_a4310ea55263.glb |
Create a Woodwork Setup Gauge Block with a total length of 101.6mm, a width of 25.4mm, and a height of 6.35mm. The overall shape should be a rectangular slab with fully rounded ends, forming a stadium shape. Apply a small bevel to all edges of the block to prevent sharp corners.
On the top face, center the text "1" x ... | $fs = 0.4;
$fa = 1;
text_depth = 0.6;
gauge_length = 101.6;
module bevelprofile(bevel) {
a = [0,0];
b = [0,bevel];
c = [bevel,0];
polygon([a,b,c]);
}
module bevelbase(dim, bevel) {
translate([0,-0.01,0])
rotate([90,0,0])
rotate([0,90,0])
translate([0,0,-0.5])
linear_extrude(he... | glb/cad_c4930e240620.glb |
Create a tabletop pillar jig by starting with a flat rectangular base 1.5mm thick, 70mm high, and 15mm wide. On this base, construct a series of parallel diagonal slots. Each slot should be 4mm wide and 1mm thick, spaced 5mm apart. These slots must be oriented at a 20-degree angle relative to the base's primary axis. A... | width = 15;
height = 70;
grid = 5;
angle = 20;
lineThickness = 1;
thickness = 1.5;
fence = 4;
iterations = 4;
lc = sqrt(width*width+height*height);
$fn = 128;
difference(){
union(){
rotate([0,0,-angle]){
for(i=[-iterations:iterations-1]){
translate([lineThickness/2+(grid+lineT... | glb/cad_9c643e4490be.glb |
Create a Lamp Light Sheet Holder consisting of a stacked base made of five rectangular plates, each measuring 330mm by 70mm with 8mm rounded corners.
The top plate features a central rectangular slot measuring 250mm by 8.1mm to hold an acrylic sheet and a circular hole for a dimmer knob. The second plate down contain... | mt = 6;
width = 330;
depth = 70;
sheetWidth = 250;
sheetThickness = 8.1;
ledWidth = 10.5;
roomLength = 226;
dimmerHoleWidth = 7;
dimmerHoleOffset = [17,18.4];
dimmerWidth = 27;
dimmerDepth = 32;
screwHeadDia = 5;
screwDia = 3;
predrillDia = 1.8;
feetDia = 10;
psuWidth = 99;
psuDepth = 46;
psuScrewWidth = 88.4;
psuS... | glb/cad_4f1396a59892.glb |
Create a mechanical base by forming a hull between two cylinders of 14mm diameter positioned 70mm apart (at x = -35 and x = 35) and a central cylinder of 30mm diameter, all with a height of 10mm. Centered on this base, add a larger vertical cylinder with a 30mm diameter and a total height of 25mm.
To create the openi... | $fn = 120;
zT = 0.2;
zO = 0.1;
module ExtremeHole()
{
translate([0, 0, -zO]) cylinder(d = 6, h = 5+zO);
translate([0, 0, 5-zO ]) cylinder(d = 9, h = 5+zT);
}
module CentralHole()
{
translate([0, 0, -zO]) cylinder(d = 20, h = 20+zO);
translate([0, 0, 20-zO]) cylinder(d = 24, h = 5+zT);
}
module Cen... | glb/cad_b12caa542b2b.glb |
Create a 35 mm film strip holder for digitization. Start with a central rectangular block measuring 56 mm in length, 45.5 mm in width, and 24 mm in height, centered on the origin.
Carve a hollow film path through the center of the block. This path has a cross-section 35.75 mm wide and 0.6 mm thick. The path remains st... | use <path_extrude.scad>;
film_w = 35.5+0.25;
film_thickness = 0.3*2;
image_w = 24.0+0.2;
image_l = 36.0+0.5;
side_strip_w = (film_w-image_w)/2.0;
film_clearance = 5;
$fn = 64;
half_film = [[0,film_clearance/2,0],
[film_w/2-side_strip_w, film_clearance/2,0],
[film_w/2-side_strip_w, film_thickness/2,0],
... | glb/cad_5da0098d1608.glb |
Create an Automotive Trunk Door Fastening Hook with a total extrusion length of 50mm. Start with a cylindrical ring for a rope hole, featuring an outer radius of 6.5mm and an inner hole radius of 2.5mm. From this ring, extend a flat connecting member 20mm long and 4.3mm wide to transition into the hook section.
Const... | $fn = 100;
l = 50;
gap = 4.3;
hook_w = 4;
rope_r = 2.5;
rope_wall = 4;
stretch = 20;
hook_d = 8;
translate([rope_r + rope_wall, 0, 0]) difference() {
cylinder(l, rope_r + rope_wall, rope_r + rope_wall);
#cylinder(l, rope_r, rope_r);
}
difference() {
linear_extrude(height=l) polygon(points = [[2*rope_r + ... | glb/cad_52d7059bc6a7.glb |
Create a screw column for an electronics enclosure. The column is a vertical cylinder with a total height of 50mm and an outer diameter of 15.5mm.
Inside this column, create a multi-stage coaxial hole to accommodate a screw. Starting from the bottom, create a cylindrical bore with a diameter of 4.5mm and a height of ... | use <base-geometry.scad>
$fa = 2;
$fs = 0.25;
module body_screw_column(
screw_diameter=2.9,
head_diameter=5.5,
partition_height = 12,
position = "front-left",
end_dist = 10,
shell_length=200,
shell_width=100,
shell_height=50,
shell_radius=10,
shell_wall_thickness=5
) {
head... | glb/cad_4ae4a89b88b8.glb |
Create a Rail Mount for an electronics enclosure consisting of two primary components: a mounting rail and a pair of sliding feet.
First, construct the mounting rail. Create a 2D profile with a width of 23mm and a height of 6mm. The profile should be a symmetrical polygon with a flat base, vertical sides that step inw... | use <helpers.scad>
use <boxes.scad>
use <base-geometry.scad>
$fa = 2;
$fs = 0.25;
module hole_screw_head(
screw_diameter = 2.9,
head_diameter = 5.5,
) {
ds = 0.02;
head_through_d = screw_head_through_diameter(head_diameter);
screw_through_d = screw_thread_through_diameter(screw_diameter);
co... | glb/cad_6ca3f4f11fdb.glb |
Create a cable strain relief consisting of two identical clamping components. Each component is based on a hull formed by two cylinders of diameter 5.5mm and height 4.125mm, positioned 30mm apart along the Y-axis.
For each component, subtract two through-holes with a diameter of 2.9mm centered at the cylinder positio... | use <base-geometry.scad>
$fa = 2;
$fs = 0.25;
module cable_hole_rect(
size_y=20,
size_z=10,
plate_thickness=3
) {
size_x = 3 * plate_thickness;
cube([size_x, size_y, size_z], center=true);
}
module cable_hole_round(
size_y=10,
size_z=20,
plate_thickness=3
) {
diameter = min(size_y... | glb/cad_0fd30f41e6ea.glb |
Create an electronics enclosure consisting of a rectangular body with open ventilation and two end plates. The end plates are 3mm thick.
On the first end plate, create three cutout holes centered relative to the plate's origin: one rectangular hole measuring 20mm by 10mm, one circular hole with a 5mm diameter, and one... | use <base-geometry.scad>
$fa = 2;
$fs = 0.25;
module end_hole_rect(
size_y=20,
size_z=10,
plate_thickness=3
) {
size_x = 3 * plate_thickness;
cube([size_x, size_y, size_z], center=true);
}
module end_hole_round(
size_y=10,
size_z=20,
plate_thickness=3
) {
diameter = min(size_y, si... | glb/cad_94c1fa83a3c2.glb |
Create an electronics enclosure consisting of two symmetrical body halves that join along a central seam. The main shell has an outer length of 200mm, a width of 100mm, and a wall thickness of 2mm.
For the joining mechanism, create a seam profile based on a 2D polygon with vertices at [-0.01, 0], [4, 2], [4, 6], and ... | use <helpers.scad>
use <base-geometry.scad>
use <end-join.scad>
$fa = 2;
$fs = 0.25;
module body_seam_2D(
shell_wall_thickness=2.0
) {
d = shell_wall_thickness;
polygon([
[-0.01, 0],
[2 * d, d],
[2 * d, 3 * d],
[-0.01, 4 * d],
]);
}
module body_seam(
pos... | glb/cad_8553ac1ad43f.glb |
Create a curvy end plate for an electronics enclosure. Start with a base rounded cube that is 20mm deep (from -10mm to 10mm on the X-axis), 100mm wide, and 50mm high, with a corner radius of 10mm. Hollow out the center of this shape using a smaller rounded cube with a corner radius of 8mm, leaving a wall thickness of 2... | use <boxes.scad>
use <base-geometry.scad>
use <end-join.scad>
use <end-plate-hole.scad>
$fa = 2;
$fs = 0.25;
module end_plate_curvy(
holes=[],
position = "left",
shell_length=200,
shell_width=100,
shell_height=50,
shell_radius=10,
shell_wall_thickness=2,
) {
ds = 0.02;
plate_thi... | glb/cad_2b8280181aaa.glb |
Create a clothing rack support connector consisting of two mirrored halves. For each half, start with a base shape formed by the union of a cylinder with a 15mm diameter and 15mm height, and a rectangular block measuring 16mm by 2mm by 35mm. From this combined volume, remove a horizontal cylindrical hole with a diamete... | include <NopSCADlib/global_defs.scad>
include <NopSCADlib/utils/core/core.scad>
use <NopSCADlib/utils/horiholes.scad>
tolerance = 0.1;
$layer_height = 0.2;
rod_d = 9.5;
module printable_cylinder(h){
hull(){
cylinder(d=15, h=h);
translate([-8, 6,0])cube([16, 2, h]);
}
}
module connector_part(){... | glb/cad_a435f5ca040e.glb |
Create a Rotating Drink Coaster consisting of a base and a rotating cover.
First, create a cylindrical base with a diameter of 89mm and a height of 3mm. In the center of the base, create a vertical post with a diameter of 8mm. Around the top perimeter of the base, emboss the words "Cat", "Dog", "Fish", "Hamster", "Li... | coaster_diameter = 90;
label_values = ["Cat", "Dog", "Fish", "Hamster", "Lizard", "Rabbit", "Snake"];
render_base = true;
render_cover = false;
base_height = 3;
text_height = 0.5;
cover_surface_thickness = 1;
cover_gap_over_text = 0.5;
cover_support_thickness = 2;
cover_support_height = text_height + 0.5;
cover_... | glb/cad_dd0bc18f9625.glb |
Create a coaster holder by starting with a cylinder that has a diameter of 106mm and a total height of 38mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 100mm and a height of 35mm, leaving a base thickness of 3mm and a wall thickness of 3mm.
To create the access... | velikost = 100;
vyska = 35;
material = 3;
vyrez = 30;
zaobleni = 5;
tisk = "r";
$fn=95;
module vyrez(){
translate([-velikost/2-material,-vyrez/2,material]) cube([velikost+material*4,vyrez,vyska]);
difference(){
translate([-velikost/2-mat... | glb/cad_3115a7ab2362.glb |
Create a blinds cable holder by starting with a rectangular block 10mm wide, 20mm long, and 7.5mm high. Round the four vertical corners of this block with a radius of 1mm. Centered on the top face, create a circular hole with a diameter of 3mm that penetrates 1.5mm deep into the block. Directly behind this hole, carve ... | $fn=95;
module drzak(){
difference() {
hull(){
translate([1,1,0])cylinder(h=7.5,r=1);
translate([10-1,1,0])cylinder(h=7.5,r=1);
translate([1,20-1,0])cylinder(h=7.5,r=1);
translate([10-1,20-1,0])cylinder(h=7.5,r=1);
}
translate([-1.8,0,5.7]) ro... | glb/cad_0e8287a4f251.glb |
Create a round peg shelf support consisting of three coaxial cylindrical sections aligned along a central axis. Start with a primary cylinder 11mm long with a diameter of 8mm. At the base of this cylinder, add a 1mm long conical transition that tapers from a diameter of 6mm up to 8mm. At the opposite end of the primary... | police_d = 8;
police_l = 11;
police_s = 1;
krouzek_d = 10;
krouzek_l = 2;
krouzek_s = 1;
kolik_d = 6;
kolik_l = 10;
kolik_s = 1;
$fn=75;
module kolik(){
translate([0,0,kolik_d/2]) rotate([0,90,0]) cylinder(d1=police_d-2, d2=pol... | glb/cad_94f5ec148cda.glb |
Create a Case for In-Ear Monitors consisting of a base and a lid.
For the base, create a rectangular block with a total height of 27mm. The outer dimensions are 84mm wide by 64mm deep. Hollow out the center to create a storage compartment, leaving a wall thickness of 2mm. At the four corners of the base, add cylindri... | $fs = 0.2;
$fa= 1;
winder_width = 80;
winder_thickness = 4;
winder_height = 25;
fillet_radius = 3;
x_void = 10;
y_void = 30;
skin = 2;
full_width = winder_width + (x_void*2) + (skin*2);
full_height = winder_thickness + (y_void*2) + (skin*2);
radius = 8;
pillar_x1 = radius;
pillar_x2 = full_width-radius;
pillar_y1 ... | glb/cad_9b434d060a5c.glb |
Create a vampire fang model by combining a cylindrical root with a sculpted tooth. Start with a cylinder 2mm in diameter and 4.2mm in height to serve as the root. For the tooth, construct a hull that blends three scaled spheres: one centered at [0, 1.54, 5] with a diameter of 7mm scaled by [1.1, 0.45, 0.25], another at... | rotate([82.75,0,0])
difference() {
union() {
translate([0,0,5.75]) cylinder(d=2,4.2,$fn=36);
hull() {
translate([0,0.22*7,5.0]) scale([1.1,0.45,0.25]) sphere(d=7,$fn=36);
translate([0,-0.2*7,5.0]) scale([1,0.5,0.33]) sphere(d=5.5,$fn=36);
translate([0,0.21*7,0]) scale([0.875,0.33,0.25]) sphere(d=6.8,$fn=... | glb/cad_b472b86cf0e3.glb |
Create a Pepperpot Olsson wrench and nozzle holder. The main body is a tapered cylindrical container with a flat base. Start with a base consisting of a cylinder 45mm in diameter and 1.5mm high, transitioning to a slightly smaller cylinder 43mm in diameter and 0.3mm high, followed by a main tapered section that narrows... | include <ISOThreadUM2.scad>
x1 = 29.5;
x2 = 28;
z1 = 32;
lower = 1.60;
upper = 12.7;
difference() {
union() {
cylinder(d1=45, d2=43, h=1.5);
translate([0,0,1.5]) cylinder(d1=43,d2=42.25,h=0.3);
cylinder(d1=42.0,d2=26,h=27.50);
cylinder(d=28,h=29.50);
translate([0,0,29.5])... | glb/cad_1a1c06f330a2.glb |
Create a Pepperpot Olsson wrench and nozzle holder by starting with a sphere of radius 18mm that is scaled by 50% along the Z-axis to create an oblate spheroid. Flatten the bottom of this shape by removing everything below Z = -18.5mm.
Carve two identical threaded holes into the spheroid, each with a diameter of 6mm ... | include <ISOThreadUM2.scad>
z=37;
x=9;
difference() {
union() {
scale([1,1,0.5]) sphere(r=18,$fn=72);
}
translate([0,0,-z/2]) cube(z, true);
translate([-x,0,0]) rotate([0,-28.5,0]) cylinder(d=5.995,10,$fn=18);
translate([x,0,0]) rotate([0,28.5,0]) cylinder(d=5.995,10,$fn=18);
}
translate([... | glb/cad_8c62fa085958.glb |
Create a Pepperpot Olsson wrench and nozzle holder. The main body is a tapered cylindrical vessel with a flat base. The base starts with a diameter of 45mm, tapering slightly to 42mm over a height of 1.5mm, then continuing as a conical section tapering from 42mm down to 26mm over a height of 27.5mm. A central vertical ... | include <../ISOThreadUM2.scad>
x1 = 29.5;
x2 = 28;
z1 = 32+1;
z3 = 37;
lower = 1.60;
mezzo = 12.7;
upper = 12.7+11.1+3;
difference() {
union() {
cylinder(d1=45, d2=43, h=1.5);
translate([0,0,1.5]) cylinder(d1=43,d2=42.25,h=0.3);
cylinder(d1=42.0,d2=26,h=27.50+11.1);
cylinder(d=2... | glb/cad_04fd0ca8040d.glb |
Create a Stretch Wrap Dispenser consisting of a central stick held within a cylindrical body. Start by creating a main body as a cylinder 40mm high with a diameter of 37.5mm. Remove a central vertical hole from this body using a cylinder with a 22mm diameter and a height of 100mm, and further hollow out the center by r... | bodyHeight=40;
bodyWidth=37.5;
stickHeight=100;
stickWidth=20;
stickLocker=24;
grabHeight=40;
grabWidth=20;
grabOffset=4;
module body(){
offset = 2;
difference(){
cylinder(h=bodyHeight,d=bodyWidth);
cylinder(h=stickHeight,d=stickWidth+offset);
sphere(d=stickLocker+offset);
trans... | glb/cad_e692e7dc3ac8.glb |
Create a Stretch Wrap Dispenser consisting of two concentric cylindrical shells. First, construct the outer body as a cylinder 40mm high with a diameter of 50mm. Hollow out this body by removing a central cylinder 40mm high with a diameter of 42mm, and further carve out two spherical voids, each 46mm in diameter; posit... | bodyHeight=40;
bodyWidth=50;
grabHeight=40;
grabWidth=40;
grabLocker=44;
grabOffset=4;
module body(){
offset = 2;
difference(){
cylinder(h=bodyHeight,d=bodyWidth);
cylinder(h=grabHeight,d=grabWidth+offset);
sphere(d=grabLocker+offset);
translate([0,0,bodyHeight]) sphere(d=grabLo... | glb/cad_e9e043d5c58c.glb |
Create a protective travel case for an Oral-B Pro 400 toothbrush. Start by constructing the main body as a hollow shell with a height of 70mm. The outer shape of this body is formed by the convex hull of two cylinders, each 27mm in diameter, positioned 5mm apart along the Y-axis. Create a hollow interior by removing a ... | headHeight = 5;
bodyHeight = 70;
module proBody(){
difference(){
hull(){
cylinder(h=bodyHeight,d=27);
mirror([0,1,0]) translate([0,-5,0]) cylinder(h=bodyHeight,d=27);
}
hull(){
cylinder(h=bodyHeight,d=24);
mirror([0,1,0]) translate([0,-5,0]) c... | glb/cad_45cf01535fed.glb |
Create a Gel tank foot designed as a threaded rod. Start by creating a central cylinder with a diameter of 8mm and a total height of 20mm.
To create the threading, carve a helical groove into the surface of the cylinder. The groove should follow a trapezoidal profile with a pitch of 1.5mm. The thread geometry is defi... | function flatten(l) = [ for (a = l) for (b = a) b ];
function mapfuncConstantX(shape, pathPoint) =
[ for(i = [0 : (len(shape) - 1)])
[0, shape[i][0], shape[i][1]] + pathPoint ];
function mapfuncConstantY(shape, pathPoint) =
[ for(i = [0 : (len(shape) - 1)])
[shape[i][1], 0, shape[i][0]] + pathPoin... | glb/cad_7d41884d53a9.glb |
Create a gel tank foot consisting of a threaded rod mounted on a wide, notched base. Start by creating a central vertical cylinder with a diameter of 13.2mm and a height of 5mm. At the top of this cylinder, construct a threaded bolt section with a major diameter of 9.525mm and a pitch of 1.5875mm, extending the total h... | use <path_extrude.scad>;
xw=0.4;
il=24;
fl=30;
cr=2;
fh=7;
ww=1;
mXlength=25+fh+xw;
mXD=9.5250;
bD=14;
mXP=1.5875;
mXDmin=mXD - 5*sqrt(3)/8*mXP;
mXDp=mXD - 3*sqrt(3)/8*mXP;
mXH=sqrt(3)/2 * mXP;
mXR=mXH/(mXP/2);
mXppr=24;
mXloops=mXlength/mXP;
mXtid=mXD-mXP;
type="bolt";
mXmyPoints = [[-mXH*1/4-xw,-mXP/2+0.01], [-mXH... | glb/cad_bb9debed6f71.glb |
Create a Parameterized Living Hinge Box designed to be printed flat and folded into a rectangular container. The main body consists of a continuous flat strip of material with a thickness of 2mm.
Construct the walls by creating four rectangular panels connected by thin, flexible living hinges. The panels should have ... | inner_width=15;
inner_length=28;
inner_height=70;
thickness = 2;
cover_thickness = 1;
skin = 0.4;
cover_overlap=2;
length = inner_length+thickness*2;
width = inner_width+thickness*2;
height = inner_height+cover_overlap;
overall_length = length*2+width*2+skin/2*3;
module wedge(_length) {
rotate([90,0,0])
line... | glb/cad_f540d04eb0f4.glb |
Create a Universal Hook with a total height of 25mm and a material thickness of 3mm. Start by creating a base support structure that wraps around a rod of 30mm diameter. This support should be a cylinder with an outer diameter of 36mm and a height of 25mm, with a 30mm diameter hole removed from the center. To create th... | velikost = 90;
vyska = 25;
tyc = 30;
material = 3;
zaobleni = 5;
hacek = 60;
hacek_spodek = 20;
hacek_uhel = 25;
hacek_p = 0;
klinek = 15;
tisk = "k";
$fn=95;
module hacek_kulaty(){
difference(){
... | glb/cad_e6dc5467a6bf.glb |
Create a 3D model of a robotic teapot lid component. Start by creating a base that is an elliptical cylinder with a height of 5mm, a radius of 8mm along the X and Z axes, and a radius of 4mm along the Y axis. Position this base so that it is centered on the X and Z axes and extends from -0.2mm to 4.8mm along the Y axis... | $fn = 32;
union() {
translate([0, -0.2, -2]) cylinder(h = 7, r = 3.25);
scale([1, 0.5, 1]) translate([0, -0.2, -5.5]) cylinder(h = 5, r = 8);
} | glb/cad_fb38d3899c68.glb |
Create a circular robot platform with a radius of 30mm. The main body consists of a base cylinder 2mm thick and a secondary concentric ring 3mm thick with a radius of 27.75mm, extending 20mm in height. A central rectangular slot measuring 32mm by 25mm by 2mm is removed from the center of the structure.
On opposite sid... | $fn = 90;
servo_height = 19 + 0.5;
servo_width = 20;
servo_depth = 9;
servo_side = 6;
leg_distance = 17.5;
body_radius = 30;
body_border = 2;
difference() {
union() {
translate([0, 0, -5]) difference() {
cylinder(r = body_radius, h = 2);
cube([32, leg_distance*2+10, 20], cente... | glb/cad_1e1f4be1e148.glb |
Create a servo bracket for a robot leg. Start with a main rounded rectangular block measuring 25mm in length, 15mm in depth, and 26.5mm in height, with a corner radius of 3mm.
Hollow out the center of this block to create a shell, leaving a wall thickness of 3mm. From the center of the block, remove a smaller rectang... | servo_height = 19 + 0.5;
servo_width = 20 + 0.5;
servo_depth = 9 + 0.5;
servo_side = 6;
border = 3;
$fn = 32;
union() {
difference() {
rcube([servo_height, servo_depth, servo_width + servo_side] + [border*2+1, border*2, 2], border);
translate([-0.5, 0, 2]) union() {
cube([servo_he... | glb/cad_e29e26f263a9.glb |
Create a robotic leg part with a total width of 36mm, a depth of 30mm, and a thickness of 5mm. Start with a base rectangular block centered at the origin, measuring 36mm wide, 30mm deep, and 5mm thick. On top of this base, add a central section consisting of a rectangular block 36mm wide, 15mm deep, and 10mm high, merg... | leg_width = 28;
thickness = 5;
$fn = 32;
union() {
difference() {
union() {
translate([0, 0, -thickness/2]) cube([leg_width+4*2, 30, thickness], center=true);
translate([0, -7.5, 10/2]) union() {
cube([leg_width+4*2, 15, 10], center=true);
translate([... | glb/cad_52b1e2799647.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.