Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a parametric container with a lid and an optional seal.
First, construct the can as a cylinder with an outer diameter of 50mm and an inner diameter of 42mm. The total height is 53mm, consisting of a 3mm thick bottom and a 50mm internal height. Apply a 2mm 45-degree chamfer to the bottom exterior and a 1mm 45-d... | use <Nut_Job.scad>;
use <Chamfer.scad>;
diameter_outside = 50;
diameter_inside = 42;
height_inside = 50;
thickness_bottom = 3;
thickness_lid = 3;
seal_recess = true;
seal_thickness = 1;
seal_width = 4;
type = "all";
total_thread_length = 10;
non_thread_length = 1;
threa... | glb/cad_caa765a17011.glb |
Create a parametric container with a lid and an optional seal.
First, construct the can as a cylinder with an outer diameter of 50mm and an inner diameter of 42mm. The interior height is 50mm, with a bottom thickness of 3mm. Apply a 2mm 45-degree chamfer to the bottom exterior and a 1mm 45-degree chamfer to the inter... | use <Nut_Job.scad>;
use <Chamfer.scad>;
diameter_outside = 50;
diameter_inside = 42;
height_inside = 50;
thickness_bottom = 3;
thickness_lid = 3;
seal_recess = true;
seal_thickness = 1;
seal_width = 4;
type = "all";
total_thread_length = 10;
non_thread_length = 1;
threa... | glb/cad_caa765a17011.glb |
Create a Super8 to 8mm Film Reel Adapter consisting of a central cylindrical core and a flat circular base. Start by creating a base disc with a diameter of 23.5mm and a thickness of 1mm. On the top surface of this disc, place three small spheres with a radius of 0.6mm each, spaced equally at 120-degree intervals and p... | layer_t = 0.2;
layer_w = 0.4;
disc_d = 23.5;
disc_t = layer_t * 5;
disc_flange_l = 9;
disc_flange_w = 8.6;
disc_r = disc_d / 2;
disc_inner_r = disc_r - disc_flange_l;
bump_d = 1.2;
bump_off = 2;
bump_r = bump_d / 2;
core_d = 12.5;
core_t1 = 1.8;
core_t2 = 2.5;
core_h = 13.3;
core_cut_w = 2.2;
core_cut_t = 5;
core_... | glb/cad_59e17f48202b.glb |
Create a TRex Solder 3rd Hand base by constructing a tripod-like arrangement of three spheres, each with a diameter of 40mm. Position the centers of these spheres at the vertices of an equilateral triangle with a radius of 120mm from the origin.
Connect these spheres using three extruded arms. Each arm has a rectangu... | use <threads.scad>;
in=25.4;
extra=0.6/in;
r=120;
d=40;
arm_width=15;
arm_height=arm_width*3/2;
arm_r=4;
eps=1e-2;
tol=0.2;
$fn=48;
module npt() {
english_thread(0.533+extra, 18, 16/32, taper=1/16, internal=true);
}
module sticky_foot_inset() {
translate([0,0,-1])cylinder(d=16, h=arm_r);
}
module arm_prof... | glb/cad_39af0e9cdc4e.glb |
Create a solder spool holder consisting of three coaxial cylinders aligned along a single axis. Start by creating a central large cylinder with a diameter of 10.8mm and a length of 69mm. On each end of this central cylinder, attach a smaller cylinder with a diameter of 5.8mm and a length of 8mm. The smaller cylinders s... | small_d = 5.8;
small_h = 8;
big_d = 10.8;
big_h = 69;
module solder_holder()
{
union() {
translate([0, 0, 0]) {
rotate([0,90,0])
cylinder(h = small_h, r = small_d/2, $fn=100);
}
translate([small_h, 0, 0]) {
rotate([0,90,0])
cylinder(h = big_h, r = big_d/2, $fn=100);
}
... | glb/cad_a88cebbb5454.glb |
Create a 12v Power Supply Cover consisting of a main front panel and two side walls. Start with a rectangular front panel measuring 110mm wide, 50mm high, and 2mm thick. Attach two side walls, each 2mm wide, 42mm high, and 18mm deep, positioned at the left and right edges of the panel. Connect these side walls with a t... | wth = 2;
wd = 110;
echo("*******************************************");
echo("Variable Wall Thicknness is ", wth);
echo("Variable Panel Width is ", wd);
$fn=20;
echo("Smoothness Factor $fn is ", $fn);
echo("*******************************************");
module roundedBox(size, radius) {
cube(size - [2*radius... | glb/cad_b882f312e48e.glb |
Create a CNC 1610 ChipSHOUTER Holder consisting of a main body and a tip holder.
First, construct the main body as a rectangular housing with a width of 33.2mm and a height of 34mm. Create a central cavity for a laser module with walls 3mm thick. At the top, add a cap 8mm high and 49mm wide. Integrate a cylindrical p... | $fn=200;
cnc_laser_width=33;
cnc_laser_width_tol=0.2;
cnc_laser_wall=3;
cs_thinkness=24;
cs_thinkness_ends=26;
cs_width=54;
cs_width_ends=57;
cs_length=108;
cs_length_ends=128;
cs_end=(cs_length_ends-cs_length)/2;
cs_radius=4;
target_distance=60;
target_thickness=2;
cnc_height=34;
cnc_diam=44;
cap_height=8;
cap_width=c... | glb/cad_8c3f38c027d3.glb |
Create a holster for a savegrabber tool. Start by constructing a hollow rectangular sleeve with rounded ends. The main body is formed by two cylinders, each 12mm in diameter and 90mm tall, positioned 50mm apart along the X-axis; create a solid hull connecting these cylinders and then remove a smaller inner hull created... | $fn = 30;
module halt(){
difference(){
hull(){
cylinder(d=12,h=90);
translate([50,0,0]) cylinder(d=12,h=90);
}
translate([0,0,1])
hull(){
cylinder(d=10,h=90);
translate([50,0,0]) cylinder(d=10,h=90);
}
}
}
halt();
translate([15,5,20]) cube([25,2,60]);
module clip(){
minkowski() {
union() {
translate([15,7... | glb/cad_4dddd2c0f51e.glb |
Create a 3D model of a coiled rope. The rope itself is composed of three intertwined strands, with a total rope diameter of 20mm. Each individual strand should have a radius of 5.5mm, and the center of each strand should be positioned 4.5mm from the central axis of the rope.
The rope is wound into a tight coil. The in... | rope_type = "spool";
rope_diameter = 20;
center_z_axis = "no";
fragment_count = 24;
rope_twist = -20;
rope_length = 500;
spool_loops = 10;
spool_radius = 100;
ring_fraction = 360;
ring_radius = 200;
coil_loops = 10;
coil_inner_radius = 50;
rope(
rope_type,rope_diameter,center_z_axis=="yes",fragment_count,... | glb/cad_cfdd829587a8.glb |
Create a Stackable Solder Stand designed to hold a solder spool with an inner diameter of 20mm and an outer diameter of 50mm.
First, construct the main solder stand body as a rectangular box with a width of 53mm, a depth of 63mm, and a height of 64mm. Hollow out the center of this box to create a receptacle, leaving ... | print = 0;
$fn = 128;
spool_width = 40;
spool_od = 50;
spool_id = 20;
spool_rod_od = 18;
stand_wall_thickness = 7;
stand_wall_offset = 6;
pen_d = 15;
pen_base = pen_d + 3;
pen_hole_offset = 1;
pen_base_height = 44;
pen_base_depth = 10;
solder_stand_width = spool_width + stand_wall_offset + stand_wall_thickness;
so... | glb/cad_941b7130e4b0.glb |
Create an Experimental Z axis leadscrew base by starting with a main body composed of three joined rectangular blocks: a primary base of 80mm x 47mm x 17mm (offset by -10mm on the X axis), a smaller block of 16mm x 9mm x 10mm positioned at [64, 38, 16], and a third block of 20mm x 9mm x 28mm at [60, -9, 0].
From this ... | module z_block_body() {
translate([-10,0,0]) cube([90,47,17]);
translate([64,38,16]) cube([16,9,10]);
translate([60,-9,0]) cube([20,9,28]);
}
module z_block_cutouts() {
translate ([72,92,16.5]) rotate([0,-90,90]) rotate([0,0,22.5]) cylinder(r=4,h=102,$fn=8);
translate ([84,39,9]) rotate([0,-90,0]) rotate([0... | glb/cad_8ef0cb0046a6.glb |
Create an Experimental Z axis leadscrew base. Start with a main body consisting of three joined rectangular blocks: a primary base of 80mm x 47mm x 17mm, a smaller block of 16mm x 9mm x 10mm positioned at the top rear, and a vertical block of 20mm x 9mm x 28mm at the front.
Carve out several geometric voids from this ... | module z_block_body() {
translate([-10,0,0]) cube([90,47,17]);
translate([64,38,16]) cube([16,9,10]);
translate([60,-9,0]) cube([20,9,28]);
}
module z_block_cutouts() {
translate ([72,92,16.5]) rotate([0,-90,90]) rotate([0,0,22.5]) cylinder(r=4,h=102,$fn=8);
translate ([84,39,9]) rotate([0,-90,0]) rotate([0... | glb/cad_ace70fba43a7.glb |
Create a crystal cluster consisting of a central hexagonal base and multiple surrounding crystal points. Start by placing a hexagonal prism at the center with a height of 30mm, a bottom diameter of 60mm, and a top diameter of 30mm. Surround this base with 14 individual crystal points. Each point is composed of two stac... | point_num=14;
tilt=15;
minsize=10;
maxsize=30;
cylinder(d1=maxsize*2,d2=maxsize,h=maxsize,$fn=6,center=true);
for(i=[1:100/point_num:100]){
seed=i-1;
seed2=i;
single_rand = rands(minsize,maxsize,1)[0];
echo(single_rand);
random_vect=rands(-1,1,3,seed);
random_vect2=rands(-tilt,tilt,3,seed2);
echo(random_vect2);
... | glb/cad_2396e9441c73.glb |
Create a Twisted GraviTrax compatible spacer with a total height of 60mm. The main body is a hexagonal prism with a width of 45.6mm that twists 60 degrees along its vertical axis. This central twisted section is hollowed out by a cylindrical bore with a diameter of 30mm running through the center.
The top and bottom o... | desired_height = 60;
bore_diameter = 30;
main_hexagon_width = 45.60;
male_connector_width = 29.78;
male_connector_cutaway_width = 25;
male_connector_height = 2.7;
female_connector_width = 29.80;
connector_radius = 0.8;
height_end_cap = 5;
twisting_steps = 1;
twisted_width = main_hexagon_width - 2*connector_radius ... | glb/cad_6da2b3d05f7a.glb |
Create a wall-mounted tube dispenser consisting of a main housing and a sliding mechanism. The main body is a block 50mm wide and 18.5mm high. Carve a conical funnel into the front of this block that tapers from a 50.1mm opening at the face down to a 5mm diameter at a depth of 13mm. Bore a vertical hole 22.5mm in diame... | use <ISOThreadCust.scad>
use <hspring.scad>
showMain = 0;
showSchieber = 1;
mh = 18.5;
mb = 50;
ch = 13;
cu = 5;
gd = 22.5;
gh = mh-8;
gs = 3;
schieberZ = 1.8;
schieberDyz = .25;
sb = mb-4;
bodenZ = 2;
pushy = 10;
schieberDLoch=20;
bZges = bodenZ + schieberZ + schieberDyz;
module gewinde(){
thread_in_pitch(g... | glb/cad_e133921460c1.glb |
Create a spring-like geometric component with a total height of 4mm and a total width of 12mm. The structure consists of six repeating segments of thickness 1mm, separated by gaps of 1mm. These segments are connected by semi-cylindrical bends with a diameter of 3mm, creating a serpentine, zig-zagging pattern.
To form... | $fn=24;
module hspring(
sh
, sw
, scnt
, d
, space)
{
innerDiameter = 0;
translate([d + space/2,0,0]) intersection() {
difference() {
union() {
translate([-(d + space)/2, 0, 0])
cube([d, sw, sh], center=true);
transl... | glb/cad_117193688d3c.glb |
Create a Pentomino Starter Set consisting of several polyomino shapes and matching storage boxes.
First, construct the pentomino pieces. Each piece is composed of five connected cubes, where each cube has a side length of 10mm. Create the following specific shapes: L, P, Y, V, W, and Z. Ensure the cubes are joined pr... | basic_nine();
module ten_x_three()
{view_ans_6(apuz_10x3x1);}
module five_x_five()
{
translate([-40,60,0])
view_ans_5(LPVYZ);
translate([40,60,0])
view_ans_5(LPWYZ_1);
translate([-40,0,0])
view_ans_5(LPWYZ_2);
translate([40,0,0])
view_ans_5(PVWYZ); }
module LPVZ()
{
translate([-30,0,0])
view_ans_4(LPVZ_v1);
transl... | glb/cad_4fe460c1867b.glb |
Create a minimal tray for a Raspberry Pi PCB. Start by constructing a solid rectangular base with rounded corners, measuring 60.4mm in width and 89.2mm in length. The total height of the outer walls should be 3.69mm. The corners of the outer wall should have a radius of 5.5mm.
Hollow out the center of the tray to crea... | $fn = 32;
rpiWidth = 56.4;
rpiLength = 85.2;
rpiPCBThick = 1.5;
rpiPCBclear = 2.2;
rpiDepth = rpiPCBThick + rpiPCBclear;
wallThick = 2.0;
cornerRad = 3.5;
holeYoffset = 61.8;
sdCardOffset = 21.5;
sdCardWidth = 13.2;
sdCardDepth = 1.6;
sdCardLength = 14.0;
trayHeight = rpiDepth + wallThick - 0.01;
trayCorner = cor... | glb/cad_5d109e11aabf.glb |
Create a round foot for a #6 bolt and square nut. Start with a solid cylinder that has a total height of 40mm and a diameter of 14.8mm. From the center of the top circular face, remove a cylindrical hole with a diameter of 3.7mm and a depth of 12.7mm. From the bottom of the main cylinder, remove a centered square prism... | $fn=55;
in2mm=25.4;
boltsize=3.7;
boltdepth=0.5*in2mm;
nutsize=(5/16)*in2mm;
totalh=40;
totalw=boltsize*4;
nutdepth=(totalh-boltdepth)+0.1;
module bolthole()
{
translate([0,0,totalh-boltdepth])
cylinder(h=boltdepth+.02,r=boltsize/2);
}
module nuthole()
{
translate([0,0,nutdepth/2])
{
cube(size=... | glb/cad_4335c874a2d7.glb |
Create a Toilet Paper Roll Extender consisting of two parallel rectangular plates connected by a central bridge. Each plate should be 19mm wide, 65mm deep, and 20mm thick, with all exterior corners rounded by a 1mm radius. The plates are oriented vertically and separated by a gap, forming a U-shaped channel.
The inne... | $fs=0.8;
$fa=4;
$fn=40;
connector_width = 19;
connector_depth = 65;
rounded = 1;
gap = 20;
hole_diameter = 5;
minkowski() {
cube([connector_width,connector_depth,1], center=true);
sphere(rounded);
}
translate([0,connector_depth/2-2.5,gap/2])
minkowski() {
cube([connector_width,5,gap], center=true);
... | glb/cad_2edbbd04ef58.glb |
Create a gas can cap consisting of a main cylindrical body and a decorative ribbed base. Start with a central cylinder 40mm high with a radius of 25mm. Around the bottom of this cylinder, add three thin concentric rings, each 1mm thick, spaced 4mm apart vertically, with a maximum outer radius of 30mm.
Hollow out the c... | difference() {
union() {
cylinder(h=40,r=25,center=true);
for (a = [0:3]) {
translate(v = [0, 0, 8 + (a * 4)])
cylinder(h=1,r=30,center=true);
}
}
translate(v = [0, 0, 5])
cylinder(h=45,r1=21.65,r2=20.65,center=true);
translate(v = [0, 0, -10])
cylinder(h=30,r=1, $fs=1,center=true);
}
x = 25;
... | glb/cad_fae3a2bd4af2.glb |
Create a modular storage unit for USB items and SD cards. Start with a central rectangular block measuring 28.5mm in width, 16mm in depth, and 14.5mm in height. Hollow out the center of this block to create a socket; the main cavity should be 24.5mm wide, 2.3mm deep, and 12.5mm high. Additionally, carve a smaller slot ... | SDwidth = 24.5;
SDthick = 2.3;
mSDwidth = 12.0;
mSDthick = 0.9;
USBwidth = 12.5;
USBthick = 4.8;
USBheight = 12.5;
th = 2.4;
clearance = 0.4;
catch_height = 11;
module socket() {
cube([SDwidth, SDthick, USBheight], center=true);
cube([USBwidth, USBthick, USBheight], center=true);
translat... | glb/cad_910c82b6f66c.glb |
Create a Stepper Shaft Thumbwheel consisting of a tiered cylindrical body with a central vertical axis. Start with a wide, low-profile base cylinder 40mm in diameter, 8mm thick, with a 20-sided polygonal cross-section. Centered on top of this base, add a smaller cylinder 20mm in diameter and 14mm tall.
Bore a 5mm dia... | trap_nut_depth = 9.1;
M5 = [5, 3.9, 9.24];
gCos30 = 0.866;
module TrapNut(x, d) {
rotate([0,90,0]) cylinder(r=x[2]/2, h=x[1], $fn=6, center=true);
translate([0,0,-x[2]/2])
cube([x[1]+0.1, x[2]*gCos30, d], center=true);
}
union() {
translate([0,0,20])
rotate([0,180,0])
difference() {
union() {
... | glb/cad_bed8874cc321.glb |
Create a Shapeoko Belt Clamp consisting of an upright base and a top clamping piece.
For the upright, create a central rectangular block 16mm wide, 60mm long, and 8mm thick. Add two side ribs, each 3.4mm wide and 6mm high, extending from the sides of the main block. The top of the upright should be widened to 30mm. I... | gThick = 8;
gRibHeight = 6;
gTopRoundoverRadius = 4;
gSideRoundoverRadius = 4;
gMainWidth = 16;
gTopWidth = 30;
gRibWidth = 3.4;
gHoleSpacing = 20;
gBeltWide = 14;
gBeltPitch = 2.032;
gBeltThick = 1.5;
e = 0.02;
M3 = [3.5, 6.4, 6.4];
M5 = [5.5, 9.4, 9.4];
M8 = [8, 13, 13];
module InsetHole(x) {
d = x[0];
socket_h... | glb/cad_0b25136189ad.glb |
Create a Shapeoko Belt Clamp consisting of a main upright body and a top clamping piece.
For the upright, create a central rectangular block 16mm wide, 66mm high, and 8mm thick. Add two reinforcing ribs on the sides, each 3.4mm wide and 50mm long, extending from the center to a height of 14mm (8mm base thickness plus... | gThick = 8;
gRibHeight = 6;
gTopRoundoverRadius = 4;
gSideRoundoverRadius = 4;
gMainWidth = 16;
gMainHeight = 66;
gTopWidth = 30;
gRibWidth = 3.4;
gRibLength = 50;
gHoleSpacing = 20;
gBeltWide = 14;
gBeltPitch = 2.032;
gBeltThick = 1.5;
e = 0.02;
M3 = [3.8, 6.4, 6.5];
M5 = [5.5, 9.4, 9.4];
M8 = [8, 13, 13];
module I... | glb/cad_81c4f4ac7f54.glb |
Create a customizable respirator mask and filter vent.
For the mask, construct a hollow shell with a wall thickness of 2mm and a total depth of 40mm. The front profile is a hull formed by three circular regions: two cheek regions with a 25mm radius positioned at the sides, and a nose region with a 15mm radius at the ... | part = "both";
depth = 40;
nose_height = 55;
cheek_height = 100;
cheek_spread = 65;
chin_spread = 40;
nose_radius = 15;
pinch_radius = 20;
pinch_depth = 7;
cheek_radius = 25;
chin_radius = 15;
skew = 20;
taper = .7;
{
res = 64;
wall_thickness = 2;
port_fit = 0.2;
port_depth = wall_thickness*4;
l... | glb/cad_18acbceba789.glb |
Create a Hexxed Bottle Sleeve by starting with a main cylinder that has a height of 100mm, a radius of 48.5mm, and a 50-facet resolution. Remove a central core from this cylinder using a 25mm radius cylinder that extends from -1mm to 20mm in height. Then, remove a larger central cylinder with a radius of 47mm that star... | netradius = 47;
thickness = 1.5;
holeradius = 25;
base = 3;
difference() {
cylinder(h = 100, r = ( netradius + thickness ), $fn=50);
translate([0,0,-1])
cylinder(h = 20, r = holeradius, $fn=50);
translate([0, 0, base])
cylinder(h = 102, r = netradius, $fn=50);
translate([0, 0, 20])
for (i=[0:20:360]) {
... | glb/cad_fa08ad96d059.glb |
Create a Makerslide Endstop Mount designed to fit into a 20x20mm extrusion profile. The main body is a block with a height of 18mm. Start with a cube measuring 25mm x 25mm x 18mm, rotated 45 degrees around the Z-axis. From this shape, remove material to create a profile that fits the extrusion, specifically trimming th... | gPlateRows = 1;
gPlateCols = 2;
e = 0.01;
h = 18;
rail_thick = 2.5;
tip_trim = 40;
module main() {
union() {
difference() {
bulk();
translate([-40/2-1,0,0]) cube([40,40,h+2], center=true);
}
difference() {
translate([-4/2-e,0,-4]) cube([4,14,10], center=true);
translate([0,... | glb/cad_6afaf214b09d.glb |
Create a Shapeoko idler pulley with a total height of 11.2mm. Start by creating a central cylindrical body with a radius of 8.75mm and a height of 11.2mm. Add a base flange at the bottom, which is a cylinder with a radius of 10.5mm and a height of 1.6mm. At the top of the main body, starting at a height of 9.6mm, add a... | idler_width = 11.2;
bearing_od = 16;
bearing_clearance = 0.22;
wall = 0.75;
e = 0.02;
$fn=100;
difference() {
union() {
cylinder(r=bearing_od/2+wall, h=idler_width);
cylinder(r=bearing_od/2+2.5, h=1.6);
translate([0,0,9.6])
cylinder(r1=bearing_od/2+wall, r2=bearing_od/2+2.5, h=2.5-wall);
tr... | glb/cad_5b2d95ff3368.glb |
Create a Rod Clip Wire Holder with a total height of 6mm. Start by forming a base that combines a cylinder with a diameter of 12mm and a rectangular block measuring 12mm in length, 12mm in width, and 6mm in height.
From this combined volume, remove a central cylindrical hole with a diameter of 8mm that passes vertica... | $fn = 24;
rod_d = 8;
rod_clip_ratio = 0.85;
bracket_in_h = 4;
bracket_in_w = 8;
wall = 2;
gap_w = 2;
thickness = 6;
clip_hole_w = rod_d*rod_clip_ratio;
rod_clip_wire_holder();
module rod_clip_wire_holder()
{
difference()
{
union()
{
translate([0, -(bracket_in_w/2 + wall), 0])
cube([bracket_in_h + (2*... | glb/cad_f7087d45497d.glb |
Create a Folded Towel Holder consisting of a rectangular bin with a decorative cutout pattern.
Start with a base plate 91.2mm wide by 240.2mm long and 1.6mm thick. Build four walls rising from the edges of this base to a total height of 160mm. The walls should have a thickness of 1.6mm. The interior cavity of the bin... | $fn=60;
type = "holder";
section = false;
thick = 1.6;
t2 = thick * 2;
twidth = 88;
tlen = 237;
theight= 160;
margin = 10;
cutout = [[-tlen/2+margin,0], [0,twidth/2-margin], [tlen/2-margin,0], [0,-twidth/2+margin]];
h_iter = 4;
h_sc = 0.43;
h_psc = 1.45;
space = 0.6;
support = 15;
sheight = 150;
imprint... | glb/cad_5dbd3a72c827.glb |
Create a NEMA-11 stepper driven linear stage mount consisting of a base plate and a vertical front plate.
First, create a rectangular bottom plate with dimensions 48.1mm in width, 36mm in depth, and 4mm in thickness. In this base, place four circular bore holes with a diameter of 6mm; two holes are positioned at the ... | shd = 5;
shl = 23;
hld = 2.5;
fpw = 28.1;
mlt = 32.0;
shs = 22;
ptk = 4;
poh = 10;
mbp = [fpw+2*poh, mlt+ptk, ptk];
bhd = 6;
difference(){
translate([0,mbp[1]/2,-mbp[2]/2])cube(mbp,center=true);
translate([(fpw+poh)/2,4,-ptk*1.05])color("red")cylinder(h=ptk*1.1, d=bhd,$fn=50);
translate([-(fpw+poh)/2,4,-p... | glb/cad_98d5c146edb5.glb |
Create a NEMA-11 stepper driven linear stage shaft coupler. Start with a main cylindrical body 30mm in height with a diameter of 17.5mm. Bore a central vertical hole through the center of this cylinder with a diameter of 5.1mm, extending to a depth of 18mm.
At the top of the cylinder, create a recessed area for a scr... | shd = 5;
slt = 18;
shl = 23;
hld = 2.5;
fpw = 28.1;
mlt = 32.0;
shs = 22;
scl = 30;
sct = 3.5*shd;
bhg = 2.7;
tsd = 4;
tst = 4;
sps = tsd*2.5;
spd = 10;
difference(){
cylinder(h=scl, d=sct,$fn=50);
cylinder(h=slt, d=shd+0.1,$fn=50);
rotate([90,0,0])translate([0,7,-sct*1.05/2])color("red")cylinder(h=sc... | glb/cad_c63feb7eacfa.glb |
Create a NEMA-11 stepper driven linear stage shaft coupler. Start by creating a main cylindrical coupler body with a diameter of 20mm and a height of 18mm. Bore a central hole through the entire height of this cylinder with a diameter of 5.1mm to accommodate the motor shaft.
To create the shaft holder, subtract a seri... | shd = 5;
slt = 18;
shl = 23;
hld = 2.5;
fpw = 28.1;
mlt = 32.0;
shs = 22;
scl = slt;
sct = 4*shd;
bhg = 3;
tsd = 4;
tst = 4;
ept = 3;
difference(){
cylinder(h=scl, d=sct,$fn=50);
cylinder(h=slt, d=shd+0.1,$fn=50);
translate([0,-1,0])cube([10,2,scl]);
rotate([90,0,0])translate([(sct-shd-bhg)/2,5,0])c... | glb/cad_ac0b69596f2d.glb |
Create a NEMA-11 stepper driven linear stage shaft coupler consisting of two mirrored cylindrical components joined at their bases. First, create a cylinder with a height of 6mm and a diameter of 20mm, using a 30-facet resolution.
From this base, extend a vertical rectangular block upward with a width of 8mm and a he... | shd = 5;
slt = 18;
shl = 23;
hld = 2.5;
fpw = 28.1;
mlt = 32.0;
shs = 22;
scl = slt;
sct1 = 4*shd;
sct2 = 3.5*shd;
bhg = 3;
tsd = 4;
tst = 4;
ept = 6;
module coupler(sct){
cylinder(h=ept,d=sct,$fn=30);
difference(){
union(){
translate([0,sct/2-ept-0.3, ept*2])rotate([90,0,0])cylinder(h=sct-2*ept... | glb/cad_b990e24ec11a.glb |
Create a NEMA-11 stepper driven linear stage shaft coupler. Start with a main cylindrical body that has a diameter of 17.5mm and a height of 30mm.
Through the center of this cylinder, create a vertical bore hole with a diameter of 2.7mm. To accommodate a screw head, widen the top of this bore into a larger cylindrica... | shd = 5;
slt = 18;
shl = 23;
hld = 2.5;
fpw = 28.1;
mlt = 32.0;
shs = 22;
scl = 30;
sct = 3.5*shd;
bhg = 2.7;
tsd = 4;
tst = 4;
sps = tsd*2.5;
spd = 10;
ept = 3;
rotate([0,180,0]){difference(){
cylinder(h=scl, d=sct,$fn=50);
translate([0,0,scl-tst*1.05])color("blue")cylinder(h=tst*1.1, d=tsd,$fn=50);
... | glb/cad_8e3f0bd62fcd.glb |
Create a filament spool holder cone with a height of 25mm. The main body is a hollow truncated cone that tapers from a bottom radius of 10mm to a top radius of 25mm. The walls of this cone are 2.3mm thick.
Inside the cone, create a central cylindrical chamber with a radius of 13.3mm. Within this chamber, at the top, c... | $fn = 100;
rad_men = 10;
rad_may = 25;
alt_con = 25;
tabique = 2.3;
rad_rod = 11.1;
alt_rod = 9;
rad_cin = rad_rod+tabique;
a = rad_may - rad_men;
b = alt_con;
h = sqrt( a*a + b*b );
echo("Hipotenusa:", h );
echo("Angulo de inclinación respecto eje Z:", atan( a / b ) );
difference()
{
cylinder(h=a... | glb/cad_da9b10c1a281.glb |
Create a 3D model of a Hitec HS-645MG servo and its associated HD-LS servo arm.
Start by constructing the servo body as a rectangular box with dimensions 40.6mm in length, 19.8mm in width, and 35.8mm in height. On the top surface, center a cylinder with a radius of 9.9mm and a height of 2mm. Add a smaller cylinder on... | $fn=50;
module Servo_Hitec_HS_645MG(showaxis=false)
{
Servo_Hitec_Standard(showaxis, 40.6, 19.8, 35.8, 2, 27, 6.4, 30.7, 13, 6, 6, 3.5, 5);
}
module Servo_Hitec_HS_485HB(showaxis=false)
{
Servo_Hitec_Standard(showaxis, 40, 19.82, 34.8, 3, 28, 6.55, 30, 14, 1, 6, 3.5, 1);
}
module Servo_Hitec_Standard(showaxis=fals... | glb/cad_1debfb18815c.glb |
Create an electronics box with a built-in piezo siren resonator. The main enclosure is a rectangular box with internal dimensions of 60mm width, 90mm length, and 12mm height. The walls are 2.4mm thick. The box features a 5mm overlap height with a 0.2mm clearance for a lid. At the four corners, position mounting studs w... | use <electronics_box.scad>;
inner_width = 60;
inner_length = 90;
inner_height = 12;
overlap_height = 5;
overlap_clear = .2;
rspk = 28/2;
stud_pos = [[4,4],[4,86],[56,4],[56,86]];
stud_cs_type = [ 2 , 2 , 2 , 2 ];
stud_cs_dia = [ 6.4 , 6.4 , 6.4 , 6.4 ];
stud_cs_height = ... | glb/cad_1447de6bc86a.glb |
Create a headlight adjuster consisting of a central rectangular body with a cylindrical protrusion on each end. Start with a main rectangular block measuring 39mm in length, 18.8mm in width, and 2.5mm in height. Centered on top of this block, add a second rectangular section measuring 29mm in length, 5.4mm in width, an... | $fn=24;
difference() {
union() {
translate([0,0, 5]) rotate([0, 90, 0]) cylinder(r=5, h=5);
translate([5, -5, 0]) cube([39, 10, 10]);
translate([5, -18.8/2, 0]) cube([39, 18.8, 2.5]);
translate([44, 0 , 5]) rotate([0, 90, 0])cylinder(r=6.5/2, h=10);
translate([44, 0 , 5]) rot... | glb/cad_6635636f7803.glb |
Create an L-bracket for an HC-SR04 ultrasonic module. Start with a base plate that is 25mm wide, 20mm deep, and 3mm thick. On top of this base, center a rectangular block that is 10mm wide, 7mm deep, and 5mm high.
Remove two vertical holes from the base and block assembly: one at x = -13.9mm and another at x = 13.9mm... | module hole(x, y, rot, size, facet) {
rotate(a = rot, v = [1, 0, 0]) {
translate([x, y, 0]) {
cylinder(r = size, h = 100, center = true, $fn=facet);
}
}
}
union() {
difference () {
translate([-25/2, -20/2, 0]) {
cube([25,20,3]);
}
tran... | glb/cad_a03b0cac805f.glb |
Create a parametric bevel gear with 12 teeth and a face width of 15mm. The gear should be designed with a cone distance of 100mm and an outside circular pitch of 1000mm, utilizing a pressure angle of 15 degrees to define the tooth geometry. The overall shape should be a truncated cone where the teeth taper toward the c... | use<MCAD/involute_gears.scad>
number_of_teeth=12;
cone_distance=100;
face_width=15;
outside_circular_pitch=1000;
pressure_angle=15;
bore_diameter=5;
finish =-1;
bevel_gear (number_of_teeth,
cone_distance,face_width,outside_circular_pitch,pressure_angle,.2,bore_diameter,15,0,0,finish); | glb/cad_55c9e0353c26.glb |
Create a fridge wall spacer with a total length of 58mm and a width of 23.9mm. Start with a base plate 2.4mm thick. The base plate should have a recessed center section, with the outer edges extending 2mm from the center along the width. At each end of the base plate, add a small semi-elliptical protrusion with a radiu... | $fn = 100;
length = 58;
widthPhase=2;
widthPlane = 23.9;
heightPlane = 2.4;
heightBridge = 3.1;
widthBridge = 3.0;
knobRadius = .5;
knobOffset = 6.9;
pocketOffset = [2.9,.8, 0];
pocketSize = [8,3, heightPlane];
difference(){
translate([-length/2, -widthPlane/2, 0]) union(){
linear_extrude(heightPlane) polygon(... | glb/cad_8c0310e7e500.glb |
Create a VP2 Charger platform and battery holder. Start by constructing a base platform consisting of a grid of interlocking blocks, each 34mm x 34mm x 12mm. Arrange these to form a larger rectangular base.
Within this base, carve out a central rectangular cavity measuring 69mm by 135mm with a depth of 12mm to accomm... | module holder() {
translate([0, 0, 8]) cylinder(h=4, d=22, $fn=100);
translate([0, 0, 2]) cylinder(h=6, d=6.9, $fn=100);
}
module mybox() {
cube(size=[34, 34, 12]);
}
module base() {
for (i=[-1 : 1]) {
for (j=[-2 : 2]) {
translate([i * 34 - 18.5, j * 34 -18.5, 0]) mybox();
}
}
}
rotate(90... | glb/cad_befdab0daeaf.glb |
Create a vertical cylinder with a radius of 3.3mm and a total height of 100mm. Ensure the cylinder has a facet resolution of 48 sides to maintain a smooth circular profile. | include <scad/tapercube.scad>;
long=100;
shim=0.1;
fudge = 0.3;
bolt_r = 3.0+fudge;
module fastener(between=20, w=35, h=12, th=3) {
difference() {
cornerless_cube(w, h, th, 5.0);
translate([w/2-between/2, h/2, -shim])
cylinder(r=bolt_r, h=long, $fn=48);
translate([w/2+between/2, h/2, -shim])
... | glb/cad_2f3748f764f9.glb |
Create a motor mount for a Cinemaker Pocket Dolly. Start with a base block that is 42.25mm wide, 42.25mm deep, and 7.5mm high, with rounded corners (radius of 10mm).
In the center of this block, create a vertical cylindrical hole with a radius of 11.3mm that passes completely through the height of the part. Around th... | include <scad/tapercube.scad>;
long=100;
shim=0.1;
fudge = 0.3;
motor_width = 42.25;
motor_mount_ring_r = 11.0 + fudge;
motor_mount_hole_r = 1.75 + fudge;
motor_mount_height = 7.5;
motor_mount_opening = 20;
motor_mount_opening_offset = 10.0+fudge;
motor_dist_between_mount_holes = 31;
leg_bolt_r = 3.0+fudge;
leg_bolt... | glb/cad_4d0512a567f4.glb |
Create an 8mm shaft end bracket designed to clamp a round rod against a flat surface. Start with a rectangular base platform measuring 30mm wide by 40mm long with a thickness of 2mm. At the center of this platform, construct a vertical cylindrical clamp with an outer diameter of 11mm and a height of 20mm. This cylinder... | fn = 60;
eps = 0.03;
slop = 0.2;
BPW = 30;
BPL = 40;
BPH = 2;
SD = 3.0 + slop;
SHOD = 8.0+slop;
SCTH = 1.5;
BTH = 2;
BL = 20;
BNW = 1;
BNL = 15;
BFH = 5;
CBS = SD*2.8;
CBH = BL;
CBT = 3;
BCOD = SHOD+2*SCTH;
SHL = BL + eps*2;
module bracket() {
difference() {
union() {
translate([-BPW/2,-BPL/2,0]) cube([BPW,... | glb/cad_8a08a0d58934.glb |
Create a rectangular box with an overall width and length of 126mm and a height of 200mm. The walls are 5mm thick.
The front and back panels are identical rectangles of 200mm by 126mm by 5mm. In the center of each panel, create a circular hole with a diameter of 58mm, positioned 76mm from the bottom and centered hori... | boxWidth=126;
boxLength=126;
woodThickness=5;
plasticThickness=2;
feederHoleSize=58;
tHeight=91.5;
frontHeight=200;
topBoxDepth=76;
topShelfWidth=boxWidth-2*woodThickness;
legHeight=50;
sideHeight=frontHeight;
backBoxDepth=30;
bowlWidth=80;
bowlHeight=20;
buildBox();
lid();
module front() {
difference() { cube(size... | glb/cad_1522d1adea89.glb |
Create a customizable pad for cylinder profiles by constructing a central block and removing two cylindrical volumes. Start with a rectangular slab centered on the origin, with a total length of 40mm along the Y-axis and a thickness of 2mm along the Z-axis. The slab's width is defined by the chords of two intersecting ... | $fn = 50;
r1 = 21;
r2 = 18;
offset = 1;
length = 40;
demo = true;
function catet_len(r, chord) = sqrt(r*r - chord*chord);
min_r = min(r1,r2);
width_1 = 2 * catet_len(r1, r1 - offset/2);
width_2 = 2 * catet_len(r2, r2 - offset/2);
difference(){
translate([0,length/2,0])
rotate([-90,0,0])
linear_... | glb/cad_73c1eb9be9fa.glb |
Create a customizable monitor camera holder consisting of a U-shaped base and a vertical pocket.
First, construct the base that rests on the monitor. Create a rectangular plate with a width of 64mm and a depth of 13mm, with a thickness of 2.1mm. Add two vertical walls to this plate: a front wall 11mm high and a back ... | monitor_dep = 12;
monitor_gap = 8;
spacer_height = 24;
p_wid = 52.0 + 1;
p_spc = 10.0 + 1;
p_hei = 60;
th = 2.1;
b_th = 2.1;
h_th = 1.1;
b_wid = p_wid + 12 ;
b_spc = monitor_dep + 1.0;
b_hei1 = 11;
b_hei2 = 24;
pb_off = (b_wid-p_wid-2*th)/2;
module tria (w, h, th) {
difference () {
cube ([w, h, th]... | glb/cad_0056024ccfd2.glb |
Create a chain wheel star with a total radius of 45mm and a thickness of 7mm. The main body is a cylinder with a 50-facet resolution. Carve out the perimeter using a series of repeating circular cuts to create a gear-like star shape. Specifically, for each of the 50 segments around the circumference, remove material us... | radius=45;
width=7;
resolution=50;
bore_hole=3.5;
height=6;
module star_wheel (radio, width, quality, drill, edge)
{
difference () {
cylinder (r=radio, h=width, $fn=quality);
for ( i = [0:edge-1] ) {
rotate( i*360/edge, [0, 0, 1]) translate( [0, radio*2-radio/4.5, 0] ) cylinder (r=radio, h=width*2,$fn=quality);
... | glb/cad_d99d7a64887a.glb |
Create a caterpillar chain wheel by starting with a main cylinder that has a radius of 100mm, a height of 7mm, and a resolution of 50 facets. Carve six identical sections out of this cylinder, spaced evenly every 60 degrees around the center. Each carved section is formed by removing a cylinder of the same 100mm radius... | radius_of_star=100;
height=7;
resolution=50;
diameter_of_holes=6;
edge=6;
module star_wheel (radio, width, quality, drill, edge)
{
difference () {
cylinder (r=radio, h=width, $fn=quality);
for ( i = [0:edge-1] ) {
rotate( i*360/edge, [0, 0, 1]) translate( [0, radio*2-radio/4.5, 0] )
cylinder (r=radio, h=width*2,$f... | glb/cad_e9e17b979b4a.glb |
Create an articulated joint mechanism for an Angel fish model. The assembly consists of two main rectangular blocks, each 8mm high, separated by a gap.
First, create a central axis consisting of a cylinder with a radius of 1.5mm and a length of 5mm, oriented horizontally.
Next, construct a connecting tongue piece. ... | $fs = 0.3;
$fa = 0.3;
test = true;
z = 8;
o = 0.5;
o2 = 2 * o;
function flex_overlap() = o;
rec_width = 4;
rec_length = 5.0;
function flex_recess_width() = rec_width;
function flex_recess_lenght() = rec_length;
ton_width = rec_width - o2;
module r90(f=1) {rotate([90*f,0,0]) children(0);}
module recess() {
transl... | glb/cad_115108606dde.glb |
Create a filament holder support consisting of two arms extending from a central point. The main body is 8mm thick.
First, create a short arm by forming a hull between two cylinders with a radius of 10mm and a height of 8mm, positioned 58.5mm apart (center to center). Second, create a long arm by forming a hull betwee... | gr = 8;
grs = 15;
ri = 4.1;
re = 10;
res = 8;
anr = 4;
pry = 0;
prx = 0;
lec = 58.5;
lel = 150;
ael = 56;
Lrt = 12;
Grt = 1.1;
Drt = 7;
MIael = 0;
MIanr = 0;
MIanr2 = 0;
MIpry = 0;
MIrv = 0;
MIdesy = 1;
module rebaje()
{
hull()
{
cylinder(h = gr+grs, r = ri, cen... | glb/cad_3a2d2e5bb2ab.glb |
Create a bracelet based on a wrapped sine wave. The base shape is a continuous loop traced by a circle with a radius of 0.2mm. The center of this circle follows a path where the distance from the origin is defined by a radius of 25mm plus a sine wave with an amplitude of 8mm and a frequency of 13 cycles over a full 360... | $fn = 24*1;
step = .25*1;
th = .2*1;
diameter = 50;
radius = diameter/2;
height = 10;
amplitude = 8;
frequency = 13;
degrees = 0;
function g(t) =
[ (radius+amplitude*(1+sin(frequency*t)))*cos(t),
(radius+amplitude*(1+sin(frequency*t)))*sin(t),
0
];
linear_extrude(height=height,twist=degrees,sli... | glb/cad_5a6797696288.glb |
Create an ultrasonic sensor mount for MakeBlock consisting of a main rectangular plate and an integrated servo holder. The primary plate is a rectangular block measuring 50mm in width, 5mm in depth, and 23mm in height.
Integrate a series of holes into this plate to allow for mounting. These holes are cylinders with a... | module us_servo_holder_from_stl()
{
translate([25, -25, 0]) {
color("Green")
import(file = "servo_mount_for_ultrasonic_sensor.stl");
}
}
module plate()
{
translate([0, 25, 2]) {
cube([50,
5,
23]);
}
}
module holder()
{
union() {
us_servo_holder_from_stl();
plate();
}
}
holder_holes_s... | glb/cad_e1ba2bca5e9e.glb |
Create a Customisable Rod Holder clamp with a total height of 60mm. The main body is a C-shaped bracket with a thickness of 3mm. The outer dimensions of the bracket's base are 34.5mm in width and 60mm in height.
At the top of the bracket, create a semi-cylindrical cutout to hold a rod with a diameter of 11.5mm. The i... | t=3;
d=11.5;
clearance=0.25;
l=30;
w=21.6;
h=60;
Dscrew=5;
n=1.5;
difference() {
union(){
cube([t,n*t+4*clearance+t/2,h]);
cube([l+n*t,n*t,h]);
translate([t+4*clearance,n*t+4*clearance,0]) {
cube([l-t-4*clearance,t/2,h]);
}
translate([(l+n*t)/2,n*t+4*clearance+t/2+w+n*t+d/2,0]) {
cylinder(h = h, d=d+2*t... | glb/cad_050dc7ef26c3.glb |
Create a Pinky Finger Splint designed to immobilize a joint. Start by creating a hollow cylindrical sleeve with an outer diameter of 24mm and an inner diameter of 22mm, with a wall thickness of 1mm and a height of 12mm.
Attached to the base of this cylinder, construct a flat, supportive hand plate. This plate should ... | fingerWidth = 22;
fingerLength = 12;
handWidth = 38;
handLength = 50;
handBreadth = 38;
thickness = 1;
handCutoff = 38;
handCutoff2 = 5;
rounding = .01;
fn = 40;
union() {
difference() {
cylinder(r=fingerWidth/2 + thickness, h = fingerLength, $fn = fn);
translate([0, 0, -rounding])
cylinder(r=fingerWidth/2... | glb/cad_d5feca09a4ae.glb |
Create a parametric breathing mask buckle with a thickness of 1mm. The main body consists of a central strap with a symmetrical layout. Start with a rectangular base that is 16mm wide (h1*2) and 100mm long. The center of the strap features a long, narrow slot: the slot is 25mm long (l3/2) and 4mm wide (h1/2), with roun... | thick = 1;
l1 = 45;
l2 = 5;
l3 = 50;
h1 = 8;
h2 = -5;
hole_len = l3 / 2;
hole_width = h1 / 2;
hole_r = h1 / 1.2;
num_hooks = 4;
hook_thick = 2;
module half_hook() {
translate([-l1 - l2 - l3, h2 * 2 - 2, 0])
linear_extrude(height = hook_thick)
polygon(points=[[0,0],
[6,0],
[4,4],
[4,4+h1... | glb/cad_5cafd1663091.glb |
Create a customizable headband for a face shield. The main structure consists of two concentric circular arcs with a thickness of 2.5mm and a height of 13mm. The inner arc has a radius of 86mm and the outer arc has a radius of 97mm. These arcs span an angle of 180 degrees to form the head-piece, but the outer section i... | hbZ = 13;
hbD10 = 25;
headR = 86;
maskR = 97;
maskToHead = 10;
maskArc = 125;
roofThickness10 = 0;
fn=100;
headS = 12;
maskS = 0;
headArc = [90, 270];
maskArcAll = [180-maskArc/2, 180+maskArc/2];
dx = maskR-headR;
hbD = hbD10/10;
maskToHead2 = maskToHead-hbD-10;
module sector(radius, angles, fn = 24) {
... | glb/cad_008f83bad32c.glb |
Create a towel hanger with a thickness of 4mm. The main body is formed by the union of two cylinders and a tapered section. First, create a large central cylinder with a radius of 20mm (15mm hole radius plus 5mm outline width) and a smaller cylinder with a radius of 13mm (8mm hole radius plus 5mm outline width) positio... | rounded_corners=0;
height=4;
outline_width=5;
center_hole=15;
top_hole=8;
slit_top_hole=3;
slit_bottom_hole=0.5;
fs_preview=2;
fa_preview=12;
fs_render=0.3;
fa_render=1;
xtra=0.2;
$fa = $preview ? fa_preview : fa_render;
$fs = $preview ? fs_preview : fs_render;
hook(height, outline_width, center_hole, top_ho... | glb/cad_5aaa6df3812c.glb |
Create an Onion fidget toy consisting of four concentric spherical shells. Start with an outermost hollow sphere with an outer diameter of 46mm and a wall thickness of 1.1mm. Create three additional nested hollow spheres, each with a wall thickness of 1.1mm, decreasing the outer diameter of each subsequent inner shell ... | $fn = 50;
wall = 1.1;
OD = 46;
Shells = 4;
Step = 2.3;
proof = true;
Hi = 22;
module S (Rad, Wall)
{
difference()
{
sphere (Rad);
sphere (Rad-Wall);
}
}
difference (){
union(){
for (i=[0:Shells-1]){
S ((OD/2 - Step * i), wall);
}
}
color ("blue", 0.3) translate ([-40,-40, -((Hi/2)+40)]) cube ([80,80,40... | glb/cad_201d1f204877.glb |
Create a Customizable Vslot Profile by extruding a 2D cross-section to a length of 20mm. For a 2020 profile, the outer frame is a 20mm square with 1.5mm rounded corners.
The cross-section features a central circular hole with a 5mm diameter. Surrounding this center, create four symmetrical V-shaped slots facing outwa... | part=0;
vSelect=1;
vSet=1;
vLen=20;
if (part==0){
color("Aqua")
translate([0, -35, 0])
singleProfile(1, 30);
color("Chartreuse")
multiProfile(2, 40, 2);
color("HotPink")
translate([0, 40, 0])
multiProfile(3, 50, 3);
}
if (part==1 && vSet==1)
color("Aqua")
singleProfile(vSelect, vLen);
if ... | glb/cad_8d7aa4045e6a.glb |
Create a Customizable RIB Function Bracelet by extruding a wavy circular profile vertically. Start by tracing a path on a 2D plane that follows a sine wave wrapped around a circle. The center of this path should be a circle with a diameter of 65mm. The wave should have an amplitude of 2mm and a frequency of 72 peaks ar... | $fn = 24*1;
step = .25*1;
th = .2*1;
diameter = 65;
radius = diameter/2;
height = 20;
amplitude = 2*1;
frequency = 72*1;
slant = 0;
degrees = slant*360/frequency;
function g(t) =
[ (radius+amplitude*(1+sin(frequency*t)))*cos(t),
(radius+amplitude*(1+sin(frequency*t)))*sin(t),
0
];
linear_extrude... | glb/cad_9f79b22c5989.glb |
Create a Greek Temple model. Start with a tiered rectangular base consisting of three stacked slabs: a bottom slab measuring 12mm by 24mm with a height of 0.5mm, a middle slab measuring 11mm by 23mm with a height of 1mm, and a top slab measuring 10mm by 22mm with a height of 1.5mm.
Place two parallel rows of pillars a... | pillars_per_row=7;
floor_width=12;
floor_length=24;
pillar_height=8;
pillar_width=1.2;
pillar_style=0;
avoid_extreme_overhangs=-1;
unit = 1;
scale(unit) union()
{
translate([floor_width/-2+6,floor_length/-2+12,0]) union()
{
translate([(-1/(10/12))+floor_width/10,(-1/(22/24))+floor_length/22,0]) scale([floor_width*10/... | glb/cad_40838103b9ca.glb |
Create a pneumatic cylinder end cap. Start with a base circular body created by rotating a profile around the Z-axis. The outer diameter is 25.75mm. The profile extends from a height of 0 to 22mm with a radius of 25.75mm, then steps inward to a radius of 24.35mm between 22mm and 24mm height, and finally tapers to a rad... | tube_outside = 51.5 / 2;
tube_thickness = 1.4;
side_mount_screws = true;
side_mount_screw_size = 5;
side_mount_screw_depth = 14;
back_mount_screws = true;
back_mount_screw_size = 5;
back_mount_screw_depth = 16;
tube_inside = tube_outside - tube_thickness;
module screw_point(size, depth, screw_bite=0.4) {
rotate_ex... | glb/cad_ced6b0f6dfe7.glb |
Create a pneumatic cylinder end cap. Start with a main cylindrical body with an outer diameter of 25.75mm and a height of 30mm. The center of the cylinder is hollowed out to an inner diameter of 24.3mm.
At the top face, create a central shaft hole with a diameter of 8.12mm that extends 15mm deep. Within this central b... | tube_outside = 51.5 / 2;
tube_thickness = 1.4;
side_mount_screws = true;
side_mount_screw_size = 5;
side_mount_screw_depth = 14;
front_mount_screws = true;
front_mount_screw_size = 5;
front_mount_screw_depth = 16;
o_ring_thickness = 2;
o_ring_plus_shaft_diameter = 9.12;
tube_inside = tube_outside - tube_thickness;
... | glb/cad_66b21ba596d1.glb |
Create a pneumatic cylinder end cap. Start by constructing a 30-sided rotational base with a profile that rises from a radius of 24.35mm at the bottom to a height of 20mm, then steps inward to a radius of 20.35mm for a height of 8mm, and finally extends upward to a total height of 30mm with a radius of 6.275mm.
Centr... | tube_outside = 51.5 / 2;
tube_thickness = 1.4;
o_ring_thickness = 3.5;
shaft_diameter = 6.55;
fastener_drill_hole = 1.0;
fastener_head_radius = 3;
tube_inside = tube_outside - tube_thickness;
shaft_radius = shaft_diameter / 2;
plunger_radius = tube_inside - o_ring_thickness/2 + 0.4;
module base() {
difference() ... | glb/cad_132bab72e203.glb |
Create a pneumatic cylinder joint by starting with a central block that is 30mm wide, 32mm deep, and 40mm tall. The block should have a central vertical hole with a diameter of 6.55mm passing through its height.
On the front and back faces of the block, create two symmetrical protrusions. Each protrusion consists of ... | shaft_diameter = 6.55;
fastener_drill_hole = 1.0;
fastener_head_radius = 3;
joint_fastener_size = 6.4;
shaft_radius = shaft_diameter / 2;
module base() {
intersection() {
rotate([90,0,0]) rotate_extrude($fn=30) polygon( points = [
[ shaft_radius, 0],
[shaft_radius+6, 0],
[ 20, 18],
[ ... | glb/cad_2f07695931f2.glb |
Create a Parametric Wire Organizer Stand with a total length of 170mm. The structure consists of two identical mirrored ends connected by a central base.
For each end, construct a base block 7mm deep, 3mm high, and with a length equal to the total span of the posts. Along the depth of this base, place 10 vertical pos... | circleRadius = 2;
postWidth = 3;
postHeightBeforeCircle = 10;
baseWidth = 3;
gap = 2.5;
numPosts = 10;
depth = 7;
distance = 170;
spacerWidth = 9;
postHeight = postHeightBeforeCircle + circleRadius;
totalLength = (numPosts * postWidth) + (gap * (numPosts - 1));
module left() {
cube ([depth,totalLength,baseWi... | glb/cad_e34aa19e58ea.glb |
Create a replacement part for a Leitz No. 190 perforator. Start by extruding a profile with a width of 12mm and a height of 5.5mm to a length of 136mm. The profile cross-section is symmetrical and stepped: from the center, it extends to +/- 5mm at the base, then steps up to +/- 5.2mm for the remainder of the height.
A... | use <text_on/text_on.scad>
width_profile = 12;
height_profile = 5.5;
length_profile = 136;
depth_letters = 0.5;
width_notches = 10.8;
notches = [ [128.5,"F",5], [100,"US",5], [109.5,"A4",5], [100,"US",5], [66,"A5",5], [35,"A6",5], [29.5,"888",4] ];
$fn=60;
points_for_profile = [ [3.85,3.8], [3.85,0], [5,0], [wi... | glb/cad_f4c18f7efabf.glb |
Create a BUT-H1 facemask filter frame consisting of two identical, mirrored components. Each component is a square plate with a side length of 70mm, a total height of 9mm, and rounded outer corners with a radius of 16mm.
The main body of each plate is a hollowed-out rim 5mm wide and 1.25mm thick. Inside this rim, crea... | side_length = 70.0;
corner_radius = 16.0;
height = 9.0;
thickness = 1.25;
rim_width = 5.0;
bar_width = 0.8;
filter_thickness = 0.26;
support_enforcers = "no";
module filter(a, r, h, t, w, gt, ft, e) {
sqrt2 = sqrt(2);
n = round(((sqrt2 * (a - 2 * w) - 2 * (r - w) * (sqrt2 - 1) - 2 * ft) / (2 * ft + gt) - 1)... | glb/cad_b3bf302cf76d.glb |
Create a Pentomino Pocket Puzzle consisting of a square open-top box and several puzzle pieces.
Construct the box with external dimensions of 45mm width, 45mm length, and 13mm height. The walls and floor of the box must be 2mm thick. The floor and the four side walls should be perforated with a grid of small square h... | bw = 45;
bl = 45;
bh = 13;
th = 2;
box_1();
module box_1()
{
difference()
{
corner = [[0,0,0], ];
union()
{
sides(bw,bl,bh,th);
frame(bw,bl,bh,th);
translate([0,0,5.])
scale([1,1,(10/9.2)])
translate([-15,-15,0])
join_cubes(corner,1,1);
}
translate([-15,-15,0])
cylinder(center=true,h=30,r=3,$fn=48 );
}}
mo... | glb/cad_9f463b07fa60.glb |
Create a Pentomino Pocket Puzzle consisting of three pentomino pieces that fit together to fill a square box. Each pentomino is composed of five cubes, with each cube measuring 10mm on all sides.
The three pieces are constructed as follows:
First, create a piece consisting of five cubes in an L-shape: four cubes in a ... | view_answers(epuz_17);
module LPW()
{
view_answers(fpuz_14);
translate([45,0,0])
view_answers(fpuz_16);
translate([-45,0,0])
view_answers(fpuz_15); }
module view_answers(file)
{
color("black")
join_cubes(file,1,5);
color("orange")
join_cubes(file,6,5);
color("lightgreen")
join_cubes(file,11,5);
}
mo... | glb/cad_1342cec37e4c.glb |
Create a bias tape maker tool with a base thickness of 2mm. The device is designed to guide a 25.4mm (1 inch) wide strip of fabric into a 9.65mm (3/8 inch) wide folded tape.
Start with a central rectangular body that includes two extended tabs, each 25.4mm long and 10mm wide, protruding from the sides to allow for att... | use <deps.link/erhannisScad/misc.scad>
use <deps.link/scadFluidics/common.scad>
$fn=60;
BIG = 1000;
EPS = 1e-40;
INCH = 25.4;
module biasTapeMaker(INPUT=undef, OUTPUT=0.645*INCH, OVERLAP_RATIO = 1/3, TAB_LENGTH=0, TAB_WIDTH=10, LABELS=true) {
if (INPUT == undef) {
FOLD_F = (OVERLAP_RATIO/2+0.5)*OUTPUT;
INP... | glb/cad_dd8cfbff5dab.glb |
Create a Customizable POW Function Bracelet by extruding a complex trigonometric path vertically to a height of 10mm. The base shape is a ring with a mean diameter of 60mm. The path of the ring is defined by a wave function where the radius at any point $t$ is calculated as $R = 30 + 6 \times (1 + \sin(24t) \times \cos... | $fn = 24*1;
step = .25*1;
th = .4;
diameter = 60;
radius = diameter/2;
height = 10;
amplitude = 6;
frequency = 12;
s = 2*1;
c = 1*1;
function f(t) = 1+sin(s*frequency*t)*cos(c*frequency*t);
function g(t) =
[ (radius+amplitude*f(t))*cos(t),
(radius+amplitude*f(t))*sin(t),
0
];
linear_extrude(hei... | glb/cad_f195df47e038.glb |
Create an opener tool for a Hexbright flashlight by constructing a composite geometric shape. Start with a base cylinder that is 5mm high with a diameter of 21.5mm. Centered on top of this base, add a second, smaller cylinder that is 5mm high with a diameter of 7mm. Above these cylinders, create a central vertical rect... | module hextool()
{
translate([0,0,0]){cylinder(5,21.5,23.8);};
translate([0,0,5]) {cylinder(7,23.8,5);};
translate([0,0,15]) {cube([35,6,20],true);}
rotate(90){translate([0,0,15]) {cube([35,6,20],true);}}
translate([23,0,0]) {cylinder(5,2,2);}
rotate(120){translate([23,0,0]) {cylinder(5,2,2);}}
rotate(240){translate([2... | glb/cad_b83c26889d31.glb |
Create a G35 LED light bulb mount. Start with a main cylindrical base that is 7.5mm high with a radius of 15mm. In the center of this base, create a vertical hole that begins as a 3mm radius cylinder for the first 0.01mm, then transitions into a conical flare that expands from a 2.5mm radius to an 8mm radius over the n... | $fn=400;
difference() {
union() {
cylinder(h=7.5,r=30/2);
rotate([0,0,-35]) translate([0, 19.25,5.5]) cube([8,3.5,9],center=true);
rotate([0,0,-35]) translate([0,-19.25,5.5]) cube([8,3.5,9],center=true);
rotate([0,0, 35]) translate([0, 19.25,5.5]) cube([8,3.5,9],center=true);
... | glb/cad_0a7680105733.glb |
Create a GE G35 LED Light String Bulb Mount. Start with a main cylindrical base 7.5mm high with a radius of 15mm. Hollow out the center of this base with a cylinder of radius 12.6mm, leaving a 2.4mm thick wall.
At the center of the base, create a vertical screw hole that starts with a radius of 2.1mm at the bottom an... | $fn=200;
difference() {
union() {
cylinder(h=7.5,r=30/2);
rotate([0,0,-35]) translate([0, 19.25,5.5]) cube([8,3.5,9],center=true);
rotate([0,0,-35]) translate([0,-19.25,5.5]) cube([8,3.5,9],center=true);
rotate([0,0, 35]) translate([0, 19.25,5.5]) cube([8,3.5,9],center=true);
... | glb/cad_8063060059a4.glb |
Create a wall test print consisting of a rectangular base and a series of vertical walls. Start by creating a base plate with a height of 1.0mm. The base should be sized to accommodate a grid of walls, with rounded corners achieved by a 3.0mm radius.
On top of this base, place a series of thin rectangular walls, each ... | _1_style = 1;
_2_start = 0.1;
_3_end = 2.0;
_4_increment = 0.1;
_5_gap = 3.0;
_6_height = 4;
_7_length = 10;
_8_baseHeight = 1.0;
_9_numColumns = 10;
$fn=60;
module addWall(thickness, xspacing, yspacing, xpos, ypos, h) {
echo (ypos, xpos, thickness);
translate([xspacing * xpos, -yspacing * ypos, 0]) {
cub... | glb/cad_850a7e3593b5.glb |
Create a Customizable POP Function Bracelet by extruding a complex trigonometric path vertically to a height of 10mm. The base shape is a ring with a mean diameter of 60mm. The inner and outer boundaries of the ring are defined by a wave function where the radius at any point $t$ is calculated as $radius + amplitude \t... | $fn = 24*1;
step = .25*1;
th = .4;
diameter = 60;
radius = diameter/2;
height = 10;
amplitude = 6;
frequency = 12;
s = 1*1;
c = 2*1;
function f(t) = 1+sin(s*frequency*t)*cos(c*frequency*t);
function g(t) =
[ (radius+amplitude*f(t))*cos(t),
(radius+amplitude*f(t))*sin(t),
0
];
linear_extrude(hei... | glb/cad_cd3ad65cada6.glb |
Create a circular cover for a hand wash timer. Start with a main cylinder that has a radius of 45mm and a height of 12mm, centered vertically. Hollow out the center by removing a cylinder with a radius of 38mm and a height of 12mm.
Create a circular opening for a sensor by removing a cylinder with a radius of 5.5mm an... | pirDiam=11;
$fn=96;
cover();
module cover() {
difference() {
translate([0,0,11]) cylinder(r=45,h=12,center=true);
translate([0,0,10]) cylinder(r=38,h=12,center=true);
translate([0,-38,(pirDiam+4)/2]) cylinder(r=pirDiam/2,h=20,center=true);
translate([41*cos(30),-41*sin(30),9]) cy... | glb/cad_b1a644d02839.glb |
Create a Hand Wash Timer housing by starting with a rectangular block 62mm wide, 90mm long, and 30mm high, centered at the coordinates (31, 0, 0). From this block, remove a large central semi-cylindrical volume using a cylinder with a 45mm radius and a height of 32mm, centered at the origin. Additionally, create two ci... | $fn=96;
difference() {
translate([31,0,0]) cube([30,90,30],center=true);
cylinder(r=45,h=32,center=true);
translate([38,37,0]) cylinder(r=7,h=32,center=true);
translate([38,-37,0]) cylinder(r=7,h=32,center=true);
} | glb/cad_6e8d73bf5174.glb |
Create a Mask sewing tools set consisting of a cutting rig, a pleat rack, and ruler spacers.
First, construct the cutting rig template as a flat rectangular plate measuring 228.6mm by 152.4mm with a thickness of 5mm. Subtract a central rectangular area to leave a frame, and incorporate circular cutouts with a diameter... | use <deps.link/erhannisScad/misc.scad>
use <deps.link/scadFluidics/common.scad>
$fn=60;
BIG = 1000;
INCH = 25.4;
SX = 9*INCH;
SY = 6*INCH;
STEP_SZ = 2;
STEP_SZ_BIG = STEP_SZ*1.5;
PLEAT_SY = 0.5*INCH;
MIDDLE_SY = 1.75*INCH;
LIP = 3;
PLEAT_STEPS_INSET = 0.5*INCH;
BRACE_SX = LIP/2;
VOID_INTERVAL = 10.5;
TEMPLATE_SZ =... | glb/cad_54d97ccb1002.glb |
Create a customizable shelf with a total width of 120mm, a depth of 70mm, and a uniform thickness of 3mm. The main body is a flat plate with rounded corners, where the corner radius is 10mm. To form the support structure, create a solid base that extends downwards from the main plate. From this base, remove a horizonta... | $width=120;
$depth=70;
$radius=10;
$thickness=3;
$fn=90;
linear_extrude(height=$thickness){
hull(){translate([-$width/2,-$width/4])square([$width,$depth-$radius]);
translate([$width/2-$radius,($depth-$radius)-$width/4]) circle(r=$radius);
translate([-$width/2+$radius,($depth-$radius)-$w... | glb/cad_ff956534d448.glb |
Create a mask clip consisting of a flat rectangular base and two symmetrical upright hooks. Start with a base plate 40mm long, 20mm wide, and 2mm thick, with all four corners rounded to a 4mm radius.
On top of this base, add two upright hooks, each 18mm long, 20mm high, and 2mm thick. Position the first hook at the l... | len1 = 40;
hig1 = 20;
thick1 = 2;
rad1 = 4;
len2 = len1 / 2 - 2;
hig2 = hig1;
thick2 = 2;
rad2 = rad1 + 2;
thick2 = 2;
module support(l, h, t, r, r2) {
difference() {
hull() {
translate([r, r, 0]) cylinder(t, r=r, center = true);
translate([l - r, r, 0]) cylinder(t, r=r, center = true);
... | glb/cad_539690ee7189.glb |
Create an Ear Relief Strap for medical masks consisting of two identical, mirrored components placed back-to-back with a 0.7mm gap between them.
For each component, start with a base strap 140mm long, 7mm wide, and 0.45mm thick, featuring rounded corners with a 3mm radius. At one end of the strap, add a fixed retaine... | TotalLength = 140;
BandThick = 0.45;
BandWide = 7;
CornerRadius = 3;
RetainerTall = 4.5;
RetainerLong = 4.5;
RetainerAngle = 110;
HookStandTall = 5;
HookStandThick = 1.15;
HookDeep = 3;
HookLipThick = 1.1;
HookSpacing = 40;
PairSpace = .7;
rotate([0,-90,0]) {
Space = PairSpace/2;
EndHook = TotalLength-CornerRadius;
... | glb/cad_8ee27015a625.glb |
Create a compound saw vacuum reducing coupler consisting of three stacked concentric sections with a total height of 45mm and a wall thickness of 3mm throughout. The bottom section is a cylinder 15mm high with an outer radius of 15.65mm and an inner radius of 12.65mm. The middle section is a 5mm high conical transition... | $fn=128;
thickness = 3;
saw = 15.65;
vacuum = 18.15 + thickness;
length = 10;
module pipe(saw, vacuum) {
translate([0, 0, 0])
cylinder(r1=saw,r2=saw+1.5,h=length*1.5);
translate([0, 0, length*1.5])
cylinder(r1=saw+1.5,r2=vacuum-1.5,h=length/2);
translate([0, 0, length*2])
cylinder(r1=vacuum-1.5,r... | glb/cad_7ae93bf59779.glb |
Create a Refrigerator Filter Mock (EDR2RXD1) by starting with a vertical cylinder that has a total height of 110mm and a diameter of 39mm. Apply a fillet or rounding to the edges of the cylinder using a 5mm radius sphere to soften the top and bottom rims. From this main body, remove two identical rectangular slots to c... | $fn = $preview ? 32 : 90;
height = 110;
translate([0, 0, 5])
difference() {
minkowski() {
cylinder(d = 39, h = height - 10);
sphere(d = 10);
}
for (my = [0, 1]) {
mirror([0, my, 0]) {
translate([-7.5 / 2, -49 / 2 + 2, -5]) rotate([90, 0, 0]) hull() {
cub... | glb/cad_2746ad0d2212.glb |
Create a Sheet Pin assembly consisting of a main pin and a matching clamping snap ring.
For the pin, create a central cylinder with a diameter of 5mm and a total length of 7.75mm. On one end, add a cylindrical head with a diameter of 8mm and a thickness of 2mm. Along the shaft, create a recessed groove for the snap r... | part = "both";
daxle = 5;
tsheet = 4;
dhead = 8;
thead = 2;
handle = 1;
ddgroove =1;
tsnap = 1.75;
ddsnapring = 2.5;
tover = 1.5;
tclear = 0.1;
clr = 0.1;
$fa= 5;
$fs=0.2;
if(part == "pin"){ pin(); }
if(part == "snapring"){ snapring(); }
if(part == "both")
{
pin();
translate([-dhead*0.6,0,0]) snapring(... | glb/cad_93dc5a4c9ebf.glb |
Create a Customizable Corrugated Box with overall outside dimensions of 80mm width, 80mm length, and 80mm height. The box consists of four vertical walls, each 6mm thick, that form a hollow square shell.
The interior of each wall is not solid but is composed of a continuous, zig-zagging corrugated pattern. This patte... | _outside_width = 80;
_outside_length = 80;
_box_height = 80;
_corregation_thickness = 6;
_corner_style = 0;
_stroke_thickness = 1;
_corregation_density = 0.866;
_gaps = 0.3;
_edge_cap_height = 0.0;
_bottom_height = 0.0;
eps = 0.1 * 1;
$fn = 128 * 1;
module rrect(h, w, l, r) {
r = min(r, min(w/2, l/2));
w = ma... | glb/cad_8609ab4fdcc8.glb |
Create a magnetic fridge pen and paper holder consisting of a main body and a separate small rectangular lid.
Construct the main body by starting with a rectangular base 20mm wide, 25mm high, and 10mm deep. On the front face, create a pen holder by merging the base with a cylinder of 11.9mm diameter and 25mm length, ... | BASE_DEPTH = 10;
BASE_WIDTH = 20;
BASE_HEIGHT = 25;
GRIP_DEPTH = 4;
MAGNET_DEPTH = 4.2;
MAGNET_HEIGHT = 10.2;
MAGNET_OFFSET = BASE_HEIGHT / 2 - MAGNET_HEIGHT / 2;
MAGNET_WALL = 0.8;
MAGNET_WIDTH = 10.8;
MAGNET_LID_HEIGHT_GAP = 0.2;
MAGNET_LID_HEIGHT =
(BASE_HEIGHT - MAGNET_HEIGHT) / 2 - MAGNET_LID_HEIGHT_GAP;
MA... | glb/cad_9637bc9ecd5d.glb |
Create two bike chain sprockets, each with eight teeth designed for a standard 1/2-inch pitch and 1/8-inch width chain. The teeth should be shaped to allow the chain to seat securely.
For the first sprocket, create a central hub with a diameter of 12.7mm. Bore a cylindrical hole through the center with a diameter of 6... | module sprocket_tooth() {
s = 1;
intersection() {
difference() {
translate([-1/4,0,-1/16])
cube([1/2,3/8,1/8]);
translate([1/4, 0, -1/8])
cylinder(h=1/4, d=5/16, $fn=30);
translate([-1/4, 0, -1/8])
cylinder(h=1/4, d=5/16... | glb/cad_37ac57c37a25.glb |
Create a slim magnetic rod end for a delta printer. Start by creating a main outer cylinder with a height of 23.1mm and a radius of 4.14mm. Hollow out the center of this cylinder to create a tube with an internal radius of 3.1mm and a height of 21mm, leaving a wall thickness of 1.04mm. At the top of the cylinder, carve... | height=20;
radius=3.1;
wallWidth=2.08;
sphereDiameter=7;
hidden_quality=100*1;
difference()
{
cylinder(r=radius+wallWidth/2, h=height+radius, $fn=hidden_quality);
union()
{
translate([0,0,-1])cylinder(r=radius, h=height+1, $fn=hidden_quality);
translate([0,0,height+(sphereDiameter/2)+0.5])sphere(r... | glb/cad_270a8ef00d59.glb |
Create a bike mount for a phone with a width of 63mm, length of 128mm, and height of 11mm. The main body is a rectangular shell with rounded corners of 10mm radius. The walls of this shell should be 4mm thick. To reduce material, include bridges that are 15mm wide.
The mount consists of a hollowed-out center to fit th... | width = 63;
wallwidth = 4;
length = 128;
height = 11;
bridgewidth = 15;
cornerradius = 10;
mountheight = 10;
tubediameter = 25;
$fn = 100;
module connector(stegwidth) {
translate([-stegwidth/2-2.5,-stegwidth/2-4.5,2]) cube([4.5,4,1.5]);
translate([stegwidth/2-2,-stegwidth/2-4.5,2]) cube([4.5,4,1.5]);
trans... | glb/cad_41c0934cc0c2.glb |
Create a Ramekin Stacker ring by revolving a specific profile around a central axis. The profile consists of a base section 0.8mm thick and 6.1mm wide, and a vertical wall section 6mm high and 1.5mm wide. This results in a ring with an outer diameter of 86.5mm and an inner diameter of 77.1mm. The vertical wall is posit... | clearance=1;
outerDiaRamikin=85+clearance;
innerDiaRamikin=75.5+clearance;
bottomThick=0.8;
wallThick=3*0.5;
wallHeight=6;
holeDia=2;
rimX=wallThick+(outerDiaRamikin-innerDiaRamikin)/2;
rotateDia=(innerDiaRamikin - rimX)+2*wallThick;
module stacker(){
rotate_extrude($fn=240){
translate([rotateDia/2, 0, 0... | glb/cad_580917d85a37.glb |
Create a Simucube 2 PSU mount consisting of a hollow rectangular holder and a supporting base. First, construct the main holder as a rectangular shell with outer dimensions of 102mm width, 48mm height, and 53mm depth. The walls should be 3mm thick. Create a central cavity within this shell measuring 96mm by 48mm by 50m... | $fs = 0.1;
$fa = 5;
pbWidth = 96;
pbHeight = 48;
wallDepth = 3;
mountHeight = 50;
doubleHeight = false;
supportWidth = 80;
supportSize = 40;
supportHoles = 2;
aluProfileSize = 40;
module psuHolder(frontFace){
difference(){
translate([-(pbWidth + wallDepth * 2)/2, 0, 0]){
difference(){
... | glb/cad_e191622d73be.glb |
Create a PSU mount designed to hold a power brick with a width of 96mm and a height of 48mm. Start by constructing a hollow rectangular sleeve with a wall thickness of 2mm and an overall height of 52mm. The interior cavity should be 96mm wide and 48mm high to accommodate the brick.
On the two side walls, integrate ver... | $fs = 0.1;
$fa = 5;
pbWidth = 96;
pbHeight = 48;
apWidth = 120;
apHeight = 40;
wallDepth = 2;
mountHeight = 50;
sfHeight = 40;
sfWidth = 15;
sfDepth = 30;
difference(){
translate([-(pbWidth + wallDepth * 2)/2, 0, 0]){
difference(){
cube([pbWidth + wallDepth * 2, pbHeight + wallDepth, mountHeight + wallDepth]... | glb/cad_dcd5f77b723a.glb |
Create a LPKF Spindle Knob by constructing a tapered cylindrical body with a height of 21.66mm. The base of the body is a circle with a radius of 20mm, tapering upward to a top radius of 25mm.
The center of the knob must be hollowed out with a square void measuring 12.2mm by 12.2mm and a height of 9.3mm. To create th... | difference () {
union () {
translate ([0, 0, -5.4-(16.26-9.3)+.005]) cylinder (h = 5.4 + 16.26 - .01, r1 = 20, r2 = 25, $fn = 60);
for ( i = [0 : 10 : 360]) {
rotate (a = [0, 0, i+5]) translate ([20.2, 0, -5.4-(16.26-9.3)+.005]) rotate (a = [0, 12.5, 0]) cylinder (h = 22.1, r1 = 0.8, r2 = 1.19, $fn = 20);
}
}
tr... | glb/cad_7bd449d8d74d.glb |
Create a desktop stand for HUB75 LED panels. Start by constructing a base profile that is 10mm thick. The main body is formed by the convex hull of two circles with diameters of 6mm and 9mm, spaced 60mm apart along the x-axis. To this, add a secondary section that is the hull of a 9mm circle at the 60mm mark and a 9mm ... | $fn = 90;
module body_2d(q0, q1, l, h, theta) {
tan_theta = tan(theta);
translate([0,(q0-q1)/2])
hull() {
circle(d=q0);
translate([l, 0]) circle(d=q0);
}
hull() {
translate([l, 0]) circle(d=q1);
translate([l-h*tan_theta, h]) circle(d=q1);
}
}
rotate([90,0,0])
di... | glb/cad_7cf45b257da4.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.