Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Customizable Stretchy Band consisting of a repeating, interlocking radial pattern. The overall shape is a flat ring with a height of 6mm and a wall thickness of 0.8mm.
The geometry is defined by an inner diameter of 24mm and an outer diameter of 48mm. Construct the band by repeating a specific unit 6 times a... | _1_insideDiameter = 24;
_2_outsideDiameter = 48;
_3_height = 6;
_4_radialCount = 6;
_5_thickness = 0.8;
_6_resolution = 60;
module smallArc(radius0, radius1, angle, depth) {
thickness = radius1 - radius0;
eps = 0.1;
union() {
difference() {
cylinder(r=radius1, h=depth, center=true);
cylinder(r=radius... | glb/cad_b8fb6e40b69b.glb |
Create a keyboard stand foot bumper. Start with a rounded rectangular base measuring 36.5mm in width, 50mm in depth, and 14mm in height, featuring a corner radius of 1.5mm. Carve a rectangular slot out of the top center of this base that is 30.5mm wide, 50mm deep, and 6mm high, leaving a 3mm wall thickness around the p... | sz_x = 30.5;
sz_y = 50;
h = 8;
th = 6;
thickness = 3;
$fn=32;
difference() {
union() {
translate([0, 0, (h+th)/2])
rcube([sz_x+thickness*2, sz_y, h+th], center=true);
}
translate([0, 0, h+th-th/2+2])
rcube([sz_x, sz_y+thickness*4, th+4], center=true);
}
cylinder(h=h+3, d=8);
... | glb/cad_b5eba68f584a.glb |
Create a Greeble by generating a cluster of 201 randomly placed and sized rectangular prisms within a cubic volume of 100mm x 100mm x 100mm. For each individual prism, randomly determine its center position coordinates between -50mm and 50mm on the X, Y, and Z axes. Assign each prism a random width, height, and depth, ... | SizeX=100;
SizeY=100;
SizeZ=100;
GreebleSize=50;
NumberOfGreebles=200;
Random=rands(0,1,NumberOfGreebles+10);
union() {
for (i = [0:NumberOfGreebles])
{
translate([(Random[i]-0.5)*SizeX,(Random[i+1]-0.5)*SizeY,(Random[i+3]-0.5)*SizeZ]) cube([Random[i+4]*GreebleSize,Random[i+5]*GreebleSize,Random[i+6]*GreebleSize],cen... | glb/cad_79e1ab24a711.glb |
Create a fan holder for a filament dryer. The main body is a composite shape formed by the hull of two boxes: one measuring 70mm x 70mm x 64mm and another slightly larger one measuring 74mm x 63mm x 63mm.
Cut a large cylindrical void through the center of the body with a diameter of 235mm and a height of 100mm to acc... | stepDown = true;
wall = 2.2;
dOut = 225+10;
fanOffsetX = stepDown ? -1.5 : 0;
fanOff = [fanOffsetX,30,30];
size = 78.6-4;
$fn=256;
difference()
{
hull()
{
translate([-(size-14)/2,0,0])
cube([size-14,70,70]);
translate([-size/2,0,0])
cube([size,70-7,70-7]);
}
translate([-50,-255/2+70,-255/... | glb/cad_171464e6b21d.glb |
Create a fan holder for a filament dryer. Start with a main circular base 58mm in diameter and 7mm thick. From this center, extend three identical arms, each 30mm long, spaced 120 degrees apart. Each arm is formed by the convex hull of a 10.8mm diameter cylinder at the center and another 10.8mm diameter cylinder at the... | $fn=128;
difference()
{
union()
{
cylinder(d=58,h=4+3);
hull()
{
translate([0,0,0]) cylinder(d=2.8+8,h=4+3);
translate([0,-30,0]) cylinder(d=2.8+8,h=4+3);
}
rotate ([0,0,120]) hull()
{
translate([0,0,0]) cylinder(d=2.8+8,h=4+3)... | glb/cad_0ae86fc7abb5.glb |
Create a 3D model consisting of a central cluster of small cubes surrounded by a large outer ring of identical cubes. For the central cluster, place four cubes, each measuring 10mm on all sides, arranged in a tight 2x2 square grid. Around this center, position 36 additional 10mm cubes in a perfect circle. Each cube in ... | include <color.scad>
translate([0,22,0])color(color0)cube([10,10,10]);
translate([11,22,0])color(color1)cube([10,10,10]);
translate([22,22,0])color(color2)cube([10,10,10]);
translate([33,22,0])color(color3)cube([10,10,10]);
translate([0,11,0])color(color4)cube([10,10,10]);
translate([11,11,0])color(color5)cube([10,10,... | glb/cad_6ab21a76b028.glb |
Create a Mendel Fastener Calibrator by starting with a rectangular block measuring 45mm in length, 15mm in width, and 7.5mm in height, centered on the origin. Remove four vertical holes from this block, each with a 12-sided polygonal cross-section and a height of 10mm. Position the first hole 15mm to the left of the ce... | $fn=12;
difference() {
cube(size=[45, 15, 7.5], center=true);
union() {
translate([-15,0,0]) cylinder(r=1.5, h=10, center=true);
translate([-5,0,0]) cylinder(r=2, h=10, center=true);
translate([5,0,0]) cylinder(r=2.5, h=10, center=true);
translate([15,0,0]) cylinder(r=4, h=10, center=true);
}
} | glb/cad_01203c073cfe.glb |
Create three herringbone gears with a pressure angle of 23 degrees and a clearance of 0.5 mm. All gears should share a circular pitch calculated from a 40 mm distance between the first and second gears and 60 teeth on the first gear.
The first gear has 60 teeth, a 10 mm inner shaft diameter, and a twist of 8 degrees. ... | include <MCAD/involute_gears.scad>
generate = 0 ;
dist_1 = 40;
dist_2 = 20;
height = 10;
twist=8;
clearance = 0.5;
pressure_angle = 23;
dia1 = 10;
t1 = 60;
dia2 = 10;
t2 = 30;
dia3 = 5;
AT=0.03;
ST=AT*2;
TT=AT/2;
dp1 = dist_1;
dp2 = dist_1;
dp3 = (dist_2 - dp2/2) * 2;
cp = 360*(dist_1)/(t1+t2);
if(generate == 0... | glb/cad_589156e65c6c.glb |
Create an Anki Marker Tile Holder by starting with a rounded cube that has a total width and depth of 29.4mm and a total height of 26mm. The corners of this main body should be rounded with a 1mm radius.
Carve out a central square cavity starting 1mm from the bottom, measuring 29.4mm wide and deep, with a height of 2... | $fn=100;
tile_size = 29;
tolerance = 0.2;
wall_size = 0.2;
stack_height = 0.8 * 20 + 7;
finger_hole_width = 15;
fingler_cyl_offset = 6;
big_cyl_dim = 9;
lil_cyl_dim = 5;
cyl_height = 9;
pedestal_height = 10;
sm_cube_dim = tile_size + tolerance*2;
big_cube_dim = sm_cube_dim + wall_size*2;
centre_x = big_cube_dim/2;
... | glb/cad_9d24dfcc57a3.glb |
Create a tennis shock absorber by constructing a central cube measuring 10mm x 10mm x 1.5mm, centered at the origin. Add two identical cylindrical discs, each 20mm in diameter and 3mm thick, positioned such that they are mirrored across the central cube. One disc should be placed at a height of 4.5mm and the other at 3... | $fn = 64;
module side() {
difference() {
cylinder(d=20, h=3);
union() {
translate([12.5, 0, 2.01]) difference() {
cylinder(d=20, h=1);
cylinder(d=18, h=1);
}
translate([-12.5, 0, 2.01]) difference() {
cylinder(d=20, h=1);
cylinder(d=18, h=1);
}
}
... | glb/cad_993bbb66d9a0.glb |
Create a filament guide for a 5mm thick frame. Start with a central cylinder that has a radius of 7.5mm and a height of 5mm. Add a rectangular block centered at the origin with a width of 15mm and a length of 25mm, and a height of 5mm.
Extend the model by adding a wide rectangular base centered at the origin with a w... | $fn=50;
e=5;
N=10;
M=20;
diag=5.6;
difference() {
union() {
translate([0, 0, 0])
cylinder(e, r=(M+e)/2, center=false);
GuidePin();
Face();
}
hole2();
}
module hole2(){
linear_extrude(height = e)
square([(M),(e)], center = true);... | glb/cad_fae467250ef1.glb |
Create a filament guide for a 50mm x 5mm frame. Start by constructing a main circular face with a thickness of 5mm, featuring an outer diameter of 70mm and an inner diameter of 60mm. From this ring, remove a central rectangular section measuring 80mm by 40mm to create a wide opening.
Add two grip sections to the assem... | $fn=50;
e=5;
N=10;
M=20;
diag=5.6;
difference() {
union() {
Grip();
mirror([1,0,0])Grip();
Face();
}
}
module Flex(){
translate([10, 25.5, 0])
cylinder(e, r=10/2, center=false);
translate([25.5, 10, 0])
cylinder(e, r=10/2, center=false);... | glb/cad_ae8ea1f346f6.glb |
Create an Alu rail mounting bracket with a base thickness of 5mm, a total length of 20mm, and a total height of 40mm. The base should be a rectangular block with rounded corners of a 5mm radius.
In the center of the block, carve out a T-shaped channel to fit an aluminum profile. The main slot of this channel should b... | $fn=50;
e=5;
L=20;
h=40;
roundy=5;
tolerance = .5;
middle_space=-0.3;
rotate([0, -90, 0])
difference() {
union(){
halvbase();
intersection(){
color("blue") translate([0,-h/2, 5])
rotate([-90, -90, 0])
linear_extrude(height = h)
po... | glb/cad_6be2ec0c782b.glb |
Create an aluminum rail mounting part for a filament guide. Start by creating a rectangular base block 30mm wide, 12mm thick, and 9mm deep, with all corners rounded to a radius of 3mm. Centered on this base, add a torus with a major radius of 15mm and a minor tube radius of 8mm. The torus should be oriented vertically,... | $fn=100;
e=5;
L=20;
h=40;
roundy=3;
tolerance = .5;
difference() {
union(){
Pin45();
translate([10, 0, 20])
rotate([90, 00, 0])
rotate_extrude(convexity = 10)
translate([15, 0, 0])
circle(r = 8);
}
translate([0,0,-5])line... | glb/cad_bd1e3ef37413.glb |
Create an Alu rail mounting part with a total height of 40mm, a length of 20mm, and a thickness of 5mm. The main body is a rectangular block with rounded corners of 5mm radius.
On the bottom face, create a protruding section that extends 6mm outward. This protrusion features a complex profile: it starts as a 6mm wide... | $fn=50;
e=5;
L=20;
h=40;
roundy=5;
holeB=4.2;
tolerance = .5;
middle_space=-0.3;
rotate([0, -90, 0])
difference() {
union(){
halvbase();
intersection(){
color("blue") translate([0,-h/2, 5])
rotate([-90, -90, 0])
linear_extrude(height = h)
... | glb/cad_5769388f42fc.glb |
Create an Alu rail mounting filament guide part. Start by creating a solid rectangular block with rounded corners, measuring 22mm in length, 19mm in width, and 6mm in height. The corners should have a radius of 5mm. From the center of this block, remove a rectangular inner cavity measuring 15.3mm in length and 12.3mm i... | $fn=50;
e=5;
L=20;
h=40;
roundy=5;
Ring();
module Ring(){
difference() {
linear_extrude(height = 6)
minkowski(){
square([12,9], center = true);
circle(roundy);
}
translate([0,0,0])
rotate([0, 0, 0])
linear_extrude(height = ... | glb/cad_902059cbedd9.glb |
Create an Alu rail mounting bracket with a total length of 20mm, a height of 40mm, and a thickness of 5mm. The main body should be a rectangular plate with rounded corners, where the corner radius is 5mm.
Along the center of the length, carve a deep longitudinal channel to accommodate a 3cm aluminum rail. The profile... | $fn=50;
e=5;
L=20;
h=40;
roundy=5;
tolerance = .5;
middle_space=-0.0;
rotate([0, -90, 0])
difference() {
union(){
halvbase();
intersection(){
color("blue") translate([0,-h/2, 5])
rotate([-90, -90, 0])
linear_extrude(height = h)
po... | glb/cad_f628ef4bb308.glb |
Create a customizable angled stand by constructing a base plate and a supporting back wall. Start with a rectangular base that is 90mm wide, 92mm deep, and 2mm thick. Attached to this base, create a second rectangular plate of the same 90mm width and 92mm depth, but with a thickness of 12mm. Position this second plate ... | a = 90;
b = 90;
c = 10;
d = 90;
e = 2;
f = 20;
rotate([f, 0, 0]) {
difference() {
cube([a, b + e, c + e]);
translate([0, e, e]) {
cube([a, b, c]);
}
}
}
cube([a, b + e, e]); | glb/cad_83d078d93c12.glb |
Create a gel comb for laboratory use consisting of a central core with teeth extending from opposite sides. Start with a base core made of two stacked rectangular prisms: a lower section measuring 137.5mm wide, 16.5mm deep, and 3.0mm high, and a centered upper section measuring 120.0mm wide, 8.0mm deep, and 5.0mm high.... | front_tooth_margin = 8.25;
front_tooth_gap = 1.2;
front_tooth_count = 20;
front_tooth_length = 14.5;
front_tooth_height = 1.5;
rear_tooth_margin = 8.25;
rear_tooth_gap = 1.2;
rear_tooth_count = 10;
rear_tooth_length = 14.5;
rear_tooth_height = 1.5;
comb_x = 137.5;
comb_y = 16.5;
comb_z = 3.0;
raised_x = 12... | glb/cad_1b4619763c65.glb |
Create a bowl by revolving a specific 2D profile 360 degrees around a central vertical axis. The profile is defined by a rounded, hollowed-out shape. Start with a primary outer form based on a circle with a radius of 27mm, scaled vertically to 90% of its original size to create a slight ovality. Apply a rounding effect... | rotate_extrude(angle=360,convexity=20,$fn=120)
{
difference()
{
minkowski()
{
circle(1,$fn=50);
2d_profile();
}
translate([-30,0,0])
square(60, center=true);
}
}
module 2d_profile()
{
difference()
{
hull()
{
minkowski()
{
circle(9,$fn=80);
ba... | glb/cad_e53efb2920aa.glb |
Create a customizable barrel nut by starting with a solid cylinder that has a diameter of 15mm and a length of 50mm, centered on the origin. Bore a cylindrical hole completely through the center of the barrel, perpendicular to the main axis, with a diameter of 6.15mm. Ensure the hole is long enough to fully penetrate b... | hole_diameter=6.15;
nut_diameter=15;
nut_length=50;
$fn = 300;
difference()
{
cylinder(d=nut_diameter,h=nut_length,center=true);
rotate([90,0,0])
cylinder(d=hole_diameter,h=nut_diameter*2,center=true);
} | glb/cad_0c1f2f5b217d.glb |
Create a bottle organizer by starting with a rectangular block 85mm wide, 100mm long, and 10mm high, centered on the origin. Remove a large horizontal cylinder with a diameter of 85mm that passes through the center of the block along its length. Inside this main void, remove a smaller cylinder with a diameter of 65mm a... | diameter_bottle = 85;
length = 100;
with_swallow_tail = 1;
with_swallow_hole = 1;
$fn = 100;
height = 10;
lowest_height = 2;
margin_to_middle = 10;
diameter_middle_hole = diameter_bottle-margin_to_middle*2;
length_middle_hole = length-margin_to_middle;
tailsize = 7;
swallowtail_offset_delta = 0.4;
swallowtail_distan... | glb/cad_679bc23fcc7f.glb |
Create a hexagonal floor for a plant pot. Construct a solid hexagonal prism with a radius of 34.7mm and a height of 3mm. In the center of this prism, remove a smaller hexagonal hole with a radius of 5mm that passes completely through the top and bottom faces. | use <MCAD/regular_shapes.scad>
radius = 38;
floor_thickness = 3;
wall_thickness = 3;
hole_radius = 5;
tolerance = 0.3;
difference() {
hexagon_prism(floor_thickness, radius - wall_thickness - tolerance);
translate([0,0,-floor_thickness/2])
hexagon_prism(floor_thickness*2, hole_radius);
} | glb/cad_ac00ed4bf741.glb |
Create a hexagonal pot by constructing a hexagonal tube with a radius of 38mm, a height of 62mm, and a wall thickness of 3mm. To form the base, add a solid hexagonal prism at the bottom with a thickness of 3mm and a radius of 38mm. To ensure the base fits inside the walls, create a hexagonal hole through the center of ... | use <MCAD/regular_shapes.scad>
radius = 38;
height = 65;
floor_thickness = 3;
rim = 5;
wall_thickness = 3;
difference() {
hexagon_prism(floor_thickness, radius);
translate([0,0,-floor_thickness/2])
hexagon_prism(floor_thickness*2, radius - wall_thickness - rim);
}
hexagon_tube(height - floor_thickness... | glb/cad_4d56e46fd787.glb |
Create two meshing herringbone gears with a diametral pitch of 1 and a thickness of 20mm. The gears should be positioned with a center-to-center distance of 75mm.
The first gear has a pitch diameter of 50mm and a bore diameter of 10mm. The second gear has a pitch diameter of 100mm and a bore diameter of 10mm.
Both g... | include <MCAD/involute_gears.scad>
gear_type = 3;
part = 0;
gear_ratio = 0.5;
center_to_center = 75;
diametral_pitch = 1;
bore1 = 10;
bore2 = 10;
thickness = 20;
helix_angle = 15;
print_part();
pitch_diameter2 = (2*center_to_center) / (gear_ratio + 1);
pitch_diameter1 = 2*center_to_center - pitch_diameter2;
... | glb/cad_36b258d523b5.glb |
Create a Heizungsteil Georg replacement part by combining three rectangular blocks into a single base and removing two specific sections. First, form the main body by joining a block of 9.5mm x 5.5mm x 1.5mm with a block of 1mm x 5.5mm x 2.2mm positioned at x=8.5, y=0, z=0, and a block of 1.5mm x 1.5mm x 1.2mm position... | difference()
{
union() {
color("red") translate([8.5,0,0]) cube([1,5.5,2.2]);
color("blue") translate([0,-1.5,0]) cube([1.5,1.5,1.2]);
color("green") cube([9.5,5.5,1.5]);
}
translate([0,1.5,0]) cube([4.5,5-2.5,1.5]);
translate([0,1.5+2,0]) cube([2.5,5-2.5,1.5]);
} | glb/cad_f2322077ab52.glb |
Create a GearBox Parametric V2 consisting of a housing and a set of gears.
Construct the housing as two main case bodies, a front and a back. The front case is a cylindrical shell with a height of 57mm and a radius of 18.5mm, featuring a central hole for the motor shaft (1.55mm radius) and two screw holes (1.75mm rad... | include <Getriebe.scad>;
function getGearRad(tipHPitch, teath) = (tipHPitch <1)? ((tipHPitch*teath) + tipHPitch * 2.2)/2 : ((tipHPitch*teath) + tipHPitch * 2)/2;
function getRootRad(tipHPitch, toothCount) = ((tipHPitch * toothCount) - 2 * (tipHPitch + ((toothCount <3)? 0 : tipHPitch/6))) / 2;
DRAW_BACK ... | glb/cad_ee56dd2b3a8e.glb |
Create a GearBox Parametric V2 consisting of a housing, two gears, and supporting shafts.
Construct the housing as two main sections: a front case and a back case. The front case is a cylindrical shell with a wall thickness of 2mm, featuring a central bearing hole of 4mm radius and a shaft exit hole. The back case is... | include <Getriebe.scad>;
function getGearRad(tipHPitch, teath) = (tipHPitch <1)? ((tipHPitch*teath) + tipHPitch * 2.2)/2 : ((tipHPitch*teath) + tipHPitch * 2)/2;
function getHubRad(tipHPitch, teath, shaftD) = (((2*(((tipHPitch * teath) - 2 * (tipHPitch + (teath <3?0:tipHPitch/6)) / 2) / 2) - shaftD)/8)+shaftD)/2;
DRA... | glb/cad_1942d70a0214.glb |
Create a stacking toy cup by constructing a hollowed-out vessel composed of three stacked sections. Start with a base cylinder 45mm in diameter and 18mm high. On top of this, add a conical transition section 3mm high that flares outward from a 45mm diameter to a 50mm diameter. Above this transition, place a second cyli... | difference() {
union() {
cylinder(d=45, h=18);
translate([0, 0, 18])
cylinder(d1=45, d2=50, h=3);
translate([0, 0, 21])
cylinder(d=50, h=18);
translate([0, 0, 39])
cylinder(d1=50, d2=55, h=3);
translate([0, 0, 42])
cylinder(d=55, h=18);
}
translate([0, 0, 1])
cylinder(d=43, h=20);
translate... | glb/cad_36c7e81c1102.glb |
Create a customizable filter storage box consisting of five adjacent compartments and a matching lid. Each compartment is a rectangular block with a total height of 88mm. The interior of each compartment must be hollowed out to fit a specific circular filter. For each section, create a cylindrical void with a diameter ... | s_wi = 1 ;
s_wo = 2 ;
$fa = 1.5 ;
$fs = 1.5 ;
diameter_filter = [84,80,69.5,80,70];
thickness_filter = [12,11,7,7,7];
t_box = [for(i=[0:len(thickness_filter)-1]) thickness_filter[i]+2*s_wi+2];
m_box = [for(i=[0:len(t_box)-1]) t_box[i]/2];
d_box = concat(0,[for(i=[0:len(m_box)-2]) m_box[i]+m_box[i+1]]);
... | glb/cad_f9319e365dcb.glb |
Create a dial indicator holder consisting of a mounting pin and a C-shaped gripping sleeve. Start by creating a square pin with a total length of 14mm. The main body of the pin is a rounded square with a side length of 4mm and corner radii of 3mm. Attached to this pin, add a smaller rectangular protrusion centered at t... | $fn=100;
roundy=3;
DialDiameter=8;
thickness=3;
GripAngle=290;
difference(){
rotate([0, 0, (360-GripAngle)/2])
translate([0, 0, 6])
union(){
rotate_extrude(angle=GripAngle,convexity = 10)
translate([DialDiameter/2+thickness/2, 0, 0])
square([thickness,12], center = true);
... | glb/cad_5bb958a2e6fd.glb |
Create a simple pipe fitting by constructing a hollow cylinder. Start with a solid outer cylinder that has an outer diameter of 17.8mm and a total height of 18mm. To create the interior cavity, remove a concentric inner cylinder from the center with a wall thickness of 0.7mm, meaning the inner diameter should be 16.4mm... | pipe_od = 17.8;
total_ht = 18;
wall_thick = 0.7;
cyl_res = 640;
difference() {
union() {
cylinder(r=(pipe_od/2),h=total_ht,$fn=cyl_res);
}
union() {
translate([0,0,-1])
cylinder(r=(pipe_od/2)-wall_thick,h=total_ht*2,$fn=cyl_res);
}
} | glb/cad_4e1c42e36f89.glb |
Create a pen mount consisting of two stacked cylindrical sections with a central vertical hole. Start by creating a base cylinder with a diameter of 10mm and a height of 2mm. Directly on top of this base, add a second cylinder with a diameter of 7.85mm and a height of 7.5mm. Finally, bore a 6mm diameter hole straight t... | pencil_hole_diameter = 6;
adapter_size_diameter = 7.85;
Insert_length = 7.5;
collar_diameter = 10;
collar_height = 2;
difference() {
union() {
cylinder(h = collar_height, r1 = collar_diameter/2, r2 = collar_diameter/2, center = false);
translate([0, 0, collar_height]) cylinder(h = Insert_length, r1 = adapter_... | glb/cad_6ed3182ce8a9.glb |
Create a drive adapter designed to fit into two 5.25" computer bay slots. The overall outer dimensions of the main block are 146.05mm wide by 83.06mm high (two 41.53mm slots) with a depth of 102.1mm.
The main body is a hollowed-out shell with a wall thickness of 2.1mm. Create a large central rectangular cutout that l... | $epsilon=0.02;
$fn=25;
$slack=0.1;
$nut_trap_slack_s=0.5;
$nut_trap_slack_d=0.2;
$layer_thickness=0.2;
SEMI_TOOLLESS=true;
sff_8201_A1=7.50;
drive_25_width=70.10 + $slack;
drive_25_height=sff_8201_A1 + $slack;
drive_25_depth=100.45 + $slack;
sff_8201_A52=14 + $slack;
sff_8201_A53=90.60 + $slack;
sff_8201_A23=3.... | glb/cad_26751b22bb74.glb |
Create a customizable angle bracket by joining two thin rectangular plates at a right angle. First, construct a horizontal base plate with a breadth of 2.8mm, a depth of 1mm, and a thickness of 0.2mm. Place two circular holes with a radius of 0.1mm and a 20-facet resolution through this plate, positioned 0.3mm from eac... | breadth=2.8;
topHoleMargin=0.3;
topThickness=0.2;
topDepth=1;
topHoleRadius=0.1;
sideCubeThickness = 0.2;
sideCubeDepth = 1.0;
sideCubeMargin = 0.6;
sideCubeHoleRadius = 0.1;
difference() {
cube([breadth, topDepth, topThickness]);
translate([topHoleMargin, 0.5*topDepth, -0.5*topThickness]) cylinder(h=2*topThi... | glb/cad_4463011a517f.glb |
Create a Raspberry Pi 3/4 embedded Einsy case. Construct the main body as a rectangular enclosure with a base measuring 118.5mm by 92mm and a height of 2mm. Add an upper panel of 1.5mm by 92mm by 35mm and a rear panel measuring 105.5mm by 2mm by 35mm. Include frame reinforcements: a 5mm by 7mm by 34mm block at the uppe... | RaspberryType = -1;
DownOffset = 5;
module CubicPattern(Xdim, Ydim)
{
for (x =[0:12:Xdim-10])
{
for (y =[0:12:Ydim-10])
{
translate([x,y,-0.2])cube([10,10,0.4]);
}
}
}
module BottomCubic()
{
difference()
{
translate([5,5,0]) ... | glb/cad_b063f4dcc472.glb |
Create a Wallmount Clip designed to hold a cylindrical object. Start by creating a hollow semi-cylindrical clip with an inner diameter of 28mm and a wall thickness of 1.7mm. The clip should not be a full circle; leave an opening based on an open ratio of 0.9 to allow the object to be inserted. Extrude this clip profile... | dia = 28;
openRatio = 0.9;
w = 1.7;
mountX = 20;
y = 15;
screwable = true;
$fa = 2;
$fs = 0.25;
module screwHole(dia, depth) {
d2 = dia * 2.5;
union() {
translate([0, 0, -depth-dia/2]) cylinder(h=depth, d=dia);
translate([0, 0, -dia]) cylinder(h=dia, d1=dia, d2=d2);
translate([0, 0, -0.01]) cylinde... | glb/cad_7b88286c80e9.glb |
Create an Impossible Cube sculpture based on a 20mm cubic volume. The structure is composed of three identical, interlocking U-shaped frames that create an optical illusion. Each frame is constructed from a square profile with a thickness of 2mm.
To form one frame, create a square tube with a 20mm outer length, but le... | thick = 2;
space = 5;
length = 20;
curvy = false;
corner = true;
$fa = 1;
$fs = 1;
module tube(l, ang) {
rotate(ang, [0, 0, 1]) rotate(90, [0, 1, 0]) {
if (curvy) {
cylinder(h = l - thick, d = thick, center=true);
translate([0, 0, l/2 - thick/2])
sphere(d = thick);
translate([0, 0, -(l/2 - thick/2... | glb/cad_5918e007159d.glb |
Create a Belimo actuator adaptor for Plimex ball valves. Start with a circular base 31mm in diameter and 3.5mm in height. Centered on this base, extend a vertical cylinder with a diameter of 20mm and a height of 60mm.
At the top of this vertical cylinder, add a secondary section that is 24mm high. This top section is... | AXLE_DIA = 17.5;
AXLE_WIDTH_MIN = 14.5;
AXLE_WIDTH_MAX = 15.5;
AXLE_HEIGHT = 24;
INDENT_DEPTH = AXLE_DIA/2.0 - 6.0;
INDENT_WIDTH = 6.0;
BELIMO_DIA = 20.0;
BELIMO_HEIGHT = 60.0;
BASE_DIA = 31.0;
BASE_HEIGHT = 3.5;
TOLERANCE = 0.4;
$fs=0.5;
$fa=6;
module axle_shape(tolerance=0.0, w=AXLE_WIDTH_MAX)
{
difference() ... | glb/cad_7665aa7c3b60.glb |
Create a miter box for a razor saw by starting with a solid rectangular base 140mm long, 28mm wide, and 23mm high. Hollow out the center to create a U-channel that is 140mm long, 20mm wide, and 15mm deep, leaving a base thickness of 8mm and side walls that are 4mm thick.
Add six reinforcing cylindrical bosses with a r... | LEN = 140;
BASETHICK = 8;
MAXWIDTH = 20;
STOPHEIGHT = 15;
BACKTHK = 4;
FRONTTHK = 4;
SLOTWIDTH = 1;
SLOTDEPTH = 1;
BUFFERRAD = 5;
BACKEDGE = MAXWIDTH + FRONTTHK + BACKTHK;
module miter_basic ()
{
difference()
{
baseblock();
insidechannel();
slots ();
}
}
module baseblock()
{
union()
{
cube ([LEN, MAXWIDT... | glb/cad_40f0f7befa18.glb |
Create a Replicator 5 Clip spool holder consisting of a base plate and a vertical mounting tube.
First, construct the base plate by creating a square slab 56mm wide, 56mm deep, and 4.6mm thick. Centered on this slab, add a circular ring with an outer diameter of 65mm and a height of 8mm.
From the top of this ring, e... | part = "Spool";
SpoolHoleDiameter = 29;
SideTrackOffset = 8;
SpoolDepth = 67+SideTrackOffset;
print_part();
module print_part() {
if (part == "Both") {
WallSupport();
SpoolSupport();
} else if (part == "Wall") {
WallSupport();
} else {
SpoolSupport();
}
}
module RoundTopBox(pad, box_l, box_w, box_h, ro... | glb/cad_966aa4e75c52.glb |
Create a bike chain breaker tool starting with a base rectangular block 26mm wide, 26mm deep, and 2.5mm high. Centered on this base, add a vertical rectangular pillar 2.5mm wide, 26mm deep, and 9.5mm high. On top of this pillar, place a second rectangular block 26mm wide, 7mm deep, and 12mm high, positioned so that the... | w = 26;
overhang = false;
h = 16;
l = 10;
difference(){
translate([-w/2,0,0])union(){
cube([w,26,2.5]);
translate([0,12,0])cube([w,2.5,9.5]);
translate([0,19,0])cube([w,7,12]);
if(overhang){
cube([w,8,7+h]);
translate([0,-3.5-l,h+4.5])cube([w,l+11.7,2.5]);... | glb/cad_14e8d62b9b58.glb |
Create a Universal Parametric Hook by extruding a specific 2D profile to a height of 5mm. The profile consists of two mirrored, curved arm sections. The top section is a semi-circular ring with an outer radius of 15mm and an inner radius of 10mm, forming a 180-degree arc. The bottom section is a full circular ring with... | $fa = 1;
$fs = 0.4;
module hook_part(outer_radius, inner_radius, quadrant_degrees = 0) {
difference() {
difference() {
circle(outer_radius);
circle(inner_radius);
}
rotate([0,0,quadrant_degrees])
square(outer_radius);
}
rotate([0,0,quadrant_degrees... | glb/cad_97a35fc98b7e.glb |
Create a Square Greeble by generating a 20 by 20 grid of small rectangular prisms. The overall footprint of the assembly must be 20mm by 20mm. Each individual prism in the grid should have a randomly assigned width and depth between 1mm and 3mm. The height of each prism is determined by multiplying its specific width b... | SizeX=20;
SizeY=20;
NumberOfGreeblesX=20;
NumberOfGreeblesY=20;
MinimalGreebleSize=1;
MaximumGreebleSize=3;
GreebleHeightFactor=0.5;
TwoSided="Yes";
Random=rands(MinimalGreebleSize,MaximumGreebleSize,NumberOfGreeblesX*NumberOfGreeblesY+10);
RandomColor=rands(0,1,NumberOfGreeblesX*NumberOfGreeblesY+10);
union() {
for ... | glb/cad_78ac553c4c82.glb |
Create a drawer divider with a width of 50.5mm, a height of 31mm, and a thickness of 1.6mm. The overall shape is a rectangular plate with rounded corners; use a radius of 2mm for the top corners and 1.5mm for the bottom corners.
The vertical sides of the divider are not perfectly straight but are sloped. Create a slo... | dividerType = 1;
slopeType = 1;
layerHeight = 0.2;
overExtrusionCompensation = 0.15;
enableText = true;
myText = "UP";
customWidth = 100;
customHeight = 50;
customAngle = 3;
customTopRadius = 1.5;
customBottomRadius = 2;
customThickness = 1.8;
textFont = "Liberation Sans";
textSize = 5;
textDistFromTop = 5;
textD... | glb/cad_52652d0cba81.glb |
Create a hamster wheel support bracket. Start with a backplate 80mm high, 70mm wide, and approximately 2mm thick. The backplate should have a rounded border with a radius of 10mm. Cut a stylized hole through the center of the backplate, maintaining the 10mm rounded corners.
At a vertical position of approximately 53.3... | BackplateHeight = 80;
BackplateWidth = 70;
BackplateTickness = 8 * 0.202 + 0.3;
BorderRadius = 10;
SupportCylinderVerticalPosition = BackplateHeight/1.5;
SupportCylinderHeight = 15;
SupportCylinderRadius = 10;
SupportCylinderBorderRadius = 2;
CutAngleAtTopOfMainCylinder = 1;
HingeHoleRadius = 1.5;
UseScrewAsHinge =... | glb/cad_4b770065e091.glb |
Create a Tassimo mug riser cup stand. Start with a solid base cylinder 6mm high with a radius of 55mm. Above this, build a main body 34mm high. This body consists of a hollow ring with an outer radius of 53mm and an inner radius of 48mm.
Attached to the back of this ring, centered at an offset of 86mm from the origin... | top_cyl_height = 6;
top_cyl_rad = 55;
tass_height = 6;
tass_outside_rad = 50;
tass_hoop_width = 2;
tass_inside_rad = tass_outside_rad - tass_hoop_width;
rear_outside_rad = 45;
rear_inside_rad = rear_outside_rad - tass_hoop_width;
rear_offset = 86;
side_box_length = tass_outside_rad*2;
side_box_width = 20;
side_box_off... | glb/cad_d1bea1088095.glb |
Create a Cylindrical Lithophane Lamp consisting of two symmetrical cover pieces, a top and a bottom. Each cover is based on a spherical cap with a height of 70mm and a diameter of 116mm.
For each cap, remove a central cylindrical core with a diameter of 112mm and a height of 3mm to create a rim that will hold the lit... | lithophaneDiameter = 110;
lithophaneMinThick = 1;
lithophaneMaxThick = 3;
lithophaneBorderThickness = 3;
coverHeight = 20;
coverSphereHeight = 70;
enableCableHole = true;
cableDiameter = 5;
renderQuality = 100;
$fn = renderQuality;
epsilon = 0+1;
objectsToRender = "top + bottom";
function calcSphereD(lithoD, lithoMa... | glb/cad_ec585077e196.glb |
Create a rectangular containment box with outer dimensions of 89mm in length, 65mm in width, and 18mm in height. Position the box so its base is at the origin. Hollow out the center of the box by removing a rectangular volume of 82mm by 70mm with a depth of 10mm, leaving a base thickness of 4mm.
At the bottom center ... | union()
{
difference(){
translate([2.5,0,0]) cube([89,65,18]);
translate([45,65-5,3]) cylinder(h=5,d1=7.5,d2=7.5,center=true);
translate([45,65-5,0]) cylinder(h=5,d1=2.5,d2=2.5,center=true);
translate([45,65-5-19,0]) cylinder(h=20,d1=7.5,d2=7.5,center=true);
translate([45,65-5-19-19,3]) cylinder(h=5,d1=7.5,d2=7... | glb/cad_6e37a9c4ed3f.glb |
Create an Unpublished Script Test tag by constructing a rectangular base 80mm wide, 80mm high, and 3mm thick. Round the four corners of this base with a radius of 10mm.
On the top surface of the base, add a QR code pattern. The pattern should be composed of small cubes, each 1.6mm in size, with a total thickness of 5... | add_sub = 2;
code_flip = 0;
obj = 1;
case_thickness = 1.8;
round_corner = 1;
corner_num = 0;
corner_radius = 10;
tag_width = 80;
tag_height = 80;
tag_thickness = 3;
hole_x = 30;
hole_y = 0;
hole_r = 10;
perimeter = -1000;
per_w = 3;
per_h = 10;
qr_scale = 1.6;
qr_tolerance = 0;
qr_x = 0;
qr_y = 0;
q... | glb/cad_dee54facb070.glb |
Create a customizable webcam cover consisting of a hinged flap and a supporting frame.
First, create a top panel that is 65mm wide, 2mm thick, and 27.5mm deep (calculated as 25mm depth plus 2.5mm lens protrusion). This panel must have a cylindrical notch removed from its center to accommodate a hinge pin.
Construct ... | $fn=60;
top_depth_mm = 25;
rear_drop_mm = 4;
material_thickness_mm = 2;
front_width_mm = 65;
front_drop_mm = 24.5;
front_border_thickness_mm = 3;
front_bottom_lip_mm = 4;
lens_protrudes_mm = 2.5;
tolerance_mm = 1.0;
pin_dia = 9.5;
module top(){
difference(){
cube([front_width_mm,material_thickness_mm ,to... | glb/cad_49443273cff6.glb |
Create a Menger sponge fractal as a 3D cube with a total outer dimension of 9.72mm. Construct the shape using two iterations of the Menger sponge algorithm. Start with a solid cube of 9.72mm per side. For the first iteration, divide the cube into a 3x3x3 grid of smaller sub-cubes (each 3.24mm) and remove the central su... | nozzle = 0.4;
walls = 9;
iterations = 2;
size = nozzle*walls * pow(3, iterations);
echo(str("Print a Manger Sponge of size ", size, "mm having ", iterations, " iterations"));
if (iterations > 3)
echo("This will take a very long time");
box(size, iterations);
module box(l, r) {
if (r > 0) {
for(dx=... | glb/cad_8aabba21ff53.glb |
Create a ShapeOko Mount Plate Z as a rectangular block measuring 35mm in width, 12.5mm in thickness, and 20mm in height. Center a vertical hole with a diameter of 7mm that passes completely through the top and bottom faces of the block. Additionally, create a horizontal hole with a diameter of 4mm that passes entirely ... | so_width = 35;
so_height = 20.00;
so_thick = 12.50;
gewinde8 = 8.00-1.00;
gewinde5 = 5.00-1.00;
corner = 5.0;
shapeoko();
module shapeoko()
{
difference()
{
union()
{
color("blue") translate([0,0,0]) cube([so_width, so_thick, so_height]);
}
translate([so_width/2,so_thick/2,-1]) c... | glb/cad_575199a92152.glb |
Create a Shapeoko Z Mount Plate as a rectangular plate with dimensions 50.75mm wide, 57.10mm high, and 6.40mm thick. The four corners of the plate must be rounded with a radius of 5.0mm.
Remove the following material from the plate: a large central circular hole with a diameter of 22mm centered at (25.375, 28.55); tw... | so_width = 50.75;
so_height = 57.10;
so_thick = 6.40;
corner = 5.0;
shapeoko();
module shapeoko()
{
difference()
{
union()
{
color("red") translate([corner,corner,0])
minkowski()
{
cube([so_width-corner*2, so_height-corner*2, so_thick/2]);
cylinder(r=corner, h=s... | glb/cad_368814b3888c.glb |
Create a Laser Cutter Gantry End by assembling three primary plates with a thickness of 0.125mm.
First, create a center plate as a rectangular block measuring 4.331mm by 3.595mm. Remove a 1mm cube from the top right corner and drill five circular holes: one with a diameter of 0.281mm at [2.205, 0.456], and four with ... | T = 0.125;
FR = 0.1;
GT = 0.1;
RIB_X = 1.220 + 0.4;
RIB_H = 0.2;
$fn = 30;
module break_corner(corner)
translate(corner)
rotate([0, 0, 45])
cube([0.18, 0.18, 1], center=true);
module bore(center, d)
translate(center)
cylinder(r=d/2, h=1, center=true);
module slot(center, d1, d2) {
o = (d1 - d2) / 2;
... | glb/cad_99fcecc1c1ce.glb |
Create a parametric wood support by starting with a main rectangular block measuring 50mm in width, 30mm in height, and 25.5mm in depth. Carve out a central rectangular channel from this block that is 15.5mm deep, 30mm high, and 52mm wide, leaving a wall thickness of 5mm on the top and bottom faces and 1mm on the left ... | use <BOSL/transforms.scad>
use <BOSL/constants.scad>
use <BOSL/shapes.scad>
$fn = 100;
e_wood = 15.5;
e_wall = 5;
height = 30;
width = 50;
diam_screw = 3;
module structure() {
union() {
difference() {
cube([width, e_wood+(e_wall*2), height]);
up(e_wall) back(e_wall) left(1) cube... | glb/cad_02e9605df8a0.glb |
Create a Braille label consisting of a rectangular base slab with raised tactile dots. The slab should have a thickness of 2mm. Its height is determined by the number of text lines multiplied by 11mm, and its width is calculated based on the longest line of text, using a character width of 7.62mm per character plus a 2... | text = ["welcome"];
function max_length_r(v, i, max) =
i == len(v) ? max : max_length_r(v, i+1, len(v[i]) > max ? len(v[i]) : max);
function max_length(v) = max_length_r(v,0,0);
function chord_radius(length,height) = ( length * length /(4 * height) + height)/2;
font_charKeys = ["a", "A", "b", "B", "c", "C", "d... | glb/cad_8a33b1eef577.glb |
Create a holder for coffee machine accessories. Start with a rectangular base block 50mm long, 16.5mm wide, and 3mm thick. On top of this base, build a central body that is 50mm long and 10mm high. This body should be composed of two thin outer walls, each 1.5mm thick, with a gap between them.
Within this central body... | $fn=100;
dia =8.0;
width=16.5;
depth=10;
ofs=9;
base = 3;
length=50;
th=2.5;thin=1.5;
ang=2; knurl=1;hold=0.5;
translate([0,-th,0])cube([length,width+2*th,base]);
translate([0,-th-0.25,.25])rotate(a=-ang,v=[1,0,0])cube([length,th,base+depth]);
translate([0,width+0.25,0.25])rotate(a=ang,v=[1,0,0])cube([length,th,base... | glb/cad_ac8ee74f6fef.glb |
Create a bracket for a coffee machine accessory holder. The main body is a vertical block 4mm thick, 12.8mm wide, and 15mm high. The vertical edges are rounded with a radius of 4mm.
On the back side of the block, integrate a connector designed to fit into vent slots. This connector consists of three thin rectangular p... | $fn=100;
thick=4;
wide=12.8;
th=2.;
rad=thick/2+th;
slthick=3.0;
slpitch=6.0+slthick;
sldepth=3.2;
sldeepthick=0.6;
slang=8.5;
height=15;
intersection(){translate([-10,-10,0])cube([20,30,height]);union(){
difference(){
intersection(){translate([0,-th+th/7,0])cube([thick+2*th,wide+4*th-2*th/5,height]);hull(){
tran... | glb/cad_0ed07d3982b3.glb |
Create a DeLonghi Eletta Cappuccino accessory holder. The main body is a rounded rectangular container with a total depth of 24mm, a width of 45mm, and a height of 25mm (10mm for the base and 15mm for the skirt). The walls have a thickness of 1.6mm.
The container's interior is hollowed out, leaving a base plate. On on... | $fn=100;
deep=24;
wide=45;
tall=10;
dif=4;
d1=6;d2=17.5;d3=9;
ofs1=7; ofs2=10.5; ofs3=wide-14;
skheight=15;
skth=1.6;
th=2.;
slthick=3.0;
slpitch=6.0+slthick;
sldepth=3.2;
sldeepthick=0.6;
slang=-8.5;
height=20;
module connector(){
mirror([0,1,0])translate([0,0.7,-1])union(){
translate([-sldepth,-th-slthick/2,0]... | glb/cad_1d872f98c224.glb |
Create a Quest 2 Audio Jack Support consisting of a circular base and an angled cylindrical sleeve. Start by creating a base cylinder with a diameter of 20mm and a height of 10mm. Attached to this base, create a second cylinder with a diameter of 10mm and a height of 18mm, tilted at an angle of -2 degrees along the X-a... | $fn = 100;
difference() {
union() {
cylinder(d = 20, h = 10);
rotate(a = [0, -2, 0]) {
cylinder(d = 10, h = 18);
}
}
rotate(a = [0, -2, 0]) {
translate(v = [0, 0, -10]) {
cylinder(d = 6.5000000000, h = 38);
}
}
rotate(a = [90, 0, 0]) {
translate(v = [-8.9000000000, -45.5000000000, -50.0000000000... | glb/cad_c142be6b6021.glb |
Create a customizable spring with a square profile. The overall dimensions are 40mm in height, 20mm in width, and 20mm in depth. The structure consists of a base cap and a top cap, each with a thickness of approximately 4.5mm, connected by a series of flexible web members and support posts.
The flexible members are th... | shape = "square";
$fn_for_OD=60;
fnod = $fn_for_OD;
web_shape = "S";
ws=web_shape;
hole_diameter = 0;
id = hole_diameter;
$fn_for_hole=60;
fnid = $fn_for_hole;
spring_height = 40;
h = spring_height;
spring_width = 20;
w = spring_width;
print_height = 20;
z = print_height;
web_thickness = 1;
t = web_thickness;
... | glb/cad_56dcb6472f91.glb |
Create a bath tap pointer cap. Start with a main body consisting of a cylinder with a diameter of 33.33mm and a height of 4.43mm. The top surface of this cylinder should be slightly domed, formed by the top section of a sphere with a radius of approximately 8.45mm.
From the center of the bottom face, remove a cylindr... | Cap=0;
Arrow=1;
CapHeight = 4.43;
CapDiam = 33.33;
HoleDiam = 29.29 - 0.25;
HoleDepth = 5.28;
$fn=100;
ExtraSupport=1;
CapRadius = CapDiam / 2 ;
SphereRadius = (pow(CapHeight,2) + pow(CapRadius,2)) / (2*CapHeight);
if (Cap==1){
difference(){
union(){
difference(){
translate([0,0,-SphereRadius+CapH... | glb/cad_647fe5ed3c3f.glb |
Create a Customizable Small Tripod consisting of a central body and three foldable legs.
First, construct the central body as a ring with an inner hole diameter of 8mm and a wall thickness of 2.5mm. Around this center, add three equidistant brackets. Each bracket is a rounded block with a thickness of 5mm and a radiu... | part=3;
smooth=48;
$fn=smooth;
part_gap=0.5;
part_bevel=0.75;
hole_dia=8;
hole_wall=2.5;
bracket_thk=5;
bracket_rod_dia=8;
leg_leng=90;
leg_end_dia=8;
leg_thk=8;
leg_gap=0.25;
hook_wall=4;
stopper_wid=3.0;
stopper_angle=35;
anti_slip=1;
bracket_rod_rad=bracket_rod_dia/2;
space_wid=leg_thk+part_gap*2;
l... | glb/cad_dd51920c80c8.glb |
Create a pencil adapter consisting of two stacked cylindrical sections with a continuous central hole. Start by creating a base cylinder with a diameter of 10mm and a height of 2mm. Directly on top of this base, add a second cylinder with a diameter of 7.85mm and a height of 7.5mm. Finally, remove a central cylindrical... | pencil_hole_diameter = 6;
adapter_size_diameter = 7.85;
adapter_size_insert_length = 7.5;
collar_diameter = 10;
collar_height = 2;
difference() {
union() {
cylinder(h = collar_height, r1 = collar_diameter/2, r2 = collar_diameter/2, center = false);
translate([0, 0, collar_height]) cylinder(h = adapter_size_inse... | glb/cad_7372ef06e597.glb |
Create a Star of David vase by extruding a six-pointed star profile vertically. The base profile consists of two overlapping equilateral triangles with an edge length of 20mm, centered on the origin, forming a hexagram. Extrude this shape to a total height of 15mm. As the profile is extruded upward, apply a continuous ... | edgeLen=20;
twist=60;
height=15;
$fn=50;
slices=6*height;
module DavidSheild(l) {
height=sqrt(l*l - (l*l/4));
polygon([[-l/2,-height/3],
[l/2,-height/3],
[0, height*2/3] ]);
polygon([[-l/2,height/3],
[l/2,height/3],
[0,-height*2/3]]);
}
linear_ext... | glb/cad_3ba9e513ff27.glb |
Create a tap washer by constructing a thin, flat disc with an outer diameter of 16mm and a height of 1mm. Center a circular hole through the entire thickness of the disc with an inner diameter of 5.33mm. Ensure the circular profiles are smooth with a high facet resolution. | OD=16;
ID=5.33;
$fn=50;
difference(){
cylinder(r=OD/2,h=1);
cylinder(r=ID/2,h=1);
} | glb/cad_92913beb0e2b.glb |
Create a Polygon Vase by extruding a 2D regular hexagon with an edge length of 20mm. Extrude this hexagonal profile vertically to a total height of 15mm. During the extrusion process, apply a linear twist of 60 degrees to the shape so that the top face is rotated relative to the base. Ensure the extrusion is smooth by ... | edgeLen=20;
numberOfEdges=6;
twist=60;
height=15;
slices=6*height;
module Polygon2D (n, l) {
alpha = 360 / n;
r = l/cos(alpha/2);
points=[ for (i=[0:n-1])[r*cos(i*alpha), r*sin(i*alpha)]];
echo(points);
polygon(points);
}
linear_extrude(height,center=false,
twist=twist,
... | glb/cad_e72bd4aa6974.glb |
Create a corner multinut building block consisting of a central spherical body with three orthogonal threaded holes. Start with a sphere of radius 100mm. Subtract three identical cylindrical screw-shaped voids from this sphere, each with a diameter of 50mm and a length of 250mm.
Position the first void centered along... | module screw(type = 2, r1 = 15, r2 = 20, n = 7, h = 100, t = 8)
{
linear_extrude(height = h, twist = 360*t/n, convexity = t)
difference() {
circle(r2);
for (i = [0:n-1]) {
if (type == 1) rotate(i*360/n) polygon([
[ 2*r2, 0 ],
[ r2, 0 ],
[ r1*cos(180/n), r1*sin(180/n) ],
[ r2*cos(360/n... | glb/cad_ce0b4cd73c3b.glb |
Create a BlinkyTile Spike by constructing a hollow, pentagonal conical shell. Start with a pentagonal prism that has a radius of 21.2mm and a height of 3.34mm. Attached to the top face of this prism, add a pentagonal pyramid with a height of 50mm, tapering from the 21.2mm base radius down to a point radius of 0.1mm.
... | CrystalHeight = 50;
ConePoint = 0.1;
WallThickness = 0.8;
PrintTolerance = 0.1;
PentaRadius = 21.2;
ClipLength = 1.67*2;
LegWidth = 5;
difference(){
rotate([0,0,90])union(){
cylinder(r=PentaRadius,h=ClipLength,$fn=5);
translate([0,0,ClipLength])
cylinder(r1=PentaRadius,r2=ConePoint,h=CrystalHeight,$fn=5);
... | glb/cad_8acec535420f.glb |
Create a Printrbot Metal Z Axis Silencer by designing a flat plate 10mm thick. The overall outer shape is a convex hull encompassing three vertical cylinders. Two of these outer cylinders have a diameter of 15mm and are positioned 70mm apart; place the first at the origin (0,0) and the second at (0,70). A third, smalle... | height = 10;
holeMargin = 1;
uprightDia = 12;
uprightDistance = 70;
wallThick = 1.5;
screwDia = 6.5;
screwY = 36 - screwDia / 2 - uprightDia / 2;
screwX = -2 - uprightDia / 2 + screwDia / 2;
difference(){
hull(){
cylinder(d=uprightDia + holeMargin + wallThick * 2, h = height);
translate([0,uprightDistance,0])... | glb/cad_63934b5b1a45.glb |
Create a Martian Chess board consisting of three identical rectangular sections arranged side-by-side with a 5mm gap between them. Each section is 1mm thick and has rounded corners with a 2mm radius.
Each section features a grid of 4x4 squares, where each square is 28mm wide. The squares are arranged in a checkerboard... | width_of_square = 28;
thickness_of_board = 1;
thickness_of_bottom = 3;
width_of_middle_line = 10;
width_of_edges = 5;
radius_of_board_corners = 2;
distance_between_parts = 5;
number_of_squares_width = 4;
number_of_squares_length = 4;
show_left_board = true;
show_middle_board = true;
show_right_board = true;
sh... | glb/cad_e4d2199a7419.glb |
Create a Startup Weekend Trophy plaque by designing a thin rectangular base with a total width of 96mm, a height of 20mm, and a thickness of 2mm. Center the base on the origin. On the top surface of this plaque, add two lines of raised text. The top line should read "Best Overall" using a font size of 7mm with 1mm lett... | use<write/Write.scad>;
part = "first";
typeface = "orbitron";
top_line_text = "Best Overall";
top_font_size=7;
top_font_space=1;
bot_line_text = "Portland Startup Weekend";
bot_font_size=5;
bot_font_space=1;
$fn=100;
p_top=76;
height=20;
width=96;
depth=2;
dim=[width, height, depth];
print_part();
module p... | glb/cad_adf6e1e15a27.glb |
Create a circular foot for an aluminum extrusion by constructing a revolved profile. Start with a circular base 18mm in diameter. From the outer edge of the base, create a tapered wall that rises to a height of 15mm, narrowing to a top diameter of 14mm.
Carve a central vertical hole through the entire part. The botto... | base_diam = 18;
tip_diam = 14;
internal_diam = 5;
internal_step_diam = 7.5;
height = 15;
step_height = 5;
base_rad = base_diam / 2;
tip_rad = tip_diam / 2;
internal_rad = internal_diam / 2;
internal_step_rad = internal_step_diam / 2;
rotate_extrude(convexity = 10, $fn = 100)
{polygon(points = [[base_rad, 0],... | glb/cad_ca5d1f1684a3.glb |
Create a rectangular shim for a resin printer sensor with overall dimensions of 8mm in length, 20mm in width, and 2.6mm in thickness. The main body should have rounded corners with a fillet radius of 2mm. Through the center of the shim, create two aligned circular holes, each with a radius of 2mm and a depth that passe... | shimThick = 2.6;
shimLength = 8;
shimWidth = 20;
filletRad = 2;
$fn=100;
difference(){
minkowski()
{
cube([shimLength - filletRad - filletRad,shimWidth - filletRad - filletRad,shimThick/2]);
cylinder(r=filletRad,h=shimThick/2);
}
translate([shimLength - filletRad - 4,shimWidth - fille... | glb/cad_f3c564fa3beb.glb |
Create a vacuum cleaner accessories holder with a total length of 125mm, a width of 50mm, and a base thickness of 4mm.
The main body features two large symmetrical cutouts designed to hold accessories. Each cutout is formed by a transition between a 32mm diameter circle at the top and a 29mm diameter circle at the bo... | $fn = 100;
l = 125;
b = 50;
d = 4;
m = 60;
b1 = 3;
bw = 15;
bl = bw+2*b1;
ba = 8;
dm1 = 32;
dm2 = 29;
dm3 = 3;
sd1 = 10.5;
sd2 = 4.5;
sln = 25;
spalt = 0.8;
space = 4;
deep = dm1/2+10;
translate([0,0,b])
rotate([-90,0,0])
{
vacuumCleanerAccessoriesHolder();
translate([l/2-15/2-b1,b-b1,0])
holder();
tran... | glb/cad_473300a8096d.glb |
Create a battery cover for a Panasonic remote control. Start with a central rectangular base plate measuring 24.8mm in width, 140.9mm in length, and 1.6mm in thickness.
Along the two long edges, create raised side walls that are 8.4mm high and 1.6mm thick. The top outer corners of these walls should be rounded with a... | $fn=80;
x=24.8;
y=140.9;
t=1.6;
h=8.4;
difference(){
union(){
cube([x, y, t], center=true);
for (i = [-1, 1]){
hull(){
translate([i*(x/2-t/2), 0, 0])cube([t, y, t], center=true);
translate([i*(x/2-t/2-0.2), -y/2+1.6, h-t])sphere(d=t);
translate([i*(x/2-t/2-0.2), y/2-... | glb/cad_5ef2a4828f97.glb |
Create a parametric outside cap by constructing a hollow cylindrical container. Start with a main outer cylinder that has a diameter of 24.8mm and a total height of 9.7mm. The bottom of this cylinder should feature a tapered transition, specifically a frustum with a height of 0.8mm that narrows from the outer diameter ... | d_inside = 23.2;
h_inside = 9;
g_wall = 0.8;
g_base = 1.5;
chamfer = 0.8;
difference()
{
union()
{
translate([0, 0, chamfer + (h_inside+g_base-chamfer)/2])
cylinder(h = h_inside+g_base-chamfer, r=d_inside/2+g_wall, center = true, $fn=100);
translate([0, 0, chamfer/2])
cylinder(h = chamfer, d1=d_inside+2*g_... | glb/cad_7efe9d62c635.glb |
Create a Router Circle Cutting Jig consisting of a main base plate and a separate inlay.
For the base plate, create a flat slab 6mm thick. The primary shape is a circle with a diameter of 145mm, but it is clipped into a rectangular profile with a height of 110mm. In the center, create a rectangular cutout 85mm wide b... | $fs=0.5;
$fa=6;
BUILD_TYPE = "complex_circle";
M3_HEAD_HEIGHT = 2.6;
M3_HEAD_DIA = 6;
M3_HOLE_DIA = 3.8;
M3_TAP_DIA = 2.8;
CUTTING_DIA = 12;
OUTER_DIA = 145;
INNER_DIA = 30;
INNER_WIDTH = 85;
BASE_HEIGHT = 110;
BASE_THICKNESS = 6;
HOLES_X_DIST = 106;
DELTA_X = 14;
HOLES_Y_DIST = 56;
HOLES_DIA = 5.6;
INL... | glb/cad_202c05e0a735.glb |
Create an extruder intake guide by constructing a composite solid with a total height of 14.5mm. Start with a base cylinder that has an outer diameter of 5.8mm and a height of 6mm. On top of this base, add a truncated cone (frustum) with a height of 8.5mm, starting from the base's outer diameter of 5.8mm and tapering t... | outer_diameter = 5.8;
bore_diameter = 2.5;
$fn=100;
difference() {
union() {
cylinder(d=outer_diameter,h=6);
translate([0,0,6])
cylinder(d1=outer_diameter,d2=3.8,h=14.5-6);
}
cylinder(d2=bore_diameter,d1=3.7,h=14.5);
} | glb/cad_ef6f9fe391b4.glb |
Create a customizable coin with a total radius of 18mm. Start by constructing the main body, which consists of a central solid cylinder with a radius of 18mm and a height of 2mm. Add a circular rim to both the top and bottom faces of this central cylinder; each rim must have an outer radius of 18mm, an inner radius of ... | use <write/Write.scad>
TopSide=3303;
BottomSide= 8255;
font_size = 5*1;
Top_Text1="";
Top_Text2="Superhero";
Bottom_Text1 = "Batman";
Bottom_Text2 = "";
radius = 18;
height = 2;
rim_height = 2;
rim_thick = 2;
the_length=len(Top_Text2);
echo("length:");
echo(the_length);
coin_face_radius = radius-rim_thick;... | glb/cad_4837ecfbc7b8.glb |
Create a Leo Zodiac sign keychain. Start by creating a flat, 2D plate with a thickness of 6mm, shaped as the Leo astrological symbol—a circle on the left connected to a curving line that arcs upward and then sweeps back down and to the left in a stylized hook. The overall footprint of this symbol should be scaled to fi... | fudge = 0.5;
module poly_path636(h)
{
union()
{
scale([20.4/90, -20.4/90, 1]) union()
{
difference()
{
linear_extrude(height=h)
polygon([[1820.681744,1961.906903],[1721.335255,2047.825187],[1623.082416,2122.287701],[1525.903342,2185.294443],[1429.778150,2236.845413],[1334.686953,2276.94... | glb/cad_c2ddfe2ba0b0.glb |
Create a Colorimeter/Nephelometer Case consisting of a main body, a lid, a cuvette holder, and a cuvette cover.
For the main body, create a polygonal prism with 8 vertices (based on 4 signal paths) and a height of 27.8mm. The exterior is formed by the hull of 8 cylinders with a radius of 4mm, positioned at the vertic... | render_part=1;
signal_half_path = 45;
signal_paths = 4;
board_width = 20;
board_thickness = 1.8;
board_standoff = 3;
cuvette_diameter = 25.4;
hemispherical_bottom = 1;
cuvette_length = 75;
analysis_depth = 25;
render();
module render() {
if (render_part == 1)
case();
if (render_part == 2)
lid();
if... | glb/cad_a38bcadeb315.glb |
Create a Tweeter Mount by constructing a truncated cone with a height of 58mm, a base diameter of 80mm, and a top diameter of 43.9mm. Tilt the entire assembly by 40 degrees. At the top of the cone, integrate a circular lip that is 3mm thick with an outer diameter of 43.7mm and a centered inner hole of 20mm in diameter.... | TD = 43.9;
BD = 80;
H = 58;
LH = 3;
SD = 43.7;
SH = 20;
TH = 3;
TA = 40;
FS = 25.8;
HP = 74;
MD = 2;
MO = 25;
WD = 15;
WO = 12;
F = 0.01;
$fn = 200;
rotate(a = [0, TA, 0])
union()
{
difference()
{
slicedCone(0);
slicedCone(TH);
translate(v = [WO, 0, - H / 2])
rotate(a = [0, -TA, 0])
{
cylinder(r = ... | glb/cad_3773de4fc6a2.glb |
Create a benchmark tool for threaded inserts consisting of a rectangular base with a series of ten aligned cylindrical rings. The base is a flat rectangular slab 2mm thick, with dimensions 94mm in length and 11mm in width. Centered on the top surface of this base, place ten hollow cylinders in a row. Each cylinder has ... | height = 5;
startDia = 5;
increments = 0.1;
no = 10;
wallThickness = 2;
baseX = (startDia + increments * no + wallThickness * 2) * (no - 1);
baseY = startDia + increments * no + wallThickness * 2 ;
baseZ = 2;
textDepth = 0.5;
roundness = 100;
difference() {
color("red");
cube([baseX, baseY, baseZ], ce... | glb/cad_ce24aa69f7c1.glb |
Create a barometer avionic instrument case. Start by constructing a main body using a cube of 55mm x 55mm x 70mm, modified with a Minkowski sum of a 10mm diameter cylinder with a height of 1mm to round the edges.
Hollow out the interior by removing a central cube of 60.2mm x 60.2mm x 70mm. Create several access openin... | $fn=180;
xray=false;
difference()
{
union()
{
color("Gray")
minkowski()
{
translate([0,0,-28.1])
cube([55,55,70],center=true);
cylinder(d=10,h=1);
}
}
union()
{
translate([0,0,-26.1])
cube([60.2,60.2,70],center=true);
translate([-20,-21,-64.1])
cube([8,8,10]... | glb/cad_7f7e834f9e36.glb |
Create a circular glass frame for an avionic-inspired barometer. Start by constructing a solid cylinder with a diameter of 57.6mm and a height of 5.4mm, centered on the origin and extending from z = -0.4mm to z = 5mm. To create the hollow interior and the stepped profile, remove several concentric cylindrical volumes f... | difference()
{
$fn=180;
union()
{
translate([0,0,-.4])
cylinder(d=57.6,h=5.4);
translate([0,0,-5.6])
cylinder(d=53.5,h=5.7);
}
union()
{
translate([0,0,1])
cylinder(d=53,h=6);
translate([0,0,.6])
cylinder(d=56.6,h=2);
translate([0,0,2.8])
cylinder(d1=52,d2=56,h=2.6);
... | glb/cad_3473aae84529.glb |
Create a circular glass frame for an avionic-inspired barometer. Start by creating a main cylinder with a diameter of 57.6mm and a height of 4mm. From this main body, remove a central cylindrical core with a diameter of 53mm and a height of 6mm, positioned so that it starts 1mm below the base of the main cylinder. Addi... | difference()
{
$fn=180;
cylinder(d=57.6,h=4);
union()
{
translate([0,0,-1])
cylinder(d=53,h=6);
translate([0,0,.6])
cylinder(d=56.6,h=5);
}
} | glb/cad_0c66a2325000.glb |
Create a barometer avionic inspired component by starting with a wide, flat cylindrical base that is 7mm in diameter and 2mm in height. Centered on top of this base, add a vertical cylinder with a diameter of 4mm and a height of 20mm. Finally, cap the top of the vertical cylinder with a sphere that has a radius of 2mm,... | $fn=100;
cylinder(d=7,h=2);
cylinder(d=4,h=20);
translate([0,0,20])
sphere(2); | glb/cad_bb26bbe39502.glb |
Create a barometer avionic instrument housing. Start with a main body formed by a 55mm x 55mm x 12mm centered cube with rounded edges (10mm radius) and a 60mm x 60mm x 20mm centered cube base.
Carve out a central circular bezel with a 54mm diameter and 10mm depth, and a larger 58mm diameter opening with a 10mm depth. ... | $fn=180;
xray=false;
difference()
{
union()
{
minkowski()
{
translate([0,0,14])
cube([55,55,12],center=true);
cylinder(d=10,h=1);
}
translate([0,0,10])
cube([60,60,20],center=true);
}
union()
{
translate([0,0,11])
cylinder(d=54,h=10);
translate([0,0,18])
... | glb/cad_c0ec9d012213.glb |
Create a barometer avionic instrument bezel. Start with a main circular disk that is 53.6mm in diameter and 1mm thick, centered at the origin. In the center of this disk, create a vertical cylindrical hole with a diameter of 9.2mm and a height of 14mm.
Around the perimeter of the disk, place six small square mounting ... | $fn=180;
xray=false;
difference()
{
union()
{
color("Black")
translate([0,0,11])
cylinder(d=53.6,h=1);
translate([-24,0,12])
cube([3,3,2],center=true);
translate([-17,17,12])
rotate([0,0,-45])
cube([3,3,2],center=true);
translate([17,-17,12])
rotate([0,0,-45])
cube([3,3,2],center=true);
... | glb/cad_b6e60de216d5.glb |
Create a barometer avionic instrument housing by constructing two concentric cylinders. First, create a wide base cylinder with a diameter of 30mm and a height of 5mm. Centered on top of this base, add a second, narrower cylinder with a diameter of 20mm and a height of 20mm. To finish the part, remove a vertical cylind... | $fn=100;
difference()
{
union()
{
translate([50,0,0])
cylinder(d=30,h=5);
translate([50,0,0])
cylinder(d=20,h=20);
}
union()
{
translate([50,0,-1])
cylinder(d=8,h=57);
translate([50,0,-1])
cylinder(d=15,h=7);
}
} | glb/cad_9823e9428ec7.glb |
Create a rectangular body for an animal mix-and-match toy with dimensions 40mm in length, 20mm in width, and 7mm in height. Center the body at the origin.
At each end of the length (x = ±20mm), create a ball-joint seat. These seats are oriented such that the opening faces outward along the x-axis. Additionally, place ... | use <../ball-joint.scad>;
$fn = 80;
body_length = 40;
body_width = 20;
body_half_height = 7;
legs_offset = 9;
rubberband_width = 2;
body();
*head();
*tail();
*leg();
*mirror([0, 1, 0]) {
leg();
}
*assembled();
module assembled() {
translate([0, 0, 0.5]) {
body();
}
mirror([0, 0, 1]) {
... | glb/cad_0316f8dc99e3.glb |
Create a ball joint demo consisting of a ball-and-socket assembly. First, construct the ball component by creating a sphere with a diameter of 10mm. Attach a conical stem to the bottom of this sphere, starting with a base diameter of 6.67mm and tapering to a tip diameter of 1.5mm over a height of 5mm.
Next, create the... | $fn=80;
_ball_dia = 10;
_seat_thickness = 1.5;
_seat_clearance = 1;
_seat_dia = _ball_dia + _seat_thickness*2;
*balljoint_demo();
*balljoint_seat_hole(true);
difference() {
* balljoint_seat();
balljoint_seat_hole(true);
}
module balljoint_demo() {
rotate([29, 0, 0]) {
balljoint_ball();
... | glb/cad_778cacb87de7.glb |
Create a Raspberry Pi Pico Header Soldering Jig. Start with a rectangular base plate measuring 26mm by 56mm with a thickness of 2mm and rounded corners with a 5mm radius.
Cut a rectangular opening out of the center of the plate, leaving a thin crossbar of 2.54mm width running across the middle of the short axis to pr... | extra = 0.4;
edge = 5;
in = 25.4;
pin_spc = in / 10;
pin_dia = 1;
board = [ 21, 51, 2 ];
count = 20;
row_spc = 0.7 * in;
row_st = [ [ (board.x - row_spc) / 2, (board.y - ((count - 1) * pin_spc)) / 2], [ row_spc + (board.x - row_spc) / 2, (board.y - ((count - 1) * pin_spc)) / 2] ];
swd_st = [ board.x... | glb/cad_74d6732a6108.glb |
Create a custom cover for a padlock. Start by constructing a rectangular block with overall dimensions of 46mm width, 26mm depth, and 51mm height. Round the four vertical edges with a radius of 3mm.
Create a hollow interior cavity measuring 40mm width, 20mm depth, and 45mm height, positioned 3mm from the top, front, ... | ID=1;
W=40;
H=45;
D=20;
Dia=7;
SHACKLE=33;
WALL=3;
COL=0;
module sA(h){
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-46.214476,57.073620],[-16.920052,-56.568543],[16.414982,-57.073619],[46.214477,57.073620],[17.425134,57.073620],[12.374371,32.829960],[-9.343909,32.82... | glb/cad_e00b7b54eb8d.glb |
Create a ball joint system consisting of a ball and a matching socket. First, create the ball component by centering a sphere with a diameter of 10mm. Attach a tapered stem to the bottom of the sphere by creating a cylinder with a height of 5mm, starting from the bottom pole of the sphere, with a base diameter of 6.67m... | _ball_dia = 10;
_seat_thickness = 1.5;
_seat_clearance = 1;
_seat_dia = _ball_dia + _seat_thickness*2;
*balljoint_demo();
*balljoint_seat_hole();
difference() {
* balljoint_seat();
balljoint_seat_hole();
}
module balljoint_demo() {
rotate([29, 0, 0]) {
balljoint_ball();
translate([0, 0,... | glb/cad_f26f7962f384.glb |
Create a Crocodile mix-n-match toy consisting of a modular body, head, jaw, legs, and tail.
Construct the body as a capsule-like shape 60mm long, 25mm wide, and 15mm high. The top half of the body features two rows of small triangular spikes running along the length of the sides. Integrate ball-joint sockets at the f... | use <../ball-joint.scad>;
$fn = 60;
body_length = 60;
body_width = 25;
body_height = 15;
legs_offset = 14;
body_top();
*body_bottom();
*head();
*jaw();
*tail();
*right_leg();
*left_leg();
*assembled();
module assembled() {
$fn = 30;
green = [0, 0.5, 0];
yellow = [1, 1, 0.5];
translate([0, 0, 0.5... | glb/cad_efba45e9d1c5.glb |
Create a Stackable Rack lid by constructing a thin, flat plate with a honeycomb grid of hexagonal holes. The overall plate thickness is 2mm. The grid is designed to hold vials with an outer diameter of 11.6mm, using a diameter margin of 1mm, resulting in an inscribed hexagon radius of 6.55mm for each cell.
The grid co... | $fs = 0.05;
vial_diameter = 11.6;
diameter_margin = 1.0;
rows = 5;
columns = 10;
wall = 1.5;
thickness = 2.0;
vial_radius = vial_diameter/2;
hexagon_inscribed = vial_radius + diameter_margin/2 + wall/2;
hexagon_circumscribed = hexagon_inscribed*2/sqrt(3);
row_distance = 2*hexagon_inscribed;
column... | glb/cad_d0aaf39ea263.glb |
Create a Stackable Rack for vials consisting of a grid of hexagonal cells. The grid is 10 columns wide and 5 rows deep. Each cell is a hexagonal prism with a height of 24mm. Each cell has a hollow hexagonal center with an inscribed radius of 6.3mm and a floor thickness of 2mm, leaving a 22mm deep hole for the vial. The... | vial_diameter = 11.6;
vial_height = 32;
diameter_margin = 1;
top_margin = 2;
rows = 5;
columns = 10;
hexagon_height_ratio = 0.75;
wall = 1.5;
bottom = 2;
recess = 3;
vial_radius = vial_diameter/2;
innerhexagon_inscribed = vial_radius + diameter_margin/2;
innerhexagon_circumscribed = innerhexago... | glb/cad_ef3e0968308c.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.