Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a model of a Creality hot end tube. Construct a cylinder with a radius of 2mm and a height of 50mm. Centered along the longitudinal axis of this cylinder, create a smaller coaxial hole with a radius of 0.875mm (1.75mm diameter) that runs through the entire length of the tube. Ensure the final geometry is a hollo... | eps=1e-3;
do_intersection = true;
do_insert = false;
do_block = false;
do_heatsink = false;
do_nozzle = false;
do_tube = true;
include <threads.scad>
module heatsink()
{
difference()
{
intersection()
{
difference()
{
translate([0,0,6])
rotate([-9... | glb/cad_259264d55b4e.glb |
Create a filament guide consisting of a main rectangular body and a circular guide ring. Start by creating a rectangular base measuring 80mm in length, 11mm in width, and 4mm in height. Center this base on the origin.
At one end of the base, centered at X=75.4mm, Y=0, and Z=0, add a torus with a major radius of 12mm ... | $fn=100;
use <MCAD/regular_shapes.scad>
difference () {
union() {
color("red")
translate([75.4,0,0]) rotate([90,0,0])
torus(12,2);
cube(size = [140,10,4], center = true);
color("green")
translate([-29,-1.5,0])
minkowski() {
cube(size = [80,11,4], center = true);
cylinder(r=1,h=0.4);
}
color("black")
tr... | glb/cad_ba3f85bd07cb.glb |
Create a Seatpos mount for Garmin accessories. Start by constructing a hollow cylindrical clamp with an outer diameter of 35mm and an inner diameter of 27.8mm, with a total height of 18mm. The clamp should be oriented at a 73-degree angle.
Integrate a central mounting block that connects to the clamp. This block shoul... | use <common_schrauben.scad>
use <common_muttern.scad>
height = 18 ;
seatpos_angle = 73;
screw_distance = 11 ;
difference(){
union(){
intersection()
{
rotate([90-seatpos_angle,0,0])
translate([0,16,0])
translate([0,0,-60])
linear_extrude(120)
difference()
{
circle(d=35);
circle(... | glb/cad_491fd0a8620e.glb |
Create an end cap for a 2-inch pipe consisting of a cylindrical base and a conical top. Start by creating a solid cylinder with an outer diameter of 52.2mm and a total height of 21.3mm.
From the center of this cylinder, remove a vertical hole with a diameter of 5.3mm that runs through the entire length of the object.... | HC = 10;
HE = 10;
OD1 = 52.2;
ID2 = 5.3;
NWIDE = 10;
NHIGH = 2;
TH1 = 1.5;
ETHICK = 1.3;
ED1 = 200;
ED2 = 50;
delta = 0.05;
HT = HE + HC + ETHICK +delta;
OR1 = OD1/2;
IR2 = ID2/2;
module cyl() {
difference() {
cylinder(h=HT,d=OD1,$fn=ED1);
union() {
translate([OR1-(TH1*2+delta),-(NWIDE/2),-delta]) cube(... | glb/cad_2635b6875839.glb |
Create a parametric dry erase marker holder. Start with a base block for the eraser that is 61mm wide, 41mm deep, and 53mm high. Inside this block, remove a rectangular hole measuring 55mm wide, 35mm deep, and 50mm high, positioned 3mm from the bottom and side walls.
Attached to the side of the eraser block, create a ... | markers = 6;
height = 50;
thickness = 3;
eraser_width = 55;
eraser_depth = 35;
marker_rad = 10;
marker_ridge_height = 5;
fastener_width = 15;
nudge = 0.1;
precision = 100;
difference(){
union(){
color("blue")
cube([eraser_width + thickness * 2, eraser_depth + thickness * 2, height + thickness]);
color("g... | glb/cad_1fd88bebb99a.glb |
Create a hot air funnel designed as a tapered conical sleeve. Start by constructing a primary hollow cone with a large base diameter of 50mm and a small top diameter of 10mm, extending to a height of 90mm. This main body should be hollowed out by a concentric inner cone with a base diameter of 47.7mm and a top diameter... | translate([70,100,25])
rotate([10,0,0])
feed();
difference(){
translate([70,120,28.5])
rotate([100,0,0])
cylinder(d=50,h=25);
translate([70,120.1,28.5])
rotate([100,0,0])
cylinder(d=47,h=26);
}
module feed(){
difference(){
hull() {
difference(){
rotate([90,0,0])
cylinder(d1=50,d2=10,h=90);
translate([0,8,0])
rotat... | glb/cad_c1a634c9dc5a.glb |
Create a Customizable Shelf Pen Holder. Start with a main rectangular body that is 138mm wide, 61.5mm high, and 80mm deep.
Within this body, create a grid of 40 square holes (4 rows by 10 columns). Each hole should be 12mm by 12mm and 80mm deep, with a spacing of 1.5mm between the holes and between the holes and the ... | rows = 4;
columns = 10;
size = 12;
innerThickness = 1.5;
depth = 80;
clipWidth = 10;
angle = 10;
shelfThickness = 20;
width = (columns * size) + innerThickness * (columns + 1);
height = (rows * size) + innerThickness * (rows + 1);
module model()
{
union(){
difference() {
body();
holes();
... | glb/cad_1dbbb08c6e30.glb |
Create a parametric bottle cap with an integrated spout. Start by constructing a hollow cylindrical base with an internal diameter of 20.5mm, an internal height of 13.4mm, and a wall thickness of 1.6mm.
On top of this base, add a tapered spout that extends 15mm upward. The spout should transition from a base diameter... | include <helix_extrude.scad>
$fn = 60;
Cd = 20.5;
Ch = 13.4;
Ct = 1.6;
Sd = 10;
Sm = 2.5;
Sh = 15;
St = 0.8;
Sp = 0.4;
Ti = 3;
Tt = 2;
Tp = 3;
Th = 1.1;
Tw = 2;
Ts = Tw * 3 / 5;
Eh = Tw * 0.95;
Ez = Tw / 2;
El = Cd / 8 ;
Ed = El / 9 ;
union() {
difference(){
cylinder(h=Ch+Ct, d=Cd+Ct*2);
cylind... | glb/cad_b0b763eed137.glb |
Create a partial rotate extrude model of a curved pipe section. Start by defining a cross-section that consists of a teardrop shape with a diameter of 10mm, created by merging a circle of 5mm radius with a square of 5mm side length rotated 45 degrees. Hollow out this cross-section by removing a smaller concentric teard... | use <../MCAD/regular_shapes.scad>;
use <../MCAD/shapes.scad>;
include <../3D-PCB/3D-PCB.scad>;
partial_rotate_extrude(235, 20, 10)
cross_section(10,2);
module teardrop_flat(diameter) {
union() {
circle(r = diameter/2, $fn = 100, center=true);
rotate(45) square(diameter/2);
}
}
module cross_section(diameter, th... | glb/cad_40430cc72e7c.glb |
Create a parametric building block with a base footprint of 15.7mm by 31.4mm and a total height of 9.6mm. The main body is a hollow rectangular shell with a wall thickness of 1.2mm.
On the top surface, place a grid of 8 cylindrical studs (2 columns by 4 rows). Each stud must have a diameter of 4.85mm and a height of ... | CellX = 2;
CellY = 4;
ShellThickness = 1.2;
Webs = true;
CellWidth = 7.85;
Height = 9.6;
NubbinHeight = 2.4;
NubbinDiameter = 4.85;
NubbinPitch = 8.00;
holeOD = 6.6;
$fa = 5; $fs = 1;
difference() {
cube(size=[CellWidth*CellX, CellWidth*CellY, Height], center=true);
translate([0, 0, -ShellThickness])
... | glb/cad_30d01a024462.glb |
Create a bottle thread tester by starting with a square plate that is 28.25mm wide, 28.25mm deep, and 2mm thick. On one edge of the plate, create a series of repeating tooth-like protrusions. Each tooth should be a polygon with a base width of 4mm and a height of 2mm, with the top edge of each tooth sloping inward to a... | thread_pitch = 4;
outer_d = 28.25;
num = floor(outer_d/thread_pitch)+2;
pos = num*thread_pitch/2;
delta = 0.05;
difference() {
union(){
translate([0,-num*thread_pitch+delta,-1])cube([num*thread_pitch,num*thread_pitch,2]);
for (i=[0:num-1])
translate([i*thread_pitch,0,0])linear_extrude(height = 2, center = true, con... | glb/cad_699084518141.glb |
Create a customizable bed frame support consisting of a hollow rectangular box with integrated pins. Start with a main outer block measuring 124.5mm wide, 12.5mm high, and 57mm deep. Hollow out the center of this block by removing a volume of 120.5mm by 8.5mm by 55mm, leaving a wall thickness of 2mm on all sides except... | tableWidth = 120.5;
tableHeight = 8.5;
tableDeep = 55;
notchRadius = 30;
pinDiam = 9;
pinDiam2 = 11;
pinHeight = 2;
pinCount = 5;
pinGape =2;
pinIntercenter = 85;
pinCenter = 15;
wallThick=2;
difference (){
cube ( [tableWidth + 2* wallThick, tableHeight + 2* wallThick, tableDeep + wallThick], center =true... | glb/cad_3d41f4dc7de3.glb |
Create a Calibration Thing by constructing a solid 20mm x 20mm x 20mm cube and removing specific internal volumes to create a hollowed-out frame. First, form the main body by combining three rectangular slabs: one that is 20mm x 20mm x 5mm on the base, one that is 20mm x 5mm x 20mm along the back edge, and one that is ... | difference() {
union() {
cube([20,20,5]);
cube([20,5,20]);
cube([5,20,20]);
}
translate([0,5,5]) cube([20,10,10]);
translate([5,0,5]) cube([10,20,10]);
translate([5,5,0]) cube([10,10,20]);
} | glb/cad_5cd010776558.glb |
Create a 3D model of an Orange Pi Zero single board computer. Start with a main rectangular board measuring 48.25mm by 46.25mm with a thickness of 1.65mm, adding a 3mm fillet/rounding to the edges. Place four 3mm diameter holes through the board, positioned symmetrically at the corners.
On the top surface, add the fol... | OPI();
module OPI(){
difference(){
color([0,0.6,.9]) minkowski(){
dia = 3;
cube([48.25-dia, 46.25-dia, 1.65], center = true);
cylinder(d = dia, h = 0.1, center = true, $fn = 24);
}
for(i = [-1:0], j = [-1:2:1]) translate([21*cos(180*i), 20.25*sin(90*j), 0]) cylinder(d = 3, h = 3, cente... | glb/cad_d245865f4257.glb |
Create a Dupont Holder consisting of a vertical backplate and a series of protruding forks. Start by creating a rectangular backplate 4mm wide, 15mm high, and 15mm deep. Cut two horizontal cylindrical holes through the backplate, each 3mm in diameter, positioned symmetrically to allow for mounting. From the front face ... | height=4;
distance=2.5;
size=2;
length=40;
top=3;
units=12;
$fn=40;
module fork(length)
{
cube([length,size,height]);
translate([length,size/2,0])
cylinder(d1=top,d2=top,height);
}
difference()
{
cube([4,units*(size+distance)+2*distance,15]);
translate([-5,(units*(size+distance))/4,10])
rotate... | glb/cad_3ec4fa85f5aa.glb |
Create a parametric potentiometer knob with an outer diameter of 9.6mm and a total height of 11mm. The main body is a cylinder with a slightly rounded base. Carve a central vertical hole through the bottom 9mm of the part; this hole should be D-shaped with a diameter of 6.18mm and a flat width of 1.7mm. Additionally, r... | $fn=100;
od=9.6;
id=6+0.18;
h=11;
d=9;
bd=1;
n=8;
tpw=1;
type=0;
Dw=1.7;
Dh=2;
translate([ 0, 0, 0])
{
difference()
{
rounded_cylinder(r=od/2,h=h,n=1);
if(type)
{
translate([ 0, 0, -1])
cylinder(r=id/2,h=d+1);
}
else
{
... | glb/cad_0221e0b82f4d.glb |
Create a Wismec CB 1 protector consisting of three separate components: an atomizer top cover, a mod base cover, and a mod top cover.
For the atomizer top cover, create a conical shape with a height of 15mm, tapering from a bottom diameter of 42mm to a top diameter of 22mm. Within this, remove a central cylinder of 14... | $fn=64;
x_outer_scale= 1.13;
y_outer_scale= 1.1;
module base (base_height, tank_part , outside )
{
intersection () {
{
if (tank_part == true )
{
translate ([0,-3.7,0 ])
if ( outside == true )
cylinder ( h=base_heigh... | glb/cad_981d80f585cb.glb |
Create a CNC mill motor holder. Start with a rectangular base measuring 33mm wide, 65mm long, and 2mm thick. On the left side of this base, extend a vertical rectangular wall upwards to a height of 30mm and a width of 33mm.
Integrated into the base and the vertical wall, create a large cylindrical cutout with an outer... | $fn = 50;
use <squareTriangles.scad>;
difference(){
cube([2,65,50]);
color("red") translate([-.1,10.5,45.75]) rotate([0,90,0]) cylinder(2.2, d=3);
color("red") translate([-.1,54.5,9.25]) rotate([0,90,0]) cylinder(2.2, d=3);
}
translate([25, 0, 0])
union(){
translate([22.5, 22.5, 0])
difference(){
cyl... | glb/cad_293916f74974.glb |
Create a CNC mill motor holder by constructing a hollow cylinder with an outer diameter of 6mm and an inner diameter of 4mm. The cylinder should have a total height of 9mm. Ensure the walls are uniform and the central hole passes completely through the object from top to bottom. | $fn=50;
difference(){
cylinder(9, d=6);
cylinder(9, d=4);
} | glb/cad_0cb49d4c927c.glb |
Create a CNC mill motor holder for an Anet A8. Start with a base rectangular plate measuring 50mm by 56mm with a thickness of 1mm. At the coordinates (4, 4) and (36, 48), create two vertical holes with a diameter of 3mm and a depth of 4mm.
Construct a vertical wall extending 30mm upward from one 56mm edge of the base.... | $fn = 50;
use <squareTriangles.scad>;
difference(){
union(){
cube([50,56,1]);
translate([4,4,0]) cylinder(2, d=5);
}
translate([4,4,-.5]){
translate([0,0,0])
cylinder(4, d=3);
translate([36,48,0])
cylinder(2, d=3);
}
}
translate([4,0,0]) cube([3... | glb/cad_86a5bfd87ba6.glb |
Create a tool handle for a spot face cutter by starting with a hexagonal prism that is 80mm long. The overall shape is a hull created between two 14mm diameter hexagons, resulting in a long hexagonal bar with rounded ends. Scale the vertical axis of the entire body to approximately 13.4mm to slightly flatten the profil... | include <MCAD/polyholes.scad>;
difference() {
scale([1,1,14/15.5])minkowski() {
hull() {
sphere(d=14, $fn=6);
translate([80,0,0])sphere(d=14, $fn=6);
}
sphere(d=2, $fn=12);
}
rotate([0,270,0])translate([0,0,-20])rotate(180)difference() {
polyhole(30,... | glb/cad_be1415845054.glb |
Create a parametric electronics box consisting of a bottom base and a top lid.
For the bottom base, create a rounded rectangular shell with outer dimensions of 127mm width, 157mm length, and a total height of 30mm (25mm depth plus a 5mm bottom plate). The walls should be 3.5mm thick. The interior should be hollowed o... | $fn=100;
translate([-w/2-10,0,d+bpt+tpt])
rotate(a=180, v=[0,1,0])
box_top();
translate([w/2+10,0,0])
box_bottom();
w=120;
h=150;
d=25;
wt=3.5;
bpt=5;
tpt=5;
cd=5;
cwt=1.5;
cx=0;
cy=0;
chs_i=1.5;
chs_o=4;
dsth=3;
chd_h=90;
chd_v=90;
cx1=0;
cy1=0;
chs_i1=1.6;
chs_o1=3;
chd_h1=h-2*chs_i1-2;
chd_v1=w-2*c... | glb/cad_6d904ed30f78.glb |
Create a parametric cone-like shape with a total height of 20mm. The base should be a regular polygon with a radius of 20mm and exactly 3 sides, forming an equilateral triangle. The shape should taper linearly from this triangular base to a single point at the top, resulting in a triangular pyramid with a top radius of... | height = 20;
bottom_radius = 20;
top_radius = 0;
number_of_faces = 3;
cylinder(height,bottom_radius,top_radius,$fn=number_of_faces); | glb/cad_c9d94a12113b.glb |
Create an odd-shaped box with hidden hinges. The main body of the box is a hyperellipse (a rectangular prism with rounded edges) that has been inverted on a sphere to create a non-standard, organic geometry.
Construct the hidden hinge mechanism using a series of interlocking arms. Create five arm layers for the top hi... | include <bevels.scad>;
delta = 1;
hingeLeafNumber = 5;
hingeHoleDiam = 1.75;
hingeHoleBossDiam = 6;
hingeHoleBossThickness = 4.0;
hingeHoleArmThickness = 2.4;
hingeArmLengthA = 12 ;
hingeArmLengthB = 24;
hingeBossClearance = 0.3;
delta = 1.0;
hingeBaseAngle = -25;
th2 = hingeBaseAngle/2-30;
fu... | glb/cad_877ddc3bc331.glb |
Create a Lego-compatible slope brick with a 2x4 stud configuration. The main body is a rectangular prism with a base measuring 15.7mm by 31.4mm and a total height of 9.6mm. One end of the brick is a vertical wall, while the opposite end slopes linearly from the full height of 9.6mm down to a height of 2.2mm at the base... | CellY = 4;
type = 0;
ShellThickness = 1.2;
CellX = 2;
CellWidth = 7.85;
Height = 9.6;
NubbinHeight = 2.4;
NubbinDiameter = 4.85;
NubbinPitch = 8.00;
holeOD = 6.6;
StepHeight = 2.2;
eps = 0.1;
$fa = 5; $fs = 1;
union() {
difference() {
main_volume(true);
main_volume(false);
}
insides();
... | glb/cad_b8d13503e2c7.glb |
Create a pitcher lid by revolving a specific profile around a central vertical axis. The overall outer diameter of the lid is 110.5mm.
Start with a base plate that is 1.8mm thick. From this base, extend a vertical outer wall reaching a total height of 45mm. The wall should have a thickness of 1.8mm. The top edge of t... | preview = true;
d_x = 110.5;
d_x2 = 105;
h_1 = 45;
h_2 = 5;
h_3 = 5;
r_r = 1;
r_ra = 5;
x_h = 9;
d_schn = 35;
w = 1.8;
p = w;
c = 0.4;
angle = 60;
tau = 2 * PI;
xy_factor = 1/tan(angle);
z_factor = tan(angle);
some_distance = 50;
ms = 0.01;
r_r2 = r_r+w;
r_x = d_x/2;
r_x2 = d_x2/2;
k = r_x-r_x2;
h_h = p + h_3;
... | glb/cad_e8d48cdf82f5.glb |
Create a Rotational Binary Print Module consisting of a series of small rectangular blocks arranged in a circular pattern. Each block must be 4mm wide, 1mm high, and 1mm deep. The blocks are positioned along a circle with a radius of 20mm.
Following the binary string "01111011101", place a block only where a "1" appe... | include <shapes.scad>
module binaryprint(string, blocksize) {
for (i=[0:len(string)-1])
{
if (string[i] == "1") {
translate([(i+1)*blocksize,0,0]) cube ([blocksize*4,blocksize,blocksize]);
}
}
}
module binaryprint_circular(string, block_size, radius, b_ccw )
{
angle_fraction = (block_size*2) / (2*3.141592... | glb/cad_5255eb2a3aa8.glb |
Create a 3D super-ellipsoid centered at the origin. The shape should have overall dimensions of 100mm in length, width, and height (X, Y, and Z axes). Define the geometry using a horizontal squareness parameter of 3 and a vertical squareness parameter of 3 to give the object a rounded, cubic appearance. Use a facet res... | shape = "superellipsoid";
r = 3;
t = 3;
xLength = 100;
yLength = 100;
zLength = 100;
fragments = 64;
center = 0;
main(shape, r, t, xLength, yLength, zLength, fragments, center);
function xScale(scale) = scale == undef ? 1.0 : scale[0] == undef ? scale : scale[0];
function yScale(scale) = scale == undef ? 1.0 : ... | glb/cad_148d25316499.glb |
Create a chess king piece by stacking several geometric primitives along a central vertical axis. Start with a wide, circular base that is a cylinder 35mm in diameter and 4.5mm high. Above this, place a larger, shallow cylinder 20mm in diameter and 10mm high. From the center of this base, extend a tapered conical secti... | translate([0, 0, 2])
cylinder(5,5,0);
translate([0, 0, 1])
scale([1,1,.75])
cylinder(5,5,0);
translate([0, 0, 10])
cube([5,7,15], center=true);
translate([-2.5, -7.5, 7.5])
cube([5,15,5]);
translate([0, 0,-16.5])
scale([.5,.5,.5])
cylinder(35, 10, 20);
translate([0,0,-12])
scale([1,1,.25])
sphere(8);
translate([0... | glb/cad_cd3bac136cc5.glb |
Create a Raspberry Pi Camera CCD lens mount consisting of a square base and a threaded cylindrical tower. Start with a square base 16mm wide, 16mm long, and 6mm high. Hollow out the center of this base by removing a 10mm square section, leaving a wall thickness of 3mm.
Add two cylindrical mounting posts extending fro... | include <lib/polyScrewThread_r1.scad>
include <MCAD/units.scad>
base_size = 16;
base_height = 6;
base_cavity_margin = 3;
thread_diameter = 12.25;
thread_margin = 2;
thread_pitch = 0.5;
mount_height = 15.5;
hole_distance = 21;
hole_diameter = 2.0;
hole_style = 1;
hole_height = 3.5;
miniconnector_x = 8.5;
miniconnect... | glb/cad_5dfd2c83a8f1.glb |
Create a Raspberry Pi Camera CCD Lens GoPro case consisting of a two-part housing. The main body is a rectangular enclosure with external dimensions of 31mm in width (x), 29mm in depth (y), and 10mm in height (z), featuring rounded corners with a radius of 1.8mm.
The back section of the case is a hollowed shell with ... | wall = 1.8;
bottom = wall;
top = 0;
board_x_padding = [0.5, 0.5];
board_y_padding = [5, 0.5];
board_z_padding = [5, 4];
board_x = 25;
board_y = 24;
board_z = 1;
x = board_x_padding[0] + board_x + board_x_padding[1];
y = board_y_padding[0] + board_y + board_y_padding[1];
z = board_z_padding[0] + board_z + board_z_pad... | glb/cad_f9747e264d5c.glb |
Create a Battery Holder consisting of a rectangular base with a grid of cylindrical holes. The base should have a total thickness of 21mm, with a 1mm solid floor beneath the holes.
The base dimensions are determined by a grid of 4 columns and 3 rows of batteries. For AA batteries, each hole should have a diameter of ... | TYPE_BUTTON = -1;
TYPE_LITHIUM = -2;
TYPE_CUSTOM = -3;
TYPE_AA = 0;
TYPE_AAA = 1;
TYPE_N = 1;
TYPE_A23 = 1;
TYPE_C = 2;
TYPE_D = 3;
TYPE_9V = 4;
TYPE_CR2 = 5;
batteryType = TYPE_AA;
specialCode = 2032;
batteryCols = 4;
batteryRows = 3;
batteryPadding = 2;
bat... | glb/cad_24960d029736.glb |
Create an Exercise Bike Timer Holder consisting of a curved strap support and a rectangular clamp box.
First, create a curved support section that wraps 120 degrees around a cylinder with a 36mm diameter. This section has a thickness of 1mm and a width of 13mm. To provide grip, integrate ten small spherical knurls wi... | extra = 1;
strap_width = 13 + extra;
strap_thick = 1 + extra;
clamp_width = 23;
clamp_depth = 13;
clamp_length = 11;
bar_od = 36;
wall = 3;
knurl_depth = 1;
strap_dist = wall + (strap_thick + bar_od) / 2;
clamp_dist = str... | glb/cad_ee60ba29d0f6.glb |
Create a toy key consisting of a vertical shaft, a tapered tip, and a circular handle. Start by creating a main cylinder with a diameter of 15mm and a height of 100mm. At the top of this cylinder, add a conical section that tapers from a 15mm base diameter down to a 5mm diameter over a height of 10mm. At the very top, ... | WaterMarkHeight =15;
translate([0,-21,0])
Label("2",30);
module Label(txt,s)
{
linear_extrude(height = WaterMarkHeight) {
text(txt, size = s, font = "Comic Sans MS:style=Bold", halign = "center", valign = "center", $fn = 16);
}
}
cylinder(d=15,h=100);
translate([0,0,100])
cylinder(d2=5,d1=15,h=... | glb/cad_c16164d416e3.glb |
Create a toy key consisting of a vertical shaft and a circular head. Start by creating a main cylindrical shaft with a diameter of 6mm and a total height of 54mm. At the base of this shaft, add a 3D numeral "3" with a height of 3mm, centered and facing forward. At the top of the shaft, create a transition section that ... | $fn=30;
height=60;
lock=height/100*10;
ring=height/100*30;
WaterMarkHeight = ring/2;
translate([0,-ring/2.6,0])
Label("3",ring/2);
module Label(txt,s)
{
linear_extrude(height = WaterMarkHeight) {
text(txt, size = s, font = "Comic Sans MS:style=Bold", halign = "center", valign = "center", $fn = 16)... | glb/cad_11839302f02b.glb |
Create a filament holder axle hub consisting of a central vertical cylinder and a circular base plate. Start with a base plate that is a cylinder 77mm in diameter and 4mm thick. From the center of this base, extend a vertical hollow tube with an outer diameter of 30mm and an inner diameter of 23mm, reaching a total hei... | module fillet_xyz(x,y,z)
{
hyp=sqrt((y+2)*(y+2) + (z+2)*(z+2));
ang = atan2(z,y);
angshift = atan2(z+2,y+2);
intersection ()
{
cube(size=[x,y,z], center=true);
rotate ([90-ang,0,0])
translate ([0, -0.5*(hyp)*cos(angshift), 0]) {
cube(size=[x+2,y+2,hyp], center=... | glb/cad_559fa712734b.glb |
Create a filament holder spoke clamp. Start with a central ring that has an outer diameter of 30mm and a height of 40mm, using a 10-sided polygonal resolution. Hollow out the center of this ring with a 22mm diameter hole. Within this ring, create a vertical slot 5mm wide and 20mm high, centered on the Y-axis, and add a... | module fillet(x,y,ang)
{
hyp=sqrt((y+2)*(y+2) + (y+2)*(y+2)*tan(ang)*tan(ang));
intersection ()
{
cube(size=[x,y,y*tan(ang)], center=true);
rotate ([90-ang,0,0])
translate ([0, -0.5*(hyp)*cos(ang), 0]) {
cube(size=[x+2,y+2,(hyp)], center=true);
}
}
}
module cup... | glb/cad_a3f27a130b8e.glb |
Create a Raspberry Pi mount designed to clip onto a 6mm thick frame. Start with a main rectangular base measuring 200mm in length, 55.3mm in width, and 6mm in height.
At each end of the base, add vertical uprights that are 6mm wide and 16mm tall (6mm base thickness plus 10mm extension). Position these uprights such t... | pads = 1;
frame_w = 55.3;
frame_t = 6;
mount(pads);
module mount(pads = 1){
delta = 0.1;
translate([0,0,0])
rotate(a=0, v=[0,0,0])
difference()
{
union()
{
if (pads==1){
color("green") translate([80,18,0]) rotate(a=0, v=[0,0,0]) cylinder(r=4, h=6, $fn=25);
color("green") translate([25.5,43.5,0]) rotate(a=0, v=[0... | glb/cad_4b0194bdc47c.glb |
Create a Prusa I3 single frame z-axis-bottom motor raising holder. Start with a base composed of several intersecting rectangular blocks: one 8x40x41mm block, two 30x5x22mm blocks positioned at [0,-5,0], a 50x15x5mm block, and an 18x50x5mm block.
From this base, remove several geometric volumes to create cutouts. Subt... | clearance = 5;
module z_bottom_base(){
translate([0,0,0]) cube([8,40,16+25+clearance]);
translate([0,-5,0]) cube([30,5.01,22]);
translate([0,-5,0]) cube([8,5.01,22+clearance]);
translate([0,-5,0]) cube([50,15,5]);
translate([0,-5,0]) cube([18,50,5]);
}
module z_bottom_fancy(){
translate([0.5,-2.5,0]) rotate([0... | glb/cad_53d558f0cd1a.glb |
Create a guitar effects pedal foot pad consisting of two concentric cylindrical sections. First, construct a wide, flat circular base with a radius of 30mm and a height of 3mm. Centered on top of this base, add a smaller, thicker cylinder with a radius of 7mm and a total height of 7mm. Finally, create a vertical hole t... | $fn=128;
rotate([-5, 0, 0])
union() {
translate([0, 0, 2])
difference() {
difference() {
cylinder(h=5, r=7);
cylinder(h=5, r=5.5);
}
}
cylinder(h=2, r=7);
rotate([5, 0, 0])
translate([0, 0, -2])
cylinder(h=3, r=30);
} | glb/cad_9cf5b83e87a5.glb |
Create an Extruder for Planetary Gearbox consisting of three main components: an extruder block, an idler assembly, and a support strut.
First, construct the extruder block. Create a central cylinder with a radius of 11.2mm and a height of 3mm. From this base, extend two mounting brackets; each bracket is a union of a... | translate([0,0,0]) rotate([0,0,90]) extruder_block();
translate([-42, -5, 0]) extruder_idler_608z();
translate([-6, 25, 0]) support_strut();
translate([-35, 25, 0]) axle_8mm();
nema_l=71.5;
nema_x=42;
nema_y=42;
nema_z=47.4;
screw_l=30;
insert_l=15;
module axle_8mm() {
cylinder(16,r=3.80, $fn=40);
translate([-5,-0... | glb/cad_2468f9cd678d.glb |
Create an Extruder for Planetary Gearbox block. Start with a base cylinder of radius 18mm and height 3mm. Centered on this base, remove a concentric cylinder with a radius of 11.2mm and height 4.01mm to create a central ring.
Add four M3 screw holes by removing cylinders of radius 1.75mm and height 40mm, positioned sy... | translate([0,0,0]) rotate([0,0,90]) extruder_block();
nema_l=71.5;
nema_x=42;
nema_y=42;
nema_z=47.4;
screw_l=30;
insert_l=15;
module axle_8mm() {
cylinder(16,r=3.80, $fn=40);
translate([-5,-0.5,0]) cube([10,1,1]);
translate([-0.5,-5,0]) cube([1,10,1]);
difference() {
cylinder(1,r=10, $fn=40);
translate([0,0... | glb/cad_d14c3b29e7da.glb |
Create a parametric cylindrical measuring spoon. Start by constructing the bowl as a solid cylinder with an outer radius of 4.14mm and a total height of 11.5mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 3.99mm and a height of 10mm, leaving a flat base with a thick... | volume = 5.0;
bowlHeight = 10.0;
gripLength = 50.0;
gripWidth = 0.0;
gripHoleDiameter = 0.0;
thickness = 1.5;
grip = 1;
gripHole = 1;
gripPosition = "bottom";
CP = 75;
rad = sqrt( (volume * 1000) / (PI * bowlHeight) );
... | glb/cad_4e59a0478102.glb |
Create a Mist Spray Holder designed to hold a spray can vertically. The main body is a hollow cylindrical shell with an outer diameter of 75mm (68mm inner diameter plus 7mm walls) and a total height of 152mm.
The bottom of the holder is rounded into a hemispherical base. The top section features a recessed ring with ... | $fn=64;
length = 152;
diameter = 68;
wall = 7;
holesize=(length-12*3)/2;
bottomhalf();
module tophalf()
{
difference()
{
fullholder();
translate([500,-500,0])
rotate([0,180,0])
cube(1000);
}
}
module bottomhalf()
{
difference()
{
fullholder();
translate([-500,-500,0])
cube(1000);
}
}
module full... | glb/cad_2b39e4720535.glb |
Create a Mist Spray Holder designed to hold a spray can vertically. The main body is a hollow cylinder with an outer diameter of 75mm (68mm inner diameter plus 7mm walls) and a total height of 152mm.
The cylinder should be open at the top and have a hemispherical bottom. Create a vertical slot 14mm wide and 31mm deep... | $fn=64;
length = 152;
diameter = 68;
wall = 7;
holesize=(length-12*3)/2;
bottomhalf();
tophalf();
module tophalf()
{
difference()
{
fullholder();
translate([500,-500,0])
rotate([0,180,0])
cube(1000);
}
}
module bottomhalf()
{
difference()
{
fullholder();
translate([-500,-500,0])
cube(1000);
}
}
... | glb/cad_bd1111603b86.glb |
Create a Mist Spray Holder designed to hold a spray can vertically. The main body is a semi-cylindrical shell with an outer diameter of 75mm (68mm inner diameter plus 7mm walls) and a total height of 152mm.
The interior is hollowed out to accommodate a can, with a further recessed hollow neck ring of 28mm radius. At ... | $fn=64;
length = 152;
diameter = 68;
wall = 7;
holesize=(length-12*3)/2;
tophalf();
module tophalf()
{
difference()
{
fullholder();
translate([500,-500,0])
rotate([0,180,0])
cube(1000);
}
}
module bottomhalf()
{
difference()
{
fullholder();
translate([-500,-500,0])
cube(1000);
}
}
module fullhol... | glb/cad_a3bc6c838f83.glb |
Create a Mist Spray Holder by starting with a rectangular base measuring 114.3mm in length, 1mm in width, and 1.27mm in height.
Remove two vertical cylindrical holes with a radius of 6.5mm, positioned at opposite ends of the base. The first hole is centered at the start of the length, and the second is positioned 69m... | $fn=64;
span = 88-19;
diameter = 13;
slot=diameter+1.2;
length = span+slot*2+span/2;
difference()
{
echo(span/25.4);
translate([length/2,0,0])
cube([length,inches2mm(1),inches2mm(0.5)],center=true);
translate([diameter/2,0,-10])
cylinder(r=diameter/2, h=20);
cube([diameter,diameter, 20],center=true);
translate([dia... | glb/cad_ce9b56868cbe.glb |
Create a Mist Spray Holder designed to hold a spray can vertically. The main body is a hollow cylindrical shell with an outer diameter of 75mm (68mm inner diameter plus 7mm wall thickness) and a total height of 152mm.
The cylinder is open-ended but features a wide rectangular slot cut out from the side to allow for t... | $fn=64;
length = 152;
diameter = 68;
wall = 7;
holesize=(length-12*3)/2;
rotatemount=-72.5;
tophalf();
module tophalf()
{
difference()
{
fullholder();
translate([500,-500,0])
rotate([0,180,0])
cube(1000);
}
}
module bottomhalf()
{
difference()
{
fullholder();
translate([-500,-500,0])
cube(1000);
... | glb/cad_8e506e5bd6bb.glb |
Create a tube coupling consisting of three stacked sections, each 10mm in height, with a total height of 30mm. The top section is a hollow cylinder with an outer diameter of 24mm and an inner hole of 20mm. The middle section is a hollow conical frustum that transitions from an outer diameter of 24mm at the top to 20mm ... | tubo1 = 20;
tubo2 = 16;
union() {
translate([0,0,10])
difference() {
cylinder(h=10,r=tubo1/2+2,center=false);
cylinder(h=10,r=tubo1/2,center=false);
}
translate([0,0,0])
difference() {
cylinder(h=10,r1=tubo2/2+2,r2=tubo1/2+2,center=false);
cylinder(h=10,r1=tubo2/2,r2=tubo1/2,center=false);
}
tr... | glb/cad_34e534181941.glb |
Create a FlashForge Creator Pillow Block consisting of a main body and a separate exterior plate. For the main body, form a base by combining a rectangular block measuring 34mm wide, 13mm high, and 8mm thick with a centered semi-cylinder of radius 9mm and height 8mm.
Carve a central vertical slot 5.5mm wide and 20mm ... | ShaftDist = 15.5;
CenterDist = ShaftDist - 2.5;
BearingOD = 11.05;
BearingWidth = 4.;
BearingHoldRidge = 0.1;
echo ();
echo ("Measured Rod Distance - measured from");
echo ("inside wall to exterior of shaft away from wall");
echo ("...that is, the distance from wall to shaft,");
echo ("plus the shaft diameter, 5mm = ... | glb/cad_1bab6d9869a1.glb |
Create a 3D model of an Input Comparator Circuit. Start by creating a rectangular base plate measuring 550mm by 350mm with a thickness of 6mm, centered at [-400, -175, -5].
On top of this base, construct a comparator circuit using the following geometric components:
1. **Operational Amplifiers**: Create two triangul... | font = "knewave.dxf";
font_size=13;
text_depth=4;
$fn=16;
use <Write.scad>
module text(message)
{
for (line = [0:len(message)-1])
translate([0, -font_size*1.5*line, 0])
write(message[line],t=text_depth,h=font_size,center=true,font=font);
}
module opampA(message)
{
translate([40, 55, 0])
text(message);
cylind... | glb/cad_8c63797d56a1.glb |
Create a sieve consisting of a circular rim and a cross-hatched mesh base. Start by constructing a flat, square grid of intersecting strands, each 1mm thick and 1mm wide, with a 2mm gap between them, spanning a total area of 62mm by 62mm. Offset the perpendicular strands by 1mm in height so they stack on top of one ano... | $fn=36*2;
module tube(orad,irad,height) {
difference() {
cylinder( r=orad,h=height);
translate([0,0,-1]) cylinder( r=irad,h=height+2);
}
}
module grid(width,length,strand, gap,do_offset) {
wh = width / 2;
lh = length / 2;
for ( ix = [-wh:strand+gap:wh]) {
translate([-lh,ix,0]) cube([le... | glb/cad_9427290f0ce2.glb |
Create a Lego-compatible roof transition piece. The main body is a block with a height of 9.6mm and a shell thickness of 1.2mm. The overall footprint is based on a cell width of 7.85mm.
The geometry is formed by the intersection of two identical basic shapes, each 15.7mm wide (2 cells) and 31.4mm deep (4 cells), rota... | Type = 2;
ShellThickness = 1.2;
CellWidth = 7.85;
Height = 9.6;
NubbinHeight = 2.4;
NubbinDiameter = 4.85;
NubbinPitch = 8.00;
holeOD = 6.6;
StepHeight = 2.2;
cx = 2;
cy = 2;
eps = 0.1;
t = Type;
$fa = 5; $fs = 1;
if (t == -1) {
for (tt = [0:11]) {
translate([CellWidth * 4, CellWidth * 3* (5 - tt), 0]) {
... | glb/cad_ff236c002d1e.glb |
Create a Brain Slug accessory attached to a head model. First, construct the slug's main body by creating a sphere with a radius of 25mm, scaled by 1.7 along the Z-axis to form an oval, and slice it in half horizontally to create a flat bottom.
Add a single eye on the top surface by placing a cylinder with a radius o... | model = "gangsta.stl";
offset_x = 4;
rotate_x = 0;
offset_y = -5;
rotate_y = 20;
offset_z = 103.5;
rotate_z = 90;
scale_head = 1;
scale_slug = 0.10;
union(){
import (model,convexity=5);
translate([offset_x,offset_y,offset_z])
rotate([rotate_x,rotate_y,rotate_z])
scale([scale_slug,scale_slug,scale_slug])
brain... | glb/cad_ffb0aafa858b.glb |
Create a Z-Mount for a Prusa i3 box-frame. The mount is a bracket designed to hold a Nema 17 motor (42mm square) and a smooth Z-rod (8mm diameter).
Construct the main body as an L-shaped bracket with a wall thickness of 5mm. The base plate should be 42mm square to match the motor dimensions. Create a large circular c... | motor_d = 42;
motor_s = 31;
m3h = 3;
wsh = 4;
motor_r = (motor_d-motor_s)/2;
zrod = 8;
ew = 0.56;
board = 12;
p = 0.25;
module countersunk(r,h,pre=5){
translate([0,0,-pre])intersection(){
cylinder(r=2*r+0.5,h=r+pre,$fn=10);
cylinder(r1=2*r+pre,r2=r,h=r+pre,$fn=10);
}
cylinder(r=r... | glb/cad_5d7af72117eb.glb |
Create two mirrored Z-Axis Mounts for a Nema 17 motor and two mirrored idler mounts. Each mount is a bracket designed to secure a motor or idler to a box-frame with a board thickness of 12mm.
For each mount, create a base plate with a thickness of 5mm. The plate should feature a central circular cutout with a radius ... | motor_d = 42;
motor_s = 31;
m3h = 3;
m3n = 5.5;
wsh = 4;
motor_r = (motor_d-motor_s)/2;
zrod = 8;
ew = 0.56;
board = 12;
p = 0.25;
module countersunk(r,h,pre=5,$fn=8){
rotate(22.5)translate([0,0,-pre])intersection(){
cylinder(r=2*r+0.5,h=r+pre);
cylinder(r1=2*r+pre,r2=r,h=r+pre);
}
... | glb/cad_0d8a50117ddb.glb |
Create a protective case for a DSTIKE WiFi Deauther OLED V3.5. The main body is a hollow rectangular box with outer dimensions of 36.41mm x 108.42mm x 26mm (calculated from inner dimensions of 32.41mm x 104.42mm x 24mm plus 2mm walls).
The box features a hollow interior to house the PCB. On the bottom face, place fou... | use <MCAD/polyholes.scad>
use <ESP8266Models.scad>
$fn = 50;
fudge=.01;
tolerance = .1;
print_board= true;
layer_thickness=0.25;
nozzle_wall=0.35;
version= "V1.4";
font = "helvetica:style=Bold";
fix1_x = 2.42;
fix1_y = 2.19;
fix2_x = 2.42;
fix2_y =102.23;
fix3_x =30.2;
fix3_y =2.19;
fix4_x =30.2;
fix4_y =102.23;
... | glb/cad_0cc329d279cb.glb |
Create a custom ruler that is 203mm long, 28mm wide, and 4mm thick. The main body is a rectangular prism, but the bottom edge features a 5mm bevel that runs the full length of the ruler.
Along this beveled edge, carve a series of measurement markings. Create major markings every 10mm and minor markings every 1mm. Thes... | use<write.scad>
use<write/Write.scad>
RulerText="Your Imagination can not be measured";
FontSize=7.4;
HoleRadius = 2.5;
RulerLength=203;
RulerWidth=28;
BevelWidth=5;
NumberSize=5;
TextHeight=.6;
RulerHeight=4;
BevelHeight=1;
LineDepth=0.4;
LineWidth=.5;
TextX=2;
TextY=2;
NumberOffset=-2;
difference(){
h... | glb/cad_138de5bf04e5.glb |
Create a micro SD card adapter holder for the Alfawise U30. Start with a main body consisting of a rounded box measuring 10mm wide, 35mm deep, and 36mm high, with a corner radius of 2mm. Attach a rectangular block to the side of this body measuring 16mm wide, 10mm deep, and 36mm high.
Carve out a large semi-cylindrica... | use <MCAD/boxes.scad>
use <utils/build_plate.scad>
Mount = -1;
SD_Adapter_Height = 7.00;
build_plate(3,100,100);
h = 36;
translate([0,0,18])
{
difference()
{
union()
{
translate([-3.5,9,h / 2 + 0.3])
rotate([0,0,-90])
color([0,0,0])
... | glb/cad_2a4f194379d3.glb |
Create a customizable text paint roller. Start by creating a central cylinder with a diameter of 37mm and a length of 120mm, centered on the origin. Bore a longitudinal hole through the center of this cylinder with a diameter of 5mm to accommodate a spindle.
On the outer surface of the cylinder, emboss the text "Live ... | use<write/Write.scad>
RollerText="Live Your Life!";
FontSize=12;
TextHeight=2;
font = "Letters.dxf";
RollerLength=120;
RollerDiameter=37;
RollerRadius = RollerDiameter/2;
SpindleDiameter=5;
HoleRadius = SpindleDiameter/2;
Letter_Spacing=12;
space=Letter_Spacing/10;
Line_Pad=0;
TextAngle=70;
cord=FontSize*1.3+... | glb/cad_86f9d21273f5.glb |
Create a stackable storage box with a footprint of 50mm by 70mm and a total height of 41mm.
Start with a 2mm thick base plate. Construct the side walls with a thickness of 2mm. The left and right walls are each 50mm wide, while the front and back walls are 70mm deep. The front wall should be lower than the side walls... | box();
module box()
{
difference()
{
union()
{
translate([0.05,0,0])cube([50,70,2]);
translate([0.05,0,0])cube([2,20,41]);
translate([0.05,22+36,0])cube([2,12,41]);
translate([50-2+0.05,0,0])cube([2,20,41]);
translate([50-2+0.05,22+36,0])cube([2,12,41]);
}
hull()
... | glb/cad_53f0279f0b7c.glb |
Create a stackable storage box with an outer footprint of 50mm x 70mm and a height of 41mm. The box features a flat bottom plate 2mm thick. Construct the side walls with a thickness of 2mm. The left and right walls are not solid; they include geometric cutouts and protrusions designed for interlocking with other identi... | toleranze = 0.5;
big_box();
module big_box()
{
difference()
{
union()
{
translate([-0.05])box();
translate([54 + toleranze,0,0])box();
}
translate([46,2,5])cube([12.1+toleranze,66,40.05]);
}
translate([48.05,0,5])cube([8+toleranze,2,36]);
translate([48.05,68,5])cube([8+toleranz... | glb/cad_70069a974df6.glb |
Create an Alligator Money Clip by starting with a central rectangular base measuring 50mm in length, 10mm in width, and 2mm in height. At the front end of the base, place two small spheres with a 1mm radius to serve as nostrils, each with a 5mm cube removed from its center to create a flattened appearance. At the oppos... | translate([0,0,-1])
rotate(a=1,v=[0,1,0])
difference()
{
cube([50,10,2],center = true);
translate([0,-9,0])
rotate(a=1,v=[0,0,1])
cube([100,10,2],center = true);
translate([0,9,0])
rotate(a=-1,v=[0,0,1])
cube([100,10,2],center = true);
}
difference()
{
translate([-24.5,0,-2.5])
cube([1,9,3]... | glb/cad_f6b492411558.glb |
Create a Tee Slot Cleaner tool with a total thickness of 3mm. Start by constructing the cleaning head, which consists of two joined rectangular prisms: a base plate measuring 11.6mm by 4.6mm, and a wider T-shaped section extending from it measuring 11.6mm by 9.6mm.
Attached to the top of this head, create a handle th... | use <write/Write.scad>
thickness = 3;
slot_width = 7;
slot_height = 10;
tee_width = 12;
tee_height = 5;
handle_width = 20;
handle_height = 100;
hole_dia = 5;
handle_text = "DoomMeister";
clearance = 0.4;
handle_text_size = 0.5;
width_offset = handle_width/2;
tee_slot_cleaner();
module tee_slot_cleaner(){... | glb/cad_a54a1f15a4e4.glb |
Create two protective caps for XT60 connectors.
For the male connector cap, create a solid block with a width of 9mm, a depth of 16.75mm, and a height of 8.6mm. The shape should be a hull of a central cube and a slightly larger centered cube to create chamfered edges. From the center of this block, remove a void shap... | translate([0,-15,0]) cap_male();
translate([0,15,0]) cap_female();
translate([-10,-15,0]) xt60_male();
translate([-10,15,0]) xt60_female();
module xt60_male()
{
x = 8;
y = 15.6;
z = 16;
generic_xt60_shape(x,y,z,2.5);
}
module xt60_male_rounded()
{
x = 8;
y = 15.5;
z = 16;
rounded_xt60_... | glb/cad_f1a86a9a63f8.glb |
Create a 3D model of a right-angle elbow joint consisting of two cylinders joined by a central spherical connector. All components should have a radius of 10mm and a facet resolution of 20 sides.
First, create a sphere with a 10mm radius. Position two cylinders, each with a 10mm radius and 20mm length, so they extend ... | $fn=20;
scale (10) {
elbow_sphere();
translate ([4,0,0]) elbow1();
translate ([8,0,0]) elbow2();
}
module my_sphere(r)
{
rotate_extrude() difference() {
circle(r);
translate([0,-r,0]) square(2*r);
}
}
module elbow1() {
my_sphere(1);
rotate([180,0,0]) cylinder(2,1,1);
... | glb/cad_bdf5f543131f.glb |
Create a Maker Coin by constructing a circular disc with a radius of 24mm. The coin has a complex cross-section: the outer edge is 9mm thick, but the center is recessed to an inner thickness of 4mm, creating a stepped profile. Integrated into the center of this profile is a torus with a diameter of 7mm.
On the top fac... | coin_radius=24;
outer_thickness=9;
inner_thickness=4;
torus_diameter=7;
notches=8;
notches_radius=20;
notches_offset=18;
text_upper="mueslix";
text_center="@";
text_lower="twitter.com";
font_face="Roboto";
font_style="Bold";
font_upper_size=4;
font_center_size=3;
font_lower_size=4;
$fn = 64;
r1=outer_th... | glb/cad_e8dce5706ff2.glb |
Create a 3D model for an IV18 WIFI VFD nixie clock housing.
Start by creating a main tube body. This tube is formed by a hull of a circle with a 3mm radius centered at [9, 0, 0] and four cylinders with a diameter of 8mm and a height of 11mm, positioned at the corners of a 17mm square centered on the Z-axis. To this t... | $fn = 100;
module IV18() {
difference() {
union() {
difference() {
union() {
tube();
translate ([9+0,0,0])plaque();
}
translate ([0,-0,-1]) scale ([0.9,0.85,1]) tube();
translate ([9+0,0,-1])scale ([0.95,0.85,1]) plaque();
translate ([9+0,0,-10])cube ([40,21,8], center = true);
translate ([-0,-0,-0]) cylind... | glb/cad_ebccfa7800e6.glb |
Create a parametric box by starting with a solid rectangular block measuring 60mm wide, 86mm deep, and 30mm high. Hollow out the center of this block by removing a smaller rectangular volume measuring 54.8mm wide, 83.6mm deep, and 30mm high, leaving walls that are 2.6mm thick on the sides and 3.4mm thick on the front a... | $fs=0.25;$fa=6;
union() {
difference(){cube([60,86,30],center=true);
translate([1.4,0,1.2])cube([54.8,83.6,30],center=true);
}translate([-28,-34.4,16.5])union() {
translate([0,17.2,0])difference(){union() {
cube([4,16.2,3],center=true);
translate([0,0,1.5])rotate([90,0,0])cylinder(h=16.2, r=2, center=true);
}
translate... | glb/cad_57689159045a.glb |
Create a parametric box consisting of a hollowed rectangular base and a hinge mechanism. Start by creating a solid rectangular slab measuring 55mm by 86mm with a height of 4mm. Hollow out the center of this slab by removing a smaller rectangular block measuring 52.6mm by 83.6mm with a height of 4mm, leaving a wall thic... | $fs=0.25;$fa=6;
union() {
difference(){cube([55,86,4],center=true);
translate([0,0,1.2])cube([52.6,83.6,4],center=true);
}translate([-29,-34.4,0])union() {
rotate([0,-90,0])difference(){union() {
cube([4,16.2,3],center=true);
translate([0,0,1.5])rotate([90,0,0])cylinder(h=16.2, r=2, center=true);
}
translate([0,0,1.5])... | glb/cad_9edd317530af.glb |
Create two Xia Outfit token trays. Each tray is a rectangular box with a base thickness of 0.8mm, a side height of 22.8mm, and rounded exterior corners with a 4mm radius. The walls and internal dividers are 0.8mm thick.
For the first tray, create a grid layout based on cell dimensions of 18mm by 17.5mm. The horizontal... | $fn=128;
n=0.4;
bT=0.4*2;
gT=n*4;
sH=22+bT;
sLenX=18;
sLenY=17.5;
sThick=n*2;
fsLenX=13;
fsLenY=13;
tlR=5;
cr=4;
fr=sH/2;
testH=[
[1,2,1],
[1.1,3.3,1],
[1.2,0,1]
];
testV=[
[2,1.1,1.2,1],
[1.1,0,3.2,1]
];
cellsH_XiaA = [
[1,1,1,1,1,1,1],
[0,0,0,2,1,1,0],
[0,0,1,1,0,2,0],
[1,1,... | glb/cad_1aff2a58d512.glb |
Create two token trays for the game Xia: Legends of a Drift System. Each tray should have a base thickness of 0.8mm, a side height of 22.8mm, and a wall thickness of 0.8mm. The outer corners of the trays must be rounded with a 4mm radius.
For the first tray, create a grid layout based on cell dimensions of 18mm by 17.... | $fn=128;
n=0.4;
bT=0.4*2;
gT=n*4;
sH=22+bT;
sLenX=18;
sLenY=17.5;
sThick=n*2;
fsLenX=13;
fsLenY=13;
tlR=5;
cr=4;
fr=sH/2;
testH=[
[1,2,1],
[1.1,3.3,1],
[1.2,0,1]
];
testV=[
[2,1.1,1.2,1],
[1.1,0,3.2,1]
];
cellsH_XiaA = [
[1,1,1,1,1,1,1],
[1,1,1,1,0,1,0],
[1,1,1,1,1,1,0],
[1,1,... | glb/cad_9df71036a0a3.glb |
Create a customizable signpost consisting of a horizontal bar, text, and two vertical stakes. Start by creating a horizontal rectangular bar with a width based on the length of the text, a height of 3mm, and a thickness of 3mm. Centered on top of this bar, add the word "Text" as 3D lettering with a height of 30mm and a... | label_text = "Text";
font = "write/Letters.dxf";
font_height = 30;
font_thickness = 4;
letter_spacing = 1.0;
include_bar = "yes";
include_stakes = "yes";
stake_height = 35;
build_plate_selector = 0;
build_plate_manual_x = 100;
build_plate_manual_y = 100;
build_plate(build_plate_selector, build_plate_manual_x... | glb/cad_a02d2f9ac579.glb |
Create a hanging mount for a heatbed fan. Start by creating a main rectangular block with a length of 70mm, a width of 16mm, and a height of 8mm. Apply a 2mm fillet to all edges of this block to round them.
From this main body, remove a central rectangular section to create a slot, leaving a wall thickness of 5mm on ... | module round_edges_box_hull(boundingbox=[1,1,1], r=0.1, only_bottom=false) {
x=boundingbox[0]/2;
y=boundingbox[1]/2;
z=boundingbox[2]/2;
hull() {
for(x1=[-x+r,x-r]) {
for(y1=[-y+r,y-r]) {
for(z1=[-z+r,z-r]) {
if( only_bottom == true && z1>0) {
... | glb/cad_a9c8cc4ff99b.glb |
Create a Wooden Train Track Support consisting of a base, a central pillar, and a top track holder. Start with a rectangular base measuring 52mm wide, 30mm long, and 3.5mm high. Centered on this base, extend a vertical rectangular support pillar that is 30mm wide and 15mm long, reaching a total height of 108mm.
At the... | floor_to_track_base = 108;
track_thickness = 12 - 2;
track_width = 40 + 1;
holder_length = 26;
holder_thickness = 2;
holder_width = track_width + holder_thickness*2;
support_width = 30;
support_length = 15;
base_width = 52;
base_length = 30;
base_height = 3.5;
pyramid_angle = 42;
pyramid_max_support = max(holder_w... | glb/cad_321a3c728305.glb |
Create a filament sensor holder for an optical endstop. Start with a main vertical body consisting of a cylinder with a diameter of 8mm and a height of 35mm. At the bottom of this cylinder, center a sphere with a diameter of 7.5mm.
At the top of the cylinder, create a mounting block. This block is formed by a rectangu... | $fn=80;
$show=0;
if ($show==0 || $show==1) {
translate([-13.5,2,35])difference(){
union(){
cube([26.5,6,10.5]);
translate([26.5,0,0])cube([7.5,4,10.5]);
}
translate([1,2,2.2])cube([25.2,5,6.2]);
#translate([7.5,0,2.2])cube([12.2,6,6.2]);
#translate([23,5,5.2])rotate([90,0,0])cylinder(d... | glb/cad_bb5971b4abb1.glb |
Create a water rocket launcher base consisting of a central cylindrical tower and three radiating support arms. Start with a central cylinder that has a radius of 22.5mm and a height of 15mm. On top of this base, center a tapered cylinder that transitions from a bottom radius of 9.75mm to a top radius of 9mm over a hei... | difference()
{
union()
{
for(i = [1:3])
{
rotate([0,0,120*(i-1)])
translate([55/2,0,5]) cube([60,15,10], center = true);
}
cylinder(r=45/2, h=15);
translate([0,0,14.5])
cylinder(r1= 19.5/2, r2=18/2, h=30, $fn=64);
translate([0,0,14.5+30])
cylinder(r=18/2, h=30, $fn=64);
translate([0,0,7.5... | glb/cad_51ba9e30ffef.glb |
Create a water rocket launcher base. Start with a central cylindrical core that has a bottom radius of 22.5mm and a height of 15mm. Above this, add a tapered cylinder that rises 30mm, starting with a radius of 9.75mm at the base and narrowing slightly to 9.5mm at the top. On top of that, add a final cylinder with a hei... | BottleLipHeight = 15;
BottleCatchLen = 30;
BaseOffset = 10;
LatchThick = 5;
ArmLength = 80;
HoseBarbBaseRad = 24/8;
HoseBarbIr = 1.5;
BottleMouthRad=19.5/2;
Rise = 30;
ORings = 4;
ORingGap = 4;
module HoseBarb()
{
color([0.5,0.5,0.9,1.0])
translate([0,50,2.5])
difference()
{
union()
{
difference()
... | glb/cad_19996133f919.glb |
Create a Simple Dodecahedron Vase by constructing a hull that encompasses two stacked dodecahedrons. First, create a regular dodecahedron with a height of 1.5mm and position its center at coordinates [0, 0, 1.5]. Second, create a larger regular dodecahedron with a height of 2mm, centered at the origin [0, 0, 0], and ro... | module dodecahedron(height)
{
scale([height,height,height])
{
intersection(){
cube([2,2,1], center = true);
intersection_for(i=[0:4])
{
rotate([0,0,72*i])
... | glb/cad_ca27bd2907b9.glb |
Create a Multirotor Plate Customizer for a control board mount. Start with a square base plate that is 3mm thick. The plate's overall dimensions are determined by a center-to-center distance of 75mm between mounting holes, plus a 3mm safety perimeter, resulting in a square with a side length of 81.2mm.
At the four cor... | Multirotor_Platform = 3;
Plate_Type = 2;
Plate_Thickness = 3;
Mounting_Bolt_Size = 3.2;
X_and_Y_Distance = 75;
Additional_Hole = "Yes";
Radio_Width = 34.5;
Radio_Length = 52;
Cable_Tie_Ct = 2;
Cable_Tie_Width = 4;
Support_Height = 5;
Control_Board = 2;
Control_Board_X = 33;
Control_Board_Y = 33;
Standoff_... | glb/cad_db7121268ccf.glb |
Create a parametric pipe end cap. Start by creating a base cylinder with a height of 4.2mm and a radius of 23.1mm. Centered on this base, add a second cylinder with a height of 8.4mm and a radius of 21mm. From this combined volume, remove a central cylindrical core with a radius of 18.5mm and a height of 10.4mm, positi... | outside_diameter = 42 ;
inside_diameter = 37 ;
module EndCap(id, od) {
walls = od - id ;
depth = .2 * od ;
height = depth / 2 ;
r = (pow(2 * height, 2) + pow((od + walls) / 2, 2)) / (4 * height) ;
intersection() {
union() {
cylinder(h=height, r=(od + walls) / 2);
tr... | glb/cad_b9bba75c1552.glb |
Create a printer foot with a base measuring 44mm in length and 26mm in width, and a total height of 14mm. The overall body should be a tapered block with rounded corners and edges, using a corner radius of 4mm. The top surface of the block should be smaller than the base, tapering inward by 5mm on each side. Centered o... | Corner_rad = 4;
Foot_wid = 26;
Foot_len = 44;
Foot_height = 14;
Taper = 5;
Slot_wid = 5.5;
Slot_len = 24;
Slot_depth = 6;
module foot_body() {
h_x = Foot_len*0.5-Corner_rad;
h_y = Foot_wid*0.5-Corner_rad;
h2_x = h_x - Taper;
h2_y = h_y - Taper;
h_z = Foot_height - Corner_rad;
intersection() {
hull() {
t... | glb/cad_ca748a0bef8d.glb |
Create a shim and screw standoff for a corner part. Start by creating a square plate 50mm wide and 50mm long with a thickness of 0.8mm. The corners of this plate should be rounded with a radius of 2.5mm.
In the center of the plate, add a cylindrical screw standoff with a height of 2.9mm and a diameter of 6.7mm. Final... | use_standoff = 1;
standoff = ( use_standoff == 1) ? true: false ;
shim_thickness = 0.8 ;
screw_hole = 5.0 ;
corner_cylinder_r = 2.5;
clearance = 0.3;
depth_of_bottom = 2.9 ;
part_screw_hole = 7 ;
part_width = 50 ;
shim_trans = (part_width/2 - corner_cylinder_r/2) ;
$fn=24;
difference()
{
union()
{
... | glb/cad_9afc3ff184d8.glb |
Create a Bubbler Airlock Cap by constructing a hollow cylinder with an outer radius of 11mm and a height of 12mm. Remove the center of this cylinder by creating a concentric hole with a radius of 10.25mm and a depth of 11mm, leaving a solid base at the bottom. Inside the remaining wall, add three small vertical pins, e... | $fn=60;
module airlock_cap_small () {
union () {
difference () {
cylinder(r=22/2, h=12);
cylinder(r=20.5/2, h=11);
}
for ( i = [0 : 2] )
{
rotate( i * 360 / 3, [0, 0, 1])
translate([0, 10, 0])
cylinder(r = 0.5,h=11);
}
}
}
rotate ([0,180,0]) translate ([0,0,-12]) airlock_cap_small (); | glb/cad_0f9bafaa37a8.glb |
Create an Improved Auto Coin Sorter designed to organize coins by diameter into removable tubes.
First, construct a base box with a mesh-patterned back wall. The box must be sized to accommodate a top board and a tube rack. The top board is a flat plate with a series of circular holes of increasing diameter, each cor... | currency = 0;
tube_extra_height = 0;
extra_topboard_length_pct = 14;
extra_topboard_length = extra_topboard_length_pct * 0.01;
guard_style = "Front_and_back";
extra_guard_height = 15;
topboard_rim = 15;
pattern = "mesh";
patternfill = "yes";
mesh_thickness = 0.8;
part = "all_unassembled";
all_coins = [
... | glb/cad_9b165b8d03c0.glb |
Create an Improved Auto Coin Sorter consisting of a base box, a top board, a tube rack, and coin tubes.
First, construct a base box with a mesh pattern on the back wall. The box should be sized to accommodate the top board and tube rack, with a minimum internal height of 70mm.
Create a top board that acts as a ramp. ... | currency = "usd";
height = 70;
pattern = "mesh";
part = "all_unassembled";
understand = 1;
coin_1_diameter = 30.61;
coin_1_thickness = 2.15;
coin_1_roll_count = 20;
coin_2_diameter = 26.50;
coin_2_thickness = 2.00;
coin_2_roll_count = 20;
coin_3_diameter = 24.26;
coin_3_thickness = 1.75;
coin_3_roll_count = 40... | glb/cad_04cdc5e9cdf0.glb |
Create a wall-mounted toothbrush holder with a rectangular base and a thickness of 3mm. The overall height of the backplate is 80mm and the length is approximately 110mm.
On the face of the holder, create four circular cutouts, each with a diameter of 16mm, to hold the toothbrushes. These holes should be spaced evenly... | $fn = 32;
debug = 0;
tolerance = 0.5;
YATBS(standard=1,mounting=1,spacers=1);
module YATBS(
owners=[["Henk", "H"],["Maan", "M"],["Venus", "V"],["Saturn","S"]],
h=80,
t=3,
bd=16,
standard=1,
mounting=1,
spacers=1,
) {
te = 7;
l = 4*t+len(owners)*(bd)+(len(owners)-1)*(t+te);
rr = 3;
ech... | glb/cad_4c7f9eef5d24.glb |
Create a shopping coin by starting with a main cylindrical disk that has a diameter of 23mm and a height of 2.4mm. Hollow out the center of this disk by removing a smaller concentric cylinder with a radius of 10mm and a height of 0.8mm, starting from a height of 1.6mm from the base.
On the top surface of the coin, add... | icon="";
size=12;
backtext="eLAB";
backtextsize=5;
font="font awesome 5 brands";
module coin(label="", dia=23, height=2.4, siz=10, fnt = "Liberation Sans") {
$fn=50;
difference(){
union(){
difference(){
cylinder(r=dia/2, h=height);
translate([0,0... | glb/cad_a57d277da870.glb |
Create an I-Ball by starting with a sphere with a radius of 5mm. Cut a large rectangular slot out of the bottom of the sphere using a cube that is 7mm wide, 7mm deep, and 2mm high, positioned to remove a slice from the lower section. To create a stable base, add a spherical cap with a radius of 5.75mm that fills the bo... | difference()
{
union()
{
difference()
{
sphere(5);
translate([-3.5,-3.5,-5.9]) scale([7,7,2]) cube(1);
}
intersection()
{
translate([-3.5,-3.5,-4]) scale([7,7,4]) cube(1);
sphere(5.75);
}
}
union()
{
translate([-0.5,-2.75,-4.1]) scale([1,5.5,1]) cube(1);
translate([-2,-2.75,-4.1]) scale... | glb/cad_d3ddf0c051f8.glb |
Create a hand grip for a crank by constructing a hollow cylinder with a total height of 15mm. The outer diameter of the cylinder should be 4mm, and it must have a 20-sided polygonal cross-section rather than being a smooth circle. Bore a concentric hole through the center of the shape with a diameter of 2.5mm to accomm... | length = 15;
rin = 5/2;
rout = 8/2;
$fn=20;
difference(){
union(){
cylinder (h=length, r=rout, center=true);
}
cylinder (h=length+0.1, r=rin, center=true);
} | glb/cad_f3ec012c2f71.glb |
Create a Customizable Spool Holder by constructing a central vertical cylinder with an outer diameter of 38mm and a total height of 100mm (80mm for the reel width plus 20mm extensions). This main cylinder should be hollowed out with an inner diameter of 36.1mm. At the top of the cylinder, add a slight external taper th... | CD=38;
RW=80;
difference(){
union(){
cube([20,CD+40,5],center=true);
translate([0,0,0])rotate([0,0,0])
cylinder(h=5, r=CD/2+CD*0.1,$fn=48,center=true);
translate([0,0,(RW+20)/2])
cylinder(h=RW+20, r=CD/2,$fn=48,center=true);
translate([0,0,RW+10])
cylinder(h=20, r2=CD/2,r1=CD/2+1.3,$fn=48,center=true);
}
translate([0... | glb/cad_58bb4e97a780.glb |
Create an L-bracket for 20x20 aluminum extrusions. Start by forming a base rectangular block 20mm wide, 25mm deep, and 5mm thick. Attach a second rectangular block to the base, measuring 20mm wide, 30mm deep, and 5mm thick, positioned so it extends perpendicularly from the first block to form a right angle. Integrate a... | module Lblock(){
difference(){
union(){
cube([20,25,5],center=true);
translate([0,-15,12.5])rotate([90,0,0])
cube([20,30,5],center=true);
translate([0,-12,3])rotate([0,90,0])
cylinder(h=20, r=5,$fn=48,center=true);
}
translate([0,1.5,0])rotate([0,0,0])
#cylinder(h=20, r=2.8,$fn=48,center=true);
translate([0,-10.5,16.5... | glb/cad_d8b7005312df.glb |
Create a bike crankset consisting of a central axle, two bearings, and two crank arms. Start by placing a central cylindrical axle with a radius of 15mm and a total height of 140mm. Position two identical bearings along the axle; each bearing is a hollow cylinder with an outer radius of 25mm, a height of 25mm, and an i... | $fs=0.1;
module bearing(r, w, d) {
color("red") {
difference() {
cylinder(r=r, h=w, center=true);
translate(0, 0, -1) cylinder(r=r - w, h=w + 1, center=true);
}
}
}
module axle(w, r) {
color("blue") {
translate([0, 0, 0]) cylinder(r=r, h=w, center=true);
}
}
module arm(l, h, r1, r2, c... | glb/cad_32f9db15c9a0.glb |
Create a parametric gimbal consisting of four concentric rings. The innermost ring is a sphere with a radius of 8mm, flattened on the top and bottom to a total height of 5mm, with a cylindrical hole of radius 4mm bored through its center along the Z-axis.
Each subsequent outer ring is a spherical shell that encapsula... | $fn=50;
pin_ir = 1.5;
pin_or = 1.8;
ring_width=4;
ring_spacing=1;
thickness=5;
thickness_increase=.5;
num_rings=3;
hole_radius=4;
translate(v=[0, 0, thickness*.5]) union() {
for (ring = [0 : num_rings]) assign(
ring_ir=hole_radius+ring_width*ring,
ring_or=hole_radius+ring_width-ring_spacing+ring_width*ring,
odd=(... | glb/cad_ceb08ac0b7d0.glb |
Create a parametric gimbal consisting of a base and a series of concentric rings. Start by constructing the base: create a cylinder with a radius of 6.5mm and a height of 1mm, centered on the origin. From this, remove a smaller concentric cylinder with a radius of 4.5mm to create a thin circular rim. Additionally, crea... | $fn=100;
pin_ir = 1.5;
pin_or = 1.8;
ring_width=4;
ring_spacing=1;
thickness=5;
thickness_increase=.5;
num_rings=3;
hole_radius=4;
width_fudge_factor = 1.1;
ring_or=hole_radius+ring_width-ring_spacing+ring_width*num_rings;
ring_thickness = thickness+(thickness_increase*num_rings);
union() {
translate(v=[0, 0, .5]) ... | glb/cad_9a4960c0f175.glb |
Create three variations of a Print Saver Wedge, each based on a primary wedge shape that is 50mm long, 15mm wide, and 8mm high. The primary shape is a right-triangular prism where the height tapers from 8mm at one end down to 0mm at the other.
For the first wedge, create the primary wedge shape and add a cylindrical h... | ps_length = 50 ;
ps_width = 15 ;
ps_height = 8 ;
magnet_z = 0.4 ;
magnet_hole_d = 10.2;
magnet_hole_h = 3;
$fn=64;
module wedge ( l,w,h)
{
wedge_length = l;
wedge_width = w;
wedge_height = h;
difference()
{
cube([ wedge_length, wedge_width ,wedge_height]);
translate ([0,0,wedge_height])
... | glb/cad_4afa70dceb11.glb |
Create a Greek temple model starting with a tiered base. Construct the foundation using three stacked rectangular prisms centered at the origin: the bottom layer is 12mm by 24mm with a height of 0.5mm, the middle layer is 11mm by 23mm with a height of 1mm, and the top layer is 10mm by 22mm with a height of 1.5mm.
Pla... | translate([0,0,0]) scale([10,22,1.5]) cube(1);
translate([-0.5,-0.5,0]) scale([11,23,1]) cube(1);
translate([-1,-1,0]) scale([12,24,0.5]) cube(1);
translate([2,2,1]) pillar_row();
translate([8,2,1]) pillar_row();
translate([1,1,9.25]) scale([8,20,1.5]) cube(1);
translate([0.5,0.5,9.75]) scale([9,21,1]) cube(1);
trans... | glb/cad_a336bb82e7e7.glb |
Create a Greek temple model starting with a rectangular base measuring 10mm by 22mm with a height of 1.5mm. On top of this base, place two rows of pillars. Each row should contain six identical pillars spaced 3mm apart along the Y-axis. Each individual pillar is composed of a cylinder with a radius of 8mm and a height ... | translate([0,0,0]) scale([10,22,1.5]) cube(1);
translate([-0.5,-0.5,0]) scale([11,23,1]) cube(1);
translate([-1,-1,0]) scale([12,24,0.5]) cube(1);
translate([2,2,1]) pillar_row();
translate([8,2,1]) pillar_row();
translate([1,1,9.25]) scale([8,20,0.5]) cube(1);
translate([1.5,1,9.75]) scale([7,20,0.5]) cube(1);
trans... | glb/cad_ddd8a008310f.glb |
Create an Oklahoma Sooners logo bolo tie slider. Start by creating a flat base plate that is 50mm wide, 33.33mm long, and 5mm thick, with the top surface embossed to form the "OU" logo.
On the back of this plate, center a cylindrical sleeve to hold the tie cords. The sleeve should have an outer diameter of 7mm and an... | surfaceWidth = 50.0;
aspectRatio = 150 / 192;
surfaceLength = surfaceWidth / aspectRatio;
surfaceHeight = 5.0;
holder(7, 4.2, 6, 5);
color("red") translate([0, 0, surfaceHeight]) rotate([0, 180, 0])
3DSurface(surfaceWidth, surfaceLength, surfaceHeight);
module holder(od, id, l, offset) {
ir = id / 2 ;
translate([of... | glb/cad_53b69c997a0d.glb |
Create a Kashakas shell by revolving a specific 2D profile around a central vertical axis. The profile is defined by two concentric circular arcs that form a hollowed-out hemispherical section. Start with an outer circle of 44.8mm diameter and an inner circle of 41.6mm diameter, both centered on the axis of rotation. F... | diameter = 48;
string = 4;
wall = 1.6;
module naff() { }
$fn = 4 * (1 + floor(diameter / 4));
module one_side() {
difference() {
circle(d = diameter - 4 * wall);
translate([2 * wall + (string - diameter) / 2, 0]) {
square(diameter, center = true);
}... | glb/cad_4d2e5f3a9c7c.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.