Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Customizer MTG Deckbox consisting of a main box and a lid.
For the main box, create a hollow rectangular container with outer dimensions of 68mm length, 78mm width, and 50mm height (based on a 4mm wall thickness and a 60mm x 70mm x 92mm internal capacity). The base of the box should be solid, and the walls s... | deckl = 60;
deckw = 70;
deckh = 92;
lid_height = 0.5;
deckh_lower = deckh*lid_height;
deckh_upper = deckh*(1-deckh_lower/deckh);
wall = 4;
tolerance = 0.6;
commandl = 2;
commandw = 70;
commandh = 92;
windoww = 55;
windowh = 63;
gripw = 30;
griph = deckh_lower+deckh*0.2+tolerance;
bump_radius = wall/3;
module ... | glb/cad_e94a6f7ad151.glb |
Create a Flexing Battery Holder designed for four AA batteries in an alternating orientation.
For each of the four battery compartments, create a chamfered rectangular base with a length of 50mm and a width of 14.4mm. The walls should have a height of approximately 11.5mm (0.8 times the battery diameter). Within each... | module chamfered_cube(size,d=1){
hull(){
translate([d,d,0])cube(size-2*[d,d,0]);
translate([0,d,d])cube(size-2*[0,d,d]);
translate([d,0,d])cube(size-2*[d,0,d]);
}
}
module arc(r1,r2,h,a1=0,a2=0){
if(a2-a1<=180){
difference(){
cylinder(r=r2,h=h);
translate([0,0,-1... | glb/cad_07d29d590b6c.glb |
Create a miter tool by starting with a base plate and adding a central block. The base is a rectangular slab 41mm wide, 30mm long, and 5mm thick. Centered on this base, create a vertical rectangular block 15mm wide, 30mm long, and 20mm high.
Carve a central channel through the block and base that is 15mm wide and 30m... | $fn = 50;
width = 15;
length = 30;
height = 20;
extraBaseWidth = 13;
wallThickness = 5;
slitWidth = 1.5;
screwRadius = 1.5;
miter();
module miter()
{
difference()
{
union()
{
centerCube(width + 2 * wallThickness, length, wallThickness + height);
centerCube(width + 2 ... | glb/cad_066d01d96387.glb |
Create a bike light mount consisting of two mirrored clamping halves and a light attachment plate.
For the clamping halves, create two semi-cylindrical shells with an outer diameter of 22mm and an inner diameter of 16mm, and a height of 17mm. Each half should feature a hinge mechanism on one side consisting of a flan... | $fs=0.15;
x=20.2;
x2=16;
y=22;
z=2.45;
wedgex=6.5;
wedgey=3.3;
wedgez=0;
voidx=1;
boltd=4.8;
boltHead=9.9;
nutd=10.95;
nuty=17;
nuth=4.6;
translate([0,1,0]) mirror([ 0, 1, 0 ])bikePart1();
bikePart2();
translate([-70,0,0])rotate([90,0,90])lightPart2();
module lightPart(){
difference(){
union(){
cube([x, y, z])... | glb/cad_0fbfa90806e3.glb |
Create a pet bowl by constructing a truncated cone with a bottom diameter of 180mm, a top diameter of 150mm, and a height of 45mm. Hollow out the center to create a vessel with a wall thickness of 3mm. The interior cavity should be formed by removing a smaller truncated cone from the center and smoothing the bottom int... | use <Write.scad>
wig = 0.01/1;
$fn=180;
cone_bot = 180;
cone_top = 150;
cone_h = 45;
bowl_d = 151;
wall_t = 3;
delta = (cone_bot-cone_top)/2;
avg_r = (cone_top+cone_bot)/4;
angle = atan(delta/cone_h);
module bowl(TEXT) {
difference() {
union() {
cylinder(r1=cone_bot/2,r2=cone_top/2,h=cone_h,center=... | glb/cad_085db5950d31.glb |
Create a wrist pad for an ErgoDox Infinity keyboard with a thickness of 20mm. The shape is a composite of two joined sections with a total depth of 100mm. The first section is a rectangular block measuring 82.5mm in width and 100mm in depth. Attached to this is a second section, 93mm wide, that extends from the first. ... | wristpad_base();
WristpadDepth=100;
WristpadThickness=20;
ErgoDoxAngle=154;
ErgoDoxSideThumb=93;
ErgoDoxSideFingers=82.5;
module wristpad_base() {
fillet(r=2.5, $fn=16) {
union() {
_wristpad_palm();
translate([ErgoDoxSideFingers, 0, 0])
_wristpad_thumb();
... | glb/cad_4cf2422ebea5.glb |
Create a pet bowl by constructing a hollow truncated cone. The outer shell should have a base diameter of 200mm, a top diameter of 150mm, and a total height of 60mm. The walls of the bowl must be a uniform 2mm thick. To create the interior cavity, remove a conical volume from the center that mirrors the outer dimension... | wig = 0.01/1;
$fn=180;
cone_bot = 200;
cone_top = 150;
cone_h = 60;
bowl_d = 150;
wall_t = 2;
delta = (cone_bot-cone_top)/2;
avg_r = (cone_top+cone_bot)/4;
angle = atan(delta/cone_h);
module bowl(TEXT) {
difference() {
union() {
cylinder(r1=cone_bot/2,r2=cone_top/2,h=cone_h,center=false);
inte... | glb/cad_3ddfa8f5fabf.glb |
Create a TIE Bomber Bin for a Harbor Freight organizer. The bin is a solid vertical volume with a height of 46.5mm. The footprint of the bin is defined by the convex hull of two rectangular prisms. The first prism is 24mm wide and 32mm deep. The second prism is 11mm wide and 45mm deep, centered relative to the first. T... | include <./bintools.scad>
$fn=160;
binHeight = 46.5;
angle=0;
locations = [[[0,25.5,0], [0,0,90]],
[[0,0,0], [0,0,90]],
[[0,-25.5,0], [0,0,90]]];
bomberBlank();
module bomberOutline() {
translate([0,0,37]) rotate([180,0,0]) {
blankCutout(height=37 - 0.1, outlineScale=1.2) bomberBl... | glb/cad_66ce38016092.glb |
Create a mirror holder by constructing a composite geometric shape. Start with a central rectangular block measuring 15mm wide, 10mm deep, and 11.5mm high, centered on the XY plane. Add a second rectangular block on top of this base, measuring 15mm wide, 10mm deep, and 4mm high, positioned so its center is 4.52mm above... | module holder() {
translate([0,0,6.52]) rotate([180,0,0]) difference(){
union(){
translate([0,0,0.75]) cube([15,10,11.5], center=true) ;
translate([0,6.5,4.52]) cube([15,10,4], center=true) ;
translate([0,10+0.5,4.52-0.8]) cube([15,2,4], center=true);
}
translate([0,-0,0]) cylinder(r=1.6,h=20,cente... | glb/cad_611a5903363e.glb |
Create a Customizable Twisted Wire Jig by starting with a main solid cylinder that has a radius of 7.5mm and a height of 30mm. To create the wire channels, remove three identical smaller cylinders, each with a radius of 1mm. These smaller cylinders must be positioned and angled to carve grooves into the main body. Each... | center = 0;
wireRad = 1;
jigRad = 7.5;
jigHeight=30;
numStrand = 3;
$fn=50;
difference()
{
cylinder(h=jigHeight, r=jigRad);
union()
{
for (i=[1:1:numStrand])
{
if (center)
{
rotate([-atan((jigRad-(wireRad/(sin(180/numStrand))+wireRad*(1-cos(180/numStrand))))/jigHeight),0,i*360/numStrand])
transl... | glb/cad_a41158ee5c6d.glb |
Create a Floss Bobbin by starting with a central rectangular plate measuring 27mm by 39mm with a thickness of 1mm. At each of the four corners of this plate, add a semi-circular protrusion with a diameter of 8mm and a thickness of 1mm, ensuring they are centered on the plate's edges. To finish the piece, remove a circu... | difference(){
union(){
cube([27,39,1],true);
translate([-14,-15.5,-0.5])cylinder(d=8,h=1,$fn=60);
translate([-14,15.5,-0.5])cylinder(d=8,h=1,$fn=60);
translate([14,-15.5,-0.5])cylinder(d=8,h=1,$fn=60);
translate([14,15.5,-0.5])cylinder(d=8,h=1,$fn=60);
}
translate... | glb/cad_5a698edf34d8.glb |
Create a 4-inch impeller with a total diameter of 101.6mm and a thickness of 5.28mm. Start by constructing a central cylindrical hub with a radius of 19.05mm. Within this hub, create six evenly spaced circular bolt holes, each with a radius of 3.175mm, arranged in a circular pattern with a radius of 11.43mm from the ce... | module blade() {
b = 18;
h = 7.80221;
w = 50.8;
r =4.4;
rotate(90,[0,1,0]){
translate([-r*.6,-b/2,w/2]){
difference(){
linear_extrude(height = w, center = true, convexity = 10, twist = 0)
polygon(points=[[0,0],[h,0],[0,b]], paths=[[0,1,2]]);
difference() {
translate([-.5,0,-.5]){
line... | glb/cad_d0c7cba69b1a.glb |
Create a Braille Brick, a construction toy element designed as a rectangular block. The main body is a hollow rectangular prism with a width of 24mm (3 units of 8mm pitch), a depth of 19.2mm (2 units of 9.6mm pitch), and a height of 9.6mm. The walls are 1.2mm thick.
The interior of the block contains supporting cylind... | h_pitch = 8.0;
v_pitch = 9.6;
tol = 0.1;
k_dia = 4.8;
k_height = 1.8;
k_n = 40;
wall = 1.2;
brick_cyl_ex = 8*sqrt(2)-2*2.4;
brick_cyl_in = 4.8;
beam_cyl = 3.0;
$charKeys = ["a", "A", "b", "B", "c", "C", "d", "D", "e", "E", "f", "F", "g", "G", "h", "H", "i", "I", "j", "J", "k", "K", "l", "L", "m", "M", "n", "N","o", "... | glb/cad_db60c04357cd.glb |
Create a BlinkM MaxM Holder by constructing a base assembly with a height of 6.3mm. Start by placing two cylindrical spacers, each with an external diameter of 8mm and an internal hole of 3.2mm, positioned 46.8mm apart from center to center. Connect these spacers with a central rectangular spar that is 4mm thick and 8m... | spacerHeight = 6.3;
spacerExternalDiameter = 8.0;
spacerInternalDiameter = 3.2;
spacerDistanceBetween = 46.8;
blinkMHolderBaseLength = 36;
blinkMHolderBaseWidth = 10;
blinkMHolderBaseSideLength = 3.2;
blinkMHolderBaseHeight = spacerHeight;
blinkMHolderCenterGrooveOffset = 2.4;
blinkMHolderDistanceFromSpacers... | glb/cad_002b9eb428a7.glb |
Create a fan mount consisting of a square base with a central circular opening. Start with a main body formed by the union of a 35mm cube with a height of 10mm and a wider 45mm by 45mm square rim that is 2mm thick, positioned 4mm below the center. Hollow out the center by removing a 33mm cube with a height of 10mm and ... | $fn = 30;
difference(){
union(){
hull(){
cube([35, 35, 10], center=true);
translate([0,0,-4])
cube([45, 45, 2], center=true);
}
}
translate([0,0,-2])
cube([33, 33, 10], center=true);
cylinder(d=31, h=15, center=true);
translate([0,18.5,5.5])
cube([40,2,2], center=true);
mirror([0,180,0]... | glb/cad_2e8ceaf417d9.glb |
Create an ROV PVC frame connector by constructing a composite cylindrical body. Start with a central cylinder 10mm high with a 15mm radius. Directly on top of this, add a second cylinder with a height of 2mm and a 16mm radius. Above that, add a third cylinder with a height of approximately 11.67mm and a 16mm radius.
... | id=30;
ud=32;
cl=2;
b=2;
plug=0;
difference(){
union(){
#cylinder(r=id/2,h=id/3,$fn=50);
#translate([0,0,id/3])cylinder(r=ud/2,h=cl,$fn=50);
if (plug < 1)
{
#translate([0,0,id/3+cl])cylinder(r=ud/2,h=ud/3.5,$fn=50);
}
}
#translate([0,ud/2,id/3+cl+ud/2])rotate([90,0,0])cylinder(r=ud/2,h=ud,$fn=50);
#cylinder... | glb/cad_509aaaadaf2b.glb |
Create a wall plug cell phone holder by constructing a main vertical support and a base. Start with a rectangular base plate measuring 50mm wide, 90mm deep, and 3mm thick. From the center of the top edge of this base, extend a vertical wall upwards.
At the top of this vertical section, create a circular cutout with a... | dx_holder=50;
dz_holder=90;
thikness=3;
wall_outlet_size=40;
dx_phone_top=50;
dx_phone=80;
dz_phone=10;
dz_thikness=4;
dy_top=25;
dy_bottom=30;
module holder(){
difference() {
union() {
translate([dx_holder/2,0,dz_holder - dx_holder/2]) rotate([270,0,0]) cylinder(h=thikness, r=dx_holder/2, center=center);
... | glb/cad_e96f1490f071.glb |
Create a phone holder by starting with a solid rectangular block measuring 132mm in width, 16mm in depth, and 78mm in height. From this main body, carve out a central rectangular cavity to hold a phone, leaving a wall thickness of 3mm on all sides.
Within the remaining structure, create a series of circular cutouts t... | dx_phone=126;
dy_phone=13;
dz_phone=67;
thikness=3;
module holder(){
difference(){
intersection (){
cube(size=[dx_phone + 2 * thikness,dy_phone + thikness,dz_phone- 15 +thikness * 3]) ;
translate([dx_phone ,(dy_phone + thikness),-dz_phone *2]) rotate([90,0,0]) cylinder(h=thikness + dy_phone,r=dz_phone... | glb/cad_0a495dcf5e9e.glb |
Create a Finger Joint Cabinet consisting of five flat panels, each with a thickness of 2.5mm. Construct two main rectangular panels for the top and bottom, each measuring 67.5mm by 40mm. Create two side panels and one back panel, each measuring 40mm by 40mm.
Along every meeting edge of these panels, integrate interlo... | pt = 2.5;
xw = 0.4;
st = 1;
module makePanel(tw, th, tk){
w=tw - (tw % tk);
h=th - (th % tk);
render() linear_extrude(height=tk) difference(){
square([w,h]);
for(xi = [4:2:(w/tk-2)]){
translate([xi*tk,0]) square([tk+xw, tk*2+xw], center=true);
translate([(xi-1)*tk,h... | glb/cad_5ddd3e52559a.glb |
Create a Mouth Stick consisting of a flat, curved mouthpiece and a long cylindrical handle. Start by creating the mouthpiece as a flat plate with a thickness of 3.18mm. The plate's profile is defined by the intersection of a cone and a cube: the cone has a base radius of 50mm and a height of 160mm, while the cube has a... | molar_width=60;
mouth_length= 65;
thickness= 3.18;
stick_length=120;
cone_height=160;
cone_width=50;
theta=atan(cone_width/cone_height);
height_transpose=1/2*molar_width/tan(theta);
new_height=cone_height-height_transpose;
new_hyp=pow((molar_width/2),2)+pow(height_transpose,2);
gamma=asin(sqrt(new_hyp)*sin(theta... | glb/cad_85497dd2d306.glb |
Create a small cylindrical container for a wave pendulum bob. The main body is a cylinder with an outer diameter of 21mm and a total height of 30mm. This body has a concentric hollow center with a wall thickness of 2mm, extending from the base up to the top.
At the top of the container, integrate a screw thread with a... | $fn=100;
include <polyScrewThread_r1.scad>;
PI=3.141592;
can_OD=21;
can_wall=2;
can_ht=30;
lid_wall=1.6;
lid_OD=can_OD+2*lid_wall;
thread_ht=10;
thread_clearance=0.5;
hole_through_lid_dia=3;
can();
module threaded_solid()
{
union()
{
cylinder(r=can_OD/2,h=can_ht);
translate([0,0,can_ht-.01]) screw_thread(can_... | glb/cad_a6662a5486d4.glb |
Create a vertical support leg for a Wave Pendulum. Start by creating a central rectangular pillar with a width and depth of 12mm and a total height of 150mm.
At both the top and bottom ends of this pillar, add a flat rectangular flange. Each flange should be 12mm wide, 16mm long, and 2mm thick, centered on the pillar... | $fn=50;
leg_angle=30;
lleg_start_len=150;
lleg_width=12;
lflange_width=lleg_width/cos(leg_angle)+2;
lflange_length=lflange_width+12;
lflange_thick=2;
mid_flange_width=lleg_width;
mid_flange_length=lflange_length;
mid_flange_thick=lflange_thick;
mid_leg_len=100;
mid_leg_width=lleg_width;
hole_dia=3.5;
vert_leg_len=15... | glb/cad_254b3683cac7.glb |
Create a Wave Pendulum mounting rail assembly. Start with a main clamp rail as a rectangular block measuring 150mm in length, 10mm in width, and 20mm in height. Along the top surface of this rail, create a series of ten small cylindrical grooves with a radius of 0.5mm and a height of 13.33mm, positioned at intervals of... | $fn=50;
pitch=30;
string_pitch=10;
string_dia=2;
clamp_hole_pitch=string_pitch+6;
bar_y=10;
bar_z=20;
clamp_hole_dia=2.8;
cover_hole_dia=3;
backing_rail_ht=bar_z+10;
backing_rail_y=4;
backing_rail_hole_dia=4;
cover_rail_z=2*bar_z/3-clamp_hole_dia/2;
cover_rail_y=4;
mounting_rail_assembly();
cover_rail();
module cove... | glb/cad_2085ed65ad0e.glb |
Create a BoltlessStave for a Transfiguration Bustle. The object is a flat, symmetrical mechanical link. Start with a central rectangular plate measuring 50.8mm in length, 6.35mm in width, and 3.175mm in thickness.
At each end of the plate, center a cylinder with a diameter of 6.35mm and a height of 3.175mm. Create th... | L=1.0*25.4;
W=25.4*2.0/8.0;
T=25.4*1.0/8.0;
Extra=25.4*1.0/32.0;
$fn=30;
BoltD=25.4*5.0/32.0;
BoltTappable=25.4*3.0/32.0;
BoltNutThick=25.4*1.0/8.0;
BoltFlatD=25.4*11.0/32.0;
BoltCapD=25.4*9.0/32;
BoltCapT=25.4*1.0/8.0;
Fit=.25;
module arm(D,D2) {
translate([0,0,T/2])
difference() {
union(){
cube([L*2,... | glb/cad_d0bb2a137625.glb |
Create a small hinged storage box called an mbox. The main body consists of two rectangular shells connected by a flexible hinge.
First, create the bottom base: a rectangular tray with exterior dimensions of 26.7mm by 34.7mm and a height of 10mm. The walls should be 1.1mm thick with interior corners rounded to a 3.1m... | interiorWidth = 24.5;
interiorLength = 32.5;
interiorHeight = 10;
interiorFillet = 2.0;
hingeWidth = 12;
coverThickness = 1.0;
sidewallWidth = 1.1;
lidInsetHeight = 1.2;
hingeThickness = 0.3;
hingeLengthScale = 1.1;
rimInset = 0.6;
tabSize = 1;
hingeFillet = 3;
lidInsetOffset = 0.0;
eps = 0.1;
$fn = 120;
... | glb/cad_5374a2f7c3da.glb |
Create a Uechi-Ryu coin by starting with a main cylinder that has a radius of 26mm and a height of 3.5mm. Carve out a smaller concentric cylindrical hole from the top face, starting at a height of 2mm, with a radius of 24mm and a depth of 1.5mm, leaving a flat circular base and a raised outer rim. On the top surface of... | union () {
difference () {
cylinder(r=26, h=3.5,$fa=1);
translate ([0,0,2]) cylinder (r=24, h=1.5, $fa=1);
}
scale ([.5,.5,0]) translate ([-92.5,-233.5,2]) linear_extrude(file = "./uechi.dxf", height = 1.5, center = false, convexity = 10, twist = 0);
} | glb/cad_258ac1a878c7.glb |
Create a KitchenAid Holder consisting of a single mounting component repeated three times in a linear arrangement. For each individual mount, construct a vertical cylinder with a diameter of 12.2mm and a total height of 29mm. The main body of this cylinder should have rounded ends with a radius of 3mm.
At a height of... | nuzzle = 0.4;
round1 = 3;
round2 = 1;
dia = 13;
topToNop = 9;
nopToBottom = 15;
nopDia = 6;
nopLength=5;
length = topToNop+nopDia+nopToBottom;
onlyOne = false;
$fn=100;
module kitchenaidMount()
{
$fn=100;
union()
{
translate([0,0,round1])
minkowski()
{
cylinder(h=length-2*round1-nuzzle, r=dia/2-nuzzle-round... | glb/cad_f799b772f772.glb |
Create a customizable pulley gear. Start with a central cylindrical body with a diameter of approximately 50mm and a height of 6.5mm. Add a rim to the top and bottom of the cylinder; the bottom rim should have an outer diameter 4mm larger than the body and an inner diameter 2mm larger than the body, both with a thickne... | $fn=100;
diameter = 50;
height = 6.5;
toothBaseWidth = 0.94;
toothTipWidth = 0.47;
toothLength = 0.94;
toothSpacing = 1.06;
toothOverlap = 0.2;
holeDiameter = 2.9;
createRim=1;
rimOuterSize = 2;
rimInnerSize = 0;
rimThickness = 2;
createLock = 1;
lockSize = 1;
lockLength = 0.4;
createArms = 1;
armInnerDiameter ... | glb/cad_ada9284cb9df.glb |
Create a Starfury model by assembling a central body with upper and lower supports and weapon systems.
Construct the main body as a faceted hull with a cockpit area. The cockpit is formed by removing sections to create a top center pane, two top side panes, a bottom center pane, and two bottom side panes.
Add an upp... | include <utils.scad>
$fn=30;
zscale=56/37;
height=23.73;
width=18;
topwidth=11.45;
bottomwidth=7.57;
middlewidth=4.9;
middleheight=14.73;
topwind=height-middleheight;
mid=45.3;
point=12.02;
depth=mid+point;
offset=3;
barrel_diam=2.5;
flash=3.5;
barrel_len=0.65*depth;
thick=1;
tl_angle1=70;
cockpit_height=20;
union()... | glb/cad_e5e42af4b277.glb |
Create a Starfury engine model consisting of three main coaxial sections. Start with a rear assembly: a cylinder 1.5mm high with a radius of 7.5mm, extending into a larger cylinder 13mm high that transitions from a 6mm radius to a 9mm radius over a 3mm gap, capped with a 9mm radius cylinder. Subtract a central nozzle c... | use <engine_mount.scad>
$fn=30;
mainlen=32.25;
fwdlen=6.75;
fwdgap=2.6;
rearlen=13;
reargap=3;
rearnoz=1.5;
fwdnoz=1;
mainoffset=reargap+rearlen+rearnoz;
fwdoffset=mainlen+mainoffset;
eng_rad=9;
eng_smrad=6.6;
tip_len=30.3;
engine();
module engine() {
difference() {
union() {
forward_assembly(... | glb/cad_b96cdd472489.glb |
Create a Starfury model consisting of two separate components: a base assembly and a top section.
For the base assembly, create a circular foundation by combining a cylinder with a radius of 20mm and a height of 2mm with a second, smaller cylinder centered on top that has a radius of 7mm and a height of 6mm. From the... | $fn=30;
top_len=43;
top_width=25;
top_thick=2;
pin_rad=1.5;
translate([25,0,0]) union() {
base();
shaft();
}
translate([-15,0,0]) top();
module base() {
base_thick=2;
base_rad=20;
union() {
translate([0,0,base_thick/2]) cylinder(h=base_thick, r=base_rad, center=true);
translate([0... | glb/cad_45cb4c032e10.glb |
Create a Starfury model consisting of four symmetrical wing-like struts arranged in a cross pattern around a central point. Each strut is a complex polyhedron with a thickness of 6.48mm at the base and 4.32mm at the tip. The base of each strut has a length of 33.33mm and the tip a length of 30.3mm, with a total width o... | $fn=30;
base_thick=6.48;
tip_thick=4.32;
base_len=33.33;
tip_len=30.3;
width=34.89;
edge=2;
topoff=10.26;
back_base=14*width/45;
back_tip=8.5*width/45;
back_len=5.4*width/45;
translate([ 5,0.7*base_len,0]) strut();
translate([-5,0.7*base_len,0]) mirror([1,0,0]) strut();
translate([ 5,-0.6*base_len,0]) strut();
trans... | glb/cad_0f3938ec8333.glb |
Create an Arduino Mega Enclosure with Shield and Brackets. Start by constructing a main rectangular open-top box with outer dimensions of 36mm width, 63mm length, and 82mm height. The walls of this box should be 3mm thick.
On the exterior side of the box, add two identical smaller cubic brackets. Each bracket should b... | module chamfered_cube(size,d=1){
hull(){
translate([d,d,0])cube(size-2*[d,d,0]);
translate([0,d,d])cube(size-2*[0,d,d]);
translate([d,0,d])cube(size-2*[d,0,d]);
}
}
module arc(r1,r2,h,a1=0,a2=0){
f = (-r1-r2);
if(a2-a1<=180){
difference(){
cylinder(r=r2,h=h);
... | glb/cad_d51c9c62f934.glb |
Create an Arduino Mega Enclosure with Shield and Brackets. Start by constructing a main rectangular box with rounded corners (radius 3mm) to house the board. The box should have a wall thickness of 3mm and an internal offset of 3mm. The total height should include a 5mm standoff height plus a 10mm height extension.
On... | include <pins.scad>
module arduino(boardType = UNO) {
difference() {
color("SteelBlue")
boardShape( boardType );
translate([0,0,-pcbHeight * 0.5]) holePlacement(boardType = boardType)
color("SteelBlue") cylinder(r = mountingHoleRadius, h = pcbHeight * 2, $fn=32);
}
components( boardType = boardType, com... | glb/cad_0c91cd2c1afa.glb |
Create a Magnetic PCB Holder consisting of a main rectangular block and supporting gussets. The main body is a rectangular prism 50mm long, 30mm wide, and 50mm high. At the base, create a rectangular compartment to house a magnet, measuring 26mm long, 13mm wide, and 3.3mm deep, positioned centrally relative to the widt... | slicer_layer_h = 0.4;
x_layers = 3;
base_w = 30;
base_l = 50;
base_h = 50;
face_t = 4;
echo("Base thickness: ", base_t);
mag_w = 13 + (x_layers*2);
mag_l = 26;
mag_t = 3.3;
min_base_t = mag_t + 1;
base_t = mag_t + (x_layers*2*slicer_layer_h);
num_gussets = 2;
gusset_t = 4;
gusset_l = base_w/1.5;
gusset_h = base_h-b... | glb/cad_8a671ed3c4e6.glb |
Create a twisted vase by extruding a six-sided regular polygon with a radius of 25mm to a total height of 130mm. As the shape is extruded upward, apply a total twist of 60 degrees. To make the vase hollow, remove a second six-sided polygon from the center with a radius of 23mm, starting from a base thickness of 2mm and... | radius = 25;
wall = 2;
height = 130;
twist = 60;
difference(){
linear_extrude(height = height, center = false, convexity = 0, twist = twist, slices=height/20)
circle(r = radius, $fn=6);
translate([0,0,wall])
linear_extrude(height=height-wall+1, center=false, convexity=0, twist=twist, slices=height/20)
circle(r = radiu... | glb/cad_37ac09dc1ee6.glb |
Create a wheel by combining a central cylinder with a ring of small spheres. Start with a base cylinder that has a height of 1mm and a radius of 10mm. Around this center, place 64 spheres, each with a radius of 3mm. Position these spheres so their centers are 9mm from the central axis and 0.5mm above the base plane. Ar... | for ( i = [0:63] ) {
rotate( i*360/64, [0, 0, 1])
translate( [0, 9, 0.5] )
rotate(a=100,[0,0,-2])sphere(r=3);
}
cylinder(h=1, r1=10, r2=10); | glb/cad_766a0e33db60.glb |
Create a wheel by starting with a central cylinder that has a radius of 10mm and a height of 10mm, centered on the origin. Remove a smaller cylindrical core from the center of this shape with a radius of 10mm and a height of 4mm to create a hole. To form the outer tread, place 64 spheres, each with a radius of 3mm, in ... | difference(){
union(){
for ( i = [0:63] ) {
rotate( i*360/64, [0, 0, 1])
translate( [0, 9, 0.5] )
rotate(a=100,[0,0,-2])sphere(r=3);
}
cylinder(h=1, r1=10, r2=10);
}
scale(v=[0.4,0.4,1]){
cylinder(h=10,r1=10,r2=10,center=true);
}
} | glb/cad_7e9e0232b659.glb |
Create a wheel by starting with a central cylinder that has a radius of 10mm and a height of 10mm, centered on the origin and scaled along the Z-axis to a height of 3mm. Around the outer perimeter of this disk, place 64 spheres, each with a radius of 3mm. These spheres should be positioned at a distance of 9mm from the... | difference(){
union(){
for ( i = [0:63] ) {
rotate( i*360/64, [0, 0, 1])
translate( [0, 9, 0.5] )
rotate(a=100,[0,0,-2])sphere(r=3);
}
cylinder(h=1, r1=10, r2=10);
}
scale(v=[0.3,0.3,1]){
cylinder(h=10,r1=10,r2=10,center=true);
}
} | glb/cad_6183d7219569.glb |
Create a trajectory star simulation consisting of a dense array of long, thin cylinders radiating from a single central point. Each cylinder must have a radius of 10mm and a total height of 5000mm. To form the spherical burst, position the cylinders so that their centers are offset from the origin by 2500mm along their... | $fn = 8;
height = 5000;
radius = 10;
X_axis_angular_increment = 20;
Z_axis_angular_increment = 20;
for (j = [0 : Z_axis_angular_increment : 360])
{
for (i = [0 : X_axis_angular_increment : 180])
{
rotate([i,0,j])
{
translate([0,0,height/2])
cylinder(h=height, r=radius, center=true);
}
}
} | glb/cad_d597e53c9b15.glb |
Create a cubicle wall coat hanger by constructing a continuous 3mm thick profile. Start with a rectangular base section that is 32mm long and 20mm wide. From one end of this base, extend a second 3mm thick section perpendicular to the first, measuring 20mm in length and 20mm in width. At the far end of this second sect... | coathook();
module coathook()
{
hookwidth = 20;
hookthick = 3;
hooktop = 32;
hooklatch = 20;
rotate ([90,0,0]) union ()
{
cube ([hooktop,hookwidth,hookthick]);
rotate ([0,90,0]) cube ([hooklatch,hookwidth,hookthick]);
rotate ([0,90,0])
{
translate ([-hookthick,0,hooktop])
{
union ()
... | glb/cad_1f824d5cdd1f.glb |
Create a Hexapod Robot Body consisting of a base plate and a top plate separated by vertical pillars.
Construct the base plate as a rounded rectangle with a thickness of 1.59mm, overall dimensions approximately 113mm in length. In the center of this plate, create a rectangular cutout measuring 38mm by 54mm to accommo... | module lower_body()
{
dim02 = 113;
dim10 = 41.5;
dim11 = 39;
dim12 = 1.59;
dim13 = 5.0;
dim15 = 44;
dim19 = 2.707;
dim20 = 68.5;
dim21 = 10.5;
dim22 = dim10 - dim21;
dim23 = dim10 + dim21;
difference() {
union() {
base_plate(dim10, dim02) ;
translate([dim10, dim11, dim19]) ... | glb/cad_b243b01f54be.glb |
Create a hexapod robot leg component. Start with a central hip block that is a cube measuring 9mm x 9mm x 8mm, centered on the origin. Remove a vertical cylindrical hole from the center of this block with a radius of 1.7mm and a height of 9mm.
Attached to the hip, create a thigh section as a rectangular prism measurin... | module peg_leg()
{
radius1 = r_from_dia(1.75);
width01 = 9.0;
dim04 = 9.0;
dim05 = 21.4;
dim06 = 2.5;
dim07 = dim04;
dim08 = (dim05 + 8.8) * 0.5;
dim09 = dim04 + 1;
dim10 = 2;
dim11 = -2;
dim12 = 7;
dim13 = 9;
dim14 = 11;
dim15 = 13;
dim16 = 15;
dim17 = 17;
dim18 = 19;
dim19 = 21;
dim20 = 23;
dim... | glb/cad_49c5cc51207e.glb |
Create a Hexapod Robot Shoulder part. Start with a central rectangular body that is 43mm long, 15mm wide, and 5mm thick.
At one end of the body, create a servo mounting area. This area consists of a rectangular cutout 20mm wide and 21mm long, with two small circular holes of 1.65mm radius drilled through the thicknes... | module hexapod_shoulder()
{
thick = 5;
dim_x = 43;
body_z = 15;
hrn01 = 21;
arm01 = (thick - dim_x) / 2;
arm02 = 19;
translate([0, -16, 0]) servo_body(dim_x, body_z, thick);
translate([arm01, 0, 0]) boss_arm(hrn01, body_z, thick);
translate([arm02, 0, 0]) horn_arm(hrn01, body_z, thick... | glb/cad_64d805458a5b.glb |
Create a customized vase and lamp cover by stacking 76 thin, square-profiled layers vertically to a total height of 124mm. Each layer is a centered square that rotates 30 degrees relative to the one below it, creating a spiraling, twisted effect.
The dimensions of the squares vary along the height to create a curved,... | t=28;
m=75;
b=47;
h=124;
layers=76;
r=30;
points = 1;
d="No";
hollow="Bracelet";
angle = 90/points;
layersq=layers*layers/4;
b2=b-4;
m2=m-4;
t2=t-4;
for (i=[0:layers]) {
if (hollow=="No") {
for (j=[1:points]) {
translate([0,0,i/layers*h]) rotate([0,0,r*i+angle*j]) cube([b+i/layers*(t-b)+((i-layers/2)*(i... | glb/cad_d26d81fc56d6.glb |
Create a Customizable Fractal Tree starting with a circular base 20mm in diameter and 2mm high. Centered on this base, place a primary vertical cylinder with a height of 10mm, a bottom radius of 2mm, and a top radius of 2mm. From the top center of this first cylinder, grow three identical branches. Each branch must be ... | branchLength = 10;
branchTaper = .75*1;
branchAngle = 15;
numBranches = 3;
number_of_levels=3;
BaseRadius = 10;
BaseHeight = 2;
base = 2*1;
top = 2*1;
scale = .7*1;
$fn=30*1;
cylinder(BaseHeight, BaseRadius, BaseRadius);
translate([0,0, BaseHeight])
recursiveTree(base, top, branchLength, 1);
module recursi... | glb/cad_f6ef059d6571.glb |
Create a rigid bar clamp for a 3D printer by starting with a solid cube measuring 20mm x 20mm x 11mm. Remove a horizontal cylindrical tunnel through the center of the block, with a diameter of 4mm and a length of 22mm, centered 10mm from the sides and positioned 3.5mm from the bottom face. Remove a rectangular section ... | difference(){
cube([20,20,11]);
translate([-1,10,3.5]) rotate([0,90,0]) cylinder(22,4,4,[0,0,0]);
translate([-1,6,0]) cube([22,8,3.5]);
translate([3,3,-1]) cylinder(14,1.5,1.5,[0,0,0]);
translate([17,3,-1]) cylinder(14,1.5,1.5,[0,0,0]);
translate([3,17,-1]) cylinder(14,1.5,1.5,[0,0,0]);
translate([17,17,-1]) cylinder(1... | glb/cad_d14d2eba86fe.glb |
Create a spherical diffuser for a lamp by constructing a hollow shell. Start with an outer sphere with a diameter of 35.2mm. Create a hollow interior by removing a smaller concentric sphere with a diameter of 33.6mm. To open the top of the shell, remove the upper portion of the geometry using a cube that is 35.2mm wide... | $fs = 0.1;
length=140;
diameter=33.6;
thickness=1.6;
below=1.5;
difference(){
sphere(d = diameter+thickness,$fn=100);
union(){
sphere(d = diameter, $fn=100);
translate([-(diameter+thickness)/2,-(diameter+thickness)/2, below]) cube([diameter+thickness, diameter+thickness, diameter+thickness-below]);
... | glb/cad_4ac5ec7174ce.glb |
Create a Tunable Tolerance Tetrahedron Twist Toy consisting of two identical intertwined parts. Start by constructing a regular tetrahedron with an edge length of 75mm.
To create the interlocking mechanism, carve a helical cut through the center of the tetrahedron. This helix should have a radius of approximately 106... | micron_side = 75000;
tenth_turns = 12;
micron_gap = 600;
micron_wall_thickness = 0;
micron_internal_rounding = 4000;
micron_external_rounding = 0;
micron_uk_logo = 750;
$fn = 0;
$fa = 5;
$fs = 0.1;
rounding_fn = 0;
rounding_fa = 5;
rounding_fs = 0.1;
side = micron_side / 1000;
gap = micron_gap / 1000;
wall_thi... | glb/cad_169df8035048.glb |
Create a lock for groove mounting extruders by designing a cylindrical disc with a height of 7mm and a radius of 8mm. To create the final crescent-like shape, remove a second cylinder of the same 8mm radius and 7mm height from the first, positioning the center of the second cylinder 11mm away from the center of the fir... | Hotend_d2 = 16;
Hotend_tr = 11;
B_height = 7;
difference () {
cylinder(r=Hotend_d2/2,B_height,$fn=100);
translate([0,Hotend_tr,0]) cylinder(r=Hotend_d2/2,B_height,$fn=100);
} | glb/cad_56542460be5b.glb |
Create a Mini-Steamer Basket consisting of a main chamber and a lid. The main chamber is an octagonal prism with a diameter of 110mm and a height of 50mm. Hollow out the center of this prism with a cylinder of 41mm radius and 50mm height. At the top edge of the chamber, create a bevel by removing an octagonal section w... | chamber_dia = 110;
chamber_h = 50;
lid_bevel_h = 7;
mid_chamber_h = 50;
module step(len, mod)
{
for (i = [0:$children-1])
translate([ len*(i - ($children-1)/2), 0, 0 ]) child((i+mod) % $children);
}
module bottom_chamber() {
lbh = lid_bevel_h;
ch = chamber_h;
difference() {
cylinder(r = (chamber_dia/2), ... | glb/cad_799186e7b004.glb |
Create an Ethernet Cable Manager consisting of a baseplate and two identical stacking elements.
First, create the baseplate by forming a hull between two cylinders with a radius of 4mm and a height of 2mm, positioned 48mm apart along the Y-axis. From this base, remove two vertical holes with a radius of 1.75mm center... | $fa=0.5*1;
$fs=0.5*1;
tolx=0.25*1;
wall=2;
cable_diameter=6;
filament_diameter= 3;
filament_radius=filament_diameter/2+tolx;
unit_width=cable_diameter+wall;
ncable=7;
nstack=2;
module base(ncable){
difference(){
hull(){
cylinder(r=unit_width/2,h=wall);
translate([0,(ncable+1)*u... | glb/cad_3a7359ebe8c1.glb |
Create a HexKeep keychain by constructing a hexagonal tower with a height of 25.65mm and a diameter of 19mm. The main body is formed by six overlapping rhombic prisms, each with a width of 9mm and a height of 31mm, rotated every 60 degrees around the center to create a thick-walled hexagonal keep.
Cut six identical r... | tower_height = 27;
scale(0.95) {
keychain_hole();
windowed_keep();
}
module hex() {
cylinder(tower_height, 20, 20, $fn=6);
}
module rhomb() {
translate([0, 0, tower_height+4]) scale([0.58, 1, 1]) rotate([0, 0, 45]) cube(9, center=true);
}
module hex_tower() {
translate([16.58, 0, 0]) rhomb();
translate(... | glb/cad_d0aba7f6ae55.glb |
Create a Kossel Mini Borosilicate Glass Print Surface Top Clip. Start by creating a central cylinder with a radius of 2.5mm and a total height of 4.25mm, centered on the origin. Subtract a smaller concentric cylinder from this shape with a radius of 1.5mm and a height of 4.25mm to create a hollow tube. Add a second cyl... | include <configuration.scad>;
screw_size = m3_wide_radius;
r_body = screw_size+1;
h_body = 2.25;
l_lip = 10.5;
l_lip_2 = 0;
h_lip = 2;
facets_per_cylinder = 60;
$fn = facets_per_cylinder;
difference() {
union() {
cylinder(r=r_body, h=h_body+h_lip, center=true);
translate([0,l_lip,-h_body/2])
cylinder(r=r_... | glb/cad_5ad675e2b935.glb |
Create a Rackmount Bracket designed to support lightweight devices. The model consists of two identical mirrored L-shaped supports.
For each support, start with a rectangular base measuring 12mm wide, 50mm deep, and 4mm thick. Attached to the back of this base, create a vertical wall that is 4mm thick, 50mm deep, and ... | $fa=0.5*1;
$fs=0.5*1;
tolx=0.5*1;
wall=4;
depth=50;
base=12;
filament_diameter=3;
nunits=2;
module ears(units){
oneU=44.4;
module_height=units*oneU;
hole_spacing=31.75;
hole_diameter=5;
translate([base,0,0]){
difference(){
translate([-wall,0,0])
cube([wall,depth,module_hei... | glb/cad_beef94aaebcf.glb |
Create a Subaru Legacy Air-Box Plug consisting of a hollowed cylinder and a wide base. Start by creating a solid cylinder with a radius of 35.5mm and a height of 25mm. Add a thin, flat circular base at the bottom with a radius of 40.5mm and a thickness of 3mm.
Hollow out the main cylinder to create a cup shape by remo... | inch = 25.4;
plugHeight = 25;
plugRadius = 71 / 2;
border = 5;
baseRadius = plugRadius + border;
baseHeight = 3;
cylinderSideToMountingHole = 7/8 * inch;
centerToCenter = plugRadius + cylinderSideToMountingHole;
bottomOfTab = 17;
tabHeight = 3;
tabWidth = 15;
difference()
{
union()
{
translate([0, plug... | glb/cad_3724f721ebcf.glb |
Create a Customizable Insulin Pump Clip with a total width of 17mm. The main body is a C-shaped channel designed to hold a pump. Start with a rectangular base that is 80.6mm long and 20mm deep. The back end of the clip should be rounded with a radius of 10.6mm. The walls of the clip are 3mm thick.
At the front of the ... | $fn=50;
pump_length=80.6;
pump_depth = 20;
curve_diff = 1.2;
clip_top_claw=3.0;
clip_opening_length=68.0;
hook_depth=7.0;
hook_length=70.0;
nubbin_depth=2.5;
nubbin_length=5.0;
wall_thickness=3.0;
clip_width = 17.0;
pump_bottom_radius = (pow(curve_diff,2) + pow((pump_depth/2),2))/(2*curve_diff);
difference(){
... | glb/cad_d156d741d581.glb |
Create a Bicycle Bottom Bracket Removal Tool consisting of a cylindrical head and an attached handle. Start by creating a hollow cylinder with an outer radius of 12.5mm, an inner radius of 10mm, and a depth of 5mm. Around the outer perimeter of this cylinder, place 20 rectangular teeth spaced every 18 degrees; each too... | test_mode=0;
cylinder_outer=25/2;
tooth_width=1.1;
tooth_height=2.5;
cylinder_wall = 2.5;
cylinder_inner=cylinder_outer-cylinder_wall;
cylinder_depth = 5;
handle_depth = 35/2;
total_depth=cylinder_depth + handle_depth;
handle_width=40;
handle_length=130;
handle_top_radius = cylinder_outer+8;
module everything() {
... | glb/cad_d9a8e61240b4.glb |
Create a power-saving throwie enclosure by starting with a solid cube measuring 25mm x 25mm x 10mm. Hollow out the center of this cube to create an interior cavity measuring 23.5mm x 23.5mm x 8mm.
On the bottom exterior face, center a shallow cylindrical dimple with a radius of 5mm and a depth of 0.75mm. To allow for... | ledRadiusSize = 2.25;
boxInsideHeight = 8;
boxInsideWidth = 23.5;
boxOutsideAddition = 2;
boxOutsideHeight = boxInsideHeight + boxOutsideAddition;
boxOutsideWidth = boxInsideWidth + boxOutsideAddition;
magnetDepth = 0.75;
magnetRadius = 5;
module fullbox() {
translate([0,0,boxOutsideHeight/2])
difference() {
cub... | glb/cad_6b6034bca7b1.glb |
Create a Parametric V-Slot Corner Bracket designed to join three aluminum extrusions meeting at a corner. The overall structure is a solid block formed by the hull of three intersecting rectangular prisms, each with a wall thickness of 5mm.
The three arms of the bracket extend along the X, Y, and Z axes, each with a l... | testPiece = false;
xExtrusionWidthSections = 2;
xExtrusionDepthSections = 1;
xExtrusionLength = 70;
xEndClosed = true;
yExtrusionWidthSections = 2;
yExtrusionDepthSections = 1;
yExtrusionLength = 70;
yEndClosed = true;
zExtrusionWidthSections = 2;
zExtrusionDepthSections = 1;
zExtrusionLength = 70;
zEndClosed = true;
t... | glb/cad_b774defb1321.glb |
Create a baby safety door lock consisting of two main connected sections. First, construct a rectangular base arm that is 57mm long, 3mm wide, and 18mm high. Attached to this arm, create a second rectangular section 40mm long, 3mm wide, and 18mm high, angled at 80 degrees relative to the first arm.
Between these secti... | depth = 30;
width = 17;
height = 18;
angle = 80;
translate([3,30,0]){
rotate([0,0,180]){
cube([depth+27+3,3,height]);
}
translate([-3,-3,0])
rotate([0,0,angle-90]){
cube([40,3,height]);
rotate([0,-90,0]){
if (width > 17){
translate([0,-width-10,0])
... | glb/cad_8b07e9cbf2a7.glb |
Create a 3D model consisting of two overlapping spheres. First, create a sphere with a radius of 50mm centered at the origin. Then, create a second, larger sphere with a radius of 60mm and position its center 60mm below the center of the first sphere along the Z-axis. | sizeA = 50;
sizeB = 60;
sphere(sizeA);
translate([0,0,-sizeB])
sphere(sizeB); | glb/cad_091f10221a14.glb |
Create a square plate with dimensions of 100mm by 100mm and a thickness of 10mm. Center a circular hole with a radius of 30mm through the entire thickness of the plate. | width = 100;
hole = 30;
if(hole < width/2)
difference(){
cube([width,width,10], center=true);
cylinder(h=10, r1 = hole, r2 = hole, center=true);
} | glb/cad_aae618f0485c.glb |
Create a Hole Box by starting with a square slab that measures 100mm in width and length with a thickness of 10mm. Center a circular hole through the middle of the slab with a radius of 30mm, ensuring the hole passes completely through the top and bottom faces. | width = 100;
hole = 30;
difference(){
cube([width,width,10], center=true);
cylinder(h=11, r1 = hole, r2 = hole, center=true);
} | glb/cad_ec155f5a25c7.glb |
Create a dual camera mount consisting of a central beam and two angled connectors. Start with a central beam that is a cylinder with a diameter of 15mm and a height of 15mm, spanning 40mm from end to end. At each end of this beam, attach a connector. The first connector should be rotated 45 degrees, and the second shou... | BeamWidth = 40;
Connector1Angle = 45;
Connector2Angle = 45;
NutDiameter = 8;
NutType = "hexagonal";
module makeMount(){
$fn = 90;
slotSize = 3;
width=slotSize * 5;
holeSize = 5;
difference(){
union(){
makeBeam(slotSize, holeSize);
translate([BeamWidth / 2, 0, 0])... | glb/cad_efdda1bb09c8.glb |
Create a "death cube" consisting of three nested, concentric geometric structures. Each structure is composed of five identical rectangular prisms, each measuring 3mm x 50mm x 3mm, arranged in a radial star-like pattern where the prisms are rotated around a central axis at 72-degree intervals.
The largest outer struct... | translate([0.000000,0.000000,0.000000]){
scale(v = [1.000000,1.000000,1.000000]) {
union() {
translate([32.5,0,0]) {
rotate([0.000000,0.000000,-72.000000]){
translate([-32.500000,-0.000000,-0.000000]) {
cube([3,50,3],center=true);
}
}
}
cube([3,50,3],center=true)... | glb/cad_638ad9c0f9d6.glb |
Create a camping controller knob consisting of a main cylindrical body and a top flange. The main body is a 24-sided prism with a height of 13.75mm and a diameter of 19.4mm. At the top of this body, add a thin circular lip with a height of 1mm and a diameter of 21.12mm.
Hollow out the center of the knob by removing a ... | $fn=64;
hbut=13.75;
dbut=19.40;
hlip=1;
dlip=21.12;
esp=1.5;
hoestr=7.61;
hiestr=hoestr-4;
doestr=9.2;
diestr=5.42;
points = 24;
outer = 6/2;
inner = 5.4/2;
module Star(points, outer, inner) {
function x(r, a) = r * cos(a);
function y(r, a) = r * sin(a);
increment = 360/points;
union() {
for (p = [0 : po... | glb/cad_4cbc21861a42.glb |
Create a Rostock-Mini highboy stepper bracket with a total height of 60mm. The main body is a vertical support featuring two diagonal fins located 30mm from the center on either side, each 5mm wide and 30mm deep, extending the full height of the bracket.
At the center of the bracket, create a cylindrical cutout with ... | include <configuration.scad>
use <bracket.scad>
h = motor_end_height;
h = 60;
m = 29;
module motor_end() {
translate([0, 0, h/2])
difference() {
union() {
bracket(h);
for (x = [-30, 30]) {
translate([x, 29.5, 0]) intersection() {
cube([5, 30, h], center=true);
rota... | glb/cad_c9dbc55697e8.glb |
Create a Rostock-Mini highboy stepper bracket. Start with a central rectangular block 72mm wide, 22mm deep, and 20mm high, centered on the origin. At each end of the block, centered at x = -30mm and x = 30mm, add a cylinder with a radius of 6mm and a height of 20mm.
From this solid, remove several geometric features.... | $fa = 12;
$fs = 0.5;
w = 60;
module screws() {
for (x = [-w/2, w/2]) {
translate([x, 0, 0]) {
translate([0, -6, 0]) rotate([0, 90, 0])
cylinder(r=1.65, h=20, center=true);
translate([-x/5, -6, 0])
rotate([30, 0, 0]) rotate([0, 90, 0])
cylinder(r=3.3, h=2.3, center=true, $fn=6);
}
}
}
mod... | glb/cad_b1f0ff3b2ce8.glb |
Create an adjustable Z-opto end stop holder. Start with a base composed of a cylinder with a 7.15mm radius and 10mm height (20-facet resolution), joined to a rectangular block measuring 15.5mm by 14.3mm by 10mm. Add a second rectangular block measuring 35mm by 6mm by 10mm, positioned to extend from the side.
Carve out... | include <configuration.scad>
module endstop(){
outer_diameter = m8_diameter/2+3.3;
screw_hole_spacing = 19;
opening_size = m8_diameter-1.5;
difference(){
union(){
translate([outer_diameter, outer_diameter, 0]) cylinder(h =10, r = outer_diameter, $fn = 20);
translate([outer_diameter, 0, 0]) cube([15.5,outer_diam... | glb/cad_41b6953fc7c5.glb |
Create an adjustable Z-opto end stop mount. Start with a main central block measuring 26mm wide, 6mm deep, and 6mm high, centered on the origin. Attach a smaller restrainer block to the top, measuring 10mm wide, 9mm deep, and 3mm high, centered at [0, 7.51, 1.5].
Carve a wire cutout from the center of the main block m... | include <configuration.scad>
$fn=40;
screw_hole_spacing = 19;
module plate() {
difference() {
union() {
cube([26, 6, 6], center=true);
translate([0, 7.51, 1.5]) cube([10, 9, 3], center=true);
}
translate([0, 0, -1.51])cube([11.5, 6, 3], center=true);
translate([-screw_hole_spacing/2, 0, 0]) cylinde... | glb/cad_1dfd07b2854f.glb |
Create a name plate that reads "Thing" using the Orbitron font. The letters should be 16mm tall and extruded to a height of 10mm.
To ensure the letters are connected, create a rectangular base bar that runs along the bottom of the text. This bar should have a thickness of 1.6mm (10% of the font size) and an extrusion... | textstring="Thing";
fontname="Orbitron";
RoundedBase=0;
do_shift_font="automatic";
textsize=16;
textheight=10;
baseheight_percent=.33;
baseheight=textheight*baseheight_percent;
basethickness_percent=0.1;
basethickness=textsize*basethickness_percent;
font_catch_diacritical_sign=2.3;
base_radius_add_percent=.1;
... | glb/cad_ed6f0e918973.glb |
Create a PHIL Lingua filament holder tongue by starting with a solid cylinder 22mm in diameter and 65mm in length. Center this cylinder and remove a rectangular block from its middle, measuring 24mm wide, 135mm long, and 24mm high, to create a hollow channel. To finish the piece, add a smaller cylindrical peg with a di... | tongue_length = 65;
rotate(180, v=[1,0,0]) {
translate([0, -54.2, 20]) {
difference() {
translate([-47.7, 30, -20])
rotate(90, v=[1,0,0])
color("grey")
cylinder(d=22, h=tongue_length, center=true, $fn=80);
translate([-47.7, 30, -13.567])
color("green")
cube([24, 135, 24], center=true);
}
}
... | glb/cad_cf5bdaaa146a.glb |
Create a Nexus One desk stand for a mobile phone. Start by creating a base plate that is 72mm wide, 78mm deep, and 3mm thick. On top of this base, add a back support wall that is 72mm wide, 3mm thick, and 26mm high, positioned centrally.
To form the phone cradle, add two side walls extending forward from the back sup... | module mobileholder(){
cube([72,40,3],center=true);
translate([21,18.5,9.5])cube([30,3,16],center=true);
translate([-21,18.5,9.5])cube([30,3,16],center=true);
translate([21,14,18])cube([30,12,3],center=true);
translate([-21,14,18])cube([30,12,3],center=true);
translate([-34.5,14,9])cube([3,12,16],center=true);
translat... | glb/cad_b17bf8351484.glb |
Create a microphone bracket by starting with a solid rectangular base measuring 32mm in length, 32mm in width, and 10mm in height. From this base, remove two rectangular volumes to create a specific cutout on one end. First, center a rectangular void on the top face at the edge of the length, measuring 22.8mm in length... | length=32;
width=32;
height=10;
pin_diameter=7;
pin_height=3;
ring_diameter=19;
ring_height=2.14;
margin=1.3;
mic_bracket();
module mic_bracket()
{
difference()
{
cube([length,width,height],center=true);
translate([length/2-pin_diameter/2,0,height/2-pin_height/2])
cube([ring_diameter+margin,pin_diamet... | glb/cad_cafa2478459d.glb |
Create a test tube holder consisting of three interlocking plates made from 4mm thick material.
First, create two identical side plates. Each side plate is a rectangle with a total height of 100mm and a width calculated to fit 8 tubes. The width is determined by 8 holes of 17mm diameter, each separated by an 8mm gap,... | glas_count = 8;
glas_diameter = 17;
glas_gap = 8;
glas_holding_gap = 1;
height = 100;
holder_y = 35;
wood = 4;
3d_body();
use <wood.scad>
glas_inset = 2 * wood;
glas_spacing_z = 1.625 * wood;
width = glas_count*glas_diameter + (glas_count-1)*glas_gap + glas_inset*2;
depth = glas_spacing_z*2 + glas_diameter;
vie... | glb/cad_175661b5dd52.glb |
Create a telescope filter holder by starting with a thin circular ring that has an outer radius of 70.5mm, an inner radius of 63.5mm, and a height of 3mm. At the center of this ring, place a solid cylinder with a radius of 7.5mm and a height of 3mm. To connect the center cylinder to the outer ring, add three rectangula... | difference() {
cylinder(h=3,r=70.5, $fn=150);
translate([0,0,-0.01]) cylinder(h=3.02,r=63.5, $fn=150);
}
for (r = [0, 120, 240]) {
rotate(a=r, v=[0,0,1])
translate([-1.5,0,0])
cube([3,74.5,3],center=false);
}
cylinder(h=3,r=7.5,$fn=150); | glb/cad_ec589b80bc57.glb |
Create a telescope filter holder by starting with a main cylinder 15mm high with a radius of 74.5mm. Hollow out the center by removing a cylinder with a radius of 72.5mm starting from a height of 3mm, leaving a 3mm thick base. Remove a smaller central cylinder with a radius of 63.5mm from the bottom up to a height of 3... | difference() {
cylinder(h=15,r=74.5, $fn=150);
translate([0,0,3]) cylinder(h=16,r=72.5, $fn=150);
translate([0,0,-0.01]) cylinder(h=3.02,r=63.5, $fn=150);
for (ax = [0, 120, 240]) {
rotate(a=ax, v=[0,0,1])
translate([-1.6,0,3])
cube([3.2,75,12.2],center=false);
}
... | glb/cad_3c3b62f15de7.glb |
Create a telescope filter holder by constructing a thick hollow cylinder with an outer diameter of 76mm and a total height of 20mm. Remove a central cylindrical core with a diameter of 72mm, starting from a height of 3mm and extending through the top, to create a wall thickness of 2mm for the main body. Additionally, c... | difference() {
cylinder(h=20,r=38, $fn=150);
translate([0,0,3]) cylinder(h=21,r=36, $fn=150);
translate([0,0,-0.01]) cylinder(h=3.02,r=33, $fn=150);
} | glb/cad_376ce15c2fc4.glb |
Create a telescope filter holder by constructing a shallow outer ring and a deeper inner sleeve. Start with a solid cylinder 27.6mm in diameter and 5.8mm tall. From the top face, remove a concentric cylinder 26.4mm in diameter and 13mm deep to create the main cavity. Finally, remove a smaller concentric cylinder 22.4mm... | $fn=100;
base = 13.2;
difference() {
cylinder(r=base+0.8,h=5+0.8);
translate([0,0,0.8]) cylinder(r=base,h=13);
translate([0,0,-0.1]) cylinder(r=base-2,h=14);
} | glb/cad_13963aace07c.glb |
Create a Scalable PV Breaker box consisting of three parts: a box body, a top cover, and a breaker switch guard.
For the box body, create a rectangular enclosure 110mm long, 69.5mm wide, and 65mm high with a wall thickness of 3mm. Hollow out the interior, leaving four screw posts at the corners with a height of 8mm an... | OUTPUT = 0;
wire_d = 13 / 2;
screw_d = 3.5 /2;
cover_screws_d = 2.25 / 2;
breaker_len = 37;
breaker_wid = 19.5;
breaker_h = 6;
upper_screw_offset = 3;
lower_screw_offset = 9.25;
cover_thick = 2.75;
box_width = breaker_wid + 50;
box_length = 110;
box_thick = 3;
box_h = 65;
post_h = 8;
post_d = 8 / 2;
guard_len = 35;... | glb/cad_a912c40afb54.glb |
Create a locking wedge for an E3D hotend collet. Start by creating a wedge-shaped block that is 10mm wide along the X-axis and 12mm deep along the Y-axis. The height of the block should taper from 2.2mm at the back to 0.55mm at the front.
Center a circular cutout through the entire height of the wedge. This cutout co... | $fn = 360/4;
smidge = 0.1;
radius = 4.85/2;
actualHeight = 1.4;
height = 2.2;
xSize = 10;
ySize = 12;
intersection()
{
color("blue")
translate([0, ySize/8, 0])
cylinder(r=5, h=actualHeight);
difference()
{
hull()
{
translate([-xSize/2, ySize*0.55, 0])
cube([xSize, smidge, height]);
translate([-xSi... | glb/cad_35e394ded038.glb |
Create two separate cylindrical components: a ball bearing holder and a rod end.
For the ball bearing holder, create a cylinder with a radius of 6.2mm and a height of 35mm. Hollow out the center starting 3.4mm from the base with a concentric cylinder of 5.2mm radius extending to the top. At the bottom center, create a... | $fa = 1;
$fs = 0.2;
smidge = 0.1;
mmPerInch = 25.4;
minWallWidth = 1.0;
magnetDiameter = 10.0;
magnetHeight = 15.0;
magnetRadius = (magnetDiameter+4*smidge)/2;
rodDiameter = 0.230 * mmPerInch;
rodRadius = (rodDiameter+6*smidge)/2;
ballBearingDiameter =... | glb/cad_7b36a159446f.glb |
Create a 1515 Kossel Plus Magnetic Carriage. Start with a shield-shaped main body 38mm wide, 12mm high, and 55mm long (comprising a 36mm straight section and a 19mm radius curved end). Add two wings extending from the sides of the straight section, each 10mm wide and 12mm high. On these wings, create two pillars angled... | $fn = 360/8;
use <roundedBox.scad>;
include <configuration.scad>;
bodyWidth = 38.0;
bodyHeight = 12.0;
straightBodyLength = 36.0;
curvedBodyRadius = bodyWidth/2;
bodyLength = straightBodyLength + curvedBodyRadius;
centerYOffset = bodyLength/2 - curvedBodyRadius;
rollerXOffset ... | glb/cad_bd9c8328c1d3.glb |
Create a GoPro adapter consisting of a central rectangular beam with two connector ends. The central beam is 15mm wide and 10mm long.
At the top end, create a connector with two tabs. Each tab is a cylinder with a 15mm diameter and 3mm height, blended into a 15mm wide rectangular base. A 5mm diameter hole passes vert... | Conector1Type = 2;
Conector2Type = 3;
Length = 10;
OffsetRotation = 0;
NutDiameter = 8;
$fn = 90;
_slotSize = 3;
_width = _slotSize * 5;
_holeDiameter = 5;
_delta = 1;
module createAdaptor(){
union(){
createBeam();
translate([0, 0, Length/2 + _slotSize]){
rotate([0, -90, 90 + OffsetR... | glb/cad_4fb96a767051.glb |
Create a Z-probe mount with a total height of 53mm. Start with a main outer cylinder of 20.5mm radius and a height of 53mm, and hollow it out with a concentric inner cylinder of 17.5mm radius. Remove the right and left quarters of this cylinder, as well as the bottom half, leaving a C-shaped open shell.
Add two rounde... | $fn=360/4;
include <configuration.scad>
attachmentRadius = 19;
height = 53;
module zProbe()
{
difference()
{
union()
{
difference()
{
cylinder(r=attachmentRadius+1.5, h=height);
translate([0, 0, -smidge/2])
cylinder(r=attachmentRadius-1.5, h=height+smidge);
translate([0, 0, ... | glb/cad_023240915437.glb |
Create a fan cowling for a JHead hotend. Start by constructing a rectangular base with a width of 30mm and a depth of 28mm, featuring rounded corners with a radius of 1.5mm. Extend this base upward to a total height of 30mm.
Integrate a cylindrical section into the upper portion of the body to accommodate the hotend ... | $fn=30;
include <configuration.scad>;
fanSize = 30.0;
xBody = fanSize;
yBody = fanSize-2;
zBody = 30.0;
radius = 3.0/2;
wallThickness = 1;
hotendRadius = 15.0/2;
jHeadBarrelLength = 23;
intersection()
{
hull()
{
hull()
{
for (x = [1, -1])
for (y = [1, -1])
translate([x*(xBody/2-radius)... | glb/cad_2860a47e0649.glb |
Create a fan cowling for a J-Head hotend. Start with a base that is a rounded-corner rectangle measuring 30mm by 30mm with a height of 3mm and corner radii of 2.5mm. From the top of this base, extend the body upward to a total height of 30mm. Integrate a horizontal cylindrical section centered at the top, with a radius... | $fn=30;
include <configuration.scad>;
fanSize = 30.0;
xBody = fanSize;
yBody = fanSize;
zBody = 30.0;
radius = 5.0/2;
hotendRadius = 15.0/2;
nozzleWidth = 0.35;
wallThickness = 3*nozzleWidth;
lightRingOutsideDiameter= 60;
lightRingInsideDiameter = 51;
attachmentRadius = 19;
jHeadBarrelLength = ... | glb/cad_99f858e1e73a.glb |
Create a customizable thumbstick for a controller potentiometer. Start by creating a lower cylindrical collar with a diameter of 5.5mm and a height of 4mm. Above this collar, build a main body that extends to a total height of 20mm. This upper section should transition from the 5.5mm base diameter to a wider top diamet... | inner_cut_length = 16;
inner_dia = 3.2;
inner_resolution = 32;
lower_length = 4;
lower_dia = 5.5;
collar_resolution = 100;
total_length = 20;
upper_dia = 12.5;
thumbstick_resolution = 12;
dimple_dia = 8;
upper_length = total_length - lower_length;
difference(){
thumbstick();
inner_cutout();
top_d... | glb/cad_4652ff15a683.glb |
Create a remote holder by first constructing a main outer body. This body is a vertical shell 50mm high, formed by the convex hull of two cylinders with 9mm radii, positioned at x=11.5 and x=-11.5, and resized to 10mm by 17mm in the XY plane. Inside this shell, create a hollow cutout to hold the remote. This cutout is ... | $fn=50;
module shape(){
hull(){
translate([11.5,0,0]){
resize([10,17,0]){
cylinder(h=50, r=9);
}
}
translate([-11.5,0,0]){
resize([10,17,0]){
cylinder(h=50, r=9);
}
}
}
}
module cutout(){
hull(){... | glb/cad_124bd815b3f9.glb |
Create a Printrbot LC V2 Conversion extruder mount. Start with a mounting plate 7mm high. Centered on this plate, create a motor mount block with a width and depth of 42mm (calculated from gear module 0.5 and 80 teeth) and a height of 7mm.
On the left side of the mounting plate, create a motor flange cutout with a di... | include <configuration.scad>
include <nema_motor.scad>
include <shapes.scad>
include <lib-teardrop.scad>
$fn=36;
gear_module = 0.5;
motor_gear_teeth = 14;
motor_gear_mounting_part_length=7;
motor_gear_mounting_part_dia = 10;
motor_gear_gear_length=6;
driven_gear_teeth=80;
driven_gear_length=4;
driven_gear_hub_length... | glb/cad_fd99cf44fb12.glb |
Create a Printrbot LC V2 conversion idler arm. Start with a central rectangular block that is 12mm wide, 28mm deep, and 26mm tall.
At the top of the block, center a large cylindrical cutout with a diameter of 24mm and a height of 8.25mm to accommodate a 608 bearing. Within this bearing cutout, create a smaller concen... | include <configuration.scad>
wade_block_height=55;
wade_block_width=24;
wade_block_depth=28;
block_bevel_r=6;
base_thickness=7;
base_length=70;
base_leadout=25;
da6 = 1/cos(180/6)/2;
carriage_hole_d = 4.2;
carriage_nut_d = 7.95;
carriage_nut_h1 = 3;
nema17_hole_spacing=1.2*25.4;
nema17_width=1.7*25.4;
nema17_su... | glb/cad_f85dcbdd3189.glb |
Create a can handle designed to clip onto a cylinder with a 66mm diameter. The main body is a curved grip with a thickness of 15mm and a total height of 128mm. The grip is formed by the intersection of a rectangular block and a large hollowed-out cylinder with an outer radius of 150mm and an inner radius of 135mm, crea... | use <write/Write.scad>;
text = "Your Text Here";
bold = "No";
canh = 125;
raise="No";
cand = 66;
height=canh+3;
thick=15;
$fa=1;
intersection () {
cube([height,50,thick]);
difference () {
translate([height/2,-120,0])cylinder(r=150,h=thick);
translate([height/2,-120,-1]) cylinder(r=150-thick,h=thick+2);
i... | glb/cad_30fc6b37ce7f.glb |
Create a drink coaster by constructing a rounded disc. Start with a main cylinder that has a radius of 1.25mm (calculated as half of the 3mm diameter minus the 0.25mm rounding radius) and a nominal height of nearly zero, then apply a Minkowski sum with a sphere of radius 0.125mm to create a smooth, rounded edge.
To c... | height_of_coaster = .25;
diameter_of_coaster = 3;
diameter_of_cup = 2.75;
resoultion = 42;
include_image = 1;
image_file = "image-surface.dat";
side_length_of_image = 2;
units_entered = 25.4;
desired_units_for_output = 1;
unit_conversion_factor = units_entered*desired_units_for_output;
module drink_coaster(){
mink... | glb/cad_bf24942946e4.glb |
Create an OpenSCAD Build Plate Layout Grid consisting of a central cube and a surrounding field of smaller reference cubes. Start by placing a 2mm cube centered at the origin with its base sitting on the Z=0 plane. Around this, generate a grid of small 1mm cubes spaced 10mm apart in both the X and Y directions. This gr... | module ShowPegGrid(Space = 10.0,Size = 1.0) {
Range = floor(50 / Space);
for (x=[-Range:Range])
for (y=[-Range:Range])
translate([x*Space,y*Space,Size/2])
%cube(Size,center=true);
}
ShowPegGrid();
translate([0,0,1])
cube(2,center=true); | glb/cad_1d44179c8c03.glb |
Create a Customizable Replicator Spool Holder consisting of three main components: a wall support panel, a spool support, and a filament guide.
First, construct the wall support panel. Create a central rectangular filler block 5mm deep, 17mm high, and 32mm wide. Attach a 3mm thick inside support ledge 10mm high to the... | part = "All";
SpoolDepth = 80.0;
SpoolDiameter = 200.0;
SpoolHoleDiameter = 52.0;
print_part();
module print_part() {
if (part == "All") {
WallSupport();
SpoolSupport();
FilamentGuide();
} else if (part == "Wall") {
WallSupport();
} else if (part == "Guide") {
FilamentGuide();
} else {
SpoolSupport... | glb/cad_e121f773e445.glb |
Create two identical flattened spheres, each with a radius of 35mm and scaled by 0.5 along the Y-axis to form an oblate spheroid. For each spheroid, carve out three words as recessed text with a height of 15mm and a width of 8mm. On the first spheroid, position the word "slice" rotated -30 degrees around the X-axis, th... | use <lib\Write.scad>
text_height = 15;
text_width = 8;
radius = 35;
module textsphere_1 (){
difference(){
sphere (r=radius, center=true, $fn=120);
rotate ( [-30, 0, 0 ] )
writesphere ("slice", [ 0, 0, 0], radius, text_width, text_height);
writesphere ("me", [ 0, 0, 0], radius, text_width, text_height);
rot... | glb/cad_7acdb40bb80c.glb |
Create a Rostock-Mini PTC Bowden hotend adapter. Start with a base block that is the intersection of a 56mm by 18mm rectangle and a circle with a 28mm radius, then apply a 2mm fillet to all outer corners. The total height of the part is 10.2mm.
Center a vertical cylindrical hole with a 2.25mm radius and a height of 14... | nut_w=7 + 0.5;
nut_t=3.2 + 0.5;
tube_od=4 + 0.25;
module bowden_clamp() difference() {
linear_extrude(height=5+nut_t+2,convexity=30) difference() {
minkowski() {
intersection() {
square([60-2,22-4],center=true);
circle(r=30-2,$fn=64);
}
circle(r=2,$fn=24);
}
}
for(x=[-25,25]) translate([x,0,... | glb/cad_b55e19dd32e3.glb |
Create a Banana Holster consisting of a rectangular base, a retaining ring, and a hemispherical cup. Start with a rectangular base measuring 7 inches in length, 1 inch in width, and 0.25 inches in thickness.
At a position 2 inches from the start of the base, add a vertical ring. This ring should have an inner diamete... | $fa = 3;
$fs = 3;
E = 0.1;
INCH = 25.4;
BIG = 8 * INCH;
WALL_THICKNESS = 0.125 * INCH;
SLOT_GAP = 1;
BASE_THICKNESS = 0.25 * INCH;
BASE_WIDTH = 1 * INCH;
BASE_LENGTH = 7 * INCH;
RING_INNER_DIAMETER = 2.0 * INCH;
RING_OUTER_DIAMETER = RING_INNER_DIAMETER + WALL_THICKNESS * 2;
RING_STATION = 2 * INCH;
RING_CENTER = ... | glb/cad_21bfd265e524.glb |
Create an iButton keyfob by designing a curved, ergonomic holder. Start with a main body that is a blend of a cylinder with a 10mm radius and a rectangular block measuring 1mm by 20mm by 4mm, creating a rounded, pill-like form. Carve a central longitudinal hole through the body with a diameter of 17.9mm and a depth of ... | $fn = 128;
difference() {
rotate([90, 0]) {
difference() {
hull() {
translate([-10, -10, 0]) {
cube([1, 20, 4]);
}
cylinder(4.5, 20/2, 20/2);
}
translate([0, 0, 2.4]) {
cylinder(0.6, 17.9/2, 17.9/2);
cylinder(3.1, 17/2, 17/2);
}
translate([4, 0, 2.4]) {
cylinder(3.1, 17.5... | glb/cad_ca98ed3c2bef.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.