Prompt stringlengths 96 2.17k | Code stringlengths 27 249k | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a drill press fence with an overall length of 200mm. The model consists of a vertical face plate and a horizontal base plate joined at a 90-degree angle. The face plate is 5mm thick and 40mm high. The base plate is 40mm wide and 5mm thick. Both plates feature six shallow, inset rectangular faces across their sur... | use <BOSL/masks.scad>
include <BOSL/constants.scad>
overall_width=200;
face_thickness = 5;
face_height = 40;
base_thickness = 5;
base_width = 40;
deboss_depth = 1;
deboss_block_count = 6;
bolt_center_distance = 104;
bolt_socket_diameter = 18;
bolt_socket_inset_height = 6.5;
bolt_diameter = 8;
bolt_reinforce_depth =... | glb/cad_5bfa775ba243.glb |
Create a screwdriver button guard by constructing a hollow, rounded octagonal sleeve. Start with an octagonal prism that is 57mm tall, formed by the intersection of two squares: one with a side length of 18.4mm and another with a side length of 19.9mm rotated 45 degrees. Apply a 2mm fillet or rounding to all exterior e... | d1=17.4;
d2=18.9;
module octogon(offset, length) {
intersection() {
cube([d1+offset, d1+offset, length], center=true);
rotate(45)
cube([d2+offset, d2+offset, length], center=true);
}
}
module hardcornershape() {
difference() {
octogon(+1, 57);
octogon(-1, 58);
translate([5, -4, -35])
... | glb/cad_e332019b798a.glb |
Create a valve remover tool starting with a circular base 17.5mm in radius and 4mm high. Atop this base, add a 4mm high conical section that tapers from a radius of 17.5mm down to 15mm. Above the taper, build a main cylindrical body with a radius of 16.5mm and a height of 67mm, topped with a 5mm high frustum that taper... | fn=36*4;
uppernutsize=17.1/2;
biggernutsize=29.6/2;
module castellationforgrip() {
offcenter=21;
radius=12/2;
for(angle = [0 : 45 : 360-1]) {
rotate(a=[0,0,angle])
translate(v=[offcenter, 0, -1])
cylinder(r=radius, h=75, $fn=fn/2);
}
}
module handlewithgrip() {
difference() {
... | glb/cad_0c7a158c1ee3.glb |
Create a tool for Uponor fittings by constructing a stacked geometric body with a central vertical bore. Start with a cylindrical base 14.5mm in radius and 6mm in height. Atop this, add a frustum 4mm high that tapers from a 14.5mm radius at the bottom to a 10mm radius at the top. Above the frustum, place a cylinder 25m... | fn=36*4;
uppernutsize=10/2;
biggernutsize=23/2;
module castellationforgrip() {
offcenter=15.5;
radius=11/2;
for(angle = [0 : 45 : 360-1]) {
rotate(a=[0,0,angle])
translate(v=[offcenter, 0, -1])
cylinder(r=radius, h=75, $fn=fn/2);
}
}
module handlewithgrip() {
difference() {
... | glb/cad_fb34237bbfd5.glb |
Create a flexible connector for wood train tracks by constructing a chamfered cylinder. The main body is a cylinder with a diameter of 40mm and a height of 20mm. Apply a 45-degree chamfer to both the top and bottom circular edges of the cylinder to create a tapered profile at the ends. Ensure the geometry is rendered w... | cylinderChamfered(chamfer=[0,45],extra_z=0);
module circleChamfered(d=40,chamfer=[45,45],extra_z=0){
module chamfer(chamfer=45,extra_z=0){
val=d/2+extra_z;
val2=d/2-extra_z;
for(b=[0,1]) mirror([b,0]) polygon([
[0,-val],
[0,-d/2],
[-d/2*cos(90-chamfer),-d/2*sin(90-chamfer)],
[-val2*cos(90-chamfer)+t... | glb/cad_2a45b49e4526.glb |
Create a GraviTrax Junior Spacer, which is a hexagonal ring with rounded corners and a total height of 10mm. The main body is a rounded hexagonal prism with an outer diameter of 59.5mm and an inner diameter of 44.7mm.
At the top, integrate a snap-in ring that is 3mm high. This ring has an outer diameter of 45mm and a... | mainHeight = 10;
snapOutOuterDim=44.6;
snapOutInnerDim=42.6;
snapOutOuterRad=9.5;
snapOutInnerRad=9;
snapOutHeight=2.8;
snapInOuterDim=45;
snapInRad=10;
snapInHeight=3;
mainOuterDim=59.5;
mainOuterRad=11;
mainInnerDim=44.7;
mainInnerRad=9;
hexfnfactor=0.5773;
fn=36*3;
module roundedcornerhexcylinder(size, radius) ... | glb/cad_9154675f4983.glb |
Create a DIN rail mounting clip with a total width of 30mm and a base height of 6mm. The main body is a rectangular frame with rounded corners and a radius of 2mm.
In the center of the frame, carve out a longitudinal slot to accommodate a rail profile. This slot is 35mm wide and 4.2mm high. At the top and bottom edge... | w = 30;
h = 6;
wm = 3;
hl = 35;
hp = 2;
hh = 4.2;
hc = 0.9;
ht = 6;
htm = 4.2;
hsl = 15;
hox = -12;
sm = "both";
sms = 2;
st = 2.4;
hd = 75;
hw = 2.2;
hs = 4.4;
$fs = 0.2;
$fa = 2;
c = 0.3;
r = 2;
t = 0.2;
module spring(l,w,h,s,t,c=0.3){
n= floor((l+s)/(t+s));
as = (l-(n*t))/(n-1);
ro ... | glb/cad_b342c3dac42f.glb |
Create a DIN rail mounting clip with a total width of 30mm and a base height of 6mm. The main body is a rectangular plate with rounded corners (radius 2mm).
Cut a central slot through the body to create a flexible spring mechanism. This spring consists of a series of alternating curved segments and narrow bridges, wi... | w = 30;
h = 6;
wm = 3;
hl = 35;
hp = 2;
hh = 4.2;
hc = 0.9;
ht = 6;
htm = 4.2;
hsl = 15;
hox = -12;
hsc = 1;
sm = "both";
sms = 2;
st = 2.4;
hss = 0;
hs = 4.4;
hsz = 5.5;
hszh = 2.4;
hop = 0;
hd = 75;
hw = 2.2;
hdx = 15;
hdxc = [5, 12, 19, 26];
$fs = 0.2;
$fa = 2;
c = 0.3;
r = 2;
t = 0.2;
hd... | glb/cad_ae6ea0618174.glb |
Create an earring display consisting of a rectangular base with three vertical pegs. Start by creating a rectangular base plate measuring 100mm in length, 40mm in width, and 10mm in height, ensuring the corners are rounded with a radius of 4mm. Position three smooth cylinders vertically on top of this base. Each cylind... | include <roundedcube.scad>
translate([20, 0, 7]) cylinder(8, 1.6, 1.6, $fn=100);
translate([50, 0, 7]) cylinder(8, 1.6, 1.6, $fn=100);
translate([80, 0, 7]) cylinder(8, 1.6, 1.6, $fn=100);
translate([0, -20, 0])
roundedcube(size=[100,40,10], center=false, 4, "zmax"); | glb/cad_128836b029c3.glb |
Create a door handle with a triangular footprint and rounded corners. Start with a base shape formed by the convex hull of three cylinders, each with a radius of 5mm, positioned 120 degrees apart at a distance of approximately 10.4mm from the center. The overall height of the handle is 20.1mm. The bottom face features ... | l = 36;
r = 5;
h = 20.1;
holeDist = 17.3;
holeSize = 4.4;
holeChamfer=1.2;
holeDepth = 18.9;
rCut = 20;
hCut = 4.8;
dCut = 4.2;
c = 2.4;
$fa=1;
$fs=0.1;
ld = l-2*r;
ad = (ld*2)/sqrt(3);
ri = ad/(2*sqrt(3));
ro = ri*2;
module hole(){
rc = holeSize/2;
rotate_extrude()polygon([[0,h-holeDepth],[rc,h-h... | glb/cad_1399690c4f5d.glb |
Create a Heltec VisionMaster E290 LoRa mesh node slipcase. The main body is a hollow rectangular shell with a wall thickness of 2.2mm, designed to house a PCB of 87.9mm x 36.9mm. The interior height should be adjustable to either 9mm (slim) or 25mm (fat) to accommodate different battery sizes.
On the front face, creat... | $fn = 60;
boardonly = !true;
fitting = !true;
fatboy = !true;
pcbZbase = 9;
pcbZfat = 25;
Xpcb = 87.9;
Ypcb = 36.9;
pcb = 1.7;
hole = 2.3;
holexoff = 83.62 / 2;
holeyoff = 30.5 / 2;
screenbase = 79;
screenhigh = 1.3;
viewport = [70,32];
viewportoff = [(-Xpcb/2)+6,(-Ypcb/2)+2.5];
rounding = 3;
wall = 2.2;
clear = 0.5... | glb/cad_1ff6ed3f95b9.glb |
Create a mounting clip for LED strips. Start with a rectangular base measuring 15.4mm wide, 17.5mm high, and 1.5mm thick.
On the left and right edges of the base, center two vertical slots. Each slot must be 1.25mm wide and 12.5mm long, positioned 1.33mm from the side edges. In the center of the base, create a tapere... | width = 15.4;
height = 17.5;
thickness = 1.5;
slotWidth = 1.25;
slotLength = 12.5;
slotX = 1.33;
screwHoleR1 = 3/2;
screwHoleR2 = 6/2;
hookLength = 9.5;
hookWidth = 2.5;
hookHeight = 3.5;
hookX = 1.33;
grooveThickness = 0;
grooveWidth = 0.9;
$fn = 128;
module hook() {
point... | glb/cad_9d437ccf6202.glb |
Create a Heltec VisionMaster E290 LoRa mesh node fitting. Start with a rectangular PCB base measuring 87.9mm by 36.9mm with a thickness of 1.7mm and corners rounded to a 3mm radius. Place four 2.3mm diameter mounting holes centered 41.81mm from the X-axis center and 15.25mm from the Y-axis center.
On top of the PCB, c... | $fn = 60;
Xpcb = 87.9;
Ypcb = 36.9;
pcb = 1.7;
hole = 2.3;
holexoff = 83.62 / 2;
holeyoff = 30.5 / 2;
screenbase = 79;
screenhigh = 1.3;
viewport = [70,32];
viewportoff = [(-Xpcb/2)+6,(-Ypcb/2)+2.5];
rounding = 3;
board();
module board() {
color("green",1)
linear_extrude(height=pcb, convexity=10) {
... | glb/cad_142eb43de032.glb |
Create a Wall Portal consisting of two identical mirrored panels. For each panel, start with a base rectangular plate measuring 119mm by 187mm with a thickness of 2mm. On one end of this plate, add a vertical lip that is 2mm thick and 30mm high. On the opposite end, add a second vertical lip that is 2mm thick and 15mm ... | DEPTH = 115;
HEIGHT = 225;
WIDTH = 183;
THICKNESS = 2;
F_LIP = 30;
B_LIP = 15;
CLEARANCE = 1;
bottom();
translate([0,-300,0]) top();
module bottom() {
shell_depth = DEPTH + 2* THICKNESS;
shell_width = WIDTH + 2* THICKNESS;
union(){
cube([shell_depth, shell_width, THICKNESS]);
cube([ ... | glb/cad_eb8eb9e43569.glb |
Create two circular ship miniature bases. For both bases, create a central cylindrical hole with a diameter of 25.3mm and a depth of 10mm, starting 1mm up from the bottom surface.
The first base is a small circular disc. The main body of this disc has a total height of 5.86mm. The second base is a large circular disc... | include <situ-base.scad>;
stfBaseHeight = 2.86;
stfBaseDiameter = 25.3;
stfThickSection = stfBaseHeight + 3;
stfThinSection = stfBaseHeight + 1;
translate([0,-30,0]) stfSmall();
translate([0,40, 0]) stfLarge();
module stfSmall() {
difference() {
smallBase([stfThickSection, stfThinSection]);
tra... | glb/cad_daa1d562cb45.glb |
Create three cylindrical ship miniature bases of varying heights. Each base is centered around a central circular void with a diameter of 37.82mm.
For the first base, create a cylinder with a total height of 10.87mm. Carve out the central void starting from a height of 4.20mm, leaving a solid bottom disc 4.20mm thick... | include <situ-base.scad>;
sttBaseDiameter = 37.82;
sttHeight = 6.67;
situTurningKeyHeight = 4.20;
translate([0,-60,0]) sttSmall();
translate([0,0, 0]) sttMedium();
translate([0,80, 0]) sttLarge();
module sttSmall() {
sttThickSection = sttHeight + situTurningKeyHeight + 2;
sttThinSection = sttHeight + situT... | glb/cad_775e576b827d.glb |
Create a set of four ship miniature base adaptors. Each adaptor consists of a truncated cone with a flat bottom and a tapered top, featuring a central vertical hole. The base of each cone is circular, and the top surface is smaller than the bottom. For every adaptor, create a central cylindrical hole with a diameter of... | use <situ-base.scad>;
stawPostDiameter = 3.65;
translate([0,-100,0]) stawShuttle();
translate([0,-60,0]) stawSmall();
translate([0,0, 0]) stawMedium();
translate([0,80, 0]) stawLarge();
module stawShuttle() {
difference() {
union() {
shuttleBase();
cylinder(d1 = 10, d2 = 6, h =... | glb/cad_cc8af8f510c5.glb |
Create a Lamp Shade Diffuser by constructing a thin, flat disc with a total diameter of 242mm and a thickness of 2.1mm. The disc should have rounded edges with a radius of 1mm. In the exact center of the disc, create a circular hole with a diameter of 12mm that passes completely through the object. Ensure the final geo... | $fa=1;
$fs=1;
outer_dia=240;
hole_dia=12;
minkowski() {
difference() {
cylinder(d=outer_dia, h=.1, center=true);
cylinder(d=hole_dia, h=4, center=true);
}
sphere(d=2, $fn=20);
} | glb/cad_e89963a104dc.glb |
Create a protective case for a Digilent Analog Discovery 3 with a BNC adapter. The assembly consists of a base and a lid.
For the base, create a rectangular enclosure with a wall thickness of 2.06mm and rounded corners with a 6mm radius. The main internal cavity should accommodate a PCB of 60.8mm by 60.8mm. At the rea... | $fn=50;
pcbx=60.8;
pcby=60.8;
pcbd=1.5;
lochx=51;
lochy=51;
dM3=2.7;
dM3durch=3.2;
dM3kopf=7;
hM3kopf=4;
wand=2.06;
rad=6;
hpcb=6;
pcbauflage=1.5;
pcbauflageecke=10;
hpcbbnc=9.7;
hboden=hpcbbnc+hpcb;
dboden=1;
dbnc=13.5;
ybnc1=19.1;
ybnc2=41.1;
hbnc=15.8;
xbnc=14;
ybnc=15;
abnc=2;
xbnczus=3;
bstecker=39;
hstecke... | glb/cad_2c9abe583819.glb |
Create a C Track spacer mount by starting with a rectangular block 80mm long, 8mm wide, and 10mm high. Center this block on the X and Y axes. Remove two identical negative imprints of a C-track rail profile, each 12mm wide, positioned symmetrically at a distance from the center determined by the desired center-to-cente... | include <c_track.scad>
include <nopscadlib/lib.scad>
hoh = [77.5, 64.3] - [0.2, 0.2];
$fn=72;
module spacer(distance){
difference() {
translate([-40, 0.2, 0])
cube([80, 8, 10]);
translate([-distance / 2, 0, 12])
rotate([0, 90, 90])
c_track(["s",12, 0]);
... | glb/cad_aad3b35df8a2.glb |
Create a Custom PCB Enclosure with a main body and two removable end caps. The main body is a hollow rectangular shell with an outer width of 65mm, a height of 30mm, and a length of 75mm. The walls are 1.5mm thick.
Inside the body, create a rectangular cutout to accommodate a PCB with a thickness of 1.6mm, positioned ... | case_type = "custom";
feet = "none";
attachment_type = "nothread";
rib_type = "outer";
bolt_size = 2.5;
bottom_board_cutout = "include";
top_board_cutout = "exclude";
middle_board_cutout = "exclude";
top_cap = "include";
end_caps = "include";
vents = "exclude";
custom_width = 65;
custom_height = 30;
custom_len... | glb/cad_d10d1bf34d27.glb |
Create a magazine and paper holder with a total width of 60mm, a depth of 210mm, and a height of 297mm. The object is a hollow container with walls that are 3mm thick. The main body is a rectangular prism, but the interior is carved out to create a storage slot.
The interior cavity starts 3mm from the back and side w... | holderWidth = 60;
holderDepth = 210;
holderHeight = 297;
holderWallThickness = 3;
frontPlateHeight = 56;
roundedSides = "No";
$fn = $preview ? 60 : 180;
module roundedEdge( height, width ) {
difference() {
translate( [ ( - ( width / 2 ) ), ( - ( width / 2 ) ), -0.5 ] )
cube( [ width, width, ( height + 1 )]... | glb/cad_2c523d21940f.glb |
Create a mounting plate for light panels by starting with a primary cylinder that has a height of 7.75mm, a bottom radius of 32.25mm, and a top radius of 31.75mm. Hollow out the center of this cylinder with a smaller concentric cylinder that has a height of 7.75mm, a bottom radius of 30.5mm, and a top radius of 30mm.
... | module wedge(h,r,a)
{
th=(a%360)/2;
difference()
{
cylinder(h=h,r=r,center=true);
if(th<90)
{
for(n=[-1,1])rotate(-th*n)translate([(r+0.5)*n,0,0])
cube(size=[r*2+1,r*2+1,h+1],center=true);
}
else
{
intersection()
{
rotate(-th)translate([(r+0.5),(r+0.5),0])
cube(size=[r*2+1,r*2+1,h+1... | glb/cad_6c897dae51b4.glb |
Create a protective case for a DPS5005 and RSP200 power supply consisting of two mirrored halves. Each half is a hollowed rectangular shell with rounded corners (radius 5mm) and a wall thickness of 2.49mm.
The overall external dimensions for the combined assembly are 120.49mm wide by 166.5mm high. The interior cavity... | $fn=50;
b_nt=115.5;
h_nt=30.5;
l_nt=216;
b_dps=72.5;
h_dps=39.5;
l_dps=35;
rand_dps=3;
bside_dps=2;
hside_dps=13;
d_bu=12;
rand_bu=1;
d_sw=20;
h_swslot=1.2;
b_swslot=2.4;
rand_sw=2;
b_nb=61;
h_nb=34.5;
l_nb=35;
b_swou=4;
d_swou=21;
rad=5;
fase=2;
wand=2.49;
front=3;
rand_mo=1.5;
front_mo=3;
b_ges=b_nt+2*wand;
h_g... | glb/cad_0c4221e3c235.glb |
Create a magnetic MFT hole plug. Start by creating a wide, flat circular base with a diameter of 21.96mm and a height of 1.1mm. Centered on this base, add a main cylindrical body with a diameter of 19.75mm and a total height of 12.3mm. The top of this body should be capped with a flat circular surface with a diameter o... | $fn=100;
outer_dia=15;
height=1.2;
bottom=21.96;
center=19.75;
top_dia=15.75;
OD=outer_dia/2+0.15;
T=height+0.2;
bot=bottom/2;
cen=center/2;
top=top_dia/2;
union(){
cylinder(1.1, bot, cen);
translate([0,0,1.1]){
difference(){
cylinder(T+0.1,cen,cen);
translate([0,0,-0.1]){
... | glb/cad_0eddb2a38630.glb |
Create an SV08 alternative belt clamp consisting of two separate parts: a base and a top piece.
The base is a flat plate 27.8mm long, 7mm wide, and 2.7mm thick. Center a 1.7mm diameter hole in the middle of the plate. Place two 3.2mm diameter mounting holes at the ends, spaced 22mm apart from center to center. Apply ... | l = 27.8;
lh = 22;
dh = 3.2;
dm2t = 2.1;
dm2 = 1.7;
w = 7;
hb = 2.7;
ht = 4.8;
c= 0.3;
gt2Tol = 0.1;
$fs = 0.05;
$fa = 1;
module gt2Profile (l, w=6.5,t=gt2Tol){
hl = l/2+2-(l/2)%2;
rotate([0,90,0])linear_extrude(w)offset(r=t)difference(){
union(){
translate([-0.3,-hl])square([0.63+.15,2*h... | glb/cad_c260c5c5fd64.glb |
Create a speaker interface mount by starting with a central cylinder 25mm in diameter and 25mm in height. Merge this cylinder with a 25mm wide by 15mm deep by 25mm high rectangular block centered on the cylinder's axis, and add a 29mm wide by 10mm deep by 25mm high rectangular block offset by -2mm along the x-axis.
F... | $fn = 80;
translate([-12.5,0,0])
difference(){
union() {
difference() {
translate([25/2,0,0])
cylinder(25, 25/2, 25/2);
cube([25,15,25]);
translate([25/2,-5,0])
cylinder(25, 6.3/2, 6.3/2);
}
translate( [ -2, 0, 0 ] ) cube(... | glb/cad_1e623da7175d.glb |
Create a TPU book binding spine by constructing a rectangular block that is 210mm long, 6mm wide, and 4mm thick. From this main body, remove a central rectangular section to create a deep channel. This cutout should be 4mm wide, 210mm long, and 2mm deep, positioned exactly 1mm from each side wall and 2mm from the botto... | length = 210;
width = 4;
thickness = 2;
arm_width = 1;
arm_length = 2;
module base_spine() {
cube([width+arm_width*2, length, thickness+arm_length]);
}
module spine_hole() {
cube([width, length, arm_length]);
}
difference() {
base_spine();
translate ([arm_width, 0, thickness]) spine_hole();
} | glb/cad_7f1ebb4109c7.glb |
Create a single chain link by constructing two identical semi-circular arcs, each with a cross-sectional diameter of 10mm and a radius of 11mm from the center of the arc to the center of the cross-section. Position these two arcs so they are mirrored across a central axis, forming an elongated oval ring with overall di... | module base() {
translate([0,-16,0])
rotate_extrude(angle=180, $fn=80)
translate([11, 0,0]) circle(d=10, $fn=50);
translate([0,-31,0]) rotate([0,0,180])
rotate_extrude(angle=180, convexity=20, $fn=80)
translate([11, 0,0]) circle(d=10, $fn=50);
translate([0,-23.5,0]) rotate([90,0,0])
li... | glb/cad_bf4728b1fa8a.glb |
Create an Inner Radius Gauge tool with a total height of 2mm. Start by constructing a base plate using a hull operation that connects four circles, each with a different radius, positioned at the corners of a square area. Place a circle of radius 1mm at the bottom-left, radius 2mm at the top-left, radius 3mm at the top... | $fn = 60;
a = 1;
b = 2;
c = 3;
d = 4;
abstand = 45;
hoehe = 2;
font = "Courier New:style=bold";
linear_extrude(height=hoehe) difference() {
hull() {
translate([0-abstand/2 +a,0-abstand/2 +a,0]) circle(r=a);
translate([0-abstand/2 +b,0+abstand/2 -b,0]) circle(r=b);
translate([0+abstand/2 -c,0+abstand/2 -c,0]... | glb/cad_5879f3cd916d.glb |
Create a back cover for a hair dryer by constructing a hollow hemispherical dome with an outer radius of 35.14mm and a height of 22mm. The dome should have a uniform wall thickness of 2.05mm. Perforate the entire surface of the dome with a honeycomb pattern consisting of hexagonal holes, each with a flat-to-flat diamet... | outer_radius = 70.28/2;
height = 22;
wall_thickness = 2.05;
honeycomb_size = 3;
honeycomb_spacing = 4;
union() {
difference() {
scale([1, 1, height/(outer_radius)])
difference() {
sphere(r=outer_radius);
translate([0,0,-outer_radius])
cube([outer_radius*2, o... | glb/cad_46a4513d4293.glb |
Create a Picture-Hanging Keyhole Template consisting of a rectangular plate measuring 228.6mm long, 76.2mm wide, and 6.35mm thick.
Cut three keyhole-shaped slots through the plate. The top slot is a single long horizontal opening centered on the plate. It is formed by the hull of two circles with a diameter of 16.67m... | Plate_Length_in = 9;
Plate_Width_in = 3;
Plate_Thickness_in = 0.25;
Keyhole_Guide_Width_in = 0.65625;
Small_Keyhole_Center_to_Center_Length_in = 1.25;
Large_Keyhole_Center_to_Center_Length_in = 5.5;
Venting_Slot_Length_in = 0.5;
Venting_Slot_Width_in = 0.25;
$fn = 128;
module KeyholeTemplate(centerToCenterLength) {... | glb/cad_c695c17921b6.glb |
Create a wood track support consisting of two separate components: a top cap and a bottom base.
For the top cap, create a hollowed-out truncated pyramid. The base is a square measuring 38mm by 38mm with a height of 1mm. From this base, extend the shape upwards to a height of 12mm, tapering inward to a top square of 2... | use <train_tracks_generator.scad>;
in_size=[19,19];
top();
bottom( );
module top(){
translate([-2.4,-20,12])
track(length = 18,
end1 = "plug",
end2 = "nest",
cutout = false);
translate([ 0,0,12]) mirror([0,0,1]) pyramid( out_size=[38,38],in_size=in_size ,height=12,base_height=1, border=3);
}
... | glb/cad_daffd636563b.glb |
Create an external parametric corner bracket. Start with a cube of 50mm x 50mm x 50mm. Remove material to create a hollow triangular shell with a wall thickness of 3mm, leaving two perpendicular outer walls and a hollow interior.
On each of the two outer walls, create a countersunk screw hole. Each hole consists of a... | wall_thickness = 3;
side_length = 50;
screw = 4;
screw_length = 20;
hole_adjustment_factor = 2.7;
module screw(d, l) {
union() {
cylinder(h=2.3, r1=d, r2=d/2);
cylinder(h=l, r=d/2);
}
}
difference() {
cube([side_length, side_length, side_length], center=false);
translate([-side_l... | glb/cad_e4d4ee165e68.glb |
Create a cable hook by designing a C-shaped clip with a total width of 45mm and a height of 20mm. The main body is a curved band with a wall thickness of 5mm and an inner diameter of 35mm. Form the clip as a partial cylinder that wraps around a cable, leaving an opening of 11mm to allow the cable to be inserted. The ov... | opening = 11;
capacity = 35;
thickness = 5;
$fa = 1;
$fs = $preview ? 1 : .3;
p = $preview ? 0.1 : 0;
width = capacity + thickness * 2;
module arc(ir, r, a)
{
projection()
rotate_extrude(angle = a)
translate([ir, 0])
square(r);
}
module hole(r)
{
circle(r);
hull()
{
translate([-sin(45) * r, sin(45... | glb/cad_8adf33cdae82.glb |
Create a material swatch plaque with a square footprint of 31.75mm by 31.75mm. The base consists of a thin plate 1.6mm thick with rounded corners of 2mm radius. On the top half of the plaque, add a raised rectangular section that increases the total height to 3.2mm, also featuring 2mm rounded corners.
In the upper-le... | Steps = true;
Manufacturer = "Elegoo";
FilamentType = "PLA";
Color = "Clear";
module __end_customizer_options__() { }
$fa = $preview ? $fa : 2;
$fs = $preview ? $fs : 0.4;
size = 31.75;
height_thin = 1.6;
height_thick = 3.2;
corner_radius = 2;
hole_diameter = 4.25;
hole_radius = hole_diameter / 2;
hole_inset = hole_... | glb/cad_b583a143a44f.glb |
Create a wrist band connector for a watch. Start by constructing a solid rectangular block with rounded corners, measuring 5.5mm in width, 23.5mm in length, and 5.5mm in height. Hollow out the center of this block to create a recessed channel, leaving a wall thickness of 2mm around the perimeter.
Inside this central ... | width = 5.5+0.5+0.3-0.5-3.7;
length = 23.5+0.1-0.5;
$fn=40;
actualWidth = 2;
innerw = width-actualWidth;
innerl = length-actualWidth;
wid = 3.0;
tallness = 5.5;
intersection() {
difference() {
hull() {
cylinder(h=tallness, d=wid);
translate([width, length, 0])
cylinder(h=tallness, d=wi... | glb/cad_14ddb056f828.glb |
Create a TravelPro suitcase handle button. Start by constructing a base elongated oval with a total length of 154mm and a width of 9mm at the ends, extruded to a height of 8mm. In the center of this base, add a raised rectangular block measuring 45mm in length and 14.5mm in width, with an additional height of 8mm, brin... | length = 154;
tall_center_length = 45;
height_base = 8;
height_mid = 16;
height_taper = 15;
screw_hole_diam = 8;
screw_spacing = 91.5;
width_mid = 14.5;
width_end = 9;
module elongated_oval() {
hull() {
translate([((-length / 2)+(width_end/2)), 0])
circle(d = width_end);
translate([((le... | glb/cad_cf6ced23f215.glb |
Create a bit holder for a drill. Start by constructing a main vertical support wall that is 3mm thick and 14mm wide. Attached to this wall, create a fixation bar that is 12mm deep and 2.3mm thick.
On the face of the support wall, create a series of 4 vertical bit-holding slots. Each slot should be 25mm long and spaced... | tol = 0.1;
safety = 0.5;
view = "Combined";
wall = 3;
bitholders = [4,1];
bitholder_column_gap = 0;
bitholder_length = 25;
holder_gap = 9;
hole_dia = 4;
fix_thickness = 2.3;
fix_width = 14;
fix_height = 7;
fix_depth = 12;
bit_w = 6.35/2;
gap_holder = fix_height+fix_thickness+hole_dia/2;
$fn = $preview ? 30 ... | glb/cad_4be7d55c618c.glb |
Create a mounting strip for double-sided tape. Start with a rectangular base that is 1.5mm thick and 22mm wide. The total length of the base is 83.4mm, calculated from three repeating segments of 23.6mm plus an additional 17.8mm of extra length.
At each end of the rectangular base, center a hexagonal bolt hole. Each h... | include <BOSL2/std.scad>
include <BOSL2/threading.scad>
strip_length = 4;
strip_width = 22;
orientation = "vertical";
assert(strip_length%2==1 || orientation == "vertical", "Horizontal orientations must be in a length that is not a multiple of two!");
strip_thickness = 1.5;
hole_depth = 5;
strip_extra_length = 17.... | glb/cad_1fbd5c5dbfc4.glb |
Create a GM328A component tester stand. The main body is a rectangular enclosure with rounded corners, measuring 68.5mm wide by 77mm deep. The walls are 2mm thick.
The interior features a central cutout to house the PCB, with the floor of this cavity set at the PCB height to allow components to slide in easily. At the... | $fn=60;
cx=64.5;
cy=79;
cz=13;
hx=57.6;
hy=72.5;
rack=22;
scopebox();
linear_extrude(7) {
projection(cut=false) scopebox();
}
difference() {
hull() {
translate([rack/2,20,25]) rotate([0,90,0])
cylinder(d=1,h=cx/2,center=true);
translate([rack/2,cy/4+1,6])
cube([cx,cy/2,1],cen... | glb/cad_9991dd172089.glb |
Create a GM328A simple desk stand and encasement. The main body is a hollowed-out rectangular box with rounded corners, designed to hold a PCB. The outer dimensions are approximately 64.5mm wide by 79mm deep.
The base features a battery compartment centered underneath the board area, measuring 55mm wide by 40mm deep ... | $fn=60;
cx=64.5;
cy=79;
cz=13;
hx=57.6;
hy=72.5;
bx=55;
by=40;
bz=18;
bo=-1;
rack=32;
scopebox();
linear_extrude(4) difference() {
projection(cut=false) scopebox();
hull() {
translate([-20,12]) circle(8);
translate([52,12]) circle(8);
}
hull() {
translate([-20,42]) circle(8);
... | glb/cad_74856487a799.glb |
Create a fitting model for a Wemos D1 Mini clone. Start with a rectangular PCB base measuring 34.5mm by 26mm with a thickness of 1.1mm. Remove 4mm by 4mm squares rotated at 45 degrees from the two corners on one short edge. Cut a 7mm by 3mm rectangular hole centered at Y=10.8mm. Drill 16 circular holes with a 1mm diame... | $fn = 90;
pcbx = 34.5;
pcby = 26;
pcbz = 1.1;
color("DarkGreen")
linear_extrude(pcbz,convexity=10) {
difference() {
translate([0,-pcby/2]) square([pcbx,pcby]);
translate([pcbx,pcby/2]) rotate(45) square([4,4],center=true);
translate([pcbx,-pcby/2]) rotate(45) square([4,4],center=true);
translate(... | glb/cad_d7f927bd9dfc.glb |
Create a Testboy Pocket stable desk stand. Start by constructing a main body that is tilted at a 45-degree angle from the vertical. The central cavity for the device should be 64mm wide, 120mm deep, and 19mm high, with walls 2mm thick and corners rounded with a 3mm radius.
The stand consists of a base and two rising w... | $fn=45;
cy=122;
cx=66;
cz=19;
rack=22;
ang=45;
scopebox();
linear_extrude(7) {
difference() {
projection(cut=false) scopebox();
translate([0,30]) square([40,100],center=true);
}
}
difference() {
hull() {
rotate([ang,0,0]) translate([0,cy/3,5])
rotate([0,90,0]) cylinder(d=1,h=cx+rack,... | glb/cad_0842dd4523b3.glb |
Create a drawer runner slider that is 311mm long, 15mm wide, and 8.5mm tall. The main body is a hollowed-out rectangular shell with a wall thickness of 1.6mm. Along the center line of the length, place four vertical cylindrical pins with a diameter of 7.75mm and a height of 8.5mm. Position these pins so that the distan... | $fn=90;
wall=1.6;
wide=15;
tall=8.5;
pinspace=97;
pindia=7.75;
long=3*pinspace+20;
difference() {
union() {
translate([0,0,tall-wall*2]) linear_extrude(wall*2) plate();
linear_extrude(tall, convexity=5) difference() {
plate();
offset(-wall) plate();
}
for(a=[-pinspace*1.5:pinspace:pinspace... | glb/cad_97385e2d6d9a.glb |
Create a DSO138 oscilloscope stand and probe rack. The main body is a hollowed-out rectangular cradle with rounded corners, designed to hold a case measuring 132mm wide, 92mm deep, and 30mm high. The cradle walls are 2mm thick with a 3mm radius on all outer edges. The base of the stand is a flat plate 7mm thick.
The s... | $fn=90;
cy=92;
cx=132;
cz=30;
rack=22;
scopebox();
linear_extrude(7) {
projection(cut=false) scopebox();
}
difference() {
hull() {
translate([0,20,25]) rotate([0,90,0])
cylinder(d=1,h=cy,center=true);
translate([0,cy/4,6])
cube([cx+rack,cy/2,1],center=true);
}
}
module s... | glb/cad_4757fb1d4ad1.glb |
Create a DC42 IR probe model starting with a rectangular PCB base measuring 24mm by 17.62mm with a thickness of 0.8mm. Center the board and place two mounting holes with diameters of 2.9mm and 2.8mm, positioned at x-coordinates -9.3mm and 9.11mm respectively, both at a y-coordinate of -2.7mm.
On the underside, add thr... | $fn=120;
color("green") difference() {
translate([0,-8.81,0])
cube([24,17.62,0.8], center=true);
translate([-9.3,-2.7,-1])
cylinder(d=2.9,h=2);
translate([9.11,-2.7,-1])
cylinder(d=2.8,h=2);
}
color("silver") for (a=[-4.5,-2,.5]) {
translate([a,-2.5,-2.5]) rotate(45)
cylinder(d=0.95,h=... | glb/cad_8835b0c22b90.glb |
Create a 3D model of a TFB45A radial fan with overall dimensions of 45mm by 42mm by 18.5mm. Start with a base plate 1.5mm thick, shaped as a circle with a radius of 23mm that is clipped on one side by a straight edge to create a flat mounting face.
Build the main body upward from this base to a height of 17.25mm. Thi... | $fn=180;
module basis() difference() {
hull() {
intersection() {
circle(r=23);
translate([-25,-19])
square([50,43]);
}
translate([-10,-19])
square([33,19]);
}
translate([-29,-19])
hull() {
square([20,0.5]);
square([1,14... | glb/cad_adfe6f149d55.glb |
Create a wall holster for a remote controller. Start by constructing a main body 40mm tall. The outer profile is a hull formed by two circles with 19mm diameters centered at x= -8 and x= 8. From this, remove an inner hull formed by two circles with 16mm diameters at the same x-positions to create a wall thickness of 1.... | $fn=90;
linear_extrude(height=1.5) {
difference() {
hull() {
for (a=[-1,1]) {
translate([a*8,0])
circle(d=17);
}
}
translate([0,9])
scale([15,11])
circle(d=1);
}
}
difference() {
linear_extrude(height=40) {
... | glb/cad_9a21036ec141.glb |
Create a dial gauge holder consisting of a main clamp body and a separate locking wedge.
For the main body, create a base cylinder with a diameter of 61mm and a height of 17mm. Subtract a central cylindrical hole with a diameter of 55mm and a height of 16mm to accommodate the gauge. At the top of this cylinder, creat... | $fn=60;
gauge_body=55;
gauge_depth=15;
gauge_back=8;
upper_high=65;
upper_clear=12;
lower_clear=10;
lock_angle=135;
lock_offset=12;
lock_clear=10.5;
spindle_body=44.5;
spindle_top=70;
waist_body=35;
waist_top=40;
difference() {
union() {
hull() {
cylinder(d=gauge_body+6,h=gauge_depth+2);... | glb/cad_6cd072848e62.glb |
Create a wall holster for a Bosch eBike battery charger. Start with a base plate 1.6mm thick, consisting of a central rounded rectangle approximately 170mm by 110mm, with two smaller rounded rectangular extensions on the sides, each roughly 38mm by 27mm. Cut a central rectangular air channel 70mm by 20mm through the ba... | $fn=60;
clipside = 1;
base=1.6;
linear_extrude(height=base,convexity=10) {
difference() {
union() {
translate([20,0])
minkowski() {
square([160,90],center=true);
circle(r=5);
}
translate([-79,-31.5])
minkowski() {... | glb/cad_ea4090048b41.glb |
Create a simple adjustable slider clamp for a delta printer carriage consisting of two main interlocking parts: an upper body and a sliding lower piece.
Construct the upper body as a rounded block with a total width of 60mm and height of 30mm. Centered on the top, create a cylindrical cutout with a diameter of 50mm an... | $fn=120;
belt=9;
arms=40;
print=1;
showclamp=0;
upper();
if (print)
translate([0,50,0])
lower();
else
translate([31,0,0.5])
lower();
if (showclamp)
translate([-20,0,0])
clampcutout();
module upper() {
color("grey")
difference() {
union() {
hull() {
... | glb/cad_047f4db9a290.glb |
Create a cat sisal pole bracket. Start with a base body formed by the convex hull of a cylinder with a diameter of 80mm and a height of 8mm, and a rectangular block measuring 5mm by 30mm by 70mm positioned at x=65, y=-15, z=0.
Remove a central vertical hole with a diameter of 10.1mm and a height of 14mm, starting fro... | $fn=120;
pin=10.1;
difference() {
hull() {
cylinder(d=80,h=8);
translate([65,-15,0])
cube([5,30,70]);
}
translate([0,0,-1])
cylinder(d=pin,h=14);
translate([0,0,8])
cylinder(d1=pin,d2=pin*2,h=pin/2);
hull() {
translate([0,0,10])
cylinder(d=70,h=70... | glb/cad_e82c00cc6988.glb |
Create a cat sisal pole bracket by starting with a base body formed from the convex hull of a cylinder with an 80mm diameter and 8mm height, and a rectangular block measuring 5mm by 30mm by 40mm positioned with its center offset 65mm along the x-axis and -15mm along the y-axis.
From this main body, remove a central v... | $fn=120;
pin=8.1;
difference() {
hull() {
cylinder(d=80,h=8);
translate([65,-15,0])
cube([5,30,40]);
}
translate([0,0,-1])
cylinder(d=pin,h=14);
hull() {
translate([0,0,8])
cylinder(d=85,h=40);
translate([59,-10,10])
cube([1,20,40]);
}... | glb/cad_531e78aae8f8.glb |
Create a fishfinder mount consisting of three separate components: a swivel, a base mount, and an adapter.
First, create the swivel piece. Form a main body by blending a sphere of 22mm diameter with a partial cylinder of 40mm diameter and 20mm height. Bore a central hole 6.2mm in diameter through the length of the par... | $fn=90;
long=90;
wide=76;
high=15;
offset=20;
rad=4;
swivel();
translate([100,0,0])
mount();
translate([-80,0,0])
nimrodadapter();
module swivel() {
difference() {
hull() {
translate([10,10,33])
sphere(d=22);
intersection() {
cube([20,40,40]);
... | glb/cad_2267bdf909d8.glb |
Create a triple switch bracket for boat electronics. Start with a main body that is 36mm wide, 78mm long, and 45mm high. Hollow out the center to create a mounting shell, leaving a wall thickness of 5mm on the sides and bottom, and a cutout in the back for wall mounting that is 13mm wide, 80mm long, and 26mm high.
On ... | $fn=90;
difference() {
union() {
cube([24,78,45]);
translate([24,12,0]) {
cube([12,54,45]);
cylinder(r=12,h=45);
}
translate([24,66,0])
cylinder(r=12,h=45);
}
translate([24,-1,20])
cube([13,80,26]);
translate([24,-1,45])
rotate([-... | glb/cad_65552e691f65.glb |
Create a wind finder vane by constructing a central body and two extending arms. Start with a central core consisting of a cylinder 10mm in diameter and 6mm high, topped with a sphere 10mm in diameter. Scale the entire assembly by a factor of 4 along the X-axis to create an elongated elliptical profile.
Extend a centr... | $fn=60;
difference() {
vane();
stub();
}
module stub () {
cylinder(d=5.75,h=12);
rotate([0,270,0]) {
translate([-0.1,-0.1,-130])
linear_extrude(height=150)
polygon([[0,-3.7],[7.5,0],[0,3.7]]);
}
}
module vane() {
scale([4,1,1]) {
cylinder(d=10,h=6);
... | glb/cad_e58e6e4bc09c.glb |
Create a Windex repair vane system consisting of a central structural body and two tapered wing sections. Start by creating a central bar that is 75mm long with a triangular cross-section, where the base is 3.7mm wide and the height is 1.85mm. From the center of this bar, extend two symmetrical wings. The first wing se... | $fn=60;
translate([20,30,0])
rotate([0,270,0]) {
translate([-0.1,-0.1,0])
linear_extrude(height=75)
polygon([[0,-1.85],[3.75,0],[0,1.85]]);
}
difference() {
rotate([0,270,0]) {
translate([0,0,-40])
linear_extrude(height=80,scale=0.1)
polygon([[0,-5],[10,0],[0,5]]);
tra... | glb/cad_8a5be60d0ddd.glb |
Create a low-poly sphere with a diameter of 10mm. The sphere must be constructed using a very low facet resolution of only 4 fragments, resulting in a geometric shape that resembles a faceted polyhedron rather than a smooth curve. | $fn=90;
sphere(d=10,$fn=4); | glb/cad_3d8dd5bb1ffd.glb |
Create a bed lift plate for a 1610 CNC by starting with a rectangular block 100mm long, 50mm wide, and 20mm high.
At the top surface, place four 6mm diameter holes that pass completely through the block. Position these holes at X offsets of +/- 40mm from the center and Y offsets of +/- 19mm from the center.
To crea... | $fn=90;
basex=100;
basey=50;
basez=20;
holed=6;
holex=40;
holey=19;
thickx=30;
thinning=0.5;
end1="CNC";
end2="1610";
endh=8;
endd=1;
side="Caution! Moving Parts";
sideh=6;
sided=1;
thindent=(basez*thinning);
thinxoff=((basex/2)-(thickx+thindent));
reliefr=(holey-((basey/2)-holey));
reliefx=((basex/2)-(reliefr*2));
... | glb/cad_36eb8d79a859.glb |
Create two mirrored corner infill plates for a delta printer. Each plate starts as a base geometry consisting of a main body 10mm thick. The primary shape is formed by a combination of rectangular blocks and a rotated rectangular section 111mm by 20mm by 10mm, rotated 30 degrees.
From this base, remove a large semi-c... | $fn = 180;
bed = 310;
radius = 216;
thick = 10;
oneside() ;
mirror([0,1,0]) oneside();
module oneside() difference() {
union() {
translate([0,15,0])
rotate([0,0,30]) {
translate([0,0,0])
cube([111,20,thick]);
translate([5,7.5,thick])
... | glb/cad_e55fcc989572.glb |
Create a DC42 IR sensor and 40mm radial part cooler adapter. Start with a baseplate that is 30mm wide, 27mm deep, and 7mm thick, with the corners rounded by a 18mm diameter cylinder.
In the center of the baseplate, create a 12mm diameter circular recess that passes through the height of the plate. Add four mounting s... | $fn = 90;
rotate([90,0,0]) {
difference() {
union() {
basis();
fanmount ();
mirror ([1,0,0]) fanmount() ;
}
cutouts();
}
}
module basis() {
intersection() {
translate([-15,0,0]) cube([30,27,7]);
translate([0,13.5,0]) cylinder(d=... | glb/cad_18463ef220db.glb |
Create a shrouded pin header housing. Start with a solid rectangular block measuring 13.18mm in width, 8.2mm in depth, and 7.54mm in height. Hollow out the center of this block by removing a smaller rectangular volume of 10.58mm by 6.4mm, leaving a wall thickness of 1mm on all sides. This inner cavity should start 2.54... | pin_no = 6;
th = 1;
base = 2.54;
yc = 1.4;
xc = 5.4;
nw = 4.5;
height = 6.5;
xp = (pin_no/2)*2.54;
yp = 2*2.54;
xs = xp+xc;
ys = yp+yc;
outer = [xs+2*th, ys+2*th, height+base];
couter = [ -(xs/2+th), -(ys/2+th), 0];
inner = [xs, ys, height+0.01];
cinner = [ -(xs/2), -(ys/2), base];
pins = [xp, yp, base+0.01];
cpins =... | glb/cad_3a842acad4b1.glb |
Create a battery door cover for a Sharp WQ-562. Start with a main rectangular plate measuring 49mm wide, 213mm long, and 3mm thick. Along one long edge, add a bend that is 10mm wide and 3mm thick, angled at 135 degrees relative to the main plate.
Along this angled bend, place three small rectangular tabs, each 4.6mm w... | module prism(l, w, h){
polyhedron(
points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]],
faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]]
);
}
union() {
cover_height=3;
cover_length=213;
cover_width=49;
bend_width=10;
mini_tab_length=7;
mini... | glb/cad_e5a2a3ecc5fc.glb |
Create a capacitive sensor bracket consisting of a mounting plate and a sensor holder. Start with a rectangular back plate 6mm thick, 15.5mm high, and approximately 21.4mm wide. In this plate, create two horizontal screw holes with a 3mm diameter, spaced 15mm apart and centered vertically. At the outer edge of each hol... | back_plate_height = 15.5;
height = 9.4;
thickness = 6;
screws_spacing = 15;
screws_diameter = 3;
nut_height = 2.40;
nut_diameter = 6.10;
sensor_diameter = 19;
sensor_spacing = 0;
mount_start = thickness-4+screws_spacing+nut_diameter;
middle = mount_start/2;
clearance = 30;
$fn=50;
difference() {
translate([0, 0,... | glb/cad_e0802f3c6225.glb |
Create a parametric snow shovel handle. Start by creating a main body that is a chamfered extrusion with a total thickness of 42mm. The body should be based on a shape that is a square of 120mm by 120mm with a central circular cutout of 100mm diameter.
Within this body, create a cylindrical hole for the shovel stick w... | $fn = 100;
shovel_stick_diameter = 32;
shovel_stick_length = 50;
plastic_thickness = 10;
handle_lenght = 100;
handle_diameter = 31;
space_for_fingers = 45;
screw_diameter = 4.5;
total_size_diameter = handle_lenght + 2*plastic_thickness;
total_thickness = shovel_stick_diameter + plastic_thickness;
assembly();
modul... | glb/cad_8d50fb0712f6.glb |
Create a bracket for hanging blinds by constructing two intersecting rectangular components. First, create a flat rectangular base measuring 20mm wide, 18mm deep, and 1.6mm thick. Perpendicular to this base, add a vertical rectangular block that is 20mm wide, 5.5mm thick, and 24mm high, positioned so it stands upright ... | cube([20, 18, 1.6]);
difference(){
cube([20, 5.5, 24]);
translate([(20-13.6)/2, (5.5-1.3-1.8), 0]) cube([13.6, 1.8, 24.1]);
} | glb/cad_6da745a7ce4c.glb |
Create a BELLA Coffee Maker Drip Tray consisting of several concentric rings and a central base.
Start by creating three thin, flat rings stacked at the bottom. The first is a ring with an outer radius of 12.4mm and an inner radius of 10.5mm, both 3.2mm high. The second is a ring with an outer radius of 26.625mm and ... | color("black")
difference() {
cylinder(h=3.2, r=12.4, $fn=60);
translate([0,0,-1]) {
cylinder(h=5, r=10.5, $fn=60);
}
}
color("black")
difference() {
cylinder(h=3.2, r=26.625, $fn=60);
translate([0,0,-1]) {
cylinder(h=5, r=24.25, $fn=60);
}
}
color("black")
difference() {
c... | glb/cad_3dd31b87b3e7.glb |
Create a Large Format Spool Roller consisting of a central cylinder and two conical sections. Start with a main outer cylinder that has a diameter of 71.75mm and a total height of 92mm. Bore a central vertical hole through the entire height with a diameter of 8.5mm. At the top and bottom of this cylinder, create circul... | include <BOSL2/std.scad>;
include <BOSL2/screws.scad>;
include <BOSL2/threading.scad>;
include <BOSL2/rounding.scad>;
outer_roller();
inner_roller();
module outer_roller(){
difference(){
union(){
cylinder(d=71.75,91,$fn=200);
cylinder(d=78.25,1,$fn=200);
}
translate([0,0,-.5])
cylinder(d=8.5,92,$fn=200);
translate([0... | glb/cad_54eb9d63bcdf.glb |
Create a 3D Star Fractal by extruding a recursive 2D star pattern to a height of 1mm. Start with a base five-pointed star centered at the origin, where the outer points are 20mm from the center and the inner vertices are 8mm from the center. This base star is formed by five identical kite-shaped polygons meeting at the... | module Star(points, outer, inner, recursion) {
function x(r, a) = r * cos(a);
function y(r, a) = r * sin(a);
increment = 360/points;
union() {
for (p = [0 : points-1]) {
assign( x_outer = x(outer, increment * p),
y_outer = y(outer, increment * p),
x_inner = x(inner, (increment * p) + (increment/2... | glb/cad_9009f38979ca.glb |
Create a 3D model of a star with a thickness of 1mm. The star should have five points, with an outer radius of 33mm from the center to the tips and an inner radius of 13mm to the inner corners. Centered on the face of the star, add the name "Aria" as raised 3D text. Position the text so it is rotated 30 degrees and tra... | module Star(points, outer, inner) {
function x(r, a) = r * cos(a);
function y(r, a) = r * sin(a);
increment = 360/points;
union() {
for (p = [0 : points-1]) {
assign( x_outer = x(outer, increment * p),
y_outer = y(outer, increment * p),
x_inner = x(inner, (increment * p) + (increment/2)),
y_... | glb/cad_5322223b905f.glb |
Create a chandelier part by constructing a symmetrical geometric bead. Start by creating an octagonal prism with a height of 3.44mm and a radius of 8mm. To this, add a conical section that transitions from a radius of 0 to 8.66mm over a height of 3.44mm, oriented as an octagon. Mirror this conical shape on top of the p... | difference() {
rotate([0,0,22.5]) {
intersection() {
rotate([0,0,22.5]) {
cylinder(h=3.44, r1=0, r2=8.66, $fn=8);
}
cylinder(h=3.44, r=8, $fn=8);
}
translate([0,0,3.44]) {
cylinder(h=2, r=8, $fn=8);
}
intersection() {
translate([0,0,5.44]) {
rotate([0,0,22.5]) {
cylinder(h=3.44, r1=8.66, r2=0, $fn=8... | glb/cad_bdd15e458928.glb |
Create a ReSpeaker lite base plate starting with a rectangular slab measuring 34mm by 82mm with a thickness of 0.4mm.
At the bottom corners, create two microphone openings. Each opening is a 4mm by 3.5mm rectangular cutout, but leave a small raised spacer around them measuring 6mm by 5.5mm with a height of 1.1mm. Wit... | h(pinHeight=3,
height=0.4,
spacer=1.1);
module h(pinHeight=3, height=0.4, spacer=1.1) {
difference() {
color([1,0,0])cube([34,82, height]);
translate([15,4,-10])cube([4,3.5,100]);
translate([15,75,-10])cube([4,3.5,100]);
translate([26.5,1,-1])cube([4,5.2,10]);
translate([26.5,9... | glb/cad_8a3e6665ba23.glb |
Create an Inner Radius Gauge tool with a total height of 2mm. The main body is a flat plate formed by the convex hull of three circles, each with a radius of 1mm, 2mm, and 3mm respectively. These circles are positioned 20mm from the center point, spaced 120 degrees apart. Remove a circular hole with a 7mm radius from t... | $fn = 60;
a = 1;
b = 2;
c = 3;
abstand = 20;
hoehe = 2;
font = "Courier New:style=bold";
linear_extrude(height=hoehe) difference() {
hull() {
rotate( [0,0,360] ) translate( [abstand-a,0,0] ) circle(r=a);
rotate( [0,0,240] ) translate( [abstand-b,0,0] ) circle(r=b);
rotate( [0,0,120] ) translate( [abstand-c,0... | glb/cad_fef91e62a6a9.glb |
Create an inner radius gauge stand by constructing a flat, circular base with a radius of 22mm and a height of 2mm. Centered on this base, add a vertical cylinder with a radius of 6.5mm and a height of 20mm. Finally, cap the top of the vertical cylinder with a hemisphere of the same 6.5mm radius, positioned so the cent... | $fn = 60;
union() {
cylinder(r=22,h=2);
cylinder(r=6.5,h=20);
translate([0,0,20]) sphere(r=6.5);
} | glb/cad_f79841a2cbe5.glb |
Create a Yagi antenna element holder designed to secure a 6mm diameter element to a 10mm square boom. The object is symmetrical across its central plane.
Start with a central block that is 15mm long. Carve a 10mm square channel through the center of this block to accommodate the boom. On the top and bottom faces of th... | $fn = 100;
elementD = 6.05;
half();
mirror([1,0,0]) half();
module half() {
boomD = 10.02;
thick = 1.2;
extrudeLength = 15;
pBoomHolder =[
[0, 0],
[0, thick],
[boomD/2, thick],
[boomD/2, boomD + thick],
[boomD/2 - 1, boomD + thick],
[boomD/2 - 1, boomD + 2*thick],
[boomD/2 + thick... | glb/cad_a48e24129612.glb |
Create a Galvanometer consisting of a base and a top housing. For the base, create a cylinder with a radius of 30mm and a height of 10mm. Above this, add a second cylindrical section with a radius of 20mm and a height of 15mm to create a stepped profile.
For the top part, create a cylinder with a radius of 30mm and a ... | $fn=100;
assembled=1;
foot_thickness=10;
wire_path_height=15;
top_bottom_nesting_depth=3;
top_bottom_nesting_clearance=0.2;
top_thickness=5;
axis_hole_diameter=2;
magnet_height=-12;
magnet_diameter=8;
no_magnet_hole=1;
ruler_clearance=0.2;
bottom();
if (assembled==0)
translate([0,65,0])
top();
else
tra... | glb/cad_f1b374e7d971.glb |
Create a rectangular battery terminal cover with outer dimensions of 8mm width, 21mm depth, and 19.8mm height. Hollow out the center to create a shell with a wall thickness of 0.7mm on the sides and a base thickness of 2mm, leaving the top open. Inside the shell, integrate two small wedge-shaped protrusions to act as l... | include <BOSL2/std.scad>
difference() {
cube([8,21,19.8],center=true);
translate([0,0,-2]) cube([6.6,19.3,18.6+2],center=true);
}
translate([3.3,2,10-0.1-2-2.5]) wedge([4,0.8,5],spin=-90,orient=DOWN);
translate([3.3,-2,10-0.1-2-2.5]) wedge([4,0.8,2],spin=90, orient=UP); | glb/cad_2f7cd4680f99.glb |
Create a TravelTonie RFID and magnet capsule consisting of two separate parts: a base and a lid.
For the base, create a cylinder with a diameter of 44mm and a height of 3.2mm. On the top surface of this cylinder, center a circular indentation with a diameter of 15.2mm and a depth of 2.6mm. Around the top edge of the b... | rimThickness = 3.0;
rimHeight = 2.0;
chipDiameter = 38.0;
diskHeight = 3.2;
indentDiameter = 15.2;
minBottomLayerHeight = 0.6;
disk1Height = 2.0;
disk2Height = 1.0;
$fn = 150;
schriftart = "Liberation Sans:style=Bold";
textHeight = 0.4;
text1 = "Line1";
textSize1 = 7;
text2 = "Line2";
textSize2 = 7;
text3 =... | glb/cad_70e41911bfc6.glb |
Create a Customizable Filament Swatch box consisting of a bottom tray and a top lid.
The bottom tray is a rectangular container with a floor and walls 2mm thick and 2mm high. The interior is divided into two side-by-side compartments to hold swatches. Each compartment is designed for swatches measuring 80mm in length... | $fn=32;
part = "both";
Pegboard_holder = "no";
swatches = 40;
text1 = "FILAMENT";
text2 = "SWATCHES";
text3 = "";
fontsize=12;
font="Aldo";
side_by_side_boxes=2;
case_w = 2;
case_h = 2;
case_o = 4;
case_t = 30;
teeth_d=1.5;
teeth_d_wiggle=.3;
slot_l = 3;
slot_w = .8;
slot_h = 20;
swatch_x = 80;
swatch_y ... | glb/cad_cb961cdf4add.glb |
Create a relay lever bushing consisting of a main cylindrical body with a flange. The bushing has an internal diameter of 10mm and an overall height of 12.5mm. The main barrel section has an outer diameter of 16mm. At the base, add a circular flange with an outer diameter of 20mm and a thickness of 2.1mm.
The top edg... | ID = 10.0;
IDclearance = 0.0;
OD = 16.0;
ODextra = 0.0;
Height = 12.5;
FlangeOD = 20.0;
FlangeThick = 2.1;
Chamfer = 0.7;
Tab = "Yes";
TabHeight = 3.0;
TabWidth = 3.0;
Grooves = "No";
GrooveDepth = 0.5;
Groove = (ID / sqrt(2.0)) + (2*GrooveDepth);
GrooveTwist = -45;
difference()
{
union()
{
color("Red")
... | glb/cad_5bb3b3d7b662.glb |
Create an ATX GPU bracket with a total length of 105mm, a height of 18.2mm, and a thickness of 1.2mm.
The main body is a rectangular plate. On the left end, create a cutout 6mm wide and 12mm high, centered vertically. This section transitions into a left latch that is 10mm high and 1.2mm thick. On the right end, add ... | $fs = 0.1;
eps = 0.01;
length_x = 110-5;
height_y = 18.2;
thickness = 1.2;
left_cutout_x = 6;
left_cutout_y = 12;
left_latch_y = 10;
left_latch_z = 1.2;
right_cutout_x = 6;
right_latch_y_offset = 3.5;
main();
module main() {
difference() {
translate([0, height_y, 0]) mirror([0, 1, 0])
gpu_... | glb/cad_0afa88e86050.glb |
Create an ATX GPU bracket with a uniform thickness of 1.2mm. The main body is a rectangular plate 105mm long and 18.2mm high. On the left end, add a wedge that extends 11mm further left, tapering from the full 18.2mm height down to 10mm over a 4mm distance. On the right end, create a perpendicular latch that extends 12... | $fs = 0.1;
eps = 0.01;
length_x = 110-5;
height_y = 18.2;
thickness = 1.2;
wedge_x = 11;
wedge_taper_x = 4;
wedge_y = 10;
right_cutout_x = 6;
right_latch_y_offset = 3.5;
main();
module main() {
difference() {
translate([0, height_y, 0]) mirror([0, 1, 0])
gpu_bracket_single_slot();
... | glb/cad_e1d154ce418f.glb |
Create a Gridfinity-style storage tray for radius gauges with a base footprint of 2 by 2 units and a height of 8 units. The tray should feature a recessed top section containing a series of thin, parallel slots. Carve out 20 rectangular slots, each 2mm wide and 1mm deep, spaced evenly across the top surface. These slot... | use </home/jeroen/git/gridfinity-openscad-lib/tray.scad>
difference() {
tray([2,2,8], 7*8);
translate([0,0,60])
rotate([-20,10,0])
cube([120,120,60], center=true);
for(x=[-39: 4: 39])
rotate([10,0,0])
translate([x,15,57])
cube([2,90,90], center=true)... | glb/cad_8f6516418bd6.glb |
Create a hammerhead nut for an aluminum profile. The main body is a symmetrical shape centered on the Y-axis. The base of the nut is a profile with a length of 5mm and a width of 5mm, with corners rounded to a radius of 2.5mm. This base profile is extruded upwards, with the length linearly increasing from 5mm at the bo... | $fs = 0.1;
$fa = 0.1;
screw_hole_radius = 1.4;
max_length = 10;
min_length = 5;
width = 5;
max_height = 3;
min_height = 0.4;
extra_screw_height = 1.6;
corner_radius = width/2;
module hammerhead_profile(length=5, width=5, corner_radius=5/2, height=0.1) {
linear_extrude(height, center=false, convexity=4) {
... | glb/cad_d9e49e55f028.glb |
Create a Kyosho KT-531P Steering Wheel. Start with a main outer cylinder 52mm in diameter and 22mm high. This cylinder should be hollowed out by a concentric inner cylinder with a 2mm wall thickness, leaving a solid base disk 2mm thick at the bottom.
At the center of the base, create a hub assembly. This consists of a... | $fn=256;
hub_diameter=8.5;
hub_radius=hub_diameter/2;
hub_thickness=1.5;
axle_diameter=2.5;
wheel_diameter=52;
wheel_thickness=22;
face_depth=2;
hub_offset=5;
speed_hole_diameter=11;
stopper_offset=0;
stopper_angle=18;
stopper_radius=7;
stopper_cutoff_diameter=29;
module draw_hub() {
difference() {
uni... | glb/cad_8a7383c2fecb.glb |
Create a Kenwood TH-D74A 18650 Battery Caddy consisting of a main body, a clip, and a battery insert.
For the main body, create a rectangular shell with a width of 56.1mm, a height of 86mm, and a depth of 14mm. Apply a 4mm fillet to the outer vertical edges. The top of the body should be flat, with a central recess 2... | include <BOSL/constants.scad>
use <BOSL/masks.scad>
$fn=128;
print_main_body=true;
print_clip=true;
print_battery_insert=true;
print_battery_cover=false;
bottom_test_print=false;
top_test_print=false;
side_test_print=false;
width=56.1;
height=86;
depth=14.0;
bevel=1.7;
wall_thickness=2.2;
bottom_radius=4;
outer_r... | glb/cad_8accf47b30c3.glb |
Create a keyboard key-top with a rectangular base measuring 8mm wide, 5mm deep, and 5mm high. Around the bottom 1.5mm of the base, add a thin rim that extends 0.5mm outward on all four sides, increasing the footprint of the bottom section to 9mm by 6mm. Centered on the top face, carve out a tapered conical hole with a ... | keyTopWidth = 8.0;
keyTopHeight = 5.0;
keyTopThickness = 5.0;
keyTopHole1 = 3.2;
keyTopHole2 = 3.7;
keyTopHoleDepth = 4.0;
keyTopRimZOffset = 3.5;
rimSize = 0.5;
module keyTop() {
keyTopZoffset = keyTopThickness - keyTopHoleDepth;
difference() {
union() {
cube([keyTopWidth, keyTopHeight, k... | glb/cad_4881188c2736.glb |
Create a keyboard panel for the MicroKit09 with a total width of 99.568mm and a height of 55.55mm (calculated from 5 rows of 11.11mm spacing plus one key height). The base panel thickness is 1.5mm.
Around the perimeter, add a vertical skirt wall 1.5mm thick and 4mm high. Inside this skirt, create a grid of 28 rectangu... | inch = 2.54;
$fn = 32;
keyDistX = 12.065;
keyDistY = 8.890;
keyTopWidth = 8.0 + 0.3;
keyTopHeight = 5.0 + 0.3;
keyTopThickness = 5.0;
keyTopHoleDepth = 4.0;
keyTopZoffset = keyTopThickness - keyTopHoleDepth;
keyTopRimZOffset = 1.9;
rimSize = 0.5 + 0.2;
keyHoleTaper = 1.05;
skirtWall = 1.5;
panelThick = 1.5;
panelWi... | glb/cad_ca25bcf17816.glb |
Create a keyboard tape frame designed to align labels. Start with a rectangular base plate measuring 13.1mm in width and 12mm in height with a thickness of 0.4mm.
On top of this base, construct a surrounding wall structure that is 4mm high. This structure consists of two outer side walls, each 1.5mm thick, positioned... | $fn = 16;
keyTopWidth = 8.0 + 0.3;
keyTopHeight = 5.0 + 0.3;
keyTopDepth = 3.0;
rimSize = 0.5 + 0.2;
frameWidth = 13.0;
frameHeight = 6.0;
frameDepth = keyTopDepth;
frameBase = 2.0;
rowOffset = 3.0;
columnXOffset = 5.0;
columnYOffset = 6.0;
tapeWidth = 12.2;
sideWallWidth = 1.5;
module key() {
translate([-keyTo... | glb/cad_fdbabbc66674.glb |
Create a keyboard panel consisting of a rectangular base plate and a surrounding skirt. The main panel is 99.568mm wide, 55.45mm high, and 3mm thick.
Cut a grid of 28 rectangular holes into this panel for the keys, arranged in 4 rows and 7 columns. Each hole is 8.3mm wide by 5.3mm high. The holes are spaced with a ho... | inch = 2.54;
$fn = 32;
keyDistX = 12.065;
keyDistY = 8.890;
keyTopWidth = 8.0 + 0.3;
keyTopHeight = 5.0 + 0.3;
keyTopThickness = 5.0;
keyTopHoleDepth = 4.0;
keyTopZoffset = keyTopThickness - keyTopHoleDepth;
keyTopRimZOffset = 3.5;
rimSize = 0.5 + 0.2;
keyHoleTaper = 1.05;
skirtWall = 1.5;
panelThick = 3.0;
panelWi... | glb/cad_15c207b43172.glb |
Create a keyboard key-top consisting of a rectangular base and a tapered upper body. Start with a rectangular base rim measuring 9mm in width, 6mm in depth, and 0.5mm in height. Centered on this rim, add a rectangular block that is 8mm wide, 5mm deep, and 2.5mm high. The top of this block should taper inward by 0.3mm o... | keyTopWidth = 8.0;
keyTopDepth = 5.0;
keyTopThickness = 2.5;
keyTopHole1 = 3.7;
keyTopHole2 = 3.8;
keyTopHoleHeight = 1.0;
keyTopRimZOffset = 3.5;
rimSize = 0.5;
taperSize = 0.3;
module keyTop() {
rimWidth = keyTopWidth + 2 * rimSize;
rimDepth = keyTopDepth + 2 * rimSize;
difference() {
union() {
... | glb/cad_bfc9dbe79785.glb |
Create a keyboard overlay frame and key-top guide. Start by creating a rectangular base plate 13.1mm wide, 12mm deep, and 0.4mm thick. On top of this base, add two outer side walls, each 1.5mm wide and 6mm high, positioned at the left and right edges of the base.
Within the center of the frame, carve out a key-top sha... | $fn = 16;
keyTopWidth = 8.0 + 0.3;
keyTopHeight = 5.0 + 0.3;
keyTopDepth = 5.0;
rimSize = 0.5 + 0.2;
frameWidth = 13.0;
frameHeight = 6.0;
frameDepth = keyTopDepth;
frameBase = 2.0;
rowOffset = 3.0;
columnXOffset = 5.0;
columnYOffset = 6.0;
tapeWidth = 12.2;
sideWallWidth = 1.5;
module key() {
translate([-keyTo... | glb/cad_d716c14fa66e.glb |
Create a Keyboard Overlay Frame by constructing a tapered rectangular tray. Start with a base block that is 101.968mm wide, 46.65mm high, and 3.0mm deep. Apply a slight inward taper to the vertical walls of this block, scaling the top surface to 99% of the base dimensions.
From this tapered volume, remove a central r... | keyDistX = 12.065;
keyDistY = 8.890;
keyTopHeight = 5.0 + 0.3;
panelThick = 3.0;
panelWidth = 99.568;
panelHeight = keyDistY * 5 + keyTopHeight + 2.0;
frameRim = 1.2;
frameTopHeight = 0.5;
frameWidth = panelWidth + frameRim * 2;
frameHeight = panelHeight + frameRim * 2;
frameDepth = 3.0;
difference() {
taperFra... | glb/cad_86b56cbdd95d.glb |
Create a button label for a radio by starting with a main rectangular body measuring 8.5mm wide, 4.8mm deep, and 9.9mm high, centered on the origin. Hollow out the center of this body by removing a smaller rectangular block measuring 5.4mm wide, 1.8mm deep, and 6.9mm high, positioned 1.5mm back from the rear face. To f... | buttonText = "Ch▲";
fontSize = 3.2;
textOffsetX = -0.6;
textOffsetY = 0.0;
textDepth = 0.6;
useFrontFace = true;
difference(){
cube([8.5,4.8,9.9], center=true);
translate([0,-1.501,0])
cube([5.4,1.8,6.9], center=true);
}
if(useFrontFace){
translate([0,0,5])
cube([9.7,6.5,0.7], center=true);
}... | glb/cad_8df1bcec6a02.glb |
Create a Large Paperclip Zipper Pull consisting of two identical mirrored halves that snap together around a paperclip.
For each half, create a base plate with a total length of 43.8mm and a width of 12.3mm. The base should have rounded ends with a radius of 4mm. Extrude the base to a thickness of 1.35mm.
On the to... | wirediam = 1.20;
innergap = 5.4;
widergap = 7.75;
cliplength = 50;
innerlength = 35.7;
sticksout = 10;
chamfer = 1;
backroundover = 4;
thickness = 1.3;
epsilon = .1;
facethickness = .15*9;
$fa=0.1;
$fs=1;
module roundrectinner(width,length){
translate([(length-width/2)/2,0])
square(size=[length-width/2... | glb/cad_2610177450e3.glb |
Create a vacuum adapter for a planer dust port consisting of a base cylinder, a curved transition, and an angled output tube.
Start with a base hollow cylinder with an inner diameter of 71mm, an outer diameter of 77mm, and a height of 20mm. The walls should be 3mm thick. In this base section, create two mounting open... | thickness = 3;
base_ID = 71;
base_length = 20;
transition_length = 1;
bend_radius = 20;
output_ID = 58;
output_length = 20;
output_angle = 45;
mount_angle = 45;
hole_offset = 4.75;
hole_diam = 6.75;
slot_width = 6.5;
slot_length = 16;
$fa=1;
base_R = base_ID/2;
base_outR = base_ID/2+thickness;
output_R = ... | glb/cad_b3049d26a406.glb |
Create a Magnetic Pen Holder tray. Start with a rectangular block that has a total length of 52mm, a width of 36mm, and a height of 36mm. Round over the top left and right edges with a 6mm radius.
Carve out two cylindrical holes for pens, each with a diameter of 20mm and a depth of 24mm. These holes should be oriented... | include <BOSL2/std.scad>
magents = 1;
pens = 2;
wall = 4;
backwall = 12;
magnet_diameter = 20;
magnet_depth = 6;
insert_diameter = 5;
insert_depth = 11;
label_text = "";
label_height = 1.5;
cutout_diameter = 20;
cutout_depth = 30;
edge_space = 10;
tray_height = 30;
tray_length = pens * cutout_diameter + (pens + ... | glb/cad_441e708e40a5.glb |
Create a parametric wall frame spacer consisting of two intersecting rectangular bars. First, create a central rectangular bar with a width of 20mm, a thickness of 2mm, and a total length of 30mm (calculated as the 20mm height spacing plus two 5mm extensions). Position this bar so it is centered on the origin. Second, ... | Widthspacing=20;
Heightspacing=20;
Thickness=2;
Extension=10;
translate([Widthspacing/2-Thickness/2,0,0])
hull(){
translate([0,Heightspacing/2+(Extension-Thickness/2),0])
cube(Thickness,true);
translate([0,-Heightspacing/2-(Extension-Thickness/2),0])
cube(Thickness,true);
}
translate([-Widthspacing/2+Thi... | glb/cad_49c6aa7e9792.glb |
Create an Ice Cream Pint Locker consisting of two main components: a cylindrical ring and a locking strap.
First, construct the ring as a hollow cylinder with a height of 20mm. The outer diameter is 93.4mm and the inner diameter is 86mm, creating a wall thickness of 3.7mm. On one side of the ring's exterior, add a re... | print = "both";
wall = 1.2;
topR = 91 / 2;
botR = 86 / 2;
fn = 360;
tabZ = 5 * wall;
tabW = 20;
tabD = 30;
hookD = tabD - 16;
module tab() {
translate([-tabW/2, -tabD/2,0])
difference() {
cube([tabW,tabD,tabZ]);
translate([tabW/2,tabD - 9,0])
cylinder(tabZ,tabW/4,t... | glb/cad_d03a8d138b4c.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.