Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a K8200 enclosure mounting block. Start with a main rectangular body that is 15.22mm wide, 26mm long, and 15.22mm high.
Center a cylindrical hole with a diameter of 10.25mm and a length of 45.66mm through the body along the Y-axis to accommodate a rod.
Create a slot for a magnet by removing a cylinder with a... | magnet_diam = 13;
magnet_depth = 3.6;
rod_diam = 10.25;
extrusion_width = 0.511;
rod_position = "vertical";
mount_position = "center";
rod_mount_type = "ziptie";
cutout_cube = true;
rod_mount_truncate = 2;
body_width = magnet_diam+(extrusion_width*4*2);
body_length = 26;
ziptie_width = 6;
ziptie_depth = 2;
ziptie... | glb/cad_191b3479ffbb.glb |
Create a book ring designed to hold a book open. Start by constructing a vertical oval ring with a height of 17mm. The inner opening of the ring should be an ellipse measuring 22mm wide by 18mm high, with a wall thickness of 2mm around the entire perimeter. Extending from the sides of this ring, add two flat rectangula... | THUMB_W=22;
THUMB_H=18;
THICK=2;
HEIGHT=17;
LENGTH=30;
A=60;
$fn=32;
linear_extrude(height=HEIGHT)
union() {
difference(){
scale([THUMB_W+2*THICK,THUMB_H+2*THICK])circle(r=0.5);
scale([THUMB_W,THUMB_H])circle(r=0.5);
}
for(m=[-1:2:1]) {
scale([m,1])
translate([cos(A)*THUMB_W/2+THI... | glb/cad_467a86896fbc.glb |
Create a Vertical Mount for Electronic Circuit Prototyping Board. Start with a rectangular base platform measuring 54mm wide, 13mm deep, and 2mm thick. At the bottom of this base, remove a central rectangular section 48mm wide and 3mm deep, and carve out five holes: two circles with a 2mm radius at positions [5, 2] and... | $fn=30;
module base_holes(){
translate([5,2,0]) cylinder(r=2,h=5);
translate([49,2,0]) cylinder(r=2,h=5);
union(){
translate([15, 4, 0]) cylinder(r=4,h=5,$fn=8);
translate([27, 5, 0]) cylinder(r=6,h=5,$fn=8);
translate([39, 4, 0]) cylinder(r=4,h=5,$fn=8);
}
}
module base_platform(){
cube([54,13,2]);
tran... | glb/cad_d1fdba6f459d.glb |
Create a Timer Battery Cover consisting of a cylindrical plug with an integrated retaining lip. Start by creating a main cylinder with a diameter of 11.6mm and a height of 6.9mm. Cap this cylinder with a top disc that has a larger diameter of 13.7mm and a thickness of 1.8mm.
To form the retaining lip, add a cylindric... | smallDia=11.6;
largeDia=13.7;
topThickness=1.8;
origThickness=6.9;
tabOffset=5;
tabThickness=1.7;
tabWidth=5;
armWidth=8.3;
armLen=18.1;
armRad=armLen-largeDia/2;
armAngle=asin((armWidth/2)/armRad);
$fn=40;
small=0.01;
module plug()
{
difference()
{
cylinder(d=largeDia, h=topThickness);
r... | glb/cad_d4b1794fcca3.glb |
Create a cheese-paring vactrol enclosure consisting of two mirrored halves, an upper and lower part, with a shell thickness of 1.2mm. Each half is a rounded rectangular box.
The upper part features a recessed inner cavity to house the components. Within this cavity, create a cutout for a 5.3mm diameter LED with a heig... | shell = 1.2;
tightFit = 0.15;
LED_Diameter = 5.3;
LED_Height = 9.0;
LED_RingDiameter = 6.1;
LED_RingHeight = 1.4;
LED_LeadSpacing = 2.5;
LED_LeadDiameter = 1.2;
LED_LeadLength = 4.0;
PhotoCellWidth = 5.5;
PhotoCellHeight = 4.8;
PhotoCellThickness = 2.2;
PhotoCellLeadSpacing = 2.5;
PhotoCellLeadDiameter = 1... | glb/cad_c266ed2905ad.glb |
Create a Solid State Relay Box consisting of a hollow rectangular enclosure with rounded corners. The outer dimensions of the main body are 62.5mm in length, 40mm in width, and 25mm in height. The corners should be rounded with a radius of 6mm.
The walls of the box are 1.5mm thick. The interior is a hollow cavity that... | $fn=50;
T=1.5;
difference() {
union() {
difference() {
body(62.5,40,25);
translate([0, 0, -6]) linear_extrude(height = 28)
square([62.5+20, 40+20], center = true);
}
difference() {
translate([0, 0, 2*T]) body(62.5-2*T,40-2*T,25-2*T);
... | glb/cad_bde6a0da6ca3.glb |
Create a Solid State Relay Box consisting of a hollow rectangular enclosure with rounded corners. The main body should have external dimensions of 62.5mm in length, 40mm in width, and 25mm in height. The walls should be 1.5mm thick. The top of the box is open, and the interior is hollowed out to these wall specificatio... | $fn=50;
T=1.5;
difference() {
union() {
difference() {
body(62.5,40,25);
translate([0, 0, 2*T]) body(62.5-2*T,40-2*T,25-2*T);
}
tetons(50/2,28/2);
tetons(50/2,-28/2);
tetons(-50/2,28/2);
tetons(-50/2,-28/2);
sides(62.5,(40-7)/2,5);
... | glb/cad_bb5f2dfac047.glb |
Create a Solid State Relay Box consisting of a hollow rectangular enclosure mounted on a flat base. The main body is a rounded rectangular shell with external dimensions of 62.5mm length, 40mm width, and 25mm height, featuring a wall thickness of 1.5mm. The corners of the body are rounded with a 6mm radius.
The enclos... | $fn=50;
T=1.5;
difference() {
union() {
difference() {
body(62.5,40,25);
translate([0, 0, 2*T]) body(62.5-2*T,40-2*T,25-2*T);
}
tetons(50/2,28/2);
tetons(50/2,-28/2);
tetons(-50/2,28/2);
tetons(-50/2,-28/2);
sides(62.5,(40-7)/2,5);
... | glb/cad_3aca8da52d74.glb |
Create a Gear Test Piece by constructing a spur gear with a pitch diameter of 60mm and a thickness of 5mm. The gear should have 20 teeth with a pressure angle of 20 degrees and a metric module of 3.
Start with a solid cylinder based on the outside diameter, which is the pitch diameter plus twice the module (66mm). Us... | MetricModule=3;
NumberOfTeeth=20;
PressureAngle=20;
HelixAngle=0;
AngularResolution=.5;
Width=5;
LayerThickness=1;
BackLash=0;
m=MetricModule;
mstr=str("\nMODULE:\t\t",m);
n=NumberOfTeeth;
nstr=str("\t\tNUMBER OF TEETH:\t",n);
pa=PressureAngle;
pastr=str("\nPRESSURE ANGLE:\t",pa);
ha=Helix... | glb/cad_e3ecb99d4161.glb |
Create a round case consisting of two separate cylindrical parts: an inner holder and an outer sleeve. Both parts should be constructed using 30-facet cylinders.
For the inner holder, create a cylinder with a diameter of 28mm and a height of 10mm. Hollow out the center by removing a cylinder starting 1mm from the base... | insideHeight = 10;
outsideHeight = 10;
diameter= 28;
InsideConfiguration = 1;
sideWallWidth = 1;
baseWallHeight = 1;
widthOffset = 0.3;
$fn=30;
chamferSize = 2*baseWallHeight;
insideDiameter = diameter;
outsideDiameter = diameter+(sideWallWidth*2)+widthOffset;
holderpart(insideDiameter, insideHeight, InsideCo... | glb/cad_147fc61b6a9d.glb |
Create a cable grommet bung by designing a tapered cylinder with a height of 20mm. The base of the cylinder should have a diameter of 27.2mm, tapering upward to a top diameter of 26mm. Use a 30-facet resolution for the circular geometry. Remove a central vertical hole with a diameter of 13mm that runs through the entir... | $fn=30;
holeDia = 31;
thickness = 2;
grommetHeight = 20;
flange = 10;
bungHole = 13;
HD = holeDia;
TH = thickness;
GH = grommetHeight;
F = HD+flange*2;
BH = bungHole;
bung();
module bung() {
A=HD-TH*2;
difference() {
translate([0,0,0]) cylinder(d1=A+.2, d2=A-1... | glb/cad_bb8aa2b601cb.glb |
Create a profile hook for a filament spool holder. Start with a base block that is 32.6mm wide, 24.2mm high, and 4mm thick.
At the bottom, create a rectangular cutout to accommodate an aluminum extrusion profile. This cutout should be 26.6mm wide and 4.8mm deep, centered within the base. The interior of this slot sho... | hook_width=26;
hook_neck_width=20;
hook_thickness=4;
hook_height=24;
hook_clearence=0.3;
hook_wall_clearence=4;
brace_wall=4;
brace_clearence=0.2;
profile_vsize=20;
profile_hsize=20;
profile_slot_width=6;
profile_hook_depth=2;
$chamfer=0.6;
$fn=64;
hook_wall=hook_wall_clearence-hook_clearence;
module chamfered_cube... | glb/cad_1a40f8ad1e14.glb |
Create a Kossel Mini D4 endstop mount. Start with a main rectangular body 30mm wide, 7mm thick, and 25mm high, centered on the origin. Add a small alignment tab measuring 2.5mm wide, 7mm thick, and 25mm high, centered on the X and Z axes but offset 2mm along the Y axis.
Remove a central vertical hole for a retaining s... | include <configuration.scad>;
thickness = 7;
width = 15;
height = 15;
screw_spacing_long = 22.2;
screw_spacing_short = 10.3;
module endstop() {
difference() {
union() {
cube([width+15, thickness, height+10], center=true);
translate([0, 2, 0])
cube([2.5, thickness, height+10], center=true);... | glb/cad_a0b80a9841e9.glb |
Create a Kossel Mini D4 endstop mount. Start with a main rectangular body 30mm wide, 3mm thick, and 25mm high. Centered on the top face, add a smaller alignment tab that is 2.5mm wide, 3mm thick, and 25mm high, extending 2mm forward from the center.
Remove a vertical 12-sided prism hole with a 1.5mm radius through th... | thickness = 3;
width = 15;
height = 15;
screw_spacing_long = 22.2;
screw_spacing_short = 10.3;
module endstop() {
difference() {
union() {
cube([width+15, thickness, height+10+6], center=true);
translate([0, 2, 0])
cube([2.5, thickness, height+10+6], center=true);
}
translate([0, ... | glb/cad_ce73d1d1c88f.glb |
Create a Kossel Mini D4 endstop mount. Start with a main rectangular body 15mm wide, 3mm thick, and 31mm high. Add a smaller alignment tab centered on the body that is 2.5mm wide, 3mm thick, and 31mm high, extending 2mm from the back.
Cut two vertical holes through the entire assembly along the Y-axis. Each hole shou... | thickness = 3;
width = 15;
height = 15;
screw_spacing_long = 22.2;
screw_spacing_short = 10.3;
module endstop() {
difference() {
union() {
cube([width+15, thickness, height+10+6+10], center=true);
translate([0, 2, 0])
cube([2.5, thickness, height+10+6+10], center=true);
}
translat... | glb/cad_10f80aa5997b.glb |
Create an Arduino UNO R3 case with a total thickness of 20mm. The main body is a rounded rectangular shell with external dimensions of 60mm by 60mm and a corner radius of 10mm. The walls have a thickness of 1.5mm.
The interior is hollowed out to accommodate the board, with a secondary inner ledge positioned 4.5mm from... | $fn=50;
T=1.5;
mirror(){ difference() {
union() {
difference() {
union() {
body(60,60,8,10);
}
translate([0, 0, 7]) body(60-T,60-T,8+2,10-T);
translate([0, 0, 3*T]) body(60-2*T,60-2*T,8-T,10-2*T);
}
... | glb/cad_62b169b53f09.glb |
Create an Arduino UNO R3 case with an overall thickness of 20mm. The main body is a rounded rectangular box with external dimensions of 60mm by 60mm and a corner radius of 10mm. The walls are 1.5mm thick.
The interior of the case is hollowed out, leaving a base floor 1.5mm from the bottom. Create four circular mountin... | $fn=50;
T=1.5;
difference() {
union() {
difference() {
union() {
body(60,60,8,10);
translate([0, 0, 2*T]) body(60-T,60-T,8+2,10-T);
}
translate([0, 0, 3*T]) body(60-2*T,60-2*T,8-T,10-2*T);
}
... | glb/cad_44e6802ba0e0.glb |
Create an Arduino UNO R3 case with an overall thickness of 20mm. The main body is a rounded rectangular box with external dimensions of 80mm by 60mm and a corner radius of 10mm. The walls are 1.5mm thick.
The interior is hollowed out, leaving a base floor 1.5mm above the bottom. Create four circular mounting holes wit... | $fn=50;
T=1.5;
difference() {
union() {
difference() {
union() {
body(60,60,8,10);
translate([0, 0, 2*T]) body(60-T,60-T,8+2,10-T);
}
translate([0, 0, 3*T]) body(60-2*T,60-2*T,8-T,10-2*T);
}
... | glb/cad_d353c89b5495.glb |
Create a Puzzle Cookie Cutter consisting of a rectangular grid of interlocking puzzle pieces. The overall dimensions are 100mm in length and 150mm in width. The cutter has a total height of 20mm, which includes a 2mm thick base brim that extends 2mm beyond the outer edges of the walls.
The grid is divided into 3 horiz... | counth=3;
countv=3;
olength=100;
owidth=150;
walls=1;
cutterheight=20;
brimheight=2;
innerbrim=1;
outerbrim=2;
faces=50;
fieldsizeh=(olength-(walls*(counth+1)))/counth;
fieldsizev=(owidth-(walls*(countv+1)))/countv;
difference()
{
union()
{
translate([0,0,0.01])
cube([olength,owidth,c... | glb/cad_eeef5b33cf6c.glb |
Create two mirror-image sets of the Two Mirror Image Cube Construction Puzzles. Each puzzle consists of three interlocking pieces that assemble into a 3x3x3 cube made of 27 sub-cubes, each sub-cube measuring 10mm.
For the first puzzle set, create three pieces: Piece 8a, composed of 8 sub-cubes; Piece 9a, composed of 9... | makex(ipiece_10a);
cube_size = 10;
overlap = .5;
module make_puzzle_a()
{
translate([-cube_size*2,-cube_size*0.5,0])
makex(ipiece_8a);
translate([cube_size*3,-cube_size*0.5,0])
makex(ipiece_9a);
translate([cube_size,cube_size*3,0])
makex(ipiece_10a);
}
module make_puzzle_b()
{
translate([-cube_size*2,-cube_... | glb/cad_09f53652bb9b.glb |
Create a .22 caliber breech flag consisting of a vertical cylindrical post and a flat rectangular base. Start by creating a cylinder with a radius of 2.9mm and a height of 20mm. On top of this cylinder, add a tapered section that transitions from a radius of 2.9mm at the bottom to a radius of 2.5mm at the top over a he... | $fn = 100;
union(){
cylinder(r = 5.8/2, h = 20);
translate([0,0,20]){
cylinder(r1=5.8/2, r2=5/2, h=8);
}
translate([0,0,28]){
sphere(r=5/2);
}
translate([0,-1,0]){
cube([35,2,15]);
}
} | glb/cad_0bba00c9e2a7.glb |
Create an ESP12F Programmer consisting of four main components: a guide, an internal housing, an external housing, and a button.
First, create the Guide as a rounded box with dimensions 15.15mm x 17.1mm x 25mm (using the pin tube length). Subtract two blocks from the base, each 3mm x 17.1mm x 6mm, positioned at opposi... | include <MCAD/boxes.scad>
use <ESP8266Models.scad>
ASSEMBLY = true;
SHOWEXTERNAL = true;
SHOWINTERNAL = true;
SHOWGUIDE = true;
SHOWBUTTON = true;
SHOWPINS = true;
SHOWWM = true;
SHOWWMLOCATOR = false;
SHOWESP12 = false;
SHOWESP12TOP = false;
PINT = 0;
PTypes = [
[ 1.02, 25.0, 0.74, 8.35],
[ 1.50, 18.4, ... | glb/cad_7c3106961579.glb |
Create a REV Robotics Expansion Hub Right Angle USB Cable Support. Start with a base plate that is 103.3mm long and 143.5mm wide with a thickness of 7mm. Round the four corners of this base with a 2mm radius.
At each end of the long axis, create a cylindrical mounting boss with a diameter of 7mm and a height of 4mm. ... | $fn = 100;
unitw = 5.2;
unitl = 20;
cablew = 3;
totalw = 100;
totald = 20;
island = 80;
mr = 2;
th = 2;
legs = 4;
flatc = 4.5;
screwt = 4;
screwd = 4;
legl = 12;
small = 0.001;
tall = 30;
holex = 12;
holey = 6;
bigisland = 143.5 - 2*legl;
longside = 143.5;
shortside = 103.3;
longerthancable = 14.5;
supportbaseheight ... | glb/cad_498a706787a0.glb |
Create a camera lens hood consisting of a gripping base and a two-stage flared cone.
First, construct the base grip as a hollow cylinder with an outer diameter of 69.58mm and a wall thickness of 5mm, extending 15mm in height. At the bottom of this grip, add a 3mm high bumper ring with an outer diameter of 69.58mm and... | lense_d = 64.58;
lense_grip_w = 15;
lense_wall = 5;
bumper_h = 3;
bumper_d = lense_d - 2.5;
base_ring_h = 2.2;
base_ring_d = lense_d - .28;
gap_step = 9;
gap_w =1;
mid_l = 50;
mid_d = 130;
mid_wall = 2.5;
end_l = 25;
end_d = 140;
end_wall = 2.5;
part = "all";
$fn = 40;
echo(version=version());
render() {... | glb/cad_f3b80aa46f71.glb |
Create a Hacksburg Logo consisting of a rectangular base plate measuring 7.8mm by 7.8mm with a height of 0.5mm. On top of this base, arrange a 4x4 grid of small cubes, each measuring 1.8mm by 1.8mm with a height of 0.5mm, spaced 0.2mm apart from one another. From this combined structure, carve out seven shallow, hemisp... | cube([7.8, 7.8, 0.5]);
locations = [[2, 1], [1, 2], [2, 2], [3, 2], [1, 3], [3, 3], [4, 3]];
difference()
{
for (i = [0:2:7.8])
{
for (j = [0:2:7.9])
{
translate([i, j, 0.5]) cube([1.8, 1.8, 0.5], [true, false, false]);
}
}
for (i = [0:6])
{
translate([locations[i][0]*2-1.1, locations[i][1]*2-1.1, 1]... | glb/cad_7577db356aeb.glb |
Create a Loupe Lamp bracket for an M8 rod. Start with a main rectangular block measuring 24mm in width, 14mm in height, and 24mm in depth.
At the center of the block, create a vertical hole with a radius of 4mm that passes completely through the 14mm height. Additionally, create two horizontal holes with a radius of ... | rod =8;
offset1=3;
bolt =rod/2;
otv2 =12;
shlic2 =16;
h2 =2;
h3 =10;
y = rod +rod+rod+rod;
x = rod +rod+rod+rod;
z = offset1+rod+offset1;
rod1offset =rod;
rod2offset =rod*2;
rotate([-90, 0, 0]) translate([0, 0, 50])
difference() {
union(){
rotate([90, 0, 0])cylinder(h=h2, r=shlic2/2);
rot... | glb/cad_0b83d38ec0b6.glb |
Create a Loupe Lamp nut for an M8 rod. Start with a central cylinder that is 12mm high and has a radius of 15mm, centered on the Z-axis. Around the perimeter of this central cylinder, add four smaller cylinders, each with a radius of 4mm and a height of 12mm, positioned at 90-degree intervals. These smaller cylinders s... | include <shapes.scad>
rod = 8;
nut_h = 6;
nut_max = 15;
nut_min = 13;
wheel_r = nut_max;
z = nut_h*2;
finger = 4;
angle = 360/finger;
translate([0,0,z/2])
difference(){
union(){
cylinder(z,r=wheel_r,center=true);
for(step1=[1:finger]){
rotate(step1*angle+(angle/2),[0,0,1])translate([wheel_r,0,0... | glb/cad_44097b092a47.glb |
Create a Loupe Lamp nut for an M8 rod. Start with a central cylinder that is 12mm high with a radius of 13mm, centered on the Z-axis. Add four smaller cylinders to the perimeter of this main disk, each with a radius of 8mm and a height of 12mm, positioned at 90-degree intervals around the center. These smaller cylinder... | include <shapes.scad>
rod = 8;
nut_h = 6;
nut_max = 13;
wheel_r = nut_max;
z = nut_h*2;
finger = 4;
angle = 360/finger;
translate([0,0,z/2])
difference(){
union(){
cylinder(z,r=wheel_r,center=true);
for(step1=[1:finger]){
rotate(step1*angle+(angle/2),[0,0,1])translate([wheel_r,0,0]) cylinder(z,... | glb/cad_9694960cd406.glb |
Create a Christmas Countdown Calendar tile. Start by creating a rectangular plate measuring 45mm wide, 60mm long, and 3mm thick.
On the front face, centered horizontally and vertically, engrave the words "Merry" and "Christmas" stacked vertically. The word "Merry" should be positioned above "Christmas," with both wor... | part = 13;
TextH = 20;
TextF = "Monoton";
TextFM = "Monoton";
function is_manual() = TextF == "Manual" ? true : false;
print_part();
module print_part() {
if (part == 1) {
p("01", "14");
} else if (part == 3) {
p("03", "16");
} else if (part == 5) {
p("05","18");
} else if (part == 7) {
p("07","20");... | glb/cad_9106575159bd.glb |
Create a USB Condom protective housing. Start by creating a main rectangular base measuring 37mm in length, 18mm in width, and 11mm in height. Hollow out the center of this base to create a shell with a wall thickness of 1mm, leaving the bottom open.
Inside this shell, create two sets of circular mounting holes to se... | $fn=20;
gehaeuse_unterteil();
modules();
module gehauese_deckel()
{
translate([0,0,1.5])
{
translate([-2,-10,8.5])cube([39,20,1]);
translate([-0.5,7-0.2,8.5])rotate([0,90,0])linear_extrude(height=36)polygon([[0,0],[2,0.5],[2,1.75],[1,1],[0,1]]);
translate([-0.5+36,-7+0.2,8.5])rotate([0,90,180])linear_... | glb/cad_df469021b145.glb |
Create a pair of bridged eyecaps for binoculars. Each eyecap is a hollow cylinder with an inner diameter of 31mm and a total height of 8mm. The walls of these cylinders should be approximately 1.12mm thick. The bottom and top edges of the cylinders should have a slight outward flare of 1mm to assist with fitting.
Posi... | $fn= 40;
ew = 0.56;
module arc(r1,r2,h,a1=0,a2=0){
if(a2-a1<=180){
difference(){
cylinder(r=r2,h=h);
translate([0,0,-1])cylinder(r=r1,h=h+2);
rotate(a2)translate([-r1-r2,0,-1])cube([2*(r1+r2),2*(r1+r2),h+2]);
rotate(a1+180)translate([-r1-r2,0,-1])cube([2*(r1+r2),2*(r1+r2),h+2... | glb/cad_76c6d978601f.glb |
Create a Thin Walls Test Thing consisting of six identical wall units arranged in a row. Each unit is based on a rectangular block 7.6mm wide, 12.5mm long, and 2mm high. For each unit, remove a central rectangular channel 12.5mm long and 2mm high, leaving two outer walls. The thickness of these walls increases for each... | tki=0.7;
tin=0.1;
tno=6;
xsz=7.5;
ysz=12.5;
zsz=2;
testWall();
module testWall()
{
translate([0,-ysz/2,0])
union()
{
for(i=[0:tno-1])
{
translate([-xsz*(tno/2)+xsz*i,0,0])
testUnit(tki+i*tin);
}
for(i=[-1,1])
{
translate([i*xsz*(tno/2),ysz-(tin*tno+tki)/2,0])
cylinder(h=0.25, r=2.5, $fn=24, ... | glb/cad_b31a308a2ab2.glb |
Create a Cord Toggle Button by designing a flat, elongated body with a height of 2mm. The main body is formed by the convex hull of four cylinders with a radius of 3mm, positioned at the corners of a 6mm by 3mm rectangle. To this shape, add two smaller semi-circular extensions at the center of each 3mm end, each with a... | LENGTH = 6;
WIDTH = 3;
HEIGHT = 2;
BODY_RADIUS = 3;
POINT = 6;
POINT_RADIUS = 2;
HOLE_RADIUS = 2;
$fn=100;
bodyPoints = [ [0,0,0], [LENGTH,0,0], [0,WIDTH,0], [LENGTH,WIDTH,0]];
endPoints = [[0-POINT,WIDTH/2,0], [LENGTH+POINT, WIDTH/2, 0]];
difference() {
hull(){
for (p = bodyPoints){
translate... | glb/cad_e86c8b00b879.glb |
Create a rowing shell boat navigation light holder. Start with a central rectangular body 16mm wide, 48mm long, and 14.5mm high. Attach two cylinders to the narrow ends of the rectangle, each with a radius of 11mm and a height of 14.5mm, centered on the rectangle's width and height to create a dogbone shape.
Drill two... | $fn= 50;
module light_holder_body()
{
difference() {
union () {
translate([-8, -24, 0])
cube([16, 48, 14.5], center = false);
translate([0, 17.15, 7.25])
cylinder(h = 14.5, r = 11, center = true);
translate([0, -17.15, 7.25])
cylinder(h = 14.5, r = 11, center = true);
}
translate([0, 17.15,... | glb/cad_fcd1d4bcbe8f.glb |
Create a Raspberry Pi and mounted display case consisting of a bottom base and a top cover.
The bottom base is a hollowed rectangular shell with a wall thickness of 2mm. The outer dimensions are based on a base width of 115mm and a base height of 83mm, with a total base depth of 15mm. On the bottom surface, include f... | topEnable = 1;
bottomEnable = 1;
holderEnable = 1;
holderBoth = 1;
piXL = 85;
piYL = 56;
holes = [[81.5,3.5],[23.5,3.5],[81.5,52.5],[23.5,52.5]];
sdY = 28;
sdW = 14;
sdH = 10;
dispXL = 85;
dispYL = 70;
dispHeight = 26;
dispFovX = 75;
dispFovY = 51.5;
dispFovXOffset = 1;
dispFovYOffset = 1;
addSpaceLeft = 15;
add... | glb/cad_74adc7a51363.glb |
Create an AMscope head support consisting of a central ring and three identical legs. Start with a hollow cylinder for the ring, with an inner diameter of 76.6mm, an outer diameter of 88.6mm, and a height of 15mm. Around the circumference of this ring, evenly space three attachment lugs. Each lug is a solid block that ... | $fn = 100;
diamHead = 76.6;
width = 6;
height = 15;
legW = 10;
legL = 25;
legH = 180;
legAngle = 30;
supportW = 4;
screwHole = 4;
module p1() {
translate([width/2,(legW+supportW)/2,0]) cube([supportW, supportW, height], center=true);
}
module p2() {
translate([width/2,-(legW+supportW)/2,0]) cube([supportW, su... | glb/cad_71117ae7d40f.glb |
Create a Yaw Motor Mount consisting of a central plate and a supporting bracket. Start with a main plate formed by the convex hull of a cylinder with a 14mm radius and two smaller rectangular blocks positioned symmetrically on either side. The plate should have a central vertical hole with a 4mm radius and a length of ... | screw_diameter_scale = 1.1;
tube_diameter_scale = 1.1;
motor_angle = 45;
motor_diameter = 28.0;
motor_screw_diameter = 3.0;
motor_screwcap_diameter = 6.0;
motor_shaft_diameter = 8.0;
motor_hole_dist_1 = 19.0;
motor_hole_dist_2 = 15.9;
tube_diameter = 5.0;
tube_offset = 2.0;
tube_wall = 2.0;
tube_overlapping = 28;
se... | glb/cad_2187ea53f2af.glb |
Create a propane wrench tool with a base thickness of 10mm. Start by forming a central body that is a combination of a rectangular block and cylinders. Place two cylinders with a radius of 6mm and a height of 10mm at positions [-35, -14, 0] and [35.5, -14, 0]. Add a central rectangular block measuring 10mm by 70mm by 1... | use <write.scad>;
color ("blue")
translate (v=[0,-8,9])
rotate (a=[180,180,0])
writecircle("Camperforum",h=6,t=4,[0,0,0],27);
color ("red")
translate (v=[-24,25,0])
cylinder (h=10, r1=5, r2=5);
translate (v=[24.5,25,0])
cylinder (h=10, r1=5, r2=5);
translate (v=[-23,5,0])
cube (size=[9.5,25,10]);
translate (v=[14,5,0... | glb/cad_f0775a08530d.glb |
Create a set of Flyscreen Door Catches consisting of the following components:
First, create a Catch Body as a rectangular block measuring 55mm in height, 14mm in width, and 12.5mm in depth. Apply a 2mm fillet to all edges. Hollow out the center to leave a shell thickness of 2.5mm, and create a slot on the top face by... | $fn=45;
CHAMFER_RADIUS=2;
CAP_DIAMETER=12.5;
CAP_HEIGHT=5;
CATCH_BODY_H=55;
CATCH_BODY_W=14;
CATCH_BODY_D=12.5;
CATCH_BODY_SCREW_DIAMETER=4.2;
SLIDE_BODY_H=55;
SLIDE_BODY_W=19;
SLIDE_BODY_D=8;
SLIDE_BODY_SLOT_W=8;
SLIDE_BODY_SCREW_DIAMETER=4.2;
POST_CENTERS=9.5;
POST_DIAMETER=8;
POST_HEIGHT=9;
POST_SCREW_DIAMETER=... | glb/cad_44dff93a8b70.glb |
Create a Motor Mount Extruder designed for a Nema 17 motor. The main body is a cylindrical housing with a radius of 25mm and a height of 3mm, featuring a central cutout to accommodate the motor.
Integrate a filament guide path positioned 12mm from the motor center with a radius of 1.25mm. On the side of the mount, in... | slop = .2;
wall = 3;
motor_w = 42;
motor_r = 50/2;
gear_dia = 13;
gear_rad = gear_dia/2;
m3_nut_rad = 6/cos(30)/2;
m3_nut_height = 3;
m3_rad = 1.8;
m3_cap_rad = 3.25;
m4_rad = 2+slop;
m4_nut_rad = 7.8/2+slop;
m4_nut_height = 3.2;
m4_cap_rad = 7/2+slop;
m5_nut_rad = 8.4/cos(30)/2+slop;
m5_nut_height = 4+slop;
m5_ra... | glb/cad_7fbd2ea934a2.glb |
Create a Motor Mount Extruder designed for a Nema 17 motor. Start with a cylindrical motor base of 50mm radius and 3mm thickness. Build a main body around this base that incorporates a guided filament path with a radius of 1.25mm, positioned 12mm from the motor center.
Integrate an idler assembly featuring a 16mm diam... | slop = .2;
wall = 3;
motor_w = 42;
motor_r = 50/2;
gear_dia = 13;
gear_rad = gear_dia/2;
m3_nut_rad = 6/cos(30)/2;
m3_nut_height = 3;
m3_rad = 1.8;
m3_cap_rad = 3.25;
m4_rad = 2+slop;
m4_nut_rad = 7.8/2+slop;
m4_nut_height = 3.2;
m4_cap_rad = 7/2+slop;
m5_nut_rad = 8.4/cos(30)/2+slop;
m5_nut_height = 4+slop;
m5_ra... | glb/cad_b6cde8c31a05.glb |
Create a 3D model of a Revolve2 demo scene consisting of three distinct geometric components.
First, create a helical screw-like object by rotationally extruding a square profile defined by the points [[0, 11], [0, 9], [2, 9], [2, 11], [4, 11]] along a length of 40mm. Set the number of threads to -2 and apply a scale ... | period = 3;
function prof_sin(z) = [z, 10+sin(z*360/period)];
sin_prof = [for (z=linspace(start=0, stop=period, n=15)) prof_sin(z)];
revolve( sin_prof, length=30, nthreads=2, $fn=30);
sqr_prof = [[0,11],[2,11],[2,9],[4,9],[4,11]];
intersection() {
translate([-20,10,-10]) cube([20,100,50]);
union () {
color("r... | glb/cad_f390e1fe59b2.glb |
Create a domekit 2V pentagonal connector. Start with a base shape that is a 21-sided prism with a radius of 40mm and a height of 18mm. From this base, remove five identical holes arranged in a radial pattern every 72 degrees. Each hole is a teardrop-shaped cutout with a radius of 5mm and a depth of 40mm. Position these... | strutradius = 5;
holedepth = 40;
module tearDrop(radius, height) {
union(){
cylinder(h=height,r=radius,center=true);
intersection(){
rotate(45,[0, 0, 1]) scale([1, 1, height]) cube(size=2*radius, center = true);
translate([1.75*radius,0,0]) scale([1,1,height/10]) cube(size=2*radius, center=true);... | glb/cad_e7e11e2c7690.glb |
Create a domekit 2V hexagonal connector. Start with a primary cylindrical body that has a radius of 40mm and a height of 20mm. This body should be shaped as a 21-sided prism.
From this main body, remove six strut holes arranged in a circular pattern every 60 degrees. Each hole is a teardrop shape with a radius of 5mm... | strutradius = 5;
holedepth = 38;
module tearDrop(radius, height) {
union(){
cylinder(h=height,r=radius,center=true);
intersection(){
rotate(45,[0, 0, 1]) scale([1, 1, height]) cube(size=2*radius, center = true);
translate([1.75*radius,0,0]) scale([1,1,height/10]) cube(size=2*radius, center=true);... | glb/cad_5609f7976628.glb |
Create a customizable bookmark by starting with a solid rectangular base measuring 45mm in length, 26mm in width, and 0.6mm in height. From this base, remove a smaller rectangular section to create a hollowed-out center. This interior cutout should be 40mm long and 20mm wide, positioned so that it leaves a consistent 3... | w=20.0;
l=40.0;
h=0.6;
border=3;
top_additional = 2;
module u_figure(l, w, h, border) {
w2 = w - border*2;
difference() {
cube([l, w, h]);
translate([-border, border, 0])
cube([l, w2, h]);
}
}
module bookmark(l, w, h, border) {
difference() {
cube([l+border*2+top_ad... | glb/cad_8eef802f9fb2.glb |
Create a spiral fidget spinner with a height of 7mm. The main body is a flat spiral arm with a width of 0.7mm, starting from an inner radius of 12.5mm and expanding to an outer radius of 50mm over 5.5 full revolutions.
Surround the spiral with an outer rim that has a thickness of 4mm. To balance the center of mass, c... | revolutions=5.5;
w=.7;
step=1;
outerr=50;
innerr=12.5;
outerw=4;
height=7;
a=innerr;
b=ln(outerr/a)/360/revolutions;
function r(t) = a*exp(b*t);
function xout(t) = (r(t)+w/2)*cos(t);
function xin(t) = (r(t)-w/2)*cos(t);
function yout(t) = -(r(t)+w/2)*sin(t);
function yin(t) = -(r(t)-w/2)*sin(t);
points=concat(
... | glb/cad_e5629ac90fd1.glb |
Create a set of parametric pin connectors consisting of a pin and matching sockets. For the standard size, use a socket hole diameter of 7mm and a length of 10.8mm.
Construct the pin as a cylinder with a radius of 3.5mm, minus a 0.2mm clearance gap. The pin should feature a snap-fit nub with a height of 0.5mm and a de... | pointed = 1;
fins = 1;
preload = 0.2;
clearance = 0.2;
printable = 1;
shadow_socket = 1;
spacing = 20;
cylinder_thickness = 2;
part = "all";
size = "standard";
custom_length = 10.8;
custom_diameter = 7;
custom_snap = 0.5;
custom_snap_depth = 1.8;
custom_thickness = 1.8;
$fn = 40;
if (size == "standard")... | glb/cad_f01773dc3276.glb |
Create an Akimbo Spool cradle consisting of three identical vertex components arranged in a triangular formation.
First, create a roller vertex by starting with a solid shape formed by the intersection of two cylinders with 13mm radii, rotated 30 degrees relative to each other and centered on a 20mm wide, 18mm thick ... | include <more_configuration.scad>
use <teardrops.scad>
use <barbell.scad>
m8_washer_diameter = 19;
m8_washer_thickness = 1.4;
m4_nylock_thickness = 4;
$fa=1;
$fs=1;
roller_radius = m8_nut_diameter/2+3;
hub_radius = 38/2;
vertex_inset = 35;
vertex_width = 20;
vertex_thickness = 18;
roller_bearing = 624_bearing;
... | glb/cad_b783690160ca.glb |
Create a toy cart replacement wheel with a total thickness of 30mm and an outer radius of 50mm. The main body is a hollow cylinder with a wall thickness of 2.5mm. The outer rim features a 5mm bevel where the radius tapers from 45mm to 50mm over the first 5mm of height.
At the center, construct an axle housing. Create... | $fa = 1 ;
wheelR = 50;
wheelThick = 30;
wheelWall = 2.5;
wheelBevel = 5;
axleThinR = 3;
axleThickR = 5;
axleThick = 4;
axleOvershoot = 3.5;
axleCountersinkDepth = 7;
axleCountersinkR = 8;
axleThinDepth = axleCountersinkDepth + 21;
fileName = "wheel spoke.dxf";
test();
module test(){
difference(){
union(){
spokes(3);... | glb/cad_f453177c6d5e.glb |
Create two interlocked rings to form a chain link. Each ring is a flat washer shape with an outer radius of 15mm, an inner radius of 10mm, and a thickness of 4mm. Use a facet resolution of 50 for the circular edges. Position the first ring so its center is at x=-5, y=0, z=10, and rotate it 60 degrees around the x-axis.... | translate( v=[0,0,10] ) {
difference() {
union() {
rotate( a=60, v=[1,0,0] ) {
translate( v=[-5,0,0] ) {
difference() {
cylinder( r=15, h=4, $fn=50 );
cylinder( r=10, h=4, $fn=50 );
}
}
}
rotate( a=-60, v=[1,0,0] ) {
translate( v=[5,0,0] ) {
difference() {
cylinder( r=15, h=4, $fn=50 );
cylinder( r=10, h=4, $fn=50 );
}... | glb/cad_9b3292ed8316.glb |
Create a parametric delta arm coupler consisting of two stacked cylindrical sections with a 25-facet resolution. Start by creating a base cylinder with an outer diameter of 6.55mm and a total height of 5.2mm. Within this base, remove a central coaxial hole with a diameter of 5.15mm and a height of 4mm, leaving a solid ... | traxxasInnerDiameter = 3.35;
traxxasHeight = 4;
tubeInnerDiameter = 2.85;
tubeOutterDiameter = 5.15;
tubeHeight = 4;
outterWall = 1.2;
fn=25;
union(){
cylinder(r=tubeInnerDiameter/2, h= tubeHeight+outterWall, $fn=fn);
translate([0,0,tubeHeight+outterWall])cylinder(r=traxxasInnerDiameter/2, h= traxxasH... | glb/cad_dd666d757690.glb |
Create a locking pattern assembly consisting of a rectangular base with integrated interlocking tabs. Start with a central rectangular block that is 75mm long, 60mm wide, and 10mm high. From this main body, remove a central rectangular section measuring 72mm by 57mm and 10mm deep to create a recessed tray.
Within this... | $fn=50;
difference() {
side();
translate([0,10,-10/2]) linear_extrude(height = H)
square([10*7.5 - 3, 8*7.5 - 3], center = true);
translate([-72,-11,-10/2]) linear_extrude(height = H)
square([10*7.5 - 3, 8*7.5 - 3], center = true);
}
... | glb/cad_98cbf8ee0f71.glb |
Create a cord toggle by starting with a sphere that has a diameter of 12.5mm. Center the sphere so that its middle is positioned 3.125mm above the origin on the Z-axis. Remove a vertical cylindrical hole with a diameter of 4mm that passes completely through the center of the sphere along the Z-axis. Additionally, remov... | dia = 25;
holeDia = 4;
coneDia = 20;
coneHeight = 27;
translate([0,0,dia/4])
difference(){
sphere(dia/2,$fn=72);
holes();
}
module holes () {
union(){
translate([0,0,-dia/2])
cylinder(h=coneHeight,r1=coneDia/2,r2=0,$fn=72);
translate([-dia/2,-dia/2,-dia*5/4])
cube(dia);
translate([0,0,-dia])
cyl... | glb/cad_7df5bc64e2f5.glb |
Create six identical hold-down clips arranged in a circular pattern, each rotated 60 degrees apart around a central point. To construct a single clip, start with a base rectangular block 8mm long, 8mm wide, and 2mm thick. Attach a second block to the end of the base that is 2mm wide, 8mm wide, and 8.5mm high, positione... | h = 4.5;
r1 = 8;
r2 = 10;
w = 8;
t = 2;
sh = 3.5;
count = 6;
for (i=[1:count]) {
rotate([0,0,i*60]) translate([10,0,0]) rotate([90,0,0]) clip();
}
module clip() {
difference() {
union() {
cube([r1,w,t]);
translate([r1,0,0]) cube([t,w,h+2]);
translate([r1+t,0,h]) cube([r2,w,2]);
}
translate([r1/2,w/2... | glb/cad_dfb1a37e0352.glb |
Create an Arduino Mega OpenBeam Mount as a flat plate with a thickness of 2mm. The main body is a rectangular frame with rounded corners, designed to bridge two parallel beams.
First, create the base plate. Within this plate, place four mounting holes for the Arduino Mega: two holes spaced 15.24mm apart on the X-axis... | h1 = [15.24,50.8];
h2 = [90.16,50.8];
h3 = [13.97,2.54];
h4 = [96.2,2.54];
t=2;
bp = [102,74];
bc = 15/2;
ob1 = [bc,bc];
ob2 = [bc,bp[1]-bc];
ob3 = [bp[0]-bc,bp[1]-bc];
ob4 = [bp[0]-bc,bc];
hw = 5;
megaplate();
module megaplate() {
translate(-h2/2)
difference() {
union() {
hullize(ob1,ob2);
hullize(ob2,ob3);
... | glb/cad_2d1c7c6265bd.glb |
Create a case for a Kanga Products SDR Rx PCB consisting of a rounded rectangular box and a matching lid.
The main box has external dimensions of 95mm x 39mm x 30mm with corner radii of 2.5mm and a wall thickness of 1.5mm. The box is hollowed out, leaving a floor and four corner standoffs. Each corner standoff has an... | use </Users/dmp/Dropbox/Reprap/Utils/teardrops.scad>
use </Users/dmp/Dropbox/Reprap/Utils/roundCornersCube.scad>
use </Users/dmp/Dropbox/Reprap/Utils/polyhole.scad>
module standoff(outer_diam, inner_diam, height, hole_depth) {
difference() {
cylinder(r=outer_diam/2, h=height, $fn=50);
translate([0,0, height - ho... | glb/cad_678fcc853ec0.glb |
Create a customizable hinge consisting of two rectangular backplates, a central pin, and a series of interlocking couplers.
Each backplate should be a rectangular slab measuring 40mm in height and 50mm in length with a thickness of 3mm. On the face of each backplate, create a 3x3 grid of circular screw holes with a r... | left_or_right_mount="left";
scharnier_dicke=3;
backplates=2;
hinge_height=40;
hinge_length=50;
radius_screw_backplate=1.5;
radius_screw_hinge=1.7;
pin_radius=2.2;
coupler_strength=2;
fixing_holes_distance_edge=10;
fixing_holes_amount_vertical=3;
fixing_holes_amount_horizontal=3;
pin_airgap=0.6;
scharnier_r... | glb/cad_7f0173895a55.glb |
Create a screwdriver stand consisting of a flat rectangular base with four upright support legs at each corner. The base should be 140mm long and 60mm wide, with a thickness of 4mm (including rounded edges with a 1.5mm radius).
In the center of the base, create a grid of 21 holes arranged in 7 rows and 3 columns. Eac... | $fn = 64;
$rows = 7;
$cols = 3;
$distance = 20;
$hole_dia = 6;
module rectangular_array(rows, cols, distance){
for( i = [0:1:rows-1] ) {
for( j = [0:1:cols-1] ) {
translate([i*distance,j*distance,0])
children();
}
}
}
difference() {
minkowski() {
cube([$rows*$distance,$cols*$distance,1])... | glb/cad_76077aecbcfb.glb |
Create a parametric ball bearing consisting of an outer ring, an inner ring, and a series of spherical balls.
The outer ring has an outer diameter of 40mm and a width of 8.7mm, with a total height of 9mm. It features a central circular cutout and a groove for the balls. The groove is defined by a radius of 2.5mm, pos... | outer_dia = 40.0;
outer_width = 8.70;
inner_dia = 11.5;
inner_width = 3.5;
outer_inset_radius = 2.5;
outer_inset_distance = 1.0;
ball_inset_radius = 1.5;
ball_inset_distance = .25;
ball_inset_num = 1;
ball_base_inset = 0.5;
ball_base_inset_height = 0.75;
ball_clearance = .340;
ball_outer_dia = ((outer_dia-outer_widt... | glb/cad_de26f5bd2ac4.glb |
Create a Custom 3D Printer Dampener Foot with a base footprint of 40mm x 25mm and a height of 20mm. The overall shape is a diamond-cross hybrid, formed by the union of two intersecting rectangular-based prisms that taper upward. The vertical profile should be rounded (filleted) with the top surface scaled to 40% of the... | mode = "Diamond & Cross";
foot_dimensions = [40, 25, 20];
screw_dimensions = [5.5,10,7.5];
resolution = 50;
resolution_slices = 25;
foot_scale = 0.4;
foot_scale_tip = [.2, .6];
fillets_p = "yes";
cutout_diameter = 0;
cutout_height = 0;
$fn=resolution;
mode_diamond = mode == "Diamond" || mode == "Diamond & Cro... | glb/cad_8b659f258a19.glb |
Create a mounting plate for an ESP32 control board with a total thickness of 4mm. The main body is a flat plate measuring 130mm wide by 86.5mm long.
In the center of the plate, create a large circular cutout with a diameter of 70mm, and inside that, two smaller circular cutouts with diameters of 40mm positioned to al... | board_hole_diameter=4;
board_hole_spacing=80;
board_width=126;
board_length=64;
wing_width=45;
cutout_board_large=70;
cutout_board_small=40;
cutout_wing=90;
button_offset_width=6.7;
button_offset_length=4.4;
button_to_button_width=15.75;
button_hole_size=2;
button_width=7;
button_length=10;
mount_board_width=130;
mount... | glb/cad_898e727f323e.glb |
Create a 40mm fan housing. Start with a central base created by combining a cube of 36mm x 36mm x 8mm with a 2mm radius rounding on the corners, then add a cylinder with a radius of 18.5mm and a height of 14mm centered on the base. Remove four circular holes with a radius of 2mm, each centered 16.5mm from the origin al... | color("DarkSlateGray",1) fan();
module fan(){
$fn=50;
difference(){
union(){
difference(){
union(){
translate([0,0,0]) minkowski() {
cube([36,36,8], center=true);
cylinder(r=2,h=2);
}
}
union(){
translate([0,0,1]) cylinder(h=14, r=37/2, $fn=60, center=true);
}
}
}
for (i=[0:3]){
rotate(... | glb/cad_70c23faaaf7d.glb |
Create a Multicore Cable Peeler consisting of a handle, a rotating disk, and a blade clamp.
Construct the handle as a block with a length of 90mm, width of 14mm, and height of 14mm. Carve a cylindrical cavity with a radius of 6.5mm into the handle to house the blade and a larger cylindrical recess with a radius of 25... | eh=0.24;
ew=0.56;
module cablepeeler(
handle = 1,
clamp = 1,
disk = 1,
print = 0,
diameter=
[[8,4,7.5,4.5,7,5,6.5,5.5,6,3.5],
[13,9,12,10,11,8.5]],
dindex = -1,
dmax = 13,
R = 25,
wall = 4.5,
grvw = 1,
grvd = 3,
gl = 90,
gw = 14,
gh = 14,
m4 = 4.4,
m3 = 3.2,
m3n=5.6,
m3nh=3.3,
gap = 0.5,
pos = 0,
bw = 9.0,
bh = 1,... | glb/cad_b42b0fddab42.glb |
Create a dog bone shape centered at the origin. Start by placing two spheres with a radius of 5mm each, positioned along the y-axis at [0, 0, 0] and [0, 30, 0]. At each of these two positions, create a cluster of two smaller spheres, each with a radius of 3.5mm, offset from the center along the x-axis by 3.5mm in both ... | $fn=60;
bone_length = 30;
bone_end = bone_length/6;
bone_end_offset = 0.7*bone_end;
module bone_end () {
translate([-bone_end_offset,0,0]) sphere(r=bone_end);
translate([bone_end_offset,0,0]) sphere(r=bone_end);
}
module bone_body () {
hull () {
hull () {
translate([-bone_end_offset/2,0,0]) sphere(r=bone_end_o... | glb/cad_f48872464ae4.glb |
Create a two-part snap-fit housing for small circuits. Both the top and bottom sections are based on a rounded rectangular box with outer dimensions of 85.2mm in length, 27.2mm in width, and 19.2mm in height, featuring a wall thickness of 1.6mm and corner radii of 2mm.
For the bottom section, create the rounded box an... | inner_length=82;
inner_width=24;
inner_height=16;
wt=1.6;
$fn=100;
ws=max(5, inner_length/10);
module BoxAbgerundet(v, r=2) {
hull() {
translate([ r, r, r]) sphere(r=r);
translate([v.x-r, r, r]) sphere(r=r);
translate([ r, v.y-r, r]) sphere(r=r);
translate([v.x-r, v.y-r, ... | glb/cad_cfe4018612f1.glb |
Create a winch support for a CR10 printer by starting with a solid rectangular block measuring 36mm in width, 20mm in depth, and 27mm in height, ensuring all edges and corners are rounded with a 2mm radius. Carve out a central vertical slot measuring 4.5mm wide, 10mm deep, and 35mm high to accommodate a clip. Remove a ... | q=4;
module rcube(siz, rad) {
xi = max(0,siz[0]/2-rad);
yi = max(0,siz[1]/2-rad);
hi = siz[2];
hull() {
translate([ xi, yi,0]) cylinder(r=rad,h=hi, center=true, $fn=10*q);
translate([-xi, yi,0]) cylinder(r=rad,h=hi, center=true, $fn=10*q);
translate([ xi,-yi,0]) cylinder(r=rad... | glb/cad_43a0111e14bd.glb |
Create a Mendel Y foot with bearing. Start with a central base block 20mm wide, 20mm deep, and 20mm high. At the top, add a rectangular plate 42mm wide, 20mm deep, and 3mm thick.
In the center of the base, create a vertical cylindrical hole with a radius of 4mm and a height of 80mm. On the left and right sides of the ... | m4_clearance_rad=2.8;
m6_clearance_rad=3.7;
m8_clearance_rad=4.7;
post_wid=20;
module box(w,h,d) {
scale ([w,h,d]) cube(1, true);
}
module roundedBox(w,h,d,f){
difference(){
box(w,h,d);
translate([-w/2,h/2,0]) cube(w/(f/2),true);
translate([w/2,h/2,0]) cube(w/(f/2),true);
translate([-w/2,-h/2,0]) cube(w/(f... | glb/cad_bad7bf3887ea.glb |
Create a cylindrical lithophane with a height of 60mm. The overall shape is a semi-cylindrical shell with a radius of approximately 12.86mm (calculated from a surface width of 40.4mm divided by PI). The wall thickness of the cylinder is 2mm.
The model features a height map image rendered as a variable-thickness relief... | cylinder_height = 60;
image_thickness = 2;
direction = "inside";
surface_file = "surface.dat";
background = "dark";
extrusion_width = 0.4;
n_facets = 21;
image_width = 81;
image_height = 61;
slop = 0.1;
surface_width = cylinder_height / image_height * image_width;
cylinder_r = surface_width / PI;
step_distance ... | glb/cad_dc1aef35c65f.glb |
Create a Rokenbok Beam consisting of four identical connected blocks. Each block is a cube with an outer dimension of 20mm and a central square window of 12mm, resulting in a wall thickness of 2mm. Arrange the four blocks in a linear row along the X-axis to create a total beam length of 80mm.
The beam features snap-fi... | number_of_blocks = 4;
snaps = 1;
supports = 0;
male_snap_fit_tolerance = 0;
female_snap_fit_tolerance = 0;
support_thickness = 0.2;
WINDOW = 12+female_snap_fit_tolerance;
BLOCK_LENGTH = 20;
WALL = 2;
module block(origin = [0,0,0]) {
translate(origin) {
difference() {
cube(size = BLOCK_LENGTH, center = true)... | glb/cad_98dcbf1290ad.glb |
Create a parametric spool holder consisting of two symmetrical side plates and two integrated ball bearings.
First, construct two identical ball bearings. Each bearing should be a revolved shape with an outer diameter of 40mm, a height of 9mm, and an inner hole diameter of 11.5mm. The outer surface of the bearing sho... | bb_outer_dia = 40.0;
bb_inner_dia = 11.5;
bb_inner_width = 3.5;
bb_outer_inset_radius = 2.5;
bb_outer_inset_distance = 1.0;
bb_height = 9;
bb_body_int_hole_fn = 6;
bearing_dist = 140;
bearing_height = bb_outer_dia/2 + 5;
lateral_clearance = 0.5;
lateral_width = 5;
lateral_height = 20;
screw_hole_dia = 3;
screw_inset_d... | glb/cad_f0aa0113a219.glb |
Create a configurable clamp holder for a linear bushing. The main body is a block with a width and height of 24.68mm and a length of 21mm.
At the center of the block, create a cylindrical cutout with a diameter of 16.68mm and a length of 22mm to house the bushing. Along the top center of the block, create a rectangul... | TFZB_dia = 16.08 + 0.6;
TFZB_length = 21;
rod_dia = 12;
screw_thread_dia_iso = 3;
screw_head_dia_iso = 5.5;
screw_head_height = 4;
nut_wrench_size_iso = 5.5;
nut_height = 2;
clearance_dia = 0.5;
screw_thread_dia = screw_thread_dia_iso + clearance_dia;
screw_head_dia = screw_head_dia_iso + clearance_dia;
nut_wrench_si... | glb/cad_496c2ea5ec8a.glb |
Create a Coolant Pump Cover by starting with a main cylindrical housing 45mm in radius and 18mm in height. From the bottom face, remove a concentric cylinder with a radius of 42.75mm and a height of 1.3mm to create a thin face lip. Centered on the top face, remove a larger concentric cylinder with a radius of 28.875mm ... | bolthole = 5.5/2;
boltcapradius = 7.7/2;
boltcapstartheight = 13.9;
boltcount = 3;
boltcircleradius = 80/2;
facelipheight = 1.3;
facelipinsideradius = 85.5/2;
housingheight = 18;
housingradius = 90/2;
rotorradius = 57.75/2;
rotorinsetfromface = 14.1;
shaftradius = 17.7/2;
shaftrecessheight = 0.6;
pumpexitradius = ... | glb/cad_49a7fdcfc7e5.glb |
Create a Coolant Pump Cover consisting of a base and an integrated impeller. Start by creating a cylindrical base with a diameter of 53.3mm and a height of 2.35mm. Centered on this base, add a smaller cylindrical drive boss with a diameter of 14.1mm and a height of 11.5mm. Bore a vertical hole through the center of bot... | base = 2.35;
dia = 53.3;
medfn = 160;
drivedia = 14.1;
driveheight = 11.5;
shaftdia = 8.5;
drivebossthickness = 1.2;
impellerinnerdia = 11.5*2;
impellerheight = 8.25;
impellerradius = 28;
impellerthickness = 2;
impellerbladeqty = 5;
draftrenderingoffset = 1;
translate ([-shaftdia/2,shaftdia/2-1,0])cube ([shaftdia,... | glb/cad_8b8fe3a8ec91.glb |
Create a Rokenbok Quarter Circle Beam, which is a curved structural component. The main body is a quarter-circle arc with a thickness of 20mm. The arc is defined by an outer radius of approximately 50.99mm and an inner radius of approximately 40.73mm, creating a wall thickness of about 10.26mm.
The beam features a ser... | diameter_in_blocks = 5;
snaps = 2;
supports = 0;
support_thickness = 0.2;
male_snap_fit_tolerance = 0;
female_snap_fit_tolerance = 0;
index = (diameter_in_blocks-1)/2-2;
diameter = diameter_in_blocks;
BLOCK_LENGTH = 20;
WINDOW = 12+female_snap_fit_tolerance;
WALL = 2;
OR = BLOCK_LENGTH*sqrt( pow(diameter_in_bl... | glb/cad_3760b86a82fc.glb |
Create a Solar Tracker sensor support base. Start by constructing a central body as a four-sided pyramid (a cylinder with 4 facets) that is 50mm high, with a bottom radius of 40mm and a top radius of 27mm, centered on the Z-axis.
Remove four vertical holes from this body, each with a radius of 1.2mm and a height of 1... | module base() {
union() {
difference() {
rotate([0,0,45])
cylinder(r1 = 40, r2= 27, h=50, $fn = 4, center = true);
translate([0,0,22])
union() {
translate([15.5,13.5,0])
cylinder(r = 1.2, h= 15, $fn = 30, center = true);
translate([-15.5,13.5,0])
cylinder(r = 1.2, h= 15... | glb/cad_4b58c280b05c.glb |
Create a Customizable ROK Block with a length of 20mm, width of 40mm, and height of 40mm. Start by creating a solid rectangular prism of these dimensions.
Hollow out the center of the block by removing a smaller rectangular prism from the interior, leaving walls with a thickness of 2mm. Create a series of square wind... | length = 1;
width = 2;
height = 2;
supports = 0;
support_thickness = 0.2;
male_snap_fit_tolerance = 0;
female_snap_fit_tolerance = 0;
BLOCK_LENGTH = 20;
WINDOW = 12+female_snap_fit_tolerance;
TOP_WINDOW = 13.6;
WALL = 2;
PYRAMID_LENGTH = 11.6;
PYRAMID_HEIGHT = 8.5;
p1 = sqrt(pow(4.7,2)+pow(5,2));
module filletX... | glb/cad_60a3854664a1.glb |
Create a Customizable Arduino Mount consisting of a thin rectangular base plate with a grid of square cutouts and four mounting posts.
Start with a base plate measuring 80mm by 60mm with a thickness of 2mm. Carve a grid of 3x2 rectangular windows into the plate, where each window is 12mm wide and 12mm long. The windo... | mounting_points = 0;
mounting_post_height = 6;
mounting_post_diameter = 6.4;
screw_hole_diameter = 3.2;
pin_diameter = 2.9;
female_snap_fit_tolerance = 0;
$fn = 50;
WINDOW = 12+female_snap_fit_tolerance;
BLOCK_LENGTH = 20;
WALL = 2;
module mountingPost(origin = [0,0,0]) {
translate(origin)
difference() {
u... | glb/cad_b49d4aa8f54b.glb |
Create a Customizable RAM Mount Phone Clip consisting of two intersecting perpendicular clips.
First, create a horizontal clip. Start with a base block 68mm wide, 17mm deep, and 20mm thick. Subtract a central phone-shaped volume of 60mm x 9mm x 125mm. From the remaining outer walls, remove a central rectangular secti... | part = "both";
iphone_tweaks = 1;
flex_ridges = 1;
phone_width = 60;
phone_height = 125;
phone_depth = 9;
clip_thickness = 4;
clip_width = 20;
grip_width = 3;
cross_grips = 0;
cross_offset = -10;
cross_side = 1;
cross_tolerance = 0.5;
bolt_spacing = 48;
bolt_diameter = 4.8;
head_diameter = 10;
bolt_radi... | glb/cad_0ebc821902a2.glb |
Create a Customizable Rokenbok GoPro Mount. Start by constructing a central cubic block with a side length of 20mm. From this block, remove a smaller concentric cube of 16mm (leaving 2mm walls) and cut out a central window of 12mm in each dimension to create a hollow frame.
On one side of the block, add a cylindrical ... | snaps = 1;
supports = 0;
support_thickness = 0.2;
male_snap_fit_tolerance = 0;
female_snap_fit_tolerance = 0;
OD = 15;
ID = 5.3;
width = 14.3;
center_width = 3.3;
gap = 3.1;
captive_nut_height = 3.4;
captive_nut_length = 8.1;
captive_nut_OD = 11;
WINDOW = 12+female_snap_fit_tolerance;
BLOCK_LENGTH = 20;
WALL = 2;... | glb/cad_0b72cebbd579.glb |
Create a Customizable Rokenbok Smartphone Mount. Start by constructing a central cubic block with a side length of 20mm. From this block, remove a central cubic void of 12mm per side to create a hollow shell with 4mm thick walls.
On one side of the block, create a rectangular slot to hold a smartphone. This slot shoul... | slot_width = 7.9;
slot_height = 10;
wall_thickness = 4;
floor_height = 0.6;
snaps = 1;
supports = 0;
male_snap_fit_tolerance = 0;
female_snap_fit_tolerance = 0;
WINDOW = 12+female_snap_fit_tolerance;
BLOCK_LENGTH = 20;
WALL = 2;
slot_length = BLOCK_LENGTH;
module block(origin = [0,0,0]) {
translate(origin) {
... | glb/cad_f2f5f2ae18f8.glb |
Create a stackable coin holder consisting of a series of vertical cylindrical tubes arranged in a row. The holder has a base height of 4mm.
Construct four concentric cylindrical shells with wall thicknesses of 2mm. The inner diameters of these tubes, from largest to smallest, are 24.76mm, 21.71mm, 19.55mm, and 18.41m... | part = "us";
gap = 30;
d_wall = 2;
h_base = 4;
h_indent = 0;
h = 60;
tolerance = 0.5;
tol = tolerance;
r_us_coin = [(24.26 + tol) / 2,
(21.21 + tol) / 2,
(19.05 + tol) / 2,
(17.91 + tol) / 2];
r_us_all_coin = [(30.61 + tol) / 2,
(26.49 + tol) / 2,
... | glb/cad_4bceb918424c.glb |
Create a Dashboard Mount for Garmin Outdoor GPS consisting of two main components: a baseplate and a hinged clip.
First, create the baseplate as a flat rectangular plate. In the center of the plate, carve a longitudinal slot 65mm long and 19.7mm wide with a depth of 5.25mm. At each end of this slot, place a circular h... | $fn = 60;
module arc(r1,r2,h,a1=0,a2=0){
if(a2-a1<=180){
difference(){
cylinder(r=r2,h=h);
translate([0,0,-1])cylinder(r=r1,h=h+2);
rotate(a2)translate([-r1-r2,0,-1])cube([2*(r1+r2),2*(r1+r2),h+2]);
rotate(a1+180)translate([-r1-r2,0,-1])cube([2*(r1+r2),2*(r1+r2)... | glb/cad_6594df12cf83.glb |
Create a table football repair figure consisting of a stylized humanoid shape. Start with the torso by combining a sphere scaled to 14mm x 14mm x 28mm with a central cylinder of 30mm length and 10.6mm diameter. Remove a central longitudinal hole of 8.3mm radius and a rectangular slot measuring 2mm x 26mm x 2mm. Additio... | module mann()
{
rohr=16.6/2;
difference()
{
union()
{
scale([1,1,2])sphere(14);
rotate([0,90,0])cylinder(30,rohr+2,rohr+2,center=true);
}
union()
{
rotate([0,90,0])cylinder(31,rohr,rohr,center=true);
translate([00,0,0])scale([2,26,2])cube(1,center=true);
rotate([90,0,0])
cylinder(50,2.2,2.2,... | glb/cad_f47e75e974d5.glb |
Create a table football repair handle. Start with a central vertical cylinder that has a diameter of 17mm and a total height of 115mm. This cylinder should have a hollow center bore with a radius of 8.25mm.
Around the middle of this central body, add a decorative outer ring created by rotating a circle with a radius ... | stab_d=16.4;
stab_r=stab_d/2;
intersection()
{
difference()
{
intersection()
{
translate([0,0,125/2])
cube([32,32,125],center=true);
translate([0,0,125/2])rotate([0,0,120])
cube([32,32,125],center=true);
translate([0,0,125/2])rotate([0,0,240])
cube([32,32,125],center=true);
}
difference(... | glb/cad_f18e28d5dcb5.glb |
Create a table football repair part by starting with a sphere that has a radius of 15mm and a facet resolution of 30. From this sphere, remove a central vertical cylinder with a radius of 8.5mm and a height of 46mm, centered vertically so it extends from the center to 40mm below. Additionally, remove a central cube wit... | difference()
{
sphere(15,$fn=30);
union()
{
difference()
{
translate([0,0,-40])cylinder(46.01,8.5,8.5,$fn=30);
union()
{
rotate([ 0,90,0])translate([8,18,0])
cylinder(5,10,10,center=true);
rotate([120,90,0])translate([8,18,0])
cylinder(5,10,10,center=true);
rotate([240,90,0])translate([8,... | glb/cad_7aefb0bf0e64.glb |
Create a table football repair figure consisting of a stylized human form. The torso is formed by a sphere with a radius of 14mm, scaled by a factor of 2 along the Z-axis, merged with a central cylinder of 30mm length and a radius of 10.3mm. Remove a central cylindrical hole with a radius of 8.3mm and a length of 31mm.... | brim=.6;
module mann()
{
rohr=16.6/2;
difference()
{
union()
{
scale([1,1,2])sphere(14);
rotate([0,90,0])cylinder(30,rohr+2,rohr+2,center=true);
}
union()
{
rotate([0,90,0])cylinder(31,rohr,rohr,center=true);
translate([00,0,0])scale([2,26,2])cube(1,center=true);
rotate([90,0,0])
cylinder(... | glb/cad_055c8ebde2c2.glb |
Create a hexagonal chainmail mesh composed of interlocking hexagonal rings. Each individual ring is a hexagonal prism with a side length of 20mm, a wall thickness of 2mm, and a height of 3mm. To allow the rings to interlock, each ring must have three equidistant gaps cut into its walls; these cuts are small triangular ... | s = 20;
w = 2;
d = 1;
h = 3;
a = 2.3;
N = 7;
M = 14;
Rows(N, M, s, w, d, h);
*Link(s, w, d, h);
module Rows(M, N, s, w, d, h) {
s1 = s*cos(30);
w1 = w*cos(30);
dx = s/2+s1/4-w1-a;
dy = s1-2*w1-a;
module Row2(N, s, w, d, h) {
module Row(N, s, w, d, h) {
for (i = [0:1:N-1]) {
... | glb/cad_88b9e8abdf3e.glb |
Create a monitor stand with a total depth of 200mm, a height of 100mm, and an extrusion thickness of 30mm. The main body is a hollowed-out shell with walls 4mm thick, except for the top wall which is 2mm thick.
The footprint is a symmetric polygon. The base is 208mm wide (board width plus two 4mm walls). The side wal... | height = 100;
board_width = 200;
extrusion_height = 30;
board_height = 8.3;
wall_below_board = 12;
foot_width = 12;
walls = 4;
top_wall = 2;
screw_diameter = 3.3;
screw_head_height = 2;
rounded_corners = "no";
corner_... | glb/cad_d843bd14985f.glb |
Create a toothbrush stand with a hollowed-out, elongated base. The overall outer dimensions are 25mm deep and 40mm high. The base is a rounded rectangular prism with a wall thickness of 1.6mm.
Along the length of the stand, create four circular slots to hold toothbrush heads. Each slot is centered 30mm apart, starting... | slots=4;
distance=30;
depth=25;
height=40;
wt=1.6;
$fn=100;
lro=7;
li=(slots-1)*distance+2*lro;
module HexPatternV2(v, r=10, w=1, i=true, a=false) {
dx=r*1.5;
dy=r*0.866025;
sy=(i) ? -0.1 : 0;
az=(i) ? 0.2 : 0;
r1=(a) ? r-w/2-(v.z+0.2) : r-w/2;
intersection() {
difference() {
if(i) cube(v);
... | glb/cad_8ff45cd9964c.glb |
Create a Venturi conduit consisting of a main vertical tube and an angled side branch. Start with a main vertical cylinder 30mm high with an outer diameter of 11.5mm and a concentric inner hole 8.5mm in diameter. At the top of this cylinder, add a tapered connector that transitions from the 11.5mm base diameter down to... | diametrecylindre = 11.5;
diametretroucylindre = 8.5;
hauteurcylindreprincipal = 30;
hauteurcylindresecondaire = 20;
diametrecylindresecondaire = 9.5;
diametretroucylindresecondaire = 6.5;
anglecylindresecondaire = 30;
hauteurintersection = 9;
hauteurconnecteur = 16;
diametreconnecteur = 5;
epaisseurconnecteur = 2.5 ;
h... | glb/cad_cbc4c3137490.glb |
Create a basic parametric hole plug. Start by forming a wide, thin circular base with a diameter of 32.75mm and a height of 2mm. Centered on this base, build a main cylindrical body with a diameter of 28.75mm and a total height of 4mm. The top 2mm of this body should transition from a diameter of 24.75mm at the bottom ... | overhang=2;
underhang=0.5;
hole_diameter=28.75;
material_thickness=2;
top_thickness=2;
number_of_cuts=4;
wall_thickness=2;
color("Silver") union () {
cylinder(r=(hole_diameter+overhang*2)/2,h=top_thickness,$fn=30);
difference () {
union () {
cylinder(r=hole_diameter/2,h=(top_thickness+material_thickness));
tran... | glb/cad_dd6f3cbdd16c.glb |
Create a bookscanner connector part. Start by creating a cylindrical sleeve with an outer diameter of 8.3mm and an inner hole diameter of 4mm, both centered on the Z-axis. The sleeve should have a total height of 16.6mm, with the inner hole passing completely through.
Next, create a rectangular block that intersects ... | include <configuration.scad>
gap=3.3;
outer_diameter = m8_diameter/2+gap;
inner_diameter=m8_diameter/2;
nut_diameter=m3_nut_diameter;
bolt_diameter=m3_diameter;
minbolt_length=5;
nut_height=2.5;
angle=90;
heightfudge=-1.5;
module rodhole(){
difference(){
cylinder(h =outer_diameter*2, r = outer_diameter, $fn = 20,c... | glb/cad_f816ca02059c.glb |
Create a bar clamp for a bookscanner by constructing a central cylindrical body with a diameter of 20mm. Within this body, create two intersecting cylindrical holes to accommodate rods. The first hole is horizontal, passing straight through the center of the body with a length of 21mm and a diameter of 10mm. The second... | include <configuration.scad>
outer_diameter=nut_diameter;
difference(){
translate([0,0,-0.1])
difference(){
union(){
translate([0,0,outer_diameter/2])rotate([0,90,0])cylinder(h=rod_length,r=outer_diameter/2,center=true);
translate([0,outer_diameter/2+rod_diameter/2,rod_length/2])rotate([0,45,0])rotate([0,90,0])cyl... | glb/cad_efcb275e8b17.glb |
Create a platen connector for a bookscanner by starting with a central cylinder that has a height equal to the nut diameter and a radius equal to the rod length, centered on the Z-axis. From this main body, remove three cylindrical holes of the same rod length radius to create space for the rods. Position the first two... | include <configuration.scad>
difference(){
translate([0,0,nut_diameter/2])
cylinder(h=nut_diameter,r=rod_length,center=true);
union(){
rotate([0,0,platen_angle/2])rodandtrappednut(rod_length);
rotate([0,0,-platen_angle/2])rodandtrappednut(rod_length);
translate([-nut_diameter/2,-rod_length,0])rotate([0,0,90])rodand... | glb/cad_146a0b9591c3.glb |
Create a platen connector for a bookscanner. Start with a central cylinder that has a radius of 10mm and a height of 10mm, centered vertically at a height of 5mm. From this cylinder, remove two identical cylindrical voids to create rod supports. Each void must have a radius of 10mm and be positioned such that they are ... | include <configuration.scad>
gap=5;
difference(){
translate([0,0,nut_diameter/2])
cylinder(h=nut_diameter,r=rod_length,center=true);
union(){
rotate([0,0,platen_angle/2])rodandtrappednut(rod_length);
rotate([0,0,-platen_angle/2])rodandtrappednut(rod_length);
translate([-rod_length/2-rod_diameter/2,0,nut_diameter/2]... | glb/cad_650f08fb5829.glb |
Create a bar clamp for a bookscanner. Start by creating a central cylindrical sleeve with an outer diameter of 8.3mm and an inner hole diameter of 4mm, using a 20-facet resolution for the exterior and a 10-facet resolution for the interior hole. This sleeve should be long enough to be fully penetrated by the inner hole... | include <configuration.scad>
gap=3.3;
outer_diameter = m8_diameter/2+gap;
inner_diameter=m8_diameter/2;
degree=90;
heightfudge=-1;
module rodhole(){
difference(){
cylinder(h =outer_diameter*2, r = outer_diameter, $fn = 20,center=true);
cylinder(h =outer_diameter*2+1, r =inner_diameter, $fn = 10,center=true);
}
}... | glb/cad_ad5acb720c49.glb |
Create two identical camera support mounts for a bookscanner. For each mount, start with a central cylinder 28mm long with a 4.5mm radius, oriented horizontally along the Y-axis. Surround this cylinder with two rectangular blocks: one vertical block 10mm wide, 28mm deep, and 21mm high, centered at [8, 0, -6.5], and one... | include <configuration.scad>
bolt=m3_diameter/2;
nut=m3_nut_diameter/2;
threadedrod=m8_diameter/2;
uprightlength=50;
module camerasupport(){
difference(){
union(){
rotate([90,0,0])cylinder(h=28,r=4.5,center=true);
translate([8,0,-6.5])cube([10,28,21],center=true);
translate([-20,-14,-24.5])cube([33,28,10]);
transl... | glb/cad_c1311f096515.glb |
Create an EcksBot Spool Hook consisting of a main support stand and an attached hook arm.
First, construct the stand as a rounded rectangular block measuring 60mm by 167mm with a thickness of 10mm and corner radii of 3mm. Within this block, create two vertical cylindrical holes with a radius of 8mm, positioned 57mm a... | use <MCAD/boxes.scad>
use <MCAD/triangles.scad>
spacer=0;
module Post()
{
difference()
{
cylinder(r=8,h=28);
cylinder(r=4,h=30);
}
}
module Stand()
{
difference()
{
union()
{
translate([0,0,27/2]) roundedBox([60,20,27],2);
translate([0,167/2+4,5]) rotate(a=[90,0,0]){roundedBox([60,10,167],3,tru... | glb/cad_0da87c4909e4.glb |
Create a parametric pen and tool holder consisting of a tapered cylindrical sleeve attached to a flat rectangular backplate.
Construct the main sleeve as a hollow cylinder with a height of 55mm. The outer shape should be a frustum with a bottom radius of 7mm and a top radius of 9mm. The wall thickness of this cylinde... | num = 1;
hgt = 55;
offset = 10;
ort = 9;
width = ort * 2;
orb = 7;
cthk = 2.5;
bt = 2.5;
boff = 8;
od = 18;
hn = 0;
hd = 3;
a = .05;
holder(num);
module holder(num) {
for ( n = [ 0 : num-1 ] ) {
translate([width*n-.01,0,0]) holder_cyl();
translate([width*n-(bt/2),orb,0]) cube([bt,boff-2,hgt-(hgt/od)]);
tran... | glb/cad_e92e949d835a.glb |
Create a kitchen support for a lighter and corkscrew. Start with a base consisting of two rectangular walls, each 5mm thick and 70mm long, separated by a gap of 70mm in length and 20mm in height. At the top of this structure, integrate a cylindrical holder for a lighter. This holder is formed by a solid cylinder with a... | color ("blue")
rotate (a=[90,0,0])
translate (v=[1.75,20,-70])
cylinder (h=70, r1=2, r2=2);
color ("blue")
rotate (a=[90,0,0])
translate (v=[13,20,-70])
cylinder (h=70, r1=2, r2=2);
color ("red")
translate (v=[1.75,0,14])
cube (size=[11,70,8]);
cube (size=[5,70,20]);
translate (v=[10,0,0])
cube (size=[5,70,20]);
... | glb/cad_ff88c9afd4e5.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.