Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Rostock ball bearing joint consisting of a rectangular base with a central cutout. Start by constructing a solid rectangular block with a width of 10mm, a height of 10mm, and a length equal to the sum of the joint base and joint length plus 4mm of play. Centered within this block, carve out a hollow rectangula... | include <config.scad>
use <joint.scad>
translate([-2,0,joint_l/2])
rotate([0,0,90])
joint_middle(joint_b,joint_l);
translate([-20,13,joint_l/2])
rotate([90,0,0])
joint_rod(joint_b,joint_l,joint_w,joint_rh,a=120,rd=5);
translate([0,0,joint_hh/2])
difference()
{
union()
{
translate([joint_w/2,-(joint_b+joint_l+... | glb/cad_294603eb96fd.glb |
Create a Rostock ball bearing joint consisting of a central block and a connecting rod.
First, construct the central block as a cube with dimensions 10mm x 10mm x 10mm. Create a cylindrical hole passing through the center of the block along the X-axis with a diameter of 6mm to accommodate a ball bearing. Additionally... | include <config.scad>
module joint_middle(b,l) {
difference()
{
translate([-l/2,-b/2,-l/2]) cube([l,b,l]);
for(i=[0,180])
rotate([0,i,0])
{
rotate([0,90,0])
translate([0,0,l/2-kugellager_h])
cylinder(h=kugellager_h+1,r=kugellager_d/2);
}
rotate([0,90,0])
translate([0,0,-l/2-1])
cylinde... | glb/cad_2059b32f7532.glb |
Create a 360 camera rig consisting of six identical frame components arranged symmetrically. Each frame is based on a central structural beam with a thickness of 5.4mm. Construct the main body of each frame by combining a 30mm long prong with a hull formed between a 10mm cube and a cylinder with a 32mm diameter and 5mm... | use <lib/threads.scad>;
pad = 0.001;
$fn = 64;
fudge = 0.40;
beam_t = 5.0+fudge;
angle = 360/6.5;
module prong(l,t) {
union() {
cube([t,t,l]);
cube([t,l,t]);
cube([l,t,t]);
}
}
module base() {
difference() {
p_l=30;
union() {
color("blue") prong(l=p... | glb/cad_a12ae164ee6a.glb |
Create a Xiaomi Yi 360 Rig frame. The main body is a flat, elongated capsule shape with a total height of 8mm. Construct the outer boundary by creating a hull between two cylinders, each with a diameter of 24.25mm, positioned 38.35mm apart along the x-axis.
Inside this outer shell, remove a central capsule-shaped voi... | pad = 0.001;
$fn = 128;
fudge = 0.35;
i_d = 18.5 + fudge;
batt_d = 22.25 + fudge;
batt_l = 38.0 + fudge;
shell_t = 1.0;
height = shell_t*8;
module base() {
translate([9,0,shell_t/2]) cube([2.5,batt_d,shell_t], center=true);
translate([-9,0,shell_t/2]) cube([2.5,batt_d,shell_t], center=true);
differe... | glb/cad_5c3060e39622.glb |
Create a Xiaomi Yi 360 Rig frame by constructing a central rectangular block with a width of 20.4mm, a height of 15mm, and a depth of 5mm. Add a thin lip around the top edge of the block that is 1mm thick and extends the width to 25.4mm. On the front face of the block, centered horizontally and vertically, emboss the n... | label="1";
pad = 0.001;
$fn = 128;
fudge = 0.40;
beam_t = 5.0;
w = 20.4;
h = 15.0;
d = beam_t+fudge;
f=10;
translate([0,0,h/2]) {
lip = 1.0;
translate([0,d/2+lip/2,0]) color("red") cube([w+fudge*2,lip,h], center=true);
cube([w,d,h], center=true);
difference() {
translate([0,-d/2-lip/2,0])... | glb/cad_f72f024aa356.glb |
Create a cylindrical mount for a camera rig. Start with a solid cylinder that has a diameter of 12mm and a height of 3mm. At the center of the bottom face, add a tapered male English thread with a diameter of 1/4 inch and 20 threads per inch, extending upwards into the cylinder by approximately 6.35mm. To create the ho... | use <lib/threads.scad>;
$fn = 64;
pad=0.05;
height=3.0;
diameter=12;
dip = 1.2;
length=5;
union() {
translate([0,0,height-dip-pad]) english_thread (diameter=1/4, threads_per_inch=20, length=(length+dip)/25.4, taper=1/16);
difference() {
cylinder(d=diameter, h=height);
translate([0,0,height+d... | glb/cad_4e13188dd78d.glb |
Create a Xiaomi Yi 360 camera rig consisting of a central frame and supporting beams. Start by creating a central mounting beam that is 66.4mm wide, 5mm thick, and 5mm deep. At the center of this beam, create a camera base cutout: a rectangular void 60.5mm wide and 21.25mm deep, with a circular mounting hole 7.2mm in d... | pad = 0.001;
$fn = 128;
fudge = 0.40;
beam_t = 5.0;
camera_width = 60.5;
camera_depth = 21.25;
camera_height = 42.25;
camera_lens_offset_h = 26.0;
camera_lens_offset_v = camera_height/2;
mount_hole_d = 7.2;
mount_hole_offset_v = 17.5;
mount_hole_offset_h = 11.75;
frame_width = camera_width + camera_lens_offset_h +... | glb/cad_75974d7e939f.glb |
Create a 360 camera rig bracket by starting with a central cube measuring 7mm by 7mm by 15mm. Carve a rectangular slot through the center of this cube along the Z-axis, with the slot measuring 5mm wide by 5mm deep and 15mm high. Additionally, remove a smaller rectangular section from the front face of the cube, measuri... | pad = 0.001;
$fn = 128;
fudge = 1.0;
beam_t = 5.0;
b_t = 2.0+fudge;
h=15.0;
module bracket() {
difference() {
color("red") cube([beam_t+b_t,beam_t+b_t,h], center=true);
cube([beam_t+fudge,beam_t+fudge,h+pad], center=true);
translate([-4.5,0,0,]) color("green") cube([4,2.25,h+pad], cente... | glb/cad_4cc486149223.glb |
Create a Rostock simulation model consisting of a base, three linear guides, and a moving platform.
Start with a square base plate measuring 430mm by 430mm with a thickness of 19mm. Centered on this base, place a circular area with a radius of approximately 141.4mm.
Position three linear guidance rails vertically. E... | lg_d=70;
lg_c=200;
lg_holder_d=15;
platform_c=25;
arm_d=60;
arm_l=300;
max_angel=120;
arms=3;
v=$t*6;
x1=(v>0 && v<=1)?-100+(v-0)*200:-100;
y1=(v>0 && v<=1)?-100:-100;
x2=(v>1 && v<=2)? 100:x1;
y2=(v>1 && v<=2)?-100+(v-1)*200:y1;
x3=(v>2 && v<=3)? 100-(v-2)*200:x2;
y3=(v>2 && v<=3)? 100:y2;
x4=(v>3 && v<=4)? -10... | glb/cad_2d89346c21b2.glb |
Create an on-dash auto gauge pod consisting of a tiered cylindrical base with a hollow center. Start by forming a solid cylinder with a radius of 28mm and a height of 8mm. Attach a wider, shorter ring to the bottom of this cylinder that has a height of 3mm, a bottom radius of 30mm, and a top radius of 29.25mm. Remove a... | difference() {
union(){
cylinder(r=28,h=8,$fn=120);
cylinder(r1=29.25,r2=30,h=3,$fn=120);
}
translate([0,0,3])
cylinder(r=24,h=10,$fn=120);
translate([20,0,-2])
cylinder(r=3,h=20,$fn=120);
} | glb/cad_b179dc8cf026.glb |
Create a belt clamp with a total width of 64mm, a thickness of 8mm, and a height of 25mm. The main body is a rectangular block with a central horizontal slot 2.5mm high that runs through the width, effectively splitting the block into two halves.
In the center of the block, create a vertical hole with a radius of 1.75... | behind_thickness=1;
front_thickness=1;
belt_thickness=6;
belt_height=2.5;
screw_reserved = 4;
teeth_perside = 15;
tooth_pitch=2;
tooth_height=1.25;
tooth_width=1;
head_radius=3.25;
head_depth=2;
screw_radius=(3.5/2);
nut_height=2;
nut_radius=3.25;
mount_center_distance=tooth_pitch*13;
width=screw_reserve... | glb/cad_d7e1dc3438d9.glb |
Create a belt clamp with a total width of 64mm, a thickness of 13mm, and a height of 25mm. The main body is a rectangular block with a central horizontal slot 3mm high running through the middle of the thickness, creating two primary sections.
In the center of the block, create a vertical hole with a radius of 1.75mm.... | behind_thickness=1;
front_thickness=1;
belt_thickness=6;
belt_height=3;
screw_reserved = 4;
teeth_perside = 15;
tooth_pitch=2;
tooth_height=1.25;
tooth_width=1;
head_radius=3.25;
head_depth=2;
screw_radius=(3.5/2);
nut_height=2;
nut_radius=3.25;
mount_center_distance=tooth_pitch*13;
width=screw_reserved ... | glb/cad_80119d209e5a.glb |
Create a tableware organizer consisting of a series of nested rectangular compartments with varying heights. The structure is based on a base unit of 30mm.
Start by creating a flat rectangular base with a thickness of 1mm. From this base, extrude walls to create four connected compartments. The first and smallest com... | smallest_length = 30;
height1 = 60;
height2 = 120;
thickness = 1;
function fibonacci(nth) =
nth == 0 || nth == 1 ? nth : (
fibonacci(nth - 1) + fibonacci(nth - 2)
);
module line(point1, point2, width = 1, cap_round = true) {
angle = 90 - atan((point2[1] - point1[1]) / (point2[0] - point1[0]));
... | glb/cad_b584be3d98ba.glb |
Create a parametric miniature holder consisting of a grid of concentric rings. First, construct a primary grid of rings, each with an inner diameter of 25mm, a wall thickness of 2mm, and a height of 3mm. Arrange these rings in 3 columns and 2 rows, ensuring a separation of 3mm between the outer edges of adjacent rings.... | base = 25;
height = 3;
thickness = 2;
separation = 3;
columns = 3;
rows = 2;
$fs = 0.4;
$fa = 5;
for(r = [0:rows-1]) {
translate ([0,(separation+base)*r,0])
for(c = [0:columns-1]) {
translate ([(separation+base)*c,0,0])
ring(base, height, thickness);
}
}
if (separa... | glb/cad_4bafd3c48323.glb |
Create a propane bottle wrench tool with a total height of 15mm. Start by forming a main body that combines a cylinder with a radius of 20.5mm and a rectangular extension that serves as a handle. This handle section should extend 50mm outward from the center, tapering from the main body's width down to a circular end w... | numslots=5;
rs=3;
h=15;
r=13.5;
dw=7;
handle=50;
difference() {
union(){
cylinder(r1=r+dw,r2=r+dw,h=h);
hull(){
cube([r+dw,r+dw,h]);
translate([handle,((r+dw)/2),0]) cylinder(r1=r/2,r2=r/2,h=h);
}
}
for(a=[1:numslots]){
rotate([0,0,a*360/numslots]){
translate([r,0,-h/4]) cylinder(r2=rs,r1=rs,h=h*2... | glb/cad_1a2ac2af638d.glb |
Create a simple spools holder with a filament guide. Start by constructing a main body that is 20mm high. The base shape is a combination of a cylinder with a 22mm diameter and a rectangular block measuring 160mm in length and 35mm in width, blended together using a convex hull. To soften the edges, apply a 2.5mm radiu... | difference() {
union() {
difference() {
hull() {
cylinder(d=22, h=20);
translate([160,-10,0]) cube([1,35,20]);
}
hull() {
cylinder(d=15, h=20);
translate([15,0,-0.5]) cylinder(d=15, h=21);
}
}
minkowski() {
cylinder(d=5,h=0.0001);
translate([135,-17,0]) rotate([0,0,20]) cube([45... | glb/cad_e7847a2ccfd5.glb |
Create a Rabbit Ears for iPhone accessory consisting of a central phone clip and two protruding antenna ears. First, construct the phone clip as a rectangular sleeve with an outer dimension of 20mm wide, 20mm high, and 4mm thick. Hollow out the center of this sleeve by removing a block 20mm wide, 10mm high, and 10mm de... | earWidth = 8;
earLength = 45;
earAngle = 34.3;
thickness = 4;
supportWidth = 1;
phoneThickness = 10;
clipWidth = 20;
clipLength = 10;
union(){
phoneClip();
ears();
}
module phoneClip(){
translate([-clipWidth/2, -clipLength-thickness]) difference(){
cube([clipWidth, clipLength+thickness, thickness*2+phoneThickne... | glb/cad_a7188968faea.glb |
Create two types of Truchet Tiles, each based on a 20mm cube with a total height of 8mm. For both tiles, the base thickness is 4mm.
To create the negative tile, start with a 20mm square block that is 4mm thick. Remove two half-cylinder sections, each with a 10mm radius, from the top face. The first cylinder should be ... | want = "pair";
size = 20;
height = 8;
ratio = .5;
hide = "bottom";
plate = 1;
plate_size = 80;
separation = 5;
count = (plate_size + separation) / (size + separation);
if( plate == 1 ) {
for ( x = [ 0 : count] ) {
for ( y = [0 : count ] ) {
if( round((x+y)/2) == (x+y)/2 ) {
translate( [ x * (size+separ... | glb/cad_50d448fc6491.glb |
Create a rail for a printer enclosure. The main body is a horizontal cylinder with a radius of 3mm and a total length of 60mm. Along the length of this cylinder, create a longitudinal gap 5mm wide and 6mm deep, centered along the top, to act as a slot for a 2mm thick sheet.
At both ends of the cylinder, add hemispheri... | $fn = 48;
breakout = 0.2;
clearance = 0.35;
shim = 0.01;
wallt = 2;
large = 100;
gap = 5;
overlap = 5;
radius = 3;
span = 60;
magicangle = 35.27;
supportwalls = 0.41;
breakaway = breakout*0.3;
module edge()
{
translate([0,0,-radius])
cube([span,gap,radius*2]);
translate([0,gap,0])
rotate(90,[0,1,... | glb/cad_59932dc8b63a.glb |
Create a three-armed corner rail for a printer enclosure. The core structure consists of three identical arms meeting at a central vertex. Each arm is a composite shape featuring a central cylindrical spine with a radius of 3mm and a length of 60mm, capped with a sphere of the same radius at both ends. Along the length... | $fn = 48;
breakout = 0.2;
clearance = 0.35;
shim = 0.01;
wallt = 2;
large = 100;
gap = 5;
overlap = 5;
radius = 3;
span = 60;
magicangle = 35.27;
supportwalls = 0.41;
breakaway = breakout*0.3;
module edge()
{
translate([0,0,-radius])
cube([span,gap,radius*2]);
translate([0,gap,0])
rotate(90,[0,1,... | glb/cad_deb2fc2a1183.glb |
Create a corner rail for a printer enclosure designed to hold 2mm thick sheets. The part consists of three intersecting arms meeting at a central 90-degree corner. Each arm is 100mm long and 5mm wide.
The core of each arm is a cylinder with a 3mm radius. Along the inner side of each arm, create a rectangular channel 5... | $fn = 48;
breakout = 0.2;
clearance = 0.35;
shim = 0.01;
wallt = 2;
large = 100;
gap = 5;
overlap = 5;
radius = 3;
span = 60;
magicangle = 35.27;
supportwalls = 0.41;
breakaway = breakout*0.3;
module edge()
{
translate([0,0,-radius])
cube([span,gap,radius*2]);
translate([0,gap,0])
rotate(90,[0,1,... | glb/cad_e4313cc101bb.glb |
Create a Bluetooth Intercom Mount consisting of a rectangular base and a cylindrical attachment. Start with a rectangular base plate measuring 50mm wide, 40mm long, and 4.8mm thick. In the center of this plate, create a rectangular cutout 34mm wide, 26mm long, and 3.6mm deep. Within this cutout, leave a protruding lip ... | $fn = 80;
bracket_width = 50;
bracket_length = 40;
bracket_thickness = 4.8;
bracket_cutout_width = 34;
bracket_cutout_length = 26;
bracket_cutout_depth = 3.6;
bracket_lip_thickness = 2;
bracket_inset = 1.2;
tag_inset = 2.5;
tag_width = 10;
tag_height = bracket_cutout_depth;
tag_cutout_width = 0.8;
tag_cutout_length ... | glb/cad_c171b55f53fe.glb |
Create a foot plug for a filament spool holder. Start by creating a sphere with a diameter of 32.5mm. Cut a cubic void from the center of this sphere with a side length of 34mm, shifting the cube upward along the Z-axis by 17mm so that the bottom half of the sphere remains as a solid dome and the top is open. Inside th... | $fn=36;
tube_inner = 29.0;
tube_pin = 28.0;
tube_outer = 32.5;
cut_size = tube_inner+5;
stift_size = 20;
module foot()
{
rotate([180,0,0]){
difference(){
sphere(d=tube_outer);
translate([0,0,cut_size/2])
cube(size=[cut_size,cut_size,cut_size], center=true);... | glb/cad_e86aca039adf.glb |
Create a parametric funnel with a top diameter of 120mm, a middle diameter of 40mm, and a bottom diameter of 18mm, with an overall height of 160mm and a wall thickness of 3mm. The body should transition from the top diameter to the middle diameter, and then narrow down to the bottom diameter. Use a neck ratio of 1.6 to... | top_diameter = 120;
middle_diameter = 40;
bottom_diameter = 18;
height = 160;
wall = 3;
neck_ratio = 1.6;
squish_ratio = 1;
offset_spout = "no";
angled_spout = "no";
handle_length = 1.5;
handle_overhang = 1;
handle_position_angle = 0;
create_vent = "yes";
vent_project... | glb/cad_03f43207708e.glb |
Create a Young Cats Auto-Coin Sorter for Icelandic currency. The model consists of a base box, a top board, and several coin tubes.
Construct a base box with a mesh pattern on the back. The box should be designed to hold a top board via four dovetail joints. The top board is a flat plate with a thickness of 2mm, featu... | currency = "usd";
height = 50;
pattern = "mesh";
image = 0;
part = "all";
understand = 1;
coin_1_diameter = 27.50;
coin_1_thickness = 1.8;
coin_2_diameter = 25.55;
coin_2_thickness = 2.30;
coin_3_diameter = 24.5;
coin_3_thickness = 1.75;
coin_4_diameter = 23;
coin_4_thickness = 2.6;
coin_5_diameter = 21.5;
c... | glb/cad_3d0e6d5fc272.glb |
Create a Smart Chess king piece holder. Start by constructing a solid rectangular base with a width of 66mm, a length of 16.1mm, and a height of 15mm. From the center of this base, remove a rectangular volume to create a hollow slot that is 60mm wide, 10.1mm long, and 12mm deep, designed to hold a smartphone.
To form... | phoneWidth = 60;
phoneThickness = 10.1;
thickness = 3;
attachWidth = phoneWidth+thickness*2;
attachLength = phoneThickness+thickness*2;
attachHeight = 12;
baseWidth = attachWidth;
baseLength = phoneThickness+thickness*2+20;
pieceSize = 15;
cap();
king();
module cap(){
difference(){
union(){
translate([-atta... | glb/cad_afa74b5cab82.glb |
Create a Smart Chess phone holder by constructing a rectangular base and a surrounding sleeve. Start with a flat rectangular base measuring 65mm wide by 32.5mm long with a thickness of 3mm. Centered on top of this base, build a rectangular sleeve that is 65mm wide, 16.5mm long, and 15mm high. The walls of this sleeve s... | phoneWidth = 59;
phoneThickness = 10.5;
thickness = 3;
attachWidth = phoneWidth+thickness*2;
attachLength = phoneThickness+thickness*2;
attachHeight = 12;
baseWidth = attachWidth;
baseLength = phoneThickness+thickness*2+20;
difference(){
union(){
translate([-attachWidth/2, -attachLength/2]) cube([attachWidth, att... | glb/cad_6e0fe0c5f5d8.glb |
Create a Weighted Tri-Spinner by starting with a central equilateral triangular prism that has a radius of 60mm and a height of 7mm, centered on the origin. Remove a cylindrical hole from the center of this triangle with a radius of 22mm and a height of 8mm. To add the weights, place three hexagonal prisms around the c... | rotate([0,0,0]){
difference(){
cylinder(r=60, h=7, $fn=3, center=true);
cylinder(r=22, h=8, $fn=200, center=true);
}
}
translate([-25,44,0]){
cylinder(r=23, h=10, $fn=6, center=true);
}
translate([-26,-44,0]){
cylinder(r=23, h=10, $fn=6, center=true);
}
translate([50,0,0]){
cylinder(r=23, h=10, $fn=6, center=true);... | glb/cad_297b1feaf34e.glb |
Create a spool hub for a filament spool. Start with a base cylinder that has a radius of 29mm and a height of 3mm. On top of this base, create a central core that transitions from a radius of 45mm at the bottom to a radius of 10mm at the top over a height of 20mm. Within this core, create a cylindrical void with a radi... | spool_hole_diam = 50;
spool_wall_thickness=9;
r_spool = 45;
edge_cut=1;
h = 20;
w = 20;
br = 12.4;
bh = 11;
ir = 10;
t = 4;
e = 0.02;
$fn = 64;
module cutouts() {
cube([5,100,50], center=true);
cube([100,5,50], center=true);
rotate([0,0,45]) cube([5,100,50], center=true);
rotate([0,0,45]) cube([100,5,50... | glb/cad_a47fe00f0163.glb |
Create a Banhammer tool consisting of a handle and a head. Start by creating a vertical cylinder for the handle with a height of 50mm and a constant radius of 5mm. At the top of this handle, centered on the handle's axis, place a second cylinder to serve as the hammer head. This head cylinder should be oriented horizon... | handle_length = 50;
handle_thickness = 5;
head_length = 30;
head_thickness = 10;
head_text = "BAN";
font = "Monospace";
text_depth = 1;
text_size = 6;
cylinder(h = handle_length,
r1 = handle_thickness, r2 = handle_thickness);
translate(v = [(head_length/2), 0, handle_length+(head_thickness/2)])
rotate([0, -90, 0])... | glb/cad_eedee1b780d4.glb |
Create a name tag with a small hook for keys. Start by creating a rectangular base measuring 75mm in length, 25mm in width, and 5mm in height. Centered on the top face of this base, carve out the text "Valerie" using a sans-serif font with a height of 10mm. The text should be recessed into the base to a depth of 5mm. T... | name = "Valerie";
nameTag(name);
module nameTag(modText) {
translate([0, 0, 2.5])
difference() {
cube([75, 25, 5], center = true);
translate([32.5, 7.5, 0])
resize(newsize=[65, 15, 10])
rotate([0,0,180])
linear_extrude(hei... | glb/cad_4e5589713a2f.glb |
Create a battery holder for a Meec 000-711 LED torch light. Start with a rectangular base plate measuring 57.4mm wide, 55mm deep, and 12mm thick. Centered on top of this base, construct a transition piece that blends a 34mm by 30mm rectangle (4mm high) into a cylinder with a 30mm diameter and 20mm height.
Hollow out ... | $fa = 0.1;
$fs = 0.1;
$fn = 0;
union(){
difference(){
hull(){
translate([0,14.45,1.99]){
cube([34,30,4],center=true);
}
translate([0,10,9.99]){
cylinder(h=20,d=30,center=true);
}
}
hull(){
translate(... | glb/cad_b671da312c48.glb |
Create a battery holder for a Meec 000-711 LED torch light. Start by constructing a hollow cylinder with an outer diameter of 30mm and a height of 10mm, centered on the origin. This cylinder should have a concentric inner hole with a diameter of 25mm and a height of 10mm, shifted 4mm down along the Z-axis to create a r... | $fa = 0.1;
$fs = 0.1;
$fn = 0;
union(){
difference(){
cylinder(h=10,d=30,center=true);
translate([0,0,-4]){
cylinder(h=10,d=25,center=true);
}
}
translate([0,0,7.5+4.9]){
difference(){
cube([25,17,15],center=true);
translate([0,0,0.2]){
... | glb/cad_046c14a25c30.glb |
Create a battery holder for a Meec 000-711 LED torch light. Start by constructing a hollow cylinder with an outer diameter of 25.5mm and an inner diameter of 17.5mm, with a total height of 100mm, centered on the origin. At a height of 40mm above the center, create a cutout that removes a portion of the cylinder wall. T... | $fa = 0.1;
$fs = 0.1;
$fn = 0;
union(){
difference(){
cylinder(h=100,d=25.5,center=true);
cylinder(h=100.2,d=17.5,center=true);
translate([10,0,40]){
rotate([0,90,0]){
hull() {
translate([-10,0,0]){
cube([8,8,10], center=true... | glb/cad_6cafa2713f9d.glb |
Create a Block Bridge Holder consisting of two separate parts: a base and a top rail.
For the base, create a square slab measuring 44mm by 44mm with a height of 8mm. Center a square hole measuring 32.1mm by 32.1mm through the slab. To facilitate insertion, create four 45-degree chamfers at the top corners of the base... | block_type = 0;
block_width = 32;
block_length = 32;
block_tolerance = .1;
module block(height=40, shrink=0) {
if (block_type == 0) {
cube([block_width+block_tolerance-shrink, block_length+block_tolerance-shrink, height]);
} else {
translate([block_width/2, block_width/2]) cylinder(d=block_w... | glb/cad_abbe397e6539.glb |
Create a Blinds Control Chain Holder consisting of a rectangular base and a central raised guide. Start with a base block measuring 33.4mm in length, 12mm in width, and 4mm in height.
At each end of the base, center a vertical hole with a diameter of 3.7mm that passes through the block. At the top surface of each of ... | base_lenght=33.4;
base_width=12;
base_height=4;
holder_base_height=1.6;
holder_lenght=12;
holder_width=12;
holder_height=5;
hole_margin=4.5;
space_between_holes=24;
hole_diameter=3.7;
bolt_head_diameter=7;
bolt_head_hole_depth=2;
chain_diameter=3.8;
chain_ball_space=1.2;
wire_diameter=1.5;
spacing=0.1;
$fn=100;
A... | glb/cad_87e4a14c8bde.glb |
Create a motor shaft coupler for a Hario Mini Mill Slim grinder by starting with a solid cylinder 25mm tall and 16mm in diameter. Bore a central hole through the bottom 8mm of the cylinder with a diameter of 8.4mm. In the remaining upper 17mm of the cylinder, create a more complex void: first, bore a central hole with ... | $fn = 50;
module main() {
difference() {
cylinder(25,8,8);
union() {
$fn = 5;
cylinder(8,4.2,4.2);
}
translate([0,0,8]) {
difference() {
cylinder(18,3.3,3.3);
translate([5/2,-5,0]) cube([10,10,22]);
}
... | glb/cad_3ec1d3a49605.glb |
Create a customisable round handle consisting of a rectangular base plate and a curved grip. Start by creating a rectangular plate 160mm wide, 80mm deep, and 10mm thick, with rounded corners (5mm radius). Drill eight small holes with a 2mm radius through the plate, positioned in pairs near the corners and edges. On the... | plate_width=160;
plate_depth=80;
plate_thickness=10;
handle_radius=15;
handle_height=40;
handle_width=60;
text_text="GRIFF";
textscale=1.5;
textpos_x=-18;
textpos_y=-18;
textpos_z=-1;
plate();
handle();
module plate()
{
difference() {
translate([0,0,plate_thickness/2])
minkowski(){
... | glb/cad_e88b0af7ba54.glb |
Create a Spool Adapter for a filament holder. Start by creating a central inner ring with a height of 10mm, an outer radius of 6.6mm, and a concentric hole through the center with a radius of 4.4mm. Around this center, add six rectangular bars, each 2mm wide and 10mm high, radiating outward from the inner ring to a dis... | rodRadius = 4.4;
rollRadius = 27;
height = 10;
numberOfBars = 6;
barWidth = 2;
innerRingThickness = 2.6;
outerRingThickness = 2.5;
guardWidth = 3;
guardHeight = 2;
print_part();
module print_part() {
union() {
union() {
allBars();
innerRing();
}
union() ... | glb/cad_5001ef5c3c91.glb |
Create a BB8 plotter pen adapter by constructing a composite cylindrical shape. Start with a main outer cylinder that is 30mm tall with a radius of 9.7mm. At the base of this cylinder, add a wider, thinner disc that is 2mm tall with a radius of 12mm. To create the pen holder, remove a central vertical cylindrical void ... | difference(){
union(){
cylinder(2,12,12,$fn=60);
cylinder(30,9.7,9.7,$fn=60);
}
translate([0,0,-1])
cylinder(35,5.1,5.1,$fn=60);
} | glb/cad_5d797f4c2bee.glb |
Create a BB8 plotter by starting with a sphere of 42mm in diameter. From this sphere, remove a smaller concentric sphere with a diameter of 40mm to create a hollow shell. Attach a rectangular block measuring 80mm in length, 44mm in width, and 10mm in height, centered such that it extends from the sphere's surface. Inte... | difference(){
union(){
sphere(42,$fn=60);
translate([60,0,0])
cylinder(10,22,22,$fn=60);
translate([60,0,-30])
cylinder(30,15,15,$fn=60);
translate([20,-22,0])
cube([80,44,10]);
translate([100,0,0])
cylinder(10,22,22,$fn=60);
}
sphere(40,$fn=60);
translate([60,0,-32])
cylinder(60,10,10,$fn=60);
t... | glb/cad_0437fb07d9c8.glb |
Create a Bixler motormount with a total height of 6mm. Start by forming the main body as a union of a rectangular block measuring 20mm wide by 73.5mm long and 6mm high, joined with a cylinder of radius 16.5mm and height 6mm centered at the end of the block to create a rounded base. From this combined shape, remove seve... | module mount(w, l, h, r_out) {
difference() {
union() {
translate([-w/2, 0, 0]) cube([w, l - r_out, h]);
cylinder(h, r_out, r_out);
}
translate([0,0,h-2]) cylinder(h/2, 4, 4);
translate([6, 6, 0]) cylinder(h, 2, 2);
translate([-6, -6, 0]) cylinder(h, 2, 2);
translate([6, -6, 0]) cylinder(h, 2, 2);
... | glb/cad_ebd09b7e2a32.glb |
Create a blinds chain clip designed for a 3mm diameter chain. Start with a rectangular base plate that is 31mm wide, 9.2mm deep, and 3mm thick.
In the center of the base, create a semi-cylindrical locking hump with a diameter of 21mm and a height of 4.5mm. Remove a central channel from this hump to create a cradle fo... | module base(){
hull(){
translate([ 15.5, 4.6,0.5]) cylinder(h=1,r=1, center=true, $fn=20);
translate([-15.5, 4.6,0.5]) cylinder(h=1,r=1, center=true, $fn=20);
translate([-15.5,-4.6,0.5]) cylinder(h=1,r=1, center=true, $fn=20);
translate([ 15.5,-4.6,0.5]) cylinder(h=1,r=1, center=true, $fn=20);
}
hull(){
t... | glb/cad_3ec45b6ee6fc.glb |
Create a Dual E3dV6 Cooling Fan Mount. Start with a central cylindrical duct with an inner radius of 18mm and a wall thickness of 1mm, extending 60mm in height. At the base, integrate a square fan plate with a diameter of 41.5mm and a thickness of 2mm; this plate should have four screw holes spaced 32mm apart, each 4mm... | $fn=64;
nozzleW = 15;
nozzleH = 2;
nozzleL = 46;
nozzleAngle = 11;
nozzleOffset = 24;
cylinderR = 18;
tiltAngle = 20;
th = 1;
cutH = 9;
cylR1 = cylinderR + th/cos(tiltAngle)+cutH*sin(tiltAngle);
cylinderH = 25;
module nozzle_inner() {
translate ([0,th,th])
hull() {
translate ([-1,0,0]) cube ([... | glb/cad_dc4023914d45.glb |
Create a Mini Scalpel Handle Size 3 by constructing a composite body based on two primary sections. First, create a base section by forming a hull between two cylinders: one with a radius of 6mm and a height of 2mm, and another with a radius of 3mm and a height of 2mm, positioned 16mm apart along the length. Second, in... | module traba(){
cube([10.5,2.8,0.1]);
translate([10.5,0.5,0]){
cube([5.1,1.8,0.1]);
translate([5.1,0.5,0]) cube([2.4,0.8,0.1]);
}
}
hull(){
translate([-1.5,-0.13,2])scale([1.1,0.8,1])traba();
scale([0.9,0.7,1])traba();
}
hull(){
translate([16,1,-2])cylinder(r=3,h=2);
translate([-10,1,-2])cylinder(r=6,h=2);
} | glb/cad_27a361ed56dd.glb |
Create a 3D model consisting of four separate extruded plates, each 3mm thick. The first plate is a polygon with vertices at [0, 4], [1, 4], [2, 2], [4, 1], [4, 0], and [0, 0], with a fillet of radius 2 applied to the corner at [2, 2]. The second plate is positioned at [5, 0, 0] and is defined by vertices at [4, 4], [4... | use <filletAngle.scad>;
linear_extrude(3) {
translate([0, 0, 0]) {
union() {
points = [[0, 4], [1, 4], [2, 2], [4, 1], [4, 0], [0, 0]];
polygon(points);
color("red")
filletAngle(2, points[3], points[2], points[1]);
};
};
translate([5, 0, 0])... | glb/cad_3d1475baef11.glb |
Create a WD40 cotton cap by starting with a solid cylinder that has a radius of 11mm and a height of 10mm. Remove a central vertical hole from this cylinder with a radius of 1.85mm at the base and 1.9mm at the top, extending 6mm high. Additionally, carve out a horizontal cylindrical tunnel through the center of the mai... | difference(){
cylinder(r=22/2,h=10);
translate([0,0,-1])cylinder(r1=3.7/2,r2=3.8/2-0.1,h=6,$fn=15);
translate([0,-3/2,5])rotate([-90,0,0]) cylinder(r=3/2,h=15,$fn=15);
} | glb/cad_44d9714b82d5.glb |
Create a KarkaSat II prototyping frame, which is a cubic structure with a total outer dimension of 100mm x 100mm x 100mm.
Construct the frame using square beams with a width of 10mm and a material thickness of 4mm. The structure consists of several horizontal levels and vertical side plates.
For the horizontal leve... | Output_Type = "STL";
Ornament = "NO";
Logo = "YES";
CubeSize = 100;
BeamWidth = 10;
LogoSize = 45;
OrnamentSize = 5;
RoundEdge = 8;
BaseThickness = 4;
LevelThickness = 2;
ScrewDiam = 4;
$fs=0.1;
ScrewPort = (2*BeamWidth+ScrewDiam)/BeamWidth;
if (Output_Type == "single"){
translate ([0,0,0]) InnerLevel();
}
if... | glb/cad_668222a57f31.glb |
Create a PegStats tray by starting with a solid rectangular base measuring 129mm wide, 115mm deep, and 13mm high. Carve out eight parallel longitudinal channels to hold pegs. Each channel is centered 16mm apart, starting 8mm from the left edge.
For each channel, remove a primary cylinder with a radius of 7.1mm and a ... | use <write/Write.scad>;
tubes=8;
numstart=1;
numbers="Yes";
$fn=100;
width=tubes*16;
difference()
{
cube ([width+1,115,13]);
for (x=[0:width/16+1])
{
translate([x*16-7.5,5,8]) rotate([-90,0,0]) cylinder (r=7.1,h=120);
translate([x*16-7.5,15,-1])cylinder (r=2.5,h=4);
translate([x*16-7.5,65,-1])cylinde... | glb/cad_f06aaba691a3.glb |
Create a printer calibrator consisting of two identical rectangular rulers joined at a right angle. Each ruler must be 150mm long, 5mm wide, and 5mm thick. On the top surface of each ruler, create a series of notches every 10mm. Each notch should be 0.5mm wide, 5mm deep, and 2mm thick, carved into the surface. On the f... | sizeX=150;
sizeY=150;
markWidth=0.5;
markStep=10;
labelX="X";
labelY="Y";
module rule(lng,name){
difference(){
cube([lng,5,5]);
for(i=[0:markStep:lng]){
translate([i-(markWidth/2),0,4])
cube([markWidth,5,2]);
}
translate([6,0.5,4])
linear_extrude(4)
text(name,size=4);
}
}
rule(sizeX,labelX);... | glb/cad_8042e8a500a9.glb |
Create a spiral vase composed of two stacked, hollowed-out sections with a wall thickness of 0.5mm. Both sections are based on a 7-sided polygonal profile.
The bottom section is 37mm tall. Start with a 7-sided polygon of radius 47mm at the base. Extrude this shape upward to 37mm, applying a twist of -71 degrees and sc... | h1=37;
h2=67;
r1=47;
r2=31;
r3=53;
s=0.5;
c=7 ;
a1=-71;
a2=-67;
tc1=r2/r1;
tc2=r3/r2;
sl1=h1/(s*2);
sl2=h2/(s*2);
color("red")translate([0,0,s])union() {
union() {
translate([0,0,-s])linear_extrude(height = s, center = false, convexity = 10, twist = 0,slices=5,scale=1,$fn=c)
circle(r1);
difference() {... | glb/cad_b726742f31af.glb |
Create a spiral vase composed of two stacked, hollow twisted sections with a wall thickness of 0.75mm. Both sections are based on a 19-sided polygonal profile.
For the bottom section, create a hollow shell 70mm high. The base is a 19-sided polygon with a radius of 70mm. As the shape extends upward to 70mm, it must twi... | h1=70;
h2=80;
r1=70;
r2=50;
r3=90;
s=0.75;
c=19;
a1=75;
a2=42;
tc1=r2/r1;
tc2=r3/r2;
color([34/255,139/255,251/255])translate([0,0,s])union() {
union() {
translate([0,0,-s])linear_extrude(height = s, center = false, convexity = 10, twist = 0,slices=s,scale=1,$fn=c)
circle(r1);
difference() {
linear_... | glb/cad_5001afab741a.glb |
Create a QuadCopter motor mount and baseplate. Start with a central baseplate formed by the intersection of a 120mm by 120mm by 3mm cube and a cylinder with a 70mm radius and 3mm height.
Construct a cross-shaped support structure on top of the plate. Create two identical rectangular beams, each 140mm long, 10.5mm wid... | include <MCAD/nuts_and_bolts.scad>
dix = 3;
module cross() {
dx = 10.5;
dy = 15;
up = 2;
translate([-80,-dx/2,+up]) cube([160,dx,dy]);
rotate([0,0,90])translate([-80,-dx/2,+up]) cube([160,dx,dy]);
}
module baseplate()
{
intersection() {
translate([-60,-60,0]) cube([120,1... | glb/cad_a8f7dd57ad11.glb |
Create a QuadCopter motor mount and baseplate assembly. First, construct a motor holder by starting with a 40mm x 40mm x 10mm cube rotated 45 degrees on the Z-axis. From this cube, remove four 1.6mm radius holes located at coordinates (±16.5, 0) and (0, ±16.5), and a central 3mm radius hole. Additionally, embed four M3... | include <MCAD/nuts_and_bolts.scad>
dx = 10.5;
dy = 15;
holes = 1.6;
module motorholder() {
rotate([0,0,45])difference() {
rotate([0,0,45])translate([-20,-20,0])cube([40,40,10]);
translate([-16.5,0,-0.5])cylinder(r=holes,h=60,$fn=32);
translate([+16.5,0,-0.5])cylinder(r=holes,h=60,$fn=32);
... | glb/cad_f6e382824d47.glb |
Create a tiny calibration cup by starting with a conical frustum that has a height of 54mm, a bottom radius of 16mm, and a top radius of 24.8mm. Hollow out the center of this shape by removing a smaller concentric conical frustum with a height of 52mm, a bottom radius of 13mm, and a top radius of 21mm, positioned 18mm ... | module cup() {
cylinder(h =27, r1 =8, r2 = 12.4,center = true);
}
module nokje() {
translate([0,3,11]) rotate([-25,25,45]) cube(7);
}
scale(2) difference() {
union() {
cup();
nokje();
}
translate([0,0,-9]) cylinder(h =26, r1 =6.5, r2 = 10.5);
translate([0,2.6,11]) rotate([-28,28,43.6]) cube([5.5,5.5,8]);
t... | glb/cad_db56bac5fafc.glb |
Create a coin-shaped token by constructing a cylinder with a height of 3mm. To create a recessed center on both the top and bottom faces, remove a smaller concentric cylinder from each end; this inner cylinder should have a radius 90% of the outer radius and a height of 2mm, positioned so that it starts 1mm below the b... | use <write/Write.scad>;
value="1";
$fn=100;
if (value=="1")
{
difference()
{
cylinder(r=9.5,h=3);
translate([0,0,-1])cylinder(r=9.5*.9,h=2);
translate([0,0,2]) cylinder(r=9.5*.9,h=2);
}
translate([0,0,.5])rotate ([180,0,0]) write("1",h=12.5, center=true);
translate([.3,0,.5])rotate ([180,0,0]) write("1",h=12.5, cent... | glb/cad_7d9872708027.glb |
Create a Yet Another Hobbing Thing tool block by starting with a solid rectangular cube measuring 33mm in width, 32mm in depth, and 28mm in height.
First, create a horizontal cylindrical hole passing through the center of the block from the front face to the back face with a radius of 3mm. Around this central hole, r... | tapbd = 16;
tapbt = 6;
tap = 5;
boltd = 19;
boltt = 5;
bolt = 6;
d = 1;
cubex = 33;
cubey = 32;
cubez = 28;
$fn = 50;
difference() {
cube([cubex,cubey,cubez]);
translate([-1,cubey/2,cubez/2]) rotate([0,90,0]) cylinder(r=bolt/2,h=(cubex+2));
translate([cubex/2,cubey+1,(cubez/2)+(bolt/2)+(tap/2)-d]) rotate(... | glb/cad_b5ae1582602e.glb |
Create a District 12 seal by constructing a flat 3D shape with a uniform thickness of 2mm. The primary geometry is a large, smooth oval with a radius of 31mm. Attached to the bottom-left side of this oval is a smaller, overlapping circular protrusion with a radius of 11mm. Ensure the entire combined form is extruded to... | translate(v = [-43,-47,2]) {
color("black",0.5)linear_extrude(file = "test.dxf", height = 2, center = true, convexity = 10, twist = 0);
}
#cylinder(r=31,h=1);
#translate([0,-33,0])cylinder(r=11,h=1); | glb/cad_83004e75e5ee.glb |
Create a Mini Blinds Bottom String Plug consisting of two stacked cylindrical sections. First, create a wide, flat base cylinder with a radius of 6.25mm and a height of 1.75mm. Cut a rectangular slot through this base that is 2mm wide and 30mm long, centered so it passes through the middle of the cylinder.
On top of ... | difference (){
cylinder (h = 1.75, r = 6.25, center = false, $fn=100);
translate([0,-5.5,2.25]) cube(size = [2,2,2], center = true);
translate([0,5.5,2.25]) cube(size = [2,2,2], center = true);
}
difference(){
cylinder (h = 7.5, r = 4.875, center = false, $fn=100);
translate([0,0,2]) cylinder (h = 10, r=3... | glb/cad_02f709ad169f.glb |
Create four identical circular bases. Each base should be a thin cylinder with a diameter of 50mm and a height of 2mm. Position the four discs on a flat plane so they are spaced apart, with their centers forming a square pattern where each disc is offset from the others by 60mm along the X and Y axes. | $fn = 200;
cylinder(2,50/2,50/2);
translate([0,60,0]) cylinder(2,50/2,50/2);
translate([60,60,0]) cylinder(2,50/2,50/2);
translate([60, 0,0]) cylinder(2,50/2,50/2); | glb/cad_b274f38190a8.glb |
Create a gear with 15 teeth and a total thickness of 5mm. The main body consists of a central cylinder with a radius of approximately 7.2mm, centered on the Z-axis. Around the perimeter, add 15 rectangular teeth, each 3mm wide and 5mm thick. These teeth should be spaced evenly every 24 degrees, extending radially from ... | NUMBER_OF_TEETH = 15;
TOOTH_WIDTH = 3;
THICKNESS = 5;
SHAFT_HOLE_RADIUS = 2.5;
SHAFT_HOLE_SIDES = 16;
module roundCube(x, y, z, r, q) {
translate([-x / 2, -y / 2, -z / 2]) hull() {
translate([r, r, 0]) cylinder(r = r, h = z, $fn = q);
translate([x - r, r, 0]) cylinder(r = r, h = z, $fn = q);
... | glb/cad_ca6deb4f61fd.glb |
Create a Pattern Maker consisting of a grid of hollowed-out square prisms. The overall footprint of the pattern is 60mm in length and 50mm in width, with a total thickness of 3mm.
Construct the grid by repeating a basic unit: a square prism with an outer radius of 7.2mm and an inner radius of 4.8mm, creating a wall t... | length=60;
width =50;
pattern_thickness=3;
sides=4;
radius=6;
polygon_edge_thickness=2;
overlap_factor=10;
polygon_rotation=40;
stretch_off_on=0;
polygon_stretch=100;
HONEYCOMB(width,length,9,radius,overlap_factor,polygon_edge_thickness,sides,polygon_stretch);
module HONEYCOMB(w,l,h,r,overlapFactor,polyEdge,sides,s... | glb/cad_f48c51db7663.glb |
Create a YZ Endstop mount for a 3D printer. The object is a rectangular prism with a length of 240mm, a width of 40mm, and a height of 5mm. Center the prism on the X and Y axes. | include <common.scad>
module rod_and_frame() {
color([0.8,0.8,0.8]) translate([0,0,-48]) cylinder(r=radius_8mm, h=250);
color([0.9,0.9,0.9]) translate([-radius_8mm, rod_frame_gap + radius_8mm, -40]) cube([40, frame_thickness, 240]);
}
module i3_z_endstop() {
clip_r = radius_8mm + part_thickness + 2;
frame_clip_l... | glb/cad_b900365671f8.glb |
Create a Y-axis endstop mount for a 3D printer. The structure consists of two identical C-shaped clips connected by a central rectangular wall. Each clip is formed by a cylinder with a radius of 15mm and a height of 12mm. From each cylinder, remove a concentric inner cylinder with a 10mm radius to create a ring, and fu... | include <common.scad>
y_bar_dist = y_bars_gap + radius_10mm * 2;
module y_carriage_rods() {
color([0.9,0.9,0.9])
rotate([90,0,0]) {
cylinder(r=radius_10mm, h=100, center=true);
translate([0,y_bar_dist,0]) cylinder(r=radius_10mm, h=100, center=true);
}
}
module rod_clip() {
clip_r = radius_10mm + part_thi... | glb/cad_c3737266e226.glb |
Create a rack and pinion linear slide gear rack. Start with a rectangular main block measuring 76.2mm in length, 17.78mm in width, and 19.05mm in height.
Along the top edge of the width, create a series of gear teeth by removing small triangular notches. Each notch should be 2.54mm wide at the base and repeat every 2... | tolIn=0.01;
pinNumTeeth = 16;
arLenIn=3;
arHtIn=0.75;
arGrooveWidIn=0.125;
mmPerInch = 25.4;
tol=tolIn*mmPerInch;
toothWid = 0.063*mmPerInch;
toothLen = 1/10*mmPerInch;
pinRad = pinNumTeeth/64;
arWidIn = 0.75-pinRad+toothWid/2/mmPerInch+arGrooveWidIn/2- tolIn;
screwRad=1.8;
arHt=arHtIn*mmPerInch;
arWid=arWidIn*... | glb/cad_c25d1291b7e0.glb |
Create an axle lock for a WheelieBot. Start with a base cylinder that has a diameter of 30mm and a height of 10mm.
Subtract a smaller concentric cylinder from the center to create a hole with a diameter of 40mm and a depth of 4.5mm. To create the locking mechanism, remove two perpendicular cylindrical channels from t... | include <iphone4_model.scad>;
module mudflap(){
union()
{
cylinder(20,1.5,1.5);
translate ([0,-1.5,0]) cube([10,3,10]);
}
}
module wheelmount(){
difference()
{
union()
{
rotate ([0,90,90]) cylinder (65,10,10);
translate ([-10,0,-32]) cube([20,65,32]);
}
translate ([0,-1,... | glb/cad_6ede294650c6.glb |
Create a RAMPS 1.4 case for a Taurino and RAMPS shield. The main body is a rounded rectangular shell with outer dimensions of 69.5mm in width, 62.5mm in height, and 117mm in length (including a 12mm allowance for a fan). The walls are 4mm thick.
The shell is hollowed out, leaving a 4mm wall thickness. On the top surfa... | c=false;
th=2.5;
fanh=10.0+5.0;
side_thickness = 4;
length=105.0 + fanh;
width=62.5;
height=52.0;
fh=2.0;
mrlh=1.5;
mrh=2.0;
rth=2;
mrw=3.0;
mrd=2.0;
soh=6.0;
ch=4.0;
mount_radius = 3.5;
m3_for_thread = 3.2;
m3_clearance = 3.7;
mount_inset = 3.0;
mount_height = 5;
fan_thickness = 12.0;
module rounded_cube_x2(size, ra... | glb/cad_284aa9262921.glb |
Create a Water Table Learning Bracket by starting with a solid cylinder 80mm tall with a radius of 15mm. Remove a smaller concentric cylinder from the center that is 75mm tall with a radius of 8mm, leaving a 5mm thick solid base at the bottom. To create the external guides, carve out several vertical rectangular slots ... | difference(){
union(){
difference(){
cylinder(h=80, r=15, center=false, $f=500);
}
}
for (z=[22:45:360])
rotate([0,0,z]) {
translate([11,-2.5,-1])
cube(size = [15, 5, 83], center=false);
}
translate([0, 0, 75])
cy... | glb/cad_720a058a365d.glb |
Create an undercarriage power supply holder consisting of a central rib and four mounting brackets. Start with a central rectangular rib measuring 10mm wide, 138mm long, and 4mm thick. At the rear end of this rib, add a stop block measuring 10mm wide, 5mm long, and 10mm high.
Position two front crossbars perpendicular... | cube([10,138,4]);
translate([0,138,0])cube([10,5,10]);
translate([-52.5,0,0])cube([115,15.72,4]);
translate([-52.5,128,0])cube([115,10,4]);
translate([-57.5,128,0])cube([5,10,10]);
translate([62.5,128,0])cube([5,10,10]);
translate([-62.5,0,0])
difference()
{
cube([10,15.72,73]);
union(){
translate([-1,7.86,61.86])rot... | glb/cad_a44eb0bfe17f.glb |
Create an Aus3D IR Z Probe parametric bracket with a total thickness of 5mm. The main body is a flat plate with rounded corners, forming a rectangular shape that connects two sets of mounting holes.
The first set of holes is spaced 32mm apart along the X-axis, centered relative to the plate. The second set of holes i... | z_height = 30.0;
hole_spacing = 32;
thickness = 5;
hole_size = 3.5;
hole_od = 7;
probe_hole_spacing = 24;
module screwHole(x,y) {
translate([x,y,0]) {
difference() {
cylinder(thickness,hole_od,hole_od,true);
cylinder(thickness+1,hole_size,hole_size,true);
}
}
}
mod... | glb/cad_cf8e0b09f6a9.glb |
Create a knob with a total height of 10mm. Start by creating a main central cylinder with a radius of 20mm and a height of 10mm. Remove a smaller concentric cylinder from the center with a radius of 17mm and a height of 10mm, leaving a wall thickness of 3mm. In the very center, create a solid vertical cylinder with a r... | thickness=10;
outer_r=20;
knob_r=15;
bolt_r=3.5;
wall_thickness=3;
square_ratio=1.5;
union(){
difference(){
cylinder(r=bolt_r+wall_thickness,h=thickness);
intersection(){
translate([0,0,wall_thickness])cylinder(r=bolt_r,h=thickness);
translate([-square_ratio*.5*bolt_r,-bolt_r*2,wall_thickness])cube([square_... | glb/cad_fc2b17c947d0.glb |
Create a "Kayaking Dude" figure consisting of a stylized person seated in a kayak.
First, construct the person. Create a head using a sphere with a diameter of 14.5mm. For the torso, create a centered rectangular block measuring 12.5mm in length, 22mm in width, and 18.5mm in height, with slightly rounded edges. Attac... | $fn=100;
shaft=3.1;
module head()
{
sphere(d=14.5);
}
module torso()
{
minkowski()
{
cube([12.5,22,18.5],center=true);
cylinder(r=1.5,h=0.5);
}
}
module arm()
{
difference()
{
minkowski()
{
cube([29,4,6.5],center=true);
rotate([0,90,0])... | glb/cad_ca8dc3b12c8f.glb |
Create a Z-axis bracket for a Prusa i3 printer consisting of two mirrored symmetrical halves. Each bracket begins with a base plate 5mm thick and 93mm deep. The main body is a rounded rectangular plate with corners rounded to a 10mm radius.
On the top surface, incorporate a circular bearing housing with an outer diam... | height = 5;
frame = 5.5;
slack = 0.25;
screws = 3;
bearing_diameter = 22;
bearing_radius = bearing_diameter/2;
bearing_height = 7;
bearing_wall = 3;
bearing_brim = 3;
bearing_brim_thickness = 2;
rod_diameter = 8;
rod_radius = rod_diameter/2;
block_x = frame*3;
block_y = 12;
boden = 4;
horizontal_rod_diameter = 8;
horiz... | glb/cad_713f6cff33a3.glb |
Create a name tag by starting with a rectangular base that is 3.95mm wide, 0.745mm deep, and 0.04mm thick. Ensure the four corners of this base are rounded with a radius of 0.25mm. Centered on the top surface of this base, add the name "Ray" as a raised 3D text element. The text should have a height of 0.05mm and a fon... | $fn=64;
Name = "Ray";
roundedcube(3.95,.745,.04,.25);
module roundedcube(xdim,ydim,zdim,rdim){hull(){
translate([rdim,rdim,0])cylinder(r=rdim,h=zdim);
translate([xdim-rdim,rdim,0])cylinder(r=rdim,h=zdim);
translate([rdim,ydim-rdim,0])cylinder(r=rdim,h=zdim);
translate([xdim-rdim,ydim-rdim,0])cylinder(r... | glb/cad_3e926268c76e.glb |
Create a rectangular plate for a LED display with a total height of 5mm. The plate should have a width of 52.5mm and a depth of 37.5mm. Within this plate, create a grid of 35 holes arranged in 7 columns and 5 rows. Each hole must be a decagonal prism with a diameter of 3mm and a depth that passes completely through the... | height=5;
diameter=3;
sbl=diameter/2;
rows=7;
columns=5;
difference(){
translate(-[sbl+diameter/2,sbl+diameter/2,1])
cube([rows*(diameter+sbl)+sbl,columns*(diameter+sbl)+sbl,height+1]);
for(i=[0:columns-1]){
translate([0,(diameter+sbl)*i,0])
for(j=[0:rows-1]){
translate([(diameter+sbl)*j,0,0])
... | glb/cad_78cc0390df76.glb |
Create a Christmas Star consisting of a central star-shaped body and a small attached ring. The star has 5 points and a total diameter of 100mm. The star's geometry is formed by five identical protruding points extending from a central core; the distance from the center to the tip of each point is 50mm, while the radiu... | number_of_points = 5;
size = 100;
point_to_body_ratio = 2.0;
module ring(radius, rHeight)
{
linear_extrude(height = rHeight, center = true)
{
difference()
{
circle(radius, $fn=50);
circle(radius-rHeight, $fn=50);
}
}
}
module star(bodyRadius, numberOfPoints, pointRadius, height)
{
for (i = [0:number... | glb/cad_8c888e1952dc.glb |
Create a Halt Holder i3 Y Edition endstop mount consisting of two symmetrical bracket pairs. For each bracket, start with a main rectangular block measuring 8mm by 7mm by 40mm. On the inner face of the block, create a longitudinal cutout 1mm wide and 20mm long, centered between 12mm and 32mm along the length, to allow ... | module front_bracket() {
difference() {
union() {
translate([-4,0,2])
cube([8,7,40]);
translate([4,5,19])
cube([8,2,20]);
translate([4,4,19])
cube([8,1,3]);
translate([4,4,36])
cube([8,1,3]);
}
translate([-5,-0.75,12])
cube([10,1,20]);
translate ([-100, 0, 35]) {
rotate... | glb/cad_4c025956dc83.glb |
Create a moneybox cover starting with a main circular disk that has a radius of 18.725mm and a thickness of 1.07mm. Centered on this disk, add a rectangular block measuring 5.95mm by 35.7mm with a height of 3.68mm. To this central block, attach two smaller rectangular tabs on opposite sides, each measuring 23.45mm by 2... | r1=37.45/2;
difference(){
union(){
cylinder(r=r1, h=1.07, $fn=100);
translate([0,0,3.68/2]) cube([5.95,35.7,3.68],center=true);
translate([0,5,3.68/2]) cube([23.45,2.33,1.2],center=true);
translate([0,-5,3.68/2]) cube([23.45,2.33,1.2],center=true);
}
translate([0,32.65/2,3.05/2]) cube([7.7,4.8,3.1],center=true);
trans... | glb/cad_b53ff976cf4d.glb |
Create a BoltHobber tool consisting of two interlocking parts: a base and a slide.
First, construct the base. Create a block with a total height of 50mm and a depth of 30mm. In the center of this block, create a horizontal cylindrical hole to accommodate a bolt and two bearings (each 16mm diameter, 8mm bore, 5mm heig... | M6r=6;
M6n=9.7;
M6h=5;
eps=.25;
module bolthobber(base=1,slide=1,bb=[16,8,5],tb=[16,8,5],w=5,h=50,delta=-3,offy=-3){
width=tb[0]+4*w+2*bb[2];
depth=bb[0]+4*w;
echo("width",tb[0]+4*w+2*bb[2]);
echo("depth",bb[0]+4*w);
if(base)
translate([0,0,(base>=2)?depth/2:0])rotate((base>=2)?90:0,[1,0,0])
union... | glb/cad_00dad26b55d4.glb |
Create an electric toothbrush holder designed to fit a European wall socket. Start by creating a cylindrical base with a radius of 19mm and a height of 20mm. Carve out the center of this base to accommodate a plug, specifically removing two rectangular blocks measuring 10mm by 30mm by 22mm, positioned symmetrically at ... | $fa = 6;
$fs = 1;
module schuko_plug() {
difference() {
cylinder(r1 = 19, r2 = 19, h = 20);
translate([16.5, -12.5, -1]) cube([10, 30, 22]);
translate([-26.5, -12.5, -1]) cube([10, 30, 22]);
translate([-3, 17, -1]) cube([6, 10, 20]);
translate([-3, -27, -1]) cube([6, 10, 20]);
}
}
module rounded_hexagon... | glb/cad_d66279771d87.glb |
Create a Suzuki Speedometer Gearbox Plug by starting with a main cylinder that is 14.75mm in diameter and 16mm tall. At the top of this main cylinder, add a wider, flat circular cap with a diameter of 18mm and a height of 2mm. To create the internal recess for a screw, remove a toroidal volume from the main body. This ... | $fn=50;
OAH=16;
OAD=14.75;
ScrewRecessR=2.6;
ScrewRecessMinD=11.8;
ScrewRecessH=4.7;
HSpacing=2.6;
HSpacing2=1.5;
ORingNotchMinD=10.9;
CapH=2;
CapD=18;
difference(){
cylinder(h=OAH,d=OAD);
translate([0,0,HSpacing+ScrewRecessH/2])
rotate_extrude()
translate([ScrewRecessMinD/2+ScrewRecessR,... | glb/cad_7e1299d6cbe1.glb |
Create a parametric bushing with an optional flange. Start by constructing a main hollow cylinder with an outer diameter of 7.8mm, an inner diameter of 6.2mm, and a total height of 12mm. At the base of this cylinder, add a wider, solid circular flange with a diameter of 12mm and a thickness of 2mm. Ensure the central h... | $fn=50;
ID=6.2;
OD=7.8;
H=10;
BrimOD=12;
BrimT=2;
OAH=H+BrimT;
difference(){
union(){
cylinder(h=OAH,d=OD);
cylinder(h=BrimT,d=BrimOD);
}
cylinder(h=OAH,d=ID);
}; | glb/cad_4df29a61d557.glb |
Create a male quick-release buckle consisting of a main body and a pivot cover.
First, construct the main buckle body. Create a base profile with a width of 24.8mm and a radius of 1mm at the corners. Extrude this profile to a height of 8.1mm with a slight taper. Above this, add a straight section with a height of 15m... | $fn=150;
catchLip=8;
catchClearance=.3;
catchHeight=15;
catchToCatch=14.9;
catchTravel=4.7;
centerRibWidth=2.2;
crossbar1Width=centerRibWidth;
flexFilletR=1;
glideLength=15;
glidePivotSeparation=2;
glidePlateThickness=2;
glideRadius=2;
glideSideWidth=2;
glideThickness=7;
glideWidth=25;
maleProfileRadius=1;
maleProfile... | glb/cad_30d8e6f9b7f9.glb |
Create a parametric cap and plug designed to fit over a shaft. The main body is a tapered cylinder with a height of 33mm. The base of this cylinder has a diameter of 43.4mm, tapering upward to a top diameter of 43mm. The top edge is rounded with a radius of 10mm.
Hollow out the center of this shape by removing a cylin... | $fa=2;
$fs=.1;
design=0;
plug=0;
shaftD=33.3;
shaftCapOverlap=33;
capT=5;
capRnd=10;
capTTaper=0;
shaftToCapTol=.2;
tetherExtraL=40;
tetherT=0;
tetherShaftTol=0;
shaftCapTol=plug==1?0:shaftToCapTol;
capD=capD==undef?shaftD+capT*2+shaftCapTol*2:capD;
tetherID=tetherID==undef?shaftD+2*tetherShaftTol:tetherID;
tetherID=... | glb/cad_addbea47b931.glb |
Create a hinge bracket for cylinder head screws. Start with a rectangular base measuring 40mm in width, 15mm in depth, and 4.5mm in height. Along the top center of the depth axis, add a horizontal cylindrical protrusion with a diameter of 7.5mm that spans the full 40mm width of the base.
Remove a central horizontal cy... | Hinge_Screw_Space = 0.4;
Hinge_Screw_Body_Dia = 3 + Hinge_Screw_Space;
Hinge_Screw_Body_Lenght = 5;
Hinge_Screw_Head_Dia = 5.5 + Hinge_Screw_Space;
Hinge_Screw_Head_Height = 2 + Hinge_Screw_Space;
Hinge_Space = 0.5;
Hinge_Body_x = 40;
Hinge_Body_y = 15;
Hinge_Body_z = Hinge_Screw_Head_Height + Hinge_Screw_Body_Lenght... | glb/cad_140c0d5604d7.glb |
Create a parametric can lid. Start with a main cylindrical body with a diameter of 6 {canLipDiameter + 2 * lidWallThickness} mm (69.5mm) and a total height of 6mm. From the center of this cylinder, remove a concentric cylindrical hole with a diameter of 66mm and a depth of 4mm to create the inner rim.
The interior wa... | $fa=2;
$fs=.1;
ver="v0.5";
design=0;
canDiameter=61;
canLipDiameter=66;
canLipHeight=3;
lidWallThickness=2;
lidHandleRatio=0.5;
lidLipTaper=1;
lidCanDTol=2;
lidEntryExtraR=0;
lidLipCanLipZTol=-1;
canLipThickness=(canLipDiameter-canDiameter)/2;
lidDiameter=canLipDiameter+2*lidWallThickness;
lidLipHeight=2*canLipThi... | glb/cad_5ea50d8e0e16.glb |
Create a 3D emblem of the District 11 seal. Begin by importing the "hgd11.dxf" vector profile and extruding it linearly to a height of 4mm, centering the geometry on the Z-axis. Scale the entire resulting object by a factor of 0.4 in all dimensions. The final model should be a flat, extruded geometric shape based on th... | scale(v = [.4, .4, .4]) {
translate(v = [-102.5,-183,2]) {
color("green",1)linear_extrude(file = "hgd11.dxf", height = 4, center = true, convexity = 10, twist = 0);
}}
#cylinder(r=32,h=1);
#translate([0,-33,0])cylinder(r=11.5,h=1); | glb/cad_ceb30986546c.glb |
Create a protective armor shell for a reflectance sensor array. Start with a solid rectangular base measuring 68mm in length, 18mm in width, and 4mm in height.
Hollow out the center of this block by removing a rectangular section starting 1mm from each outer edge, with a depth of 3mm, leaving a base thickness of 1mm ... | arrayL = 66;
arrayW = 16;
sensorW = 5;
baseThick = 1;
wallThick = 1;
wallHeight = 3;
mainHeaderL = 30;
mainHeaderW = 6;
endHeaderL = 3;
endHeaderW = 8;
difference() {
cube([arrayL+2*wallThick, arrayW+2*wallThick, baseThick+wallHeight]);
translate([wallThick, wallThick, baseThick])
cube([arrayL, arrayW, ... | glb/cad_fb3af43e07f4.glb |
Create a torque tester for a stepper motor by constructing a primary disc with a height of 10mm. This disc is formed by the union of two truncated cones: one tapering from a bottom radius of 35mm to a top radius of 25mm, and another tapering from a bottom radius of 25mm to a top radius of 35mm. Centered within this com... | union(){
difference(){
union()
{
cylinder(r1 = 35, r2 = 25, h = 10, center = true);
cylinder(r1 = 25, r2 = 35, h = 10, center = true);
}
cylinder(r = 2.55, h = 10, $fn = 30, center = true);
translate([30,0,0])cylinder(h = 10, r = 3, center = true);
translate([-30,0,0])cylinder(h = 10, r = 2.5, center = true);
}
tran... | glb/cad_7c3307d64948.glb |
Create a battery holder for a wand. Start with a main cylinder that has a radius of 7.25mm and a total height of 17mm, centered on the Z-axis.
Hollow out the center of this cylinder to create a cavity for two batteries. This central void should have a radius of 6.25mm and a height of 15mm, starting from the bottom of... | max_width = 12;
max_height = 20;
batt_rad = 12/2;
batt_height = 5.5;
spring_rad = 11/2;
spring_height = 8;
wire_rad = 1;
wand_rad = 15/2;
slop = .25;
$fn=30;
battery_mount();
module battery_mount(num_batteries = 2, spring_compression = 2){
wall = (wand_rad - slop) - (batt_rad + slop);
echo(wall);
w... | glb/cad_f387daa2330d.glb |
Create a case for an XBee Interface Board consisting of a three-sided open shell with a base. The outer dimensions of the base are 85.2mm in width and 79.5mm in depth, with walls 1.6mm thick and 22mm high. The bottom is mostly open, featuring a rectangular cutout of 55.2mm by 54.5mm centered within the base, leaving a ... | shell_thickness = 1.6;
standoff_diameter = 7;
standoff_height = 4;
wall_height = 22;
translate([-shell_thickness, 0, 0]) {
cube([shell_thickness, 77.5, wall_height], false);
}
translate([82, 0, 0]) {
cube([shell_thickness, 77.5, wall_height], false);
}
translate([-shell_thickness, -shell_thickness, 0]) {
... | glb/cad_78b07c3a6a2a.glb |
Create a nutcracker consisting of a central ring and a wing-nut handle. First, construct the main body as a rounded, asymmetrical ring. This shape is formed by the hull of two spheres, one with a 30mm radius and another with a 20mm radius positioned 13mm apart, with a large central void removed to create a hollow chann... | include <ISOThread_20120823.scad>
print=1;
if (print){
translate([0,50,0])wingsNut();
translate([0,0,15])rotate([0,0,180])nutRing();
}else{
color("silver"){
translate([0,0,70])rotate([0,180,0])
hex_bolt(8,50);
translate([0,0,32])hex_nut(8);
}
translate([0,0,67])rotate([0,0,45])
wingsNut();
transl... | glb/cad_5fb4e3bba543.glb |
Create a spark plug model consisting of four main stacked sections along a central vertical axis. Start with a bottom insulator cylinder 15mm long with a 7mm diameter. Bore a 2.5mm diameter hole through the center of this cylinder up to a depth of 8mm. Along the outer wall of the lower half of this insulator, add small... | insulator_length = 15;
insulator_diameter = 7;
contact_hole_length = 8;
contact_hole_diameter = 2.5;
body_length = 8;
body_diameter = 12;
hexagon_diameter=body_diameter*1.1;
screw_diameter = 4;
screw_length = 10;
groove_radius = 0.5;
groove_depth = groove_radius/2;
crimp_length = (body_diameter-insulator_diameter)... | glb/cad_5ddb296d6c81.glb |
Create a District 1 seal by constructing two overlapping cylindrical discs. First, create a large, flat primary disc with a radius of 32mm and a height of 1mm, centered at the origin. Second, create a smaller cylindrical disc with a radius of 11.5mm and a height of 1mm. Position this smaller disc so that its center is ... | scale(v = [.4, .41, .4]) {
translate(v = [-104,-171,2]) {
color("darkGoldenrod",1)linear_extrude(file = "hgd1.dxf", height = 4, center = true, convexity = 10, twist = 0);
}}
translate([0,.5,0])cylinder(r=32,h=1);
translate([0,-31,0])cylinder(r=11.5,h=1); | glb/cad_4517f6ce6b7e.glb |
Create a Dovetail Marker tool by extruding a specific six-sided polygon to a total height of 23mm. The base polygon is defined by the following vertices on a 2D plane: start at (0,0), move to (3,0), then to (23, 3.33), then to (23, 16.67), then to (3, 20), and finally to (0, 20) before closing the shape at (0,0). To fi... | module dovetail_marker(
ratio=6,
width=20,
wall = 3,
)
{
difference()
{
linear_extrude(height=width+wall)
polygon(
points=[
[0,0],
[wall, 0],
[wall+width,width/ratio],
[wall+width,width-width/ratio],
[wall, width],
[0, width]
],
paths=[[0,1,2,3,4,5]]
);
translate([wall, -1,... | glb/cad_20848da2d555.glb |
Create a penguin figure by combining several geometric primitives. Start with a main body consisting of a sphere with a radius of 15mm. Add two wings by placing spheres with a radius of 5mm at positions [10, 5, -10] and [-10, 5, -10], then scale these wing spheres by a factor of 2 along the Y-axis to make them oval. Fo... | difference() {
union() {
difference() {
union() {
sphere(r=15,$fn=50);
translate([10,5,-10]) {
scale([1,2,1]) {
sphere(r=5,$fn=50);
}
}
translate([-10,5,-10]) {
scale([1,2,1]) {
... | glb/cad_526c719d136e.glb |
Create a stylized duck by combining several geometric primitives. Start with the body: a sphere with a radius of 20mm, scaled by 1.5 along the X-axis and positioned at [0, 0, 10]. For the head, place a sphere with a radius of 15mm at [15, 0, 35]. Add a small, flattened oval for the top of the head by placing a sphere w... | difference() {
union() {
translate([0,0,10]) {
scale([1.5,1,1]) {
sphere(r=20,$fn=100);
}
}
translate([15,0,35]) {
sphere(r=15,$fn=100);
}
translate([28,0,30]) {
scale([1,1,.4]) {
sphere(r=10,$fn=... | glb/cad_0749e7f68381.glb |
Create a coat hanger consisting of a central rectangular base and protruding hooks. Start with a main rectangular board measuring 22mm in width, 1mm in height, and 6mm in depth, centered on the origin. Along the front face of this board, place three cylindrical pegs spaced 7mm apart (at x = -7, 0, and 7). Each peg shou... | cube([22,1,6], center = true);
for (x = [-7, 0, 7])
{
rotate(a=[90,0,0])
translate([x, 0, 2])
%cylinder(h = 3, r1 = 1.5, r2 = 1.5, center = true);
rotate(a=[90,0,0])
translate([x, 0, 3.5])
%cylinder(h = 0.5, r1 = 1.9, r2 = 1.9, center = true);
}
for (x = [-10, 10])
{
translate([x, 0, 6])
cube([2,1,10], ce... | glb/cad_baac8d52c9e4.glb |
Create a 3D model of a Mockingjay bird emblem. Start by importing the 2D silhouette of the bird from the hgb1.dxf file and extruding it linearly to a height of 2mm, ensuring the extrusion is centered. Scale the entire resulting geometry by a factor of 2 in all three dimensions. Position the final extruded shape so that... | scale(v = [2, 2, 2]) {
translate(v = [-13,-13,1]) {
color("gold",1)linear_extrude(file = "hgb1.dxf", height = 2, center = true, convexity = 10, twist = 0);
}}
color("black",1)translate([-30,-29,0])cube([60,60,1]); | glb/cad_868362572c3d.glb |
Create a Customizable Lattice Cube Torture Test. Start by creating a circular base with a height of 0.6mm and a radius of approximately 24.4mm. Above this base, construct a complex lattice structure contained within a cubic volume of 62mm per side. The lattice is composed of intersecting cylindrical bars, each with a d... | cs=62;
dn=1;
ws=4;
dh=0.6;
dbl=1;
ds=1.25;
$fn=16;
dl=cs/(dn+1);
a2=35.264;
difference(){
for(ndbl=[0,dbl])translate([0,0,-cs/(dn+1)*sin(a2)+dh])rotate([45,-a2,60*ndbl])rotate([0,0,0])for(n1=[0:dn+1]){
for(n2=[0:dn+1]){
hull(){
translate([n1*dl,n2*dl,0])sphere(ws/2);
translate([... | glb/cad_3558218887f5.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.