Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a cardboard playercard holder by constructing a rotationally symmetric base. Start with a profile polygon that begins at the origin (0,0), extends horizontally to 15mm, rises vertically to 2mm, slopes inward to a point 5mm from the center at a height of 10mm, and then continues vertically to a total height of 15... | basesize=30;
baseheight=15;
cardthickness=1.4;
curvedslit=0;
middlesize=basesize/3;
topsize=basesize/2;
edgeheight=basesize/15;
slopeheight=baseheight-edgeheight;
slitelevation=baseheight*0.45;
module cardspace (height=10, radius=10, thickness=0.3) {
difference () {
cylinder(h=height, r=radius, center=tru... | glb/cad_059767a3c94d.glb |
Create a Model Rocket Fin Guide consisting of a circular plate and a separate tube adapter. The plate is a cylinder with a diameter of 100mm and a height of 5mm. At the center of the plate, create a vertical hole with a diameter of 3mm to accommodate a screw.
On the top surface of the plate, add three identical fin sl... | plateod=100;
plateh=5;
nfins=3;
fint=2.8;
stript=4.5;
screwd=3;
screwheadd=5.5;
rodslotw=6.5;
rodslotoffset=5;
finslotl=30;
finslotw=fint+2*stript;
finsloth=15;
finslotbasew=20+finslotw;
finslottopw=5+finslotw;
finslotoffset=3;
tubeid=28.5;
adapterh=20;
adaptert=2;
module adapter()
difference(){
cylinder(r=tubeid... | glb/cad_ff1e7bdce62a.glb |
Create a 3D math exercise model consisting of a cone and a surrounding frame. First, construct a solid cone with a base radius of 15mm and a height of 30mm.
Next, build a supporting frame around the cone. The frame consists of a base plate and two vertical walls, all with a thickness of 2mm. The base plate is a squar... | r = 15;
t = 2;
n_r = 60;
n_h = 9;
rotate([0,0,180]){
cone();
projection();
}
module cone(debug = false){
height = 2*r;
function s(h) = 1-h/height;
function oval() = [
for(h=[0:height/(n_h-1):height+0.001])
for(ang=[0:360/n_r:360-360/n_r])
[s(h)*r*cos(ang),r*... | glb/cad_6973ae965772.glb |
Create an endstop holder designed to attach a sensor to an 8mm rod. Start with a main rectangular block measuring 45mm in length, 4mm in width, and 17mm in height.
From this block, remove material to create a mounting space for the sensor board. Specifically, create two aligned holes that pass through the block. Thes... | include <configuration.scad>
translate([5,-15,8]) rotate([0,90,0]) endstop();
translate([-14, -12, 0]) cube([36, 12, 3]);
module endstop() {
outer_diameter = m8_diameter/2+3.3;
screw_hole_spacing = 22;
opening_size = m8_diameter-1.5;
hoehe = 17;
difference(){
translate([-37, 0, 0]) cube([45, 4, hoehe]);
transl... | glb/cad_5938552af749.glb |
Create a Customizable Cable Shroud consisting of two distinct parts: a main ring and a spacer.
For the main ring, create a hollow cylinder with an outer diameter of 12.6mm (cable diameter of 11mm plus 0.8mm wall thickness on both sides) and a height of 7.5mm. This ring should feature a vertical gap 2.4mm wide that cu... | cable_diameter = 11;
spine_diameter = 2.5;
shroud_thickness = 0.8;
total_height = 10;
gap_size = 2.4;
twist = 50;
twist_offset = 0.5;
shroud_to_spacer_ratio = 0.75;
cylinder_resolution = 64;
angle_bounds_old = 2*atan((0.5*(spine_diameter/2+shroud_thickness))/
sqrt(pow((cable_diameter+shro... | glb/cad_d52fa6dbe9f1.glb |
Create a Lego to Kania Adapter consisting of a base plate and a raised central block. Start with a base plate 56mm long, 24mm wide, and 6mm high, with rounded corners of 10mm radius. In this base plate, create two vertical holes centered along the width; one hole is located 8mm from the left edge and the other 8mm from... | holes_fn=32;
ph=6;
pl=56;
pw=24;
prr=10;
rr=2;
$fn=64;
module base_block(){
translate([7.9/2,7.8,0])rotate([90,0,0]){
union(){
translate([0,-1,0])cube([31.8-7.9,9.6/2,7.8]);
translate([rr,rr,0]){
minkowski(){
cube([31.8-7.9-2*rr,9.6-2*rr,7.8/2]);
cylinder(r=rr,h=7.8/2);
}
}
}
}
}
module... | glb/cad_df5bde42e4cc.glb |
Create two steering linkages for an OpenRC tractor. For each linkage, construct a main body by combining a central rectangular bar with two cylindrical mounts at each end. The bar should be 3mm thick and 5mm wide. At each end of the bar, place a cylinder with a diameter of 9mm and a height of 3mm, centered on the bar's... | $fa=0.1;
$fs=0.5;
C_M3_DIAMETER = 3.5;
link_h = 3;
link_d = 5;
mount_d= 9;
mount_h = 3;
mount_hole = 3.3;
steering_link_p(link_length = 50);
translate([10,0,0]) steering_link_p(link_length = 60);
module steering_link_p(link_length = 51) {
difference() {
union() {
hull() {
tra... | glb/cad_3b827755c37c.glb |
Create a Sanguinololu fan mount starting with a base plate that is 100mm wide, 50mm deep, and 2mm thick. The base plate should have rounded corners with a 5mm radius and a central rectangular cutout measuring 90mm by 40mm, leaving a 5mm wide rim around the perimeter. At each of the four corners of the base plate, add a... | difference(){
union(){
difference(){
roundedRect([100,50,2],5, $fn=12);
translate([0,0,-0.1])roundedRect([90,40,2.2],5, $fn=12);
}
translate([51-8,26-8,0])cube([8,8,2]);
translate([-51,-26,0])cube([8,8,2]);
translate([51-8,-26,0])cube([8,8,2]);
translate([-51,26-8,0])cube([8,8,2]);
}
translate([-47... | glb/cad_d2e8fff1370e.glb |
Create a printing block consisting of a flat square base with a raised letter on top. Start by creating a square base that is 50mm wide, 50mm deep, and 4mm thick. Centered on the top surface of this base, add a raised 3D letter "R" with a height of 5mm. The letter should be scaled up by a factor of 6 and mirrored along... | module letter () {
scale(6) translate([-4,-6,0])
import(file="dxf/letter-r.dxf");
};
translate([0,0,2])
cube([50,50,4], center=true);
translate([0,0,4])
linear_extrude(height=5)
mirror()
letter(); | glb/cad_ef8bc890ad23.glb |
Create a printing block consisting of a flat square base with a raised geometric element on top. Start by creating a centered square base measuring 50mm by 50mm with a thickness of 4mm. Position this base so its center is at the origin. On the top surface of this base, add a second element by extruding a shape 5mm in h... | module letter () {
scale(6) translate([-3.5,-5,0])
import(file="dxf/gentleseas.dxf");
};
translate([0,0,2])
cube([50,50,4], center=true);
translate([0,0,4])
linear_extrude(height=5)
mirror()
letter(); | glb/cad_0a1fe4c95ea3.glb |
Create a printing block consisting of a rectangular base with a raised letter on top. Start by creating a centered rectangular base measuring 50mm in width, 30mm in depth, and 4mm in height. Centered on top of this base, add a mirrored 2D letter shape extruded to a height of 5mm. The letter geometry should be scaled up... | module letter () {
scale(3) translate([-4.5,-6.5,0])
import(file="dxf/jack.dxf");
};
translate([0,0,2])
cube([50,30,4], center=true);
translate([0,0,4])
linear_extrude(height=5)
mirror()
letter(); | glb/cad_5a95e572d8ef.glb |
Create a 3D model of a block consisting of four joined truncated octahedra. First, define a single truncated octahedron where every edge has a length of 12.5mm. This polyhedron should have 14 faces: 6 square faces and 8 regular hexagonal faces.
To construct the final block, arrange four of these truncated octahedra in... | tc_square_four();
module basic_trunc_octahedra()
{
scale(6.25)
trunc_octa();
}
module tc_square_two()
{
scale(6.275)
combine_sq_two();
module combine_sq_two()
{
union()
{
d = 5.66;
for (i = [0:1])
{
translate([i*d,0,0])
scale([1.001,1.001,1])
trunc_octa();
}}}}
module tc_square_four()
{
scale(6.275)
combine_... | glb/cad_15af40e3006d.glb |
Create a Pen Tray for whiteboard markers. Start with a rectangular base plate measuring 210mm wide, 40mm deep, and 5mm thick. At the center of this plate, create two circular holes: one at x=40mm and another at x=170mm, both positioned 20mm from the front edge. Each hole consists of a larger 6mm diameter cylinder with ... | $fn = 300;
union () {
wandbefestigung();
ablageflaeche();
translate([0,37,0]) ablageflaeche2();
stabilisierung();
}
module wandbefestigung() {
difference () {
cube ([210,40,5]);
translate([40,20,-0.1]) loch();
translate([170,20,-0.1]) loch();
}
}
module ablageflaeche() {
difference () {
cube ([210,6,60... | glb/cad_b7dec5869930.glb |
Create a Secret Money Safe consisting of three main components: a frame, a box, and a lid.
First, construct the box as a hollow rectangular container with outer dimensions of 70.5mm width, 160mm length, and 16mm height. The walls should be 1mm thick. On the bottom face, center a circular hole with a 10mm radius, posit... | part = "fbl";
wall_thickness = 1;
gap = 0.2;
notes_length = 158;
notes_width = 68.5;
notes_height = 15;
hole_radius = 10;
hole_position = 10;
guide_rail_width = 10;
leading_bridge = "y";
leading_rail_length = 30;
screw_diameter = 4;
e = 1e-2;
$fn = 100;
module box() {
difference() {
cube([notes_width + ... | glb/cad_4dc651432911.glb |
Create a SCSI2SD bracket starting with a rectangular base plate measuring 50mm wide, 100mm long, and 2mm thick. At each end of the length, centered 8.5mm from the side edge and 2.25mm from the front and back edges respectively, add a cylindrical pillar with a diameter of 7.5mm and a total height of 5mm. Drill a 2.5mm d... | $fn = 100;
base_plate_length = 100;
base_plate_width = 50;
base_plate_heigth = 2;
cylinder_heigth = 3;
cylinder_screw_hole_diameter = 2.5;
cylinder_diameter = cylinder_screw_hole_diameter + 5;
cylinder_y_pos = 2.25;
cylinder_x_pos = 8.5;
support_block_length = 10;
support_block_width = 4;
support_block_heigth = base... | glb/cad_3d5c2f66d3b9.glb |
Create a Z Axis Coupling by starting with a main cylinder that has a diameter of 15mm and a height of 30mm. Bore a central hole through the entire length of this cylinder with a diameter of 3.25mm to accommodate a motor shaft.
To allow for clamping, remove a rectangular section from the side of the cylinder, creating... | x=8;
y=5.5;
d=15;
h=30;
a=6;
b=3;
c=3;
difference(){
cylinder(h,d/2,d/2);
translate([0,0,-1])cylinder(h+1,(y+1)/2,(y+1)/2);
translate([0,0,h/2])cylinder(h+1,(x+1)/2,(x+1)/2);
translate([d/2,0,(h/2)-1])cube([d,3,h+3], center = true);
}
difference(){
translate([d/1.5,-4,h/2])cube([a*2,b+2,h], center = true);
translate([... | glb/cad_2b871aac51d3.glb |
Create a 3D emblem consisting of a central stylized letter "m" surrounded by circular text.
The central "m" is a thick, rounded geometric shape with a height of 1mm. It is composed of three vertical rounded pillars connected by a curved base, forming a smooth, continuous lowercase letter.
Surrounding the central let... | module path_path3853(h)
{
scale([25.4/90, -25.4/90, 1])
linear_extrude(height=h)
polygon(points=[[-26.781653,42.296662],[-26.804688,42.280243],[-30.130094,44.993963],[-30.792267,45.390510],[-31.219537,45.433325],[-31.705183,45.480824],[-31.689467,45.791756],[-31.439470,46.017840],[-30.556446,46.647582],[-30... | glb/cad_3b647c5952bc.glb |
Create a 3D model of an Inkscape to OpenSCAD converter logo consisting of four distinct extruded flat shapes, each with a thickness of 5mm.
First, create a gear-like shape by extruding a polygon with 20 teeth. The outer boundary is defined by a series of points forming a circular gear, scaled by a factor of 25.4/90 on... | module path_path3049(h)
{
scale([25.4/90, -25.4/90, 1])
linear_extrude(height=h)
polygon(points=[[121.231574,16.906277],[122.985574,16.765277],[127.660574,17.531277],[134.158574,20.250277],[134.158574,24.804277],[127.660574,27.523277],[122.985574,28.289277],[121.231574,28.148277],[120.308574,35.164277],[122... | glb/cad_a0f14e8cf0f9.glb |
Create a MicroCube z-axis mount for NEMA 14 stepper motors. Start with a main rectangular body 80mm wide, 24mm high, and 12mm thick. Round the two top corners with a 5mm radius.
Carve a horizontal cylindrical tunnel through the center of the body with a diameter of 8.2mm. In the center of the top face, create a vertic... | globalFn = 128;
partWidth = 80;
partHeight = 24;
partThickness = 12;
cornerRadius = 5;
slotThickness = 2;
bearingDiameter = 22.3;
bearingHeight = 7;
rodDiameter = 8.2;
screwDiameter = 3.2;
screwHeadDiameter = 6.2;
module m3Hex(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
poly... | glb/cad_5cb084d768db.glb |
Create a MicroCube z-axis mount for a NEMA 14 stepper motor and 608zz bearing. Start with a main body block measuring 80mm in width, 24mm in height, and 12mm in thickness. Round the two far corners of the block with a 5mm radius.
In the center of the block, create a square cutout for the motor mount with a side length... | globalFn = 128;
partWidth = 80;
partHeight = 24;
partThickness = 12;
cornerRadius = 5;
slotThickness = 2;
motorSideWidth = 35.4;
motorMountWallThickness = 2.5;
rodDiameter = 8.2;
screwDiameter = 3.2;
screwHeadDiameter = 6.2;
boltPatternWidth = 28.5;
module m3Hex(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
... | glb/cad_2c660d7d7fd9.glb |
Create a MicroCube z-axis mount consisting of a tiered cylindrical adapter with a central hole. Start by creating a wide, thin base cylinder with a diameter of 12mm and a height of 0.8mm. Centered on top of this base, add a main cylinder with a diameter of 7.7mm and a total height of 6.5mm. The top of this main cylinde... | globalFn = 128;
adapterHeight = 6.5;
adapterDiameter = 7.7;
adapterCollarDiameter = 12;
adapterCollarHeight = 0.8;
rodDiameter = 6;
difference() {
union() {
translate([0, 0, adapterHeight-1+adapterCollarHeight])
cylinder(h=1, d1=adapterDiameter, d2=adapterDiameter-2, $fn=globalFn);
... | glb/cad_d4727c560345.glb |
Create a MicroCube z-axis coupling by starting with a central cylinder 20mm in diameter and 16mm in height. The main body should be a cylinder with a diameter of 20mm and a height of 14mm, capped on the top and bottom by thin discs that taper slightly from 20mm to 18mm in diameter.
Carve a vertical slot 2mm wide throu... | globalFn = 128;
couplingHeight = 16;
couplingDiameter = 20;
motorShaftDiameter = 5.3;
zRodDiameter = 6.1;
slot = 2;
screwDiameter = 3.2;
screwHeadDiameter = 6.2;
module m3Hex(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h, center=true)
polygon([[9.794687,5.654965],[0.000000,11.30... | glb/cad_62697851f716.glb |
Create a MicroCube z-axis mount washer by designing a composite base with a central hole. Start with a central cylinder 5.2mm in diameter and 2.2mm in height. Surround this cylinder with two intersecting rectangular blocks, both 2.2mm thick; the first block should be 6.2mm wide and 2.6mm long, and the second should be ... | washerHeight = 2.20;
washerBore= 3.6;
washerDiameter = washerBore + 1.6;
difference() {
union() {
cylinder(h=washerHeight, d=washerDiameter, $fn=128, center=true);
translate([0.5, -washerDiameter/4-0.5, 0])
cube([washerDiameter+1, washerDiameter/2+1, washerHeight], center=true);
... | glb/cad_4a2a0f1b07eb.glb |
Create a Leadfoot PCB enclosure designed to hold a PCB of 80mm width, 50mm depth, and 1.6mm thickness with 3mm corner radii. The main body is a rounded box with a total height of 13.4mm, featuring a wall thickness of 1.6mm and corner radii of 4.6mm.
The interior is hollowed out to create a ballast chamber 8mm high, l... | pcb_width = 80;
pcb_depth = 50;
pcb_thickness = 1.6;
pcb_corner_radius = 3;
case_thickness = 1.6;
case_with_radius = 1;
lead_foot_height = 8;
ledger_width = 3.5;
with_right_and_left_ledger = 1;
with_front_and_rear_ledger = 1;
mounting_holes = 1;
mounting_hole_distance = 3.5;
spacer_height = 2;
spacer_diam = 6;
dr... | glb/cad_be5fee254060.glb |
Create a customizable funnel consisting of a wide conical top, a narrow discharge pipe, and a flat circular base brim.
Start by creating a hollow cone with an outer top diameter of 50mm and a wall thickness of 1.6mm. The cone should taper downward at a 60-degree angle until it reaches a point. At the bottom of this c... | funnel_diameter = 50;
mid_diameter = 9;
pipe_diameter = 6;
pipe_length = 30;
thickness = 1.6;
brim = 4;
cone_angle = 60;
CustomizableFunnel(funnel_diameter,
pipe_length,
mid_diameter,
pipe_diameter,
thickness,
brim,
cone_angle
... | glb/cad_ed25e3650ef6.glb |
Create a Customizable Parametric Simple Bitholder. Start with a baseplate 1.5mm thick. The baseplate should extend 6mm beyond the grid of holders on the west and east sides, with no extension on the north and south sides.
On this base, arrange a grid of 12 by 2 hexagonal holes for bits. Each hexagonal cell has an inne... | nx=12;
ny=2;
spx=-1;
spy=4;
bhh=7;
bh=1.5;
xb1=6;
xb2=6;
yb1=0;
yb2=0;
wt=2.5;
tn=45;
mht=0;
mhd=0;
wallthickness=min(max(wt,0.3), 3);
ex=max(nx,1);
ey=max(ny,1);
bitholderdepth=max(bhh,1);
baseheight=max(bh,1);
yborder1=max(yb1,0);
yborder2=max(yb2,0);
xborder1=max(xb1,0);
xborder2=max(xb2,0);
innerbitra... | glb/cad_6da190e7b639.glb |
Create a maker desk shelf organizer using 3mm thick material. The structure consists of a backside panel, two side panels, and several horizontal shelves.
The backside panel is a rectangle 170mm wide and 500mm high (calculated from 4 shelves at 100mm height plus a 100mm extra top section). Cut five rectangular windows... | mode =
"3dview";
num_shelves = 4;
extra_h = 100;
round_r = 35;
shelf_width = 170;
shelf_depth = 210;
shelf_h = 100;
top_tool_holder_depth = 60;
total_h = num_shelves*shelf_h + extra_h;
echo("total_h =",total_h);
thickness = 3;
locks_h = 10;
locks_d = 5;
locks_w = 5;
nb_locks_top = 3;
nb_screw_drivers = 6;
di... | glb/cad_83b45f13d962.glb |
Create a push rod bracket assembly consisting of a clamp and a support arm.
First, construct the clamp. Start with a central block measuring 40mm x 50mm x 30mm. Add a cylinder with a radius of 8mm and a height of 30mm centered at the base of the support arm. Attach two rectangular blocks to the sides: one measuring 1... | PedFrameDepth=44;
PedFrameWidth=34;
PushRodDiameter=9.5;
PushRodRad=PushRodDiameter/2;
$fn=20;
difference(){
union(){
cube([PedFrameWidth+6,PedFrameDepth+6,30],center=true);
translate([(PedFrameWidth+3)/2+4,-((PedFrameDepth+6)/2+3),0])cylinder(r=8,h=30,center=true);
translate([-(((PedFrameWidth+6)/2)+5),0... | glb/cad_f44320783190.glb |
Create a microstepping calibration set based on a 20mm scale. Start by creating a base consisting of a central circle with a radius of 7.07mm (20/2 * sin(45)) and a surrounding ring with an outer radius of 13.33mm and an inner radius of 7.07mm, both extruded to a height of 0.5mm.
Add three concentric ring-like struct... | size = 20;
wall = 1;
fn = 90;
$fn = fn;
union() {
curves();
translate([0, -wall / 2, 0]) intersection() {
curves();
translate([-wall / 2, 0, 0]) cube([wall, 100, 100]);
}
}
module wall() intersection() {
translate([0, size / 2 * sin(45), 0]) difference() {
circle(size / 2);
translate([-wall, 0, 0]) circl... | glb/cad_60bcce75a326.glb |
Create a Rocker Hinge consisting of three distinct components: two identical mount brackets and one sliding rocker hinge.
For each mount bracket, create a central rectangular base plate measuring 40mm by 6mm with a height of 33mm. On top of this plate, centered along the length, build a structure that transitions fro... | BarWidth=19;
BarThickness=3;
$fn=20;
translate([0,5,0])
difference(){
union(){
cube([40,6,BarWidth+14],center=true);
hull(){
translate([0,12,-(((BarWidth+14)/2)-1.5)])cylinder(r=6,h=3,center=true);
translate([0,2,-(((BarWidth+14)/2)-1.5)])cube([20,2,3],center=true);
}
}
translate([0,12,-(((BarWidth+14)/2... | glb/cad_1d18d847cbe7.glb |
Create a heart-shaped pendant with a thickness of 5mm. The heart is constructed by rotating a square of 28.28mm (the square root of 800) by 45 degrees and adding two semicircles with a radius of 14.14mm to the top edges. At the top center of the heart, add a small circular loop for a necklace; this loop should have an ... | use <write/Write.scad>
line_1_text = "I Love";
line_2_text = "You";
text_thickness = 5;
text_height = 5.7;
text_position = 12;
line_spacing = 8;
heart_height = sqrt(800);
heart_thickness = 5;
loop = "True";
loop_wall_thickness = 1.5;
loop_diameter = 5;
$fs = 0.01;
$fa = 5;
heart_edge = sqrt(heart_height*heart_height... | glb/cad_03baeec3ff04.glb |
Create a speaker stand by constructing a wedge-shaped base and adding a retaining lip. Start with a right-triangular prism that is 100mm wide, 100mm long, and 15mm high at its peak. Orient this wedge so that the 100mm by 15mm rectangular face sits flat on the surface, with the slope rising from the base to the peak. On... | b = 100;
h = 15;
w = 100;
difference() {
union() {
rotate(a=[90,-90,0])
linear_extrude(height = w, center = true, convexity = 10, twist = 0)
polygon(points=[[0,0],[h,0],[0,b]], paths=[[0,1,2]]);
translate([-95,-50,0]) rotate(a=[0,-8,0]) cube([3,100,6]);
}
translate([-104.5,-51,-5]) rotate(a=[0,-8,0]) cub... | glb/cad_440519d69756.glb |
Create a ring named EM Schland. Start by constructing a thin, hollow cylinder with an outer radius of 108mm, an inner radius of 104mm, and a height of 8mm. Ensure the cylinder has a high facet resolution of 64 for a smooth circular appearance. On the top surface of this ring, add the 3D text "E", "Schland", and "M" in ... | f=2;
innen=52*f;
aussen=54*f;
hoehe=4*f;
aufloesung=64;
translate([50*f, 53*f, 2*f])
difference() {
cylinder (r=aussen, $fn=aufloesung,h=hoehe, center = true);
cylinder (r=innen, $fn=aufloesung,h=hoehe, center =true);
}
include <write.scad>
translate([0,0,0])
write("Schland",h=20*f,t=9*f);
translate([-... | glb/cad_a36d9976c4d9.glb |
Create a filament guide consisting of a rectangular base and a central block with a vertical hole. Start by creating a rectangular flange that is 15.75mm wide, 6.75mm deep, and 1.25mm high. Centered on top of this flange, place a rectangular block that is 14.5mm wide, 6.25mm deep, and 7mm high. Finally, bore a vertical... | tolerance = .25;
input_holesize = [15,6.75,7];
flangewidth = 3;
flangeheight = 1.25;
holesize = [input_holesize[0]-tolerance,input_holesize[1]-tolerance,input_holesize[2]];
tolerance = .25;
flange = [input_holesize[0]+flangewidth, input_holesize[1]+flangewidth, flangeheight];
filamentdiameter = 2.2;
difference(){
uni... | glb/cad_775840c931e9.glb |
Create a Pop Box face by starting with an equilateral triangular prism with a side length of 50mm and a thickness of 1mm.
On each of the three edges of the triangle, integrate a hinge mechanism. Each hinge consists of a series of small cylindrical hingelets with an outside diameter of 5mm and an inside hole diameter ... | use <hinge.scad>
module tri(sideLength,thickness) {
halfSide = sideLength*0.5;
triPoints = [ [-halfSide,0], [halfSide,0], [0, sideLength*sqrt(3)*0.5]];
color("yellow") linear_extrude(height=thickness,center=false,convexity=1) {
polygon(points=triPoints,paths=[[0,1,2]]);
}
}
module face(faceSideLength, faceThi... | glb/cad_51ebe9583aa4.glb |
Create a Pop Box consisting of two identical rectangular plates, each 15mm wide, 40mm high, and 1mm thick, positioned 7mm apart.
On the outer edge of each plate, attach a hinge mechanism. The hinge is formed by a cylinder with an outside diameter of 4mm and a central hole with a diameter of 2mm. This cylinder is not ... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_89eda5087f02.glb |
Create a parametric clamp consisting of two identical semi-cylindrical shells. Each shell is half of a hollow cylinder with an inner diameter of 30mm, a wall thickness of 3mm, and a total height of 50mm.
For each shell, extend a flat rectangular mounting plate from the outer curved surface. This plate should be 6mm w... | clamp_id = 30;
clamp_h = 50;
wall = 3;
screw_d = 3;
screws = 3;
nut_d = 6;
screwDistanceFromEdge = 10;
translate([-(clamp_h+10),0,0])
rotate([0,90,0])
difference() {
clamp();
translate([0,-(clamp_id+wall*16)/2,-0.01])
cube([clamp_id+wall,clamp_id+wall*16,clamp_h*2]);
}
translate([clamp_h+10,0,0])
rotate([0,-90,... | glb/cad_e52c131908a1.glb |
Create a Drain Cover consisting of three concentric rings and a central cross-grate. Start with a base lip that is a thin ring with an outer radius of 40mm, an inner radius of 37mm, and a height of 3mm. Directly above this, add a main outer ring with an outer radius of 37mm, an inner radius of 30mm, and a height of 10m... | module ring(r1, r2, h) {
difference() {
cylinder(r = r1, h = h);
translate([ 0, 0, -1 ]) cylinder(r = r2, h = h+2);
}
}
drain_plug_radius=40;
plug_depth=10;
lip=3;
lip_depth=3;
ring_width=7;
cross_bar_width=4;
cross_depth=10;
final_ring=drain_plug_radius-lip;
ring (final_ring/110*67,final_ri... | glb/cad_93512bbfd856.glb |
Create a Ring-a-thing by constructing a thick circular band with a rectangular tab. Start with a cylinder 13mm in diameter and 9mm high. Subtract a smaller concentric cylinder from the center with a diameter of 16mm and a height of 14mm to create a hollow ring. To form the tab, add a centered rectangular block 16mm wid... | $fn=100;
magnet=3.3;
ring_size = 16;
rotate([0,0,90])
ring(ring_size, true);
module ring(size, d=true) {
difference() {
union() {
cylinder(r=size/2+2, h=9, center=false);
translate([0, size/4+2.5, 9/2])
if(d){
cube(size=[size, size/2+4, 9], center=true);
}else{
cube(size=[size+4, size/2+4, 9]... | glb/cad_2e7096504a04.glb |
Create a sonar sensor servo mount. Start by creating a main rectangular container with a width of 44mm, a depth of 20mm, and a height of 15mm. The edges of this container should be rounded with a radius of 2.3mm.
Inside this container, remove a central rectangular section to create a hollow space. On the bottom face o... | sensorW = 44;
sensorH = 20;
mount();
module plate()
{
difference()
{
union()
{
headContainer(0.35*1);
cube([sensorW,sensorH,0.35*4]);
}
pins(3,2);
}
}
module mount()
{
union()
{
difference()
{
translate([0,0,-3])#headContainer();
translate([0,0,-1])head(fat=2,fakeback=10);
}
translat... | glb/cad_2599959e94bc.glb |
Create a PieterBot robot chassis. Start with a circular base plate with a radius of 50.5mm and a thickness of 2mm.
In the center of the base, create a rectangular battery holder. The outer walls of this holder should be 56mm wide and 64mm long, with an inner cutout of 50mm by 59mm and a wall height of 18mm.
Add thre... | rotStep = 360/3;
batteryHolderWidth = 56;
batteryHolderLength = 64;
batteryBlokWidth = 50;
batteryBlokLength = 59;
batteryStopHeight = 18;
botBaseRadius = 50.5;
botBasePlateHeight = 2;
ballRadius= 13.5/2;
servoHeadFootHeight = 25;
servoHeadLegThinkes = 5;
servoHeadWidth = 18;
color("red") battery_level();
module batt... | glb/cad_6c82b920a6d2.glb |
Create a 2020 Cable Zip Tie Mount. Start with a main body that is a rounded box measuring 20mm wide, 20mm deep, and 7mm high, with an edge radius of 5mm.
At the center of the base (10mm, 10mm), create a vertical hole for an M5 screw. This hole begins with a cylinder 5.2mm in diameter for a height of 4.5mm, which then... | use <rounded_box.scad>
$fn = 128;
module half_torus_with_ziptie() {
translate([0, 0, 8.5]) difference() {
rotate([90, 0, 0]) cylinder(d = 17, h = 18);
rotate([90, 0, 0]) cylinder(d = 11, h = 18);
translate([-9, -18, 0]) cube([18, 18, 9]);
translate([-9, -11.5, -4.5]) cube([18, 5, 2... | glb/cad_497b4cc091f3.glb |
Create a beer glass lid designed to fit a glass with an 80mm diameter rim. Start with a main circular disk that has a radius of 42mm and a thickness of 0.6mm.
Add a raised outer rim to the disk to create a lip that fits the glass; this rim should have an outer diameter of 84mm, a height of 1mm, and an inner diameter ... | glasdurchmesser=80;
deckelhoehe=0.6;
schrifthoehe=0.4;
randhoehe=1.0;
TextOben="mein Name";
LinkeEckeOben=37;
SchriftGroesseOben=11;
TextUnten="";
LinkeEckeUnten=30;
SchriftGroesseUnten=16;
font1 = "Leckerli One";
$fn=50;
klammer_drucken=0;
deckel_drucken=1;
scharnierhoehe=0;
if(deckel_drucken==1){
difference(){
u... | glb/cad_88468c980a76.glb |
Create a Parametric Massage Wand head by constructing a hollowed-out cylindrical shell with a rounded top. The main body is a cylinder with an outside diameter of 44mm and a total length of approximately 62mm. The top of the cylinder is capped with a hemispherical dome scaled to 50% of the diameter for a softer curve.
... | motor_dia = 20.8 + 1.5;
motor_body_length = 32;
motor_cabling_tolerance = 3 ;
motor_cabling_dia = 4;
motor_shaft_offset = 12;
motor_retention_thickness = 2;
mass_radius = 20;
mass_shaft_dia = 8;
shell_thickness = 2;
sphere_top_scale = 0.5;
barb_dia = 15.0;
barb_ridge = 1.2;
barb_height = 15;
barb_chamfer = 3;
lower_scr... | glb/cad_5b7e8e410a2c.glb |
Create a vibration mass for a massage wand. Start by creating a composite shape that is the union of two cylinders connected by a hull: one cylinder with a diameter of 8mm and another with a diameter of 20mm, both with a height of 7mm and centered on the Z-axis. The 20mm cylinder should be offset 7mm along the X-axis. ... | thickness = 7;
d1 = 8;
d2 = 20;
spacing = 7;
shaft_dia = 2.6;
shaft_od = 6;
shaft_len = 3;
difference(){
union(){
hull(){
cylinder(h=thickness, d=d1, center=true);
translate([spacing,0,0])
cylinder(h=thickness, d=d2, center=true);
}
translate([0,0,shaft_l... | glb/cad_e269108ffdfc.glb |
Create a parametric massage wand handle enclosure consisting of a main box and a separate lid.
The main box is a rounded rectangular container with an outer width of 35.2mm, length of 78.2mm, and height of 36.6mm. The walls and base have a thickness of 1.6mm, with all exterior corners filleted by a 1.2mm radius. The ... | inside_width = 32;
inside_length = 75;
inside_height = 35;
thickness = 1.6;
radius = 1.2;
barb_dia = 15.0;
barb_ridge = 1.2;
barb_height = 20;
barb_chamfer = 2;
extra_lid_thickness = 0.5;
$fs=0.1;
outside_width = inside_width + thickness * 2;
outside_length = inside_length + thickness * 2;
module rounded_box(x,y,z,r)... | glb/cad_2b35218f9a6e.glb |
Create a head cover for a parametric massage wand. The object is a hollow shell consisting of a combined hemispherical top and cylindrical body.
First, create the outer volume by joining a sphere and a cylinder. The sphere is scaled on the Z-axis by 0.5 to create a dome, and the cylinder has a diameter of 42.5mm and ... | cover_thickness = 1.2;
tol = 0.5;
mass_radius = 20;
shell_thickness = 2;
motor_body_length = 32;
motor_cabling_tolerance = 3 ;
motor_shaft_offset = 12;
motor_retention_thickness = 2;
sphere_top_scale = 0.5;
added_length = cover_thickness;
outside_dia = mass_radius * 2 + shell_thickness * 2 + tol;
head_body_length = ... | glb/cad_73fb03dfee8e.glb |
Create a hollow tube for a parametric massage wand. The tube should be a right circular cylinder with a total height of 70mm. The outer diameter of the cylinder must be 19mm, and it should have a concentric inner hole with a diameter of 15mm, resulting in a wall thickness of 2mm. Ensure the geometry is smooth with a hi... | thickness = 2;
length = 70;
id = 15;
$fn = 64;
difference(){
cylinder(h = length, d = id + 2 * thickness);
cylinder(h = length, d = id);
} | glb/cad_2926973d0442.glb |
Create a head cover for a parametric massage wand. The object is a hollow, capped cylinder with a wall thickness of 1.2mm. The outer diameter is 46.9mm (calculated as the 44.5mm outside diameter of the massager tip plus twice the wall thickness). The total length of the cover is 61.2mm.
The main body is a cylinder wit... | cover_thickness = 1.2;
sphere_top_scale = 0.5;
overall_length = 60;
outside_dia = 44.5;
chamfer_radius = 10;
added_length = cover_thickness;
sphere_tip_length = (outside_dia * sphere_top_scale)/2;
overall_cover_length = overall_length + cover_thickness;
$fs = 0.5;
echo(outside_dia);
echo(overall_length);
echo(overall... | glb/cad_de91236d7db5.glb |
Create a Motorhome Tablet bracket designed to hold a device with dimensions of 240mm length, 178mm width, and 10mm height. Start by constructing a main frame that is 240mm long, 178mm wide, and 10mm thick. From this main volume, remove a central rectangular section measuring 240mm by 146mm by 10mm, leaving a border of ... | l = 240;
w = 178;
h = 10;
bw = 12;
hw = 18;
ht = 15;
t = 10;
hl = 50;
module tablet()
{
cube([l,w,h]);
}
module hook()
{
translate([l/4+t,w/3+(w/2)-h/2,-hw-5]) cube([l/2-t,h/2,hw]);
translate([l/4+t,w/3+(w/2)-ht-h/2,-hw-ht/2-2.5]) cube([l/2-t,ht+h/2,t/2]);
}
module bar()
{
difference()
{
... | glb/cad_ade031a887f9.glb |
Create a laptop stand consisting of three connected rectangular plates of 3mm thickness and 300mm width, forming a triangular prism shape when viewed from the side.
First, create a horizontal base plate measuring 152mm by 300mm. From one end of this base, extend a vertical back support plate measuring 142mm by 300mm,... | LA = 210;
AL = 142;
BA = 152;
TI = 003;
WD = 300;
RA = 43;
AJ=-0.8;
rotate(-90,[0,0,1])
translate([0,0,0]) {
color("green")
rotate(90,[0,1,0])
rotate(270,[0,0,1])
rotate(90,[0,1,0])
translate([BA,-2,WD]) color([0,1,0])
rotate([0,-180,0])
bend(d1=BA,d2=3,r=2,w=TI,a=90,h=WD);
color("green")
rotate(90,[0,1,0... | glb/cad_34b9b3f12494.glb |
Create two identical laptop stand supports. Each support is constructed from a single continuous strip of material with a uniform thickness of 3mm and a height of 30mm.
The strip is bent into a triangular profile. Start with a horizontal base segment 152mm long. From this base, create a vertical segment 142mm long th... | LA = 210;
AL = 142;
BA = 152;
TI = 003;
WD = 30;
RA = 43;
AJ=-0.8;
rotate(-90,[0,0,1])
translate([0,0,0]) {
color("green")
rotate(90,[0,1,0])
rotate(270,[0,0,1])
rotate(90,[0,1,0])
translate([BA,-2,WD]) color([0,1,0])
rotate([0,-180,0])
bend(d1=BA,d2=3,r=2,w=TI,a=90,h=WD);
color("green")
rotate(90,[0,1,0]... | glb/cad_0dfbd69b3819.glb |
Create a laptop stand consisting of a single continuous thin strip of material with a uniform thickness of 1mm and a height of 10mm. The stand is formed by three straight sections connected by rounded bends with an inner radius of 2mm.
The first section is a horizontal base 152mm long. From this base, create a second... | LA = 210;
AL = 142;
BA = 152;
TI = 003;
WD = 1;
RA = 43;
AJ=-0.8;
color ("blue") {
translate([BA,-2,WD])
rotate([0,-180,0])
bend(d1=BA,d2=3,r=2,w=TI,a=90,h=WD);
translate([BA,-AL+9,0])
rotate([0,0,-RA+180])
bend(d1=3,d2=AL-14,r=2,w=TI,a=90-RA,h=WD);
translate([-AJ,-AJ-3+0.6,0]) color([0,1,0])
rotate([0,0,-RA... | glb/cad_8dede47e7df7.glb |
Create a Nema14 Kuehling-Wades Extruder consisting of a main extruder body and a separate idler arm.
Construct the extruder body as a block 24mm wide, 55mm high, and 28mm deep. Add a base plate 70mm long and 7mm thick with a 25mm lead-out. Incorporate a motor mount for a NEMA 14 stepper, featuring a hole spacing of 2... | include<configuration.scad>
include<jonaskuehling-default.scad>
malcolm_hotend_mount=1;
groovemount=2;
peek_reprapsource_mount=4;
arcol_mount=8;
mendel_parts_v6_mount=16;
grrf_peek_mount=32;
wildseyed_mount=64;
geared_extruder_nozzle=128;
jhead_mount=256;
reprapfaborg_mount=512;
elevation=4;
extra_gear_separation=2;... | glb/cad_5d2d07ca682d.glb |
Create a parametric pipe system for a pan flute. The basic pipe unit is a hollow cylinder with an inner radius of 6mm and a wall thickness of 2mm, resulting in an outer radius of 8mm. The standard pipe length is 50mm.
To allow the pipes to be joined, create a connecting lip. This lip is a ring with an inner radius of ... | e=0.02;
xaxis=[1,0,0];
yaxis=[0,1,0];
zaxis=[0,0,1];
dxmin=1;
l=50;
r=12/2;
w=2*dxmin;
hlip=4;
wlip=1*dxmin;
wslip=.2;
hcap=3;
dxbed=5;
dx=2*(r+w)+dxbed;
l_c=160;
module SimplePipe(l=l,r=r){
render()
difference(){
cylinder(l,r+w,r+w);
translate(-e*zaxis)cylinder(l+2*e,r,r);
}
}
module Lip(r=r){
co... | glb/cad_cff21bb1dc05.glb |
Create a Cube with frames for holding removable panels. Start by creating a solid outer cube with a total side length of 50mm. From the center of each of the six faces, remove a square prism that is 40mm wide and 40mm deep, extending from the face toward the center of the cube. This leaves a central core and six walls,... | base_cube_offset = 10;
indent_ratio = 0.92;
slot_size = 40;
module base_cube() {
real_cube_size = slot_size+base_cube_offset;
translate([-real_cube_size/2,-real_cube_size/2,-real_cube_size/2])
difference() {
difference() {
difference() {
cube(real_cube_size);
... | glb/cad_307a55e5a382.glb |
Create a grid of drawer dividers with a total footprint of 50.8mm by 50.8mm and a height of 12.7mm. The grid is formed by four parallel walls running along the width and four parallel walls running along the depth, all with a thickness of 0.5mm. Space the row dividers equally so there are five gaps of 10.16mm between t... | height=12.7;
width=50.8;
depth=50.8;
row_dividers=4;
column_dividers=4;
fillet_diam=1.5;
wall_thickness=0.5;
ff=0.001*1;
union()
{
for(j = [0:row_dividers - 1])
{
translate([0,(depth/(row_dividers+1))+j*(depth/(row_dividers+1)),0]) cube([width,wall_thickness,height]);
}
for(k = [0:column_dividers - 1])
{
r... | glb/cad_fd9664594a2e.glb |
Create a mounting bracket for an HC-SR04 ultrasonic sensor. Start with a rectangular base measuring 25mm wide, 20mm deep, and 3mm thick. Centered on this base, remove two cylindrical holes with a radius of 8.75mm each, positioned 17.1mm apart from center to center along the width, with the centers of the holes located ... | module hole(x, y, rot, size, facet) {
rotate(a = rot, v = [1, 0, 0]) {
translate([x, y, 0]) {
cylinder(r = size, h = 100, center = true, $fn=facet);
}
}
}
difference() {
union() {
difference () {
translate([-25/2, -20/2, 0]) cube([25,20,3]);
hole(-(5.4+8.5), 3,... | glb/cad_1ef5868b7b8e.glb |
Create a storage box for electronic components. Start with a solid rectangular outer shell measuring 26mm wide, 64mm deep, and 19mm high. Hollow out the center of this shell by removing a rectangular block 22mm wide, 60mm deep, and 17mm high, leaving a wall thickness of 2mm on all sides. The top of the box remains open... | case_x = 22;
case_y = 60;
case_z = 17;
thick = 2;
rayon=case_x/2-2;
difference() {
cube([case_x+2*thick,case_y+2*thick,case_z+thick]);
translate([thick,thick,thick]) {
cube([case_x,case_y,case_z+10]);
}
translate([case_x/2+thick,2*thick,case_z+thick]) {
rotate([90,0,0]) {
cylinder(r=rayon,h=4*thick,$fn=50)... | glb/cad_2b1f145162ab.glb |
Create a storage unit for electronic components consisting of five stacked open-ended shells. Each individual shell has outer dimensions of 30.2mm in width, 23.2mm in depth, and 65.6mm in height, with a wall thickness of 1.6mm. The shells are hollowed out to create a rectangular cavity of 27mm by 20mm by 64mm.
For th... | case_x = 27;
case_y = 20;
case_z = 64;
thick = 1.6;
module case(top=false,bottom=false) {
difference() {
cube([case_x+2*thick,case_y+2*thick,case_z+thick]);
translate([thick,thick,thick]) {
cube([case_x,case_y,case_z+10]);
}
translate([thick,case_y/2,-thick]) {
cube([case_x,case_y/2+thick,10]);
}
i... | glb/cad_c0210ab5a1f3.glb |
Create a Parametric Eurorack Rail by starting with a solid rectangular base measuring 11mm in height, 47.85mm in depth, and 279.36mm in length.
Carve a central vertical channel through the entire length of the rail to accommodate sliding nuts. This channel consists of two combined rectangular voids: a primary gap 3.4... | railHp = 54;
hp = 5.08;
slidingNutHeight = 5.4;
slidingNutThickness = 2.4;
slidingNutMargin = .2;
railGapHeight = 3.4;
railFrontThickness = 2.25;
railBackThickness = 45;
railHeight = 11;
railMargin = 0;
bracketNutHeight = 9.8;
bracketNutThickness = 4.6;
bracketNutInset = 8;
bracketNutMargin =.35;
bracketScrewHo... | glb/cad_1e1902499af7.glb |
Create a basic humanoid miniature standing on a circular base. Start with a flat circular base 20mm in diameter and 2mm thick.
Construct the legs using 20-facet cylinders with a 3mm diameter. Position the left leg starting from the base at x=-3, extending upward. Create a left shin 7mm long angled at 20 degrees, a lef... | head_height = 27;
cylinder(h=2, d=20);
translate([-3,-1,1]) rotate([20,0,0]) cylinder(h=7, d=3, $fn=20);
translate([-3,-3.5,7.7]) sphere(1.5, $fn=20);
translate([-3,-3.5,8]) rotate([-30,0,0]) cylinder(h=7, d=3, $fn=20);
translate([-3,-2.5,2]) rotate([0,90,0]) cylinder(h=2.5, d=3, $fn=20,center=true);
translate([3,2.... | glb/cad_dab0aa9362f7.glb |
Create a parametric case for an Adafruit Trellis consisting of a top cover and a bottom base.
For the top cover, create a rectangular slab 68mm wide, 104mm deep, and 11mm high. Hollow out the center to create a walls-and-floor structure with a 2mm border. In the top face, create a 4x8 grid of square button cutouts. E... | Trellis();
module Trellis($fn=100) {
buttonSize = 11;
buttonSpace = 4;
borderWidthX = 2;
borderWidthY = 12;
height = 11;
thickness = 5;
buttonHeight = 10;
space = 10;
x=4;
y=8;
difference() {
Top(buttonSize - buttonSpace + x*(buttonSpace+buttonSize), buttonSize -... | glb/cad_5b54304d8a36.glb |
Create a Novo Sublimette sleeve by constructing a hollow cylinder centered on the origin. The main body should have an outer radius of 74.308mm (the sum of a 73.8mm base radius and a 0.508mm wall width) and a total height of 144mm. To create the hollow interior, remove a concentric cylinder with a radius of 73.8mm and ... | module sleeverecord()
{
difference(){
intersection(){
difference(){
union(){
rotate(0, [0, 0, 0]) translate([0, 0, 0]) cylinder(h = 144, r = outerrad+width, $fs = 2, $fa = 2, center = true);
rotate(30, [93, 40, 3]) translate([46, 5, 4]) cylinder(h = 3, r =200);
rotate(45, [40, 12, 3]) translate([46, 5, 4]) cylinder... | glb/cad_0bb45317167e.glb |
Create a Magnet/Pin Capillary Holder. Start with a central base that is a combination of a cylinder and a rectangular block. The base has a total height of 8.6mm (7.4mm plus a 1.2mm gap). Within this base, create a vertical hole starting from the bottom with a radius of 1.75mm and a height of 3.9mm, which then widens i... | SizeOfNozzle = 0.4;
Embedded = true;
Groove = true;
TotalFrameWidth = 52;
TotalFrameHeight = 78.2;
ColumnWidth = 3.5;
FrameThicknessInLayers = 3;
$fn = 36;
MagnetShellRadius = 4.7;
MagnetShellRadiusTol = 0;
MagnetStemRadius = 1.75;
MagnetStemRadiusTol = 0.2;
MagnetTotalHeight = 7.4;
MagnetThickness = 3.5;
MagnetThic... | glb/cad_a9b3ace1cb08.glb |
Create a customizable guitar nut. Start with a rectangular base block that is 8mm long, 43mm wide, and 6mm deep. Modify the top face of this block by cutting away a section at a 10-degree angle to create a beveled top edge.
Carve six string slots into the top surface. Each slot begins as a cylindrical hole with a 60-f... | String_Count = 6;
Nut_Width = 43;
Nut_Height_Padding = 2;
Nut_Depth = 6;
String_Angle = 20;
String_Width_1 = 1.25;
String_Width_2 = 1.15;
String_Width_3 = 0.85;
String_Width_4 = 0.60;
String_Width_5 = 0.45;
String_Width_6 = 0.40;
String_Width_7 = 0.35;
String_Width_8 = 0.30;
String_Spacing = (Nut_Width / S... | glb/cad_23a9b4819553.glb |
Create a lockable cuff consisting of two symmetrical halves. Each half is based on a semi-circular ring with an inner diameter of 75mm, a wall thickness of 7mm, and a total height of 25mm. The outer edges of the ring should have a 2mm chamfer.
At one end of the cuff, integrate a hinge mechanism. The hinge consists of ... | inner_d = 75;
thickness = 7;
height = 25;
chamfer = 2;
cuff_gap = 0.5;
hinge_gap = 0.5;
hinge_height = 21.5;
pin_dia = 6.4;
pin_head = 10;
shackle_dia = 8.4;
shackle_offset = 1;
shackle_hasp_thickness = 5;
shackle_hasp_height = 8;
pin_hinge_thickness=4;
hinge_diameter = pin_dia + pin_hinge_thickness * 2;
h... | glb/cad_e3b6b5afc93e.glb |
Create an M3 screw mount for an Airtripper v3 extruder. Start with a central rectangular base measuring 74mm by 20mm with a thickness of 3mm. At the center of the base, create a rectangular protrusion measuring 30mm by 14mm with a height of 3mm, positioned so it extends from the center.
Remove material to create four... | include <configuration.scad>;
difference(){
union(){
translate([7,0,0])rotate([0,0,90])cube([30,14,3]);
difference(){
translate([0,0,1.5])cube([74,20,3], center=true);
translate([-36,10,1.5])rotate([0,0,45])cube([13,10,4], center=true);
translate([-36,-10,1.5])rotate([0,0,-45])cube([13,10,4], center=true);
translate([... | glb/cad_5fc545ebbc51.glb |
Create a customizable tool handle with a total length of 100mm and an outer diameter of 16mm. Start by adding a cylindrical base with a diameter of 20mm and a height of 3mm. On top of this base, create a cylinder of the main outer diameter (16mm) that extends to the full length of the handle. Apply a 2mm chamfer to the... | length = 100;
od = 16;
id = 7.6;
bottom_thickness = 5;
knurl_depth = 1;
base_dia = 20;
base_height = 3;
top_chamfer = 2;
base_chamfer = 2;
$fn = 48;
module chamfer_cut(major, minor){
rotate_extrude(angle=360)
translate([major,0,0])
rotate([0,0,180])
difference(){
square([minor,minor]);
... | glb/cad_f8ed8cf99da1.glb |
Create a rectangular spacer for a 20x4 LCD screen. Start with a solid rectangular base measuring 60mm wide, 108mm long, and 6mm thick. Center a rectangular cutout through the thickness of the base that is 41mm wide and 98mm long.
Add eight vertical cylindrical holes, each 2mm in diameter and 10mm deep, passing throug... | difference(){
cube([60,98+10,6],true);
cube([41,98,6],true);
LCD_holes();
mounting_holes();
translate([24,-42,0.5]) cube([6,42,3]);
}
module LCD_holes(){
$fn=40;
translate([27.5,46.5,-6]) cylinder(h=10,r=1);
translate([-27.5,-46.5,-6]) cylinder(h=10,r=1);
translate([-27.5,46.5,-6]) cylinder(h=10,r=1);
translate(... | glb/cad_69ed6ad1b5a9.glb |
Create a Lego Technic axle and pin connector beam with three holes. The main body is a rectangular beam with a height of 7.8mm, a width of 7.5mm, and a length of 16mm (based on a pitch of 8mm between holes).
The beam consists of three vertical cylindrical holes spaced 8mm apart. Each hole is created by removing two c... | $fn=40;
eps = 0.05*1;
NrOfHoles = 3;
Pitch = 8*1;
Radius1 = 4.8 / 2;
Radius2 = 6.1 / 2;
Height = 7.8*1;
Depth = 0.8*1;
Width = 7.5*1;
MidThickness = 2*1;
MiniCubeOffset = 1.1*1;
MiniCubeWidth = Radius1 - MiniCubeOffset;
CrossInnerRadius = 1.5*1;
drawBeam();
translate([Pitch*(NrOfHoles/2-1),-Width/2,0])rotate([90,0,... | glb/cad_b4dd0acea54c.glb |
Create a Math Formula Keychain by extruding a mathematical equation into a 3D shape. The base of the model is a flat plate with a thickness of 10mm. On the top surface of this plate, create raised geometric text representing the formula $x^2+(y-\sqrt[3]{x^2})^2=1$.
The characters and symbols should be extruded to a h... | fudge = 0.1;
module poly_path3637(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-99.767124,30.449409],[-99.767124,30.428149],[-99.767124,30.396259],[-99.767124,30.385629],[-99.767124,30.364369],[-99.777753,30.353739],[-99.777753,30.332480],[-99.788383,30.321850],[-99.788... | glb/cad_9ff8f51b0be9.glb |
Create a fan grill consisting of a flat square frame and an integrated honeycomb mesh.
First, construct the main frame as a square plate with an edge length of 40mm and a thickness of 2mm. Center a circular hole with a diameter of 36mm through the middle of the plate. At each of the four corners, create a circular sc... | thickness = 2;
edgeLength = 40;
roundCorners = 1;
screwHolesDistance = 4;
screwHolesDiameter = 3;
grillThickness = 1.2;
grillHoleDiameter = 36;
grillPattern = 2;
patternAngle = 0;
grillPatternElementsInRow = 6;
grillPatternElementsDistance = 1;
$fa = 1;
$fs = 0.5;
frame();
grill();
module frame()
{
linear_ex... | glb/cad_d2a3ebb67a33.glb |
Create a Customizable Better Temperature Tower consisting of a base plate and a series of stacked tower blocks. Start with a rectangular base plate measuring 46mm x 14mm x 1.5mm.
Construct the tower by repeating a vertical unit. Each unit begins with a centered pedestal measuring 6mm x 6mm x 1mm, topped by a centered... | X=+0; Y=+1; Z=+2;
initial_temperature = 280;
final_temperature = 210;
temperature_step = -5;
number_of_blocks = 0;
base = [46, 14, 1.5];
pedestal = [6, 6, 1];
block = [8, 8, 6];
tower_x_distance = 16*2;
overhang_l_x = 3;
overhang_r_x = 5;
overhang_z_top = -2.394;
overhang_z = 3;
bridge_l_gap = 1;
bridge_r... | glb/cad_d48c3e135a53.glb |
Create a Magnet Grabber by designing a base body and removing specific internal volumes. Start with a solid shape formed by the convex hull of two cylinders, each with a radius of 7mm and a height of 7mm, positioned 30mm apart along the X-axis. From this solid, remove a central rectangular cavity measuring 25mm by 10mm... | magnetX = 25;
magnetY = 10;
magnetZ = 5;
screwR1 = 2;
screwR2 = 4.75;
counterSinkZ = 3;
cover = 0.3;
wall = 2;
rad = magnetY/2;
bit = 1;
module bitPos(){
hull(){
for (i = [-1,1]){
translate([i * (magnetX/2 + rad),0,0]) cylinder(r = rad + wall,h = magnetZ + cover, $fn = 180);
}
}
... | glb/cad_af4ef4a64097.glb |
Create a Cisco DTA 170HD tuner TV mount. Start by constructing a main hollow case with a wall thickness of 3mm, an overall depth of 121mm, a width of 98mm, and a height of 33mm.
On the side walls, create ten circular vent holes with a radius of 7.5mm; place five on each side, distributed symmetrically. On the front w... | wall = 3;
height = 27 + 3*wall;
depth = 115 + 2*wall;
width = 92 + 2*wall;
side_vent_h = 68;
side_vent_w = 15;
front_port_h = 11;
front_port_w = 50;
screw3 = 3.5;
screw2 = 2.6;
dta();
module dta()
{
difference() {
case();
cutout();
barmount();
}
clamp_bars();
translate([40,-55,0]) mount();
translate([-40,... | glb/cad_f82c07907f73.glb |
Create a Motorcycle Headlight Bracket consisting of two mirrored symmetrical halves. Each half is built around a central semi-cylindrical mount designed to fit a 55mm diameter fork tube.
The main body of each bracket is 5mm thick. The mount section features a semi-circular cutout with a 27.5mm radius to accommodate t... | $fn=80;
bracket_shiny_side_out = false;
bracket_thick = 5;
washer = 0;
fork_out_dia=55;
tweak=2;
ridge=0.35;
length=90;
inset_length=.75;
shift_inset=10;
outer_end=15;
end_hole=9.5;
fork_end_w=70;
fork_end_h=20;
hole=4.2;
head=15;
tab_w=10;
tab_h=12;
tab_r=45;
module round_inset() {
translate([((leng... | glb/cad_e609745314c0.glb |
Create a beat whistle for kids. The main body is a flat, elongated shell with a total height of 8mm. The outer profile is a rounded rectangle with a length of approximately 46.6mm and a width of 11mm. At the right end, integrate a circular loop for a lanyard, created by a cylinder with a radius of 4mm and a central hol... | xw=0.20;
gw=1.5;
hw=4;
hh=4;
cl=[26.6,25];
ml=20;
clMax=(cl[0]>cl[1])?cl[0]:cl[1];
clMin=(cl[0]>cl[1])?cl[1]:cl[0];
difference(){
color("blue") minkowski(){
translate([0,0,gw/2]) linear_extrude(height=hh+gw){
hull(){
translate([clMax,-gw,0]) square(gw, center=true);
... | glb/cad_f7e549bbd8c9.glb |
Create a customizable paperclip consisting of a flat base and an embossed text element. The main body is a flat plate with a height of 2mm. The overall shape is a stadium-like capsule formed by two semi-circles with a radius of 10mm connected by a central rectangular section. The total length of the clip is determined ... | use <write/Write.scad>
createWhat = 3;
clipWidth = 20;
clipHeight = 2;
outerWidth = 5;
tongueWidth = clipWidth/2;
string1 = "My Clip";
fontWidth = 1.0;
fontPercent = 0.75;
fontSize = tongueWidth * fontPercent;
fudge = 0.1*1;
{
clipLength = 25+7*len(string1)*fontPercent;
if (createWhat==1 || createWhat==3)... | glb/cad_cf9c36165fbd.glb |
Create a vertical single-wall test cylinder with an outer diameter of 30mm and a total height of 110mm. The cylinder must have a uniform wall thickness of 0.5mm. To achieve this, construct a solid cylinder 30mm in diameter and 110mm tall, then remove a concentric inner cylinder with a diameter of 29mm and a height that... | $fn=90;
diam=30;
height=110;
thick=0.5;
cylinder(d=diam, h=thick);
difference() {
cylinder(d=diam, h=height);
translate([0, 0, -thick])
cylinder(d=diam-(2*thick), h=height+(2*thick));
} | glb/cad_27bd4e01fc03.glb |
Create a camping gas knob as a tapered cylinder with a height of 16mm, a bottom radius of 13.1mm, and a top radius of 11.1mm. Smooth the top edge with a 1.5mm radius fillet.
At the center of the base, create a vertical shaft hole with a radius of 3mm and a height of 12mm. Modify this hole to have a flat side 6mm wide ... | knob_radius_top = 22.2/2;
knob_radius_bottom = 26.2/2;
knob_height = 16;
knob_smoothness = 120;
shaft_radius = 6/2;
shaft_height = 12;
shaft_smoothness = 120;
shaft_is_flatted = true;
flat_size_adjustment = -0.0;
flat_size = 6;
set_screw = true;
set_screw_radius = 1.5;
set_screw_depth = 12;
set_screw_height = 4;
qu... | glb/cad_1c85060d298a.glb |
Create a customizable spool adapter by constructing a thick hollow cylinder with a height of 10mm. The main body should have an outer diameter of 53.5mm and a centered inner hole with a diameter of 21mm.
To finish the part, remove eight smaller cylindrical holes from the main body. These eight holes should each have ... | echo(version=version());
centerPinDiameter = 20.0;
spoolHoleDiameter = 53.7;
thickness = 10;
centerPinDiameterClearance = 1.0*1;
spoolHoleDiameterClearance = 0.2*1;
holeDiameter = centerPinDiameter + centerPinDiameterClearance;
outerDiameter = spoolHoleDiameter - spoolHoleDiameterClearance;
smallHolesCount = 8;
sma... | glb/cad_79ef711662c3.glb |
Create an i3 universal x-carriage for a 24-30 mm extruder mount. Start with a base consisting of two bearing holders: one small holder at the front and one long holder positioned 45 mm behind it, both oriented horizontally. Connect these with a base plate measuring 33 by 68 mm with a height of 7 mm, and add a central r... | use <inc/bearing.scad>
module x_carriage_base() {
translate([-33/2,0,0]) rotate([0,0,90]) horizontal_bearing_base(1);
translate([-33/2,45,0]) rotate([0,0,90]) horizontal_bearing_base(2);
translate([-33,-11.5,0]) cube([33,68,7]);
translate([-33-4,19,0]) cube([33+4*2,16,7]);
translate([-33,19,0]) cube([33,... | glb/cad_6416d5447fe2.glb |
Create a Raspberry Pi Case with GPIO access. The main body is a hollow rectangular box with rounded corners, measuring 61mm in width, 91mm in length, and 21.7mm in height, with a wall thickness of 2mm.
The case is split into a top and bottom shell. The bottom shell is a shallow tray designed to hold the PCB, featurin... | DRAWfull = 1;
DRAWtop = 0;
DRAWbottom = 0;
DRAWtopinlet = 0;
DRAWbottominlet = 0;
DRAWpcb = 1;
topframe = false;
topinlet = false;
topholes = false;
holeofs=5;
holesiz=2.5;
holestep=6;
noholes=12;
holelen=30;
holeangle1=[0,0, 0];
topmiddle = false;
toplogo = true;
toplogo... | glb/cad_2dcbb80000e5.glb |
Create a jar lid by starting with a solid cylinder that has an external radius of 28mm and a height of 10mm. Remove a concentric inner cylinder with a radius of 26.25mm and a height of 10mm, but leave a 1mm thick base at the bottom so the center is hollowed out. On the top surface of the lid, create four small circular... | $fn=150;
external_radius=28;
internal_radius=26.25;
half_c_distance_plus_seven_point_five=32.25;
content="THYME";
font="Arial";
font_size=8;
x=-18;
y=-4;
difference() {
cylinder (r=external_radius,h=10);
translate ([0,0,1])
cylinder (r=internal_radius,h=10);
rotate ([180,0,0])
translate ([x,y,-0.4])... | glb/cad_94d3b557476b.glb |
Create a Reich Band Saw Replacement part by starting with a solid rectangular block measuring 73.1mm in length, 33.5mm in width, and 7.6mm in height. Centered along the width of the block, carve out a rectangular slot that is 3.0mm wide and 35.0mm long, extending through the entire 7.6mm thickness of the part. Position... | rotate([0,90,0]){
difference(){
cube([73.1,33.5,7.6]);
translate([0,16.75-1.5,0])
cube([35.0,3.0,7.6]);
}
} | glb/cad_eb56fa3f03ad.glb |
Create a Corner Bracket designed as a reinforced right-angle support. Start with a main vertical corner block that is a cube measuring 20mm x 20mm x 50mm. Hollow out the center of this block by removing a smaller cube from the inner corner, leaving a wall thickness of 7mm on the two outer faces.
Extend two flat plates... | $size = 20;
$wall = 7;
$hight = 50;
$hight = 50;
$screw_diameter = 4;
$plate = 2.2;
inner_cube = true;
$screwdistance = 8;
$plateLengt = 20;
$screwsize = $screw_diameter/2;
union() {
difference() {
cube([$size,$size,$hight]);
if (inner_cube) translate ([$wall,$wall,$wall]) {
c... | glb/cad_2d5fb0e740f0.glb |
Create a DIP IC extractor tool with a total height of 6mm. Start by forming a U-shaped handle base using two parallel arms connected by a semi-circle with an outer diameter of 25mm. Each arm should be 80mm long with a wall thickness of 4mm. The arms should diverge slightly as they extend from the semi-circle, reaching ... | cd=25;
w=4;
l=80;
tip=4;
tipw=3;
h=6;
max_w=28;
ang=asin(((max_w-cd)/2)/l);
echo (ang);
$fn=64;
module tip(){
polygon([[l*cos(ang)+tipw,endp+tipw*sin(ang)],[l*cos(ang),endp-tip-w],[l*cos(ang),endp]]);
}
endp=(cd+l*sin(ang)*2)*0.5;
linear_extrude(h){
difference(){
hull(){
circle(d=cd... | glb/cad_266276c3a75c.glb |
Create a Customizable Grated Tube Cap consisting of a cylindrical lip and a flat circular top. Start by creating a main cylinder with an outer diameter of 25.5mm and a total height of 7mm. Hollow out the center of this cylinder to create a lip that extends 6mm deep, with an inner diameter of 17.15mm (calculated as the ... | inner_diameter = 21.15;
outer_diameter = 25.5;
cap_height = 1;
lip_depth = 6;
mesh_width=0.8;
gap_size=2;
lip_type="inner";
lip_thickness=2;
have_mesh=true;
res = 128;
rotate([180])
if(lip_type=="inner")
{
difference(){
translate([0,0,-lip_depth])
cylinder(d=outer_diameter, h=cap_heigh... | glb/cad_c7eebb94d106.glb |
Create a basic open-top rectangular storage box with outside dimensions of 96mm in width, 103mm in length, and 26.5mm in height. The box should have a uniform wall thickness of 1.5mm for the sides and the bottom. To achieve this, start with a solid rectangular prism of the full outside dimensions and remove a smaller r... | L = 103;
W = 96;
H = 26.5;
T = 1.5;
difference() {
cube([W,L,H],true);
translate([0,0,(T)]) cube([(W-2*T),(L-2*T),(H)],true);
} | glb/cad_0892ac9cedf7.glb |
Create a customizable pen case for a ballpoint pen. The main body is a hollow cylinder with an outer radius of 4mm and a height of 124mm. Inside this body, create a concentric hole with a radius of 2.2mm and a height of 125mm to accommodate the pen. At the top of the body, add a tapered cap section that transitions fro... | use <Write.scad>
Type_of_pen="inBall";
cap="no";
pen="yes";
Write_here_your_name="Alvaro";
Font="knewave.dxf";
Name_size=7;
Font_thickness=1.9;
Distance_to_bottom=5;
Spacing=1.2;
Left_or_right_handed="Right handed";
q = len(Write_here_your_name);
if (Type_of_pen=="Classic") {
if(pen=="yes"){
pen(6,50);
hand(... | glb/cad_c5407b169334.glb |
Create a Mobius heart by constructing a continuous, twisting strip that follows a heart-shaped path. The center path of the strip is defined by the parametric equations x = 16 * sin(t)^3 and y = 13 * cos(t) - 5 * cos(2t) - 2 * cos(3t) - cos(4t), with the z-axis offset by 5 * sin(2t).
The strip has a constant width of... | Radius = 20;
Width = 7;
Thickness=1.2;
Halftwist=1;
Start=90;
Step = 2;
function f(t) =
[ 16*pow(sin(t),3),
13*cos(t)-5*cos(2*t)-2*cos(3*t)-cos(4*t),
5*sin(2*t)
];
module mobius_strip(radius,width,thickness,step=3, halftwist=3,start=90) {
for (i = [0:step:360])
hull() {
translate(f(i))
... | glb/cad_0fe718e6aec9.glb |
Create a Simple Parametric Sponge Holder by starting with a base cylinder of radius 85mm and height 5mm, which is then resized to a total length of 120mm and width of 85mm to form an ovaloid slab. Carve a large elliptical void out of the center of this slab, starting from a height of 5mm and extending upwards, leaving ... | thick = 5;
length = 120;
width = 85;
extrude_h = 8;
text_sizeX = 110;
text_sizeY = 49;
font = "arial";
gap_spacing = 4;
difference(){
resize([length,width,thick+extrude_h]){
cylinder( r = width, h = thick );
}
translate([0,0,thick]){
scale([0.9,0.9,2]){
resize([length,width,thick... | glb/cad_f66285c5189c.glb |
Create a tin can model with a total height of 130mm and a diameter of 80mm. The main body is a cylinder with a 48-facet resolution. At the top and bottom faces, add a rim created by extruding a 4mm diameter circle around the perimeter, scaled to 0.5mm in thickness. Inside these rims, add two additional concentric rings... | cd=80;
ch=130;
crh=4;
rbh=20;
difference(){
union(){
cylinder(d=cd, h=ch, $fn=48);
for(zp=[rbh:crh*2:ch-rbh]){
translate([0,0,zp])
rotate_extrude($fn=48) translate([cd/2,0]) scale([0.25,1]) circle(d=crh, $fn=8);
}
}
for(zp=[(rbh+crh):crh*2:ch-rbh]){
... | glb/cad_e246ab2b3982.glb |
Create a Customizable Retro Lightbox consisting of three main components: a main box, a sliding lid, and character plates.
First, construct the main box as a hollow rectangular shell with outer dimensions of 210mm width, 160mm height, and 30mm depth. The walls should be 1.92mm thick. On the back panel, center a circul... | part = "all_parts__";
lightbox_width_in_millimeter = 210.0;
lightbox_height_in_millimeter = 160.0;
lightbox_depth_in_millimeter = 30.0;
box_thickness_in_millimeter = 1.92;
lid_thickness_in_millimeter = 0.6;
plate_thickness_in_millimeter = 2;
font = "siren";
number_of_sections = 4;
insert_hole_diameter_in_milli... | glb/cad_496caa379c8d.glb |
Create a Test custom model by combining a central sphere with four small cubes. Position a sphere with a radius of 25mm at the coordinates (25, 25, 25). Then, place four cubes, each measuring 5mm on all sides, at the following positions: one at (-2, -2, -2), one at (47, -2, -2), one at (-2, 47, -2), and one at (47, 47,... | size = 1;
union() scale(size) rotate([0, 0, 0]) translate([0, 0, 0,]) {
translate([25, 25, 25]) {
sphere(25);
}
%cube(50);
translate([-2, -2, -2]) {
cube(5);
} translate([47, -2, -2]) {
cube(5);
} translate([-2, 47, -2]) {
cube(5);
} translate([47, 47, -2]) {
cube(5);
}
} | glb/cad_091a1bbd0115.glb |
Create a set of adjustable feet for a printer, consisting of four main bracket blocks and four circular pads.
For the brackets, create two left-oriented and two right-oriented blocks. Each block is based on a 32mm x 32mm x 10mm base cube with an additional 23.5mm x 23.5mm x 10mm cube stacked on top, offset to one sid... | nut_radius = 10;
nut_height = 8.3;
nut_flats = 17;
bolt_radius = 5;
module left_foot() {
difference () {
union() {
cube([32,32,10]);
translate([8.5,8.5,10]) cube([23.5,23.5,10]);
}
translate([3,0,4]) cube([5.5,34,15]);
translate([3,3,4]) cube([34,5.5,15]);
translate([20,20,-1]) cyli... | glb/cad_ac057c94ae61.glb |
Create an orchid flower pot that is 100mm tall with a wall thickness of 3mm. The pot should be a truncated cone with a base diameter of 50mm and a top diameter of 80mm. The top of the pot features a thickened rim that is 16.67mm high.
Hollow out the center of the pot, leaving the 3mm walls and a base. In the base, cre... | is_orchid = 1;
height = 100;
thickness = 3;
top_diameter = 80;
base_diameter = 50;
slot_columns = 8;
slot_rows = 3;
slot_height_adjust = 2;
slot_width_adjust = 12;
frac = 1/6;
slot_height = (1 - frac) * height / (slot_rows + slot_height_adjust);
slot_width = 3.1416 * base_diameter / (slot_columns + slot_width... | glb/cad_9b9acd7cf23b.glb |
Create a drill jig for Rostock plywood parts with a total height of 4mm. The main body is based on an equilateral triangle with a circumradius of approximately 151.5mm. Construct the primary shape by intersecting a 3-sided prism (triangular cylinder) with a radius of 151.5mm and a height of 4mm with a central rectangul... | radius = 175;
radius2 = radius/cos(30);
radius3 = radius2/cos(30)/2;
radius4 = radius3*0.37;
h=4;
module jig() {
difference() {
union() {
difference() {
intersection() {
rotate([0, 0, 30])
cylinder(r=radius3, h=h, center=true, $fn=3);
cube([radius, 300, 20], center=true);
}
intersection() {
... | glb/cad_8788ea85106b.glb |
Create a medical cabinet glass handle holder with a total length of 5mm. The main body is a rectangular block measuring 5mm in length, 12.5mm in width, and 8.5mm in height.
From this main block, remove a central rectangular channel to accommodate the glass, measuring 5mm in length, 10.2mm in width, and 3.2mm in heigh... | $fn = 50;
left_mod=false;
length = 5;
module innercut1st(){
cube([length,10.2,3.2], center=false);
cube([length,9.5,6.25], center=false);
translate([0,1.5,5])
cube([length,13,3], center=false);
translate([0,10.6,-2.5])
rotate([45,0,0])
cube([length,3,1], center=false);
}
module 1st(){
color("Green",0.5){
... | glb/cad_a40b1ef6fde2.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.