Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a worklight holder consisting of a main plate and a wall mount attachment. The main plate is an oval with a length of 52mm, a width of 35mm, and a thickness of 5mm.
Centered within the thickness of this plate, create a rectangular cavity for a magnet. The cavity should measure 20mm in length, 10mm in width, an... | include<hex plug library.scad>;
Plate_length = 52;
Plate_width = 35;
Plate_thickness = 5;
Plate_shape = 0;
Magnet_width = 10;
Magnet_thickness = 2;
Magnet_Length = 20;
Distance_magnet_under_plate_surface = 0.4;
Magnet_shape = 0;
Wall_mount_thickness = 3;
HSW_attach_type = 0;
Debug_magnet_mode = false;
module __Cus... | glb/cad_2c814bcd250f.glb |
Create a Z limit spacer shim by starting with a rectangular block that is 8mm long, 17mm wide, and 2.6mm thick. Drill two identical circular holes completely through the thickness of the block, each with a diameter of 3.56mm. Position the first hole so its center is aligned with the center of the 8mm length and is 3.42... | shimThick = 2.6;
shimLength = 8;
shimWidth = 17;
holeDiam = 3.56;
$fn=100;
difference(){
cube([shimLength ,shimWidth ,shimThick]);
translate([shimLength/2 ,1.642+holeDiam/2]) cylinder(h = shimThick, d = holeDiam);
translate([shimLength/2 ,shimWidth-1.642-holeDiam/2]) cylinder(h = shimThick, d = holeDiam)... | glb/cad_40a1b2b42e5a.glb |
Create a flashlight holder clip by constructing a composite body and removing a central void. Start with a base shape formed by the convex hull of a rectangular block measuring 51mm in length, 2mm in thickness, and 20mm in width, combined with a cylinder that has an outer diameter of 33mm and a height of 10mm. Position... | flashlight_hole_dia=29;
flashlight_hole_height=10;
thickness=2;
clip_length=51;
clip_width=20;
separation=1.5;
$fn=100;
rotate([0,-90,0])
difference(){
hull(){
translate([0,0,-clip_width/2])
cube([clip_length,thickness,clip_width]);
translate([0,-flashlight_hole_dia/2,0])
rotate([0,90,0])
cylinder(d=flashlight_hole_d... | glb/cad_c7f90c73ddba.glb |
Create a flashlight holder clip by starting with a base shape formed from the convex hull of a rectangular block and a cylinder. The block should be 51mm long, 2mm thick, and 25mm wide. Integrated into this hull is a cylinder with a diameter of 33mm and a height of 10mm, centered such that it creates a reinforced wall ... | flashlight_hole_dia=29;
flashlight_hole_height=10;
thickness=2;
clip_length=51;
clip_width=25;
separation=1.5;
$fn=100;
rotate([0,-90,0])
difference(){
hull(){
translate([0,0,-clip_width/2])
cube([clip_length,thickness,clip_width]);
translate([0,-flashlight_hole_dia/2,0])
rotate([0,90,0])
cylinder(d=flashlight_hole_d... | glb/cad_844e8dcfaffe.glb |
Create a two-part parametric mold for a silicone sleeve consisting of a base and a protruding cylinder. For the first part, create a wide circular base with a diameter of 106mm and a height of 3mm. Centered on this base, add a solid cylinder with a diameter of 30mm and a height of 43mm. From the bottom of this assembly... | diameter=30;
length=40;
base_dia=100;
thickness=3;
$fn=100;
translate([-base_dia-4*thickness,0,0])
inside();
outside();
module inside(){
difference(){
union(){
cylinder(d=base_dia+2*thickness,h=thickness);
cylinder(d=diameter,h=thickness+length);
}
cylinder(d=diameter-2*thickness,h=length+thickness);
}
tran... | glb/cad_5bcfdd39304c.glb |
Create a bed for a Leica filter paper puncher by starting with a solid cylinder 60mm in diameter and 8mm high. From the top face, remove a concentric ring-shaped channel that is 2mm deep, starting from the outer edge at a radius of 30.2mm and extending inward to a radius of 27.5mm. Additionally, remove a central vertic... | $fn=360;
module tube(h, r1, r2) {
difference() {
cylinder(h=h, r=r2);
cylinder(h=h, r=r1);
}
}
difference() {
cylinder(h = 8, r = 30);
translate([0, 0, 2]) {
tube(10, 27.5, 30.2);
tube(10, 6.2, 7.8);
}
} | glb/cad_8475c456a87b.glb |
Create a Blockenstein Coat Hook consisting of two main components: a base mount and a sliding prong.
First, create the base mount as a rectangular block 20mm wide, 40mm high, and 12mm deep, with all edges rounded by a 1mm radius. On the top face of this block, add a raised rail that is 8mm high. This rail has a variab... | use <smooth_prim.scad>;
screw_offset = 19;
screw_diam = 4;
screw_head_diam = 10;
screw_head_d = 5;
hook_w = 20;
hook_h = 60;
hook_d = 36;
prong_d = 12;
base_h = 40;
base_d = 12;
base_rail_d = 8;
rail_max_w = 12;
rail_min_w = 6;
rail_r = 2;
edge_r = 1;
screw_plumb_adjust = 0;
rail_slop = 0.1;
module screw(diam1, dia... | glb/cad_b7e21359c47b.glb |
Create a Customizable Wall Mobile Phone Holder. Start with a rectangular backplate measuring 85mm wide, 60mm high, and 5mm thick. Add two vertical side walls, each 3mm wide and 19.5mm high, positioned at the far left and right edges of the backplate. Along the bottom edge of the backplate, add two horizontal support ar... | backplateWidth = 79;
phoneThickness = 10.5;
backplateHeight = 60;
frontPlateHeight = 50;
frontPlateWidth = 5;
module plate(){
cube([backplateWidth + 6, backplateHeight, 5]);
translate([0, 0,phoneThickness + 6])
cube([frontPlateWidth + 3, frontPlateHeight + 3, 3]);
translate([backplateWidth - frontPla... | glb/cad_a02c93ba6ffa.glb |
Create a toroidal rotor with a total height of 35mm. The core consists of a central hub with an outer diameter of 43.5mm and a central axis hole with a diameter of 6.2mm. At the top of the hub, create a shallow milling recess 2mm deep with a diameter of 41mm.
Surrounding the hub, construct 5 identical toroidal blades.... | r_blade = 50;
d =2;
d_hub=43.5;
d_hub_mill = 41;
h_hub_mill = 2;
hei = 35;
d_axis = 6.2;
l_thread = 10;
tw = 60;
dir = -1;
n_blade = 5;
dist = 10;
sc_blade = 0.75;
res = 128;
module __Customizer_Limit__ () {}
$fn=res;
slc = round(hei/1.5);
an_blade = 360/n_blade;
eps = 0.01;
module blade (sc = 0.75 ) {... | glb/cad_58e42e964d92.glb |
Create a Weekly Pill Box consisting of a base tray and a hinged lid.
The base tray is a rectangular block 147mm long, 30mm wide, and 15mm high with 2mm thick walls. Carve out seven separate pill compartments, each 20mm wide, with a rounded inner bottom radius of 13mm. Along the top rear edge of the base, create nine ... | $fa = 1;
$fs = 0.1;
$thickness = 2;
$box_height = 15;
$lid_height = 3;
$latch_height = 5;
$hinge_height = 2*$lid_height;
$width = 30;
$day_length = 20;
$num_days = 7;
$num_hinges = 9;
$hinge_toler = 1;
$pin_radius = 0.8;
module tab(l, w, h1, h2) {
pnts1 = [[1,-2], [8,-2], [9,0], [0,0]];
pnts2 = [[2,-1], [7,-1], [... | glb/cad_81122ce00174.glb |
Create a parametric rotation indicator consisting of a central hub and five radiating wings. Start by creating a central cylindrical ring with an outer diameter of 9mm and a height of 1mm. This ring must have a concentric inner hole with a diameter of 4mm passing through its center.
From this central hub, extend five ... | NemaHoleDiameter=9;
NemaHoleDepth=2.5;
MagnetDiameter=8;
MagnetHeight=2.5;
WingsOuter_d=15;
WingWidth_y=3;
WingThickness=1;
WingCount=5;
WingCleranceNema=1;
CenterRingOuter_d=9.0;
CenterRingInner_d=4;
CenterRingThickness=WingThickness+WingCleranceNema+NemaHoleDepth-MagnetHeight;
FN_ALL=64;
AngleWings=360/WingCount... | glb/cad_67cc5f14f8c6.glb |
Create a parametric rotation indicator. Start by creating a central cylinder with a bottom diameter of 9.5mm and a top diameter of 8.8mm, extending to a height of 4.5mm. In the center of this cylinder, create a vertical hole with a diameter of 8.3mm and a depth of 3mm to accommodate a magnet.
Around the central cylind... | FACETES_MAIN=64;
NemaAxle_Depth=2.4;
n_Wings=5;
l_Wings=15;
h_Wings=1;
w_Wings=3;
Clearance_Wings=1.1;
AngleStep=360/n_Wings;
d_Magnet=8.3;
h_Magnet=3.0;
OFFSET_Magnet=0.0;
TUNE_OFFSET_Magnet=0.0;
z_POSITION_Magnet=OFFSET_Magnet+h_Magnet;
Cylinder_Clearance_Wings=Clearance_Wings+NemaAxle_Depth;
CenterCylinder=h_Wi... | glb/cad_b2e3fb01efdf.glb |
Create a Wahoo Tickr Battery Cover with a total height of 5mm. Start by creating a main cylindrical base with an outer diameter of 12.75mm and a height of 2.3mm. Hollow out the center of this base by removing a cylinder with a radius of 9.5mm, leaving a thin outer rim.
In the center of the cover, create a circular rec... | coinDiameter = 10;
coinWidth = 2;
coinDepth = 2;
coinTolerance = 0.9;
outerDiameter = 12.75;
coverHeight = 2.3;
fullHeight = 5;
lockOuterDistance = 1.4;
lockDepth = 1.3;
lockCutDistance = 1.25;
lockCutDepth = 0.7;
$fa = 1;
$fs = 0.4;
union() {
difference() {
union() {
difference() {
... | glb/cad_0a3c2e319bc5.glb |
Create an Otto Recycle Bin Hinge Pin by assembling a series of coaxial cylindrical segments along a central axis. Start with a head section that is a flattened cylinder 4.25mm long and 21.9mm in diameter. Attached to this head, add a sequence of four cylindrical supports: first, a cylinder 2.25mm long with a 15.5mm dia... | VERBOSE=1;
UNITS=1;
DIMENSIONS=[["Head","Pan",4.25,21.9],["Step Support-Down 1","Cylinder",2.25,15.5],["Step Support-Down 2","Cylinder",3.25,12.15],["Step Support-Down 3","Cylinder",8.25,11.5],["Step Support-Down 4","Cylinder",8.25,11.15],["Step Support-Up 1","Cylinder",8.25,11.75],["Step Support-Up 2","Cylinder",4.5... | glb/cad_33f382644f54.glb |
Create a fiber connector magnet holder by combining a cylindrical base with a semi-cylindrical sleeve. Start by creating a main vertical cylinder with an outer diameter of 7mm and a height of 4mm. Inside this base, remove a concentric cylindrical core with a diameter of 5mm and a depth of 3mm to create a cavity for a m... | $fn = 200;
eps = 0.001;
magnetD = 5;
magnetH = 3;
H = magnetH+1;
fiberD = 9.3;
wallTh = 1;
L = 7;
difference(){
union(){
translate([0,L/2,fiberD/2]) rotate(a=90,v=[1,0,0]) difference(){
cylinder(d = fiberD+2*wallTh, h = L);
translate([-0.5,0,-eps]) cube([1,fiberD/2+wallTh,L+2*e... | glb/cad_7cad7be4f504.glb |
Create a Basketball Possession Arrow by starting with a rectangular base measuring 100mm in length, 40mm in width, and 20mm in height. Centered on top of this base, add a rectangular bar that is 70mm long, 15mm wide, and 30mm high, positioned so that it starts 40mm from the left edge of the base and is centered along t... | echo(version=version());
linear_extrude(height = 20)
square([100, 40], center = true);
color("red")
translate([-40, -7.5, 0])
linear_extrude(height = 30)
square([70, 15], center = false);
color("green")
translate([25, 0, 20])
cylinder(r=20, h=10, $fn=3); | glb/cad_863df491c2d1.glb |
Create a Magnetic Pen Holder by starting with a main outer body: a 100mm tall cylinder with a 60mm diameter and a 10-sided polygonal cross-section. Apply a 105-degree twist along the vertical axis to create a spiral effect. Hollow out the center by removing a similar 100mm tall twisted shape with a 56mm diameter, but l... | segs=20;
h = 100;
module mag_hole() {
rotate([90,0,0]){
linear_extrude(2, slices=30){
scale([1,1,1])
circle(d=11);
}
}
}
module holder() {
difference() {
linear_extrude(h, convexity=10, twist=105, slices=15, scale=1.5){
circle(r=30, $fn=10);
}
union() {
... | glb/cad_1c0003528071.glb |
Create a Condiment Inverter by constructing a hollow, truncated cone with a height of 70mm. The outer wall should taper from a base diameter of 100mm down to a top diameter of 65mm. Create the interior cavity by removing a smaller concentric truncated cone with a base diameter of 90mm and a top diameter of 55mm, leavin... | difference() {
cylinder(h=70, d1=100, d2=65, $fn=120);
cylinder(h=70, d1=90, d2=55, $fn=120);
translate([0,-85,100]) rotate([-90,0,0])
cylinder(h=200,r=35, $fn=120);
} | glb/cad_cb77acec839a.glb |
Create a Condiment Inverter by constructing a hollow, tapered cylindrical shell with a height of 50mm. The outer wall should be a truncated cone that tapers from a base diameter of 70mm up to a top diameter of 50mm. To create the interior cavity, remove a smaller concentric truncated cone from the center, starting with... | difference() {
cylinder(h=50, d1=70, d2=50, $fn=100);
cylinder(h=50, d1=60, d2=40, $fn=100);
} | glb/cad_6861a06d8119.glb |
Create a Shower Phone Holder consisting of a main base and two identical hooks. Start by constructing the base as a block 20mm wide, 20mm high, and 10mm deep. Within this base, create a central cutout that is 9mm wide, 5mm deep, and 20mm high, positioned 12.5mm from the side and 5mm from the front. Pierce this base wit... | rin = 5*2/sqrt(3);
cube([20,10,20]);
translate([12.5,5,0]) rotate([0,0,45])
cube([9,5,20]);
translate([15,5,0]) {
union(){
cube([5, 10, 20]);
}
translate([0,5,0]) difference() {
union(){
cube([20,5,20]);
}
translate([12.5,-1,10]) rotate([-90,0,0]) {
cylinder(h=25, r=1.75, center=fa... | glb/cad_ea79d8f9b9ab.glb |
Create a Shower Phone Holder consisting of a main base and two identical hooks. Start by creating the base as a rectangular block 25mm wide, 10mm high, and 20mm deep. Within this base, remove a central rectangular channel 20mm wide and 5mm deep, leaving 2.5mm walls on each side. At the center of the base's remaining 5m... | rin = 5*2/sqrt(3);
cube([20,5,20]);
translate([17.5,0,0]) rotate([0,0,45]) cube([9,5,20]);
translate([20,0,0]) {
union(){
cube([5, 10, 20]);
}
translate([0,5,0]) difference() {
union(){
cube([20,5,20]);
translate([12.5,5,10]) rotate([-90,0,0])
cylinder(h=4, d1=15, d2=6, center=false, ... | glb/cad_d938c2db227b.glb |
Create a Shower Phone Holder consisting of a rectangular base and two identical mounting hooks. Start by creating the base as a flat rectangular plate measuring 180mm wide, 90mm deep, and 5mm thick. Add two thin walls, each 10mm thick, along one 180mm edge and one 90mm edge, effectively creating an L-shaped bracket tha... | rin = 6*2/sqrt(3);
cube([180, 90, 5]);
translate([0,0,5]) {
cube([180, 5, 10]);
cube([5, 90, 10]);
translate([0, 85, 0]) cube([180,5,10]);
translate([175, 0, 0]) cube([5, 90, 10]);
}
translate([40, 0,0]) difference() {
cube([20, 5, 50]);
translate([10, -1, 45]) rotate([-90,0,0]) {
cylinder(h=20, r=1.7... | glb/cad_b343cd4c5774.glb |
Create a Shower Phone Holder consisting of a flat base and two identical side hooks. For the base, create a rectangular plate measuring 180mm by 100mm with a thickness of 5mm. Remove a grid of 24 circular holes, each 5mm in diameter and 7mm deep, arranged in three rows of eight. The holes should be spaced 20mm apart ho... | rin = 6*2/sqrt(3);
difference() {
cube([180, 100, 5]);
for(yi=[0:3])
for(xi=[0:8])
translate([10+20*xi,25+20*yi,-1])
cylinder(h=7, d=5, $fn=20);
}
translate([0,10,5]) {
cube([70, 5, 15]);
translate([110,0,0]) cube([70,5,15]);
cube([5, 30, 10]);
translate([0,60,0]) cube([5,30,10]);
trans... | glb/cad_112e93f2518d.glb |
Create a Shower Phone Holder consisting of a flat base and two identical side hooks. Start with a rectangular base plate measuring 180mm wide, 100mm deep, and 5mm thick. Remove a grid of 24 conical holes from the base, arranged in 3 rows of 8; each hole starts with a 15mm diameter at the top surface and tapers down to ... | rin = 6*2/sqrt(3);
difference() {
cube([180, 100, 5]);
for(yi=[0:3])
for(xi=[0:8])
translate([10+20*xi,25+20*yi,-1])
cylinder(h=7, d1=4, d2=15, $fn=40);
translate([70,5,-1]) cube([40,10,7]);
translate([70,92,-1]) cube([40,10,7]);
}
translate([0,10,5]) {
cube([70, 5, 15]);
translate([110,0... | glb/cad_7055860fdfb4.glb |
Create a DIN rail mounting bracket. Start with a main rectangular block that has a total length of 41mm, a depth of 6mm, and a height of 81mm. This block is composed of a base section 19mm high and a taller upper section that is 6mm deep and 60mm high.
On the top face of the block, carve out a DIN rail profile slot t... | use <din_utilities.scad>
WALL_WIDTH = 2;
din_block_depth = din_width() + WALL_WIDTH * 2;
block_depth = 6;
block_length = din_length() + WALL_WIDTH * 2;
SLOT_DEPTH = 15;
HOLE_DIAMETER = 6.5;
HOLE_LENGTH = 60;
hole_width = din_length() - HOLE_DIAMETER;
hole_radius = HOLE_DIAMETER / 2;
block_height = SLOT_DEPTH + WAL... | glb/cad_3df124f0a48a.glb |
Create a DIN rail mounting bracket by starting with a solid rectangular block measuring 40mm in length, 12mm in width, and 4mm in height. From the top face of this block, carve out a centered, complex slot 4mm deep to accommodate a DIN rail. The slot's overall length is 36mm and its maximum width is 8mm.
The profile ... | DIN_LENGTH = 36;
DIN_INNER_LENGTH = 24.5;
DIN_WIDTH = 8;
DIN_NUBBIN_WIDTH = 2.5;
DIN_NUBBIN_LENGTH = 3;
DIN_RAIL_WIDTH = 2;
function din_length() = DIN_LENGTH;
function din_width() = DIN_WIDTH;
module din_modified_slot() {
din_wing_length = (DIN_LENGTH - DIN_INNER_LENGTH) / 2;
echo(din_wing_length);
din_i... | glb/cad_0b1d3e89a562.glb |
Create a Hoto Laser Measurement Tool holder consisting of a thin base plate and a cylindrical peg. Start by creating a square base plate with a thickness of 3.5mm. The plate should have a total width and length of 51mm, with each corner rounded to a radius of 2mm.
On this base plate, place four small circular holes, ... | HOLE_SPACING = 45;
HOLE_RADIUS = 1.5;
BACKING_PADDING = 3;
PEG_DIAMETER = 17;
PEG_DEPTH = 20;
CORNER_RADIUS = 2;
DEPTH = 3.5;
total_width = HOLE_SPACING + HOLE_RADIUS + BACKING_PADDING * 2;
module rounded_square( width, radius_corner ) {
translate( [ radius_corner, radius_corner, 0 ] )
minkowski() {
... | glb/cad_7cb3923827bc.glb |
Create a Raspberry Pi 7 Inch Screen Project Box consisting of a hollow rectangular base and a matching snap-on lid.
For the base, create a rectangular slab measuring 200mm in length, 120mm in width, and 10mm in height. Hollow out the center by removing a block of 195mm by 112mm by 8mm, positioned 2.5mm from the front... | ls=18;
ws=5;
hs=5;
snap_p=[[0,0,0], [ls,0,0], [ls,ws,0],
[0,ws,0], [0,ws,hs], [ls,ws,hs]];
snap_f=[[0,1,2,3],[5,4,3,2],[0,4,5,1],
[0,3,4],[5,2,1]];
xs = 126;
xo = 5;
xt = 190;
translate([0,5,0])
difference() {
cube([200, 120, 10]);
translate([2.5,4,3])
cube([195, 112, 8]);
translate([15,... | glb/cad_5524a4004e94.glb |
Create a Raspberry Pi 7 Inch Screen Project Box. Start with a main outer rectangular shell measuring 200mm x 120mm x 60mm. Hollow out the center by removing a 190mm x 110mm x 60mm block, leaving 5mm thick walls.
On the left and right side walls, create two rows of ventilation slots. Each row contains six slots; each s... | module RoundSlot(s_len, s_wid, s_z){
translate([-s_len/2,0,0]){
cylinder(h=s_z, d=s_wid, $fn=30);
translate([0,-s_wid/2,0])
cube([s_len, s_wid, s_z]);
translate([s_len,0,0])
cylinder(h=s_z, d=s_wid, $fn=30);
}
}
module ScrewSlot(s_w){
translate([-(s_w/2),0,0]... | glb/cad_a3b3027be11d.glb |
Create a Cabinet LED Cover consisting of three stacked sections. The base is a thin disc with a diameter of 70mm and a height of 1mm, featuring a central circular cutout of 59mm in diameter.
The middle section is a cylindrical wall with an outer diameter of 70mm and an inner diameter of 61mm, reaching a height of 15mm... | module arc( height, depth, radius, degrees ) {
render() {
difference() {
rotate_extrude($fn = 360)
translate([radius - height, 0, 0])
square([height,depth]);
translate([0,-(radius+1),-.5])
cube ([radius+1,(radius+1)*2,depth+1]);
... | glb/cad_4b4f540d925b.glb |
Create a parametric storage box and lid. The box should have outer dimensions of 200mm width, 127mm depth, and 40mm height, with a wall thickness of 1.5mm and rounded corners with a 5mm radius. The bottom and four side walls are solid, but the top is open. Inside the box, create a grid of dividers: 4 horizontal divider... | $fn= $preview ? 16 : 32;
edge_style = 1;
detail = 5;
$fs = 11 - detail;
box_width = 200;
box_depth = 127;
box_height = 40;
radius = 5;
box_thickness = 1.5;
horizontal_dividers = 4;
vertical_dividers = 2;
toggle_display = 1;
lid_height = 8;
lid_tolerance = 0.2;
lid_text = "noise";
lid_text_size = 20;
lid_te... | glb/cad_055f52c98f13.glb |
Create a safety glasses holder for a shoulder or hip pack. Start by constructing a U-shaped pack clip that is 48mm long and 25mm wide. This clip consists of a base plate 2mm thick, two side walls each 2mm thick and 1.5mm high, and a central gap of 21mm between the walls.
Attached to this structure, create a glasses c... | glasses_thickness=2;
glasses_length=10;
glasses_width=25;
thickness=2;
clip_length=48;
clip_width=25;
separation=1.5;
$fn=100;
translate([0,thickness+glasses_thickness,0])
pack_clip();
glasses_clip();
module pack_clip(){
translate([-clip_width/2,0,0])
cube([clip_width,thickness,clip_length]);
translate([-clip_width/... | glb/cad_8c4303dc661b.glb |
Create a crevice tool for a vacuum cleaner with a total length of 300mm. Start by creating a hollow cylindrical base with an inner diameter of 32mm and a wall thickness of 2mm, extending for a height of 20mm. From the top of this cylinder, create a transition section 10mm in length that tapers the circular profile into... | noz_id = 32;
wall_thick = 2;
inter_len = 20;
trans_len = 10;
total_len = 300;
def_circle = 120;
crev_dia1 = 10;
crev_dia2 = 6;
crev_len1 = 20;
crev_len2 = 24;
module crevice_opening(dia, len) {
translate([len/2,0,0]) cylinder(h=.1,d=dia,$fn=def_circle);
translate([-len/2,0,0]) cylinder(h=.1,d=dia, $fn=def_circle);... | glb/cad_19cef5055b59.glb |
Create a protective cover for a Ryobi 4V USB Lithium battery. Start by creating a main outer cylinder with a diameter of 26.95mm and a height of 72.8mm. From the center of this cylinder, remove a smaller internal cylindrical void to create a wall thickness of 2.2mm. This internal void should start 7.6mm from the bottom... | $fn=32;
fudge=0.2;
batteryDiameter=24.75+fudge;
batteryLength=78.0+fudge;
batteryTaperDiameter=batteryDiameter;
batteryTaperLength=9.5+fudge;
batteryEndOffset=7.4+fudge;
batteryNotchOffset=2.0+fudge;
caseThickness=2.0+fudge;
caseBreatherDiameter=2.0+fudge;
batteryCase();
module batteryCase() {
difference() {
... | glb/cad_d62fac394ac1.glb |
Create a cat collar name tag by generating a curved, arc-like body. The main body is formed by rotating a specific 2D profile around a central axis at a radius of 35mm. This profile is a stepped polygon with a total height of 17mm and a thickness of 2mm, which is extruded along an arc of 90 degrees. The resulting shape... | $fn = 100;
Rad_O = 35;
Thk = 2;
Height = 17;
ARC_ANGLE = 70;
difference() {
mirror([0,0,1])
translate([0,0,-Height])
Body();
Deboss_Txt(Lbl="Harley");
translate([-20,0,9])
cube([90,Rad_O*3,Height+20],center=true);
}
module Body() {
p = [[0,0],[0,Height],
[-Thk,Height],[... | glb/cad_495a0d20505a.glb |
Create a robot component consisting of a torus and a hollow spike. First, construct a torus with a major radius of 40mm and a minor radius of 8mm. At the edge of this torus, add a hollow spike by creating a cylinder with a height of 20mm, a base radius of 8mm, and a top radius of 3mm. Tilt this cylinder 20 degrees alon... | $fn=30;
module Torus(R,r) {
rotate_extrude()
translate([R,0])
circle(r=r);
}
module Spike(R,r) {
translate([R,0])
rotate([0,-20])
difference() {
cylinder(r1=r,r2=3,h=20);
cylinder(r=2,h=21);
}
}
difference() {
union() {
Spike(40,8);
Torus(40,8);
}
translate([0,0,-250])
cube(50... | glb/cad_7d11cbd96629.glb |
Create a rectangular grill vent. Start by constructing the main body as a hull between two rectangular plates: a base plate measuring 120mm by 60mm with a thickness of 1mm, and a top plate measuring 100mm by 40mm with a thickness of 10mm, centered on the base. This creates a beveled outer edge of 10mm around the perime... | $fn=30;
Port_X=100;
Port_Y=40;
Port_Z=10;
Port_Thk=2;
Port_Rf=0;
Brim_Siz=10;
Brim_Z=2;
Brim_Z1=1;
Brim_Rf=0;
Grl_Square = true;
Grl_X = true;
Grl_Y = true;
Grl_Zf=.25;
Grl_HX=6;
Grl_HY=6;
Grl_ThkX=0.8;
Grl_ThkY=0.8;
Grl_Ang_X=0;
Grl_Ang_Y=0;
Grl_SX=0;
Grl_SY=0;
Holes_Vis = true;
Holes_Co... | glb/cad_8207694f5fc9.glb |
Create a filament sensor strap by starting with a main rectangular base measuring 38mm in length, 5mm in width, and 2mm in height. At the left end of this base, add a vertical rectangular block that is 2mm wide, 5mm deep, and 5mm high, extending downwards. At the right end of the base, create a vertical block 4mm wide,... | $fn=32;
cyl=4;
cube([34+cyl,5,2]);
translate([0,0,-5])
cube([2,5,5]);
translate([34,0,-8]) {
cube([cyl,5,8]);
rotate([0,90,0]) {
translate([4,2.5,0]) {
difference() {
cylinder(d=12,h=cyl);
cylinder(d=8,h=cyl);
translate([-4,-6,-0]) {
... | glb/cad_0154746ed824.glb |
Create a set of Tetrominoes for magnets. The base unit is a square block measuring 12mm x 12mm x 2mm. Each block should have a centered cylindrical hole with a diameter of 4mm and a depth of 1mm.
Construct the following seven shapes by joining these blocks:
- An I-piece: four blocks in a straight line.
- An O-piece: f... | default_xy = 14;
default_z = 2;
module tetrisfirkant(xy=default_xy,z=default_z,centerhole=false,holediameter="auto",holedepth="auto") {
zz = z/2;
xy=xy-z;
translate([zz,zz,z]) {
difference() {
polyhedron(
points=[
[0,0,0],[xy,0,0],[xy,xy,0],[0,xy,0... | glb/cad_7f9979563e0f.glb |
Create a Space1999 Eagle Transport end pod by starting with a cube that measures 33mm in width, 43mm in depth, and 33mm in height. On the bottom face of this cube, add two identical nozzle protrusions. Each nozzle is a hollowed-out truncated cone with a height of 10mm, an outer base diameter of 14mm, and an outer top d... | $fn=60;
EndPods();
module EndPods(){
cube([33,43,33]);
translate([8,8,-10])
Nozzle();
translate([25,8,-10])
Nozzle();
}
module Nozzle(){
difference(){
cylinder(h=10,d1=14,d2=8);
cylinder(h=10,d1=12,d2=7);
}
} | glb/cad_550668ef4fb8.glb |
Create a Space1999 Eagle Transport engine assembly. Start by constructing a central engine cone: create a cylinder with a diameter of 12mm and a height of 60mm, then hollow it out by removing a smaller concentric cylinder with a diameter of 3.4mm and a height of 20mm, starting from a height of 10mm. Within the top sect... | $fn=60;
EngineCone();
module EngineMount(){
difference(){
cylinder(h=5,d=4.2);
translate([0,0,2])
cylinder(h=5,d=3.4);
}
translate([20,13,0])
difference(){
cylinder(h=5,d=4.2);
translate([0,0,2])
cylinder(h=5,d=3.4);
}
translate([-20,13,0]... | glb/cad_e98fa727bc3f.glb |
Create a rotary encoder knob starting with a main cylinder 25mm in diameter and 15mm in height. Apply a 2mm roundover to the top edge of the cylinder. On the top face, center a vertical shaft hole with a diameter of 6.2mm and a depth of 10mm; this hole should feature a flat side 10mm wide and 5mm thick, starting 2mm fr... | knob_diameter=25;
knob_height=15;
shaft_length=10;
Finger_Indent=5;
roundover=2;
tolerance=0.1;
detent=0.7;
detent_angle=30;
$fn=50;
difference() {
union() {
cylinder(r=knob_diameter/2,h=knob_height-roundover);
translate([0,0,knob_height-roundover]) cylinder(r=knob_diameter/2-roundover,h=roundove... | glb/cad_bc416fbba00f.glb |
Create a round Cherry MX compatible keycap with an outer diameter of 18.001mm and a total height of 4.2mm above the stem.
Start with a base ring 1.2mm high with an outer diameter of 18.001mm and an inner cavity diameter of 16.5mm. Above this ring, create a main body that tapers from the 16.5mm inner diameter down to ... | $fa = 1;
$fs = 0.4;
cut_analysis = false;
rows = 2;
cols = 2;
characters = ["0", "1", "2", "3"];
character_size = 7;
character_pos = 0.001;
font = "Liberation Sans:style=Bold";
diameter = 18.001;
spacing = diameter + 2;
height = 4.2;
ring_height = 1.2;
inner_diameter = 16.5;
inlay_diameter = 15.2;
inlay_thi... | glb/cad_d66cac555d71.glb |
Create a fractal pyramid based on a Sierpinski tetrahedron. Start with a base tetrahedron defined by a corner-to-corner distance of 50mm and a height of 50mm. To achieve the fractal effect, subdivide this initial volume into four smaller tetrahedra, each with half the linear dimensions of the original. Position one sma... | R=50;
olp = .5;
DS= 1;
F = [[0,2,1],[0,1,3],[1,2,3],[2,0,3]];
OA = st(olp,0);
OB = st(olp,120);
OC = st(olp,240);
OT = [0,0,olp];
F(A=st(R,0),B=st(R,120),C=st(R,240),T=[0,0,R]);
function st(r,Ang) = r*[cos(Ang),sin(Ang),0];
module F(A,B,C,T,d=1,n=DS) {
if (n==0) {
OLP =[OA,OB,OC,d*OT];
color([.4... | glb/cad_e7f33cdb9eeb.glb |
Create a Manfrotto MKC3-H01 tripod replacement plate. The main body is a symmetrical, flat plate with a thickness of 8.5mm. The top surface is defined by a mirrored polygon shape: starting from a center point, it extends to a width of approximately 34mm and a length of approximately 62mm. The outer edges are tapered an... | eps = 1e-4;
$fn = 128;
in = 25.4;
module manfrotto_base_half () {
translate ([0, 0, 4.25])
linear_extrude(height = 8.5, center = true, convexity = 10, twist = 0)
polygon ([[0, 0], [-6.235, 31.05], [16.99, 44.05], [16.99, 0]]);
}
module difference_profile () {
rotate ([90,0,11.35])
translate ([0,0,-15.5])
linear... | glb/cad_ab9774eabd3b.glb |
Create a DIY USB cable consisting of two plugs and two protective sleeves.
For the USB-B plug, create a main body based on a polygon with vertices at [0, -3.65], [-4.05, -3.65], [-4.05, -0.65], [-3.25, 3.65], [4.05, 3.65], [4.05, -0.65], and [4.05, -3.65], extruded to a height of 8mm. Add a secondary section by extru... | cablewidth=6;
cableheigth=2;
usbbplug();
module solderlikethis(){
translate([10,0,0])usbbplug();
translate([7,-6,10])linear_extrude(0.5)text("1",3);
translate([10,-6,10])linear_extrude(0.5)text("2",3);
translate([10,5,10])linear_extrude(0.5)text("3",3);
translate([7,5,10])linear_extrude(0.5)text("4",3);
translate(... | glb/cad_0c5c70fa3292.glb |
Create a Flying Wing aircraft model. The main body is a curved, aerodynamic wing shape. The wing is formed by a series of thin, overlapping cross-sectional slices that rotate gradually to create a downward bend of 60 degrees across the span.
The central fuselage is a hollowed-out cylinder with an outer radius of 3mm a... | $fn=20;
Bent(60);
module MirrorCopy(M) {
children();
mirror(M) children();
}
module Bent(ang) {
stp = .4;
render()
for(i=[0:stp:15]) {
rotate([0,-ang*i*stp/15])
intersection() {
Chrest();
translate([-i,0])
cube([stp,20,6],center=true);
}
}
}
module Chrest() {
... | glb/cad_5525dd6ae791.glb |
Create a taco making support stand by constructing a curved, trough-like cradle. Start with a base shape formed by the intersection of a cylinder with a radius of 60mm and a height of 80mm, centered on the origin. Within this volume, create a thin-walled shell by defining a parabolic profile. This profile is generated ... | scale(4)
rotate([90,0,0])
BaseTaco();
module BaseTaco() {
points = [for (i=[-10:10]) [i,(i*i)/6],];
intersection() {
translate([0,0,-15])
linear_extrude(30,convexity=5)
difference() {
polygon(points);
translate([0,2,0])
polygon(points);
}
rotate([0,90,0])
cylinder(r=15,h=20,cent... | glb/cad_06eebbbe664b.glb |
Create a Robot Claw Hand consisting of a central hub and two symmetrical gripping arms. Start by creating a central vertical cylinder with a bottom radius of 5mm, a top radius of 4mm, and a height of 7mm.
From this hub, extend two identical arm assemblies mirrored across the Y-axis. Each arm begins with a rectangular... | $fn=40;
FourClaw = false;
Angle1 = -10;
Angle2 = -10;
Hand2();
module Hand2() {
Hand1(Angle1);
if (FourClaw) rotate([0,90]) Hand1(Angle2);
translate([0,2.5])
rotate([-90,0])
cylinder(r1=5,r2=4,h=7);
}
module Hand1(Angle=0) {
hand(Angle);
PL = 1.5*[[-3,-3.67],[-5,-3.67],[-2,2],[2,2],[5,-3.67],[... | glb/cad_7bfbb4bb251a.glb |
Create an OLED Case for SSD1306 and CurrentRanger consisting of two separate parts: a main housing and a retaining clip.
For the main housing, create a rectangular shell with outer dimensions of approximately 28.9mm x 30.5mm and a total height of 15.2mm. The walls should be 1.6mm thick. Hollow out the center to accomm... | pcb2pcb_offset = 12.60;
oled_pcb_x = 25.3 + 0.3;
oled_pcb_y = 26.1 + 0.4;
oled_screw_spacing = 21;
oled_screen_x = 24;
oled_screen_y = 12;
oled_screen_thickness = 2.4;
oled_screen_y_offset = 1.15;
oled_pcb_thickness = 1.6;
connector_x = 11.3;
connector_y = 2.8;
wall_thickness = 1.6;
top_wall_thickness = 0.6;
op... | glb/cad_19f71d48e271.glb |
Create an architectural column with a total height of 100mm and a main diameter of 25mm. The column is based on a 5-sided polygonal cross-section.
Construct the base as a 15mm high pedestal with a diameter of 25mm. The base profile should feature a cutout near the bottom and a small rounded bump detail.
The central s... | Cross_Section = false;
Half = true;
Hollow = true;
Col_D = 25;
Col_H = 100;
Sides=5;
Hollow_D = 20/25;
ang = (Half)? 180: 360;
Cntr_Cut_W = .75;
Cntr_Cut_H = .75;
Sides0 = 60;
Smooth = true;
Flutes = 10;
Flute_Sides = 15;
NegAngle = false;
Angle = 360;
Flute_R = 4;
Flute_O = 20;
Flute_N = 8;
Cap_H = 10;
Cap_D =... | glb/cad_d06e9f40ea40.glb |
Create a Heat Insert Drill Press adapter consisting of a main body and a separate retaining clip.
For the main body, create a vertical cylinder with a diameter of 30mm and a total height of 85mm (comprising a 15mm base adapter and a 5mm protective extension, plus a 65mm upper shaft). Center a vertical hole through th... | $fn = $preview ? 18 : 180;
Main_Body_Height = 80;
Print_Adapter = true;
Print_Clip = false;
Show_Iron = false;
Use_Long_M8_Bolt = true;
module main()
{
if (Print_Adapter)
{
body();
}
if (Print_Clip)
{
clip();
}
if (Show_Iron)
{
translate(IRONV) iron();
}... | glb/cad_646fa336e15b.glb |
Create a Heat Insert Drill Press adapter consisting of a main body and a separate retaining clip.
For the main body, create a central vertical cylinder with a diameter of 30mm and a total height of 80mm. At the base, integrate a cylindrical mounting section with a height of 15mm and a diameter of 30mm. Within this ba... | $fn = $preview ? 18 : 180;
Main_Body_Height = 80;
Print_Adapter = true;
Print_Clip = false;
Show_Iron = false;
Use_Long_M8_Bolt = true;
module main()
{
if (Print_Adapter)
{
body();
}
if (Print_Clip)
{
clip();
}
if (Show_Iron)
{
translate(IRONV) iron();
}... | glb/cad_08a481ef1dac.glb |
Create a rotary tool accessory holder with a main rectangular body measuring 82.5mm wide, 11mm deep, and 12.5mm high. Center a rectangular cutout in the body that is 72.5mm wide, 11mm deep, and 12.5mm high.
At each end of the body, add a vertical cylindrical catch with a diameter of 2.5mm and a height of 12.5mm. Pass... | num_slots = 4 ;
big_drum_inner_dia = 12.75;
small_drum_outer_dia = 9;
wall_thickness = 1;
drum_height = 13;
drum_tower_height = drum_height*2 - 4;
cut_out_height = 8;
body_width = 82.5 ;
body_depth = 11;
body_height = 12.5;
bottom_thickness = 2;
bottom_chamfer = 5;
total_pin_length = 88;
pin_dia = 4.5;
ca... | glb/cad_e789e9c02cd2.glb |
Create a rotary tool disc holder with a main rectangular body measuring 82.5mm wide, 11mm deep, and 28mm high.
At the bottom of the body, center a horizontal pivot pin that is 88mm long with a diameter of 4.5mm. Add semicircular catches with a diameter of 2.5mm at both ends of the pivot pin and at the center of the l... | disc_dia = 21;
num_slots = 3;
disc_slot_width = 10;
body_width = 82.5 ;
body_depth = disc_slot_width+2*1.5;
body_height = 28;
slot_length = disc_dia;
slot_width = disc_slot_width;
bottom_thickness = 2;
bottom_chamfer = 5;
finger_width = 16;
min_edge = 1;
total_pin_length = 88;
pin_dia = 4.5;
catch_dia = 2... | glb/cad_0e68c16e9236.glb |
Create a rotary tool bit holder with a main rectangular body measuring 82.5mm wide, 11mm deep, and 16mm high.
Along the top surface, create 16 evenly spaced rectangular slots for bits, each measuring 3.3mm by 3.3mm. These slots should penetrate the body to a depth of 14mm, leaving a 2mm thick floor at the bottom. On ... | num_slots = 16 ;
body_width = 82.5 ;
body_depth = 11;
body_height = 16;
slot_length = 3.3;
slot_width = 3.3;
bottom_thickness = 2;
bottom_chamfer = 5;
min_edge = 1;
total_pin_length = 88;
pin_dia = 4.5;
catch_dia = 2.5;
pin_height = 10;
render_offset = 0.01;
front_window_height = 6;
rotate([-90,0,0])
dif... | glb/cad_59a37d046937.glb |
Create a simple table with a rectangular top and two vertical side walls. The overall outer dimensions are 150mm in length, 100mm in width, and 50mm in height. All exterior edges and corners must be rounded with a radius of 2mm.
The table consists of a flat base plate that is 8mm thick. From this base, extend two par... | nozzle_diameter = 0.4;
$fs = nozzle_diameter / 2;
$fa = 5;
smooth_rad = 2;
length = 150;
width = 100;
height = 50;
thickness = 8;
l = length - smooth_rad*2;
w = width - smooth_rad*2;
h = height - smooth_rad*2;
module build_outer() {
difference() {
minkowski() {
cube([l,w,h]);
sphe... | glb/cad_88766ec43b4d.glb |
Create a Nix cookie cutter by constructing a hexagonal base and a vertical wall that follows a specific six-fold rotational snowflake pattern. Scale the entire model by a factor of 0.88.
Start with a flat hexagonal base with a radius of 55mm and a thickness of 2mm. From this base, extrude a vertical wall 14mm high tha... | size = 0.88;
bottom = false;
punch = false;
center_clearance = 0;
module snowflake() {
a = [-50, 0];
b = [-37, 0];
c = [-31, 0];
at = function(d) [cos(-60), sin(-60)]*d;
w=0.5;
points_pre = [
at(00) + a,
at(06) + a,
at(06) + b,
at(19) + a,
at(30) + a,
at(11... | glb/cad_241862676ff5.glb |
Create a lidless rectangular box with outer dimensions of 80mm width, 80mm depth, and 50mm height. The walls and floor should have a uniform thickness of 3mm. All four outer vertical edges and the four inner bottom edges must be rounded with a radius of 5mm. The interior bottom should be filleted with a radius of 2mm t... | $fn = 100;
width = 80;
depth = 80;
height = 50;
thickness = 3;
roundness = 5;
bottomFillet = true;
hexFill = 0.8;
hexRadius = 6;
patternPadding = 0;
frontHex = true;
backHex = true;
leftHex = false;
rightHex = false;
frontHexOffset = [0.0,0.0];
backHexOffset = [0.0,0.0];
leftHexOffset = [0.0,0.0];
rightHex... | glb/cad_51178fb15144.glb |
Create a sandpaper divider plate with a width of 120mm, a height of 130mm, and a thickness of 1.4mm. The plate should have rounded corners with a radius of 6mm.
In the center of the plate, create a honeycomb pattern of hexagonal holes. Each hexagon should have a diameter of 12mm across the diagonals and a wall thickn... | width = 120;
height = 130;
thickness = 1.4;
honeycomb_Boolean = true;
honeycomb_diam = 12.0;
honeycomb_sp = 2.0;
tab_Boolean = false;
grit = "320";
text_corner = "L";
font_size = 12;
main();
corner_rad = 6.0 + 0;
tab_height = 0.75*font_size;
margin = 6.0;
text_margin = 3.0;
module main() {
difference() {
... | glb/cad_d3c9b44ae471.glb |
Create a J1772 to Tesla Holder Adapter. Start with a circular base 55mm in diameter and 5mm thick. From this base, extend a central cylindrical ring with an outer diameter of 43.5mm and a height of 26mm.
Inside this ring, carve out a void to accommodate a Tesla plug. This void is formed by the intersection of a cylin... | $fn=120;
teslaTabHeight = 20;
ringHeight = 26;
ringDiameter = 43.5;
baseHeight = 5;
baseWidth = 10;
module TeslaPlugShape(tHeight=22) {
sideOffsetX = 9.5;
sideOffsetY = 2;
sideCylinderD = 60;
intersection() {
translate([0, -24, 0]) cylinder(d=80, h=tHeight);
translate([0, 7.5, 0... | glb/cad_ce2c0517cbf9.glb |
Create a cylindrical container with a center pole and a matching lid. For the container body, create a cylinder with an outer diameter of 52.2mm and a total height of 12.2mm. Hollow out the center by removing a cylinder from the top, leaving a bottom wall thickness of 1.2mm and an inner cavity diameter of 51mm with a d... | Generate = "both";
InnerDiameter = 50;
InnerHeight = 10;
CenterPoleDiameter = 6.5;
WallThickness = 1.2;
InnerLidHeight = 5;
LidClearance = 0.03;
ContainerTolerance = 1;
AirVentHoleDiameter = 1.5;
BodyLidDistance = 10;
$fn = 60;
module GenerateBody() {
union() {
difference() {
cylinder... | glb/cad_91c1b1fb77bc.glb |
Create a Cube Light consisting of hollow cube elements and a top cap.
For the main cube elements, create a cube with dimensions 160mm x 160mm x 160mm and a wall thickness of 2mm. Remove a cylindrical core from the center of the cube with a diameter of 70mm. To allow the cubes to slot together, create two intersecting... | part = "everything";
resolution = 30;
size = 160;
height = 160;
thickness = 2;
led_strip_holder_thickness = 1.6;
slot_diameter = 70;
top_height = 50;
slot_tolerance = 0.3;
show_circles = false;
circles = 6;
circles_thickness = 1;
top_chamfer = 0.5;
led_strip_thickness = 4;
led_strip_inset_distance = 70;
... | glb/cad_59689bc7a62d.glb |
Create a magnetic stirrer insert consisting of a cylindrical body with a tiered base and a central hollow core. Start with a main cylinder that has a radius of 7.2mm and a total height of 8mm. At the bottom of this cylinder, create a conical transition (a frustum) that flares out from a radius of 7.2mm at the top to 7.... | module insert(height,phase,tolerance,edge,edgeHeight)
{
$fn=100;
if(height > 9.2)
{
echo("--------------------------");
echo("WARNING! Insert height larger than pulley height!");
echo("--------------------------");
}
difference()
{
union()
{
... | glb/cad_36a8d073b058.glb |
Create a modular killkey for a 2.1mm connector consisting of two coaxial cylindrical parts. First, construct a base cylinder with a radius of 7.5mm and a height of 6mm. Drill a horizontal hole completely through the center of this base cylinder with a radius of 1mm. Second, position a hollow tube centered vertically ab... | cyre = 200;
module killkey_tube()
{
difference()
{
cylinder(r=5.6/2, h=10, center=true, $fn=cyre);
cylinder(r=1.25, h=10.01, center=true, $fn=cyre);
}
}
module killkey_base()
{
difference()
{
cylinder(r=7.5, h=6, center=true, $fn=cyre);
rotate([0,90,0])
cyli... | glb/cad_13e97a320df7.glb |
Create a modular killkey for a 2.1mm connector consisting of a base and a tube. First, construct the base as a cube measuring 10mm x 10mm x 3mm. From this cube, remove two rectangular sections: one positioned at x=3.51 and another at x=-5.01, both measuring 1.51mm x 7.51mm x 1.51mm, to create a notched profile. Centere... | cyre = 200;
module killkey_tube()
{
difference()
{
cylinder(r=5.6/2, h=10, center=true, $fn=cyre);
cylinder(r=1.25, h=10.01, center=true, $fn=cyre);
}
}
module killkey_base()
{
difference()
{
cube([10,10,3], center=true);
union()
{
translate([3.5... | glb/cad_bfe19a17a862.glb |
Create a modular killkey clip by constructing a composite geometric shape. Start with a rectangular base plate measuring 12mm in length, 10mm in width, and 1mm in height. On top of this base, add two thin vertical walls, each 1mm wide, 7.5mm deep, and 1.5mm high; position one wall at the front-left edge (x=0) and the o... | module killkey_clip()
{
union()
{
cube([12,10,1]);
translate([0,0,1])
cube([1,7.5,1.5]);
translate([12-1,0,1])
cube([1,7.5,1.5]);
translate([0,0,2.5])
cube([2.5,7.5,1.5]);
translate([12-2.5,0,2.5])
cube([2.5,7.5,1.5]);
}
}
union()
{
... | glb/cad_40b61684f78b.glb |
Create a modular killkey clip by combining a rectangular base with a conical top. Start with a rectangular prism measuring 12mm in length, 10mm in width, and 1mm in height. On top of this base, add two small rectangular pillars, each measuring 1mm by 7.5mm with a height of 1.5mm; position one at the front-left edge and... | cyre=200;
module killkey_clip()
{
union()
{
cube([12,10,1]);
translate([0,0,1])
cube([1,7.5,1.5]);
translate([12-1,0,1])
cube([1,7.5,1.5]);
translate([0,0,2.5])
cube([2.5,7.5,1.5]);
translate([12-2.5,0,2.5])
cube([2.5,7.5,1.5]);
}
}
... | glb/cad_c731c3f90688.glb |
Create a square slab measuring 25mm by 25mm with a thickness of 2mm. Within this slab, create a series of vertical cylindrical holes of varying radii that pass completely through the thickness. The holes should be positioned at the following coordinates (x, y) with their respective radii: (4, 3) with radius 1mm; (6, 8)... | cyre = 100;
difference()
{
cube([25,25,2]);
union()
{
translate([4,3,0])
cylinder(r=1, h=5, center=true, $fn=cyre);
translate([6,8,0])
cylinder(r=2, h=5, center=true, $fn=cyre);
translate([5,14,0])
cylinder(r=2.5, h=5, center=true, $fn=cyre);
translat... | glb/cad_028aea738e3d.glb |
Create a Prusa MK3S/+ X-Carriage for Igus Drylin RJ4JP-01-08 bearings.
Start with a base plate consisting of three rectangular blocks: a main base of 34.5mm x 70.5mm x 7mm, a smaller front section of 35mm x 7mm x 15mm, and a rear block of 52mm x 6.5mm x 15mm. Add an upper motor screw block measuring 43.5mm x 19.7mm x... | use <bearing r7i.scad>
module belt_cut()
{
rotate([0,0,180])
{
translate([-20,0,0]) cube([39,0.75,15]);
translate([-20,0,5]) rotate([-7,0,0]) cube([39,0.75,10]);
translate([-20,0,5]) rotate([10,0,0]) cube([39,0.75,10]);
for (_step =[-20:2:18])
{
translate([_step,0.5,0]) cub... | glb/cad_5574834cd719.glb |
Create a Prusa MK3S/+ X-Carriage for Igus Drylin RJ4JP-01-08 bearings. Start with a base structure composed of two intersecting blocks: one measuring 33mm x 73mm x 8mm positioned at [-16, -40, 15.1] and another measuring 52mm x 30.5mm x 8mm positioned at [-25.5, 4, 15.1].
Carve out several geometric features from this... | module m3head()
{
intersection()
{
translate([30,5,9])cylinder(r=3.1,h = 25, $fn=30);
translate([30,5,17-3.5]) cube([6.2,3.4,1], center=true);
}
translate([30,5,17-4]) cube([3.4,3.4,1], center=true);
translate([30,5,17-3.5])cylinder(r=3.1,h = 20, $fn=30);
}
module x_carriage_back()
... | glb/cad_4f8ae6562093.glb |
Create a bearing holder for an X-carriage. Start by creating a vertical cylinder with a height of 62mm and a radius of 7.4mm.
At the base of this cylinder, create a conical transition by adding a thin disc with a height of 0.5mm, featuring a bottom radius of 7.4mm and a top radius of 7.475mm.
To create the mounting... | use <polyholes.scad>
bearing_diameter = 14.95;
module horizontal_bearing_base(bearings=1){
translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true);
}
module horizontal_bearing_holes(bearings=1){
cutter_lenght = 10+bearings*25;
one_holder_lenght = 8+25;
holder_lenght = 8+bearings*25;
difference()... | glb/cad_e743c2240622.glb |
Create a Duplo Compatible Bracket. Start by constructing a main rectangular block with dimensions 31.5mm in width, 31.5mm in depth, and 9.675mm in height. Ensure all exterior corners are rounded with a radius of 0.9mm.
On the top surface, add four cylindrical studs arranged in a 2x2 grid. Each stud should have a base ... | Height_factor = 0.5;
Studs = 1;
Extended_Ridges = 1;
print_helper = 2;
text ="A";
font = "Liberation Sans";
letter_scale = 3;
letter_height = 2;
multi_material = 0;
letter_inset = 0.4;
letter_detail = 40;
base_unit = 15.75;
std_height = 19.35;
wall_thickness = 1.2;
roof_thickness = 1.4;
base_plate_thickne... | glb/cad_a89201f59d2a.glb |
Create a print-in-place spinning letter I fidget toy. Construct the outer frame as a large, hollow capital letter I. The overall outer boundary is a rectangle 60mm wide by 100mm tall with a thickness of 6mm. The vertical stem of the outer I is 4mm wide and 60mm tall, centered horizontally, with horizontal bars at the t... | $fn=100;
translate([17, -23, 0]) rotate([0,0,0]) cube([24, 4, 6], center = true);
translate([-17, 23, 0]) rotate([0,0,0]) cube([24, 4, 6], center = true);
translate([-17, -23, 0]) rotate([0,0,0]) cube([24, 4, 6], center = true);
translate([17, 23, 0]) rotate([0,0,0]) cube([24, 4, 6], center = true);
difference(){
tran... | glb/cad_c7cfd58ea14e.glb |
Create a spinning letter I fidget toy consisting of a hollow outer frame and a smaller inner I-shaped piece that rotates on a central axis.
First, construct the outer frame. Create a central vertical rectangular block measuring 4mm wide, 60mm long, and 6mm high. Add two horizontal rectangular bars at the top and bott... | $fn=100;
translate([17, -23, 0]) rotate([0,0,0]) cube([24, 4, 6], center = true);
translate([-17, 23, 0]) rotate([0,0,0]) cube([24, 4, 6], center = true);
translate([-17, -23, 0]) rotate([0,0,0]) cube([24, 4, 6], center = true);
translate([17, 23, 0]) rotate([0,0,0]) cube([24, 4, 6], center = true);
difference(){
tran... | glb/cad_1cea3fe4a387.glb |
Create a flashlight diffuser consisting of a hollow cylindrical connector and a larger diffuser cap.
Start by creating a hollow cylindrical connector with an inner diameter of 15mm and a wall thickness of 1.5mm. The length of this connector should be 5mm (one-third of the torch diameter). At the top of this cylinder,... | Measurement = "inner";
TorchDiameterTop = 15;
TorchDiameterLower = 0;
TorchOverlap= 0;
DiffuserStyle = "ShortRound";
WallThickness = 1.5;
DiffuserLength = 0;
DiffuserEndDiameter = 0;
DiffuserEndThickness = 0;
DiffuserEndShape = "flat";
StopLength = 1;
StopThickness = 0;
fudgeFactor = 0.015;
$fn=120;
modul... | glb/cad_89d182d5485e.glb |
Create a child's prop lightsaber handle. The main body is a central cylinder with a radius of 12mm and a height of 120mm.
At the bottom end, create a base consisting of a truncated cone (frustum) with a bottom radius of 6mm, a top radius of 15mm, and a height of 15mm. Surround this base with five identical decorative... | $fn=120;
module basefin() {
difference(){
cylinder(r1=8, r2=17, h=15);
translate([2,-20,-1])scale([40,40,40])cube(1);
translate([-42,-20,-1])scale([40,40,40])cube(1);
}
}
module bodyfin() {
color("green")difference(){
union() {
translate([0,0,15])cylinder(r1=17,... | glb/cad_20e8af3b923d.glb |
Create a baby gate leg by starting with a four-sided pyramid that has a square base of 80mm by 80mm and a height of 25mm, which is then scaled by a factor of 2.5 along the Y-axis to create a rectangular footprint. From this main body, remove a central rectangular cutout to accommodate square tubing. This cutout must be... | difference() {
scale([1,2.5,1])difference() {
rotate([0,0,45])cylinder($fn=4,r1=40,r2=4,h=25);
translate([10,-50,-1])scale([100,100,100])cube(1);
translate([-110,-50,-1])scale([100,100,100])cube(1);
}
translate([-11,-10.25,6])scale([22,19.5,20])cube(1);
translate([-11,9,-14])sca... | glb/cad_f92bd4aec2ea.glb |
Create a baby gate leg by starting with a four-sided pyramid that has a square base of 80mm by 80mm and a height of 25mm, then scale this shape by a factor of 2.5 along the Y-axis to create a rectangular footprint. From this main body, remove a centered rectangular cutout to accommodate square tubing, measuring 20mm by... | difference() {
scale([1,2.5,1])difference() {
rotate([0,0,45])cylinder($fn=4,r1=40,r2=4,h=25);
translate([10,-50,-1])scale([100,100,100])cube(1);
translate([-110,-50,-1])scale([100,100,100])cube(1);
}
translate([-11,-10,6])scale([22,20,20])cube(1);
translate([-11,9,-14])scale([2... | glb/cad_843aeddf2278.glb |
Create a tape holder by starting with a square-based pyramid frustum that is rotated 45 degrees on the Z-axis. This main body should have a height of 59mm, a bottom radius of 20mm, and a top radius of 7mm. From this shape, remove a large central rectangular block measuring 52mm by 160mm by 59mm, centered at a height of... | $fn=80;
difference() {
scale([2.75,1,1])rotate([0,0,45])cylinder($fn=4,r1=20,r2=7,h=59);
translate([-27,0,29])cube(52,center=true);
translate([82,0,0])cube(160,center=true);
translate([-86,0,90])cube(160,center=true);
translate([-30,7,-1])cylinder(r=2.05,h=20);
translate([-30,7,1.5])cylinder(r1... | glb/cad_4fe430a70037.glb |
Create a 3D print scraper holder by constructing a central vertical cylinder with a radius of 3.2mm and a height of 20mm. At the base of this cylinder, add a wider, flat circular disc with a radius of 10mm and a thickness of 2mm, centered such that the vertical cylinder rises from its middle and the disc's bottom surfa... | $fn=80;
difference() {
union() {
cylinder(r=3.2,h=20);
translate([0,5,-2])cylinder(r=10,h=2);
translate([0,0,20])scale([1,1.25,1])cylinder(r=3.2,h=2);
}
translate([0,-26,0])cube(center=true,50);
} | glb/cad_56bafa2cb57e.glb |
Create a filament spool holder consisting of two separate symmetrical components. For each component, start with a base that is a semi-circular disc with a radius of 125.5mm and a height of 3mm.
From this disc, remove a concentric semi-circular center section with a radius of 123.5mm and a height of 8mm to create a t... | module bearingholder() {
color("red")cylinder($fn=60,r=5.5,h=0.6);
color("blue")cylinder($fn=60,r=4,h=4);
}
module cutout() {
difference() {
union() {
hull() {
translate([-20,0,0])scale([1,40,3])cube(1);
translate([19,0,0])scale([1,40,3])cube(1);
... | glb/cad_2d8e1f3bbce4.glb |
Create a filament spool holder consisting of two separate parts: a middle holder and an outer holder.
For each part, create a base that is a cylinder with a radius of 125.5mm and a height of 3mm. From this base, remove a central cylindrical section with a radius of 123.5mm and a height of 8mm to create a thin circula... | module bearingholder() {
color("red")cylinder($fn=60,r=5.5,h=0.6);
color("blue")cylinder($fn=60,r=4,h=4);
}
module cutout() {
difference() {
union() {
hull() {
translate([-20,0,0])scale([1,40,3])cube(1);
translate([19,0,0])scale([1,40,3])cube(1);
... | glb/cad_27eb7da85b44.glb |
Create a vibration-absorbing foot for a 2040 aluminum extrusion. Start with a rectangular base plate measuring 51mm by 35mm with a thickness of 3mm. Centered on this base, construct a hollow spherical housing designed to hold a foam golf ball. The outer shell of this housing should be a low-resolution sphere with a rad... | module holeset() {
translate([0,0,-0.001])cylinder(r=2.25,h=10,$fn=50);
translate([0,0,2])cylinder(r=5,h=10,$fn=50);
translate([0,20,-0.001])cylinder(r=2.25,h=10,$fn=50);
translate([0,20,2])cylinder(r=5,h=100,$fn=50);
}
module unit1() {
difference() {
union() {
scale([51,35,3])c... | glb/cad_161ed51aaf4f.glb |
Create an oil lamp top mount hook. Start with a central rectangular block measuring 30mm in width, depth, and height. From this block, remove a large section to create a U-shaped bracket. The front portion of the bracket should feature a smooth, curved interior cutout that transitions through a series of connected hull... | $fn=160;
module top_handle() {
difference() {
union() {
hull() {
translate([0,35,0])rotate([90,0,0])cylinder(r=10,h=1);
translate([0,25,0])rotate([90,0,0])cylinder(r=5,h=1);
}
hull(){
translate([0,25,0])rotate([90,0,0])cyli... | glb/cad_9f2425de375f.glb |
Create a parametric resin filter consisting of a conical vessel and a vertical handle. Start by constructing a hollow cone with a bottom diameter of 30mm, a height of 20mm, and a wall thickness of 0.6mm. The cone should taper outwards from the base to a larger top opening, defined by a 60-degree angle.
To create the ... | $fa = 0.5;
$fs = 0.5;
wall_thickness = 0.6;
tube_height = 0;
cone_height = 20;
bottom_diameter = 30;
angle = 60;
filter_height = 1;
draw_handle = true;
total_height = tube_height + cone_height;
function h2dia(h) = bottom_diameter + 2 * tan(angle / 2) * h;
module up(z) translate([0, 0, z]) children();
module base(h1... | glb/cad_da6b1fcb9c09.glb |
Create a parametric folding handle consisting of two hinge components and one handle arm.
For the hinge components, create two identical pieces. Each piece starts with a hull of two cylinders with a radius of 7mm and a height of 5mm, positioned 40mm apart (centered at x= -20 and x= 20). From these, remove a central v... | $fn=80;
handlewidth=150;
handleheight=45;
module hinge() {
difference() {
hull() {
translate([-20,0,0])cylinder(r=7,h=5);
translate([20,0,0])cylinder(r=7,h=5);
}
translate([-20,0,2])cylinder(r=4,h=6);
translate([20,0,2])cylinder(r=4,h=6);
translate... | glb/cad_655bc6a09a44.glb |
Create a bookbinding awl insert by starting with a rectangular base that is 210mm long, 20mm wide, and 2mm thick. The base is formed by a square prism with a 2mm x 2mm cross-section extended to a length of 210mm. Along the center axis of this length, create a series of circular holes to accommodate an awl. The first ho... | difference() {
translate([0,0,0])scale([1,10,10])rotate([0,90,0])color("red")cylinder(r=1,$fn=4,h=210);
translate([0,0,-150])scale([600,600,300])cube(1,center=true);
first_edge_offset=15;
spacing=20;
stoplen=210;
awldia=2.2;
for (i = [ first_edge_offset : spacing: stoplen]) {
trans... | glb/cad_8d2583cc7ec5.glb |
Create a Honeycomb Storage Wall magnet insert. Start by creating a hexagonal plug base that fits the HSW system. On the top face of this plug, integrate a circular plate that extends 4mm downwards.
Within this structure, create a rectangular cavity to house a magnet. The cavity should be 10mm wide, 20mm long, and 2mm ... | include<hex plug library.scad>;
Magnet_width = 10;
Magnet_Length = 20;
Magnet_thickness = 2;
Magnet_shape = 0;
Magnet_rotation_degree = 0;
Distance_magnet_under_plate_surface = 0.4;
Plate_extrude_up = 0;
Plate_extrude_down = 4;
Plate_wraps_magnet = false;
Debug_magnet_mode = false;
module __Customizer_Limit__ () {}... | glb/cad_9b53d5315866.glb |
Create a simple two-part customizable box consisting of a bottom container and a fitting lid.
For the bottom container, create a rectangular solid with overall dimensions of 75.28mm in width (x), 30.28mm in depth (y), and 102.64mm in height (z). Hollow out the center of this solid by removing a rectangular block star... | wallthickness=1.32;
internalx=70;
internaly=25;
internalz=100;
internal_lidz=15;
lip_overlap = internal_lidz/2;
lipspacing=0;
internal_botz=internalz-internal_lidz;
actual_y=internaly+(4*wallthickness);
actual_x=internalx+(4*wallthickness);
actual_lidz=internal_lidz+(2*wallthickness);
actual_botz=internal_botz+... | glb/cad_a82a0032d60d.glb |
Create a wall-mount pen holder shaped as a hollowed-out semi-cylinder. Start with a solid cylinder 80mm high with an outer radius of 28.22mm and a wall thickness of 1.22mm. Hollow out the center to create an inner radius of 27mm. Slice the cylinder vertically down the center to create a flat back surface for wall mount... | $fn = 100;
base_cutout=true;
screw_diameter = 5;
hole_diameter = 20;
cylinder_height = 80;
cylinder_inner_radius = 27;
wall_thickness = 1.22;
base_cutout_multiplier=5;
module positive() {
difference() {
cylinder(h=cylinder_height, r=cylinder_inner_radius+wall_thickness);
union() {
translate([0,0,... | glb/cad_76b6c107547a.glb |
Create a scalpel holder consisting of a rectangular backplate and a mounted storage block. The backplate is a flat rectangular slab measuring 28mm wide, 7mm thick, and 52mm high. Position two cylindrical screw holes with a radius of 2mm and a depth of 20mm through the backplate, centered 40mm apart along the width and ... | angled=1;
difference(){
translate([0,0,-7.5])scale([28,7,52])cube(1,center=true);
translate([6.5,0,3])scale([10,4,67])cube(1,center=true);
translate([-6.5,0,3])scale([10,4,67])cube(1,center=true);
translate([6.5,3,18])scale([7,4,67])cube(1,center=true);
translate([-6.5,3,18])scale([7,4,67])cube(1... | glb/cad_d5828fef17bd.glb |
Create an extruder mount bracket. Start with a main rectangular base measuring 100mm by 80mm with a thickness of 10mm. At one end, add a vertical wall extending upwards by 40mm, creating an L-shape.
On the horizontal base, place two sets of mounting holes. Each set consists of a central hole with a radius of 5mm and ... | module stepper_motor_screw(rad=1.6, hgt=150) {
translate([-15.5,15.5,-100])cylinder(r=rad,h=hgt,$fn=60);
translate([-15.5,-15.5,-100])cylinder(r=rad,h=hgt,$fn=60);
translate([15.5,15.5,-100])cylinder(r=rad,h=hgt,$fn=60);
translate([15.5,-15.5,-100])cylinder(r=rad,h=hgt,$fn=60);
}
module stepper_motor_cu... | glb/cad_ebdb70f3a9ff.glb |
Create a 40mm fan mount designed for 2020 extrusion. Start with a main vertical bracket that is 5mm thick, 42mm wide, and 42mm high. In the center of this bracket, remove a semi-circular cutout with a radius of 19mm to create a C-shaped cradle. Within the remaining vertical walls of this cradle, place four 3.2mm diamet... | module fan_mount() {
difference() {
scale([5,42,42])cube(1);
translate([-1,5,6])rotate([0,90,0])cylinder(r=1.6,h=10,$fn=60);
translate([-1,5,38])rotate([0,90,0])cylinder(r=1.6,h=10,$fn=60);
translate([-1,37,6])rotate([0,90,0])cylinder(r=1.6,h=10,$fn=60);
translate([-1,37... | glb/cad_70bd528fc6e6.glb |
Create a sliding bolt lock consisting of a base and a handle. For the base, create a rectangular plate measuring 30mm by 20mm with a thickness of 3mm. At each end of this plate, add a vertical support block. Each block is formed by the convex hull of a 5mm by 10mm by 3mm cube and a cylinder with a 5mm radius and 5mm he... | m5nut=4.67;
$fn=60;
module bolt_slide() {
difference() {
hull() {
translate([0,5,0])scale([5,10,3])cube(1);
translate([0,10,8.5])rotate([0,90,0])cylinder(r=5,h=5);
}
translate([0,10,8.5])rotate([0,90,0])cylinder(r=2.6,h=5);
}
}
module base() {
bolt_slide();... | glb/cad_98787be941c5.glb |
Create a parametric grip hole insert designed to fit into a rectangular cutout. The main body is a rounded rectangular frame with an outer length of 112mm and width of 62mm. The overall thickness of the flat section is 4mm. The interior of the frame is hollowed out to accommodate a hole that is 100mm long and 50mm wide... | Materialstaerke=4;
Locheckenradius=10;
Lochlaenge=100;
Lochbreite=50;
Griffradius=6;
Griffabschnitt=Griffradius*.45;
Klemmbreite=5;
Klemmlaenge=20;
Klemmnase=.5;
Klemmnasenhoehe=2;
Klemmtol=.15;
$fn=60;
Ldist = Lochlaenge/2-Locheckenradius;
Bdist = Lochbreite/2-Locheckenradius;
Lmax = Lochlaenge + 2*Griffradius;
B... | glb/cad_fc306a9f0384.glb |
Create a greenhouse join ring consisting of a thin vertical cylinder and a flat circular base. Start by creating a thin-walled hollow cylinder with an inner radius of 57mm, an outer radius of 57.8mm, and a height of 8mm. Use a facet resolution of 32 sides for the circular geometry. Attached to the bottom of this cylind... | $fn = 32;
Ring_R1 = 57.00;
Ring_R2 = 57.00;
Ring_H = 8.00;
Ring_T = 0.80;
Flange_R = 58.75;
Flange_H = 2.00;
tol = .1;
greenhouse_ring();
module greenhouse_ring()
{
translate(v = [0,0,Flange_H])
union()
{
difference()
{
cylinder(h = Ring_H, r1 = Ring_R1 + Ring_T, r2... | glb/cad_524798e5d7bc.glb |
Create a self-watering seed starting pot insert consisting of four stacked concentric sections. Start with a base conical frustum with a height of 101.25mm, a bottom radius of 47.75mm, and a top radius of 54.50mm. This base should be hollowed out with a wall thickness of 0.5mm, leaving a solid bottom floor with a thick... | $fn = 26;
Base_R1 = 47.75;
Base_R2 = 54.50;
Base_H = 101.25;
Base_T = 0.50;
Base_Bottom_T = 1.50;
Ring_R1 = 56.50;
Ring_R2 = 56.35;
Ring_H = 21.50;
Ring_T = 2.00;
Ring_Overlap = 1.50;
Rim_R1 = 58.25;
Rim_R2 = 58.25;
Rim_H = 1... | glb/cad_c72894a71046.glb |
Create a drill guide for a self-watering seed starting system. Start by constructing a hollow circular base with a height of 2mm. The outer radius of this base is 50.5mm, and the inner radius is 42.5mm, creating a wall thickness of 8mm.
Attached to this base, create three vertical arms spaced equally at 120-degree int... | $fn = 36;
Bottom_Radius = 50.50;
Top_Radius = 52.75;
Drill_Height = 34.50;
Drill_Radius = 2.00;
Wall_Thickness = 2.00;
Number_Of_Holes = 3;
tol = .1;
module __Customizer_Limit__ () {}
Height = Drill_Height;
Arm_Width = Drill_Radius * 2 + Wall_Thickness * 2;
Angle = atan(Drill_Height/(Top_Rad... | glb/cad_4620d65a5b6a.glb |
Create a join ring for a self-watering seed starting system by extruding a specific 2D profile around a central axis with an inside radius of 54.25mm. The profile is a complex cross-section designed to snap two pots together.
The profile consists of two main sections separated by a center thickness of 1mm. The upper ... | $fn = 60;
Inside_Radius = 54.25;
Wall = 0.80;
Opening_Width = 3.50;
LooseFit_Ring_Height = 4.50;
TightFit_Ring_Height = 5.00;
Center_Thickness = 1.00;
Center_Taper_Width = 1.00;
Center_Taper_Height = 1.00;
LooseFit_Taper_Width = 0.50;
LooseFit_Taper_Height... | glb/cad_8618fcddab83.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.