Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create an interconnection bar for hexagonal light organ enclosures. Start by constructing a central rectangular block that is 10.2mm wide, 6.4mm deep, and 80mm long. To this main body, add a flat base plate measuring 12mm by 12mm with a thickness of 2mm, centered at the bottom. Incorporate two additional rectangular pr... | intersection(){
union(){
translate([0,0,40])cube([10,2.8,80],center=true);
translate([0,0,0])cube([12,12,2],center=true);
translate([4.6,0,40])rotate([0,0,45])cube([5,5,80],center=true);
translate([-4.6,0,40])rotate([0,0,45])cube([5,5,80],center=true);
}
translate([0,0,40])cube([10.2,6.4,80],center=... | glb/cad_cd1a822c0068.glb |
Create a mounting clip for a 15mm truss rod and an 11mm wide LED strip. Start by creating a hollow cylinder with an outer diameter of 20mm, an inner diameter of 15mm, and a height of 15mm. Remove a section of this cylinder to create a C-shaped opening. To the side of this ring, add a rectangular slot designed to hold t... | scale([1,1,2])
union(){
difference(){
cylinder(7.5,d=20,$fn=100);
cylinder(7.5,d=15,$fn=100);
translate([-13,0,0])cylinder(7.5,d=20,$fn=100);
}
difference(){
hull(){
translate([8+4.5,4,0])cylinder(7.5,d=9,$fn=50);
translate([8+4.5,-4,0])cylinder(7.5,d=9,$fn=50);
}
#transla... | glb/cad_cc394f181792.glb |
Create a holder for a smart sensor or switch. Start with a rectangular base that is 45.4mm wide and 45.4mm deep. The main body is a thin platform with a central rectangular cutout of 35.4mm by 1.2mm and a height of 6.2mm, creating a U-shaped channel.
On the top surface, integrate two raised side rails. Each rail is fo... | $fa = 1;
$fs = 0.2;
$fn = 0;
difference(){
color("orange") translate([0, 0, 0]){
union(){
hull(){
translate([0, 5, 0]) cube([0.6, 35.4, 8.2]);
translate([0.6, 5.6, 7.6]) sphere(0.6);
translate([0.6, 5.6, 0.6]) sphere(0.6);
translate([0.6, 39.8, 7.6]) sphere(0.6);
translate([0.6, 39.8, 0.6]) s... | glb/cad_412ddeb4a238.glb |
Create a Camera Plate for a carousel. Start by constructing a base plate that is a rounded square, formed by the convex hull of four cylinders, each with a radius of 25.4mm and a height of 5mm, positioned with their centers at coordinates (76.2, 76.2), (76.2, -76.2), (-76.2, 76.2), and (-76.2, -76.2).
From this solid... | $fn = 120;
inch = 25.4;
toC = 12*inch/4;
base = 2;
lip = 5;
pinAt = 90;
difference(){
hull(){
translate([toC,toC,0])cylinder(r=inch,h=lip);
translate([toC,-toC,0])cylinder(r=inch,h=lip);
translate([-toC,toC,0])cylinder(r=inch,h=lip);
translate([-toC,-toC,0])cylinder(r=inch,h=lip);
}
translate([0... | glb/cad_02c2a53fc513.glb |
Create a carousel pin by constructing a solid cylinder with a diameter of 4.7mm and a height of 12mm. Bore a small concentric hole through the center of the cylinder from top to bottom with a diameter of 1mm to create a hollow tube. | $fn=120;
difference(){
cylinder(d=4.7,h=12);
cylinder(d=1,h=12);
} | glb/cad_cb76a7eea35d.glb |
Create a Camera and Lens Carousel lens tray. Start by creating a hollowed cylindrical ring with an outer diameter of 190mm, an inner diameter of 170mm, and a height of 5mm.
On top of this ring, add four vertical expansion pins. Each pin is a cylinder with a diameter of 5mm and a height of 10mm, positioned at a radius... | $fn = 120;
butt = 53;
buttC = 57;
difference(){
cylinder(d=190,h=5);
cylinder(d=170,h=5);
}
rotate([0,0,45])
translate([90,0,0])
cylinder(d=5,h=10);
rotate([0,0,135])
translate([90,0,0])
cylinder(d=5,h=10);
rotate([0,0,-45])
translate([90,0,0])
cylinder(d=5,h=10);
rotate([0,0,-135])
translate... | glb/cad_44f6749bec71.glb |
Create a carousel post by constructing a thick, curved wall section. Start with a hollow cylinder that has an outer diameter of 190mm and an inner diameter of 170mm, with a total height of 105mm. Slice this hollow cylinder so that only a segment remains, defined by a rectangular boundary 100mm wide and 20mm deep, cente... | $fn=120;
rotate([90,0,0]){
intersection(){
translate([0,-10,0])
cube([100,20,105]);
difference(){
cylinder(d=190,h=105);
cylinder(d=170,h=105);
translate([90,0,0])cylinder(d=5.2,h=10);
translate([90,0,95])cylinder(d=5.2,h=10);
}
}
} | glb/cad_aef068db4217.glb |
Create a Camera and Lens Carousel consisting of several concentric components. Start with a lower race: a central cylinder 9.5mm in diameter and 14mm high, surrounded by a flat ring with an outer radius of 23mm and a height of 3mm.
Construct a spider ball cage as a 4mm thick disk with a 50mm diameter. Extend this disk... | $fn = 120;
cylinder(d=9.5,h=14);
cylinder(r=23,h=3);
difference(){
cylinder(r=90+3,h=3);
cylinder(r=90-3,h=3);
}
rotate([0,0,0])
translate([-3,0,0])
cube([6,90,3]);
rotate([0,0,120])
translate([-3,0,0])
cube([6,90,3]);
rotate([0,0,240])
translate([-3,0,0])
cube([6,90,3]); | glb/cad_fcf8938445bc.glb |
Create a pocket lamp holder consisting of a cylindrical sleeve and a mounting tab. Start by creating a main cylinder with an outer diameter of 29.5mm and a height of 35mm, centered on the origin. Subtract a smaller concentric cylinder from the center with a diameter of 23.5mm and a height of 30mm, shifted 3mm upward al... | dlamp=23.5;
$fn=60;
difference(){
union(){
cylinder(d=dlamp+6, h=35, center=true);
translate([0,15,0])cube([20,20,35], center=true);
}
translate([0,0,3])cylinder(d=dlamp, h=30, center=true);
translate([-12,0,-8])cube([10,16,8],center=true);
}
difference(){
union(){
transla... | glb/cad_4d97fba588c1.glb |
Create a pocket lamp holder consisting of a cylindrical sleeve and a mounting backplate. Start by creating a main cylinder with an outer diameter of 29.5mm and a height of 30mm, centered on the origin. Remove a central cylindrical hole from this body with a diameter of 23.5mm and a depth of 25mm, leaving a base thickne... | dlamp=23.5;
$fn=60;
difference(){
union(){
cylinder(d=dlamp+6, h=30, center=true);
translate([0,15,0])cube([20,20,30], center=true);
}
translate([0,0,3])cylinder(d=dlamp, h=25, center=true);
}
difference(){
union(){
translate([0,25,2.5])cube([20,3,35], center=true);
transl... | glb/cad_3bb7b624fbb0.glb |
Create a spice rack organizer designed to hold nine jars. The overall structure consists of nine identical repeating compartments spaced evenly across a total width of 447.5mm. Each compartment is based on a rectangular cell that is 43mm wide and 108mm high.
For each of the nine sections, create a support frame with ... | w = 43;
h = 108;
mw = 447.5;
c = 9;
tx = (mw - (c * w)) / (c+1);
r = 30;
d1 = w * cos(r);
d2 = h * sin(r);
h1 = w * sin(r);
h2 = h * cos(r);
t = tx;
difference() {
for (i = [0:c-1]) {
translate([(w+tx)*i, 0, 0]) {
difference() {
translate([-tx, -t, -t]) {
... | glb/cad_2e2798b28106.glb |
Create a square endcap with a total width of 16mm, length of 16mm, and height of 16mm. The main body should be a cube with 45-degree chamfers of 2mm applied to the top four edges.
Inside this body, create a centered square hole that is 10mm wide and 10mm long. This hole should extend from the top face down to a depth... | body_shape = "square";
body_width = 16;
body_height = 16;
body_length = 16;
hole_shape = "square";
hole_width = 10;
hole_length = 12;
chamfer_size = 2;
rim_width = 0;
rim_length = 0;
add_grip = false;
$fn = 250;
cone_bottom = 0;
cone_top = 17.7;
module chamferCube(size, chamfers = [undef, undef, undef], ch = 1,... | glb/cad_ec9674624c94.glb |
The provided OpenSCAD code defines a complex 3D model of a decorative ornament, likely a Christmas bauble or a themed medallion.
### Model Overview
The script is structured into several modules (`poly_flake1` through `poly_flake6`) and a main assembly. It uses a combination of **2D polygons** that are **linearly extru... | name = "max-102";
details_thickness = 1.20;
background_thickness = 1.25;
thickness = background_thickness + details_thickness;
line_under_text = "yes";
font_size = 17;
font_name = 0;
other_font = "Great Vibes:style=Bold";
position_1_flake = 6;
position_2_flake = 1;
position_3_flake = 5;
position_4_flake = 3;... | glb/cad_9bcf7696ec7c.glb |
Create a Screen Protector Application Template by starting with a solid rectangular base measuring 189.5mm by 115.6mm with a height of 10mm. Center a rectangular cutout within this base measuring 164mm by 93mm that penetrates through the entire height of the object.
To refine the interior corners of the cutout, remov... | prot_id1 = 164;
prot_id2 = 93;
dev_id1 = 175.5;
dev_id2 = 101.6;
thickness = 10;
margin = 7;
wall_t = 2.5;
rel_r = 2.5;
m_o = margin - wall_t;
difference(){
cube([dev_id1 + margin,dev_id2 + margin, thickness], center = true);
cube([prot_id1,prot_id2, thickness+1], center = true);
translate([0,0,wall_t])cu... | glb/cad_c6cd4363da93.glb |
Create a filament guide for a spool holder by constructing a long, thin base and two upright arms. Start with a rectangular base measuring 165mm in length, 10mm in width, and 3mm in height. At each end of this base, add a vertical arm that is 3mm wide, 10mm thick, and 70mm tall, extending upwards from the base. To fini... | rotate([-90,0,0]) {
difference() {
union() {
cube([165,10,3]);
cube([3,10,70]);
translate([-22,0,70]) {
cube([25,10,3]);
}
translate([162,0,0]) {
cube([3,10,70]);
}
translate([162,0,70... | glb/cad_98e511132cad.glb |
Create a DeLorean logo consisting of a thin base plate with raised lettering. Start by creating a rectangular base plate 125mm wide, 10.4mm high, and 1.2mm thick, with slightly rounded corners (0.5mm radius).
On top of this base, add the letters "DMC" as raised geometric shapes with a total height of 2.2mm from the b... | base_height = 1.2;
print_height = 2.2;
width = 125;
$fn=150;
br1 = 0.5;
bh1 = 5.2;
bw1 = 27.4;
dh = 10;
dwt = 15.5;
mwt = 17.4;
gp = 3.0;
rb = 2.8;
rc = 1;
rm = 0.9;
cw = dh/2-rc;
xc = dwt-rc-4.8;
xm = mwt/2-rm-2.5;
ym = dh-cw-rm;
ep = 0.01;
scaling = width / (2*bw1);
color("Black")
linear_extrude(ba... | glb/cad_bf686cf38647.glb |
Create a Stratux Collision Avoidance System case consisting of a main base and a matching lid.
For the base, create a main rectangular body 67.6mm wide, 110.8mm long, and 25mm high with 1.8mm thick walls and 1.5mm rounded exterior corners. Extend a "wing" section from the back, increasing the total length to 144.7mm.... | view_side_by_side();
POWER_CONNECTOR_HOLE_WIDTH = 12;
POWER_CONNECTOR_HOLE_HEIGHT = 8;
STRAP_HOLDER = false;
STRAP_HOLDER_WIDTH = 20;
STRAP_HOLDER_HEIGHT = 3;
STRAP_HOLDER_OFFSET = 5;
RASPI_VERSION = "HYBRID";
WALL_THICKNESS = 1.8;
OUTSIDE_CORNER_RADIUS = 1.5;
FAN_TYPE="40";
GPS_ANTENNA_HOLE_SIZE = [16, 6];
PRI... | glb/cad_9265cbccb4e7.glb |
Create an SDS Plus drill box designed to hold three drill bits. Start with a main outer body that is a rounded rectangular prism with dimensions 123mm in length, 45mm in width, and 14mm in height, featuring a corner radius of 4mm.
Hollow out the center of the box to create a storage cavity with a length of 116mm, a w... | $fa = 12;
$fs = 2;
$fn = $preview ? 12 : 36;
micron = 0.001;
print_margin = 0.3;
count = 3;
max_drill_len = 116;
diameter_drill = 10;
dia_drill = 10.6;
wall = 1.6;
wall_thin = 1.2;
drill_width = count * 3 + count * 10;
box_len = 5 / 4 * wall + max_drill_len + 5 / 4 * wall;
box_width = wall + drill_width + wall;
box... | glb/cad_01a6c81288bd.glb |
Create a SIMRACE LED RPM Case consisting of two primary rectangular sections. The first section is a base block measuring 120mm in length, 20mm in width, and 10mm in height. Remove three vertical cylindrical holes from this base: two at the corners (4mm from the left and right edges, 4mm from the front edge) and one ce... | y1=20;
translate ([7,0,0]) difference () {
cube ([120,20,10]);
translate ([4,4,6]) cylinder (d=6,h=15,$fn=100);
translate ([4,4,-1]) cylinder (d=3,h=11,$fn=100);
translate ([116,4,6]) cylinder (d=6,h=15,$fn=100);
translate ([116,4,-1]) cylinder (d=3,h=11,$fn=100);
translate ([60,15,6]) cylinder... | glb/cad_9f2803d6e550.glb |
Create a Table Leg Foot consisting of two stacked conical sections. First, create a lower base section with a height of 5mm, an outside diameter of 14mm, and an inside diameter of 10mm. Apply a 1mm chamfer to the bottom outer edge of this base.
On top of the base, add an upper sleeve section with a height of 10mm. Th... | upperInsideDiameter = 10;
upperOutsideDiameter = 12;
upperHeight = 10;
lowerInsideDiameter = 10;
lowerOutsideDiameter = 14;
lowerHeight = 5;
chamfer = true;
chamferSize = 1;
cutaway = true;
$fn = 100;
eps = .1;
showColor = false;
UIR = upperInsideDiameter/2;
UOR = upperOutsideDiameter/2;
LIR = lowerInsideDiam... | glb/cad_8a8ec5c4d1dc.glb |
Create a customizable storage box compatible with clippable bricks. The main body is a rectangular hollow shell with outer dimensions of 32mm in width (4 bricks x 8mm), 16mm in depth (2 bricks x 8mm), and 9.6mm in height (3 layers x 3.2mm). The walls are 0.8mm thick.
On the top surface, place a grid of 8 studs arrange... | FastRenderingFactor = 2/9;
$fn = 180 * FastRenderingFactor;
ExtraCutLengthInMM = 0.1;
FirstLevelHightInMM = 0.2;
SinglePrinterLevelHightInMM = 0.2;
BrickWallWidthInMM = 0.8;
SingleBrickOuterWidthInMM = 8;
SingleBrickInnerWidthInMM = SingleBrickOuterWidthInMM - 2*BrickWallWidt... | glb/cad_d53e33fd6868.glb |
Create a postcard holder by starting with a solid rectangular block that is 120mm wide, 70mm deep, and 100mm high. Hollow out the center of this block by removing a smaller rectangular volume that is 116mm wide and 66mm deep, leaving a wall thickness of 2mm on the sides and bottom. To create the opening for the cards, ... | $fn=100;
$width=120;
$length=70;
$height=100;
$angle=30;
$height2=$height - $angle - $angle/2 - $angle/20;
difference() {
translate([0,0,0]) cube([$width,$length,$height]);
union() {
translate([2,2,2]) cube([$width - 4,$length - 4,$height]);
translate([-1,-10,$height2]) rotate([$angle,0,0]... | glb/cad_80e191c65e0e.glb |
Create a coffee funnel and tamper set. For the funnel, construct a base cylinder with a diameter of 53mm and a height of 22mm. Atop this base, add a conical section that starts at a diameter of 53mm and expands upward to a diameter of 75mm over a height of 20mm. Hollow out the center of both sections to create a shell ... | $fn=150;
FilterDiameter = 53;
FilterHeight = 22;
FunnelTop = 75;
FunnelHeight = 20;
WallThickness = 2;
difference(){
union(){
cylinder(h=FilterHeight, d=FilterDiameter);
translate([0,0,FunnelHeight])cylinder(h=FunnelHeight, d1 = FilterDiameter, d2 = FunnelTop);
}
union(){
cylin... | glb/cad_fbdf60cd2f07.glb |
Create a numbered lock set consisting of a base holder, four lock bodies, and ten number plates.
First, create a base holder with a rounded rectangular profile. On the top surface, emboss the text "Happy NEW YEAR". Cut four vertical holes through the base to allow the lock shackles to pass through.
Next, create four... | $fn = 60;
translate([0,60,-3]) vesacek();
color("lightblue") translate([-42,0,0]) zamek();
color("lightblue") translate([-14,0,0]) zamek();
color("lightblue") translate([14,0,0]) zamek();
color("lightblue") translate([42,0,0]) zamek();
color("orange") translate([-50,-45,0]) cedulka_velka();
color("black") translate(... | glb/cad_4a1d0f1b8fd1.glb |
Create a tripod mount adapter for a vintage bicycle lamp. Start with a rectangular base block measuring 20mm wide, 15.5mm deep, and 30mm high. On the top surface, center a cylinder with a diameter of 20mm and a height of 15.5mm, oriented so it extends along the depth of the block.
Subtract a central vertical hole with... | $fn=250;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
wall=1;
use <threadlib/threadlib.scad>
difference(){
union(){
translate([-20/2, -15.5/2, 0])
cube([20, 15.5, 30]);
translate([0, 15.5/2, 30])
rotate([90,0,0])
cylinder(d=20, h=15.5);
}
union(){
color("red")
translate([-20/2-dt1, -5.5/2, 18])
cube([20... | glb/cad_b360af8e1fe7.glb |
Create a tripod adapter for a vintage bicycle lamp. Start by constructing a base consisting of two stacked cylinders: a bottom cylinder with a diameter of 21mm and a height of 2mm, and a top cylinder centered on the first with a bottom diameter of 16.9mm, a top diameter of 16.1mm, and a height of 6mm.
From the center... | $fn=250;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
base_x=6.6+prt_delta;
base_y=2.9+prt_delta;
flare_x=2.2;
flare_y=3.6+prt_delta;
wall=0.9;
difference(){
union(){
cylinder(d1=16.9, d2=16.1, h=4.0+2);
cylinder(d=21, h=2);
}
translate([-6.5/2, -3.5/2, -dt1])
union(){
color("red")
... | glb/cad_18d2eb9abbbc.glb |
Create a blank drop-in filter mount adapter. Start by constructing the main body as a composite shape: a cylinder with an outer diameter of 53.1mm and a height of 5.8mm, but with the bottom edges flattened to fit within a larger circle of 73.3mm diameter. The bottom of this main body should feature a chamfer of 2.5mm. ... | inner_diameter = 45;
outer_diameter = 52.1;
outer_extra = 1;
outer_spacing = 5;
exter_diameter = 73.3;
exter_wall = 1.8;
exter_height = 10;
exter_cutout_width = 18;
exter_cutout_height = 2.4;
top_size = 16.5;
main_height = 5.8;
chamfer = 2.5;
$fn = 128;
$fudge = 1;
difference() {
linear_extrude(exter_height) dif... | glb/cad_0600358975e1.glb |
Create a Keychain Cart Coin by constructing a flat base with a total height of 2.33mm. The base consists of a circle with a diameter of 23.25mm joined to a handle. The handle is formed by a rectangle 26mm long and 18mm wide, capped with a semi-circle of 18mm diameter on the left end. Within the handle's semi-circular c... | part = 1;
line1 = "Robert";
line2 = "Schiele";
line3 = "+49 173";
line4 = "1234567";
handle_length = 35.00;
handle_width = 18.00;
hole_distance = 3.00;
hole_dia = handle_width - hole_distance*2;
coin_dia = 23.25;
obj_height = 2.33;
$fn=90;
module base() {
linear_extrude(height = obj_height)
... | glb/cad_fdcdf065aa12.glb |
Create a WaterMelon Drain tray by starting with a rectangular plate 350mm long, 220mm wide, and 2mm thick. Round the four corners of the plate with a 50mm radius.
Across the surface of the plate, create a grid of circular holes, each with a 5mm radius. The holes are spaced 3mm apart. Ensure the grid covers the interi... | tableLength = 350;
tableWidth = 220;
tableThickness =2;
holeRadius = 5;
holeOffset = 3;
supportPostHeight = 17.5;
supportPostRadius = holeRadius;
supportPostOffset = 50;
cornerRadius = 50;
innerPosts = 1;
splitLength = 0;
splitWidth = 0;
module hole(x, y)
{
if (x != 0 || y != 0)
... | glb/cad_d73c734766c0.glb |
Create a VESA plate for a square peg board by starting with a square base plate measuring 120mm by 120mm with a thickness of 7mm. Round the four corners of the plate with a radius of 1mm.
On the back of the plate, create two vertical mounting cutouts designed for a square peg board. These cutouts should run the full ... | include <square-board-lib.scad>
mount_h = 120;
top_offset = 4;
mount_spacing_mult = 1;
mount_sep_plate = false;
plate_l = 120;
plate_w = 120;
plate_th = 7;
plate_rounding = 1;
vesa_bh_spacing = [100, 100];
vesa_bolt_d = 4.2;
vesa_bolt_h = 4;
vesa_head_d = 8.2;
$fn = 64;
wall_th = 2.19;
VESA_plate();
module... | glb/cad_dac35f6e68bc.glb |
Create a walking stick holder by constructing a base shape that is 12mm thick. Start with two cylinders, each 8mm in diameter, positioned 50mm apart along the x-axis; connect these two cylinders with a hull to form a rounded rectangular bar. At the end of this bar, centered on the second cylinder, add a larger cylinder... | dicke = 8;
breite = 12;
laenge = 50;
fussbreite = 15;
bohrung = 5;
schraubenkopf = 7;
$fn= 100;
difference(){
union(){
hull(){
cylinder( h = breite, d = dicke );
translate([laenge, 0, 0])
cylinder( h = breite, d = dicke );
}
translate([laenge, 6, 0])
... | glb/cad_24bbae8ee253.glb |
Create a walking stick holder designed to clamp a 22mm diameter rod. The main body is a C-shaped clasp with a total width of 15mm. The outer wall thickness is 2.9mm.
Construct the main body as a partial cylinder that wraps around the rod, leaving a gap to allow the rod to snap in. The base of the holder should be fla... | $fn=100;
clasp_height = 15;
rod_diameter = 22;
thickness = 2.9;
straight_edges = 1;
epsilon = 0.001;
pin_dia = 3 + thickness;
binding_tolerance = 0.45;
module clasp(width, rod_dia=8, rod_offset)
{
$fn=20;
height = width;
capture_dia = rod_offset + rod_dia/2 - thickness*.25;
over_angle = -12;
... | glb/cad_7642ee01b29f.glb |
Create a vase by extruding a pentagonal profile vertically to a height of 250mm. Start with a regular pentagon that has a diameter of 250mm. As the shape is extruded upward, apply a continuous twist of 145 degrees and a linear scale increase so that the top pentagon is 1.5 times larger than the base. Ensure the vertica... | linear_extrude(250, twist=145, slices=400, scale=1.5){
circle(d=250, $fn=5);
} | glb/cad_b492d75a0c20.glb |
Create a Lego Figure Toilet Paper Holder by constructing the following geometric components:
First, create the head as a composite of a cylinder with a radius of 4.4mm and height of 3mm for the top knob, a larger cylinder for the face with a radius of 5.1mm and height of 4.5mm, and a neck cylinder with a radius of 3.2... | showhead = false;
showhat = false;
showbody = false;
showlegs = false;
showarms = true;
showsupports = true;
module curvemod(width, height, length, dh)
{
$fn= 360;
r = (pow(length/2, 2) + pow(dh, 2))/(2*dh);
a = 2*asin((length/2)/r);
translate([-(r -dh), 0, -width/2]) rotate([0, 0, -a/2]) rotat... | glb/cad_5d62f0f8e440.glb |
Create an exhaust fan air filter consisting of a main case and a lid.
Construct the case as a rectangular box with exterior dimensions of 80mm width, 80mm height, and 35mm depth, with a wall thickness of 2mm. The case is open on the Y-axis side. On the face opposite the opening, create a ventilation grid by removing ... | show_case = true;
show_lid = true;
case = [80,80,35];
cww = 2;
cfw = 5;
lid_params = [2, 10, 0.075];
hw = 2.5;
vww = 0.7;
cgdia = 60;
pin_dims = [35, 5, 6.9];
pin_cr = 0.6;
pin_center_offset = 32.25;
$fa=1; $fs=0.4;
module snap_pin()
{
translate([-0.5*pin_dims.x,0,0])
hull()
{
cube([pin... | glb/cad_dcd859e6daea.glb |
Create a Swiss Army Knife Corkscrew Pencil designed to hold a 0.7mm pencil lead. Start with a main cylindrical body with a radius of 3.6mm and a total length of 20mm. The base of the body should have a 1mm taper, and the top should taper from the main radius down to 1.35mm over a length of 1.3mm. Above this tapered sec... | pen_body_rad=7.2/2;
pen_nib_rad=2.7/2;
body_len=20;
body_taper=1.3;
arse_taper=1;
nib_len=4;
lead_len=7;
clearance=0.3;
lead_rad=0.7/2;
slot_width=lead_rad*2-clearance;
module pen_body() {
cylinder(h=arse_taper,r1=pen_body_rad-arse_taper,r2=pen_body_rad,$fn=50);
translate([0,0,arse_taper]) cylinder(h=body_len... | glb/cad_ca15b2a2aac1.glb |
Create a Magnetic Fridge Hook for Dustpan consisting of a rectangular baseplate and a protruding hook. Start with a baseplate that is 100mm long, 32mm wide, and 3.8mm thick. The baseplate should have 2mm chamfered edges.
Inside this baseplate, create three cylindrical cavities to house magnets, each with a diameter o... | $fn=80;
magnet_amount = 1;
magnet_height = 3;
magnet_diameter = 12;
baseplate_width = magnet_diameter+20;
baseplate_height = magnet_amount*magnet_height+0.2+0.6;
baseplate_chamfer = 2;
difference(){
union(){
difference(){
baseplate();
union(){
translate([-35,0,0.2]) magnet_cavity();
... | glb/cad_91335bbc9759.glb |
Create a Smart Relais-Box consisting of a cylindrical case and a matching cover.
The case is a cylinder with a diameter of 63mm and a total height of 24mm. The walls are 1.5mm thick. The bottom is flat, but the cylinder is sliced on one side to create a flat edge. Inside the case, create a hollow cavity with a diamet... | include <LmswElectronicParts.scad>;
include <../../../Libraries/ESP8266Models.scad>
ElectronicDiameter = 60;
ElectronicHeight = 18.5;
WallWidth = 1.5;
SafetyPrintDistance = 2.5;
WallFreeDistance = 0.25;
FlatDistance = 20;
ScrewTerminalPos = [2, -5, 0];
ScrewTerminalElements = 3;
ScrewTerminalHeight = 5.9;
Ter... | glb/cad_ab1a5b7a2f24.glb |
Create a child-safety cover for a Swiss wall socket. Start with a main block measuring 94mm x 94mm x 22mm. Hollow out the center of the block by removing a 90mm x 90mm x 9mm volume, leaving a 2mm wall thickness around the perimeter.
At the center of the block (47mm, 47mm), create a vertical mounting hole 3.5mm in diam... | $fn = 80;
module chamfer(r, h) {
translate([r / 2, r / 2, 0])
difference() {
cube([r + 0.01, r + 0.01, h], center = true);
translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true);
}
}
module axis_rotate(z, y, coord) {
translate(coord)
rotate([0, y, z])
translate(-coord)
... | glb/cad_b41975e1b4b1.glb |
Create a parametric sound diffuser panel starting with a square base plate measuring 150mm by 150mm with a thickness of 4mm. On top of this base, generate an 8x8 grid of square blocks, where each block has a width and depth of 18.75mm. Assign each of these 64 blocks a random height between 0mm and 10mm, extending upwar... | $fn = 100;
plate_size = 150;
base_x = plate_size;
base_y = plate_size;
base_z = 4;
diffusor_max_z = 10;
screw_diameter = 4;
screw_hole_diameter = screw_diameter + 1;
screw_distance_from_edge = 10;
grid_division = 8;
cube_size = plate_size / grid_division;
cube_per_row = plate_size / cube_size;
cubes_total = ... | glb/cad_206683bbabfc.glb |
Create a window crank knob replacement consisting of a main outer body and a central pin. For the outer body, start with a base cylinder 24mm in diameter and 3mm high, tapering outward to a maximum diameter of 30mm. Atop this base, add a second cylinder 15.5mm high that tapers slightly from 30mm down to 28mm at the top... | include <../libraries/threads.scad>
$fn = 128;
baseDiam = 24.0;
maxDiam = 30.0;
topDiam = 28.0;
maxHeight = 4.0;
topHeight = 15.5;
insideDiam = 22.6;
centerPinDiam = 10.0;
centerPinHeight = 26.1;
centerPinTopDiam = 8.5;
centerPinTopCamfer = 2.0;
centerPinHole = 6.0;
centerPinSplit = 1.5;
insideDepth = topHeight -... | glb/cad_8fbb6effdb87.glb |
Create a rack mount for a powerstrip by starting with a rectangular base plate measuring 220mm wide, 87mm deep, and 3mm thick. On each side of this base, add a vertical mounting wing that is 43mm wide and 41.5mm tall, extending the total width to 480mm. These wings should be 3mm thick.
In the center of the base plate,... | aofo = [330, 78, 37.5];
aofo_r = 10;
rack_w = 480;
overlap = 40;
overlap_aofo_x = 16;
overlap_aofo_y = 9;
wall = 3;
dia = 6.7;
hole_d1 = 7.5;
hole_d2 = 45;
base = [(rack_w - aofo.x) / 2 + overlap, aofo.y + 2 * wall, wall];
module aofo()
{
hull() {
translate([aofo_r, aofo_r, 0])
cylinder(r = aofo_r, h = aofo.z, ... | glb/cad_edaf856b501f.glb |
Create a bottle holder with a height of 60mm. The main body is a hollow cylinder with an inner diameter of 55mm and a wall thickness of 2.5mm. On one side of the cylinder, add a flat rectangular block with a thickness of 3mm that extends from the outer wall, creating a flat back surface.
To attach the holder to a pane... | include <BOSL2/std.scad>
bolts = import("bolts.json");
$fn = 360;
inner_diameter = 55;
wall_thickness = 2.5;
height = 60;
block_thickness = 3;
orientation = "right";
bolt = "M3";
bolt_to_side_space = 14;
hc_panel_depth = 11.22;
hexa_radius = 11.4;
hexa_circular_radius = hex_to_circular_radius(hexa_radius);
hex... | glb/cad_d08d2d398a3c.glb |
Create a Removable Compartment Organizer Bin with a square footprint of 49.11mm by 49.11mm and a total height of 50.65mm. The bin should have a tapered body that narrows from the top toward the base.
At the top, create a reinforcing lip with a height of 1.5mm and a thickness of 0.82mm. The top edges and corners shoul... | box_width = 1;
box_length = 1;
box_depth = 1;
top_of_stack = 1;
subdivisions_wide = 1;
subdivisions_long = 1;
Unit_Length = 49.11;
Unit_Width = 49.11;
Lip_Depth = 1.01;
Unit_Height = 50.65;
Foot_Height = 1.01;
Corner_Radius = 3.5;
Taper = 2.5;
Wall_Thickness = .82;
Lip_Height = 1.5;
Foot_Width = 1.22;
$... | glb/cad_3885181f9fde.glb |
Create a pill dosette box consisting of seven identical daily trays stacked along the Y-axis. Each daily tray is a rectangular block measuring 80mm in length, 26mm in width, and 18mm in height.
For each tray, hollow out the center to create a storage area, leaving a perimeter wall of 1.5mm. The floor of the tray shou... | length=80;
width=26;
height=18;
days=7;
chambers=3;
font="sans-serif:style=Bold";
fontsize=8;
wall=1.5;
overhang=1.3;
lidheight=1.3;
chamberlength=(length-wall)/chambers;
thickwall=wall+1.5;
day = ["Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"];
for(i = [0:days-1]) {
translate([0, ((width-wall)*i), 0]) daytra... | glb/cad_7c9e912f7664.glb |
Create a sliding stop for a pocket rule by starting with a solid rectangular block measuring 30mm in length, 31.4mm in width, and 8mm in height. Carve a rectangular channel through the entire 30mm length of the block to accommodate the ruler; this channel should be 25.4mm wide and 4mm thick, positioned centrally along ... | tolerance = 0.1;
ruler_thickness = 4 + tolerance;
ruler_width = 25.4 + tolerance;
slider_thickness = ruler_thickness + 4;
slider_width = ruler_width + 6;
slider_length = 30;
slider_ledge = 4;
screw_hole_diameter = 4.5;
$fn= 128;
difference()
{
cube([slider_length, slider_width, slider_thickness]);
ruler_ho... | glb/cad_74ad39522bb2.glb |
Create a pocket-sized 4-tone train whistle. Start with a main body that is 30mm wide, 30mm deep, and 100mm tall, featuring rounded edges with a 9mm radius. Flatten the bottom of the body by removing a slice to create a stable base.
Hollow out the interior to create a shell, but leave internal walls to divide the body... | $fn=64;
BodySize = [30,30,100];
EdgeR = 9;
RealSize = [BodySize[0]-EdgeR*2,BodySize[1]-EdgeR*2,BodySize[2]-EdgeR*2];
module body(scaleTo=[1,1,1]){
translate([BodySize[0]/2,BodySize[1]/2,BodySize[2]/2-1.5])
scale(scaleTo)
difference(){
minkowski($fn=80){
cube(RealSize,center=true);
... | glb/cad_2434245b4647.glb |
Create a modular N-scale building wall segment. The main wall is a rectangular slab with a thickness of 4mm, a height of 22.97mm, and a width of 28mm.
On the top edge of the wall, add a roof section that is 2mm high and 5mm deep (extending 1mm beyond the wall thickness). This roof features a crenelated pattern with 1... | number_of_units = 1;
show_building = 1;
show_corner = 1;
horizontal_windows=3;
Ncol=horizontal_windows;
vertical_windows=1;
Nrow=vertical_windows;
show_door="no";
show_windows="yes";
show_bricks="no";
show_roof="yes";
stand_pipe="no";
Xinit=8*1;
Yinit=2*1;
Xspace=10*1;
Yspace=15.5*1;
Zbase=4.0*1;
Xwin=6.4*1;
Ywin... | glb/cad_453254e849bc.glb |
Create a Dropzone Commander N-scale building consisting of two wall units and four corner pieces.
Each wall unit is a rectangular slab 26.4mm wide, 22.97mm high, and 4mm thick. On the front face of each wall, create a grid of three horizontal windows across one vertical row. Each window is 6.4mm wide and 12mm high, w... | number_of_units = 2;
door_one = 1;
show_building = 1;
show_corner = 1;
horizontal_windows=3;
Ncol=horizontal_windows;
vertical_windows=1;
Nrow=vertical_windows;
show_door="no";
show_windows="yes";
show_bricks="yes";
show_roof="yes";
stand_pipe="no";
Xinit=8*1;
Yinit=1*1;
Xspace=10*1;
Yspace=15.5*1;
Zbase=4.0*1;
... | glb/cad_45eb3228e094.glb |
Create a Dropzone Commander N-scale building consisting of two wall units and four corner pieces. Each wall unit is a rectangular slab 34.4mm wide, 27.97mm high, and 4mm thick.
On each wall, place three windows horizontally and one window vertically. Each window is 6.4mm wide and 10mm high, recessed 2mm into the wall... | number_of_units = 2;
show_building = 1;
show_corner = 1;
horizontal_windows=3;
Ncol=horizontal_windows;
vertical_windows=1;
Nrow=vertical_windows;
show_door="no";
show_windows="yes";
show_bricks="yes";
show_roof="yes";
stand_pipe="no";
Xinit=8*1;
Yinit=2*1;
Xspace=10*1;
Yspace=15.5*1;
Zbase=4.0*1;
Xwin=6.4*1;
Ywi... | glb/cad_368d2ab49a08.glb |
Create a Dropzone Commander N-scale building consisting of three floors. The structure is composed of repeating wall segments and corner pieces. Each floor has a height of 26.97mm.
For the ground floor, create wall segments that are 34.4mm wide and 26.97mm high. For the middle floors, repeat this height and width. The... | use <whole floor - ground floor.scad>;
use <whole floor - middle floor.scad>;
use <whole floor - rooflet.scad>;
use <whole floor - roof.scad>;
num_floors = 3;
num_walls = 2;
num = num_walls - 1;
gf_walls(num);
gf_corners(num);
if (num_floors-1>0){
for (i = [0:num_floors-2]){
translate([0,26.97+19*i,0]){
mf_walls(n... | glb/cad_c390566def3e.glb |
Create an action gauge tool consisting of a central hub with radiating arms. Start by creating a central cylinder with a diameter of 45mm and a maximum height of 4.5mm. The cylinder's vertical facets should match the number of gauges created.
Generate five rectangular arms radiating from the center, each 8mm wide and ... | Gauge_Width = 8;
Gauge_Length = 48;
Low_Value = 2.5;
High_Value = 4.5;
Step = 0.5;
Diameter = 45;
Font_Size = 5;
Embossed_Height = 0.3;
Num_Gauges = (High_Value - Low_Value) / Step + 1;
Angle = 360 / Num_Gauges;
assert(High_Value > Low_Value);
difference() {
union() {
cylinder(d = Diameter, h = High_Va... | glb/cad_d14d42e667c5.glb |
Create a Parametric Enclosure Frame consisting of struts, corners, and pegs. The frame is designed for an interior volume of 500mm width, 544mm depth, and 600mm height, using struts with a cross-sectional width of 8mm.
First, create the corners. Each corner is a cube of 8mm per side, modified by removing a central 8mm... | width=500;
depth=544;
height=600;
strutWidth=8;
printWidth=249;
printDepth=210;
corner();
f=8;
ra=atan(printWidth/printDepth);
mlx=printWidth-strutWidth*sin(ra);
mly=printDepth-strutWidth*cos(ra);
maxStrutLength=sqrt(mly^2+mlx^2);
w=strutWidth;
pd=w*2/3;
cl=0.05;
pd2=pd+cl;
pl=w*2;
echo(str("Strut rotation: ",ra))... | glb/cad_399e0bd7ba1a.glb |
Create a Muffin Slicer consisting of a base and two removable side walls.
First, construct the base. Create a central rectangular slab 4mm thick. The main body of the base should be 104mm wide (calculated as the inside width of 30mm plus two wall slots of 4mm each and a knife slot of 2mm) and 108mm long. Add a base e... | insideWidth = 30;
insideLength = 100;
insideHeight = 100;
knifeThickness = 2;
baseHeight = 4;
baseExtension = 40;
clearance = 0.1;
wallThickness = 4;
notchWidth = 30;
notchHeight = 30;
showBase = true;
showWall = true;
showWall2 = false;
showContents = false;
showColor = true;
testing = false;
$fn = 100... | glb/cad_bc785d4e19b7.glb |
Create a Lab Power Supply housing consisting of a bottom shell, a top shell, a front panel, and a back panel.
The main body is a rounded rectangular box with a length of 52mm, width of 140mm, and height of 60mm, with a wall thickness of 2mm and corner radii of 2mm. The top and bottom shells are hollowed out to fit to... | Length = 52;
Width = 140;
Height = 60;
Thick = 2;
Filet = 2;
Resolution = 50;
m = 0.9;
PCBFeet = 0;
Vent = 1;
Vent_width = 1.5;
PCBPosX = 0;
PCBPosY = 30;
PCBLength = 22.5;
PCBWidth = 47;
... | glb/cad_4c9209d889b2.glb |
Create a tapered cylindrical knob with a height of 16mm. The base of the knob has a diameter of 11mm, tapering upward to a smaller top diameter of 8.8mm (calculated from a 20% taper).
Around the outer vertical surface, add a series of small, raised rectangular ridges (knurls) spaced evenly every 2mm along the circumf... | HoleDiameter = 4;
HoleDepth = 14;
HoleFlatThickness = 0;
KnobHeight = 16;
KnobDiameter = 11;
CapType = 0;
TimerKnob=0;
Pointer1 = 0;
Pointer2 = 0;
Knurled = 1;
TaperPercentage = 20;
RingWidth = 2;
RingMarkings = 0;
ScrewHoleDiameter = 0;
ShaftLength = 0;
ShaftDiameter = 10;
NotchedShaft = 0;
RingThickn... | glb/cad_9bf8589bed73.glb |
Create a Bike Helmet Wall Mount consisting of a hollowed-out housing with a wall thickness of 4mm. The outer shell is formed by a hull connecting two circular profiles of 60mm diameter; one centered at the origin and another shifted 70mm along the x-axis. This outer shape is extruded to a height of 60mm, with the profi... | detail=200;
widthNheight=60;
shift=70;
wall = 4;
translate([-30,0,0])hanger();
module hanger() {
difference() {
outerHousing();
translate([0,0,wall])innerHousing(wall);
translate([-60,0,widthNheight/2])rotate([0,90,0])hull() {
cylinder(h=60,d=widthNheight/2,$fn=detail);
... | glb/cad_a0a392101bfb.glb |
Create a Bike Helmet Wall Mount consisting of a rectangular base plate with rounded corners. The plate should be 40mm wide, 30mm deep, and 5mm thick.
At each of the four corners, create a vertical screw hole with a diameter of 5mm. Each of these holes must feature a countersunk top, creating a wider cylindrical openi... | detail=60;
plateThick = 5;
clearanceHole = 11;
mountingHole = 5;
screwHole = 5;
screwHead = 9;
screwHeadThick = 3;
plate(13);
module plate(slotLen) {
difference() {
hull() {
translate([0,0,0])cylinder(h=plateThick,d=5/8*25.4,$fn=detail);
translate([40,0,0])cylinder(h=plateThick,... | glb/cad_2dd5fc74793f.glb |
Create a Scouse Keyboard consisting of three mechanical keycaps.
First, create a small square keycap with a base width of 14.5mm and a height of 18mm. The top surface should be slightly smaller than the base, creating a tapered effect. On the top face, center the letter "A" as a recessed engraving.
Next, create a la... | detail = 40;
buttonSide = 14.5;
buttonCatchDepth = 1.3;
keyboardLength = 70;
translate([-30,0,0]) {
keycap(14.5);
translate([-2.5,-3,10-1+0.2])scale([0.5,0.5,1])linear_extrude(1)text("A");
keycapShaft();
}
module keyboardBody() {
minkowski() {
hull() {
rotate([0,90,0])cylinder(d=... | glb/cad_06e7092e0292.glb |
Create a pulley for a 2D Delta Drawbot. Start by creating a main cylinder with a radius of 50mm and a height of 15mm. Hollow out this cylinder by removing a concentric inner cylinder with a radius of 47mm and a height of 12mm, leaving a 3mm thick rim. Additionally, remove a central bore with a radius of 10mm that runs ... | pulleyDepth = 15;
pulleyRadius = 50;
pulleyResolution = 100;
pulleyRimDepth = 3;
pulleyWebDepth = 3;
union() {
difference() {
cylinder(h=pulleyDepth,r1=pulleyRadius,r2=pulleyRadius,$fn=pulleyResolution);
cylinder(h=pulleyDepth-pulleyWebDepth,r1=pulleyRadius-pulleyRimDepth,r2=pulleyRadius-pulleyRimDepth,$fn=pulley... | glb/cad_29d6f7a70dd2.glb |
Create a rectangular base plate for a 2D Delta Drawbot measuring 60mm wide, 72mm long, and 3mm thick.
Center a large circular cutout with a diameter of 45mm through the plate. Position two small holes, each 3mm in diameter and 3mm deep, at specific coordinates: one at [10, 64.5, 0] and another at [50, 64.5, 0]. Each ... | difference() {
cube([60,72,3]);
translate([10,(72-57)/2+57,0]){
cylinder(h=3,d=3,$fn=15);
translate([0,0,1])cylinder(h=2,d1=3,d2=6,$fn=15);
}
translate([50,(72-57)/2+57,0]){
cylinder(h=3,d=3,$fn=15);
translate([0,0,1])cylinder(h=2,d1=3,d2=6,$fn=15);
}
translate([3... | glb/cad_62e98cb6e261.glb |
Create a timing belt pulley for a NEMA17 motor shaft. The pulley features a central cylindrical bore with a diameter of 5mm that runs through the entire height of the part.
The main body consists of a toothed section with 20 teeth designed for a T2.5 profile. This toothed section has a height of 6mm and is flanked by ... | teeth = 20;
profile = 5;
motor_shaft = 5;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 1.5;
idler = 1;
idler_ht = 1.5;
pulley_t_ht = 6;
pulley_b_ht = 8;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1;
additional_tooth_width = 0.2;
addi... | glb/cad_0685063542d1.glb |
Create a 2D Delta Drawbot assembly consisting of the following geometric components:
First, create an elbow joint. Start with a cylinder 12mm high and 16mm in diameter (bearing diameter plus 6mm padding). Subtract a central vertical hole 10mm in diameter and 8.8mm deep. Add a rectangular body to the side of the cylind... | detail = 20;
shaftDiam = 6+0.25;
shaftClampedLength = 35;
shaftClampWidth = 20-3;
shaftZ = 2;
bearingDiam = 10+0.5;
bearingThick = 4;
washerThick = 0.4;
bearingPad = 6;
shaftEndPad = 2;
elbowHeight = 12;
tiny=0.001;
servoRot = 0;
wrist2(0);
translate([0,-40,0])wrist1(0);
translate([50,30,0])penHolder();
transla... | glb/cad_5bf40983b0ef.glb |
Create a center piece for a geared disc counter. Start by creating a main cylindrical shaft with a radius of 8mm and a height of 3mm. On top of this shaft, add a wider cylindrical cap with a radius of 12mm and a height of 1mm.
From the bottom of the assembly, remove a central cylindrical cutout with a radius of 7mm an... | $fn=100;
inset = 0.2;
center_cutout = true;
render_inset = false;
gear_offset = 6.1;
cap_height = 1;
module center_inset() {
translate([0,9.75,0]) rotate([0,0,90]) circle(r=2, $fn=3);
rotate([0,0,90]) text("Your text", 3, valign="center", halign="center");
}
if (render_inset) {
linear_extrude(inset)... | glb/cad_5da582dc5e0a.glb |
Create an AeroPress Organizer starting with a rectangular base 190mm x 120mm with a height of 8mm and rounded corners of 10mm.
On the base, add a scoop holder at (176, 91) consisting of a cylinder with a 19mm diameter and 24mm height, topped with a 1mm thick disk of 21mm diameter. Create a hexagonal cutout in this sc... | nudge = 0.1;
base_x = 190;
base_y = 120;
base_z = 8;
filter_holder_x = 43;
filter_holder_y = 75;
filter_holder_z = 3;
filter_holder_rotation = 0;
chamber_holder_x = 41;
chamber_holder_y = 75;
chamber_holder_z = 3;
plunger_holder_x = 138;
plunger_holder_y = 48;
plunger_holder_z = 3;
cap_holder_x = 47;
cap_holder_y ... | glb/cad_d175ec0feb08.glb |
Create two mirrored Stanley Storemaster Desk Brackets. Each bracket is a vertical support rail designed to be screwed into the underside of a desk to hold a storage box.
The main body is a rail with a thickness of 12.6mm. The overall height is 57.5mm and the overall length is 112.6mm. The rail features a rounded under... | flange_height=47;
curve_rad=2.9/2;
flange_thick=4;
flange_bevel=2;
clearance=10;
flange_depth=7;
flange_separation=75;
flange_width=5.5;
frame_thick=12.6;
backstop_standoff=13;
front_standoff=8;
box_edge_width=9;
box_edge_height=14.5;
screw_platform_width=15;
entry_bevel=5;
edge_bevel=1.5;
backstop_notch_height=34;
gap... | glb/cad_33be3a71a2e9.glb |
Create a seat belt buckle insert by starting with a central rectangular base measuring 48mm by 22mm with a thickness of 3mm. Modify this base by removing five cylindrical sections, each with a diameter of 23mm, positioned to round the corners and edges: place two cylinders at the far left edge (x = -25mm), two at the r... | $fn = 100;
difference() {
cube([48, 22, 3], center = true);
union() {
translate([-25, -30, -4])
cylinder(10, 23, 23);
translate([-25, 30, -4])
cylinder(10, 23, 23);
translate([32, 30, -4])
cylinder(10, 23, 23);
translate([32, -30, -4])
cylinder(10, 23, 23);
translate([45, 0, -4])
cylinder(10... | glb/cad_e8ff669929d3.glb |
Create a washer by constructing a smooth cylinder with an outer diameter of 8mm and a height of 2mm. Centered perfectly along the vertical axis, remove a smaller cylindrical core with a diameter of 3.1mm and a height of 2mm to create a hollow circular hole through the entire part. | $fn=150;
outer_diameter = 8;
inner_hole = 3.1;
height = 2;
difference(){
cylinder(h=height, d=outer_diameter);
cylinder(h=height, d=inner_hole);
} | glb/cad_8677b98bf0bc.glb |
Create a cable holder consisting of a rectangular base plate and two upright support pillars. The base plate is 23mm wide, 42mm long, and 3mm thick. From this base, extend two identical pillars upward to a total height of 26mm. Each pillar should be 17mm wide at its base and 7mm thick, tapering slightly as they rise.
... | $fn=42;
difference() {
union() {
hull() {
translate([2,0,0]) cube([23-2*2,42,3]);
translate([0,2,0]) cube([23,42-2*2,3]);
}
translate([3,3,3]) {
hull() {
translate([-1,-1,0]) cube([23-2*3+2*1,7+2*1,.1]);
translate([3,0,23]) cube([23-2*3-2*3,7,.1]);
}
}
tran... | glb/cad_0df788418bdf.glb |
Create a Parametrizable Rugged Box consisting of a bottom tub and a matching top lid.
For the bottom tub, create a hollow rectangular shell with an outer length of 135mm, width of 105mm, and height of 30mm. Use a shell thickness of 3mm and a fillet radius of 4mm for all exterior corners. The interior should be a holl... | $fn=64;
insideLength=138;
insideWidth=108;
insideHeight=33;
shellThickness=3;
ribThickness=6;
filletRadius=4;
showExample=true;
showExampleCombined=false;
outSideLength=insideLength-shellThickness;
outSideWidth=insideWidth-shellThickness;
outSideHeight=insideHeight-shellThickness;
heiBottom=0.7*outSideHeigh... | glb/cad_4f278785963c.glb |
Create an XYZ Test Corner Bracket consisting of three identical square plates, each 20mm by 20mm with a thickness of 2mm, joined at 90-degree angles to form the inner corner of a cube. Each plate is a square slab with a 10mm diameter circular hole centered within it.
On the face of each plate, emboss a capital letter... | size = 20;
hole = 10;
hole_offset = 0;
width = 2;
lip = 0;
font="Arial:style=Bold";
label_width = -0.2;
label_size = 5;
label_X = "X";
label_Y = "Y";
label_Z = "Z";
$epsilon = 0.01;
$fn = 64;
label_offset = label_size-2;
module lip() {
translate([0, 0, lip]) rotate([0, 90, 0]) linear_extrude(size) polygon([... | glb/cad_aac1d14ab0a2.glb |
Create a Prusa MK2 endstop extender by starting with a rectangular base block measuring 15.5mm in width, 25mm in length, and 8mm in height. Center the block on the X-axis.
Remove a rectangular section from the bottom front of the block, measuring 15.5mm wide, 14.5mm long, and 5mm deep, to create a recessed area. With... | include <../libs/hardware-recess.scad>;
endstop_offset=25;
extra_width = 6;
module endstop_mount(){
translate([-4.75,0,0])hole_w_end(4, 1.4, "round", M2);
translate([4.75,0,0])hole_w_end(4, 1.4, "round", M2);
}
module endstop_nut(hole_len){
translate([-4.75,0,-2])hole_w_end(hole_len, 1.4, "hex", M2, fli... | glb/cad_64a631bdd251.glb |
Create a Prusa MK2 endstop extender. Start with a main rectangular block measuring 15.5mm in width, 35mm in length, and 8mm in height. At the bottom center of the block, remove a rectangular section measuring 15.5mm wide, 12mm long, and 5mm high to create a cutout.
On the top surface, create two round holes for M2 sc... | include <../libs/hardware-recess.scad>;
endstop_offset=35;
extra_width = 6;
module endstop_mount(){
translate([-4.75,0,0])hole_w_end(4, 1.4, "round", M2);
translate([4.75,0,0])hole_w_end(4, 1.4, "round", M2);
}
module endstop_nut(hole_len){
translate([-4.75,0,-2])hole_w_end(hole_len, 1.4, "hex", M2, fli... | glb/cad_45b5dfcae38e.glb |
Create a stackable crate with a rectangular footprint of 174mm by 116mm and a total height of 130mm. The walls and base have a uniform thickness of 3mm. The base is a solid plate with rounded corners (radius 14.5mm) and features six circular drainage holes, each 25mm in diameter, arranged in a 3x2 grid centered within ... | $fn = 60;
cell_size = 58;
corner_radius_frac = 1/4;
thickness = 3;
height = 130;
Nx = 3;
Ny = 2;
divider_width = 1.2;
divider_height = 35;
grip_size = 20;
grip_pos = 25;
min_wall_thickness = 1.2;
bottom_holes = true;
bottom_hole_dia = 25;
corner_radius = corner_radius_frac * cell_size;
module tz(dz) translate([0, 0, ... | glb/cad_8151e20243f8.glb |
Create a motor mount for a 3D printer X-axis end motor. Start with a main base block measuring 17mm by 44mm by 53mm, centered at [-15, 31, 26.5]. Attach a smaller endstop base block measuring 17mm by 18.2mm by 4mm, positioned at [-23.5, -28.5, 58].
In the endstop base, create two screw holes: each is a cylinder with a... | use <x-end.scad>
module x_end_motor_base()
{
x_end_base();
translate(v=[-15,31,26.5]) cube(size = [17,44,53], center = true);
}
module x_end_motor_endstop_base(){
translate([-23.5,-28.5,58]){
difference(){
cube([17,18.2,4]);
translate([-1,10,10])rotate([-45,0,0])cube([20,... | glb/cad_4feb5eabd0c8.glb |
Create a Paracord Card Wallet with a hidden compartment. Start by constructing a main body as a rounded box with dimensions 106.4mm in length, 65.4mm in width, and 11.5mm in thickness, featuring corner radii of 2.5mm. Hollow out a central card cavity measuring 86.4mm by 54.4mm with a depth of 9.92mm to accommodate stan... | card_count=13;
card_width=54.4;
card_length=86.4;
card_thick=0.76;
card_space=card_count*card_thick;
card_overinsert=1.7;
clearance=0.3;
side_stash_space=0.7;
side_stash_rim=6;
edge_thick=10;
face_thick=2.5;
face_width=card_width-8;
face_length=card_length-18;
lid_thick=2.4;
base_thick=1.5;
cavity_height=5.5+lid_thic... | glb/cad_74e7a316d556.glb |
Create a replacement ear bud tip consisting of a hollowed conical body and a mounting pin. Start by creating a cone with a base diameter of 15.5mm and a height of 15mm, tapering upward to a rounded top formed by a sphere with a 10mm diameter. Drill a 3mm diameter hole vertically through the center of the entire shape. ... | $fn= $preview ? 16:64;
coneD=[15.5,10,12+.5];
coneL=15;
pinD=[7.3,8];
pinL=[3-.5,1.25+.3];
pinShift=3+.4;
hole=3;
not=0.001;
inf=100;
d(){
cone();
t([0,0,-not]) pin();
t([-50,1,-not]) cube([inf,inf,pinShift+pinL[0]+pinL[1]]);
t([-50,0,-not]) cube([inf,inf,pinShift]);
}
module cone(){
d(){
hull(){
cylind... | glb/cad_d80d2d15ef65.glb |
Create a Sortainer label consisting of a thin base plate with raised text. Start by creating a rectangular base 81.3mm wide and 13.5mm high with a thickness of 1mm. Apply a corner radius of 1.5mm to all four corners of this base. Centered on top of this plate, add the text "Sortainer label" using a bold sans-serif font... | $fn=128;
label = "Sortainer label";
width = 81.3;
height = 13.5;
padding_h = 2;
padding_w = 5;
offset_y = 2;
module rounded_square(width, height, r=0) {
if (r == 0) {
square([width, height]);
} else {
hull() {
translate([r, r]) circle(r);
translate([r, height - r]) ci... | glb/cad_6bc478ff95f2.glb |
Create a removable shopping cart coin with a total thickness of 2.3mm. Start by forming the main body from a union of a 24mm diameter cylinder and a 10mm diameter cylinder positioned 30mm away from the center of the first. Connect these two cylinders with a rectangular block that is 30mm long, 10mm wide, and 2.3mm thic... | module RemovableCartCoin(T="YAHBLUEZ", d1=24, d2=10, d3=6, l=30, z=2.3, s=0.6, fn=360){
$fn=fn;
difference(){
union(){
cylinder(h=z, d=d1);
translate([l,0,0]) cylinder(h=z, d=d2);
translate([0,-d2/2,0]) cube([l,d2,z]);}
translate([l,0,0]) cylinder(h=z, d=d3)... | glb/cad_27786cf61608.glb |
Create a soldering helper for 24mm arcade buttons. Start by constructing a base plate that is 3mm thick, 40mm wide, and 20mm deep, with all corners rounded by a 2mm radius. Centered within this plate, create a circular hole with a diameter of 24.6mm. Attached to one of the 20mm sides of this plate, add a rectangular bl... | $fa = 2; $fs = 0.2;
plate_hole_diameter = 24;
plate_thickness = 3;
wall = 4;
rounding = 2;
tolerance = 0.3;
difference() {
o = plate_hole_diameter / 2 + wall;
union() {
linear_extrude(plate_thickness)
offset(rounding) offset(-rounding)
translate([0, -o])
square([4 * o, 2 * o]);
linear_extrude(4 ... | glb/cad_deb0224668e0.glb |
Create a Wand Holder by starting with a rectangular block that is 150mm long, 35mm wide, and 25mm high. Center the block on the origin. Remove two cylindrical holes from the block to create slots for wands. The first hole should have a diameter of 8.5mm and be positioned 37.5mm from the center along the length and 8.75... | baseLength=150;
baseWidth=35;
baseHieght=25;
holeOneDiameter=8.5;
holeTwoDiameter=8.3;
holeAngle=35;
difference(){
cube([baseLength,baseWidth,baseHieght], center = true);
translate([37.5,8.75,0])
rotate([0,holeAngle,0])
cylinder(h = 50, r = holeOneDiameter/2, center=true);
translate([-37.5... | glb/cad_6406180ca3e5.glb |
Create a LightHouse v2 holder. Start with a base consisting of a rectangular block 64mm long, 20mm wide, and 4mm high. At each end of this base, center a cylinder with a diameter of 20mm and a height of 4mm. Attached to the top of the base, position a vertical rectangular plate that is 5mm thick, 60mm wide, and 40mm hi... | $fn=25;
oDia=20;
platePoints = [[0,0,0],[0,20,0],[0,60-20,20],[0,-20,20],[5,0,0],[5,20,0],[5,60-20,20],[5,-20,20]];
plateFaces = [
[0,1,2,3],
[4,5,1,0],
[7,6,5,4],
[5,6,2,1],
[6,7,3,2],
[7,4,0,3]];
difference() {
union() {
cube([64,oDia,4.01]);
translate([0,oDia/2,2]) cylinder(h=4,d=oDi... | glb/cad_431756d5f2aa.glb |
Create a business card holder with a total width of 85mm and a uniform wall thickness of 3mm. The structure consists of a continuous profile extruded along the width. The profile begins with a vertical base that is 14mm high. From the top of this base, a shelf extends outwards and upwards at a 55-degree angle with a de... | shelf_width = 85;
shelf_back_height = 58;
shelf_depth = 28;
shelf_angle = 55;
shelf_padding_height = 14;
thickness = 3;
front_height = shelf_padding_height + shelf_depth * cos(shelf_angle);
shelf_corner_depth = shelf_depth * sin(shelf_angle);
holder_depth = shelf_corner_depth + shelf_back_height * cos(shelf_ang... | glb/cad_6d0a78dca6bf.glb |
Create a parametric bottle rack consisting of a lower ground plate and an upper plate connected by pillars.
The ground plate is a rectangular slab 150mm wide and 200mm long with a thickness of 4mm. Create a grid of cylindrical bottle slots across this plate, each with a diameter of 21.75mm and a depth of 2mm. The slo... | Part = "both";
Width=150.00;
Length=200;
Height=32;
LowerThickness=4;
UpperThickness=2;
BottlePenetrationDepth=2;
BottleDiam=21.75;
MinGap=1.5;
PillarCount=6;
PillarDiam=6;
PillarPenetrationDepth=1.5;
PillarXOffset=0.3;
PillarYOffset=0.3;
MiddlePillarXOffset=0.3;
MiddlePillarYOffset=0.5;
Stack=false;
S... | glb/cad_45c339cdcba1.glb |
Create a shopping cart coin token with a uniform thickness of 3mm. Start by creating a main circular coin head with a diameter of 20.5mm. Attach this head to a secondary circular grip via a rectangular connecting bar that is 9mm wide and 3mm thick. Position the center of the grip 20mm away from the center of the coin h... | thickness = 3;
$fn = 64;
union() {
cylinder(d=20.5, h=thickness);
translate([6,-4.5,0]) cube([9,9,thickness]);
translate([20,0,0]) difference() {
cylinder(d=15, h=thickness);
translate([0,0,-1]) cylinder(d=9, h=thickness+2);
translate([3.5,-1,-1]) cube([5,2,thickness+2]);
}
} | glb/cad_c1572e4e7830.glb |
Create a mounting frame for a 16x16 LED matrix and a D1 Mini microcontroller. Start by designing a base support structure that is 216mm wide, 32mm deep, and 26mm high. From this base, remove a large central section to create a hollowed-out channel that is 216mm wide, 10mm high, and 5.5mm thick.
On the right side of th... | br=230;
ip=216;
mt=160;
mtb=1;
mtf=4;
qo=0.01;
frontplate=false;
backplate=false;
steamleft=false;
steamright=true;
steamd1mini=true;
module cell(){
difference(){
cube([10,10,mtf]);
translate([0.5,0.5,-qo]) cube([9,9,qo+mtf+qo]);
translate([3,-qo,mtf-0.5]) cube([4,qo+10+qo,1+qo]);
};
}... | glb/cad_2d82e71e562d.glb |
Create a coaster holder with a total height of 60mm. The main body is a dodecagonal prism (12-sided) with an outer diameter of 103mm and walls 6mm thick. The bottom of the holder is a solid base 5mm thick.
The interior is a hollow dodecagonal cavity with a diameter of 91mm, starting 5mm from the bottom. Both the inter... | height = 60;
bottom_thickness = 5;
wall_thickness = 6;
inner_diameter = 91;
rounded_corners_radius = 3;
circle_fn = 12;
access_port_width = 30;
access_port_type = "circle";
access_port_circle_fn = 36;
module __Customizer_Limit__ () {}
module coaster_holder() {
difference() {
outter_body();
... | glb/cad_3b57ab02b423.glb |
Create a game component insert consisting of two identical rectangular bins joined together. Each bin is formed by a hollow rectangular shell with a wall thickness of 3mm. The outer dimensions for each individual bin are 71mm in length, 43mm in width, and 50mm in height. To construct one bin, create a solid block of th... | $fn=100;
thick=3;
length=68+thick;
width=40+thick;
middle=width/2;
height=50;
translate([0,0,height]) rotate ([0,180,0]) difference()
{
cube ([length,width,height]);
translate([thick/2,thick/2,]) cube ([length-thick,width-thick,height-thick]);
}
translate([0,width,0])
{
translate([0,0,height]) rotate ([0,180,0]) di... | glb/cad_0c95573d765f.glb |
Create a game component insert with overall dimensions of 178mm in length, 61mm in width, and 50mm in height. The main body is a rectangular block with rounded corners of 3mm radius. Within this block, create three identical open-top rectangular compartments. Each compartment should be 32.5mm wide and 32.5mm deep, with... | $fn=100;
length=178;
width=65;
height=50;
thick=4;
difference()
{
roundedCube(length,width-thick,height);
for(i = [0:2])
{
translate([(i*1.15*height)+width/4,width/5,thick*5])
minkowski()
{
cube([width/2,width/2,height]);
sphere(r=10);
}
}
}
module roundedCube(x,y,z)
{
r=3;
translate([r,r,0])
minkowski()
... | glb/cad_2e7d7114fa0d.glb |
Create a rectangular storage bin for the Indiana Jones - Sands of Adventure game. Start with a solid rounded cube measuring 98mm in length, 35mm in width, and 50mm in height, using a corner radius of 3mm. Hollow out the center of this volume to create a container with a wall thickness of 4mm. To create a specific cutou... | $fn=100;
size_l=98;
size_w=35;
height=50;
thick=4;
doublewide=24+size_w*2;
long_side=size_l-8*thick;
dice_size=22;
difference()
{
RoundedCube(size_l,size_w,height);
rotate([0,0,90]) translate([long_side/8,-doublewide,height-dice_size])
RoundedCube(dice_size,4*dice_size,dice_size);
}
module RoundedCube(x,y,z)
{
r=3;
tr... | glb/cad_6a50387ae7b6.glb |
Create a rectangular open-top box for the Indiana Jones - Sands of Adventure Insert. The outer dimensions of the box must be 100mm in length, 41mm in width, and 50mm in height. The walls and the base of the box must have a uniform thickness of 6mm. To achieve this, start with a solid block of the outer dimensions and r... | $fn=60;
length=100;
width=41;
height=50;
thick=6;
length2=length-thick;
width2=width-thick;
thick2=thick/2;
height2=height-thick2;
rotate ([0,180,0])
translate([0,0,-height])
{
difference()
{
cube([length,width,height]);
translate([thick2,thick2])
cube([length2,width2,height2] ) ;
}
} | glb/cad_f55016b6352c.glb |
Create a rectangular open-top box for the Indiana Jones - Sands of Adventure Insert. The outer dimensions of the box should be 134mm in length, 92mm in width, and 50mm in height. The walls and the base must have a uniform thickness of 4mm. To allow access to the contents, remove a rectangular section from the top, leav... | $fn=100;
part_thick=4;
part_length=130+part_thick;
part_width=88+part_thick;
part_height=50;
middle=part_width/2;
translate([0,0,part_height]) rotate ([0,180,0]) difference()
{
cube ([part_length,part_width,part_height]);
translate([part_thick/2,part_thick/2,]) cube ([part_length-part_thick,part_width-part_thick,part... | glb/cad_501f63afb973.glb |
Create a pre-filter catch for a vacuum cleaner. The main body is a curved clip with a thickness of 2.6mm and a width of 13.3mm. This clip is formed by rotating a rectangular profile around an axis with a radius of 70mm, creating an arc with a length of 32.6mm.
Attached to the inner side of this arc is a rectangular an... | $fn = 50;
clip_thickness = 2.6;
clip_width = 13.3;
arc_radius = 70;
arc_length = 32.6;
anchor_width = 19.4;
anchor_length = 13.8;
key_roundover_diameter = 3.8;
key_bar_thickness = 1.8;
key_height = 3.2;
rotate([180,0,0]) catch();
module catch() {
translate([-arc_radius+1.85, arc_length/2-0.5, 0]) {
rot... | glb/cad_7a3c79def3f1.glb |
Create a circular baseplate for a radome with a diameter of 89.5mm and a thickness of 3.2mm. Center a vertical hole with a diameter of 4mm through the entire thickness of the plate. Position a second vertical hole with a diameter of 6mm, centered 24.75mm away from the middle of the plate. Finally, create three rectangu... | dbase = 89.5;
zbase = 3.2;
dscrew = 4;
dwire = 6;
xindent = 7.0;
yindent = 2.2;
difference() {
cylinder(d=dbase, h=zbase, $fn=64);
translate([0,0,-0.01]) cylinder(d=dscrew, h=zbase + 0.02, $fn=64);
translate([24.75,0,-0.01]) cylinder(d=dwire, h=zbase + 0.02, $fn=64);
for (pegs = [0:120:360]) rotate([0,... | glb/cad_e21317017ee8.glb |
Create a baseplate for a WisBlock Base Board with integrated antenna mounts. Start with a main rectangular base that is 3.5mm thick. At the corners of this base, place four cylindrical mounting posts, each 5mm in diameter and 3.5mm high, with centered holes 2.46mm in diameter drilled through them.
On top of the base, ... | include <wisblock-technovardo-blank.scad>;
function filletDepth(r, d, i) = r * (1 - sin(acos(d * i / r)));
module fillet(r, s) {
d = r/s;
for (i = [0:s]) {
translate([0,0,(s - i) / s])
linear_extrude(height = d)
offset(r = filletDepth(r,d,i))
projection()
children();
... | glb/cad_91bd28292774.glb |
Create a thin, circular disc with a diameter of 100mm and a height of 1mm. Centered on the top surface of the disc, add the word "Coffee" as raised 3D text. The text should have a font size of 10mm and be extruded to a total height of 1.2mm, ensuring it is perfectly centered both horizontally and vertically on the face... | diametro = 100;
altura = 1;
texto = "Coffee";
$fn = 128;
cylinder(d=diametro,h=altura);
linear_extrude(height=altura+0.2)
text(texto,size=10,halign="center",valign="center"); | glb/cad_c9147a0d2505.glb |
Create a Parametric Bottle Stabilizer designed for a cylindrical bottle with a diameter of 33.5mm and a height of 88mm.
Start by creating a circular base with a total diameter of 90.5mm and a thickness of 2mm. On top of this base, add a concentric ring with an outer diameter of 90.5mm and a height of 1.5mm, with a wa... | BottleFormat = "Robert Oster 50 ml";
CustomFormatName = "Custom";
CustomFormatShape = "Rectangular";
CustomFormatHeight = 40;
CustomFormatWidth = 30;
CustomFormatDepth = 30;
BaseThickness = 2;
BaseBorderThickness = 3;
BaseBorderWidth = 2;
HolderThickness = 2;
BottleClearance = 2;
$fn = 180;
bottleDefinition... | glb/cad_79b01cda938f.glb |
Create a shower basket hook by constructing a vertical composite body 120mm tall. Start with a central rectangular block 12mm wide, 9mm deep, and 120mm high. Merge this with a cylinder of the same height and 12mm diameter, centered on the block's depth axis, to create a rounded front face. From this combined volume, re... | difference() {
union() {
translate([-6,0,0]) cube([12,9,120]);
translate([0,9,60]) cylinder(h=120, d=12, $fn=360, center=true);
}
translate([-3.4,-1,-5])
cube([6.8,6.8-1, 120+10]);
translate([0,5, 60-4])
cylinder(h=120+10, d=6.8, $fn=360, center=true);
}
difference(){
union()... | glb/cad_4fb3668b73a7.glb |
Create a parametric bobbin for embroidery floss with a total width of 38mm, a height of 38mm, and a thickness of 0.99mm. The main body is a flat plate with rounded corners (radius 0.45mm).
At the top and bottom edges, create horizontal "arms" that are 6mm high and 38mm wide. These arms should be centered, leaving a 6... | $fa = 16;
$fs = 0.25;
bobbin_width = 38;
bobbin_height = 38;
bobbin_thickness = 0.99;
arm_height = 6;
indent_depth = 6;
chamfer_radius = 0.45;
add_hole = true;
hole_radius = 2.5;
hole_offset = 1.5;
add_floss_slots = true;
floss_slot_width = 0.75;
add_center_cutouts = false;
module __customizer_stops_here__... | glb/cad_6a9f8d7ceaee.glb |
Create a Parametric Voronoi Shower Shelf. Start by constructing a main rectangular body with rounded corners of 4mm. The overall dimensions are approximately 155mm in width (x), 90mm in depth (y), and 80mm in height (z), with a wall thickness of 3mm.
Hollow out the center of the body, leaving a 3mm shell. On the botto... | $fn = 100;
use <voronoi.scad>
bottle_width = 37;
pole_diameter = 22;
pole_clearance = 1;
pole_wall_distance = 56;
wall_fixture_diameter = 42.5;
wall_fixture_length = 62;
wall = 3;
corner_radius = 4;
margin = 5;
y = 90;
x = wall + 2*bottle_width + (wall_fixture_diameter + wall*2) + 2*bottle_width + wall + 10;
z = 80... | glb/cad_f9004669b0fb.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.