Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Customizable Poker Chip Rack consisting of three parallel rows. Each row is based on a cylinder with a radius of 11mm and a length of 71mm, oriented horizontally.
For each row, start with an outer cylinder of radius 13mm and length 75mm. From this, remove a central cylinder of radius 11mm and length 71mm to ... | Chip_Diameter = 20;
Chip_Thickness = 3.35;
Number_of_Chips = 20;
Number_of_Rows = 3;
Rack_Thickness = 2;
Fudge = 1;
$fn = 96*1;
radius = Chip_Diameter/2 + Fudge;
height = Chip_Thickness*Number_of_Chips + Fudge;
thickness = Rack_Thickness*1;
rows = Number_of_Rows*1;
shift = 2*1;
for (i = [1:1:rows]){
translate([... | glb/cad_a766f6dbd9bf.glb |
Create an ice cream mold by constructing a hollow rectangular prism. Start with a solid outer rectangular block that is 52mm wide, 17mm deep, and 80mm high. From this volume, remove a smaller internal rectangular block to create a cavity. This internal cutout should be 48mm wide, 13mm deep, and 81mm high, positioned so... | difference()
{
difference()
{
translate([-25,-8.5,0]) cube(size = [52,17,80], center = false);
translate([-23,-6.5,2]) cube(size = [48,13,81], center = false);
}
} | glb/cad_56877f66b255.glb |
Create an Ice Cream Mold cap by starting with a rectangular base measuring 50mm in length, 15mm in width, and 4mm in height. Around this base, add a raised outer rim that is 52mm long, 18mm wide, and 3mm high, positioned 2mm above the bottom surface. Inside this rim, carve out a central rectangular void measuring 46mm ... | difference()
{
difference()
{
translate([-25,-7.5,0]) cube(size = [50,15,4], center = false);
difference()
{
translate([-26,-9,2]) cube(size = [52,18,3], center = false);
translate([-23,-5.5,1]) cube(size = [46,11,5], center = false);
}
}
translate([-6,-1.5,-3]) cube(size = [12,3,17], center = fa... | glb/cad_e37fbf558934.glb |
Create a bit adapter consisting of two stacked hexagonal prisms. First, create a base hexagonal prism with a flat-to-flat width of 6.35mm and a height of 2mm. Inside this base, create a hexagonal hole with a flat-to-flat width of 6.35mm and a depth of 10mm, centered and extending vertically through the part. On top of ... | adapter_length = 30;
hole_depth = 10;
hole_wall_thickness = 2;
plug_od = 7.9375;
hole_diameter = 6.35;
clearance = 0.1;
difference() {
union() {
cylinder(h=adapter_length, r=plug_od/sqrt(3) - clearance, $fn = 6);
cylinder(h=hole_depth + hole_wall_thickness, r=hole_diameter/sqrt(3) + clearance + hole_wall_t... | glb/cad_f118fa12c404.glb |
Create a Kossel OpenBeam spool holder consisting of a beam interface and a cylindrical holder arm.
First, construct the beam interface as a block with a height of 37mm. The core is a square with a side length of 15mm plus a 2.5mm wall on each side, with corners smoothed by a 1mm radius. This block features a central ... | beamsize = 15;
beamgapwidth = 3;
beamgapdepth=3;
beam_grip = 0.5;
interface_height = 37;
interface_overlap = beamsize*.85;
interface_smooth = 1;
wall = 2.5;
screw_wall = 3.5;
screw_size = 3.5;
screw_reinforce_radius = 7/2;
screw_low = 6;
screw_mid = interface_height/2;
screw_high = interface_height-6;
holder_leng... | glb/cad_1c33be87bbc3.glb |
Create a Barrel of Octopuses game container. The main body is a barrel with a total height of 30mm, created by rotating a profile that curves from a head radius of 10mm at the top and bottom to a maximum bilge radius of 13mm at the center. The barrel body is faceted with 14 staves.
Add four reinforcing hoops that prot... | translate([0,0,29]) scale(0.15) linear_extrude(file="octo.dxf",height=6.5);
barrelbottom();
module barreltop() {
union() {
difference() {
translate([0,0,height/2]) barrel();
translate([0,0,height/2]) scale(0.9) barrel();
cube(size=[50,50,22], center=true);
}
translate([0,0,10]) difference() {
cylinder(r=12,h=2)... | glb/cad_3c3f08133e62.glb |
Create a customizable basic box with a separate lid. For the main container, start with a solid rectangular block measuring 20mm by 30mm with a height of 20mm. Hollow out the center by removing a rectangular block from the top, leaving walls that are 2mm thick on all sides and a floor that is 2mm thick, resulting in an... | x = 20;
y = 30;
z = 20;
edge = 2;
lipw = edge/2;
liph = 2;
sep = 5;
tol = 0.2;
epsilon = 0.01;
difference()
{
union()
{
translate(v=[0,0,0])
{
cube(size=[x,y,z], center=false);
}
translate(v=[lipw,lipw,0])
... | glb/cad_e3e85afcb3fe.glb |
Create a 3D model of a Penrose Kite and Dart tiling vertex figure. The model consists of two types of tiles: a kite and a dart. Both tiles have a side length of 40mm and a thickness of 5mm.
The kite is a quadrilateral with interior angles of 72, 72, 72, and 144 degrees. The dart is a non-convex quadrilateral with inte... | side = 40;
inset=-0.035;
fig=0;
tab_angle=110;
tab_depth = 0.07;
tab_width = 0.15;
explode=0.3;
height=5;
r1= 2 * cos(72);
p_kite = scale_peri([[r1,144],[r1,72],[1,72],[1,72]],side);
t_kite=peri_to_tile(p_kite);
p_dart = scale_peri([[r1,216],[r1,36],[1,72],[1,36]],side);
t_dart=peri_to_tile(p_dart);
function t... | glb/cad_adee0badd7d5.glb |
Create a Duplo-compatible marble pump component. Start by constructing a base block that follows standard Duplo dimensions for a 2x2 brick with a height of 4 units. This base must include the standard top studs (nibbles) and bottom holes to ensure compatibility with other building blocks.
Centrally integrate a vertica... | include <duplo-block-lib.scad>
module duploMarbleRunBase(width,length,height,topNibbles,bottomHoles)
{
union() {
duplo(width,length,height,topNibbles,bottomHoles);
translate([0,0,3])
cube([width*duploRaster-0.4,length*duploRaster-0.4,duploHeight*height-6],center=true);
}
}
tubeInnerRadius =... | glb/cad_5d60bae89729.glb |
Create a Duplo-compatible marble pump consisting of a base, a vertical tube, a lever, and a drop-block mechanism.
Start with a base plate that features Duplo-compatible studs on top. On this base, center a vertical hollow cylinder with an inner radius of 8.5mm and an outer radius of 10mm, extending 31.8mm high. At th... | use <duplo-block-lib.scad>
quality=50;
marbleRadius = 16/2+0.5;
tubeInnerRadius = marbleRadius + 0;
tubeOuterRadius = tubeInnerRadius + 1.5;
leverAxisX = 50;
w1=8;
inletZ = 18;
module axisHolder( axisZ, screwHole )
{
difference()
{
union()
{
translate([-w1,3,0]) cube([2*w1,3,axisZ]);
translate([0,3,axi... | glb/cad_548c11423c0d.glb |
Create a customizable fan duct consisting of a curved housing, a central support structure, and a connection piece.
First, construct the main cowl by revolving a specific profile around a central axis. The profile is defined by the area between two concentric arcs: an inner curvature of 500mm and an outer curvature o... | cowl_Innerdiameter = 85;
cowl_Thickness = 4;
cowl_Inner_Curvature = 500;
cowl_Outer_Curvature = 150;
cowl_Height = 48;
support_Thickness = 3;
support_Radius = 17;
support_Location = 0;
connection_Length = 40;
build_plate_selector = 3;
build_plate_manual_x = 100;
build_plate_manual_y = 100;
build_plate(build... | glb/cad_05fa2f160afb.glb |
Create a customizable fan duct clamp by constructing a complex geometric intersection. Start with a central block 20mm wide, 30mm deep, and 32mm high, centered on the origin. Integrate this with a larger 20mm by 40mm by 40mm block rotated 45 degrees on the X-axis and positioned at Z -32mm.
Within this combined volume... | $fs=.5;
$fa=1;
module clamp() {
intersection() {
difference() {
union() {
translate([0,0,-32]) {
rotate([45,0,0]) {
difference() {
cube([20,40,40],center=true);
cube([40,36,36],center=true);
}
}
}
difference() {
translate([0,0,-12]) {
cube([20,30,32],cen... | glb/cad_0b168dcd7680.glb |
Create a Customizable Button Housing by constructing a hollowed-out enclosure with a wall thickness of 1.8mm. The main body is based on a square profile of 36mm by 36mm. The front face is modified to have a flat section of 10mm, while the side walls slope away at a 35-degree angle.
The housing is a 3D shell with a tot... | hole_dia=16;
size=36;
front_flat=10;
slope=35;
wall_thickness=1.8;
button_num=1;
dotext=0;
button_1_text="START";
button_2_text="SW-2";
button_3_text="SW-3";
button_4_text="SW-4";
button_text = [
[0, button_1_text],
[1, button_2_text],
[2, button_3_text],
[3, button_4_text],
];
module profile(){... | glb/cad_cea9f48b8cc0.glb |
Create a customizable button housing. The main body is a hollow shell with a wall thickness of 1.8mm. The overall footprint is based on a cube of 36mm.
The front face of the housing is a flat panel 10mm in height. From this flat section, the sides slope backwards at an angle of 35 degrees. The housing is designed to ... | hole_dia=14;
square_hole=14;
hole_shape=1;
size=36;
front_flat=10;
slope=35;
wall_thickness=1.8;
button_num=1;
dotext=0;
button_1_text="START";
button_2_text="SW-2";
button_3_text="SW-3";
button_4_text="SW-4";
button_text = [
[0, button_1_text],
[1, button_2_text],
[2, button_3_text],
[3, button_4_... | glb/cad_3c2ac75b4724.glb |
Create a Radio Shack sign by starting with a rectangular base plate measuring 190.8mm by 185.8mm with a thickness of 2mm. On top of this base, add a surface relief that reproduces the Radio Shack logo. This relief should be scaled to 45% of its original dimensions in the X and Y axes and have a height of 0.05mm. Positi... | translate([0,0,8]) cube([190.8,185.8,2]);
scale([.45, .45, 0.05])
translate([0,0,300]) surface(file = "radioshack4.png", center = false, invert = true); | glb/cad_85a6e3f3b219.glb |
Create a PCB Frame Workbench handle middle piece. Start by creating a central cylinder with a radius of 9.5mm and a height of 20mm, centered on the origin.
Subtract a smaller concentric cylinder from the center with a radius of 3.2mm and a height of 170mm.
Add three perpendicular holes through the main body: create... | single=1;
include <..\libraries\Libs.scad>
module arm(ears=false) {
difference(){
union() {
translate([0,-4,0])rotate([90,0,0])cylinder(r=22,h=8,$fn=50,center=true);
translate([35,0,0])cube([69.5,16,44],center=true);
}
rotate([90,0,0])cylinder(r=11,h=21,$fn=50,center=true);
translate([0,4,0])rotate([90,... | glb/cad_2a0cde0c7158.glb |
Create a SiriusXM mounting clip consisting of a circular base and an extending spring arm. Start with a cylinder 7.5mm in diameter and 2.5mm in height. Centered on top of this cylinder, place a smaller 3.2mm diameter post with a height of 2mm. Adjacent to the post, add a rectangular block 8.2mm wide, 9.6mm long, and 2.... | ringDia=7.5;
ringThi=2.5;
ringGap=2.0;
postDia=3.2;
rotateForPrint=true;
sqWid=8.2;
sqLen=9.6;
thi=2.1;
angle=7;
clipAngle=25;
clipLen=35.7;
clipGap=2.7;
lenToBend=18;
$fn=30;
small=0.01;
module doAll()
{
cylinder(d=ringDia, h=ringThi);
translate([0,0,ringThi-small])
cylinder(d=postDia, h=ringGap+2*sma... | glb/cad_e18a3e342b4a.glb |
Create a microwave oven dial replacement. Start with a circular base plate 44mm in diameter and 1mm thick. On top of this plate, add a chamfered transition layer that tapers from the 44mm base diameter down to 41.8mm over a height of 2.2mm. Above this, build a hemispherical handle with a radius of 22mm, though the over... | timeDialDiam = 44;
keyOuterDiam = 10.0;
keyInnerDiam = 6.2;
keyInnerAcross = 5.3;
keyLength = 12;
epsilon = 0.001;
asymmetric = false;
module key(d,h,a) {
difference() {
cylinder(d=d,h=h);
translate([d/-2,a-d/2,-epsilon])
cube([d+epsilon,d-a+epsilon,h+2*epsilon]);
}
translate([0... | glb/cad_bef103a9327f.glb |
Create a honeycomb grid flash modifier. Start by constructing a thin-walled outer ring with a height of 10mm, following a specific rounded-rectangular profile. Attached to the base of this ring, create a grid section with a depth of 20mm.
Within this 20mm deep section, fill the interior with a honeycomb pattern consis... | wall = .8;
hole = 3;
grid_depth = 20;
ring_depth = 10;
angle_mark = 1;
width = 100;
height = 44;
angle=2*atan((2*(hole-wall))/grid_depth);
echo(str("<b>Grid angle = " ,angle,"</b>"));
union(){
translate([0,0,grid_depth])
linear_extrude(ring_depth){
tt350_outline();}
linear_extrude(grid_depth){
... | glb/cad_97520e78ab42.glb |
Create a Customizable Lattice Box with a solid bottom. Start by creating a solid rectangular block with a length of 200mm, a width of 120mm, and a height of 100mm. Hollow out the center of this block to create a container with walls that are 3mm thick, ensuring the bottom remains solid with a thickness of 3mm.
On the ... | length = 200;
width = 120;
height = 100;
thickness = 3;
holegap = 5;
holesize = 10;
epi = 0.01*1;
gapo = sqrt(2*pow(holegap,2));
holesizeo = sqrt(2*pow(holesize,2));
vl = floor((length-2*thickness)/(gapo+holesizeo));
vh = floor((height-2*thickness)/(gapo+holesizeo));
vw = floor((width-2*thickness)/(gapo+holesizeo));
... | glb/cad_448037d366f4.glb |
Create a Universal Joint Z coupler consisting of three main components: a central core and two outer end pieces.
The central core is a small octagonal prism with a diameter of 6mm and a height of 13.8mm. It features a cylindrical hole running through its center with a diameter of 5.9mm.
The two outer end pieces are ... | pi = 3.141592653589;
sl = 0.5;
print = 1;
motor_shaft_d = 5;
rod_shaft_d = 8;
module crx(size=[1, 1, 1]) {
linear_extrude(height=size[2])
square([size[0], size[1]], center=true);
}
module cyl(r=1, h=1, center=false) {
cylinder(r=r, h=h, center=center, $fn=r * 2 * pi / sl);
}
module cylh(r=1, h=1, center=false... | glb/cad_ae329b5f1a1b.glb |
Create a Customizable Cable Comb designed to organize wires of varying diameters. The model consists of a central rectangular base and two mirrored sets of cable clips.
The central base is a rectangular block with a width of 3mm, a height of 6mm, and a length that spans the total depth of the clips. The corners of thi... | diameters = [5, 4, 3.5, 3];
clips_count = 5;
clips_offset = 1.5;
wall_thickness = 1.5;
height = 6;
base_width = 3;
mirrored = true;
function arr_sum(arr, from, to, sum = 0) = from < to ? arr_sum(arr, from + 1, to, sum + arr[from]) : sum;
module cut2D(d){
translate([d/20,0,0]) translate([d/2,d/2,0]) circle(d = d, $fs... | glb/cad_950b7af21063.glb |
Create a DVD/CD Crane Robot mounting plate. Start by creating a rectangular base plate with dimensions 204.72mm in length, 146.05mm in width, and 41.275mm in height.
Subtract four cylindrical screw holes from the top and bottom faces of the plate. Each hole should have a diameter of 4mm and be positioned at the coord... | print = 1;
include <dvd_crane_grab.scad>
include <../scad_lib/scad_lib.scad>
if(print==0)
{
dvd_drive();
color([1.0, 0.0, 0.0]) translate([0.0, 0.0, 82.55/2]) dvd_drive();
color([1.0, 1.0, 0.0]) translate([0.0, 0.0, 82.55]) dvd_drive();
color([0.0, 1.0, 0.0]) translate([0.0, -3.0, 0.0]) plate(0);
color... | glb/cad_22dfb8eaf509.glb |
Create a pulley for a DVD changing robot. The object consists of two identical circular discs, each 3mm thick, separated by a central cylindrical body. The central body is a cylinder with a radius of 2.83mm and a height of 9mm. Both the top and bottom discs have a radius of 5.83mm. Around the perimeter of the central b... | pulley();
include <../servoarm/servo.scad>
module pulley()
{
tooth_width = 4;
tooth = 2;
wall = 3.0;
teeth=24;
m = 0.05;
degrees_per_slot = (360/(teeth*2));
r = (tooth/2)/sin(degrees_per_slot/2);
a = (tooth/2)/tan(degrees_per_slot/2);
translate([0.0, 0.0, wall*2+tooth_width*2+1]) mirror... | glb/cad_5ca8cc2f25af.glb |
Create a DVD/CD Crane Robot part consisting of a flat rectangular bar with specific cutouts. Start by creating a solid rectangular base measuring 85mm in length, 16mm in width, and 2mm in height. Centered along the length of this bar, add a smaller rectangular section that is 30mm long, 16mm wide, and 2mm high.
To cre... | include <../scad_lib/scad_lib.scad>
wall = 2;
m = 0.05;
bar_l = 85;
bar_w = 16;
wedge_b=5;
wedge_h=20;
spacer_w = 30;
ms_r = 2.25/2 + 0.25;
ms_sep = 8.7-2.25;
difference()
{
union()
{
translate([-bar_l/2, -bar_w/2, 0.0]) cube([bar_l, bar_w, wall]);
tran... | glb/cad_5e6a17598c0d.glb |
Create a DVD/CD Crane Robot part consisting of a central base and two symmetrical end-blocks. Start with a central rectangular base measuring 65mm in length, 10.5mm in width, and 1mm in height. At the center of this base, add a vertical rectangular riser that is 30mm long, 2mm wide, and 10mm high. Cut two large semi-ci... | include <../scad_lib/scad_lib.scad>
wall = 2;
m = 0.05;
bar_l = 85;
bar_w = 15;
lip = 1;
wedge_b=5;
wedge_h=20;
dvd_r = 120.0/2;
translate([-bar_l/2+wedge_b, 0.0, 0.0]) hole();
translate([bar_l/2-wedge_b, 0.0, 0.0]) hole();
t();
module hole()
{
translate([0.0, wall, 0.0]) difference()
{... | glb/cad_23ddd1f7fbe6.glb |
Create a DVD/CD Crane Robot base. Start with a rectangular platform measuring 37mm in width, 22mm in depth, and 3mm in height. Centered on this platform, add a vertical rectangular block that is 13mm wide, 22mm deep, and 20mm high, positioned so its left edge is 13mm from the left edge of the base.
Inside this vertic... | adj=0.25;
slot1 = 15.5-adj;
slot2 = 8.0+adj*2;
slot3 = 5.5-adj;
bar = 32.5+adj*2;
bar_gapped = 30.0;
if(0)
{
cube([slot1, bar+2+2, 2]);
translate([slot1, 0.0, 0.0]) cube([slot2, bar_gapped, 2]);
translate([slot1+slot2, 0.0, 0.0]) cube([slot3, bar+2+2, 2]);
translate([0.0, 0.0, 2.0]) cube([slot1+slot2+slot3, 2, 2]);
%... | glb/cad_bab87ac35767.glb |
Create a 3D model of a Prismatic pentagonal tile with joining tabs. The base shape is a pentagon with a short side length of 30mm. The interior angles of this pentagon are 90, 120, 120, 90, and 120 degrees.
On each of the five edges, add a symmetrical tab. Each tab consists of a protruding section and a corresponding ... | form=1;
side=30;
angle=70;
tab_width = 0.5;
tab_depth= 0.1;
inset=0;
height=10;
function cairo() =
let(r = sqrt(3)-1)
[[r,120],[1,90],[1,120],[1,90],[1,120]];
function prismatic() =
let(r = sqrt(3)-1)
let(t = r*sqrt(3))
[[t,90],[1,120], [r,120],[r,120],[1,90]];
module tabbed_tile(side,peri,... | glb/cad_8a35087f3954.glb |
Create a folding propeller blade based on a NACA4412 airfoil profile. The blade should have a total diameter of 228.6mm (9 inches) and a pitch of 114.3mm (4.5 inches). The maximum chord width is 19mm.
Construct the blade by lofting the airfoil profile across 12 stations along its length, applying a twist to achieve th... | PitchI = 4.5;
DiamI = 9;
PitchM = 0;
DiamM = 0;
MaxChdW = 19;
Statns = 12;
SectRes = 10;
Pitch = (PitchM > 0)? (PitchM):(PitchI * 25.4);
Diam = (DiamM > 0)? (DiamM):(DiamI * 25.4);
PitchAdjHub = 1;
PitchAdjTip = 1;
BldCtr = 35;
SpinHPinRad = 34;
SpinPinD = 3;
SpinHubD = 6;
SpinHL = 7;
SpinHubVTweak = 0.2... | glb/cad_4994bcd22e4b.glb |
Create a double-sided Keyforge Power Token. Start by creating a square base with a side length of 12mm, a height of 2mm, and corners rounded with a 2mm radius. Rotate this base 45 degrees around the Z-axis.
On the top face, center a bold "5" and a "+" symbol. The "5" should be 6mm tall and the "+" should be 4mm tall. ... | include <morphology.scad>;
function isArray(v) = len(v) != undef;
tokenSize=12;
tokenHeight=2;
smoothness=100;
logo_scale = 4;
engrave_depth = 0.8;
e = .01;
printToken=0;
tokenNumber="5";
if (printToken==0) {
difference() {
union() {
translate([tokenSize*sqrt(2)/2,0,0]) {
ro... | glb/cad_7f33a7810891.glb |
Create a double-sided game token by starting with a cylinder 20mm in diameter and 2mm in height. Remove eight small circular holes from the perimeter of the cylinder; these holes should have a diameter of approximately 7.85mm (calculated as $\pi \times 20 / 8$) and be spaced evenly every 45 degrees, starting at an angl... | function isArray(v) = len(v) != undef;
tokenDiameter=20;
tokenHeight=2;
smoothness=100;
printToken=0;
tokenNumber="1";
if (printToken==0) {
difference() {
translate([tokenDiameter/2,tokenDiameter/2,0])
cylinder(h=tokenHeight,d=tokenDiameter, $fn=smoothness);
translate([tokenDiameter/... | glb/cad_36ef5893d72c.glb |
Create a Bed Leveling Test consisting of a 5x5 grid of small squares. The total footprint of the grid is 207mm by 207mm, centered within a 210mm by 210mm area. Each individual square in the grid measures 20mm by 20mm with a height of 0.2mm.
The squares are distributed evenly across the X and Y axes. To determine the ... | printer_x = 210;
printer_y = 210;
printer_z = 205;
nozzle = 0.4;
layerheight = 0.2;
margin = 1.5;
skirt_padding = 0;
shape = 0;
x = printer_x - (margin*2) - (skirt_padding*2);
y = printer_y - (margin*2) - (skirt_padding*2);
z = printer_z - margin;
module line(start, end) {
hull() {
translate(start... | glb/cad_d1dbc3b6b540.glb |
Create a hose reel inlet connector consisting of a threaded base and a top connector. Start by creating a main cylinder with a radius of 19mm and a height of 15mm. Remove a central cylindrical core with a radius of 8mm from this base. Within the remaining wall of this cylinder, carve a screw thread with a pitch of 1.8m... | include <screwthread_v2.scad>
module connector () {
include <water_house_connector.scad>
}
$fn=50;
screw_conn_height=15;
screw_conn_radius=19;
difference () {
cylinder(h = screw_conn_height, r=screw_conn_radius);
union() {
thread(1.8, 24, 1.5, 6);
cylinder(h = screw_conn_height*2, r=8);
}
}
for ( i ... | glb/cad_f9b5ace3bc50.glb |
Create a hinged box with overall dimensions of 69mm in width, 69mm in depth, and 63mm in height, using a wall thickness of 1.5mm. The box consists of a bottom section and a top lid connected by a hinge mechanism.
For the bottom section, create a hollow rectangular shell. On the interior floor, center a cylindrical cut... | $fn = 100;
width = 69;
depth = 69;
height = 63;
wallThickness = 1.5;
hingeOuter = 7;
hingeInner = 4;
hingeInnerSlop = .4;
hingeFingerSlop = .4;
fingerLength = hingeOuter/1.65;
fingerSize = 6.5;
topFingerSize = fingerSize;
pos = -depth/2;
latchWidth = 8;
z = 0;
inside();
module inside(){
translate([-width - fingerLeng... | glb/cad_4cf83a18324d.glb |
Create two identical Magnetic EarBud Keeper clips. For each clip, construct a central hollow cylinder with an outer diameter of 4.6mm, an inner diameter of 2mm, and a height of 6mm, centered on the Z-axis. Cut a vertical slot into this cylinder to create an opening for a cord; this slot should be 2mm wide and 3mm deep,... | include <MCAD/boxes.scad>
type=1;
wallTh=1.3;
height=6;
$fn=36;
cordDia=2;
xDim=4.4;
yDim=1.5;
corner=2;
headPhDia=2;
ovr=0.001;
cordR=cordDia/2;
headPhR=headPhDia/2;
module cordHolder() {
difference() {
cylinder(r=cordR+wallTh, h=height, center=true);
cylinder(r=cordR, h=height+ovr, center=true)... | glb/cad_97aa882f1ca2.glb |
Create a parametric C-clamp consisting of a frame and a screwcap.
First, construct the frame. The frame is based on a hexagonal bar with a radius of 4.625mm. Create a spine section 53.5mm long and two throat sections 40mm long, joined to form a C-shape. The throat sections are positioned 53.5mm apart. At the ends of ... | epsilon = 0.1;
$fn = 50;
cclamp(9.25, 4.15, 2.75, 53.50, 40.00);
module cclamp(nut_od, nut_id, nut_height, spine, throat) {
frame(nut_od, nut_id, nut_height, spine, throat, 0.2 * nut_od);
translate(v=[(throat - nut_od)/2, 0, 0]) screwcap(nut_od, nut_id, 2*nut_id, 0.2 * nut_od);
}
module frame(nut_od, nut_id, nut_h... | glb/cad_bae9db2f2da7.glb |
Create a PCB mount for a 2020 extrusion designed to hold a universal piezo Z-probe PCB. The main body is a block with a thickness of 41mm.
On one side, create a mounting interface for a 2020 extrusion. This includes a cylindrical cutout for a screw head with a diameter of 6mm and a depth of 3mm, and a corresponding t... | tilt_angle = 45;
layer_height=.2; extrusion_width=.5;
epsilon=.01;
module ppmount(
size_pcb = [41,13,2],
h_standoff = 7,
offset_hole = 1.6+3.1/2,
d_screwhole = 2.7,
h_over = 4-2,
s = 2.5,
d_mountscrewhole=3.1,
w_ext = 20,
w_slot = 6.5,
depth_slot = 6.5,
l_mountscrew = 8,
d_mountscrewhead = 6,
h_mountscre... | glb/cad_8744e116fe81.glb |
Create a Chameleon eye toy consisting of a finger ring and two movable eyeballs.
First, create a finger ring with an inner radius of 9mm, a width of 2mm, and a thickness of 5mm. Cut a rectangular opening in the ring to allow a finger to enter.
For the eyeballs, create two identical assemblies positioned on opposite ... | Num_Eye_Pairs=1;
ring_r=9;
ring_thick=5;
print_dist=0.4;
part = "Basic";
$fs=1;
ring_width=2;
eye_r=10;
eye_dist=4;
eyering_r=(eye_r+eye_dist/2)*sqrt(2)-9;
openring_shiftdown=ring_r/sqrt(2)+eyering_r/sqrt(2);
eye_shiftside=openring_shiftdown;
openring_shiftbottom=-eye_r+ring_thick/2 + eye_r*.35;
eyeball_r=e... | glb/cad_f52e8dc122e2.glb |
Create a Standoff Creator model consisting of an array of six hexagonal standoffs mounted on a rectangular base.
First, create a rectangular base with dimensions 54mm in length (X), 66mm in width (Y), and 2mm in thickness.
Construct six hexagonal standoffs, each with a height of 25mm and a radius of 3mm. Each stand... | Style = 2;
Body_Shape = 3;
Body_Height = 25;
Body_Diameter = 6;
Top_Style = 2;
Thread_Dia = 3;
Thread_Height = 15;
Base_Thickness = 2;
Base_Type = 3;
Bottom_Hole_Dia = 3;
Base_X = 12;
Base_Y = 35;
Columns = 3;
X_Offset = 45;
Rows = 2;
Y_Offset = 30;
Added_Base = 3;
bodyR = Body_Diameter/2;
bottomR = Bo... | glb/cad_b176b9cf4f6c.glb |
Create a Red/Green Switch Direction Indicator for a model railway. Start with a rectangular base measuring 30mm in length, 14mm in width, and 2mm in height. At the center of the top surface, add a rounded protrusion created by scaling a cylinder with a 5mm radius to 3 times its length along the X-axis, maintaining a he... | $fn = 100;
cube([30,14,2],center=false);
translate(v = [15, 13, 0]) {
scale([3.0,1.0,2.0]) cylinder(r=5.0, center=false);
}
module triangle(o_len, a_len, depth, center=false)
{
centroid = center ? [-a_len/3, -o_len/3, -depth/2] : [0, 0, 0];
translate(centroid) linear_extrude(height=depth)
{
poly... | glb/cad_ff12fc48a5a3.glb |
Create a Customisable Box Rack by constructing a solid outer shell and hollowing out a grid of compartments. The outer shell is a rectangular block with a total width of 120.9mm, a total height of 120.9mm, and a depth of 20mm.
To create the compartments, remove 25 rectangular voids arranged in 5 rows and 5 columns. Ea... | boxW = 20;
boxH = 20;
boxD = 20;
rows = 5;
columns = 5;
nozzleD = 0.3;
wallM = 3;
cornerR = 0;
$fn = 25;
module roundedBox(size, radius, sidesonly)
{
rot = [ [0,0,0], [90,0,90], [90,90,0] ];
if (sidesonly) {
cube(size - [2*radius,0,0], true);
cube(size - [0,2*radius,0], true);
... | glb/cad_9294d16bde03.glb |
Create a parametric refill spool adapter. Start by creating a hollow cylinder with a height of 63mm, an outer diameter of 79.8mm, and an inner diameter of 63.75mm.
Subtract three rectangular slots from the outer wall, spaced 120 degrees apart, each measuring 6.5mm wide, 10mm deep, and extending the full height of the ... | height=63;
outerdiameter=79.8;
innerdiameter=63.75;
e=0.02;
difference () {
depthcabletie=1.5;
cylinder(h = height, d = outerdiameter , center = true ,$fn=64 );
cylinder(h = height+e, d = innerdiameter , center = true ,$fn=100 );
for (a = [0:2])
rotate(a * 120)
translate([outerdiameter/2-depthcabletie,0,... | glb/cad_af1f53ef22f7.glb |
Create a small spool solder holder consisting of a square base and a central cylindrical pillar. Start by creating a square base plate measuring 70mm by 70mm with a thickness of 5mm. Position the base so its center is at the origin, but offset the entire assembly 2.5mm upward along the Z-axis. In this base, create four... | translate([0, 0, 2.5])
difference() {
cube([70,70,5], center=true);
for (x=[31,-31], y=[30, -30])
translate([x, y, -3]) cylinder(r=2.15,h=6);
}
cylinder(r=11.5,h=29);
translate([0, 37.5, 12.5])
difference(){
cube([70,5,25], center=true);
translate([20, 0, 2.5]) cube([10,10,10], center=true);
... | glb/cad_d17ffc89f9b1.glb |
Create an espresso grind funnel with a round lip. Start by constructing a thin-walled cylindrical base with an inner radius of 25.5mm, a height of 15mm, and a wall thickness of 1mm. Directly on top of this base, add a second thin-walled conical section that extends upwards for another 25mm, tapering outwards from the 2... | $fn=128;
r = 25.5;
baseHeight = 15;
funnelHeight = 25;
funnelR = 10;
wallThickness = 1;
eps = 0.01;
union(){
union(){
thinCyn(baseHeight,r,r);
translate([0,0,baseHeight-eps]) thinCyn(funnelHeight,r,r+funnelR);
}
rotate_extrude(convexity = 10, $fn = 100)
translate([25.5+2.2, 0, 0])
difference(){
difference(){
union()... | glb/cad_03ea657f429b.glb |
Create a clothes pin with a hook for drying socks. Start with a rectangular base measuring 81mm in length, 11mm in width, and 6.6mm in height. At the front end, create a 45-degree beveled edge by removing a small section of the base.
To form the clamping mechanism, carve out a horizontal cylindrical groove with a dia... | klemme();
bredde = 11;
hoejde = 6.6;
laengde = 81;
cyl_center = 15.5;
cyl_dia = 10;
fjeder_center = 26;
fjeder_kv = 3;
boejle_dia = 25;
boejle_tyk = 4;
module krog(){
difference(){
union(){
translate ([0,-bredde/2,0])cube([laengde,bredde,hoejde]);
translate ([laengde,-boejle_dia/2,0]) cylinder(d =boejle_dia+bre... | glb/cad_7d42cb688dc3.glb |
Create a clothes pin with a drying hook by combining a rectangular clip body and a circular hanging hook. The main body is a rectangular prism 81mm long, 11mm wide, and 6.6mm high. Carve a cylindrical cutout with a 10mm diameter through the width of the body, centered 15.5mm from the front edge. Additionally, create a ... | clothespin();
translate([0,-20,0]) krog();
hook_dia = 25;
width = 11;
height = 6.6;
laengde = 81;
cyl_center = 15.5;
cyl_dia = 10;
fjeder_kv = 3;
hook_t = 3;
hook_disp = hook_dia/5;
module krog(){
clothespin();
translate([laengde + hook_dia/2 + width,-hook_disp,0]) hook();
}
module hook(){
rotate([0,0,45]) dif... | glb/cad_924286ddbc91.glb |
Create a 3D model of a GM17 gearmotor using the following dimensions in inches. Start with a main rectangular body 1.838" long, 1.072" wide, and 0.64" high. Round all four vertical corners of this body with a radius of 0.216".
On the top surface of the body, center a cylinder with a radius of 0.5325" and a height of ... | mounting_hole_radius = 0.104/2;
mounting_hole_seperation = 0.878;
shaft_guard_ring_radius = 0.359/2;
shaft_radius = 0.270/2;
shaft_width = 0.185;
shaft_height = 0.221;
shaft_cp_to_tab = 1.415;
body_width = 1.072;
body_length_without_tab = 1.838;
tab_hole_cp_to_body = 0.120;
corner_radius = (body_wid... | glb/cad_b37a48202f4d.glb |
Create a Marking Gauge with a folding ruler clamp. Start by constructing a rectangular base with a total length of 15mm and a width of 27mm (calculated from a 17mm ruler width plus two 5mm walls). The base should have two vertical side walls 11mm high. On the left wall, create a cutout to accommodate a lever mechanism.... | $fa=1*1;
$fs=0.25*1;
ruler_width = 17;
ruler_thickness = 3.7;
base_length = 15;
lever_length_over_base = 15;
guide_height = 11;
fence_length = 10;
fence_height = 11;
fence_angle = 0;
print_adjust = 0.4;
cutout_adjust = 0.4;
wall_thickness = 5 + 0.0;
housing_base_height = 15 + 0.0;
housing_width = ruler_widt... | glb/cad_4945bdba80d4.glb |
Create a parametric fan consisting of a central hub and five blades. Start by constructing the hub as a cylinder with a radius of 8mm and a height of 5mm. Bore a 2mm diameter hole through the center of the hub along its vertical axis. Around the perimeter of the hub, create five rectangular slots that are 1.2mm thick a... | bladeThickness=1.2;
fanRadius=40;
hubRadius=8;
hubHeight=5;
shaftRadius=1;
bladeAngle=45;
blades=5;
flatten=true;
bladeWidth=10;
module blade()
{
translate([tabLength+bladeLength/2,0,0])
union()
{
scale([bladeLength,bladeWidth,1])cylinder(bladeThickness,0.5,0.5,$fn=20,center=true);
translate([-bladeLengt... | glb/cad_9b716c1d93bb.glb |
Create an Auto-Electrical Module enclosure consisting of a main body and a removable lid.
For the body, create a rounded rectangular shell with outer dimensions of 91.9mm in length and 34.9mm in width. The main cavity should have an internal width of 30mm and an internal length of 78mm, with a height of 40mm. On the ... | demo = 0;
make_lid = 0;
make_body = 1;
make_mount = 0;
number_of_ways = 3;
make_lock = 0;
make_standoff = 0;
make_insert = 0;
include_wire_holes = 0;
module_height = 40;
module_under_clearance = 2;
lid_depth = 9;
standoff_height = 12;
body_screw_diameter = 2.6;
lid_screw_diameter = 2.2;
lid_screw_head_diam... | glb/cad_f144d961b883.glb |
Create a Taiji Pendant by combining a central Yin Yang symbol with an outer Ba Gua ring.
First, construct the central Taiji element. Create a main cylinder with a radius of 23mm and a height of 5mm. Divide this cylinder into two interlocking comma-like halves. Within each half, place a smaller circular void (a cylind... | stol = 0.5;
module ring(out, in, height) {
difference() {
cylinder($fn=100, r=out, h=height, center=true);
cylinder($fn=100, r=in, h=height+2, center=true);
}
}
module bagua() {
translate([0,0,-3.5]) cylinder($fn=100, h=2, r=35, center=true);
difference() {
union(){
ring(35, 33, 5);
ring(31, 29, 5);
... | glb/cad_018084326bff.glb |
Create a disposable kitchen sink strainer consisting of a hollow cylindrical body, a flared rim, and a center handle.
Start by creating a main tube with an outer diameter of 71mm and an inner diameter of 66mm, reaching a height of 15mm. At the top of this tube, add a 4mm tall conical transition that flares out to a f... | inner_diamter = 66;
outer_diameter = 71;
head_diameter = 79;
main_cylinder_height = 15;
gradient_height = 4;
head_cylinder_height = 1.2;
filter_height = 2.4;
filter_periodic_length = 4;
filter_opening_ratio = 0.5;
filter_beam_aspect_ratio = 2;
side_slit_periodic_length = 4;
side_slit_opening_ratio = 0.5;
si... | glb/cad_02b341554e5c.glb |
Create a replacement rolling luggage foot consisting of a base plate and a raised central tread. Start with a base plate 70mm long, 45mm wide, and 3mm thick. The base plate should have rounded ends with a radius of 22.5mm. Centered on the base plate, create a raised rectangular tread that is 45mm wide and 49mm tall. Th... | length=70;
width=45;
thick=3;
inset=0.5;
inset_dia=14;
leg=46+thick;
$fn=32;
module polycirc(d) {
n = max(round(2 * d),3);
rotate([0,0,180])
circle(r = (d / 2) / cos (180 / n), $fn = n);
}
module foot() {
difference() {
union() {
linear_extrude(height=thick)difference() {
... | glb/cad_8538db9040b8.glb |
Create a filament swatch tag as a rectangular plate measuring 64mm wide, 24mm long, and 1mm thick. Round the two shorter ends of the plate with a radius of 12mm. On the left side, center a circular hole with a diameter of 6mm.
Add a raised border frame around the perimeter of the tag that is 1mm wide and 1mm high, le... | width = 64;
length = 24;
thickness = 1;
frame = true;
samples = true;
type = "PLA";
line1_text = "Brand";
line2_text = "Color";
font_family = "Roboto";
font_weight = "bold";
line1_size = 7;
line2_size = 6;
sample_width = samples? (length-3)/3 : 0;
font = str(font_family, ":style=", font_weight);
if (frame)... | glb/cad_da7d9fae505b.glb |
Create a Decision Cube slate by starting with a centered square plate measuring 30mm by 30mm with a thickness of 1mm. On the top surface of this plate, add three rows of embossed text using a bold Comic Sans MS font. In the center of the plate, emboss the word "CENTER" with a font size of 4mm, aligned both horizontally... | emboss = 1;
text_top = "TOP";
size_top = 3;
top_position = 9;
text_center = "CENTER";
size_center = 4;
text_bottom = "BOTTOM";
size_bottom = 4;
bottom_position = -7;
font_family = "Comic Sans MS";
font_weight = "bold";
resolution = 20;
if (emboss==1); else {
translate([0,0,-0.5])
cube([30,30,1],center=true... | glb/cad_a92560f53da9.glb |
Create a set of twelve pentominoes, each composed of five connected squares of 20mm x 20mm. For each shape, create a base plate with a thickness of 0.5mm that follows the outer perimeter of the pentomino. On top of this base, add a raised border that follows the same perimeter but is inset by 0.2mm from the edge, with ... | scale=20;
base_height=0.5;
base_offset=0;
border_height=0.3;
border_thickness=0.2;
pentomino=-1;
mirror=0;
pentominoes=[
"030101212323",
"0000122223",
"033010121223",
"333000122112",
"000121123323",
"333001210122",
"303030112122",
"033001211223",
"000012212323",
"000101223... | glb/cad_32cb03004fa6.glb |
Create a snowboard bumper with a main body measuring 101.6mm in length, 25.4mm in width, and 20mm in height. Round all exterior edges of this main block using a 2mm radius.
Carve a V-shaped notch out of the bottom center of the block to accommodate the snowboard's edge. This notch is created by removing a volume defi... | $fn=80;
STRAP=0;
STRAP_TYPE=0;
SECTIONS=1;
bumper_l=101.6;
bumper_w=25.4;
sidewall_angle=60;
sidewall_cut=-14;
sidewall_height=9;
notcher_l=bumper_l+25;
notcher_w=bumper_w;
sidewall_notcher_l=notcher_l+20;
sidewall_notcher_w=bumper_w+30;
difference() {
minkowski() {
if (SECTIONS == 2) {
cube([bumper... | glb/cad_4cd5f1b6e4f1.glb |
Create a customizable grill plate for a box. Start by creating a central rectangular block with dimensions 40mm width, 50mm height, and 6mm depth, centered on the origin. Hollow out the center of this block by removing a smaller rectangular volume of 36mm by 46mm with a depth of 6mm, leaving a structural wall thickness... | grill_img = "grill.dat";
x=40;
y=50;
z=6;
lip=5;
thickness=2;
pixils=100;
image_size=min(x,y)-2*thickness;
grill_2();
module grill_1(){
difference(){
union(){
cube([x,y,z],center=true);
translate([0,0,(z-thickness)/2])
cube([x+2*lip,y+2*lip,thickness],center=true);
}
scale([image_size/pixils,i... | glb/cad_8b21b275f2ee.glb |
Create a clearance template for an iRobot Looj consisting of a flat rectangular base and an attached handle. Start by creating a rectangular base plate measuring 74.4mm wide, 50.5mm deep, and 1.4mm thick.
Construct a handle that extends from the base. The main vertical section of the handle is a rectangular prism 20m... | cube (size = [74.4, 50.5, 1.4]) ;
translate ([74.4 / 2 - 20 / 2, 35, 0.2])
rotate ([80, 0, 0])
cube (size = [20, 60, 1.8]) ;
translate ([74.4 / 2 - 20 / 2, 32.5, 0.2])
cube (size = [20, 4.4, 3]) ;
translate ([74.4 / 2 - 2 / 2, 36.2, 0.2])
rotate ([80, 0, 0])
cube (size = [2, 60, 1.6]) ;
translate ([74.4 / ... | glb/cad_3bec0db45e94.glb |
Create a bone-shaped pet ID tag with an overall length of 58mm and a base thickness of 2mm. The bone geometry is formed by two circles with 8mm radii at each end, connected by a central rectangular section 17mm wide. On one end of the bone, integrate a small circular ring for attachment, created by subtracting a 4mm ra... | Type="Single";
Size="Standard";
YourText=["Name","+43 000 000 000 00"];
FontNames=["Pacifico","Helvetica"];
FontHeight=[7,4];
FontOffset=[0,0];
DoubleAngle=0;
Length=58;
Brim="yes";
BaseHeight=2;
TextHeight=1;
if(Type=="Single") {
if(Size=="Small") {
scale([0.85,0.85,0.85]){
Simple();
}... | glb/cad_3189c629f0e7.glb |
Create a First Layer Test object by constructing a thin, flat square prism. The base should be 50 mm wide and 50 mm long, with a uniform height of 0.3 mm. Center the geometry so that the footprint extends 25 mm in each direction from the origin along the X and Y axes. | height = 0.3;
size = 50;
translate([-size/2, -size/2,0])
cube([size, size, height]); | glb/cad_e2ea5629dd70.glb |
Create a personalized phone holder for a Samsung Galaxy Note 3. Start by constructing a base consisting of two rectangular feet: a front foot measuring 3.5mm wide, 1mm deep, and 0.2mm thick, and a rear foot measuring 3mm wide, 0.5mm deep, and 0.2mm thick.
Build a tray atop these feet, tilted at a 60-degree angle. The... | use <Write.scad>;
cylrad = 1.0;
outercylextra=1.0;
width = 3.5;
depth = 2.0;
footsquare = 0.5;
traywallthick = .125;
ribthick = 2.00;
footthick = .2;
backangle = 60;
scale(25.4)
{
translate([ 0, depth-footsquare/2, footthick/2])
cube(size=[width, footsquare*2, footthick], center=true);
trans... | glb/cad_8dde52b4c697.glb |
Create a round toothed gear with a thickness of 4mm. Start by forming a main central cylinder with a radius of approximately 12.41mm (calculated as 26 divided by 2π). Around the perimeter of this cylinder, place 13 teeth. Each tooth is a cylinder with a diameter of 3mm and a height of 4mm, positioned such that its cent... | tooth_diameter=3;
tooth_number=13;
gear_thickness=4;
center_hole_diameter = 2;
pi=3.141592653589793;
$fn=30;
circum_circles=2*tooth_number;
base_circumference=2*tooth_number*tooth_diameter;
base_radius=base_circumference/(2*pi);
difference() {
union() {
cylinder(r=base_radius, h=gear_thickness);
for ( i =... | glb/cad_b0eb3bd692d8.glb |
Create a Minecraft-style pickaxe composed of small, uniform cubes. Construct a handle by aligning nine cubes of 1x1x1 mm each in a diagonal line, where each subsequent cube is offset by -1 mm on both the X and Y axes. At the end of this handle, attach a head consisting of a central 3x3x1 mm block. From this center, ext... | cube([1,1,1]);
translate ([1,-1,0])
cube([5,3,1]);
translate([7,-7,0])
cube([3,5,1]);
translate([8,-8,0])
cube([1,1,1]);
translate([6,-2,0])
cube([3,3,1]);
translate([5,-2,0])
for(i=[0:8]) {
translate([i*-1,i*-1,0])
cube([3,1,1]);
}
translate([-3,-11,0])
cube([2,1,1]); | glb/cad_8d536d6b00dd.glb |
Create a luggage label consisting of a rectangular plate with a thickness of 3mm and rounded corners with a radius of 3mm. The plate's overall dimensions should be sized to accommodate several lines of text, with a margin of approximately 4.24mm (2 * sqrt(3)) around the edges.
On the left side of the plate, create a v... | use <write/Write.scad>
line_1="Just enter";
line_2="name and";
line_3="address";
line_4="";
line_5="";
line_6="";
line_7="";
line_8="";
line_9="";
line_10="";
text_style=-80;
font="orbitron.dxf";
fontsize=8;
letter_spacing=1;
letterspacing=1.0+letter_spacing/10;
line_spacing=2;
linespacing=0.7+line_spacing/10;
p... | glb/cad_acb062a5003f.glb |
Create a set of 35 unique hexomino puzzle pieces. Each piece is constructed from six connected squares, each with a side length of 30mm. The pieces should be flat plates with a base thickness of 0.5mm.
For every piece, add a raised border around the outer perimeter that is 0.3mm high and 0.2mm thick. The shapes are d... | scale=30;
base_height=0.5;
base_offset=0;
border_height=0.3;
border_thickness=0.2;
polyomino=-1;
mirror=0;
polyominoes=[
"33333301111112",
"33333011110122",
"33333011101212",
"33333011012112",
"33330111011232",
"333301101122",
"33330101210122",
"33330012110122",
"333301011212"... | glb/cad_422385d69c2d.glb |
Create an ATX PSU vibration dampening gasket by constructing a rectangular frame with an outer dimension of 150mm by 86mm and a thickness of 1.8mm. Hollow out the center of the frame by removing a smaller rectangle measuring 140mm by 76mm, positioned 5mm from each outer edge. At four specific coordinates—(6, 16), (6, 8... | atx = [150,86];
screws = [[6,16],[6,80],[120,6],[144,80]];
screwhole = 4;
$fn=32;
linear_extrude(1.8)
difference(){
union(){
difference(){
square(atx);
translate([5,5])
square(atx-[10,10]);
}
for(s=screws)translate(s)circle(d=screwhole+6);
}
for(... | glb/cad_6ce79a505198.glb |
Create a customizable over-door hook with a constant width of 10mm and a general thickness of 2mm. The shape is formed by three primary upright sections connected by bends.
Start with a front hook section that is 25mm long and 2mm thick. From this, extend a vertical riser 80mm high. At the top of this riser, create a ... | hookdepth = 16;
doordepth = 30;
hooklength1 = 25;
hooklength2 = 80;
hooklength3= 30;
hookwidth = 10;
topthickness = 1;
thickness = 2;
enable_45point = 1;
enable_fillet = 1;
enable_curl = 0;
minifillet = hookwidth/4;
adjustment= ( enable_curl == 1 ) ? thickness+hookdepth/2 :0;
rotate([0,270,270]){
... | glb/cad_6e6293a72d6f.glb |
Create a rail wheel by starting with a main cylinder that has a radius of 100mm and a total height of 66.5mm. Center the cylinder on the origin. Remove a central vertical hole with a radius of 10mm that runs through the entire height of the object. Carve a circular groove into the outer perimeter of the cylinder; this ... | half_model = "yes";
radius = 100;
inner_height = 60.5;
wall_strength = 3;
groove_radius = 30.25;
axis_radius = 10;
height = inner_height + wall_strength *2;
translate([0, 0, height/2])
difference() {
cylinder(h=height, r=radius, center=true, $fn = 64);
rotate_extrude(convexity = 20, $fn = 64)
translate([radius, ... | glb/cad_eb8b6d6a453a.glb |
Create a protective enclosure for a wireless dust sensor and microcontroller. Start with a base plate 84mm wide by 84mm deep (70mm plus 14mm extra margin) and 2mm thick, with rounded corners of 10mm diameter. Build walls around the perimeter to a total height of 32mm, maintaining a wall thickness of 2mm.
In the base, ... | EXTRA_MARGIN = 14;
SENSOR_WIDTH = 70 + EXTRA_MARGIN;
SENSOR_HEIGHT = 70 + EXTRA_MARGIN;
BASE_THICKNESS = 2;
CORNER_CURVE_DIAMETER = 10;
WALL_THICKNESS = 2;
TOTAL_WALL_HEIGHT = 32;
WALL_HEIGHT = 18;
FRONT_WALL_HEIGHT = TOTAL_WALL_HEIGHT - WALL_HEIGHT + BASE_THICKNESS - 1;
HOLE_DIAMETER = 3.0;
HOLE_HOLDER = 6.65;
SCRE... | glb/cad_5144f7af2acc.glb |
Create a T5 profile pulley for an electric skateboard drive. The pulley should have 36 teeth and a total height composed of a base height of 8mm, a toothed section height of 11mm, and a top retainer flange of 1.5mm.
The main body is a cylinder with a central hole 5mm in diameter to accommodate a motor shaft. Within t... | $fn=90;
teeth = 36;
profile = 6;
motor_shaft = 3;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 1.5;
idler = 1;
idler_ht = 1.5;
pulley_t_ht = 11;
pulley_b_ht = idler_ht;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
bearing=24;
axle... | glb/cad_51c7049298a5.glb |
Create a Shark Wheel drive motor mount. Start with a main body that is a combination of a rectangular block and a rounded grip for the truck. The overall height of the part is 34mm.
The truck grip section is based on a rounded rectangle with a width of 19mm and a height of 18mm, with corners rounded to a 4.7mm radius... | wall=8;
$fn=90;
filament=1.6;
total_h=wall*3+10;
truck_x=19;
truck_y=18;
truck_round=4.7;
truck_x_sub=truck_x-truck_round;
truck_l=20;
truck_total_x=truck_x+wall*2;
truck_total_y=truck_y+wall*2;
truck_total_x_sub=truck_x_sub+wall;
motor_mount=25;
motor=53;
motor_wall=filament*3;
motor_shaft=15;
angle=65;
pad=0.1;
padd... | glb/cad_231cd7a178aa.glb |
Create a probe holder for an oscilloscope consisting of a flat mounting plate with four integrated vertical slots. Start with a base plate that is 2mm thick, 20mm wide, and approximately 112mm long. The plate should have rounded ends, formed by semi-cylinders with a 10mm radius. Drill two 4mm diameter octagonal holes t... | probeHolderFinal(
4,
20,
true,
true
);
module probeHolderFinal(pcs, probeH, enforced, rotated){
if (rotated){
rotate(a=[-90,0,0]) probeHolder(pcs, probeH, enforced, true);
}else{
probeHolder(pcs, probeH, enforced, false);
}
}
module probeHolder(pcs, probeH, enforced, rotated){
holeR = 2;
... | glb/cad_c285850a5e9b.glb |
Create a parametric balloon stick holder. Start by constructing a hollow truncated cone with a height of 40mm, a base radius of 55mm, and a top radius of 14mm. The wall thickness of this cone should be 2mm.
On top of the cone, add a cylindrical neck that transitions from the top radius of 14mm down to a radius of 4.5m... | difference() {
difference() {
union() {
difference() {
cylinder($fn = 50, h = 40, r1 = 55, r2 = 14);
translate(v = [0, 0, -0.2000000000]) {
cylinder($fn = 50, h = 38, r1 = 53, r2 = 12);
}
}
translate(v = [0, 0, 42.5000000000]) {
union() {
translate(v = [0, 0, 0]) {
rotate(a =... | glb/cad_21b3588ad0d9.glb |
Create a rubber band propeller twister holder. Start by constructing a main rectangular body with rounded corners and a wall thickness of 2mm. The overall outer dimensions should be approximately 30.55mm in depth, 27.55mm in width, and 46.85mm in height.
Inside this body, create two distinct compartments. The first is... | $fn = 32;
tolerance = 0.6;
holder_height = 50;
battery_width = 26.5;
battery_thickness = 17;
battery_height = 44.85;
motor_diameter = 27.55;
motor_height = 37.68;
motor_shaft_diameter = 9.89;
distance_between = 1;
bottom = 2;
wall_thickness = 2;
friction_cylinder_radius = 0.5;
motor_radius = motor_diameter /2 +... | glb/cad_eec98c623dbb.glb |
Create a parametric rubber band propeller twister frame. The main body is a wedge-shaped polyhedron with a base width of 13mm, a base height of 5mm, and a top height of 8.5mm. The top surface is narrower than the base, creating an inclined profile.
Cut a cylindrical hole through the center of the frame to accommodate ... | $fn = 32;
tolerance = 0.6;
prop_width = 15;
prop_guard_diameter = 10;
cog_height = 6;
cog_diameter = 6;
flange = true;
flange_height = 1;
flange_diameter = 8;
screw_diameter = 3;
tensioner_width = 10;
tensioner_height = 1;
base = max(flange_diameter, cog_diameter) + 5;
base_height = cog_diameter/2 + 2;
angle =... | glb/cad_1f6ea4e85b1f.glb |
Create a protective cover for a screen with overall outer dimensions of 116mm in height, 165mm in width, and 10mm in depth. The main body is a rectangular plate with a thickness of 1.5mm. The four outer corners must be rounded with a radius of 5mm.
To create the gripping mechanism, remove a rectangular section from t... | $fn=50;
r=5;
height = 116;
width = 165;
dept = 10;
thickness = 1.5;
hook_len = 3;
module clip(width, height, depth, r, thickness, hook_len){
bound_clip_w = width-2*r + thickness*2;
bound_clip_h = height-2*r + thickness*2;
difference(){
difference(){
difference(){
diffe... | glb/cad_2990f8c92549.glb |
Create a Sock Bone clip by extruding a 2D bone-like profile to a height of 10mm. The outer boundary consists of two semicircles with a radius of 8mm centered at each end of a rectangle that is 86mm long and 13mm wide. The semicircles are centered on the rectangle's width, creating a rounded end cap at each side.
Holl... | length = 86;
width = 13;
$fn = 24*1;
radius = width*(8/13);
thickness = 2*1;
height = 10*1;
sockbone();
module sockbone(){
linear_extrude(height)
union(){
difference(){
union(){
translate([radius,0,0])
circle(radius);
translate([radius,-width/2,0])
square([length-2*radius,width]);
tra... | glb/cad_fa2b2bf3cc22.glb |
Create a Z-axis rotation indicator consisting of a hollowed cylinder with three protruding radial segments. Start by creating a main cylinder with an outer diameter of 11mm and an inner hole of 8mm, both centered on the Z-axis, with a total height of 7.5mm.
At the top of this cylinder, add three identical radial segm... | $fn = 32;
minDiam = 8.0;
maxDiam = minDiam + 3.0;
cylHeight = 7.5;
segmentHeight = 5.0;
segmentRadius = maxDiam / 2 + 0.1;
segmentArc = 32;
module slice(r = 10, deg = 30) {
degn = (deg % 360 > 0) ? deg % 360 : deg % 360 + 360;
difference() {
circle(r);
if (degn > 180) intersection_for(a = [0... | glb/cad_5223c629474e.glb |
Create a round dog tag with a total diameter of 36mm and a base plate thickness of 0.6mm. At the top of the tag, centered along the Y-axis, create a circular hole with a diameter of 5mm that passes completely through the base plate.
Around the outer edge of the tag, add a raised border ring that is 1mm wide and 0.45mm... | line_1_text = "I LUV";
line_1_size = 6;
line_2_text = "MY DOG";
line_2_size = 5;
text_language = "en";
fontname="DejaVu Sans:DejaVu Sans Condensed Bold";
total_diameter = 36;
hole_diameter = 5;
hole_distance = 3;
border_width = 1;
number_of_text_layers = 3;
number_of_base_layers = 5;
first_layer_height = 0.15... | glb/cad_eb27c2d681c2.glb |
Create a Customizable Gel Comb for electrophoresis. Start by constructing the central core from two stacked rectangular prisms. The base prism should be 79.3mm wide, 13.7mm deep, and 3.0mm high. Centered on top of this base, add a second raised prism measuring 68.8mm wide, 9.3mm deep, and 7.25mm high.
Add two rows of ... | tooth_margin = 8.25;
tooth_gap = 1.7;
tooth_count = 10;
tooth_length = 12.2;
front_tooth_height = 1.5;
rear_tooth_height = 1.0;
comb_x = 79.3;
comb_y = 13.7;
comb_z = 3.0;
raised_x = 68.8;
raised_y = 9.3;
raised_z = 7.25;
tooth_span = comb_x - (2 * tooth_margin);
tooth_width = (tooth_span - (tooth_count - ... | glb/cad_cac1ab00d305.glb |
Create a Nexus 5 phone holder for a CD slot by constructing a central rectangular base and two angled side flanges. Start with a main central block measuring 65mm in width, 25mm in depth, and 3.8mm in height, centered on the X and Y axes and positioned 3.1mm below the origin on the Z axis. Add a supporting front block ... | translate([0, 11, -3.1]) cube([65, 25, 3.8], center = true);
cube([77.9, 4, 10], center = true);
translate([37.3, -7.8, 0]){
rotate([0,0,84])
cube([13.3, 2, 10], center = true);
}
translate([36.1 , -14.5, 0]) cube([3, 2, 10], center = true);
translate([-37.3, -7.8, 0]){
rotate([0,0,-84])
cube([13.3, 2, 10], center = ... | glb/cad_4647d828bc67.glb |
Create an industrial panel key consisting of a rectangular base and a protruding cylindrical head. Start with a rectangular block measuring 50mm in length, 10mm in width, and 20mm in height. Remove a rectangular section from the bottom center of this block, measuring 20mm long, 4mm wide, and 10mm high, positioned 15mm ... | union(){
difference(){
cube([50,10,20]);
translate([15,3,0])cube([20,4,10]);
}
translate([17.5+7.5,5,30]){
difference(){
cylinder(d=15,h=11);
translate([-4,-4,0])cube([8,8,11]);
}
}
hull(){
translate([0,0,20])polyhedron(points=[[5,0,0],[17,0,0],[17,-2.5,10],[5,10,0],[17,10,0],[17,12.5,10]], tria... | glb/cad_f87ebc5e885a.glb |
Create a stand for a laptop LCD panel. Start with a rectangular base measuring 100mm by 100mm with a thickness of 15mm. From this base, extend a vertical support structure that is 8.5mm wide and 85mm tall. This support should be tilted backward at a 15-degree angle.
Within this support, carve out a central rectangula... | mirror(v=[1,0,0])xyz();
translate([5,0,0])xyz();
module xyz(){
cube([8.5,60,2]);
difference(){
translate([0,0,2])
rotate([-15,0,0]){
difference(){
cube([8.5,6.2+4,85]);
translate([3,2,5])cube([20,6.2,90]);
translate([-5,3.1+2,5+70])rotate([0,90,0])cylinder(10,1.25,1.25,$fn... | glb/cad_56b1ea638de7.glb |
Create a MendelMax Y endstop mount consisting of two separate parts: an extrusion fixing and a switch holder.
First, create the extrusion fixing by starting with a rectangular base 20mm wide, 20mm long, and 4mm thick. Add a centered ridge on one edge that is 5.9mm wide and 1.5mm deep, designed to fit into an extrusio... | thickness = 4;
extrusion_width = 20;
fixing_width = extrusion_width;
extrusion_ridge_width = 5.9;
extrusion_ridge_depth = 1.5;
extrusion_screw_diameter = 5;
$fn = 12;
holder_width = fixing_width;
holder_length = 45;
holder_thickness = thickness;
switch_hole_diameter = 2.5;
holder_slot_length = holder_length;
module e... | glb/cad_f3dddf24f6d9.glb |
Create a tripod pole clamp assembly consisting of two separate clamp components, a top and a bottom, aligned vertically.
For the bottom clamp, create a cylindrical ring with an inner diameter of 29mm and a height of 18mm. The ring should have a wall thickness of 2.5mm. Incorporate a break in the ring to create jaws th... | print = "BOTH";
$top = 22.5;
$bottom = 29;
$join_pin_type = "BOLT";
$join_pin = 5;
$join_size = 10;
$offset = ($bottom/2) + 6 ;
if ($top > $bottom ) echo ("WARNING: Bottom should be larger ******");
$fn = 150;
if(print == "BOTTOM" || print == "BOTH") {
color("red") {
clamp( base = false,
base_th... | glb/cad_27026519ac2e.glb |
Create a pair of PCB tweezers for etching. The tool consists of two symmetrical arms, each 3mm thick and 10mm high, extending 60mm in length from a central pivot point. The arms are angled away from each other at a 75-degree angle relative to the horizontal plane. At the gripping end of each arm, create a flat, rectang... | ph=10;
pt=3;
pl=30;
pw=60;
difference()
{
union()
{
rotate([-75,0,0])
translate([-pt-(pw/2),-pl,0])
difference()
{
translate([-1,0,0])
cube([pt+1,2*pl,ph]);
translate([pt,0,2.3])
scale([1,1,1.5])
rotate([0,45,0])
... | glb/cad_8509861bf4d0.glb |
Create a metal shelving leg cap by constructing two stacked geometric components. First, create a base plate 2mm thick with a square footprint of 31mm by 31mm. From this base, remove a central square area rotated 45 degrees, with a side length of 47mm, to create a cutout that leaves only the corners and edges of the ba... | $fn=50;
h=2;
s=29;
minkowski(){
difference(){
cube([31,31,h],center=true);
translate([17.7,17.7,0])
rotate([0,0,45])
cube([47,47,h+1],center=true);
}
cylinder(d=3,h=0.01);
}
translate([0,0,h])
difference(){
minkowski(){
difference(){
cube([s,s,5],ce... | glb/cad_ba2f53b078f7.glb |
Create a Trammel of Archimedes base by starting with a cylinder 77mm in diameter and 6.5mm in height. Subtract 8 identical cylindrical tubes from this base to create slots for the bearings. Each tube must have a diameter of 10.5mm and a length of 77mm. Position these tubes so their centers are aligned with the center o... | $fn=180;
numberOfBallBearings = 8;
BallBearingDiamater = 10;
baseDiamater = 77;
ArmDiamater = 5;
BallBearingTollerance = 0.5;
BaseHeightBuffer = 1.5;
HandleDiamater = 1.5;
HandleTolerance = 0.1;
HandleHeight = 30;
HandleBottomDiamater = 7;
HandleBottomThickness = 1.5;
BallBearingRadious = BallBearingDiamater/2;
De... | glb/cad_4a271abc02a1.glb |
Create a handle for a Trammel of Archimedes consisting of a thin vertical pole joined to a flat circular base. Start by creating a cylinder for the base with a diameter of 7mm and a height of 1.5mm. Centered on top of this base, add a tall, slender cylinder to serve as the handle pole. This pole must have a diameter of... | $fn=180;
numberOfBallBearings = 8;
BallBearingDiamater = 10;
baseDiamater = 77;
ArmDiamater = 5;
BallBearingTollerance = 0.5;
BaseHeightBuffer = 1.5;
HandleDiamater = 1.5;
HandleTolerance = 0.1;
HandleHeight = 30;
HandleBottomDiamater = 7;
HandleBottomThickness = 1.5;
BallBearingRadious = BallBearingDiamater/2;
De... | glb/cad_7683d56aa83f.glb |
Create a battery container by starting with a solid rectangular block measuring 14.3mm wide, 86.4mm long, and 48.1mm high. Hollow out the center of this block by removing a smaller rectangular volume of 12.3mm by 84.4mm by 46.1mm, positioned 1mm from the width and height walls to create a thin-walled shell. Finally, cr... | $fn = 24;
difference() {
difference() {
color(c = "magenta") {
cube(size = [14.3000000000, 86.4000000000, 48.1000000000]);
}
color(c = "peachpuff") {
translate(v = [1, -0.0100000000, 1]) {
cube(size = [12.3000000000, 84.4000000000, 46.1000000000]);
}
}
}
color(c = "lawngreen") {
translate(v =... | glb/cad_6bd11f8d5540.glb |
Create a battery container by starting with a solid rectangular block measuring 18mm wide, 116mm long, and 54.5mm high. Hollow out the center of this block by removing a smaller rectangular volume of 16mm by 114mm by 52.5mm, positioned 1mm from the side walls and 1mm from the base, to create a thin-walled shell. Finall... | $fn = 24;
difference() {
difference() {
color(c = "lavenderblush") {
cube(size = [18, 116, 54.5000000000]);
}
color(c = "darkgreen") {
translate(v = [1, -0.0100000000, 1]) {
cube(size = [16, 114, 52.5000000000]);
}
}
}
color(c = "dimgrey") {
translate(v = [1, 96, -2]) {
cube(size = [16, 18... | glb/cad_3e4674e48adb.glb |
Create a curved linkage with a thickness of 9mm. The main body is a curved arm with a width of 7mm and a blend radius of 7mm. The arm is defined by a circular arc with a pitch of 50mm and an offset curve of 22mm.
At each end of the curved arm, create a cylindrical boss with a diameter of 17mm. Centered within each bo... | pitch=50;
boss_diameter=17;
offset_curve=22;
pivot_diameter=6;
linkage_width=7;
blend_radius=7;
linkage_thickness=9;
module round2d(OR,IR){
offset(OR)offset(-IR-OR)offset(IR)children();
}
X3=0;
Y3=offset_curve;
X2=pitch/2;
Y2=0.001;
X1=-pitch/2;
Y1=0;
point_A = ([X1,Y1]);
point_B = ([X2,Y2]);
point_C = ([X3,Y3... | glb/cad_25d42f57d702.glb |
Create a Mini Sumo Robot chassis. Start with a main top plate measuring 80mm wide by 90mm long with a thickness of 3mm. Centered on this plate, create mounting points for a Raspberry Pi Zero and an I/O board, including a rectangular cutout of 36mm by 70mm in the center of the plate. Add a power cable hole measuring 4mm... | include <Servos.scad>
use <BotWheel1.scad>
include <RaspberryPi.scad>
include <IO_board.scad>
include <TOF.scad>
include <LineSensor.scad>
DriveServo = S3003;
Show = 1;
Num4HoleDia = 3;
Num4ClearHoleDia = 4;
Num2HoleDia = 2.3;
Num2ClearHoleDia = 3;
ServoUp = 0;
ServoIn = 8;
ServoMntHgt = 4;
ServoMntDia = 6.7;
Batt... | glb/cad_fda5fbedba2a.glb |
Create two identical wheels for a Mini Sumo Robot, mirrored so one is for the left and one for the right. Each wheel has a total width of 8mm.
Start with a main rim that is 4mm high. The outer diameter of the wheel is determined by a tire with a 4.7625mm cross-sectional diameter and an internal diameter of 41.275mm, s... | wheelWidth = 8;
tireCSDiameter = 4.7625;
tireID = 41.275;
tireStretch = 1.02;
rimHeight = 4;
timingHoles = 0;
timingHolePad = [1,0.5,3];
directional = true;
vaneCount = 0;
vaneHeight = 7;
vaneWidth = 1;
vaneLength = 4;
vaneOffset = 1;
treadStyle = "o-rings";
knobSize ... | glb/cad_4676828c94fe.glb |
Create a KeychainDL consisting of a rectangular base and a circular ring. Start by creating a rectangular bar 64mm long, 5mm wide, and 2mm thick. At the left end of the bar, add a ring by creating a cylinder with an outer diameter of 12mm and an inner hole of 7mm, both sharing the same 5mm width as the bar. Position th... | MyText = "CHRIS";
Length = 64;
Width = 5;
TextSize = 1.3;
thickness = 2;
ring_diam = 7;
font="Liberation Serif:style=Bold Italic";
$fn = 50;
KeyChain();
module KeyChain()
{
translate([0, -thickness, 0])
cube([Length, thickness, Width]);
translate([ring_diam, 0, 0])
linear_extrude(height=Width)
scale([Te... | glb/cad_6cb447594a74.glb |
Create a sphere cable organizer by starting with a solid sphere that has a diameter of 40mm. Remove a vertical cylindrical hole with a radius of 1.5mm that passes completely through the center of the sphere from top to bottom. Next, carve out a rectangular slot that is 40mm wide, 3mm high, and 40mm deep, centered on th... | sphere_diameter = 40;
cable_diameter = 3;
sphereCableOrganizer();
module sphereCableOrganizer()
{
difference() {
sphere(sphere_diameter/2);
cylinder(r = cable_diameter, h = sphere_diameter, center = true);
translate([0, (-1 * (cable_diameter/2)), (-1 * (sphere_diameter/2))]) {
cube([sphere_diameter, cable_... | glb/cad_353df0b89e30.glb |
Create a honeycomb shelf joint designed to hold panels at 120-degree angles. The joint consists of two arms and a connecting base. Each arm is composed of a rectangular block with a length of 10mm, a height of 10mm, and a thickness of 2mm at the bottom. The gap between the two arms is 3mm, and the walls of the joint ar... | include <joint_commons.scad>;
module angledJoint(gapThickness, wallThickness, wallHeight, bottomThickness, armLength)
{
arm(gapThickness, wallThickness, wallHeight, bottomThickness, armLength);
armWidth = (2*wallThickness) + gapThickness;
translate([0, -armWidth/sqrt(3), bottomThickness])
cube([w... | glb/cad_0fc705e126ff.glb |
Create a 22mm panel plug and light bezel. Start by creating a hollow cylindrical sleeve that fits into a 22mm diameter hole, with a wall thickness of 3mm and a height of 6mm.
Attached to the top of this sleeve, create a larger hollow conical body that flares outward. This upper section should have a bottom outer diam... | $fn = 48;
t = 3;
td = 29.2;
bd = 29.2;
h = 12.7;
hole = 22;
hd = 6;
module torus(dia, rad)
{
rotate_extrude() translate([dia/2-rad,0,0]) circle(r = rad);
}
rotate([180,0,0])
{
difference()
{
cylinder(r1=bd/2, r2=td/2, h=h-(t/2), center=false);
cylinder(r1=bd/2-t, r2=td/2-t, h=h-(t/2), center=false);
... | glb/cad_773d980bcc6d.glb |
Create a 3D model of an Eachine TX06 camera. Start by placing two thin rectangular PCBs, each 0.8mm thick, 14mm wide, and 13mm high, positioned 10mm apart along the x-axis. Between these PCBs, add a small rectangular antenna PCB measuring 0.8mm by 5mm by 2mm, positioned at x = -5, y = -2.5, and z = 13.
For the lens as... | q = 20;
hcam = 13;
cam_TX06(0);
module cam_TX06(le) {
translate([ 5,0, 0]) {
color("green") {
translate([ 0,-7.0, 0]) cube([0.8,14, hcam ]);
translate([-5,-7.0, 0]) cube([0.8,14, hcam ]);
translate([-5,-2.5,13]) cube([0.8, 5, 2 ]);
}
color... | glb/cad_f0e639fad7d3.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.