Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Balancing TZI-Model Gimmick consisting of a main platform and a supporting base. For the platform, create a 3mm thick slab formed by the convex hull of three cylinders, each with a 10mm radius, positioned 120 degrees apart at a distance of approximately 53.3mm from the center. On the top surface of this platfo... | rad=10;
side=100;
thick=3;
radSub=2;
thickSub=8;
difference(){
hull()for(a=[0:120:360])rotate([0,0,a])translate([(side-2*rad)/2*sqrt(3)*2/3,0,0])cylinder(r=rad,h=thick);
myText("ES",0);
myText("ICH",120);
myText("WIR",240);
for(a=[0:120:360])rotate([0,0,60+a])translate([side/2,0,thick/2+thick-1]... | glb/cad_979b8c91bf78.glb |
Create a pegboard screw anchor consisting of a flat base with two integrated cylindrical mounting posts.
Start with a rectangular base 55.8mm wide, 10.7mm high, and 0.7mm thick. Round the four corners of the base with a radius of 5mm.
Position two cylinders on the base, one at each end. Each cylinder must have a di... | version="";
SQUARE=0;ROUNDED=1;
$dl = 0.01;
hole_dia = 6.25;
hole_spacing = 25.4;
columns = 2;
rows = 1;
border = 5;
corners = 1;
base_thickness = 0.7;
base_height = (rows-1)*hole_spacing+2*border;
base_width = (columns-1)*hole_spacing+2*border;
BASE_DEF = [base_width,base_height,base_thickness];
screw_dia =... | glb/cad_f4288fd8bfba.glb |
Create a metric-sized bolt knob for an M8 hex head bolt. The knob consists of a lobed head and a tapering flanged base.
First, create the main head with a radius of 24mm. The profile of this head is formed by six circular lobes, each with a radius of 12mm, arranged symmetrically around the center. From this lobed sha... | include <hexbolts.scad>;
$fa=1;
$fs=0.4;
msize = 8;
radius = msize*3;
lobes = 6;
flange_length = msize;
flange_thickness = msize/4;
flange_thickness_taper_ratio = 1.6;
bolt_height = msize * 0.667;
floor_height = 2;
module outline() {
angle = 360/lobes;
for (i=[0:lobes]) {
circ_r = radius * 0.5;
outset = ... | glb/cad_a9449c1a5eca.glb |
Create a Lazy Susan large spool holder consisting of a circular base track and a rotating top plate. For the base, construct a ring-shaped track with an outer radius of 170mm and a wall thickness of 2mm. The track should feature a circular channel to house wheels.
For the rotating assembly, create a circular top plate... | include <common.scad>
include <MCAD/2Dshapes.scad>
linear_extrude(track_wall_thickness+2)
donutSlice(6,170, -30, 30);
translate([0,0,track_wall_thickness+2]) {
for (a = [1/3,4/5]) {
for (b = [0, 1]) mirror([0,b,0]) {
rotate([0,0,-30]) {
translate([track_rad*a,0,-0.01]) {
... | glb/cad_d5c11ef3a137.glb |
Create a Lazy Susan large spool holder consisting of a base and a top plate. For the base, create a circular track with a bottom section that is 2mm high, tapering from a radius of 14mm at the bottom to 16mm at the top. Above this, add a cylinder with a radius of 16mm and a height of 8mm. Centered on top, place a verti... | include <common.scad>
h = track_wall_thickness+2;
cylinder(r1=14,r2=16,h=2);
translate([0,0,2]) cylinder(r=16, h=8);
translate([0,0,10]) {
cylinder(r=5.975, h=h);
translate([0,0,h])
cylinder(r1=5.975, r2=4.975, h = track_wall_thickness);
} | glb/cad_41e48bd14ff3.glb |
Create a Lazy Susan large spool holder consisting of a circular base and a rotating top plate. Construct the base as a low-walled circular track with an outer radius of 5.95mm and a height of 4mm. The top of this track should taper inward from a radius of 5.95mm to 4.95mm over a height of 2mm. For the rotating assembly... | include <common.scad>
h = track_wall_thickness+2;
cylinder(r=5.95, h=h);
translate([0,0,h])
cylinder(r1=5.95, r2=4.95, h = track_wall_thickness); | glb/cad_525a3d55bfc4.glb |
Create a Lazy Susan large spool holder consisting of a circular track and eight rolling wheels. Start by creating a circular ring with a radius of 60mm, a wall thickness of 2.5mm, and a height of 6.75mm.
Construct eight identical wheels to be positioned equidistantly around the ring. Each wheel is based on a cylinder... | include <common.scad>
h = wheel_hole_rad*1.5;
spokes = 8;
axle = wheel_width + track_wall_thickness+0.5;
ring(track_rad, 2.5, h);
for (i = [0:(spokes-1)]) rotate([0,0,i*(360/spokes)]) {
translate([track_rad, 0, 0]) {
difference() {
union() {
intersection() {
... | glb/cad_068f535b5048.glb |
Create a channel label for a power supply consisting of a flat base with two circular mounting holes and raised text. Start by creating a base plate 1mm thick. The base is formed by two circles with an outer diameter of 18mm and an inner diameter of 13mm, spaced 19mm apart from center to center, and connected by a rect... | $fn = 100;
eps = 0.001;
Sep = 19;
Din = 13;
Dout = Din + 5;
Thickness = 1;
TextThicnkess = 0.3;
TextSize = 6;
TextLen = TextSize * 3.5;
TextSep = 1;
FilletR = 0.75;
difference(){
union(){
translate([-Sep/2,0, 0]) cylinder(h = Thickness, d = Dout);
translate([Sep/2,0, 0]) cylinder(h = Thickness,... | glb/cad_ab379045aa36.glb |
Create a rail mount for an LED spotlight. Start by constructing a base mount that fits a rail 18mm wide and 3mm high. This base should be a rectangular block 20mm long, with a central rectangular cutout removed from the bottom to accommodate a rail stem that is 12.6mm wide and 3.5mm high.
Attached to this base, create... | include <cyl_head_bolt.scad>;
include <materials.scad>;
tolerance = 0.1;
part_length = 20;
mount_height = 8;
rail_width = 18;
rail_height = 3;
stem_width = 12.6;
stem_height = 3.5;
led_width = 31;
led_hole_d= 8;
led_thick = 5;
hole_height = 13;
rim = 3;
$fn=100;
led_mounting_bracket_rail_mount();
module led_mount... | glb/cad_fe1816cdce10.glb |
Create a Knitting Weight Container consisting of a main cylindrical body and a matching threaded lid.
For the body, create a cylinder with an outer diameter of 61mm (51mm inner diameter plus 5mm walls) and a total height of 90mm. The bottom 5mm is a solid base. Above the base, create a hollow interior with a diameter... | use <threads_include_lib.scad>;
targetWeight=1100;
weightDiam=51;
weightHeight=80;
VolumePerGram=206.3;
wallThickness=5;
bottomThickness=5;
bottomRecessThickness=5;
topThickness=5;
lanyardHoleDiam=8;
threadDiam=weightDiam;
threadHeight=5;
threadPitch=2;
threadDClearance=0.7;
threadVClearance=1;
knurlWidth=1;
knurlDept... | glb/cad_55051b3ea0d7.glb |
Create a Knitting Weight Container consisting of a main cylindrical body and a matching threaded lid.
For the body, create a cylinder with an outer diameter of 61mm and a total height of 90mm. Hollow out the center to create a storage volume with an inner diameter of 51mm and a height of 80mm, leaving a bottom wall t... | use <threads_include_lib.scad>;
targetWeight=1100;
weightDiam=51;
weightHeight=80;
VolumePerGram=206.3;
wallThickness=5;
bottomThickness=5;
bottomRecessThickness=5;
topThickness=5;
lanyardHoleDiam=8;
threadDiam=weightDiam;
threadHeight=5;
threadPitch=2;
threadDClearance=0.7;
threadVClearance=1;
knurlWidth=1;
knurlDept... | glb/cad_b8f9cf57f165.glb |
Create a 1U Brush Strip Horizontal 10" Rack Cable panel. Start with a rectangular front plate measuring 254mm wide, 44.45mm high, and 10mm thick. Round all four exterior corners with a 2mm radius. In the center of this plate, create a rectangular cutout measuring 163mm wide and 15mm high, extending through the thicknes... | $fn=60;
height = 1;
width = 10;
borderRadius = 2;
hole_width = 163;
hole_height = 15;
hole_length = 103;
translate([0, 0, 3/2])
difference() {
minkowski() {
cube([width*25.4 - 2*borderRadius, height*1.75*25.4-0.5 - 2*borderRadius, 2], center = true);
cylinder(r = borderRadius, h = 1, center = true);
}
... | glb/cad_e7380323c5d0.glb |
Create a door latch for a Daikin FVXS unit consisting of two mirrored sliding clips and two identical caps.
For each clip, create a rectangular base measuring 51.5mm in length, 12mm in width, and 2mm in height. At the center of the base, create a rectangular recess measuring 10.2mm by 6.2mm and 3mm deep. Drill a 3mm ... | $fn=60;
if ($preview) {
translate([0,20,0]) {
clip_left();
cap();
}
clip_right();
cap();
} else {
translate([0,0,16]) {
rotate([270,0,0]) {
clip_right();
}
}
translate([0,12,16]) {
rotate([270,0,0]) {
clip_left();
}
... | glb/cad_ccbb183346dc.glb |
Create a watch crown ring by constructing a thin, hollow cylinder. The ring should have an outer diameter of 7mm and a total height of 1.8mm. To create the hollow center, remove a concentric cylinder with a diameter of 5.8mm. Ensure the final geometry is a perfectly circular band with a wall thickness of 1.2mm and a he... | crowndiameter=5.8;
ring_thickness=1.2;
ring_width=1.8;
difference() {
cylinder(h=ring_width,d=crowndiameter+ring_thickness, center = true, $fn=250);
cylinder(h=ring_width+1,d=5.8, center = true, $fn=250);
} | glb/cad_48309ec08c2d.glb |
Create a wheel mount adapter for a printer enclosure. Start with a base rectangular block measuring 38mm in length, 30mm in width, and 11mm in height, with the Z-axis edges rounded by a 4.5mm radius.
Add two cylindrical mounting posts, one at each end of the length, positioned 20mm apart (center-to-center). Each post... | use <catchnhole/catchnhole.scad>
use <roundedcube.scad>
$base_length = 38;
$base_width = 30;
$base_height = 11;
$base_screw_x_offset = 4.25;
$base_screw_y_offset = 5;
$enclosure_mount_radius = 11;
$enclosure_mount_height = 8;
$enclosure_mount_screw_dist = 40;
$enclosure_mount_fillet_radius = 2;
$enclosure_mount_vert... | glb/cad_eb0224915f53.glb |
Create a Parametric Eyepiece Extender with Knob by combining a threaded base and a decorative grip. Start by creating a metric screw with a diameter of 16mm, a pitch of 4mm, and a length of 15mm. On top of this screw, build a knob consisting of a central cylinder with a height of 4mm and a radius of 6mm. Surround this ... | use<metric_thread.scad>
module Screw()
{
screw_diam=16;
metric_thread (diameter=screw_diam, pitch=screw_diam/4, length=15);
}
union() {
Screw();
difference () {
union() {
for ( i = [0:5] ) {
rotate( i*360/6)
translate( [0, 9, 0] )
cylinder(h = 4, r1 = 5, r2 = 5... | glb/cad_aca294a53c14.glb |
Create a dual-message illusion sculpture consisting of two intersecting sets of 3D text and an optional base.
For the text, create two strings of characters: "WELCOME" and "GOODBYE". Each letter should have a height of 10mm and a thickness of 0.8mm. Position the letters such that each character from the first message... | Left_Message = "WELCOME";
Right_Message = "GOODBYE";
Letter_Size = 10;
Letter_Thickness = 0.8;
Letter_Spacing = 16;
Letter_Tilt = 0;
Font_Name = "Liberation Sans";
Font_Style="Default";
Fill_Whitespace=false;
Base_Position = "Bottom";
Base_Thickness = 3;
Base_Offset = 0;
Base_Screw_Hole_Diameter = 0;
Orientati... | glb/cad_21a6979eae9a.glb |
Create a jewelry tray with overall dimensions of 218mm width, 160mm depth, and 18mm height. Start by forming a solid rectangular block of these dimensions with all four vertical corners rounded to a radius of 2.8mm. Apply a 45-degree chamfer to the bottom outer edge of the base.
Hollow out the interior to create a ser... | insert_depth = 160;
insert_width = 218;
insert_height = 18;
walls = 3;
base = 2;
corner_radius = 2.8;
box_w = ((insert_width - (5 * walls)) / 4);
box_d = ((insert_depth - (4 * walls)) / 3);
module outer_box()
{
w = insert_width - (corner_radius * 2);
d = insert_depth - (corner_radius * 2);
difference()
... | glb/cad_24a648a89f17.glb |
Create a Universal Cylinder Battery Dispenser designed to hold cylindrical elements with a diameter of 15mm and a length of 60mm.
Construct a rectangular base foundation with a width of 69mm (60mm element length plus 3mm walls on each side) and a depth of 69mm (16.5mm element diameter multiplied by 4 rows, plus 6mm f... | element_diametr = 15;
element_length = 60;
name = "| Name |";
title = "-Title-";
elemets_per_row = 4;
elements_per_column = 6;
resized_element_diametr = element_diametr * 1.1;
resized_element_length = element_length * 1.1;
wall_width = 3;
element_radius = resized_element_diametr / 2;
foundation_width = resized_el... | glb/cad_5c84743c1b66.glb |
Create a leveling foot for a table consisting of two separate components: a base insert and a foot cap.
For the insert, create a cylinder with a diameter of 52mm and a height of 10mm. On top of this, add a second cylinder with a diameter of 42mm and a height of 10mm. Bore a central hole through the entire assembly: s... | slot_diameter=32;
slot_height=15;
slot_wall=10;
base_wall=10;
screw_length=15;
od=slot_diameter+slot_wall+base_wall;
base_height=10;
screw_height=screw_length-base_height;
$fn=200;
translate([-(od/2+5),0,0])insert();
translate([(od/2+5),0,0])foot();
module foot(){
difference(){
union(){
cylin... | glb/cad_44139c63e1bf.glb |
Create a Tape Cutter designed to fit over a roll of tape. The main body is a curved, C-shaped sleeve formed by extruding a rounded rectangular profile along a circular arc. The outer dimensions of this profile are 104mm in width (TapeWidth + 2*Wallthickness) and 52mm in thickness (RoleThickness + Wallthickness), with a... | TapeWidth = 100;
RoleThickness = 50;
RoleInnerDiameter = 80;
Wallthickness = 2;
TeethStyle = "teeth";
TeethSize = 0;
TeethBaseLength = 0;
SharpenTeeth = "up";
TeethAngle = 30;
BladeThickness = 0.5;
TeethThickness = 0;
FilletRadius = 0;
Opening = 0;
SliceAngle = 0;
Clearance = 1;
fudgeFactor = 0.015;
rota... | glb/cad_fe08f800e49a.glb |
Create a cardboard spool ring consisting of a circular torus with a circular cross-section. The main ring should have a diameter of 12mm for its cross-section and an overall outer radius of 200.5mm (calculated as the flange radius of 199.7mm plus a 0.8mm wall thickness).
The ring is designed to fit around a spool fla... | thread_thickness=0.8;
flange_radius = 199.7;
flange_width = 3.1;
notch=1;
h_notch=2.5;
d_notch= 25.10;
notch_length=5;
offset_notch=10.2;
bracket=10.0;
$fa = 0.2;
$fs = 2.45;
angle=360/notch;
ring_diameter = 12;
ring_radius=flange_radius/2+thread_thickness;
ring_fange_opening=flange_radius-4;
module ring(){
r... | glb/cad_ce0357cb42be.glb |
Create a cardboard spool ring consisting of a circular torus-like band with a flat inner profile. The main body is a revolved ring with an outer radius of 200.5mm (calculated from a flange radius of 199.7mm plus a 0.8mm wall thickness) and a cross-sectional diameter of 12mm.
The ring's inner profile is not a perfect ... | thread_thickness=0.8;
flange_radius = 199.7;
flange_width = 3.1;
notch=0;
h_notch=2.5;
d_notch= 25.10;
notch_length=5;
offset_notch=10.2;
bracket=10.0;
$fa = 0.2;
$fs = 2.45;
angle=360/notch;
ring_diameter = 12;
ring_radius=flange_radius/2+thread_thickness;
ring_fange_opening=flange_radius-4;
module ring(){
r... | glb/cad_abc9e66e75a9.glb |
Create a rectangular tray for a board game organizer with overall exterior dimensions of 98.8mm in width, 66.8mm in depth, and 23.5mm in height. The exterior corners of the tray should be rounded with a radius of 4mm.
Hollow out the center of the tray to create a main storage compartment measuring 94mm by 62mm, leavi... | $fn=200;
difference(){
roundedCube4(98.8,66.8,23.5);
translate([2.4,2.4,1])
cube([94,62,50]);
translate([27,10,-1])
roundedCube4(58.8,46.8,23.75);
translate([0,33.4,-1])
rotate([0,0,0])
cylinder(h=400, d=35, center=false);
translate([-10,13.1,20.5])
rotate([90,0,0])
rotate([90,90,90])
linear_extrude(20)
difference... | glb/cad_14e8d9faa748.glb |
Create a game organizer tray by starting with a rounded rectangular block measuring 71.2mm wide, 218.2mm long, and 33mm high, with corner radii of 4mm. Hollow out the interior of this block by removing several specific geometric volumes.
First, remove a large rectangular section from the top center measuring 72.8mm b... | $fn=100;
difference(){
roundedCube4(71.2,218.2,33);
translate([-1,-1,18])
cube([72.8,168.9,30]);
translate([17.1,2.4,1])
roundedCube3(37,87,50);
translate([4.6,2.4,3.5])
cube([62,94,50]);
translate([2.6,2.4,13.5])
cube([66,165.5,50]);
translate([2.4,170.3,3])
roundedCube4(45.5,45.5,80);
translate([62,202.25,2])... | glb/cad_19ca56682cae.glb |
Create a rectangular base plate measuring 195.6mm in length, 98.8mm in width, and 8mm in height. Within this base, carve out three identical storage compartments. Each compartment consists of a rectangular void measuring 62mm by 94mm with a depth of 20mm, positioned with a 2.4mm offset from the left edge and spaced 64.... | $fn=100;
difference(){
cube([195.6,98.8,8]);
for(i = [0:2]){
translate([(i*64.4)+2.4,2.4,1.5])
cube([62,94,20]);
translate([(i*64.4)+33.4,0,-1])
rotate([0,0,0])
cylinder(h=75, d=30, center=false);
translate([(i*64.4)+12.4,25,-1])
roundedCube(42,57,20);
}
for(i = [0:2]){
translate([(i*64.4)+15.6,5,5])
rotate([90,0... | glb/cad_ca585216332e.glb |
Create a rectangular organizer tray for the Great Western Trail board game with overall outer dimensions of 89.4mm in width, 151.4mm in length, and 16mm in height. The tray should have rounded corners with a radius of 4mm.
Carve out the following interior compartments from the main body:
1. A rectangular void centered... | $fn=100;
difference(){
roundedCube4(89.4,151.4,16);
translate([38.8,9.4,8])
minkowski(){
cube([41.2,79.2,23]);
sphere(r=7);
}
translate([9.4,105,8])
minkowski(){
cube([70.6,37,23]);
sphere(r=7);
}
translate([0,2.4,0]){
for(i = [0:3]){
translate([2.4,(i*23.9),3.5])
cube([16.25,21.5,30]);
translate([18.65,(i*23.9)+1... | glb/cad_3ec43bffeda4.glb |
Create a game organizer tray with overall dimensions of 186.2mm in length, 66.8mm in width, and 49mm in height. The main body is a rounded rectangular block with a corner radius of 3mm.
Carve the following voids into the block:
First, create a large L-shaped opening starting from the top. This opening begins with a re... | $fn=200;
difference(){
roundedCube3(186.2,66.8,49);
translate([6.4,6.4,1.5])
minkowski()
{
linear_extrude(height=60)
polygon(points=[[47.9,0],[47.9,19.4], [0,19.4],[0,54],[142.2,54],[142.2,22.7],[173.4,22.7],[173.4,0]]);
cylinder(4,4,4);
}
for(i = [0:3]){
translate([(i*25)+56,5,-1])
roundedCube3(18,56.8,50);
}
tran... | glb/cad_9afe01bc9f71.glb |
Create a money and exchange token tray for a board game organizer. Start with a base rectangular block measuring 89.4mm in width, 75.7mm in depth, and 16mm in height, ensuring the four vertical edges are rounded with a 4mm radius.
From this base, remove several geometric volumes to create storage compartments. First, ... | $fn=100;
difference(){
roundedCube4(89.4,75.7,16);
translate([38.8,9.4,8])
minkowski(){
cube([41.2,27.3,23]);
sphere(r=7);
}
translate([9.4,9.4,8])
minkowski(){
cube([41.2,9.4,23]);
sphere(r=7);
}
translate([38.8,53.1,8])
minkowski(){
cube([41.2,13.2,23]);
sphere(r=7);
}
translate([0.4,0,0]){
translate([0,25.2,0])... | glb/cad_be6f3d66bdc4.glb |
Create a rectangular tray with rounded corners and a total outer dimension of 98.8mm in width, 66.8mm in depth, and 25.5mm in height. The corners should have a radius of 4mm.
Hollow out the center of the tray to create a main storage compartment measuring 94mm by 62mm, leaving a wall thickness of 2.4mm on the sides a... | $fn=200;
difference(){
roundedCube4(98.8,66.8,25.5);
translate([2.4,2.4,1])
cube([94,62,50]);
translate([27,10,-1])
roundedCube4(58.8,46.8,23.75);
translate([0,33.4,-1])
rotate([0,0,0])
cylinder(h=400, d=35, center=false);
translate([-10,13.1,22.5])
rotate([90,0,0])
rotate([90,90,90])
linear_extrude(20)
difference... | glb/cad_b24039b1d1c7.glb |
Create a set of three identical organizer trays for a game box. Each tray starts as a solid rectangular block measuring 66.8mm wide, 12mm deep, and 95mm high.
From each block, remove a central rectangular cavity measuring 62mm wide, 9.6mm deep, and 100mm high, positioned 2.4mm from the side and 1.2mm from the bottom. ... | $fn=100;
for(i = [0:2]){
translate([i*64.4,0,0]){
difference(){
cube([66.8,12,95]);
translate([2.4,1.2,1])
cube([62,9.6,100]);
translate([33.4,10,40])
rotate([90,0,0])
scale([1.4,1,1])
cylinder(h=200, d=32, center=false);
translate([11,-1,40])
cube([44.8,10,100]);
translate([33.4,40,60])
rotate([90,0,0])
cylinde... | glb/cad_cf5ac23905f6.glb |
Create a rectangular tray with overall dimensions of 66.8mm in width, 98.8mm in length, and 8mm in height. Hollow out the center of the tray by removing a rectangular block measuring 62mm by 94mm, starting from a height of 1mm and leaving a wall thickness of 2.4mm on the sides.
Within the remaining base of the tray, ... | $fn=100;
difference(){
cube([66.8,98.8,8]);
translate([2.4,2.4,1])
cube([62,94,20]);
translate([33.4,0,-1])
rotate([0,0,0])
cylinder(h=75, d=30, center=false);
translate([12.4,25,-1])
roundedCube(42,57,20);
translate([15.6,5,5])
rotate([90,0,0])
linear_extrude(20)
difference(){square(3);circle(3);}
translate([51.... | glb/cad_4d62bda0ed94.glb |
Create a rectangular tray with rounded corners and a central finger hole. The main body is a solid block measuring 166.9mm in length, 16mm in width, and 15mm in height. Apply a 4mm radius to all vertical edges to round the corners. In the center of the top face, create a vertical cylindrical hole with a diameter of 25m... | $fn=100;
difference(){
roundedCube4(166.9,16,15);
translate([83.45,0,-1])
rotate([0,0,0])
cylinder(h=75, d=25, center=false);
}
module roundedCube4(x,y,z)
{
r=4;
translate([r,r,0])
minkowski()
{
cube([x-(2*r), y-(2*r), z-r]);
cylinder(r,r,r);
}
} | glb/cad_7ee7029a0349.glb |
Create a rectangular organizer tray with rounded corners, measuring 195.6mm in length, 123.2mm in width, and 16mm in height.
From this main volume, remove several geometric sections to create compartments. First, carve out a rectangular notch for a solo board measuring 181mm by 25mm by 20mm, positioned at coordinates... | $fn=100;
difference(){
roundedCube(195.6,123.2,16);
translate([7.3,98.2,12])
cube([181,25,20]);
translate([0,0,8])
cube([195.6,99.8,20]);
translate([186.2,0,-1])
cube([192,67.8,20]);
translate([110,0,0]){
translate([6.5,2.4,1])
cube([62,94,20]);
translate([37.5,0,-1])
rotate([0,0,0])
cylinder(h=75, d=30, center=... | glb/cad_4a6738ac6414.glb |
Create a rectangular organizer tray for the Great Western Trail board game with overall dimensions of 89.4mm in length, 66.8mm in width, and 8mm in height. The outer edges of the base should be rounded with a 4mm radius.
Remove material from the top of the block to create several storage compartments. First, carve out... | $fn=100;
difference(){
roundedCube4(89.4,66.8,8);
translate([0,33.4,-1])
rotate([0,0,0])
cylinder(h=75, d=25, center=false);
translate([89.4,33.4,-1])
rotate([0,0,0])
cylinder(h=75, d=25, center=false);
translate([8.85,0,0]){
translate([23.15,13.15,4.5])
rotate([0,0,0])
cylinder(h=75, d=21.5, center=false);
trans... | glb/cad_efdbd4ac5098.glb |
Create a Parametric Gridfinity Cubistand consisting of a base, a top, connecting rods, and caps.
First, create a base and a top plate, each 7mm thick. Both plates should be rounded rectangles with a corner radius of 6mm. The overall footprint is determined by a 2x2 grid of 42mm Gridfinity units, resulting in a total ... | include <gridfinity-rebuilt-utility.scad>
$fa = 8;
$fs = 0.25;
part = "fullset";
gridx = 2;
gridy = 2;
length = 42;
holes_count_w = 4;
holes_count_d = 4;
wall_thickness = 2;
holder_h = 7;
rod_h = 60;
rounding2 = 6;
bottom_h = 3;
rod_play = 0.05;
cap_h = 6;
divx = 1;
divy = 1;
gridz = 0;
gridz_define =... | glb/cad_316e24f8154e.glb |
Create a filament roller stand consisting of a base plate and two symmetrical upright supports. The base plate is a flat slab 3mm thick. The two upright supports are each 4mm thick and feature a mirrored, organic "water-drop" profile.
Each upright support must accommodate a standard 608 bearing (22mm outer diameter, ... | roller_stand();
module roller_stand(
b_outer = 22,
b_inner = 8,
b_width = 7,
distance = 44,
guide = 2.5,
bottom = 3,
wall = 4
) {
og = b_outer + 2 * guide;
flat = distance + b_inner + guide;
min_d = min(wall, bottom);
gap = b_width + 0.5 + wall;
$fn = $preview ? 32 : 100;
rotate([90,0,0])
for(d... | glb/cad_e96f293ad98a.glb |
Create a micro:bit Holder designed as a handheld game controller. Start with a main body formed by the union of several rounded blocks: a central front section measuring 56mm x 12mm x 10mm, two small side blocks measuring 3mm x 12mm x 20mm positioned at x=±26.5mm, and a rear battery compartment measuring 32mm x 20mm x ... | use <MCAD/boxes.scad>
$fn=50;
mPosZ = -17.4;
mPosY = -10;
bitWidth = 56;
bitFrictionDia = 0.7;
batFrictionDia = 0.7;
microbitRemote();
module microbitRemote() {
difference() {
union() {
hull() {
translate([-35,3.0,-4.80])
rotate([90,0,0])
... | glb/cad_1f1c6f9f2275.glb |
Create a motor adapter designed to fit a 2mm shaft and a 1.6mm cross-type axle. Start with a central cylindrical hub that has a diameter of 8mm and a total height of 9.6mm. Drill a 2mm diameter hole vertically through the center of this hub.
At the base of the hub, create a flat plate with a thickness of 1.6mm. This ... | lego_dist = 1.6;
xw=0.2;
stud_diameter = 3*lego_dist;
stud_distance = 7.986;
stud_height = 1.8;
delta = 0.001;
shaft_diameter = 2;
color("lightblue") for(r = [0:90:359]){
rotate(r) for(i = [1:2]){
translate([stud_distance*i,0,-delta]) cylinder(d=stud_diameter - xw, h=stud_height+delta, $fn=24);
}
}
... | glb/cad_8a6b1bc08f63.glb |
Create a wall plate for a speaker mount with a total thickness of 3.6mm. The main body is a rounded equilateral triangle formed by a central cube with a side length of 33mm, with the three corners rounded by cylinders of radius 8mm.
In the center of the plate, create a circular recess with a diameter of 41mm and a de... | plate_thickness = 3.6;
ball_socket_recess = 1.2;
lengthf =8;
distctr_mnt = 33;
distctr_fix = 15.925;
dist_mnt2mnt = (distctr_mnt*sin(120))/sin(30);
tol = 0.01;
translate([0,0,0]) difference(){
translate([0,0,0]) union(){
for(c=[0,1,2]){
rotate([0,0,120*c]) translate([distctr_mnt,0,0]){
... | glb/cad_971e74346bf0.glb |
Create a stackable insert for a rugged box by constructing a hollowed-out rectangular tray with rounded corners. The outer dimensions are 149.4mm in length and 99.4mm in width, with a total height of 20mm. The outer walls and base should have a thickness of 1.6mm, and all vertical corners must have a radius of 5mm. The... | length=150;
width=100;
radius=5;
tol=.6;
height=20;
thickness=1.6;
chamfer=2;
gripwidth=4;
griplength=50;
$fn=50;
module rounded(lg,br,hh,rd) {
hull() {
for(x=[-1:2:1]) for(y=[-1:2:1]) translate([x*(lg/2-rd),y*(br/2-rd),0])
{ translate([0,0,chamfer]) cylinder(r=rd,h=hh-chamfer);
cylinder(r1=rd-chamfer,r2=r... | glb/cad_38518d571540.glb |
Create a Parametric Minimalistic Tracker Disc consisting of concentric rotating rings. The entire object has a total height of 2mm and a central hole with a radius of 5mm.
Construct two digit rings. The first ring has an inner radius of 8mm and a width of 5mm. The second ring is positioned immediately outside the firs... | digit_size=4;
digit_font="Liberation Sans:style=Bold";
digit_inset=0.3;
arrow_inset=1;
digits=2;
digit_direction=0;
height=2;
center_hole=5;
first_ring=8;
ring_width=5;
groove_size=0.2;
ring_overlap=1;
tolerance=0.3;
arrow_tolerance=0.4;
$fn=100;
angle = digit_direction ? 36 : -36;
module digits(radius) ... | glb/cad_24f0c5bf67ba.glb |
Create a Nut and Bolt Construction Kit rectangular plate. The plate should be 12mm thick with rounded corners.
The overall dimensions are determined by a grid of 6 holes across and 1 hole down. Each hole has a diameter of 12.5mm and is spaced based on a hole ratio of 2, meaning the distance between the centers of the... | shape = "plate";
x_holes=6;
y_holes= 1;
z_holes = 2;
angle = 120;
thickness = 12;
screw_diameter = 12.5;
hole_ratio = 2;
cord_diameter = 1.5;
clearance = 0.5;
round_corners = "yes";
quality = 100;
construction_set_part( _shape = s... | glb/cad_14d79e550a90.glb |
Create a Parametric Cable Clip designed to secure a wire. The model consists of a semi-circular clamping body with a mounting hole.
Start by creating a cylindrical outer shell with a radius of 4mm (based on a 5mm wire diameter plus 3mm thickness) and a total height of 9mm. Subtract a concentric inner cylinder with a r... | cust_type = "clamp";
cust_wire_dia = 5;
cust_screw_dia = 3;
cust_tie_width = 5;
wire_clip(profile = cust_type, wire_dia = cust_wire_dia, screw_dia = cust_screw_dia,tie_width = cust_tie_width);
module draw_all(){
translate([0,0,0])wire_clip(profile = "clamp", wire_dia = 5, screw_dia = 3,tie_width = 5);
translate([... | glb/cad_4b4c4757f86f.glb |
Create a Parametric Cable Clip designed to secure a wire with a diameter of 5mm. The main body is a semi-circular band with a total height of 9mm (3 times the screw diameter). The inner radius of the clip is 2.65mm (half of the wire diameter plus a 0.3mm clearance), and the outer radius is 4.15mm.
The clip's cross-sec... | type = "clamp";
wire_dia = 5;
screw_dia = 3;
tie_width = 5;
layer_height = 0.2;
extrusion_ratio = 1.5;
clearance = 0.3;
tie_height = 0.5 * tie_width;
outer_thickness = extrusion_ratio * layer_height;
min_thickness = 6 * outer_thickness;
thickness = min_thickness;
clamp_rad = (wire_dia + clearance) / 2;
outer_rad ... | glb/cad_b1f66084db1a.glb |
Create a Bit Holder for a screwdriver. Start with a main cylindrical body that is 58mm tall with a diameter of approximately 9.5mm. At the base, add a cylindrical cap with a height of 8mm and a diameter of 13.2mm.
Carve three identical hexagonal holes through the main body to hold screwdriver bits. Each hexagonal cuto... | cap_diameter = 13.2;
hex_bit_width = 6.3;
length = 58;
module donut(h, d_outer, d_inner) {
difference(){
cylinder(h=h, d=d_outer, $fn=90);
translate([0, 0, -1]) cylinder(h=h+2, d=d_inner, $fn=90);
}
}
cutout_offset_r = 1.25 * sin(60);
hex_bit_d_i = hex_bit_width;
hex_bit_d_o = hex_bit_d_i / sin(60);
h... | glb/cad_1d7f10c33c86.glb |
Create a Skadis Diamond File Holder with a total length of 84mm, a width of 16mm, and a height of 13mm. The main body is a rectangular block with semi-cylindrical ends, each with a radius of 8mm. Along the length of the body, create five identical tool slots spaced 20mm apart, centered at x = -40, -20, 0, 20, and 40mm.... | $fa = 1;
$fs = 0.4;
$fn = 32;
difference() {
union() {
translate([-42,0,0]) cube([84, 16, 13]);
translate([-42,8,0]) cylinder(13, 8,8);
translate([ 42,8,0]) cylinder(13, 8,8);
for (i=[-1:2:1]) {
translate([i*40-2,-10,0.0]) cube([4, 5, 13]);
translate([i*4... | glb/cad_4df8d347f839.glb |
Create a parametric bearing container consisting of a main body and a lid. For a 695ZZ bearing, which has an outer diameter of 13mm and a thickness of 4mm, and a quantity of 12 bearings, design the following:
Create the body as a cylinder with a height of 49mm (12 bearings times 4mm, plus 1.2mm for the base wall and 1... | Generate = "both";
BearingModel = "695ZZ";
BearingCount = 12;
LidClearance = 0.03;
ContainerTolerance = 1;
WallTickness = 1.2;
AirVentHoleDiameter = 1.5;
BodyLidDistance = 10;
$fn = 60;
bearingDefinitions = [
[ "605ZZ", 14, 5 ],
[ "608ZZ", 22, 7 ],
[ "623ZZ", 10,... | glb/cad_81e147cd28fa.glb |
Create a protective case for a VTech baby monitor parent unit. The main body is a rounded rectangular shell with outer dimensions of 163.4mm in width, 82.4mm in height, and 22.4mm in depth, featuring a wall thickness of 3.2mm.
The case is designed to wrap around a device that is 157mm wide, 76mm high, and 16mm deep, ... | case_thickness=3.2;
front_lip_overhang=2.5;
d_width=157;
d_height=76;
d_depth=16;
rounding_thickness=7;
eps=0.001;
$fn=90;
module angled_cube(x, y, z, bevel=2) {
linear_extrude(z) {
polygon([[0, bevel/2], [0, y-bevel/2], [x, y], [x, 0]]);
}
}
module rounded_cube(x, y, z, rounding_radius, corner_rad... | glb/cad_bbd0599a3df0.glb |
Create a storage box and lid for the Omnifixo Makers Third Hand.
For the box, create a rounded rectangular container with outer dimensions of 165.5mm width, 107mm length, and 29mm height. Use a corner rounding radius of 6.2mm. The walls should be 2.5mm thick, and the bottom floor should be 2.6mm thick. Hollow out the... | use <utils/build_plate.scad>
_part = "lid";
_width = 165.5;
_length = 107;
_height = 29;
_rounding = 6.2 ;
_minimumWallThickness = 1.1;
_sidewallThickness = 2.5;
_horizontalThickness = 2.6;
_magnetDiameter = 6.2;
_magnetHeight = 3.2;
_hingeGap = 0.2;
module roundRect(width, depth, height, round) {
round =... | glb/cad_a1f8b175eac8.glb |
Create a Parametric Panel Mount consisting of a base plate and an angled front panel. Start with a rectangular base that is 140mm wide, 20mm deep, and 2mm thick. Attached to this base, create a front panel that is 120mm wide (comprising four 30mm wide sections), 30mm high, and 2mm thick, angled back at 80 degrees. The ... | panel_depth=20;
panel_height=30;
panel_width=140;
panel_angle=80;
panel_radius=2;
thickness=2;
num_holes=4;
hole_width=30;
hole_1_dia=7.7;
hole_2_dia=20.35;
hole_3_dia=20.35;
hole_4_dia=7.7;
screw_dia=4;
$fn=100;
panel_mount();
module panel_mount(){
difference(){
union(){
translate([-panel_width/2,0,0])
cube([panel... | glb/cad_3c9380b22b68.glb |
Create a Parametric Panel Mount cover. Start with a main rectangular body that is 140mm wide, 20mm deep, and 2mm thick.
At each end of the panel, create a vertical support wall with a thickness of 2mm. These walls should be angled at 80 degrees. The height of the cover section is 50mm, but it is reduced by the cosine... | panel_depth=20;
panel_height=30;
panel_width=140;
panel_angle=80;
panel_radius=2;
thickness=2;
num_holes=4;
hole_width=30;
hole_1_dia=7.7;
hole_2_dia=20.35;
hole_3_dia=20.35;
hole_4_dia=7.7;
screw_dia=4;
panel_cover_depth=50;
magnet_dia=8.2;
magnet_depth=5.3;
$fn=100;
cover();
module cover(){
difference(){
union(){... | glb/cad_caa774d92da4.glb |
Create a Painter's Triangle used for elevating objects during painting. Start by constructing a hollow triangular pyramid with a height of 50mm and a base radius of 30mm. The walls of the pyramid should have a uniform thickness of 1.5mm. At the base of the pyramid, add a flat triangular brim that extends the radius to ... | base_r = 30;
triangle_h = 50;
skin = 1.5;
bluntness = 3;
hole_r = min(base_r,triangle_h)/4;
hole_h = base_r;
side_angle = atan(triangle_h/(base_r/2));
triangle_cutter_difference = skin/cos(side_angle);
echo ("side_angle=",side_angle);
echo("triangle_cutter_difference=",triangle_cutter_difference);
difference(){
... | glb/cad_1df1cbd9e25a.glb |
Create a NASCII PTG 50-70 headphone driver housing. Start by constructing a main cylindrical body with an outer diameter of 53.4mm (driver diameter 50.05mm plus 1.7mm walls). The body is a hollow tube with a central bore of 50.05mm. The top section features an external thread with a 2.5mm pitch and a 35-degree tooth an... | use <threads.scad>;
use <smooth_prim.scad>;
use <text_on.scad>;
use <af-basics.scad>;
$fn=256;
debug = true;
cdebug = true;
cut = "x";
driver = 50.05;
pad = 70;
driver_z_max = 6;
driver_z_min = 4;
pin_z = 7;
pin_up_spc = 4.0;
pin_down_spc = 2.5;
top_spc = 0.5;
down_... | glb/cad_8858a322df5c.glb |
Create a 3D model consisting of a collection of geometric primitives. Start by creating a central composite shape formed by the union of three cubes: one measuring 15x5x10mm, one 5x15x10mm, and one 10x10x5mm, all centered. From this union, remove two cubes measuring 11x3x10mm, each rotated 45 degrees on the Z-axis. Add... | basics_test();
module basics_test() {
*difference() {
union() {
cube([15,5,10],center=true);
cube([5,15,10],center=true);
cube_align([10,10,5],[0,0,-1]);
}
rotate([0,0,45])
cube_align([11,3,10],[0,0,1]);
rotate([0,0,-45])
cube_align([11,3,10],[0,0,1]);
translate([5,5,-8])
cylinder(r=2.5,h=10,... | glb/cad_0eb882978192.glb |
Create a NASCII PTG 50-70 headphone part. Start by constructing a central rectangular slab 260mm long, 13mm wide, and 1.6mm thick. To this central body, add a flattened elliptical section by scaling a cylinder of 220mm diameter to a height of 1.6mm, centered on the slab. At both far ends of the long axis, integrate sma... | use <threads.scad>;
use <smooth_prim.scad>;
use <text_on.scad>;
$fn=100;
t = 15;
x = 230 + t*2 + t;
y = 13;
z = 1.6;
tz = 2.2;
screw = 2.9;
difference(){
union(){
difference(){
union(){
scale([1,.15,1])
cylinder( z, d=x-40, center = true);
cube([x,y,z], center=true);
transla... | glb/cad_ca36ecb72dda.glb |
Create a collection of geometric primitives as follows:
First, create a hollow cylinder with an outer radius of 22mm, an inner radius of 20mm, and a height of 10mm.
Second, create a smooth cylinder with a radius of 22mm and a height of 10mm, featuring a central hole with a radius of 5mm and a height of 10mm.
Third, ... | module SmoothCylinder(radius, height, smooth_rad) {
$fa = ($fa >= 12) ? 1 : $fa;
$fs = ($fs >= 2) ? 0.4 : $fs;
if (radius > smooth_rad) {
rotate_extrude(convexity=10)
hull() {
square([radius-smooth_rad, height]);
intersection() {
translate([0, -0.1*height])
square(... | glb/cad_53a3d7ed9993.glb |
Create a NASCII PTG 75-100 headphone driver housing. Start by constructing a main cylindrical body with an outer diameter of 80.4mm (driver diameter 75.05mm plus 1.7mm walls on each side). The body is a hollow tube with an internal diameter of 75.05mm. The top and bottom of this cylinder feature threaded sections with ... | use <threads.scad>;
use <smooth_prim.scad>;
use <text_on.scad>;
use <af-basics.scad>;
$fn=256;
debug = true;
cdebug = true;
cut = "x";
driver = 75.05;
pad = 100;
driver_z_max = 6;
driver_z_min = 4;
pin_z = 8;
pin_up_spc = 2.0;
pin_down_spc = 1.5;
top_spc = 0.5;
down... | glb/cad_4c4d00e457a8.glb |
Create a NASCII PTG 60-80 headphone driver housing. Start by constructing a main cylindrical body with an outer diameter of 63.4mm (driver diameter 60.05mm plus 1.7mm walls). The body is a hollow tube with an internal diameter of 60.05mm.
At the top, add a threaded ring with a pitch of 2.5mm and a tooth angle of 35 d... | use <threads.scad>;
use <smooth_prim.scad>;
use <text_on.scad>;
use <af-basics.scad>;
$fn=256;
debug = true;
cdebug = true;
cut = "x";
driver = 60.05;
pad = 80;
driver_z_max = 6;
driver_z_min = 4;
pin_z = 7;
pin_up_spc = 4.0;
pin_down_spc = 2.5;
top_spc = 0.5;
down_... | glb/cad_4744a4d65670.glb |
Create a stackable ANSI keycap storage tray. The main body is a rounded rectangular tray with a base thickness of 2mm and outer walls 4mm high. The overall dimensions are approximately 162.4mm wide by 133mm long.
The interior of the tray consists of a grid of rectangular slots designed to hold OEM profile keycaps (max... | $fn = $preview ? 20+0 : 30;
key_cap_height = 11.9;
cap_max_height = 1 + key_cap_height;
one_u = 19.05;
one_u_outer = one_u + 1.45;
tray_wall_height = 4;
tray_bottom_thick = 2;
border_thick = 4;
part = 5;
font="Lato Bold";
cover_text = [];
tray_height = tray_wall_height + tray_bottom_thick;
tray_width = 8 * on... | glb/cad_3a4809a07100.glb |
Create a Tiny Tina drone top frame. Start with a central rectangular tray 68mm wide, 48mm deep, and 4mm high, with a wall thickness of 2mm. At each of the four corners of this tray, centered at coordinates (±32.89, ±32.89), place a vertical ring with an outer radius of 29mm, an inner radius of 27mm, and a height of 11m... | sep=93/(2*1.414);
msep=20/2;
rir=27;
rth=2;
rht=11;
nsep=6;
wsep=15;
$fn=90;
module ring(){
difference(){
cylinder(h=rht, r=rir+rth);
translate([0,-1,17])
rotate([7,0,0])
cube([64,64,20], center=true);
}
}
module mount(){
difference(){
cylinder(h=5,r=2);
cylinder(h=5,r=1);
... | glb/cad_4f73275f330f.glb |
Create a battery cover with a rectangular base and three walls. Start with a base plate measuring 68mm wide by 73mm long and 3mm thick. In the center of this base, create a rectangular cutout 35mm wide by 13mm long that penetrates through the 3mm thickness, leaving a 3mm margin from the front edge.
From the base, exte... | wallThickness = 3;
innerWidth = 62;
width = innerWidth + (2 * wallThickness);
innerLength = 70;
length = innerLength + wallThickness;
innerHeight = 13;
height = innerHeight + wallThickness;
sideInnerLength = 46;
guiderailHeight = 2;
guiderailLength = 40 + wallThickness;
guiderailWidth = 2;
holeLength = 13;
holeWid... | glb/cad_2ca9b6347503.glb |
Create a Hose or Cable Clip by starting with a solid rectangular block that is 28.575mm long, 22.225mm wide, and 6.35mm thick. Remove two vertical cylindrical holes, each with a diameter of 15.875mm and a depth of 6.35mm, to create channels for cables. Position the first hole so its center is 5.71875mm from the near ed... | inch = 25.4;
wide = 7*inch/8;
long = 9*inch/8;
near = 3*inch/16;
away = 15*inch/16;
difference(){
cube([long,wide,inch/2]);
translate([near,wide/2,0])
cylinder(d=5*inch/8,h=inch/2);
translate([away,wide/2,0])
cylinder(d=5*inch/8,h=inch/2);
} | glb/cad_e8c5be7a3d39.glb |
Create a T-shaped pipe fitting consisting of three intersecting cylindrical branches. The main body is formed by two opposing female socket ends and a third branch extending perpendicularly from the center.
For each end, create a hollow cylinder with an internal core diameter and an outer diameter. The ends should fe... | use<fitting_end.scad>;
use<hex_form.scad>;
_test();
module _test(){
tee();
translate([50,0,0])color("grey")
tee(size=0.75,type="std",threads=false,ribs=true,hex=true,qual=200);
translate([110,0,0])color("blue")
tee(size=1,type="std",threads=false,ribs=true,hex=true,qual=100);
translate([120,-50,0])color("green")
tee... | glb/cad_98d6980b7dc3.glb |
Create a pipe socket fitting consisting of two mirrored cylindrical ends connected by a central body. Each end is a hollow cylinder with a length of half the total length (a/2), where the total length (a) varies by size (e.g., 34mm for a 0.5-inch size). The ends feature internal threading based on the specified core an... | use<fitting_end.scad>;
use<hex_form.scad>;
socket(hex=true);
socket_test();
module socket_test(){
socket();
translate([50,0,0])color("grey")
socket(size=0.75,type="std",threads=false,ribs=true,hex=true,qual=200);
translate([110,0,0])color("blue")
socket(size=1,type="std",threads=true,ribs=true,hex=false,qual=120);
tr... | glb/cad_5a57ad4e3190.glb |
Create a screwed pipe fitting with a total length of 100mm. The main body is a hollow cylinder with an outer diameter of 21.7mm and a wall thickness of 3.2mm.
The fitting features male threaded ends at both the top and bottom. Each threaded section is based on a core diameter of 0.734mm and an outer diameter of 0.825... | use<fitting_end.scad>;
pipe(size=0.5,length=100,threads=true);
module pipe(size=0.5,type="std",threads=true,length=100,qual=50){
if(size==0.25){
if(threads){
_pipe(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,length=200,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
}
if(!threads){
_... | glb/cad_496adbc1bfb3.glb |
Create a threaded pipe fitting. The model is a right-handed external screw thread with a diameter of 8mm, a pitch of 1mm, and a total length of 10mm.
Construct the thread using a series of stacked helical turns. Each turn should be formed by a polyhedron that creates the characteristic V-shaped thread profile. To ens... | thread_polyhedron(1.309*0.5*25.4, 1/11*25.4, false, 1,20);
pi = 3.14159265;
function segments(diameter) = min(10, ceil(diameter*6));
module metric_thread(diameter=8, pitch=1, length=1, internal=false, n_starts=1,tq=10)
{
n_turns = floor(length/pitch);
n_segments = tq;
h = pitch * cos(27.5);
union() {
... | glb/cad_f36cfb1161b4.glb |
Create a parametric cable holder consisting of three identical circular clamping units and a matching locking screw.
First, construct three cable holder units. Each unit is a cylinder with an external diameter of 18mm and a total height of 20mm. Within each cylinder, create a vertical hole that is not centered; the h... | use <scad-lib-FDMscrews/lib-FDMscrews.scad>
$fn=180;
nozzle = 0.4;
gap = 0.3;
overhang_ratio = 1;
touch_point = 3*nozzle;
cable_d = 7;
external_d = 18;
moving_h = 10;
total_h = 20;
wall = 3;
eccentric = external_d/2 - wall - cable_d/2;
num_holders = 3;
space = 3;
clip_lenght = num_holders*external_d + (num_holders-... | glb/cad_9789942b4aa0.glb |
Create a Battery Box Twin Contact holder for 4 AA batteries. The main body is a rectangular tray with a base thickness of 3mm and outer walls of 1.6mm.
Construct four cylindrical cell compartments, each with an inner diameter of 14.5mm and a total length of 56.65mm (accounting for the battery length plus compressed c... | part = "holder";
cells = 4;
mounting_lugs = "topbottom";
mounting_lug_screw_diameter = 3;
mounting_lug_thickness = 4;
center_channel_width = 3.0;
other_channel_width = 2.5;
coverRetainerClearance = 0.1;
n... | glb/cad_8458fe2a15dc.glb |
Create a watch bracelet adjustment block by starting with a solid octagonal prism that has a square footprint of 53mm by 53mm, a height of 23mm, and chamfered corners of 5mm.
Remove five 2mm diameter vertical holes from the body: one at the center and four positioned 8mm from each edge.
Cut a series of slots throug... | $fn = 20;
Edge_Length = 53;
Height = 23;
Diagonal_Slot_Width = 3.5;
Grid_Slot_Width = 3.2;
Drilling_Offset = 8;
Drilling_Hole_Diameter = 2;
module solid_block(edge_length,
height,
drilling_offset,
hole_width) {
linear_extrude(height=height) {
d... | glb/cad_3a1ae607c882.glb |
Create a sink holder for a bottle washer. Start with a base plate that is a hull formed between a flat disc and two small cylinders. The base has a bottom width of 56.5mm and a thickness of 2.4mm. From this base, extend a tapered conical section upwards to a height of 12mm, where the top diameter narrows to 46.5mm. The... | $fn=100;
$bottom_width=50.5;
$top_width=40.5;
$height=12;
$side_thickness=3;
$bottom_thickness=2.4;
$eps=0.01;
$side_cylinder_d=15;
$side_cylinder_d_indent=10;
$side_cylinder_indent=3;
$side_cylinder_height=5;
$side_cylinder_translate_x=($bottom_width/2+$side_thickness-$side_cylinder_d/2);
$side_cylinder_translate_y=(... | glb/cad_02279fc13b76.glb |
Create a 30mm projectile component by constructing a hollow cylinder. Start by creating a solid outer cylinder with a height of 2mm and a diameter of 9.65mm. From the center of this volume, remove a smaller coaxial cylinder to create a hole with a diameter of 7.65mm. This inner cutout should be 3mm in height and positi... | $fn = 100;
module outer_thing() {
color("red"){
cylinder(2, 9.65/2, 9.65/2, 0);
}
}
module inner_thing() {
color("blue"){
translate([0, 0, -1]){
cylinder(3, 7.65/2, 7.65/2, 0);
}
}
}
difference(){
outer_thing();
inner_thing();
} | glb/cad_a0060f382805.glb |
Create a customizable name charm consisting of two separate parts: a text plate and a mounting pin.
For the text plate, create a 3D extruded word based on a chosen string (e.g., "Bada") using a font size of 13mm. Extrude the text to a height of approximately 4.2mm. The bottom of the text should be integrated with a th... | $fn=48;
part="both";
textstring="Bada";
fontname="Anton";
do_shift_font="automatic";
textsize=13;
th_bottom=3;
dia_bottom=20.5;
len_throughhole=6;
dia_pin=8.5;
dia_lockpin=dia_pin*.5;
out_lockpin=dia_pin*.05;
th_topper=dia_lockpin;
th_flange=th_bottom/2;
dia_flange=dia_bottom-th_flange*2;
wiggle=.2;
topaddwiggl... | glb/cad_3751e33110d6.glb |
Create a parametric paint pot holder consisting of a wide circular base and a central cylindrical sleeve. Start by creating a flat, solid circular base with a diameter of 70mm and a thickness of 0.8mm. Centered on this base, construct a hollow vertical cylinder with an outer diameter of 34.6mm and an inner diameter of ... | InnerDiameter = 33;
WallThickness = 0.8;
TubeHeight = 25;
BaseDiameter = 70;
BaseTickness = 0.8;
Polygons = 200;
$fn=Polygons;
union() {
cylinder(r = BaseDiameter/2, h = BaseTickness);
difference(){
cylinder(r = InnerDiameter/2 + WallThickness, h = TubeHeight + BaseTickness);
cylinder(r... | glb/cad_87727b54749d.glb |
Create two closing pins for a vehicle. Each pin consists of a cylindrical base with a central vertical shaft topped with a hemispherical cap.
For the first pin, create a cylindrical base 12.5mm in diameter and 9mm high. Centered within this base, remove a cylindrical cavity 8.5mm in diameter and 8mm deep. From the to... | eps=0.001;
$fn=100;
render_left=true;
render_right=true;
module pin(pin_height=16, base_height=9) {
spring_cavity_height=8;
spring_cavity_diameter=8.5;
base_diameter=12.5;
pin_diameter=8.25;
squared_base=true;
difference() {
union() {
cylinder(h=base_height,d=base_di... | glb/cad_66abfd10945f.glb |
Create two types of seats for a Paw Patroller vehicle: a standard chair and a lounger. Both seats share a common base design consisting of a backrest and a bottom seat section.
For the backrest, create a rounded rectangular prism with a width of 36mm, a depth of 8mm, and rounded corners with a 3mm radius. For the bott... | render_chair=true;
render_lounger=true;
$fn=80;
seat_height=12;
seat_width=36;
back_width=36;
back_depth=8;
seat_void_width=21;
seat_void_height=10;
seat_void_friction_slider_inset=0.5;
seat_void_friction_slider_thickness=1;
chair_length=40;
chair_back_height=43.75;
chair_void_depth_front_offset=8.5;
lounger_leng... | glb/cad_0f6569b19121.glb |
Create an antenna mounting bracket consisting of a tiered cylindrical body with a central hollow bore. Start by creating a base cylinder with a radius of 10mm and a height of 5mm. Directly on top of this base, add a second cylinder with a radius of 9mm and a height of 20mm. To create the inner cavity, remove a central ... | $fn=123;
difference() {
union() {
cylinder(r1=20/2, r2=20/2+.25, h=5);
translate([0,0,5])
cylinder(r1=20/2+.25, r2=18/2-.25, h=1);
translate([0,0,5-.01])
cylinder(r1=18/2+.25, r2=18/2, h=20.01);
}
translate([0,0,5]) cylinder(r=12/2, h=20.01);
translate([0,0,-.01]) cylinder(r1=14.25/2... | glb/cad_33bf0a40a7a2.glb |
Create an antenna mounting bracket by starting with a base shape formed from the convex hull of two cylinders, each with a radius of 10mm and a height of 3.5mm, positioned 25mm apart along the x-axis. Add a central cylinder with a radius of 9.25mm and a height of 6.5mm to this base.
From this combined volume, remove ... | $fn=88;
difference() {
union() {
hull() {
cylinder(r=20/2, h=3.5);
translate([25,0,0]) cylinder(r=20/2, h=3.5);
}
cylinder(r=14.5/2+2, h=3.5+3);
}
translate([0,0,-.01]) cylinder(r=12/2, h=1.02);
translate([0,0,1-.01]) cylinder(r1=14.25/2, r2=14.5/2, h=3.5+3-1+.02);
translate([25-1, ... | glb/cad_d15b2501b05a.glb |
Create a UV-5R PTT dummy button by constructing a rectangular base and adding two latching tabs. Start with a main body that is 17mm long, 11mm wide, and 3mm high. Hollow out the center of this body by removing a rectangular section 15.8mm long and 9.8mm wide, leaving a wall thickness of 0.6mm on the sides and a floor ... | difference() {
hull() {
translate([.25,0,0]) cube([17-2*.25,11,3]);
translate([0,.25,0]) cube([17,11-2*.25,3]);
}
translate([.6,.6,.75]) cube([17-2*.6, 11-2*.6, 3-.75+.01]);
translate([-.01,11/2-5/2-.1,1]) cube([17.02, .1, 3]);
translate([-.01,11/2+5/2,1]) cube([17.02, .1, 3]);
}
translate([0,11/2-5... | glb/cad_4543c2be56e4.glb |
Create a tool mount for a Gladiator hook system. Start with a base support plate that is 84mm long, 21.5mm thick, and has a top surface that slopes upward at a 10-degree angle.
On top of this support, center a battery post assembly. The post consists of a rectangular block 23.75mm wide, 52mm high, and 21.5mm deep. Wi... | use <hook_base.scad>;
eps=0.001;
render_normal=true;
render_reversed=true;
render_with_hook_space=true;
module battery_post() {
post_width=21.5;
post_height=52;
translate([-23.75/2+4,0,-post_width/2]) {
difference() {
union() {
cube([23.75,post_height,post_width]);
... | glb/cad_42d52c68de2b.glb |
Create a Gladiator tool hook designed to hold 18V power tools. Start with a base hook body that includes a rectangular cutout measuring 65mm by 30mm and a height of 44mm to accommodate the tool.
Extend a hanger arm from the base. This arm should be 100mm long, tapering in thickness from 15mm at the start to 10mm at t... | use <hook_base.scad>;
render_generic_hanger=true;
render_generic_5_degree_hanger=true;
render_PSBRS01B_hanger=true;
module tool_hanger(hanger_angle=0, tool_space=44, hanger_length=100, hanger_start_thickness=15, hanger_end_thickness=10, hanger_crossbeam_on=false, hanger_diagnol_support_on=false) {
eps=0.001;
... | glb/cad_b2f21445486d.glb |
Create a Gladiator hook for power tools with a total width of 21.5mm. Start by constructing a central connecting platform that is 84mm long, 3.5mm thick, and 21.5mm wide, positioned from x=12 to x=96. On the left side, attach a vertical leg consisting of a block 25mm long, 4mm thick, and 21.5mm wide, but remove a small... | eps=0.001;
module gladiator_hook(hook_width, platform_thickness=3.5) {
union() {
translate([12,11.5,0]) {
cube([84,platform_thickness,hook_width]);
}
difference() {
cube([25,4,hook_width]);
translate([-eps,-eps,-eps]) {
linear_extrude(ho... | glb/cad_86cb0929f045.glb |
Create a protective case for an XBee Cellular development board. The main body is an open-top rectangular enclosure with a base and three walls. The base is approximately 85.2mm by 79.1mm with a shell thickness of 1.6mm. The side walls are 22mm high.
The enclosure features a complex internal layout to secure the board... | shell_thickness = 1.6;
standoff_diameter = 7;
standoff_height = 4;
wall_height = 22;
translate([-shell_thickness, 0, 0]) {
cube([shell_thickness, 77.5, wall_height], false);
}
translate([-shell_thickness, -shell_thickness, 0]) {
cube([82 + 2 * shell_thickness, shell_thickness, wall_height], false);
}
differ... | glb/cad_44dfe9796e03.glb |
Create a Jiffy Pellets tray consisting of a row of four connected cylindrical cells. Each cell should be a hollow cylinder with an outer diameter of 44.9mm, an inner diameter of 44mm, and a total height of 38mm. The walls of these cylinders must have a uniform thickness of 0.9mm.
The cylinders are arranged in a linear... | totalPairs = 2;
grani = 48;
dia = 44;
height = 38;
extrusionWidth = 0.9;
ew2 = extrusionWidth;
bottomThickness = 1.5;
extraPairs = totalPairs-1;
difference()
{
union()
{
cube([dia*extraPairs,dia+ew2,bottomThickness]);
difference()
{
union()
{
single();
translate([0,dia,0])
single();
}
translate([0,-ew2/4,botto... | glb/cad_40cba2ac1166.glb |
Create an 8x8 LED positioning jig consisting of a flat grid base with a series of aligned holes. Start by constructing a square base plate that is 108mm wide, 108mm deep, and 2mm thick. This base is formed by two intersecting rectangular slabs: one measuring 108mm by 3mm by 2mm, repeated every 15mm along the X-axis, an... | $fn=30;
spacing=15;
size=8;
hole_size=3.3;
washer_size=6;
grid_height=2;
ledhole_height=4;
module ledhole(){
translate([0,0,-ledhole_height/2]) difference(){
cylinder(d=washer_size, h=ledhole_height);
cylinder(d=hole_size, h=ledhole_height);
}
}
for(i=[0:spacing:spacing*(size-1)]){
transl... | glb/cad_78dd185417d8.glb |
Create an 8x8x8 LED Cube Case consisting of a base, a front cover, and a back cover.
First, create a base with a thickness of 2mm and overall dimensions of 116mm by 138mm. The base features side walls 24mm high with a thickness of 2mm. Incorporate four cylindrical mounting posts with an outer diameter of 7mm and an i... | $fn=30;
side_thickness = 2;
base_thickness = 2;
top_thickness = 2;
top_curve_radius = 6;
side_height = 24;
flange_height = 3;
flange_thickness = 2;
top_split_y = 105;
tab_anchor_y = 5;
tab_protrude_y = 3;
tab_thickness = 2;
tab_slit_radius = 2;
pcb_dim = [112,127,1.5];
pcb_pos = [side_thickness, 4, 12];
pcb_edge_supp... | glb/cad_2bf73ca093b5.glb |
Create a Quixx Duel box insert consisting of one dice tray and two token trays. All components should fit within a base area of 192mm by 192mm with a total height of 26mm, accounting for a 1.5mm outer wall thickness and a 3.5mm bottom thickness.
Construct the dice tray as a rounded rectangular box with external dimens... | $fa = $preview ? 12 : 3.6;
$fs = $preview ? 2 : 0.1;
render = 0;
boxWidth = 192;
boxHeight = 26;
boxThickness = 1.5;
boxBottomThickness = 3.5;
diceWidth = 15.67;
wallThickness = 2;
buffer = 0.5;
diceBoxWallPadding = buffer + wallThickness;
diceBoxWidth = diceWidth * 3 + 2 * diceBoxWallPadding;
diceBoxLength = ... | glb/cad_1d9396f95f2a.glb |
Create a "Twinkle Twinkie" desk lamp shade. Start by constructing a solid capsule-like outer shell with a width of 67mm and a height of 20mm. This shell is formed by the intersection of two cylinders with 67mm diameters centered 143mm apart along the Y-axis, joined by a central rectangular block of 67mm by 143mm, and c... | lamp_d = 61;
outer_d = 67;
inner_d = 45;
gauge = (outer_d - lamp_d)/2;
lamp_h = 13;
base_h = lamp_h + 2*gauge;
lamp_l = 160;
light_l = lamp_l-lamp_d;
$fn=90;
module twinkie(d, l, h) {
intersection() {
union () {
translate([0, l/2, 0]) cylinder(d=d, h=h);
translate([0, -l/2, 0]) cylinder(d=d, h=h);
... | glb/cad_32440b7a914f.glb |
Create a Customizable Tessellated Drawer System consisting of a hexagonal outer shell and a matching hexagonal drawer insert.
For the outer shell, create a hexagonal prism with a height of 75mm and a diameter of 82.9mm (calculated from a side length of 40mm). The shell has a wall thickness of 5mm. Hollow out the cent... | $fs=1;
$fa=1;
numSides=6;
sideLength=40;
depth=75;
shellThickness=5;
drawerThickness=2;
drawerSlop=.3;
Shell(numSides,sideLength,depth,shellThickness);
module Shell(numSides=6,sideLength=100,depth=150,thickness=10){
diameter=sideLength/sin(180/numSides);
smallRad=diameter/2*cos(180/numSides);
tabDia=thi... | glb/cad_8fc9f7529f6b.glb |
Create an LEDdial clock consisting of a main dial body and a separate gnomon.
For the dial, create a circular base with a radius of approximately 63.5mm and a height of 3mm. From this base, extend a large outer cylindrical wall with a radius of 71.5mm and a height of 10mm. This wall should be hollowed out to create a... | strip_h = 10;
led_h = 6;
strip_w = 16.5;
resolution = 24;
wall=8;
offset=30;
cable_hole_r=2;
$fn = 128;
function radius() = (strip_w*resolution) / (2 * PI);
module gnomon() {
difference() {
union() {
translate([10, 0, 0]) cylinder($fn=6, h=3, r=5);
translate([10, 0, 3]) cylinder(... | glb/cad_f60ba334ba17.glb |
Create a replacement spacer for a learning tower by constructing a solid cylinder with a height of 15mm and a radius of 15mm. Center a circular hole vertically and horizontally through the entire part, with the hole having a radius of 3.5mm and a height of 16mm to ensure it passes completely through the main body. Ensu... | difference() {
cylinder(h=15, r=15,center=true, $fn=360);
cylinder(h=16, r=3.5, center=true, $fn=360);
} | glb/cad_89f0dc5ffa79.glb |
Create a wall-mounted screwdriver holder by starting with a central rectangular block measuring 17mm wide, 36mm high, and 36mm deep. From the center of this block, remove a vertical cylindrical hole with a diameter of 11mm that passes completely through the top and bottom faces. To create the side openings, remove a ho... | $fn = 36;
hd = 11;
hs = 30;
handle_d = 30;
th = 3;
difference() {
cube([hd+(th*2), handle_d+(th*2), hs+(th*2)], center=true);
cylinder(h=hs*2, d=hd, center=true);
rotate([0,90,0]) cylinder(h=hd*2, d=hs-(th*2), center=true);
translate([0,-hs/2+th,0]) cube(hs-(th*2), center=true);
}
difference() {
... | glb/cad_059bde4b2e9e.glb |
Create a wall-mounted dowel rod holder. Start with a central rectangular block that is 61mm wide, 60mm deep, and 183mm tall. Carve a cylindrical hole through the center of the block along its depth to accommodate a 51mm diameter pole. Angle this main hole slightly at 88 degrees relative to the back face to ensure the r... | $fn = 36;
id = 51;
th = 5;
pd = 60;
w = id+1+th*2;
rotate([-90,0,0])
difference() {
cube([w, pd, w*3], center = true);
translate([0,-pd/2-5,(w*3)/2]) rotate([45,0,0]) cube(100, center = true);
translate([0,-pd/2-5,-(w*3)/2]) rotate([-45,0,0]) cube(100, center = true);
rotate([88,0,0]) cylinder(h=p... | glb/cad_58224d0a3b2a.glb |
Create a Guy Wire Ring for an antenna pole. Start with a main cylinder 71mm in diameter and 30mm high. Subtract a central vertical hole 55mm in diameter for the lower section and 52mm in diameter for the upper section. Add a tapered insert between these two diameters at a height of 27mm with a diameter ranging from 55m... | $fn=150;
GuyWire();
module BottomPlug() {
cylinder(h=8, d=14.75);
translate([0, 0, 8]) cylinder(h=12, d1=11, d2=10.5);
}
module StakeTop() {
difference() {
union() {
cube([50, 28, 22]);
translate([0, 14, 0]) cylinder(h=22, d=28);
translate([50, 14, 0]) cylinder... | glb/cad_744144ac71f4.glb |
Create a small container called a Little Box consisting of a base and a lid. For the base, start with a rounded rectangular block measuring 22.2mm wide, 22.2mm long, and 13.2mm high. Hollow out the center to create a reservoir with a diameter of 12mm and a length of 22.7mm, ensuring the interior has rounded ends. The w... | $fn=50;
translate([0,0,14])scale(1.7) fullBase();
translate([34,0,0])rotate([0,180,0])scale(1.7) fullLid();
module fullLid(){
width=13;
length=22;
height=10;
scale([1.0,1,0.99]) union(){
difference(){
lid(width=13.7);
translate([0,0,0.8])rotate([8,0,0])cube([10,10,3],ce... | glb/cad_27a560d3a009.glb |
Create a measuring scoop consisting of a hemispherical bowl and a flat handle. The bowl is formed by creating a sphere with an external radius of 25.6mm and subtracting a concentric internal sphere with a radius of 24mm to create a wall thickness of 1.6mm. Slice the bowl in half along the horizontal plane to leave only... | volume = 15;
thickness = 1.6;
handleLengthD = 50;
handleTickness = 3;
handleWidth = 15;
hangingHoleDistance = 3;
text_size_top = 6;
text_thickness_top = 1.0;
text_offset_y_top = 0;
text_offset_x_top = 0;
text_font_top = "Aharoni:style=Bold";
text_size_bottom = 6;
text_thickness_bottom = 1.0;
text_offset_y_bottom... | glb/cad_421141d44612.glb |
Create a replacement luggage wheel by constructing a thick cylinder with a diameter of 53mm and a height of 11.5mm. Centered within this main body, remove a smaller cylindrical core to create a hole that is 13mm in diameter and 7mm deep, leaving a solid base at the bottom of the wheel. | $fa = 1;
$fs = 0.1;
difference() {
cylinder(11.5,53/2,53/2);
cylinder(7,13.5/2,6.5/2);
} | glb/cad_2e2d8e7d62be.glb |
Create an Undermount Paper Plate Dispenser with an overall height of 60mm and a wall thickness of 3mm. The main body is a hollow cylinder that transitions from an inner diameter of 215mm to an outer diameter of 230mm over a transition height of 10mm, then maintains the 230mm diameter for the remaining height.
At the ... | plate_dia_inner=215;
plate_dia_outer=230;
transition_height=10;
dispenser_width=150;
dispenser_height=2;
filler_width=0;
filler_height=0;
thickness=3;
overall_height=60;
screw_dia=4.3;
screw_angle=110;
$fn=200;
difference(){
hull(){
translate([0,plate_dia_outer/2+screw_dia/2+2*thickness,overall_height-thickness])
cyli... | glb/cad_aa6e41171919.glb |
Create an Undermount Paper Plate Dispenser with an overall height of 60mm and a wall thickness of 3mm. The main body is a hollow cylinder with an outer diameter of 246mm and an inner diameter of 215mm. The bottom 10mm of the walls should transition linearly from the inner diameter to the outer diameter.
At the bottom ... | plate_dia_inner=215;
plate_dia_outer=240;
transition_height=10;
dispenser_width=150;
dispenser_height=2;
filler_width=222;
filler_height=20;
thickness=3;
overall_height=60;
screw_dia=4.3;
screw_angle=110;
$fn=200;
difference(){
hull(){
translate([0,plate_dia_outer/2+screw_dia/2+2*thickness,overall_height-thickness])
c... | glb/cad_c31e610db473.glb |
Create an Undermount Paper Bowl Dispenser with an overall height of 90mm. Start by constructing the main outer body as a composite shape: create a cylinder with a base diameter of 186mm (180mm inner diameter plus 3mm wall thickness) and a height of 10mm, which then transitions into a larger cylinder with a diameter of ... | plate_dia_inner=180;
plate_dia_outer=195;
transition_height=10;
dispenser_width=130;
dispenser_height=2;
filler_width=185;
filler_height=38;
thickness=3;
overall_height=90;
screw_dia=4.2;
screw_angle=110;
$fn=200;
difference(){
hull(){
translate([0,plate_dia_outer/2+screw_dia/2+2*thickness,overall_height-thickness])
c... | glb/cad_d239b97791f0.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.