Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Wall Cable Port consisting of two identical sleeve components that slide together. For each component, create a main hollow cylinder with an outer diameter of 52mm and an inner diameter of 48mm, extending to a height of 75mm. At the base of each cylinder, add a thin, flat circular brim with a height of 2mm and... | $fn=360;
HoleDiameter = 52;
WallThickness = 100;
BrimWidth = 10;
Sidewall = 2;
Clearance = 2.5;
InnerPiece ();
OuterPiece ();
module OuterPiece()
difference(){
union(){
cylinder(h=WallThickness*.75,d=HoleDiameter);
cylinder(h=2,r=HoleDiameter/2+BrimWidth);
}
... | glb/cad_f555281dd3b2.glb |
Create a Wall Cable Port consisting of two identical mating sleeve components. For each component, create a main hollow cylinder with an outer diameter of 52mm and an inner wall thickness of 2mm. The height of each cylinder should be 75mm. At the base of each cylinder, add a square brim with a width of 15mm and a thick... | $fn=360;
HoleDiameter = 52;
WallThickness = 100;
BrimWidth = 10;
Sidewall = 2;
Clearance = 2.5;
InnerPiece ();
OuterPiece ();
module OuterPiece()
difference(){
union(){
cylinder(h=WallThickness*.75,d=HoleDiameter);
translate([0,0,1])
minkowski()
{
... | glb/cad_624b68c90201.glb |
Create a DMA case for a ZX Spectrum. Start by constructing a main body as a rounded rectangular prism with overall dimensions of 90mm in width, 51mm in depth, and 20mm in height, using a corner radius of 2mm. Hollow out the center of this body with a rectangular cutout measuring 85mm by 45mm by 20mm.
At the four corne... | $fn = 64;
module pin_hole(h) {
translate([0,0,h/2])
difference() {
cylinder(h = h, r = 3, center = true);
cylinder(h = h + 1, r = 1.2, center = true);
}
cylinder(h = h/2, r1 = 4, r2 = 3,center = true);
}
module roundedcube(xdim ,ydim ,zdim,rdim) {
hull(){
translate([rdim,... | glb/cad_374631c11b4f.glb |
Create a ZXNet512 ethernet controller case consisting of a base and a top cover. Start with a main body that is 90mm long, 59mm wide, and 20mm high, featuring rounded corners with a 2mm radius.
Hollow out the center to create a shell, leaving a wall thickness of approximately 2mm. On the bottom base, integrate four m... | $fn = 64;
module pin_hole(h) {
translate([0,0,h/2])
difference() {
cylinder(h = h, r = 3, center = true);
cylinder(h = h + 1, r = 1.2, center = true);
}
cylinder(h = h/2, r1 = 4, r2 = 3,center = true);
}
module roundedcube(xdim ,ydim ,zdim,rdim) {
hull(){
translate([rdim,... | glb/cad_f094a597dece.glb |
Create a Eureka Atom Grid Setting Dial. Start by constructing a main ring with an outer diameter of 80mm and a total height of 14mm. The ring should have a base diameter of 70.5mm and a fillet diameter of 12mm to create a rounded profile.
Carve a central cylindrical void through the entire height of the object to for... | baseDiameter = 70.5;
filletDiameter = 12;
rimDiameter = 80;
totalHeight = 14;
offset = 2.5;
module ring() {
difference() {
translate([0, 0, 6]) minkowski() {
difference() {
cylinder(d = rimDiameter + 20, h = 10, $fn = 50);
cylinder(d = baseDiameter + filletDiameter, h = 10, $fn = 50);
... | glb/cad_bbec7345b4d1.glb |
Create a setting dial knob for a Eureka Atom. Start by building a tiered cylindrical base. At the bottom, create a cylinder 13.8mm in diameter and 2mm high. Above this, add a cylinder 18.9mm in diameter and 20mm high, followed by a cylinder 25mm in diameter and 12mm high. Top this with a cylinder 28.5mm in diameter and... | use <gears/gears.scad>
use <threadlib/threadlib.scad>
module knob() {
difference() {
group() {
translate([0, 0, -34]) cylinder(h = 2, d = 13.8, $fn = 50);
translate([0, 0, -32]) cylinder(h = 20, d = 18.9, $fn = 50);
translate([0, 0, -12]) cylinder(h = 12, d = 25, $fn = 50);
cylinder(h = ... | glb/cad_a267b135d8cf.glb |
Create a Eureka Atom Grid Setting Dial by starting with a spur gear that has 94 teeth, a module of 1.26, a width of 3mm, and a pressure angle of 20 degrees. Integrate this gear with a solid cylinder that has a diameter of 110mm and a height of 3mm. Remove a central cylindrical hole with a diameter of 80.5mm and a heigh... | use <gears/gears.scad>
difference() {
group() {
spur_gear(modul = 1.26, tooth_number = 94, width = 3, bore = 0, pressure_angle = 20, helix_angle = 0, optimized = true);
cylinder(d = 110, h = 3);
}
cylinder(d = 80.5, h = 3, $fn = 100);
for (a = [0:9]) {
rotate([0, 0, a * 36]) translate([42, 0, 3]) c... | glb/cad_3cd725f289dc.glb |
Create a Clip Card Wallet consisting of a series of thin, curved walls that form a flexible tension clip. The overall height of the clip is 79.24mm. Each wall has a thickness of 1.2mm.
Construct the clip by arranging 25 layers of material, each corresponding to the thickness of a card (0.76mm) plus a 0.2mm tolerance, ... | h = 79.24;
th=1.2;
nc=25;
tens=12.5;
w=0.4;
tol=0.2;
card = [85.60, 53.98, 0.76, 3.18];
$fa=1;
$fs=0.2;
eps=1/128;
r = tens==0 ? 0 : 1000/tens;
function angle(l) = tens==0 ? 0 : l*360/(2*PI*r);
module line(l, con=true) let(a=angle(l)) {
translate([r==0 ? l : 0, r]) rotate(a) translate([0, -r]) {
... | glb/cad_af97b4f8a939.glb |
Create a Münster TV-Tower model consisting of a tapered central shaft and several platforms. Start by constructing the shaft in two sections: a bottom conical frustum 108.2mm tall, tapering from a base diameter of 13.5mm to 7.04mm, and a top conical frustum extending from that point to a total height of 207.5mm, taperi... | include <BOSL2/std.scad>
$fn = 256;
top_diameter = 2.0;
middle_diameter = 7.04;
base_diameter = 13.5;
height = 207.5;
main_platform_elevation = 108.2;
diameter_at_platform = (base_diameter - top_diameter) / height * main_platform_elevation;
main_platform_lower_part_height = 4.8;
main_platform_height = 4.8;
main_plat... | glb/cad_2f37dce3e351.glb |
Create an external drive stand with a total width of 80mm, a depth of 30mm, and a base wall thickness of 5mm. The stand features a central U-shaped cradle designed to hold a drive 37.10mm wide. Construct this by creating two vertical side walls, each 40mm high and 5mm thick, extending upwards from the base.
The inter... | $fn=60;
label = "Seagate 6TB";
drive_width = 37.10;
depth = 30;
height = 40;
wall = 5;
width = 80;
rounding = wall;
chamfer = wall * 2;
bottom = [
[0,0],
[width, 0],
[width, wall],
[0, wall],
];
left_wall_start = (width / 2) - (drive_width / 2) - wall;
left_wall = [
[left_wall_start, 0],
[le... | glb/cad_0bed89b3c948.glb |
Create a Parametric Picture Frame consisting of four frame sides, four corner connectors, and one hanger.
For the frame sides, create a profile that is a hull of two circles with 6mm diameters and a 30mm by 3mm rectangle. Extrude this profile to create two sides with a length of 223.2mm and two sides with a length of... | part="width";
picWidth=25.4*8;
picHeight=25.4*10;
overlap=10;
cl=.1;
frameWidth=30;
frameTh=6;
pegDia=3;
hangerWidth=10;
hangerLength=60;
th=2;
$fn=50;
extrW=picWidth+frameWidth*2-overlap*2;
extrH=picHeight+frameWidth*2-overlap*2;
module profile()
{
hull()
{
translate([frameWidth-frameTh/2,frameTh/2])
c... | glb/cad_1e9231cac015.glb |
Create a Custom Heart Ring Box consisting of two mirrored heart-shaped components: a base and a lid. The heart geometry is defined by a parametric curve scaled to 35mm from the top center to the bottom point, with a horizontal stretch factor of 1.3.
For the base, create a heart-shaped shell with a total height of 10mm... | steps=180;
scale=35;
sa=180/steps;
dx=1/steps;
he=10;
lh=10;
wt=1.8;
hs=1.3;
additional_clearance_for_the_lid=0.02;
function m(u) = u^0.9+u^5/4;
function l(u) = scale*(m(u)-m(0))/(m(1)-m(0));
h=[for (n = [0 : steps]) [ l(dx*n)*sin(n*sa)*hs, l(dx*n)*cos(n*sa)]];
difference(){
union(){
linear_extrude(... | glb/cad_bd36ed375577.glb |
Create a protective electronics enclosure for an eMotronic board and MeanWell power supply. Start by constructing a main outer rectangular box with dimensions 114mm in width (X), 60mm in depth (Y), and 45mm in height (Z), using a wall thickness of 2mm. Hollow out the interior to create a shell, leaving the bottom base ... | include <config.scad>;
difference () {
union () {
difference () {
cube ([Size_box_X + Size_Parois, Size_box_Y, Size_box_Z + Size_cover_Z + Size_Parois]);
translate ([-1, -1, -1]) cube ([Size_box_X + 1, Size_box_Y + 2, Size_box_Z + 1]);
translate ([Size_Parois, Size_Par... | glb/cad_0c12c956b09d.glb |
Create a protective electronics box for an eMotronic board and MeanWell power supply. Start with a main rectangular outer shell of dimensions 110mm x 150mm x 60mm. Hollow out the center to create walls with a thickness of 2mm, leaving the bottom face solid.
On the side and front panels, create ventilation patterns con... | include <config.scad>;
union () {
difference () {
cube ([Size_box_X, Size_box_Y, Size_box_Z]);
translate ([Size_Parois, Size_Parois, Size_Parois]) cube ([ Size_box_X - Size_Parois + 1, Size_box_Y - 2 * Size_Parois, Size_box_Z - Size_Parois + 1]);
PannelHonneyComb_PSU();
PannelHon... | glb/cad_d2a231a98494.glb |
Create a laser-cut Gridfinity box with a total footprint of 124.5mm by 166mm and a height of 45mm, using a material thickness of 4mm.
Construct a rectangular base measuring 116.5mm by 158mm (inner dimensions) with a thickness of 4mm. Along the edges of this base, create slots for the walls. On the width edges, place ... | w_unit = 3;
d_unit = 4;
is_rotate = true;
side_rotation_angle = is_rotate ? 90 : 0;
lazer_curve = 0.5;
additional_translate = is_rotate ? lazer_curve : 0;
size = 41.5;
width = w_unit * size;
depth = d_unit * size;
height = 45;
thickness = 4;
joint_size = 11.5;
vertical_joint_size = 15;
inner_width = width - 2 * thi... | glb/cad_f349fad2e0cb.glb |
Create a mounting spacer and angle guide for a mudguard. The object is a symmetric tool designed to fit around a cylindrical surface.
Start by creating a base profile that is the intersection of a circle with a radius of 18.5mm, centered at (0, -4), and a rectangle measuring 40mm wide by 20mm high, centered at (0, 0)... | $fn=120;
module profile() intersection() {
translate([0,14.5-18.5]) circle(18.5);
translate([-20,0]) square([40,20]);
}
rotate([0,-10]) difference() {
rotate([90]) translate([-350,0]) rotate(-10/3.14159/700*360) rotate_extrude(angle=20/3.14159/700*360,$fn=360) translate([350,0]) rotate(-90) {
translate([0,-14.5+1... | glb/cad_2019fa7d3cc2.glb |
Create an angle guide for a mudguard strut by constructing a curved profile and extruding it along a circular path. First, define the profile as a circular ring with an outer radius of 20.1mm and an inner radius of 18.5mm. This ring should be modified by removing the bottom half of the circle and a central rectangular ... | $fn=120;
strut_angle=14.6;
incidence_angle=62;
extrude_angle=80/3.14159/700*360;
module cover_profile() {
difference() {
translate([0,17-18.5]) circle(18.5+1.6);
difference() {
translate([0,17-18.5]) circle(18.5);
translate([-25,-25]) square([50,25]);
}
translate([-25,-25-1.6]) square([5... | glb/cad_ef916214bb51.glb |
Create an Aeropress Go Caddy starting with a rectangular base 164mm x 113mm x 10mm with rounded corners (radius 10mm).
On the base, create a filter holder by removing a hexagonal cutout centered at (47, 70) with a diameter of 80mm (flat-to-flat), extending from a height of 3mm to the top of the base.
Add a plunger ... | nudge = 0.1;
base_x = 164;
base_y = 113;
base_z = 10;
filter_holder_x = 47;
filter_holder_y = 70;
filter_holder_z = 3;
filter_holder_rotation = 0;
plunger_holder_x = 125;
plunger_holder_y = 39;
plunger_holder_z = 3;
cap_holder_x = 48;
cap_holder_y = 14;
cap_holder_z = 3;
stirrer_holder_x = 103;
stirrer_holder_y = ... | glb/cad_277829ec552c.glb |
Create a watch strap keeper by constructing a hollow rectangular sleeve with rounded corners. Start with a solid rounded rectangular block that has an overall width of 22mm, a depth of 8mm, and a height of 5mm. Apply a corner radius of 0.75mm to all edges.
From the center of this block, remove a smaller rounded recta... | depth = 4;
width = 18;
height = 5;
wall = 2;
border = 0.75;
$fs = 0.01;
module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") {
size = (size[0] == undef) ? [size, size, size] : size;
translate_min = radius;
translate_xmax = size[0] - radius;
translate_ymax = size[1] - radius;
tra... | glb/cad_6a7efb5aa4a7.glb |
Create a Mythwind Insert consisting of a thin-walled tray with a total height of 20mm. The main body is a rounded rectangular base measuring 253mm by 226mm.
Within this base, create two primary card storage sections. The first section is a rounded rectangular cutout measuring 58mm by 88mm, positioned with a wall thic... | $fn=200;
x=254-1;
y=227-1;
z=20;
b=0.6;
w=8;
r=2;
cy=88;
cx=58;
cw=1.6;
module cube_rounded(v, r=3, center=false){
translate([r,r,0])
minkowski(){
cube([v[0]-(2*r), v[1]-(2*r), v[2]-r], center);
cylinder(r,r,r);
}
}
module cards() {
difference() {
cube_rounded(v = [x/2,w+cy+c... | glb/cad_c7a29aab03c2.glb |
Create a small rectangular box with a separate lid to house a microcontroller. The main body should have outer dimensions of 37mm in depth, 28mm in width, and 25mm in height, with a wall thickness of 1mm and rounded corners with a 1.5mm radius. The interior cavity should be 35mm deep and 26mm wide. On one of the shorte... | depth = 35;
width = 26;
height = 25;
wall = 1;
gap = 0.5;
top = 1;
usb = 1;
led = 1;
border = 1.5;
$fn = 50;
difference ()
{
difference ()
{
linear_extrude (height) offset (r=border) square ([depth+wall, width+wall], center = true);
translate ([0,0,1]) linear_extrude (height) offset (r=border... | glb/cad_8252fb9a456b.glb |
Create a parametric static clamp by constructing a U-shaped bracket with a uniform thickness of 3mm and a width of 10mm. Start with a central rectangular base measuring 40mm in length and 10mm in width. Attach a top flap to one end of the base; this flap should be 3mm thick and extend 15mm outward. Attach a bottom flap... | size = 40;
wide = 10;
thickness = 3;
top_flap_length = 15;
bottom_flap_length = 30;
rounding_radius = 1;
rounding_resolution= 30;
translate([thickness, 0 , 0])
cube([size, thickness, wide]);
cube([thickness ,top_flap_length + thickness , wide]);
translate([size + thickness, 0, 0])
cube([thickness ,bottom_f... | glb/cad_9d37959ef7c4.glb |
Create a 60mm x 60mm x 25mm square block to serve as the main body of the bad-smell extractor fan. Hollow out the center by removing a cylinder with a radius of 32mm, leaving a circular wall. From this central void, remove a larger outer ring with a radius of 44mm, but keep a solid inner cylinder with a radius of 32mm ... | $fn=60;
module fan_60mm_x_25mm()
{
difference()
{
linear_extrude(height=25, center = true, convexity = 4, twist = 0)
difference()
{
square([60,60],center=true);
difference()
{
circle(r=57/2,center=true);
circle(r=31.5/2,center=true);
... | glb/cad_0517a22b963f.glb |
Create a bad-smell extractor handle consisting of a central block and two symmetrical arms. Start with a central rectangular block measuring 45mm in width, 10mm in depth, and 10mm in height, centered on the origin.
Extend two arms from this center. Each arm is 15mm thick and 53mm long. On the inner face of each arm, ... | use <main.scad>
$fn = 60;
ARM_THICKNESS = 7;
arm_thickness = ARM_THICKNESS;
arm_length = 95;
offset = 1;
offset_arm = 6;
HANDLER_HEIGHT = 4;
module ultiHandle() {
height = HANDLER_HEIGHT;
difference() {
union() {
translate([0, 0, 0]) {
arm(3, arm_thickness, false);
... | glb/cad_cf67508303d2.glb |
Create a bad-smell extractor attachment consisting of a central block with two symmetrical arms. Start with a central rectangular block that is 7mm wide, 10mm high, and 10mm deep, centered at the origin. Attached to this central block, add two larger rectangular sections: one centered at [0, -3, 0] with dimensions 12mm... | use <main.scad>
$fn = 60;
ARM_THICKNESS = 7;
arm_thickness = ARM_THICKNESS;
arm_length = 95;
offset = 1;
offset_arm = 6;
HANDLER_HEIGHT = 3;
module attach() {
height = HANDLER_HEIGHT;
difference() {
union() {
translate([0, -height, 0]) {
cube(size = [7, 10, 10], center... | glb/cad_1699339e1ff7.glb |
Create a bad-smell extractor support consisting of a central housing and two side pivots. Start with a main rectangular block 144mm wide, 144mm long, and 17mm high (10mm thickness plus a 7mm margin height).
In the center of this block, create a vertical cylindrical cutout with a diameter of 77mm to accommodate a fan.... | use <Fan_60x25.scad>
$fn = 60;
FILTER_WIDTH = 134;
FILTER_LENGTH = 134;
FILTER_THICKNESS = 10;
FAN_WIDTH=80;
FAN_THICKNESS=25;
FAN_DIAMETER=77;
HOLE_DISTANCE = 72 / 2;
HOLE_DIAMETER = "M3";
HEIGHT=22;
MARGIN = 10;
MARGIN_HEIGHT = 7;
PYRAMID_HEIGHT = 20;
ARM_THICKNESS = 7;
WIDTH = FILTER_WIDTH + MARGIN;
module ... | glb/cad_aa85dacfea70.glb |
Create an SMA pigtail adapter by starting with a solid rectangular block measuring 44mm in width, 25mm in depth, and 25mm in height. Carve out a central rectangular cavity from the front face, leaving a wall thickness of 2mm on the sides, top, and bottom, resulting in an internal void of 37mm by 19mm by 19mm.
Through... | $fn = 32;
st = [26.4, 6, 25];
w = 44;
sma = [9.5, 6.5, 3.5];
wall = 2;
union(){
difference(){
cube([w, 2 * sma.x + wall, 2 * sma.x + wall]);
translate([2*sma.z, wall, wall]) cube([w - 2 * sma.z, 2*sma.x, 2*sma.x]);
translate([0, wall + sma.x, wall + sma.x]) rotate([0, 90, 0]){
cylinder(d=sma.y, h=2*sma.z);
... | glb/cad_4c636eacd963.glb |
Create a baking pan template consisting of a square grid of rails and small conical pins. The overall footprint is a square measuring 184.3 mm by 184.3 mm. Construct a grid of 6 by 6 square cells, each with an outer dimension of 30.72 mm. The rails forming this grid should be 2 mm wide and 1.2 mm thick. Each cell is a ... | $fn = 60;
panWidth = 7.25 * 25.4;
sectionCount = 6.0;
sectionWidth = panWidth / sectionCount;
railHeight = 1.2;
railWidth = 2.0;
pointHeight = 2.5;
pointBottomDiameter = railWidth;
pointTopDiameter = 0.15 * railWidth;
color("blue")
for (x = [0:sectionWidth:panWidth - sectionWidth],
y = [0:sectionWidth:panWidth - ... | glb/cad_21300a6a178a.glb |
Create a protein powder funnel consisting of three stacked concentric sections with a uniform wall thickness of 1.6mm. Start with a large base cylinder that has an inner diameter of 127mm and a height of 30mm. Above this, add a tapering conical section with a height of 40mm that narrows from the base's outer diameter o... | $fn = 360;
wallThickness = 1.6;
largeInsideDiameter = 5 * 25.4;
smallOutsideDiameter = 3.75 * 25.4;
smallSectionHeight = 20;
largeSectionHeight = 30;
taperSectionHeight = 40;
translate([0, 0, 0.5 * largeSectionHeight])
difference(){
cylinder(d = largeInsideDiameter + 2 * wallThickness,
h = largeSectionHeight, c... | glb/cad_3369c854ab48.glb |
Create a LoRa32U4 II case consisting of a bottom base and a top cover.
For the bottom part, create a rectangular block with overall dimensions of 38.5mm in width, 59mm in depth, and 16.5mm in height. Hollow out the center to create a cavity for the battery and PCB, leaving a wall thickness of 2mm. The main internal c... | $fn=32;
m = [2, 2.5, 0];
pcb = [26, 54, 7];
pcb_t = 1.2;
pcb_hole = [2.54, 2.54, 3];
pcb_usb = [8, 6, 2.5];
pcb_bat = [8, 9, 5.5];
bat = [32.5, 42.5, 7.5];
ant_inner = [9.5, 2, 8.5];
ant_d_o = 12;
ant_d_i = 6.5;
ant_h_o = 4;
ant_h_i = ant_h_o + m.y;
ant_d = 9.5;
max_pb = [max(pcb.x, bat.x), max(pcb.y, bat.y), max(... | glb/cad_fa0583d8abe8.glb |
Create a Bowden Clamp for an Ultimaker hot end v2. Start with a square base 48mm wide and 6mm high, with corners rounded to a 3.5mm radius. On the underside of the base, add three rounded rectangular extensions (legs) that are 9mm wide and 6mm high, maintaining the 3.5mm corner radius.
At each of the four corners of t... | use <boxes.scad>
use <knurledFinishLib.scad>
use <polyScrewThread.scad>
baseWidth = 48;
baseCornerRadius = 3.5;
outsideHolesFromCentre = 20.5;
insideHolesFromCentre = 11;
outsideHolesRadius = 1.5;
oHR_Allow = 0.75;
baseHeight = 6;
centreToInsideBase = 7;
baseLegWidth = 9;
fanSideBaseHeight = 6;
tubeRadius = 3.1;
tR_Al... | glb/cad_715fb9e6a018.glb |
Create a Fixed Filament Buffer Wheel by revolving a specific profile around a central axis to form a circular wheel with a total width of 12.5mm and an outer radius of 35mm. The profile should create a central groove with a radius of 32mm; the groove's depth is defined by a 1mm lip at the top and bottom edges. At the c... | bearing_depth = 8;
bearing_OD = 11;
bearing_fit_clearance = 0.05;
wheel_r = 35;
groove_r = 32;
wheel_wid = 12.5;
lip_wid = 1;
cutout_r = 21.525;
cutout_wid = 17.027;
cutout_depth = 6.25;
cutout_offset = 40;
spoke_wid = 7;
bearing_base_wid = 1.5;
bearing_r = bearing_OD + bearing_fit_clearance;
axle_r = 7;
slot_wid = 1.... | glb/cad_a61c7d792b0c.glb |
Create a BIM (Building Information Modeling) connector assembly consisting of a pin header strip, a cable gland, and two housing caps.
First, create a pin header strip with 50 pins. Each pin is 20mm long. The pins are arranged in a row with a pitch of 2.54mm.
Next, create a cable gland (pruchodka). This part consist... | delka_listy = 20;
$fn = 60;
mezera = 0.2;
pinu_v_liste = 50;
module pruchodka()
{
color("lightgray")
{
difference()
{
union()
{
translate([0,1.5,0]) rotate([90,0,0]) cylinder(d=14.0,h=3.0,center=true);
translate([0,16.5,0]) rotate([-90,0,0... | glb/cad_2a12f22713ca.glb |
Create a children's kitchenware pot with a main container, two side handles, and a long handle.
First, construct the main container as a hollow cylinder with an outer diameter of 100mm and a height of 40mm. The walls and the base should have a thickness of 1.4mm. The base is slightly tapered, starting with a diameter... | prumer =100;
vyska = 40;
stena = 1.4;
$fn = 60;
hrnec_zobr = true;
ucho_zobr = true;
madlo_zobr = true;
module hrnec()
{
difference()
{
union()
{
translate([0,0,0]) cylinder(d1=prumer-6,d2=prumer,h=3);
translate([0,0,3]) cylinder(d=prumer,h=vyska-3);
}
... | glb/cad_6cde8aa687ac.glb |
Create an embroidery drum consisting of two concentric circular rings with a height of 10mm. First, create an inner ring by making a hollow cylinder with an inner diameter of 150mm and a wall thickness of 5mm. Second, create an outer ring centered on the same axis. This outer ring should have an inner diameter of 150.4... | module vnitrek()
{
difference()
{
translate([0,0,0]) cylinder(d=(vnitrni_prumer+(stena*2)),h=vyska);
translate([0,0,0]) cylinder(d=vnitrni_prumer,h=vyska);
}
}
module venek()
{
difference()
{
union()
{
translate([0,0,0]) cylinder(d=(vnitrni_prumer+(stena*... | glb/cad_1f48faea2fd9.glb |
Create a simple bell decoration by constructing a composite organic shape and removing internal volumes. Start by forming the main body through a series of blended, scaled spheres. Create a base by blending a sphere scaled to 25mm x 25mm x 15mm positioned at z=2 with a sphere scaled to 15mm x 15mm x 10mm at z=10. Add a... | module zvonek_vase()
{
difference()
{
intersection()
{
translate([-30,-30,0])
cube([60,60,60]);
union()
{
hull()
{
translate([0,0,2])
resize([25,25,15])
... | glb/cad_a047bd88d9d6.glb |
Create a DIN rail mount holder for a power adapter. The main body is a rectangular frame with a height of 33mm, a width of 61mm, and a total thickness of 15mm. The walls of this frame are 2mm thick. The center of the frame is hollowed out, leaving a rectangular opening that measures 27mm by 57mm.
On one side of the fr... | $fn = 30;
width = 61;
height = 33;
wall = 2;
long = 15;
translate([-wall,0,0])
difference()
{
union()
{
hull()
{
translate([0,-24,0])
cylinder(d=1,h=long);
translate([0,24,0])
cylinder(d=1,h=long);
translate([-7.5,-19,0])
... | glb/cad_0512983e3d85.glb |
Create a Tic Tac Toe game set consisting of a game board and playing pieces. Construct the board as a square base with a total width and length of 107mm and a thickness of 10mm. In this base, create a 3x3 grid of nine recessed holes. Each hole is formed by removing a 30mm cube centered at 7mm height and a cylinder with... | module otvor()
{
translate([0,0,7]) cube([30,30,6],center=true);
hull()
{
translate([0,0,9]) cube([30,30,2],center=true);
translate([0,0,10]) cube([33,33,0.1],center=true);
}
}
module deska()
{
difference()
{
union()
{
hull()
{
... | glb/cad_ac55e2670acc.glb |
Create a simple toy truck consisting of a chassis, a cargo bed, and four wheels.
Construct the chassis as a solid base extending from x=-12 to x=62, with a width of 30mm. At the front (x=-12), add two spherical headlights with a 4mm diameter. Above the base, build a driver's cabin from x=-12 to x=10, reaching a heigh... | $fn = 30;
module kolo()
{
difference()
{
union()
{
translate([0,0,0]) cylinder(d=15,h=6,center=true);
}
union()
{
translate([0,0,3]) cylinder(d=11,h=2,center=true);
translate([0,0,-0.1]) cylinder(d=2,h=7,center=true);
for(i... | glb/cad_01b590baff42.glb |
Create a magazine for SMD components consisting of a rectangular box and a matching lid. The main box body is a rectangular prism measuring 60mm in width, 40mm in height, and 12mm in depth.
To form the interior of the box, remove a central rectangular channel that is 4mm wide and 40mm long, leaving 2mm thick walls. C... | $fn = 30;
strip_width = 10;
strip_height = 4;
box_width = 60;
box_height = box_width-20;
box_wall = 2;
box_screw = 2.8;
box_holder = 3.8;
box_label = "SMT BOX";
module t(t, s = 18, style = "")
{
rotate([90, 0, 0])
linear_extrude(height = 1)
text(t, size = s, font = str("Liberation Sans", style), $fn = 16)... | glb/cad_64f155b1fa26.glb |
Create a sliding extension for a carpentry angle. Start by constructing a main body that consists of a vertical rectangular pillar 2mm wide and 110mm tall, with a thickness of 3mm. Attached to the top of this pillar, create a horizontal rectangular platform that is 50mm long and 50.2mm wide (calculated as 10mm plus a w... | height = 0.6;
width = 40.2;
difference()
{
union()
{
hull()
{
translate([0,0,0])
cube([2,110,0.3]);
translate([5,10,0])
cube([2,1,2]);
translate([5,110,0])
cube([2,1,3]);
translate([15,110,0])
... | glb/cad_d5cfa9ea2da9.glb |
Create a 3D logo for the band "Слот" with a uniform thickness of 2mm. The design consists of four stylized letters—S, L, O, and T—arranged vertically.
First, create the letter 'S' as a blocky shape using a polygon with vertices at [0,0], [31,0], [31,6], [6,6], [6,20], [31,20], [31,26], and [0,26]. Next, create the let... | $fn = 90;
height = 2;
module s()
{
linear_extrude(height = height, center = false, convexity = 10, twist = 0)
{
polygon(points = [[0,0],[31,0],[31,6],[6,6],[6,20],[31,20],[31,26],[0,26]]);
}
}
module l()
{
linear_extrude(height = height, center = false, convexity = 10, twist = 0)
{
... | glb/cad_6429c6240a80.glb |
Create a keychain with a base plate 30mm wide and 3mm thick. The base is formed by a hull connecting four 5mm diameter cylinders: two positioned at the corners (0,0) and (30,0), and two others at (0,10) and (30,10). At the origin, create a circular hole 6mm in diameter that passes completely through the 3mm thickness.
... | drill = 6;
height = 3;
width = 30;
$fn = 60;
module logo_bi2_flat()
{
a=[[0,0],[13,0],[13,9],[5,9],[5,10],[14,10],[14,0],[18,0],[22,6],[22,0],[48,0],[46,4],[40,4],[40,5],[46,5],[46,10],[48,14],[36,14],[36,10],[42,10],[42,9],[36,9],[36,4],[26,4],[26,14],[22,14],[18,8],[18,14],[0,14],[2,10],[2,4]];
b=[[5,4],[10,... | glb/cad_da4f095a757c.glb |
Create a mold for a grenade stopper consisting of a square base and a matching lid.
Construct the main body as a square block 13mm wide and 13mm deep. From the center of this block, remove a vertical cylindrical core with a radius of 7.7mm (calculated as $r1 - 0.8 \times wall$) that extends through the height of the ... | r1 = 8.5;
r2 = 9.8;
v1 = 7.0;
v2 = 3.5;
v3 = 1.5;
r3 = 10.5;
wall = 2;
$fn=100;
module zapadka()
{
polygon(points=[[r1-(wall*1.5),0],[r1-(wall*0.8),v1],[r2,v2+((v1-v2)/2)],[r1,v2],[r1,0]]);
}
module vycko_oble()
{
cylinder(r=r3, h=v3);
translate([0,0,0]) resize([2*r3,2*r3,2*v3]) sphere(r=r3);
translate([0... | glb/cad_6e8b6c0ad559.glb |
Create a sun visor handle cover for a Trabant 601. Start by constructing a base plate using a convex hull that connects four small cylinders, each 3mm thick and centered on the Z-axis. Position two cylinders at (0, 0, 0) and (42, 0, 0), and two more at (4, 16, 0) and (38, 16, 0). Each of these cylinders must taper from... | $fn=100;
difference()
{
hull()
{
translate([0,0,0]) cylinder(d1=8, d2=4, h=3, center=true);
translate([42,0,0]) cylinder(d1=8, d2=4, h=3, center=true);
translate([4,16,0]) cylinder(d1=8, d2=4, h=3, center=true);
translate([38,16,0]) cylinder(d1=8, d2=4, h=3, center=true);
}
... | glb/cad_b8aad79b977a.glb |
Create a simple weaving loom consisting of two side walls, two end pieces, and a central comb.
Construct two identical side walls, each 220mm long, 30mm wide, and 3mm thick. In each wall, remove two long vertical channels to create a central slot and two outer grooves, leaving a structural frame.
Create two end piec... | module celo()
{
difference()
{
union()
{
cube([5,30,5]);
translate([95,0,0]) cube([5,30,5]);
cube([100,30,2]);
}
union()
{
for(i=[8.75:2.5:91.75])
{
translate([i,27,-0.5]) cube([1,6,3]);
}
hull()
... | glb/cad_a817a7db7011.glb |
Create a handmade weaving machine consisting of a hollowed central cylinder and five radiating pins. Start by creating a main cylinder with a diameter of 30mm and a height of 15mm. Remove a smaller concentric cylinder from the center with a diameter of 16mm and the same 15mm height to create a thick-walled ring. Around... | pin = 5;
pin_height = 10;
width = 30;
height = 15;
hole = 16;
$fn = 30;
difference()
{
cylinder(d=width,h=height);
cylinder(d=hole,h=height);
}
for(i=[0:360/pin:360])
{
rotate([0,0,i]) translate([((width/2)-((width-hole)/4)),0,height])
{
difference()
{
union()
{
cy... | glb/cad_5197c2264594.glb |
Create a replacement grenade cover consisting of a thin circular base and a surrounding retaining wall. Start by creating a solid flat disc with a radius of 10.5mm and a height of 1mm. Around the perimeter of this disc, construct a concentric circular wall with a height of 7.5mm and an inner radius of 8.5mm. Within thi... | r1 = 8.5;
r2 = 9.5;
v1 = 7.5;
v2 = 4;
v3 = 1;
r3 = 10.5;
wall = 1;
$fn=100;
module zapadka()
{
polygon(points=[[r1-wall,0],[r1-wall,v1],[r2,v2+((v1-v2)/2)],[r1,v2],[r1,0]]);
}
module vycko()
{
cylinder(r=r3, h=v3);
difference()
{
union()
{
translate([0,0,v3]) rotate_extrude() zapadka(... | glb/cad_71821e0aeb41.glb |
Create a decorative button with a star pattern, 20mm in width and 2mm in height. The base is a circular form with a five-pointed star embossed in the center. The star is formed by five rounded petals radiating from the center, each 2mm thick. Around the central star, create five circular loops that interlock and overla... | $fn=30;
width=20.0;
height=2.0;
hole=2.0;
module flower_2()
{
difference()
{
union()
{
for(i=[0:72:360])
{
rotate([0,0,i])
{
translate([0,((width)/4),height/2])
{
{
... | glb/cad_c130f3c3cdd3.glb |
Create a flower-shaped button with a total width of 20mm and a thickness of 2mm. The main body is formed by a central ring with an outer diameter of 20mm, featuring a rounded profile. Around this center, place six evenly spaced petals. Each petal is created by taking a small circle with a diameter of 1.33mm and sweepin... | $fn=30;
width=20.0;
height=2.0;
hole=2.0;
drill=3;
module flower_1()
{
difference()
{
union()
{
hull()
{
rotate_extrude(convexity = 100)
{
translate([(width/2), 0, 0]) circle(d = height/2);
}
... | glb/cad_cdb3e127ff5c.glb |
Create a nozzle for a meat mill designed to extrude comb-shaped sugar. Start by constructing the main body as a composite of three stacked sections: a base cylinder with a diameter of 53mm and a height of 5mm, a middle frustum that transitions from a 53mm diameter at the bottom to a 45mm diameter over a height of 7mm, ... | $fn=60;
prumer_1 = 53;
prumer_2 = 45;
vyska = 20;
module plato()
{
difference()
{
union()
{
translate([0,0,0]) cylinder(d=prumer_1, h=5);
translate([0,0,5]) cylinder(d1=prumer_1,d2=prumer_2, h=7);
translate([0,0,0]) cylinder(d=prumer_2, h=vyska);
}
... | glb/cad_62a21525eaa3.glb |
Create a nozzle for a meat mill designed to extrude flower shapes. Start by constructing the main body: a base cylinder 53mm in diameter and 4mm high, topped with a frustum that tapers from 53mm down to 30mm over a height of 15mm, which then extends into a 30mm high cylinder with a 30mm diameter. Hollow out the center ... | $fn=50;
prumer_1 = 53;
prumer_2 = 30;
vyska = 30;
module plato()
{
difference()
{
union()
{
translate([0,0,0]) cylinder(d=prumer_1, h=4);
translate([0,0,4]) cylinder(d1=prumer_1,d2=prumer_2, h=15);
translate([0,0,0]) cylinder(d=prumer_2, h=vyska);
}
... | glb/cad_ff6953901706.glb |
Create a holder for a guinea pig cage water bottle. Start by constructing a solid base that is a combination of a cylinder and a rectangular block. The main body is a cylinder with an outer diameter of 72mm and a height of 15mm. Merge this cylinder with a rectangular block that measures 72mm in length, 5mm in width, an... | bottle = 65.0;
gap = -0.5;
wire = 2.0;
height = 15.0;
wall = 3.5;
$fn = 60;
module holder_v2()
{
difference()
{
union()
{
hull()
{
translate([((bottle/2)+(wall)),((bottle/2)+wall),0]) cylinder(d=(bottle+(2*wall)),h=height);
... | glb/cad_5107067f9c59.glb |
Create a replacement water bottle handle for a pet cage. Start by creating a solid semi-circular ring with a height of 15mm. The outer diameter of this ring should be 72mm, and the inner diameter should be 65mm, creating a wall thickness of 3.5mm. The ring is not a full circle; it is truncated by a flat rectangular sec... | bottle = 65.0;
gap = -0.5;
wire = 2.0;
height = 15.0;
wall = 3.5;
$fn = 60;
module holder_v1()
{
difference()
{
union()
{
hull()
{
translate([((bottle/2)+wall),((bottle/2)+wall),0]) cylinder(d=(bottle+(2*wall)),h=height);
t... | glb/cad_4e76cb67e6f0.glb |
Create a dog mark tag in the shape of a heart with a total height of 3mm. The main body is formed by two overlapping hulls: one connecting a small cylinder of 5mm diameter at the origin to a larger 25mm diameter cylinder centered at x=25mm, y=-10mm, and another hull connecting that same origin cylinder to a 25mm diamet... | $fn = 30;
velikost = 25;
height = 3;
jmeno = "REX";
id = "123";
cislo = "123456789";
module srdce()
{
union()
{
hull()
{
translate([0,0,0]) cylinder(d=(velikost/5),h=height);
translate([velikost,-(velikost/2.5),0]) cylinder(d=(velikost),h=height);
}
hull(... | glb/cad_2b2acea8695e.glb |
Create a Neptune pipette box as a rectangular tray with rounded corners. The overall outer dimensions are 114mm in width and 82mm in length. The main body of the tray has a base height of 3mm, while the outer walls rise to a total height of 24.5mm. All four corners are rounded with a radius of 5mm.
The interior of the... | $fn = 30;
polomer = 5;
sirka = 114;
delka = 82;
vyska = 3;
prihradka = 24.5;
zamek = 2.5;
mezi_zubi = 51;
prvni_zub = 14;
module plotna()
{
difference()
{
hull()
{
translate([0,0,0]) cylinder(r=polomer,h=vyska);
translate([(sirka-(polomer*2)),0,0]) cylinder(r=polomer,h=v... | glb/cad_88392e27a6e6.glb |
Create a dog tag in the shape of a bone with a total width of 35mm, a height of 20mm, and a thickness of 3mm. The bone body is formed by four cylinders with 14mm diameters—two at each end—connected by a central rectangular block measuring 30mm by 18mm.
At the top center of the bone, add a small circular hole with a d... | $fn=30;
width = 35;
height = 20;
body_height = 3;
name = "Kelly";
number = "123456789";
text_hei_kor = 0.01;
text_pos_kor = 0.01;
module t(t, s = 3, style = "Courier New:style=Regular")
{
rotate([0, 0, 0])
linear_extrude(height = 0.5)
text(t, size = s, font = str(style), $fn = 100);
}
module kost(body_heigh... | glb/cad_296ff4a0b207.glb |
Create a printer jammer clamp by starting with a base block that is 10mm wide, 40.5mm deep, and 20mm high. The main body is formed by a hull connecting a 10mm by 40.5mm by 3mm rectangular slab at the bottom to a horizontal cylinder with a diameter of 15.75mm and a length of 10mm, centered at a height of 20mm and positi... | $fn=30;
prumer = 10.5;
vyska = 20.0;
difference()
{
union()
{
hull()
{
cube([10,(prumer+30),3]);
translate([0,((prumer+30)/2),vyska]) rotate([0,90,0]) cylinder(d=(prumer*1.5),h=10);
}
}
union()
{
translate([-0.5,((prumer+30)/2),vyska]) rotate... | glb/cad_fc1381028c3f.glb |
Create a sliding door lock consisting of a base plate, a sliding bolt, and a fixed end block.
First, create the main base body as a rectangular slab 75mm long, 34mm wide, and 3mm thick. On top of this slab, center a raised rectangular guide rail that is 75mm long, 14mm wide, and 13mm high. Within this base, create fo... | vyska = 8;
sirka = 8;
draha = 15;
madlo_v = 15;
module telo()
{
difference()
{
union()
{
translate([0,0,0]) cube([(60+draha),(sirka+26),3]);
translate([0,10,0]) cube([(60+draha),(sirka+6),(vyska+5)]);
}
union()
{
translate([10,5,0]) cy... | glb/cad_54cbb18a1a1a.glb |
Create a toothpaste squeezer holder by starting with a base plate 3mm thick. The main body is formed by a hull connecting two cylinders of 7.5mm diameter placed 55mm apart along the x-axis, and a third cylinder of 15mm diameter positioned at the center of the width (27.5mm) and 20mm offset along the y-axis. From this s... | height_holder = 3;
width_paste = 55;
height_paste = 2.5;
text = "Kinds";
$fn = 50;
module t(t, s = 3, style = "Courier New:style=Regular") {
rotate([0, 0, 0])
linear_extrude(height = 0.5)
text(t, size = s, font = str(style), $fn = 100);
}
difference()
{
union()
{
hull()
{
... | glb/cad_cfceb5d14182.glb |
Create a Simple Gloomhaven Standee Base by starting with a square base plate measuring 19mm by 19mm with a thickness of 2.4mm. Centered on this plate, add a rectangular block that is 19mm wide, 6.5mm deep, and 7.6mm tall. Carve a wedge-shaped slot through the center of this block, running the full 19mm width. The slot ... | pad_h=2.4;
final_h=10;
sq_side=19;
w_low=1.5;
w_high=2.1;
difference()
{
union()
{
linear_extrude(pad_h)
square(sq_side,true);
linear_extrude(final_h)
square([sq_side,6.5],true);
}
translate([-sq_side/2,0,pad_h])
rotate([90,0,90])
linear_extrude(sq_side)
polygon([[-w_low/2,0],[w_low/2,0],[w_high/2,final_h-pad_h],[-... | glb/cad_38252e847e55.glb |
Create a water tap spare lever by constructing a main body using a convex hull between two cylinders: one with a 20mm diameter and 4mm height at the base, and another with a 30mm diameter and 20mm height positioned 40mm away along the y-axis. From this solid, remove several geometric sections. First, carve out a 10mm b... | $fn= 100;
difference()
{
hull()
{
translate([0,0,0]) cylinder(d=20,h=4);
translate([0,40,0]) rotate([0,0,0]) cylinder(d=30,h=20);
}
union()
{
translate([-5,35,5]) cube([10,10,15]);
translate([0,40,0]) cylinder(d1=10, d2=4,h=4);
translate([0,40,0]) cylinder(d=4... | glb/cad_aee7776f0b74.glb |
Create a bedding button by starting with a flat cylinder 13mm in diameter and 1.2mm thick. Add a rounded rim around the edge by creating a torus with a cross-sectional circle diameter of 1.6mm, centered so that the ring's path follows a circle with a 5.7mm radius, sitting directly on top of the base. Finally, pierce tw... | $fn = 50;
difference()
{
union()
{
translate([0,0,0]) cylinder(d=13,h=1.2);
translate([0,0,1.2]) rotate_extrude() translate([5.7, 0]) circle(0.8);
}
union()
{
translate([2,0,0]) cylinder(d=1.4,h=1.2);
translate([-2,0,0]) cylinder(d=1.4,h=1.2);
}
} | glb/cad_803501c17ff3.glb |
Create a cable clip by starting with a base rectangular block 20mm long, 5mm wide, and 10mm high. At one end of this block, add a semi-circular extension that creates a rounded head with a total diameter of 12mm and a height of 10mm, blending it into the main body. From this combined solid, remove several cylindrical h... | $fn=200;
difference()
{
union()
{
translate([0,0,0]) cube([20,5,10]);
hull()
{
translate([25,6,0]) cylinder(d=12,h=10);
translate([20,0,0]) cube([11,5,10]);
}
}
union()
{
hull()
{
translate([25,6,0]) cylinder(d=8,h=... | glb/cad_bb7c4d0ba33f.glb |
Create a sensor holder by starting with a rectangular block measuring 12mm wide, 14mm deep, and 6mm high. Carve a central horizontal hole through the block with a diameter of 4.4mm, centered 7mm deep and 3mm from the front face. Remove a rectangular section from the top measuring 12mm wide, 14mm deep, and 1.2mm high, s... | $fn=30;
intersection()
{
difference()
{
cube([12,14,6.0]);
union()
{
translate([4,7,3]) rotate([90,0,0]) cylinder(d=4.4,h=14,center=true);
translate([3,0,1.3]) cube([12,14,1.2]);
translate([9,4,3]) rotate([0,0,0]) cylinder(d=3,h=6,center=true);
... | glb/cad_b4b086a344c8.glb |
Create a replacement hinge for a rear cover. Start by centering a cylinder with a diameter of 14mm and a height of 17mm. From the top of this cylinder, extend the shape upwards to create a transition that connects to a rectangular block. This block should be 18mm tall, 12mm wide, and 9mm deep, positioned so that it sit... | $fn=50;
translate(0,0,0) cylinder(d=14, h=17, center=true);
hull()
{
translate([0,0,9]) cylinder(d=14, h=1, center=true);
translate([8,0,29]) cube([10,14,1],center=true);
}
translate([8,0,38]) cube([8,12,18],center=true);
translate([6,0,38]) cube([1,13,18],center=true);
translate([10,0,38]) cube([1,13,18],cente... | glb/cad_27ca23ab07a1.glb |
Create a parametric card holder tray with a total length of 150mm, a width of 69.6mm, and a height of 57mm. The main body is a rounded rectangular block with corner radii of 3mm.
Carve out a central card compartment that is tilted at an angle of approximately 20 degrees. This compartment should have a base length of ... | $fn=200;
csl=90;
csw=65;
r=3;
b=1.2;
lw=5;
wt=1.6;
cutout = true;
lh=150;
lc=0;
lfd=[];
wh=0;
hh=57;
ha=0;
dividers=false;
d=3;
dsh=20;
dsl=1;
dg=15;
card_holder();
echo(length=l);
echo(cardstack_length=cl);
echo(width=w);
echo(height=h);
echo(angle=a);
h = hh > 0 ? hh : sin(ha)*csw+b;
a = ha > 0 ? ha : asin((... | glb/cad_46fe2b2406a8.glb |
Create a parametric index card with a thickness of 1.4mm. The main body is a rectangle measuring 85mm wide by 140mm high, with all four corners rounded to a radius of 6mm.
On the top edge, add a tab that is 20mm wide and 5mm high with a corner radius of 5mm. Position this tab on the left side of the top edge.
On the ... | insert_width=85;
insert_height=140;
insert_thickness=1.4;
insert_radius=6;
top_tab_width=20;
top_tab_height=5;
top_tab_position=0;
side_tab_width=10;
side_tab_height=25;
pen_thickness=8;
tab_radius=5;
basic_inlet();
penholder();
module basic_inlet()
{
hull()
{
translate([insert_radius,in... | glb/cad_62afbc5f31b9.glb |
Create a parametric any-number die by starting with a sphere of radius 10mm. To create the faces, perform a series of planar cuts into the sphere using cubes of 20mm size centered on the Z-axis, each rotated to a specific set of coordinates to distribute the faces as equally as possible. For a 21-sided die, use the 21 ... | font = "URW Gothic:style=Normal";
cut_deep = 0.95;
font_size = 5.1;
module dx() {
difference() {
sphere(r = 10, $fa=2, $fs=0.1);
for (i = [0:len(angles)-1]) {
rotate(angles[i]) {
translate([0,0,deep])
cube(size = 20,center = true);
}
}
... | glb/cad_23804466ffaf.glb |
Create a 21-sided die by starting with a sphere of radius 10mm. To form the faces, create 21 planar cuts by positioning 21 cubes (each 20mm per side) centered on the sphere. Each cube must be rotated and translated along its Z-axis to a distance of 19.1mm from the center, effectively slicing the sphere into a multi-fac... | font = "TSCu\\_Comic:style=Normal";
cut_deep = 0.94;
d21 = [[
[0.00, 97.03, 83.72],
[0.00, 44.72, -45.02],
[0.00, 87.51, -56.94],
[0.00, 158.49, -3.86],
[0.00, 72.39, -145.77],
[0.00, 75.48, 166.42],
[0.00, 64.48, 4.72],
[0.00, 100.31, 31.87],
[0.00, 60.83, -98.41],
[0.00, 136.80, 65.04],
[0.00, 27.25, -155.86],
[0.00... | glb/cad_e5cb63f31c66.glb |
Create a customizable window frame grid consisting of interlocking rectangular strips. The overall opening dimensions are 304.8mm wide by 381mm high. The grid is divided into 3 columns and 2 rows of panels.
Each strip has a uniform thickness of 7.62mm and a trim width of 15.24mm. Construct the outer frame using strips... | include <JointSCAD/JointSCAD.scad>;
MM_PER_IN = 25.4;
wall_thickness = 0.3 * MM_PER_IN;
sliding_fit = 0.2;
friction_fit = 0.02;
horizontal_total_width = 12 * MM_PER_IN;
vertical_total_height = (14 + 7/8) * MM_PER_IN;
num_panel_rows_x = 2;
num_panel_cols_y = 3;
trim_width = 0.6 * MM_PER_IN;
corner_length = trim_wid... | glb/cad_c3c873ed21c0.glb |
Create a stackable tray with an internal storage area measuring 185mm in length and 140mm in width, and a storage depth of 9mm. The tray features a floor thickness of 0.6mm and outer walls that are 1.2mm thick.
The walls are not perfectly vertical; they taper outwards from the base to the top. To facilitate stacking,... | rows = 1;
columns = 1;
internal_length = 185;
internal_width = 140;
height = 9;
floor_thickness = 0.6;
outside_wall_thickness = 1.2;
inside_wall_thickness = 1.2;
lip_height = 2.5;
extra_space_for_easy_stacking=0.4;
dm=0.001;
length=(internal_length+inside_wall_thickness)/rows-ins... | glb/cad_60db1d67a9ce.glb |
Create a stackable tray with an internal storage area measuring 230mm in length and 161.2mm in width, with a storage height of 50mm. The tray features a floor thickness of 1.4mm and outer walls that are 2.0mm thick.
The walls are not perfectly vertical; they lean outward as they rise. To achieve this, the base of the... | rows = 1;
columns = 1;
internal_length = 230;
internal_width = 161.2;
height = 50;
floor_thickness = 1.4;
outside_wall_thickness = 2.0;
inside_wall_thickness = 1.2;
lip_height = 2.5;
extra_space_for_easy_stacking=0.4;
dm=0.001;
length=(internal_length+inside_wall_thickness)/rows-... | glb/cad_67ec575f56ae.glb |
Create a plant marker consisting of a flat rectangular base and a vertical slot for a stick. Start with a base plate measuring 47mm wide by 21mm deep and 2mm thick, with rounded corners having a radius of 2.5mm.
In the center of the base, construct a vertical holder to accommodate a finger food stick. This holder is ... | $fn=123;
difference() {
linear_extrude(2) offset(r=1) hull() {
translate([-47/2+5/2, -21/2+5/2]) circle(r=5/2);
translate([+47/2-5/2, -21/2+5/2]) circle(r=5/2);
translate([+47/2-5/2, +21/2-5/2]) circle(r=5/2);
translate([-47/2+5/2, +21/2-5/2]) circle(r=5/2);
}
translate([0,0,-.01]) linear_extrud... | glb/cad_b4088383e494.glb |
Create a plant marker consisting of a flat base and a central mounting clip. Start with a rectangular base 47mm wide, 21mm deep, and 2mm thick. Round the four corners of this base with a radius of 2.5mm. Cut a shallow rectangular indentation 0.1mm deep into the top surface of the base, following the same 47mm by 21mm d... | $fn=123;
difference() {
linear_extrude(2) offset(r=1) hull() {
translate([-47/2+5/2, -21/2+5/2]) circle(r=5/2);
translate([+47/2-5/2, -21/2+5/2]) circle(r=5/2);
translate([+47/2-5/2, +21/2-5/2]) circle(r=5/2);
translate([-47/2+5/2, +21/2-5/2]) circle(r=5/2);
}
translate([0,0,-.01]) linear_extrud... | glb/cad_87ae30497f30.glb |
Create a Toilet Paper Box consisting of a base and a lid.
First, construct the base. The base is a rounded rectangular enclosure with a height of 103.6mm. Its outer dimensions are defined by two cylinders with a diameter of 117.2mm, positioned 117.6mm apart (center-to-center) along the X-axis, connected by straight w... | rollOD = 114;
rollWidth = 100;
gapPadding = 2;
wallThickness = 1.6;
lidHeight = 20;
lidClearance = 1.6;
$fn = 256;
bottomID = rollOD + (gapPadding * 2);
bottomOD = bottomID + (wallThickness * 2);
separation = rollOD + (gapPadding * 2) + wallThickness;
bottomHeight = wallThickness + rollWidth + gapPadding;
roundi... | glb/cad_9b75785d6e8d.glb |
Create an in-line sensor indicator housing. Start by constructing the main outer body as a hull formed by two intersecting cylinders oriented along the Y-axis: one cylinder with a diameter of 13.8mm and a length of 40mm, and a second, slightly shorter cylinder with a diameter of 16mm and a length of 36mm, which must be... | $fn=120;
translate([0,0,0]) obal();
module obal()
{
difference()
{
union()
{
hull()
{
translate([0,0,0])
rotate([0,90,0])
cylinder(d=13.8,h=40,center=true);
translate([0,0,0])
rotate([0,90,0])
cylinder(d=16,h=36,center=true,$fn=6);
... | glb/cad_c6690be8d9c2.glb |
Create a peg board wrench holder designed to store nine wrenches perpendicularly. Start with a rectangular base plate 3mm thick and 36mm high. The main body is a wedge-shaped block that transitions from a diameter of 13.16mm at one end to 28.58mm at the other over a total length of 117mm (9 wrenches spaced 13mm on cent... | w_oc = 13;
wrenches = 9;
largest_wrench_neck_thickness = 6;
largest_wrench_box_end_od = 28.58;
thinnest_wrench_neck_thickness = 4;
smallest_wrench_box_end_od = 13.16;
holderZ = 36;
wallY = 3;
$fn = 90;
inch = 25.4;
peghole = 5;
pegY=7;
wallZ = holderZ * 1.5 > inch + 7 ? holderZ * 1.5: inch + 7;
holderX = wrench... | glb/cad_bf9f61531264.glb |
Create a heart-shaped frame and cutter tool with a total width and depth of 120mm.
First, construct a heart-shaped frame by creating a heart profile with a resolution of 360 segments. The frame should have a thickness of 5mm and a total height of 5mm. Include an optional base rim for the frame with a thickness of 1mm... | $vpr=[90 - atan(sin(45)),0,45]*1;
Object_type = 0;
Modifier_type = -1;
Width = 120;
Depth = 120;
Height = 3;
Columns = 1;
Rows = 1;
Preview_coordinates = true;
Centering_fillet_distance = 2;
add_centering_fillet = (
( Centering_fillet_distance > 0 ) && ( ( Object_type < 1 ) || ( 1 == Modifier_type ) )
);
... | glb/cad_98c471a8e56f.glb |
Create a mounting bracket for a Shelly device. Start by creating a base plate with a total height of 6mm. The main body is a rounded rectangular enclosure with a footprint of 42mm by 38mm, featuring a central cutout for the device that is 42mm wide and 38mm deep, with a depth of 3mm. The corners of this cutout are slig... | $fn=88;
ears=true;
shelly = [
[0,0]
, [42,0]
, [42,38-10], [42-10, 38]
, [10,38], [0,38-10]
];
difference() {
union() {
linear_extrude(3+3)
offset(r=2.5) polygon(shelly);
if(ears) {
hull() {
translate([-8, 38/2-2, 0])
cylinder(r=8, h=3-.01);
translate([42+8, 38/2-2... | glb/cad_b9a84b814305.glb |
Create a Printmaking Registration Pin consisting of a flat base and a protruding cylindrical pin. Start by creating a rounded rectangular base 28mm long, 23mm wide, and 1mm thick, with corner radii of 4mm. Remove a smaller rounded rectangular section from the center of this base, measuring 18mm by 13mm with 2mm corner ... | use <MCAD/boxes.scad>
$fn=100;
bodyHeight = 1.0;
pinHeight = 2.0;
tabHeight = 0.6;
holePinDia = 6.3;
variance = 0.1;
pinThing();
module pinThing() {
difference() {
translate([-10,0,0])
roundedCube([28,23,bodyHeight], 4, true, true);
translate([-10,0,0])
roundedCube... | glb/cad_d7107534ef37.glb |
Create a 3-bladed RC plane propeller with a total diameter of 120mm. The propeller consists of three blades spaced equally around a central hub.
Construct the hub as a cylinder with a diameter of 10mm and a height of 12mm. Centered within this hub, create a vertical cylindrical hole with a diameter of 2mm and a depth ... | blades=3;
propdia=120;
hubdia=10;
fairing=6;
hubheight=12;
spinheight=8;
shaftheight=9;
shaftdia=2;
demo_nbladedprop(blades, propdia, hubdia, fairing, hubheight, spinheight, shaftheight, shaftdia);
module propeller(blades=2, propdia=100, hubdia=10, bladepitch=-1, maxchordfrac=0.15, hublen=10, elenfrac=1.1, dir=-1, ce... | glb/cad_63ceb6a77659.glb |
Create a wire shelving label clip with a total height of 34mm and a thickness of 1.5mm. Start with a central rectangular plate that is 76.2mm wide (the distance between wire centers) and 1.5mm thick.
On both the left and right edges of this plate, add a semi-cylindrical hook designed to snap around a wire. Each hook ... | wireSpacing = 3 * 25.4;
wireDiameter = 3.5;
extraWireOffset = 1.25;
labelHeight = 34;
thickness = 1.5;
$fn = 48;
rotate([90, 0, 0])
{
difference()
{
union()
{
translate([-wireSpacing / 2, -thickness / 2, 0])
{
cube(size = [wireSpacing, thickness * 1... | glb/cad_45e10d7b8088.glb |
Create a Dual Head X-Y Calibration Plate consisting of a square base plate and a series of raised calibration marks. The base plate is a centered cube measuring 150mm x 150mm with a thickness of 0.25mm.
On top of this base, create a grid of intersecting thin lines. The lines are 0.3mm wide and 0.5mm thick. The grid is... | calibrationRange = 0.2;
calibrationIncrement = 0.05;
nozzleSizeBasePlate = 0.3;
nozzleSizeTargets = 0.3;
printTextUsingBasePlateNozzle = (nozzleSizeBasePlate < nozzleSizeTargets);
plateSize = 150.0;
plateThickness = 0.25;
calibrationMarksThickness = 0.5;
textBufferSpace = 15;
generateBasePlate = true;
generat... | glb/cad_86333f1ce2b4.glb |
Create a Dual Head X-Y Calibration Plate centered on the origin. Start with a square base plate measuring 150mm by 150mm with a thickness of 0.25mm.
On top of this base, create a grid of raised calibration marks with a thickness of 0.5mm. The grid consists of intersecting horizontal and vertical lines, each 0.6mm wid... | calibrationRange = 0.2;
calibrationIncrement = 0.05;
nozzleSizeBasePlate = 0.6;
nozzleSizeTargets = 0.6;
printTextUsingBasePlateNozzle = (nozzleSizeBasePlate < nozzleSizeTargets);
plateSize = 150.0;
plateThickness = 0.25;
calibrationMarksThickness = 0.5;
textBufferSpace = 15;
generateBasePlate = true;
generat... | glb/cad_b1f7aa350901.glb |
Create a Dual Head X-Y Calibration Plate consisting of a square base plate 150mm wide and 150mm deep with a thickness of 0.25mm.
On top of this base, add a grid of raised calibration marks 0.5mm thick. The grid is formed by intersecting horizontal and vertical lines 0.4mm wide. These lines are spaced based on a calib... | calibrationRange = 0.2;
calibrationIncrement = 0.05;
nozzleSizeBasePlate = 0.4;
nozzleSizeTargets = 0.4;
printTextUsingBasePlateNozzle = (nozzleSizeBasePlate < nozzleSizeTargets);
plateSize = 150.0;
plateThickness = 0.25;
calibrationMarksThickness = 0.5;
textBufferSpace = 15;
generateBasePlate = true;
generat... | glb/cad_ea19fd524d03.glb |
Create a Trailer Bearing Dust Cover designed as a shallow, flexible cylindrical cap. The main body is a cylinder with an outer diameter of 63.24mm (bearing OD plus twice the wall thickness) and a total height of 27.24mm. The walls have a thickness of 1.8mm.
The interior is hollowed out to accommodate a bearing. Create... | units = 25.4;
bearingOD = 2.4276;
tensionODBy = 0.05;
bearingDepth = 1;
wallThickness = 1.8;
$fn = 96;
bearingODMM = bearingOD * units;
tensionODByMM = tensionODBy * units;
bearingDepthMM = bearingDepth * units;
wallThicknessMM = wallThickness;
module dustCover()
{
difference()
{
union()
... | glb/cad_5e0187868b18.glb |
Create a shrouded handle for an Allen screwdriver. The model consists of a central shaft with an integrated conical shroud. For a 2.5mm hex key version, the shroud is a cone with a base diameter of 25.5mm and a top diameter of 15.75mm, with a height of 14.55mm.
At the center of the cone, create a hexagonal hole to ac... | $fa = 1;
$fs = 0.1;
key_size = 2.5;
key_text = "2.5";
text_size = 6;
key_handle = 20.5;
fillet_rad = 2;
thread_diam = 15.75;
shaft_diam = 16.2;
shaft_ht = 14.55;
STL = "metric_2.5mm_shaft_0.1.stl";
STL_X = -974.52;
STL_Y = -168;
STL_Z = -66.095;
hex_tolerance = 0.21;
hex_slot_length = key_handle-key_size/2;
cone_dia... | glb/cad_e5703427b90a.glb |
Create a Part Drawer with an outer width of 50.8mm, a height of 36.828mm, and a depth of 114.3mm. The main body is a hollow rectangular shell with a wall thickness of 1.2mm. The vertical corners are rounded with a radius of 6.35mm, and the bottom corners are angled at 45 degrees.
The interior contains two compartment ... | units = 25.4;
drawerWidth = 2.0;
drawerHeight = 1.458;
drawerDepth = 4.5;
roundingRadius = 0.25;
bottomCornerStyle = 0;
sideCornerStyle = 1;
handleWidth = 1.5;
handleHeight = 0.25;
handleDepth = 0.25;
compartmentDividers = 2;
dividerHeight = 1.125;
wallThickness = 1.2;
$fn = 32;
drawerWidthMM = drawerWidt... | glb/cad_3c097199023c.glb |
Create a shirt collar stay with a thickness of 1.0mm and an overall length of 55.0mm. The shape is a flat, elongated piece that begins with a semi-circular back with a radius of 5.0mm (making the total width at the back 10.0mm). From this rounded back, the body extends forward in a straight rectangular section. At 42.5... | width = 10.0;
overallLength = 55.0;
shoulderFromTip = 12.5;
tipRadius = 1.5;
shoulderRadius = 1.5;
thickness = 1.0;
$fn = 48;
module CollarStay()
{
hull()
{
translate([width / 2, 0, 0])
{
cylinder(r = width / 2, h = thickness);
}
translate([overallLength - s... | glb/cad_af0fc5749471.glb |
Create a vertical hydroponic planter shape with a height of 100mm. The object is a hollow tapered tube defined by a central cylindrical void that starts with a diameter of 40mm at the base and scales down to a diameter of 30mm at the top. The outer wall is formed by a repeating star-like polygonal profile with 14 point... | innerDiameter = 40;
outerTall = 5;
outerShallow = 1;
numHoles = 14;
height = 100;
taperRatio = 0.75;
twist = (360/numHoles)*20;
$fn = numHoles*2;
oo = innerDiameter + outerTall;
oi = innerDiameter + outerShallow;
outerPoints = [ for (a = [ 0 : numHoles ], b = [ 0 : 1 ])
[ ((b... | glb/cad_c3d041c894b9.glb |
Create a Cam Pipe Clamp consisting of a main circular ring and an integrated cam-locking lever.
Start by creating a hollow ring with an inner diameter of 40mm and a wall thickness of 1mm. The ring's overall width is 1mm.
Integrate a cam mechanism into the ring. This mechanism consists of a link and a lever. The lin... | clamp_target_diameter = 40.0;
clamp_thickness = 1.0;
clamp_width = 1.0;
function solve_quad_positive(a, b, c) = (- b + sqrt(b * b - 4.0 * a * c)) / (2.0 * a);
function solve_quad_negative(a, b, c) = (- b - sqrt(b * b - 4.0 * a * c)) / (2.0 * a);
function sqr(x) = x * x;
function len(x, y) = sqrt(sqr(x) + sqr(y));
m... | glb/cad_a73e780fd75c.glb |
Create a Snap Pipe Clamp designed to hold a pipe with a target diameter of 20mm. The clamp is a hollow, C-shaped cylindrical shell with a depth of 12mm and a wall thickness of approximately 2.4mm.
The main body is formed by two concentric cylinders: an inner cylinder with a radius of 9mm and an outer cylinder with a r... | clamp_target_diameter = 20.0;
clamp_closeness = 1.0;
clamp_thickness = 1.0;
clamp_width = 1.0;
function solve_quad_positive(a, b, c) = (- b + sqrt(b * b - 4.0 * a * c)) / (2.0 * a);
function solve_quad_negative(a, b, c) = (- b - sqrt(b * b - 4.0 * a * c)) / (2.0 * a);
function sqr(x) = x * x;
function len(x, y) = s... | glb/cad_9072efabc1e1.glb |
Create a Toggle Clamp fixture consisting of a mechanical linkage system. The assembly is centered around a main arm and a base.
First, construct the base. Create a rectangular block with a width of 10mm and a depth of 10mm, and a length of 60mm. At each end of this base, integrate a cylindrical pivot point with a radi... | part = "first";
clamp_target_space = 20.0;
clamp_target_angle = 30.0;
clamp_area_factor = 1.0;
function solve_quad_positive(a, b, c) = (- b + sqrt(b * b - 4.0 * a * c)) / (2.0 * a);
function solve_quad_negative(a, b, c) = (- b - sqrt(b * b - 4.0 * a * c)) / (2.0 * a);
function sqr(x) = x * x;
function len(x, y) = s... | glb/cad_bb5c14887ae6.glb |
Create a Cover for Customizable LEGO Compatible Braille Bricks. Construct a rectangular brick with a footprint of 2 studs wide by 6 studs long. The overall height should be equivalent to a standard brick height (9.6mm).
The top surface must feature 12 solid cylindrical studs arranged in a 2x6 grid. Each stud should ha... | block_width = 2;
block_length = 6;
block_height_ratio = 1;
block_type = "brick";
block_brand = "lego";
stud_type = "solid";
block_bottom_type = "open";
include_wall_splines = "yes";
technic_holes = "no";
vertical_axle_holes = "no";
wing_type = "full";
wing_end_width = 2;
wing_base_length = 3;
wing_stud_not... | glb/cad_37ef2c4a9cd6.glb |
Create a Heart texture mod consisting of a grid of heart shapes. The overall pattern area is a square measuring 120mm by 120mm with a height of 0.2mm.
Populate this area with a 6-column by 6-row grid of solid hearts. Each heart should be sized to fit its cell, leaving a small horizontal and vertical spacing of 0.05mm... | $vpr=[90 - atan(sin(45)),0,45]*1;
Modifier_type = 1;
Width = 120;
Depth = 120;
Height = 0.2;
Columns = 6;
Rows = 6;
Shape_type = 1;
is_ngon = 2 == Shape_type;
Ngon_or_circle_sides = 180;
sides = Ngon_or_circle_sides;
is_circle = sides >= 60;
Ngon_area_rotation = 0;
Centering_fillet_distance = 2;
Heart_horizo... | glb/cad_364df96f5e05.glb |
Create an Orange Pi 5 Plus Case consisting of a main body and a lid.
For the main body, construct a rectangular enclosure with inner dimensions of 80mm by 108mm and a height of 21.5mm. The walls should be 3.2mm thick, with a bottom base thickness of 2.5mm. On the side walls, integrate a decorative hexagonal grid patt... | include <BOSL2/std.scad>
module cell(SW_hole, height, wall) {
tol = 0.001;
difference() {
cyl(d=SW_hole+2*wall,h=height,$fn=6,circum=true);
cyl(d=SW_hole,h=height+tol,$fn=6,circum=true);
}
}
module grid(size,cell_hole,cell_wall,rotateHex=0) {
dx=cell_hole*sqrt(3)+cell_wall*sqrt(3);
dy=cell_hole+cell... | glb/cad_3220863dda5b.glb |
Create a modular organizer box with a total footprint of 99.6mm by 79.6mm and a height of 20mm. Start by creating a solid rectangular base that is 99.6mm by 79.6mm with a thickness of 0.4mm.
Construct the outer perimeter walls by adding 0.4mm thick vertical walls to the edges of the base, reaching the full height of ... | extrusionWidth = 0.4;
perimeters = 1;
extraBasePerimeters = 0;
X = 100;
Y = 80;
height = 20;
segmentsX = 5;
segmentsY = 3;
segmentsXArray = [[0,0,1,1],
[1,1,1,0],
[1,1,0,0]];
segmentsYArray = [[1,0],
[1,1],
[1,1],
[1,1],
... | glb/cad_ac15e8e92f02.glb |
Create a modular organizer box with an outer footprint of 99.6mm by 114.6mm and a total height of 36mm. Start by creating a rectangular base plate that is 99.6mm long, 114.6mm wide, and 0.4mm thick. To form the walls, add vertical rectangular dividers with a thickness of 0.4mm. Place two full-width dividers running alo... | extrusionWidth = 0.4;
perimeters = 1;
extraBasePerimeters = 0;
thickness = extrusionWidth*perimeters;
baseThickness = thickness+(extraBasePerimeters*extrusionWidth);
length = 100;
width = 115;
height = 36;
totalLength = length-thickness;
totalWidth = width-thickness;
totalHeight = height;
segmentsLength = 2;
segment... | glb/cad_dc5d01311ebd.glb |
Create a simple rectangular organizer box with overall outer dimensions of 30mm in length, 30mm in width, and 15mm in height. Start by creating a solid rectangular base that is 30mm by 30mm with a thickness of 2.4mm. To form the walls, add four vertical rectangular slabs, each 1.2mm thick and 12.6mm high, positioned ar... | extrusionWidth = 0.4;
perimeters = 3;
extraBasePerimeters = 3;
thickness = extrusionWidth*perimeters;
baseThickness = thickness+(extraBasePerimeters*extrusionWidth);
totalLength = 30;
totalWidth = 30;
totalHeight = 15;
cube([totalLength,totalWidth,baseThickness]);
cube([totalLength, thickness, totalHeight]);
cube([... | glb/cad_2b56469b0f83.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.